refactor(core): simplify session context epochs (#33378)

This commit is contained in:
Kit Langton
2026-06-22 11:34:03 -04:00
committed by GitHub
parent f9f2280452
commit c6ee511485
16 changed files with 281 additions and 728 deletions
-3
View File
@@ -170,9 +170,6 @@ export const SessionContextEpochTable = sqliteTable("session_context_epoch", {
.primaryKey()
.references(() => SessionTable.id, { onDelete: "cascade" }),
baseline: text().notNull(),
agent: text().$type<AgentV2.ID>().notNull().default(AgentV2.defaultID),
snapshot: text({ mode: "json" }).notNull().$type<SystemContext.Snapshot>(),
baseline_seq: integer().notNull(),
replacement_seq: integer(),
revision: integer().notNull().default(0),
})