aaif-goose / aaif-goose/vscode-goose
feat: use ACP session/list as session-history source of truth
- 主要語言
- TypeScript
- 星號
- 43
- 分支
- 20
- PR 合併指標
- 30 天內沒有已合併 PR
描述
Extracted from #39. Gate on the `listSessions` capability from initialize; SessionManager keeps an in-memory list from `session/list` sorted by updatedAt; sessionStorage shrinks to an active-session pointer; client-side title generation is removed (titles come from goose).
This is the only type-breaking slice (SessionEntry.updatedAt, SessionStorageData drops the sessions array, AgentCapabilities.listSessions). The issue must include the migration story #39 lacks: clean up the legacy `goose.sessions.v1` globalState key, decide fallback persistence for agents without `session/list` (as written they regress to memory-only history), and bump/handle schemaVersion.
**Size**: M-L | **Depends on**: #60 (or hand-rolled types) | **Tier**: 2
貢獻指南
這個儲存庫沒有索引到貢獻指南
研究方向
Start by reviewing the SessionManager and sessionStorage modules to understand the current session handling. Examine the `listSessions` capability from the initialize flow and the types in #60. The work involves migrating from the legacy `goose.sessions.v1` globalState key, updating schemaVersion, and ensuring fallback for agents without `session/list`. Testing will require verifying session history persists correctly from the ACP session/list source.
由索引模型根據 Issue 內容生成。
評估
- 領域
- backend-api-design
- Issue 類型
- 功能
- 難度
- 4/5
- 預估耗時
- 3-5 天
- 活躍度
- 冷清
- 描述清晰度
- 基本清楚
- 新手友好度
- 45/100