### Question <img width="147" height="146" alt="Image" src="https://github.com/user-attachments/assets/2e02979f-8822-4a64-a1ac-b14ffce33500" /> 归档后,web sessions中不可见,但终端中还是可见。终端中只有删除没有归档。这是一个已知问题吗?
Activity
github-actions commentedon Mar 2, 2026
This issue might be a duplicate of existing issues. Please check:
taoalpha commentedon Mar 2, 2026
FYI, deepwiki can be a great place to ask questions about the repo: https://deepwiki.com/search/difference-between-archive-and_8cc4bef0-de6f-457e-b5ce-ebde59723e68?mode=fast
归档和删除是 opencode 中两种不同的会话管理操作:
主要区别
time_archived时间戳 1time_archived来取消归档实现细节
归档操作
setArchived函数使用归档时间戳更新会话记录:这会保留所有会话数据,同时将其从活动会话列表中隐藏。
删除操作
remove函数执行完整的数据库删除:这会级联删除所有关联的消息和部分,并递归删除子会话。
E2E 测试行为
测试确认了差异 - 归档的会话保留其 ID 和
archived时间戳,而删除的会话在获取时变为undefined5 。注意事项
您可能想要探索的 Wiki 页面:
Wiki pages you might want to explore:
Citations
github-actions commentedon May 2, 2026
To stay organized issues are automatically closed after 60 days of no activity. If the issue is still relevant please open a new one.