-
Notifications
You must be signed in to change notification settings - Fork 20.2k
会话管理与状态持久化 #17701
Copy link
Copy link
Closed
Labels
coreAnything pertaining to core functionality of the application (opencode server stuff)Anything pertaining to core functionality of the application (opencode server stuff)docsneeds:complianceThis means the issue will auto-close after 2 hours.This means the issue will auto-close after 2 hours.
Metadata
Metadata
Assignees
Labels
coreAnything pertaining to core functionality of the application (opencode server stuff)Anything pertaining to core functionality of the application (opencode server stuff)docsneeds:complianceThis means the issue will auto-close after 2 hours.This means the issue will auto-close after 2 hours.
Type
Fields
Give feedbackNo fields configured for issues without a type.
Session management and state persistence architecture
探索 OpenCode 的会话系统(
packages/opencode/src/session/,19 个文件)。探索方向
src/**/*.sql.ts)packages/opencode/src/project/)src/snapshot/)价值
学习有状态 AI 应用的数据管理
相关文件
packages/opencode/src/session/(19 files)packages/opencode/src/project/packages/opencode/src/snapshot/packages/opencode/src/storage/packages/opencode/src/**/*.sql.ts(Drizzle schemas)相关依赖
数据库迁移
使用 Drizzle Kit 生成迁移: