插件目录 / Developer / dsh-session-workspace
dsh-session-workspace
未验证 Unintendedz
功能简介
Move cold DeepSeek Harness sessions between registered workspaces
未验证 — 尚未实测
Move cold DeepSeek Harness sessions between registered workspaces 尚未验证——请自行安装测试。
「未验证」表示我们的自动化 CI 尚未安装过该插件。功能描述与版本兼容性均为作者声明。这不是安全审计,也不代表对第三方代码的背书。
README
dsh-session-workspace
Move an existing DeepSeek Harness session to another registered workspace without changing its session ID or conversation history.
The plugin adds Move to another workspace to each session's sidebar menu. It changes the session's persisted cwd, moves its JSONL artifact, refreshes DSH's workspace index, and updates the workspace account. This is a real workspace move, not a visual regrouping.
Safety
- Only cold sessions can move. If the session is open or running, switch to another session and try again after it closes.
- The destination must be an existing workspace registered in DSH.
- Existing destination artifacts are never overwritten.
- The source revision is checked before commit. A session that changes during preparation is rejected.
- A durable copy of the original artifact is kept under
<DSH_HOME>/session-workspace-backups/<uuid>/. - Workspace-update failures roll the artifact and workspace account back to their original state.
Requirements
- DeepSeek Harness
0.1.1-rc.2. - The default per-session JSONL persistence backend (
.jsonl.zstdor.jsonl). Shared SQLite session persistence is rejected because it does not expose an independent artifact that can be re-homed safely. - Node.js with the Zstandard APIs used by DSH (the DSH-supported Node runtime already provides them).
Install
dsh plugin --profile web add github:Unintendedz/dsh-session-workspace
Restart the DSH web process after installation. The package's cordis.patch.yml mounts both the trusted-host RPC handler and the browser client.
Use
- Switch away from the session you want to move so it is no longer active.
- Open that session's sidebar menu.
- Select Move to another workspace.
- Choose the destination and confirm.
The session remains at the same ID and appears under the destination workspace. Future shell, filesystem, and sandbox operations use the destination workspace path.
Development
npm test
npm pack --dry-run
The tests use real temporary files and Node's Zstandard codec. They cover successful moves, backups, active-session refusal, destination conflicts, revision races, rollback, RPC results, and sidebar session targeting.
License
MIT
安装
装一次目录插件,之后本站所有插件都能让 DeepSeek Harness 自动找、自动装:
dsh plugin add dshbase-catalog 然后对 agent 说「帮我装 dsh-session-workspace」,它会在目录里找到并自动安装。文档:dshbase-catalog · 已验证场景包。
该插件是 GitHub 源码(未发 npm)——直接从仓库装:
Web profile:
dsh plugin --profile web add github:Unintendedz/dsh-session-workspace Headless(CLI)profile:
dsh plugin --profile headless add github:Unintendedz/dsh-session-workspace 实测报告
尚未 L3 验证——若已跑过,见下方失败备注。
2026-08-27 · 标记 webonly 备注:验证: web-only;待 L4 web CDP;L4 web CDP runtime-fail on dsh 0.1.0-rc.8. 浏览全部待验证失败 →