anomalyco / anomalyco/opencode
桌面端归档会话后没有恢复入口,归档变成单向操作
Open
@Hona is already working on this.
Since Aug 3, 2026.
- Dominant language
- TypeScript
- Stars
- 209k
- Forks
- 27.5k
- PR merge metrics
- PR metrics pending
Description
Description
在桌面端对会话点"归档"后,该会话从会话列表中消失,且界面没有"显示已归档"或"取消归档"的任何入口。用户无法通过正常操作找回已归档会话,归档实际上变成了单向操作(数据仍在本地数据库,只能手动改库恢复)。
复现步骤
桌面端打开任意会话
在会话列表对该会话点击"归档"
会话立即从列表消失
检查列表筛选器/设置/右键菜单,均无恢复或显示已归档选项
期望行为 提供"显示已归档会话"的筛选开关,或右键菜单中的"取消归档"操作;归档不应是单向不可逆的 UI 操作。
实际行为 归档后无任何恢复入口;只能通过修改本地数据库 opencode.db 中 session 表的 time_archived 字段才能恢复。
环境
opencode 版本:1.18.11(桌面端 + CLI)
系统:Windows 11 25H2 (build 26200)
Plugins
No response
OpenCode version
No response
Steps to reproduce
No response
Screenshot and/or share link
No response
Operating System
No response
Terminal
No response
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.