DSH Plugins Marketplace

DSH Plugins

Plugins

/

dsh-better

a

dsh-better

Manifest valid★ 4

A DeepSeek Harness (dsh) plugin bundle combining pi-better's codebase-grounded prompt deepening (/better) and subagent brief verification with DSH's Cordis host/web-client architecture.

UI (client)hasBundlePatch

@agi-fans/dsh-better

English | 中文

A DeepSeek Harness (dsh) plugin bundle combining pi-better's codebase-grounded prompt deepening (/better) and subagent brief verification with DSH's Cordis host/web-client architecture.

Demo

https://github.com/agi-fans/dsh-better/blob/main/docs/motion.mp4

A 20-second one-shot explainer (Chinese UI, sound on). The draft lifts out of the composer and becomes the first finished turn; a hairline forks into a read-only helper that reuses the cached prompt prefix; that same panel widens into the Depth dock while the four stages run; then it folds back into the composer as the grounded prompt — real files, acceptance criteria, one-click Restore original.

Features

  • /better <draft prompt>: Forks a short-lived, read-only helper agent from the current session's completed-turn prefix (turn/end), inspects relevant repository files and conversation history without modifying files or running shell commands, and places the deepened prompt directly into the composer draft.
  • Prompt-cache preservation: Uses tools.guard() inside the forked helper instead of altering tools.schemas(), keeping tool declarations byte-for-byte identical to the parent session.
  • Non-blocking Web / Desktop UI Depth dock: Renders a two-row conversation.input.dock panel above the composer with a 6-cell progress meter, the four Depth stages (Explore, Surface, Deepen, Sharpen), live tool badges, elapsed timer, and Esc / /better-cancel cancellation.
  • Headless / CLI fallback: When no UI connection service is attached, /better awaits completion and returns the deepened prompt as command output.
  • Subagent brief checking: Automatically intercepts ctx.subagents.startActivation when a subagent's prompt starts with /better, verifies file paths, symbols, constraints, and test conventions against the repository using prompts/brief.md, and fails closed if cancelled or invalid.

Install / Update

Install in DeepSeek Harness Web UI or Desktop App

Open Plugins → + Add plugin, enter @agi-fans/dsh-better (or https://github.com/agi-fans/dsh-better), and click Install.

Install with dsh CLI

Install @agi-fans/dsh-better from DeepSeek Harness into the Web UI profile:

dsh plugin --profile web add @agi-fans/dsh-better

Or update @agi-fans/dsh-better:

dsh plugin --profile web update @agi-fans/dsh-better@latest

For the Desktop App profile or default/CLI profile:

# Desktop App profile
dsh plugin --profile desktop add @agi-fans/dsh-better
dsh plugin --profile desktop update @agi-fans/dsh-better@latest

# Default / CLI profile
dsh plugin add @agi-fans/dsh-better

Then start Web UI with dsh web (or open DeepSeek Harness Desktop). Pre-built Host and Client bundles are included (dist/index.js and dist/client.js) — no build step or restart is required when HMR is active.

Configuration

Configure @agi-fans/dsh-better via Settings → Prompt Deepener, Plugins → Prompt Deepener, the /better-model slash command, or cordis.patch.yml defaults:

- id: dsh-better
  name: '@agi-fans/dsh-better'
  config:
    # Inherit the active session's model when null (reuses KV prompt cache), or pin e.g. "deepseek-official/deepseek-reasoner"
    model: null
    # Equivalent to pi-better's `thinking`: defaults to fast `"low"` reasoning (preserving KV cache) when null, or set `"inherit"` / `"off"` / `"low"` / `"medium"` / `"high"` / `"max"`
    reasoningEffort: null
    # Optional override specifically for /better subagent brief checking (falls back to `model`)
    briefModel: null
    # Optional reasoning effort override for /better subagent brief checking (falls back to `reasoningEffort`)
    briefReasoningEffort: null
    # Set false to disable automatic /better brief checking on subagent activations
    checkSubagents: true

UI and /better-model changes are stored atomically in <profileDir>/dsh-better.settings.json and take effect immediately.

Development

npm run build
npm run typecheck
npm test

Credits

Comments

Loading…

Similar plugins

prompt-optimizer-plugin

by naitoupi

DeepSeek Harness (DSH) plugin: ? optimize the composer draft with the current model. Installable bundle (dsh.bundle + dsh.client); Settings tab: on/off switch, generation params, editable system promp

Development & InfrastructureTerminal & ClientsSessions & MessagesManifest valid

★ 0

MIT

JavaScript

Sep 21, 2026

dsh plugin --profile web add prompt-optimizer-plugin

by february2015

Pi true-gateway plugin for DeepSeek Harness (DSH): /pi-lock direct connection to a durable Pi session — queued/steered conversation, live output, durable binding + auto-reattach. Personal fork of @dee

Manifest valid

★ 0

MIT

TypeScript

Sep 3, 2026

dsh plugin --profile web add dsh-subagent-pi-plus

by openma-ai

Bridge your pi extension, codex plugin or claude code plugin to dsh (DeepSeek Harness)

Manifest valid

★ 4

↓ 59/wk

MIT

TypeScript

Aug 25, 2026

dsh plugin --profile web add @openma/dsh-agents-plugins-bridge

by a1113622001

DeepSeek Harness (cordis) plugin: self-update for the harness launcher - checks npm for a newer @deepseek-ai/dsh, stages it, and applies it on harness exit (or update-and-restart from the web panel).

Development & InfrastructureTerminal & ClientsManifest valid

★ 3

MIT

JavaScript

Aug 22, 2026

dsh plugin --profile web add dsh-auto-update

by magian1127

DeepSeek Harness (DSH) plugin: A comprehensive enhancement plugin with UI polish, layout tweaks, prompt injection, and more. 综合性增强插件,界面优化、布局调整与提示词注入等更多功能。

UI & ExperienceManifest valid

★ 36

↓ 1.1k/wk

MIT

TypeScript

Nov 16, 2026

dsh plugin --profile web add deepseek-harness-zh_pro

by 2750599332-art

DeepSeek Harness plugin: one-click prompt enhancement in the composer toolbar, with style keywords and an independent enhancement-model setting.

UI & ExperienceDevelopment & InfrastructureManifest valid

★ 2

NOASSERTION

JavaScript

Nov 13, 2026

dsh plugin --profile web add dsh-inkwell