Introduction¶
In the DeepSeek Harness (dsh) web workbench, sessions are bound by default to the working directory (folder) in which they were created; the sidebar only supports archiving, not moving a session to another workspace, nor can a session be permanently deleted from disk. Session titles often reflect only the first message, so after long conversations it becomes hard to identify the content at a glance from the list. If you frequently switch between multiple project directories, or want your Agent to organize sessions too, the official UI lacks these capabilities.
The community plugin dsh-session-move (maintainer hwangjunjie, category: client) fills this gap in the browser by adding “cross-folder move,” “permanent deletion,” and “AI rename based on the entire conversation,” and also exposes the same set of capabilities to Agent tools and an HTTP API.
What Is This¶
dsh-session-move is a dual-sided plugin (host + browser) for DeepSeek Harness that manages sessions in the web UI: drag or use the menu to move a session to another folder, permanently delete it after confirmation, and use an LLM to generate a title based on the entire conversation. Compared with the official behavior (excerpted from the plugin README):
| Capability | Official dsh | After installing this plugin |
|---|---|---|
| Move session to another folder (workspace) | Session is locked to the creation directory | Supports drag or menu to choose target folder |
| Permanently delete a session | Archive only (hidden, not actually deleted) | Full removal after menu confirmation |
| AI rename | Automatic titles mostly come from the first message | One click: LLM samples the whole conversation to generate a concise title |
Each capability also corresponds to an Agent tool, facilitating automated session organization.
Core Features¶
Move a Session¶
- Drag: In the sidebar, grab a session and drag it onto another folder title; the target highlights on hover, and releasing moves it.
- Menu: Session
...→ Move to folder… → select destination → confirm.
Moving rewrites the session’s working directory: it updates cwd in the session header, migrates the persistent logs to the target folder’s storage slug, and updates workspace bookkeeping; history moves with the session and remains available afterwards under the new directory.
Permanent Deletion¶
Session ... → Delete session → check to acknowledge the consequences → confirm. It first stops any running Agent, then removes the log directory, projection-cache rows, and workspace bookkeeping, leaving nothing behind in “Ungrouped.”
AI Rename¶
Session ... → AI Rename. Within the token budget, the LLM performs representative sampling over the entire conversation, fixes typos, and generates a short title in the same language as the conversation. The default timeoutMs is 60 seconds and the operation can be cancelled while running; the button toggles between Cancel (in progress) and Done (completed).
Routing: if renameAi.provider and renameAi.model are pinned in the plugin config, that route is used preferentially; otherwise the most recently used route for each session is used, with failover on failure or timeout. Configure in the plugin line of the profile, for example:
- id: session-move
name: dsh-session-move
config:
renameAi:
provider: deepseek-official
model: deepseek-v4-flash
targetWords: 6
targetCjkCharacters: 14
maxInputBytes: 8192
maxOutputTokens: 96
timeoutMs: 60000
Agent Tools¶
| Tool name | Description |
|---|---|
workbench_session_move |
Move a session by session id + workspace id |
workbench_session_delete |
Permanently delete a session |
workbench_session_rename_ai |
AI-rename a session |
HTTP API (for UI or direct calls)¶
| Path | Method | Body | Returns |
|---|---|---|---|
/__sessionmove/info |
GET | — | All workspaces and the current workspace of the session |
/__sessionmove/move |
POST | { sessionId, workspaceId } |
Move result (old/new cwd, workspace id, agentReleased, etc.) |
/__sessionmove/delete |
POST | { sessionId } |
Removed content |
/__sessionmove/rename-ai |
POST | { sessionId } |
New title |
/__sessionmove/rename-ai-cancel |
POST | { sessionId } |
{ ok, cancelled }, aborting an in-progress AI rename |
Installation and Activation¶
The plugin requires Node >=22.19.0 and dsh >=0.1.0-rc.6 (see package.json). Installation commands follow the README verbatim:
# from GitHub (recommended until published to npm)
dsh plugin --profile web add https://github.com/reinocheong/dsh-session-move/archive/refs/tags/v0.1.2.tar.gz
Loading the plugin requires restarting the corresponding profile, for example in a systemd deployment:
# systemd-managed installs
sudo systemctl restart dsh
If you manually copy the package to ~/.dsh/profiles/node_modules/, you also need to register it in the profile’s cordis.patch.yml (dsh plugin add does this automatically):
- insert:
- id: session-move
name: dsh-session-move
License: MIT.
Summary of Typical Usage¶
- Install and restart the dsh web profile.
- In the sidebar, use drag or Move to folder… to migrate a session to the target project folder.
- When cleanup is needed, use Delete session for permanent deletion (do not confuse it with the official archive).
- When long conversations are hard to distinguish in the list, use AI Rename; to pin a model, configure it in the plugin’s
config.renameAiincordis.patch.yml. - In Agent workflows, call
workbench_session_move/workbench_session_delete/workbench_session_rename_aifor batch or scripted organization.
The move implementation synchronizes the header cwd, log directory, projection cache, and workspace registry; for sessions with tasks in progress, since v0.1.2 it releases the Agent registration to avoid being unable to reopen or continue after moving. See the “How it works” and Reliability sections of the plugin README for details.
Use Cases and Notes¶
Suitable for: developers organizing dsh sessions across multiple workspaces/directories; scenarios where you want to thoroughly delete mistakenly opened sessions or archive entries that still occupy storage; needing to generate sidebar titles based on the entire conversation; or letting the Agent move, delete, and rename sessions on your behalf.
Notes:
- The plugin runs with the same permissions as the current dsh process; review the GitHub source code and the MIT license yourself before installing.
- Permanent deletion is irreversible; confirm the session ID and directory before operating.
- AI rename depends on the configured LLM route and network; timeout or failure will attempt failover.
- The community directory SkillHub plugin page has no official affiliation with DeepSeek or 幻方 (High-Flyer); the DSH ecosystem emphasizes “everything is a plugin,” and this plugin is a community-contributed client-side capability extension.
Conclusion¶
dsh-session-move adds session migration, true deletion, and whole-conversation AI titles—capabilities not covered by the official web UI—to the sidebar and Agent tools, making it suitable for keeping the sidebar tidy when using dsh across multiple projects daily. For more information, see the SkillHub catalog page and the GitHub repository.