bug fixes, and performance improvements, and drawer

This commit is contained in:
Zoe
2026-09-27 18:44:51 -05:00
parent d48d8163a7
commit 2b9f8d64d7
52 changed files with 4913 additions and 778 deletions
@@ -0,0 +1,5 @@
ALTER TABLE "topics" ADD COLUMN "rename_attempt_id" text;
--> statement-breakpoint
ALTER TABLE "topics" ADD COLUMN "rename_expires_at" timestamp with time zone;
--> statement-breakpoint
ALTER TABLE "topics" ADD COLUMN "title_source" text DEFAULT 'manual' NOT NULL;
File diff suppressed because it is too large Load Diff
+3
View File
@@ -122,6 +122,9 @@ export const topics = pgTable('topics', {
agentId: text('agent_id').notNull().references(() => agents.id, { onDelete: 'cascade' }),
name: text('name').notNull(),
renaming: boolean('renaming').default(false),
renameAttemptId: text('rename_attempt_id'),
renameExpiresAt: timestamptz('rename_expires_at'),
titleSource: text('title_source').notNull().default('manual'),
createdAt: timestamptz('created_at').notNull().defaultNow(),
}, (table) => [
index('topics_agentId_idx').on(table.agentId),