Merge remote-tracking branch 'upstream/dev' into impr/thinking-steps

This commit is contained in:
Anish Sarkar 2026-03-25 01:50:10 +05:30
commit 778cfac6fa
96 changed files with 4065 additions and 3274 deletions

View file

@ -6,7 +6,7 @@ import { z } from "zod";
export const rawComment = z.object({
id: z.number(),
message_id: z.number(),
thread_id: z.number(), // Denormalized for efficient Electric subscriptions
thread_id: z.number(), // Denormalized for efficient per-thread sync
parent_id: z.number().nullable(),
author_id: z.string().nullable(),
content: z.string(),

View file

@ -1,7 +1,7 @@
import { z } from "zod";
/**
* Raw message from database (Electric SQL sync)
* Raw message from database (real-time sync)
*/
export const rawMessage = z.object({
id: z.number(),