Introduction¶
DeepSeek Harness (DSH) emphasizes “everything is a plugin.” When building agents or tool flows, developers often need to switch between “conversation” and “tool orchestration.” The traditional approach either involves manually stacking tools in a preset or writing separate UI logic for conversation sessions, both of which increase maintenance costs. DSH officially provides a conversation view, but the default preset still follows the standard workspace. To address this scenario, LeiSureYu provides a zero-code chat mode preset along with a dedicated chat workspace, so that conversation sessions are automatically grouped together.
What It Is¶
leisureyu/dsh-chat is a DSH plugin whose core value is:
- Provides a “Chat Mode · Chat” preset that only mounts persona, time-context, and tool-web — without bash / fs / editor / terminal;
- Automatically creates and idempotently maintains the
~/.dsh-home/chatworkspace on startup; - The server listens to
session/createdand, upon detecting a preset ofchat, automatically attaches the new session to the chat workspace node; - The conversation interface is fully rendered by the official UI; the plugin is not responsible for any UI components.
This plugin provides a low-intrusion path for agent developers: keep the standard workspace for tool orchestration, switch to a dedicated chat workspace when pure conversation is needed, and let both the interface and session management follow the official pipeline.
Core Features¶
- Zero-code tool preset: only mounts persona + time-context + tool-web, with no bash/fs/editor/terminal;
- Dedicated chat workspace: idempotently created on startup (
~/.dsh-home/chat); chat sessions are automatically grouped under a separate sidebar node; - Automatic session grouping: the server listens to
session/created; when the preset ischat, the session is attached to the chat workspace; - Bilingual display (Chinese & English): preset names and descriptions are published in both languages, fully readable under any UI language;
- Follows the user’s language: persona declares bilingual support + explicit language-following rules; when mixed Chinese and English are used, it follows the dominant language;
- Web search: uses the official
tool-web(search + web fetch); credentials follow the harness search settings; - Deep thinking: via the official model selector’s effort levels; the model follows the in-app selector.
Installation & Activation¶
Use the official plugin manager:
- Open the DSH sidebar: “Plugins → Add Plugin”;
- Paste the package name or repository URL;
- Restart DSH after installation.
Package name:
@leisureyu/dsh-chat
Install via command line:
dsh plugin --profile web add @leisureyu/dsh-chat # npm package
# or
git clone https://github.com/LeiSureYu/dsh-chat.git
dsh plugin --profile web add /path/to/dsh-chat # local path
Enable chat mode:
- In the new session interface, select “Chat Mode · Chat” from the official mode selector (agent preset chip) next to the workspace selector;
- Send a message to enter the pure conversation flow.
Typical Usage¶
Daily conversation example:
You: Answer in one sentence: Why is the sky blue?
chat: Blue light in sunlight has a shorter wavelength than red light and is more easily scattered by air molecules in the atmosphere (Rayleigh scattering), which is why the sky appears blue to us.
Switching to work mode example:
Chat Mode · Chat → web_search / web_fetch / working_directory (3 tools)
Standard Mode → edit / pwsh / read / glob / grep / subagent / workflow … (30 tools)
Web search example:
You: Use web_search to look up today's tech news
chat: web_search call failed (HTTP 401, invalid search credentials)… Let me try web_fetch on a news site:
Microsoft is killing its great tasks app — The Verge, 1 hour ago, [link]
To set chat mode as the default for new sessions, add the following to the profile’s cordis.patch.yml:
- id: agent-preset-registry
name: '@deepseek-ai/dsh-agent-preset-registry'
config:
selectedDefault: chat
Use Cases & Cautions¶
Who it’s for: DSH agent developers who frequently switch between “pure conversation” and “tool orchestration”; scenarios where reducing manual maintenance of conversation session attribution logic is desired.
Cautions:
- The plugin runs with the current DSH process permissions; review the source code and license before installing;
- If
web_searchreturns 401, checksearchBaseURL/searchApiKeyEnvforweb-deepseek-apiin the profile;web_fetchis not affected by credentials; - The English text in the preset display name comes from the user’s declaration (not from the official locale dictionary); bilingual text is written in
name/descriptionto ensure completeness under both UI languages; - The workspace selector determines session attribution; sessions with preset
chatare automatically attached to the chat node by the server, while work-mode sessions land in whichever workspace was selected at the time.
Conclusion¶
leisureyu/dsh-chat provides DSH with a pure-conversation path built on “official UI + dedicated chat workspace,” reducing the maintenance cost of custom UI and session management. The plugin is maintained by the community and has no affiliation with DeepSeek AI or its associated companies.
Directory page and repository:
- Directory page: https://www.skillhub.cn/plugins/LeiSureYu/dsh-chat
- GitHub: https://github.com/LeiSureYu/dsh-chat