No way to unarchive a session (only workspace.archiveSession exists) #2613
shengbuding
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Summary
In dsh
0.1.0-rc.6, the workspace layer only exposes archive for sessions (workspace.archiveSession) — there is nounarchivecounterpart anywhere in the RPC registry or the UI. A session archived by accident cannot be restored through any supported path.Steps to reproduce
Impact
$DSH_HOME/storages/workspace.json(remove the id fromglobal.archivedSessionIds), and restart. That is fragile and unfriendly for a GUI feature with an accidental-click profile.Code references
@deepseek-ai/dsh-workspaceexposes onlyarchiveSession(sessionId)(theWorkspacedomain class and theworkspace.archiveSessionRPC). The RPC registry has exactly:workspace.list / create / rename / delete / insertBefore / insertSessionBefore / archiveSession.sessionIdsslot (unarchiving must restore the…)" — so the design intent is there; only the operation is missing.Suggested fix
workspace.unarchiveSession(symmetric: remove the id fromarchivedSessionIds, restoring visibility in all groupings).dsh version:
0.1.0-rc.6(npm@deepseek-ai/dsh).All reactions