lgYanami/dph-unarchive-sessions
lgYanami★ 0TypeScript最后同步: 2026-08-16
DPH 插件:DSH 工作区归档会话恢复(严格按工作区过滤)
README 摘要
dph-unarchive-sessions English 中文 A DPH plugin for the DeepSeek Harness web surface: restores archived sessions from the workspace browser, grouped strictly by workspace. DSH's workspace row action menu can archive a session (「归档会话」) but — in the stock harness — has no way back. This plugin closes the loop: - Adds a 「查看归档会话」 entry to every workspace row's three-dot menu (only when this plugin is loaded). - Opens a floating panel listing exactly that workspace's archived sessions, with checkbox selection, per-group restore, restore-selected, and restore-all actions. - Restores ride the public workspace.unarchiveSession RPC; the changed frame keeps every open browser consistent, and sessions reappear in their original account position without a reload. What archiving is (and why restore is safe) Archiving never touches a session's log or its workspace accounting slot: the archive set is a display filter over the durable account. Restoring removes the id from that set, so the session returns exactly where it was. Repository layout - src/ — the browser plugin package @deepseek-ai/dsh-client-ui-unarchive (panel, locale dictionaries, invariant companion). - tests/ — vitest suites: slot r…
在 GitHub 查看完整 README →