Introduction¶
The DSH (DeepSeek Harness) ecosystem emphasizes “everything is a plugin.” The community directory is an independent site with no official affiliation with DeepSeek/Huansuan. For developers who frequently use the DeepSeek Harness (dsh) Web UI, session organization is a common requirement: moving sessions to target folders, completely deleting a session, and generating a more suitable title for a session.
dsh-session-move is a DSH client plugin maintained by reinocheong, currently at version 0.1.2, licensed under the MIT License.
What is it¶
dsh-session-move is a web/client plugin for dsh, consisting of two parts: host and browser. Its dsh.client.platform is web, and it injects @deepseek-ai/dsh-client-runtime.
The plugin provides three types of session operations: move, delete, and AI rename. Each operation is also exposed as an agent tool for easy invocation within agent workflows.
Core Features¶
Move Session¶
Supports two interaction methods:
- Select a session row in the sidebar and drag it onto another folder title.
- Open the session’s
...menu, select Move to folder…, then select the target folder and confirm.
Delete Session¶
Open the session’s ... menu and select Delete session. A risk confirmation dialog will appear on the interface; you must check I understand the consequences before confirming. This operation is used to permanently delete a session.
AI Rename¶
Open the session’s ... menu and select AI Rename. This operation is used to summarize the entire dialogue and generate a session title based on sampled content.
Agent Tools and HTTP Endpoints¶
The plugin exposes the following agent tools:
| Tool | Purpose |
|---|---|
workbench_session_move |
Move session |
workbench_session_delete |
Delete session |
workbench_session_rename_ai |
AI rename session |
The plugin also exposes the following HTTP endpoints:
/__sessionmove/info/__sessionmove/move/__sessionmove/delete/__sessionmove/rename-ai
Installation and Activation¶
Before installation, ensure the runtime environment meets Node.js >=22.19.0. Related peer dependencies include:
@deepseek-ai/dsh-tools@deepseek-ai/dsh-session-title-llm@deepseek-ai/dsh-session-title
Use the installation command from the README:
dsh plugin --profile web add https://github.com/reinocheong/dsh-session-move/archive/refs/tags/v0.1.2.tar.gz
Restart the corresponding profile after installation. For installations managed by systemd, you can execute:
sudo systemctl restart dsh
If installed manually, you also need to register the plugin in the profile’s cordis.patch.yml:
- insert:
- id: session-move
name: dsh-session-move
Typical Usage¶
Below are a few steps that can be completed by following the documentation.
Move Session Using Menu¶
- Open the
...menu for a session. - Select Move to folder….
- Select the target folder.
- Confirm the move.
Delete Session Using Menu¶
- Open the
...menu for a session. - Select Delete session.
- Check I understand the consequences.
- Confirm the deletion.
AI Rename Using Menu¶
- Open the
...menu for a session. - Select AI Rename.
- Wait for the new session title to be generated.
Configuration¶
If you need to fix the provider, model, and other parameters used for AI rename, you can set renameAi in the plugin configuration. Provided configuration items include:
- id: session-move
name: dsh-session-move
config:
renameAi:
provider: <provider>
model: <model>
targetWords: <number>
targetCjkCharacters: <number>
maxInputBytes: <number>
maxOutputTokens: <number>
timeoutMs: <number>
Please fill in <provider>, <model>, and the numeric items according to the values supported by the current dsh environment; specific example values are not given in the verified materials, so this article will not make assumptions for the reader.
Use Cases and Notes¶
Suitable for the following situations:
- Frequently need to organize session locations in the dsh Web UI.
- Need to completely delete a session.
- Wish to generate a more general title for a session.
- Wish to include move, delete, and AI rename in agent tool invocations.
Notes before use:
- The delete operation is permanent; confirm the session is no longer needed before executing.
- The plugin will run with the permissions of the current dsh process and will change the session organization state; you should check the source code, dependencies, and MIT license before installation.
- Confirm the Node.js version is not lower than
22.19.0and satisfies related peer dependencies. - If installing from a GitHub archive, it is recommended to use the fixed version link in the README; restart the profile after installation.
Links¶
- Community Directory: https://www.skillhub.cn/plugins/reinocheong/dsh-session-move
- GitHub: https://github.com/reinocheong/dsh-session-move