Preface¶
By default, DeepSeek Harness (DSH) treats the agent as a coding assistant: modifying files, running commands, and delegating subtasks all appear on the tools panel. For everyday Q&A, solution discussions, and reading documentation, the same set of capabilities tends to pull the conversation into a “modify first, then discuss” rhythm. Relying solely on temporary system prompt changes makes it difficult to switch between “tools off for this session, other sessions unchanged” states, and doesn’t help maintain state consistency after resume or fork operations.
dsh-convo-mode is a DSH bundle maintained by stansz: it adds a per-session conversation mode to the same agent, toggled via a chip on the composer or the /conversation command. When activated, it layers on a conversational policy prompt and restricts tools to a read-only whitelist.
What Is This¶
dsh-convo-mode targets DeepSeek Harness and provides per-session conversation mode—still the same agent, but guided to act as a conversational assistant where coding tools are not callable within the mode. The implementation is a DSH bundle: a single line in cordis.patch.yml, with the Host plugin and Web client plugin bundled into the profile, effective for all sessions across all workspaces under that profile.
- Maintainer: stansz
- Category: Client (Web client injection into the composer area)
- License: MIT (see the repository LICENSE)
- Package version (package.json): 1.0.0
Community directory page: skillhub.cn/plugins/stansz/dsh-convo-mode (independent site, not affiliated with DeepSeek / High-Flyer). Source code: github.com/stansz/dsh-convo-mode.
Core Features¶
Conversational Policy (Prompt)¶
When the mode is activated, a section is appended to the system prompt to constrain the assistant: natural prose, length appropriate to the question, no proactive artifact production, asking for clarification rather than guessing when uncertain; code only as illustrative examples within the chat.
Read-Only Tool Policy (Tools)¶
Inside the mode, the agent’s tool scope is limited to a read-only allow list, such as read, glob, grep, read_image, web search/fetch, ask_user_question, skill, and session history reading tools. File writing, editing, shell, jobs, terminal, delegation, and workflow tools are not presented to the model and cannot be called. The policy is bound to the current agent and released when exiting the mode.
If configured as tools: unrestricted, the above read-only restrictions do not apply (see configuration below).
Client Entry Point¶
On the Web side, a Chat chip is registered on the left side of the composer tools row (mount point conversation.input.left), reading the Host-side projected state and sharing the same toggle logic as the slash command; styling uses --dsw-alias-* theme tokens and does not depend on Harness Client package imports.
State Persistence¶
Mode state is implemented via the conversation projection on the session, folding /conversation command/run / command/done records, without appending private session event types, so it can be restored after resume, fork, or restart; and it is isolated per session—other sessions, sub-agents, and collaborators retain their original coding configuration.
Installation and Activation¶
The bundle is installed as a profile plugin, same as GitHub bundles like dsh-frontend-review and dsh-git. After installation, it mounts a line id: dsh-convo-mode with the name dsh-convo-mode.
Method 1 (Recommended): Install from GitHub URL
In the Web UI, open Plugins → install a bundle and point to:
https://github.com/stansz/dsh-convo-mode
The plugin manager will parse the package, add it to the profile, and activate it without requiring a restart. The repository is private; the machine must already be logged in to the GitHub account stansz (e.g., gh auth status shows that account).
Method 2: Local directory installation
On a machine that already has repository access, install the cloned directory via the Plugin Manager’s local bundle / package-directory method, same as other local bundles.
The profile is shared by all sessions under that profile, so the mode is available across all workspaces in that profile.
Typical Usage¶
- Click the Chat chip on the left side of the composer tools row, or type
/conversationto enter conversation mode. /conversation <message>can enter the mode and send the message in one step./conversation offexits; the chip can also be clicked again to toggle.
The mode is written to the session log, persisting across resume, fork, and restart; it only affects the current session.
Configuration¶
Two equivalent locations:
- Web UI: Settings → Plugins → Conversation Mode → Configure (including schema fields for guidance text, read-only/unrestricted, allow list, “enter mode by default for new sessions”, etc.).
- Profile patch: In
$DSH_HOME/profiles/<profile>/cordis.patch.yml, overrideconfigbyid: dsh-convo-mode(the entire config line is replaced).
Example (from README):
- id: dsh-convo-mode
config:
section: | # model-facing guidance while active
Be a warm, concise conversational partner...
tools: readonly # or "unrestricted"
allow: [read, web_search] # override the read-only allow list
defaultActive: false # true starts every session in the mode
Validation occurs at load time: unknown keys or type errors cause the plugin load to fail rather than being silently ignored.
Self-Testing (Maintainers)¶
The Host half provides tests without external dependencies:
node test/host-half.test.mjs # prints ALL HOST HALF TESTS PASSED
Use Cases and Notes¶
Suitable for: Within the same DSH profile, scenarios where some sessions only want to chat, look up information, or browse code read-only without globally disabling coding tools; scenarios requiring a one-click UI toggle with state recoverable via session logs.
Notes:
- The plugin runs with the current DSH process permissions; before installation, read the source code and MIT license, and confirm the access and trust boundaries of the private repository.
tools: unrestrictedremoves the read-only restrictions; weigh this against the original intent of “conversation mode isolating write operations”.- Sub-agents and other sessions are not affected by this session’s mode; do not mistakenly believe the entire profile has entered a pure conversational environment.
Conclusion¶
dsh-convo-mode turns the “conversational assistant” into a toggleable, persistent, per-session isolated DSH bundle: the composer chip and /conversation provide the entry point, while the prompt and agent-level tool policies define the behavioral boundaries. For further information, visit the directory page skillhub.cn/plugins/stansz/dsh-convo-mode and the GitHub repository github.com/stansz/dsh-convo-mode.