DSH Plugins Marketplace

DSH Plugins

Plugins

/

Terminal & Clients

/

dsh-prompt-boost

d

dsh-prompt-boost

Manifest valid

Trae-style input booster for the dsh web GUI: a sparkle (✨) button beside the model selector optimizes the typed draft into a high-quality, faithful, directly executable prompt via the session's default model; after optimization the button becomes an undo (↩) icon that restores the original input. Zero-build pure-JS plugin: the host half serves /api/prompt-boost/optimize (llm.stream), the browser half registers the conversation.input.right slot.

UI (client)hasBundlePatch

dsh-prompt-boost — 优化输入内容

English | 中文

Trae-style input booster for the DeepSeek Harness (DSH) web GUI. A sparkle (✨) button beside the model selector rewrites your typed draft into a high-quality, faithful, directly executable prompt — and after optimization the same button turns into an undo (↩) icon to restore the original input.

Inspired by Trae CN's "优化输入内容" (optimize input) feature: type a rough idea, click the magic wand, and the composer text is rewritten into a clear, structured instruction that the AI can execute directly. If you don't like the result, click the undo icon to get your original text back — you can loop optimize ⇄ undo as often as you like.

Features

FeatureDescription
✨ Optimize inputOne-click rewrite of the current draft into a clear, structured, executable prompt
↩ UndoAfter a successful write-back the button becomes an undo icon; click it to restore the original input
Task-awareThe optimizer detects the task type (coding, data processing, writing, analysis, research, ops, …) and organizes content accordingly
Fidelity-firstEvery concrete detail from your input (paths, numbers, names, commands) is kept verbatim; nothing is invented — missing key info becomes a 【请补充:××】 placeholder
Natural outputTrae-style natural instruction text with numbered points — no "角色设定:/验收标准:" label headers, no JSON, no template tables
Language-lockedOutput always follows the input language (Chinese in → Chinese out, English in → English out)
Anti-clobberIf you edit the draft while optimizing, the result is not written back and undo is not armed

Screenshots

✨ Optimize input⏳ Optimizing↩ Undo available
Optimize input buttonOptimizingOptimized, undo available

How it works

  • Host half (lib/index.js): serves POST /api/prompt-boost/optimize. It streams the optimization call through llm.stream using the deployment's default model (agentDefaultModel), applies the v6 optimizer policy, and returns { text } or { error } (90 s timeout, 8000-char input cap).
  • Browser half (lib/client.js): registers the conversation.input.right seat (tool row, right beside the model selector, before the send button), POSTs the draft, writes the result back via inputActions.setDraft, and manages the undo state machine.

Zero build: the package is plain JavaScript (ESM host + __ModuleLoader__ web bundle).

Install

Add the bundle patch to your web profile roster, e.g. in ~/.dsh/profiles/web/cordis.patch.yml:

- insert:
    - id: prompt-boost
      name: 'dsh-prompt-boost'

with the package available to the profile's node_modules (npm/link install), then reload the DSH host and refresh the GUI.

Usage

  1. Type a rough idea in the composer, e.g. 帮我写个脚本整理下载文件夹,文件太乱了
  2. Click the ✨ button (spinner while optimizing)
  3. Review the optimized instruction in the composer, then send
  4. Not happy? Click ↩ to restore the original input and try another phrasing

Requirements

  • DSH with llm + agentDefaultModel services mounted and a configured default model
  • Browser web GUI (conversation composer)

License

MIT

Comments

Loading…

From the same category

dsh-TUI

by ccch1mneyyy

DSH 官方公众号收录的 TUI 补位插件:Claude Code 风,鲸鱼顶栏/实时状态/流式思考/双击 Esc 回滚/上下文进度+TPS。npm 一键装。 DSH official WeChat featured TUI plugin — Claude Code style: whale bar, live status, streaming thoughts, double-Esc rol

Terminal & ClientsManifest valid

★ 4k

↓ 16k/wk

MIT

TypeScript

Oct 5, 2026

dsh plugin --profile terminal add @deepseek-harness-tui/dsh-tui

by strukto-ai

The World's First Virtual Terminal for AI Agents

Terminal & ClientsManifest valid

★ 3.7k

↓ 344/wk

Apache-2.0

TypeScript

Oct 5, 2026

dsh plugin --profile agent add @struktoai/mirage-dsh

by bowenliang123

The best DeepSeek Harness plugin for context insight and management, with context dashboard / browser / sidebar and context command, for context statistics, composition, breakdown, evolution details,

Tools & CapabilitiesUI & ExperienceTerminal & ClientsManifest valid

★ 1.9k

↓ 38.8k/wk

Apache-2.0

TypeScript

Oct 5, 2026

dsh plugin --profile web add dsh-context

by huiliyi37

官方 DeepSeek Harness 的交互式终端 UI 插件:自研 ANSI 极简交互渲染、流式 Markdown/工具卡、16+ 主题、slash 命令与选择器、输入历史与本地偏好持久化、LSP 诊断、memory记忆,很丝滑的开发体验。

Terminal & ClientsManifest valid

★ 282

↓ 571/wk

Apache-2.0

TypeScript

Sep 30, 2026

dsh plugin --profile terminal add @huiliyi37/dsh-tianshu-tui

by Hilbert-beinghappy

面向 DeepSeek Harness 的 Claude Code 风格终端界面,支持 Windows、macOS 与 Linux,兼容透明终端、VS Code 主题和自定义配色。

Terminal & ClientsManifest valid

★ 197

↓ 108/wk

MIT

TypeScript

Oct 1, 2026

dsh plugin --profile web add seektty

by T-Auto

deepseek-harness Plugin Access and Implementation Standards / deepseek-harness交互生态插件规范与实施标准

Terminal & Clients

★ 81

MIT

JavaScript

Oct 3, 2026

Index only — not installable