DSH Plugins Marketplace

DSH Plugins

Plugins

/

Development & Infrastructure

/

dsh-minimal-first-turn

Z

dsh-minimal-first-turn

Manifest valid★ 1

Minimal-compatible first turn for Web root sessions: starts with persistent bash and str_replace_editor, removes automatic workspace and skill context, then restores the selected preset after the firs

UI (client)hasBundlePatch

DSH Minimal First Turn

中文 | Installation

dsh-minimal-first-turn is a DeepSeek Harness Web plugin that makes an enabled root session's first model request smaller and closer to the official Minimal preset, without permanently giving up the selected agent preset.

It is inspired by the first-request conditioning work in xiaobright/dsh-anchored-standard. This project is independent, experimental, and not affiliated with DeepSeek.

What It Does

While First-turn minimal is enabled:

  1. A new root session's first request uses the Minimal system prompt.
  2. The model sees only the official Minimal tool pair: persistent bash and str_replace_editor.
  3. Automatic workspace-instruction and skill-catalog messages are removed from that request.
  4. The first durable tool/call or assistant/message restores the selected preset's original prompt and complete tool catalog.
  5. After compaction/end, the next request enters the same controlled phase.

The composer contains a persistent 首轮精简 switch. It is global to the current DSH home, not per-session. Disabling it removes this plugin's agent-scoped Minimal tools and stops all filtering for future requests.

Installation

This package targets DSH Web with @deepseek-ai/* 0.1.0-rc.6 packages. A persistent Bash PTY is required, so the current release supports macOS and Linux hosts; Windows is not supported yet.

dsh plugin --profile web add dsh-minimal-first-turn

Restart the existing dsh web process, then open a conversation. The 首轮精简 switch appears beside the composer controls.

The toggle state is stored at:

$DSH_HOME/plugins/dsh-minimal-first-turn.json

When DSH_HOME is unset, the path is ~/.dsh/plugins/dsh-minimal-first-turn.json.

Development

pnpm install
pnpm check
npm pack --dry-run

For a local Web profile, add the package as a dependency and mount its cordis.patch.yml, then restart dsh web. Host changes require a restart; client-only changes require a page reload when the Web HMR watcher is not running.

Compatibility and Caveats

  • The plugin changes model-visible first-request conditions. It does not guarantee a particular reasoning phrase or outcome.
  • Its behavior is intentionally limited to root sessions; subagents keep their original catalog.
  • The first-turn effect is derived from durable session events, so resume and compaction preserve the phase correctly.
  • DeepSeek Harness is a developer preview. Pin the supported DSH package versions when using this in production.

License

MIT. The implementation includes derivative work from the MIT-licensed dsh-anchored-standard project and DeepSeek Harness packages; the required attribution is included in LICENSE.

中文说明

这是一个 DSH Web 插件。开启“首轮精简”后,新根会话的第一轮模型请求会使用 Minimal system prompt、持久 bash 与 str_replace_editor,并移除自动注入的 工作区说明和技能目录。首次 tool/call 或 assistant/message 后,当前预设的 完整 prompt 与工具目录恢复;发生上下文压缩后,下一轮会再次进入首轮精简阶段。

它不保证模型输出固定的推理措辞,只控制模型可见的首轮条件。开关是全局持久设置, 而不是单个会话设置。

Compatibility

DSH 0.2.1-rc.3: failedDSH 0.2.1-rc.4: failedDSH 0.2.1-alpha.3: failed

Versions

Latest versionPublishedSize
0.1.0——

Comments

Loading…

Similar plugins

dsh-minimal-msys2

by AythyaCrispus

Windows Minimal Mode: persistent bash + str_replace_editor dsh plugin — registers an agent preset, provides a working persistent-bash backend on Windows, and exposes a GUI-editable bash path in the pl

Sessions & MessagesManifest valid

★ 2

JavaScript

Aug 15, 2026

dsh plugin --profile web add dsh-minimal-msys2

by nlflora

Recreate deleted workspace folders and import session context as a summary

Development & InfrastructureSessions & MessagesManifest valid

★ 1

MIT

JavaScript

Oct 24, 2026

dsh plugin --profile web add dsh-workspace-heal

by EugeneVl

Session folders for the DSH web sidebar: one-level named folders per workspace, drag-and-drop or context menu to group sessions, server-side persistence. No harness changes.

Sessions & MessagesManifest valid

★ 10

↓ 164/wk

MIT

JavaScript

Oct 22, 2026

dsh plugin --profile web add dsh-session-folders

by LUDIWUSI12138

Rewind a DSH session to before a turn you already sent.

Tools & CapabilitiesSessions & MessagesManifest valid

★ 1

MIT

JavaScript

Oct 19, 2026

dsh plugin --profile web add dsh-sqy-rewind

by Wzh0718

Minimal DSH Web transcript toggle: hide thinking, tool-call, and turn-process rows from the session header while preserving assistant answer text.

UI & ExperienceManifest valid

★ 0

JavaScript

Sep 10, 2026

dsh plugin --profile web add dsh-minimal-transcript

by rhl88

Deletes a session from the sidebar session menu after a confirmation dialog, removing its log directory, projection-cache record and workspace/pin/archive accounting; registry calls are timeout-guarde

Sessions & MessagesManifest valid

★ 0

MIT

JavaScript

Oct 13, 2026

dsh plugin --profile web add dsh-session-remove