feat(agent): refactor database session storage to normalized DAG entries and lazy thread sync

This commit is contained in:
yiling
2026-07-28 11:21:31 +08:00
parent b876af464e
commit 4e2694e2d9
21 changed files with 930 additions and 252 deletions
@@ -508,7 +508,11 @@ export type AgentSessionScalarFieldEnum = (typeof AgentSessionScalarFieldEnum)[k
export const AgentSessionEntryScalarFieldEnum = {
id: 'id',
sessionId: 'sessionId',
entry: 'entry'
assetId: 'assetId',
type: 'type',
parentId: 'parentId',
data: 'data',
createdAt: 'createdAt'
} as const
export type AgentSessionEntryScalarFieldEnum = (typeof AgentSessionEntryScalarFieldEnum)[keyof typeof AgentSessionEntryScalarFieldEnum]