ai-input-enhancer
Manifest validAdds prompt optimization, cancellation, and undo controls to the DeepSeek Harness composer.
AI Input Enhancer
DeepSeek Harness(DSH)的提示词优化插件。插件在对话输入框增加“提示词优化”操作:优化完成后直接将结果填入输入框,并允许你随时撤回到原始提示词。
功能
- 三种明确的优化模式:保真优化、开发化表达、规格扩展。
- 优化中可取消,并显示加载状态。
- 优化结果直接填入对话框,可一键撤回原始提示词。
- 可选的会话内短期记忆:最多保留最近三轮已应用的优化结果。
- 可选的当前会话上下文,并可设置字符预算。
- 可选的工作区 Markdown 文档上下文,仅限当前会话的工作区根目录。
- 可配置主模型、回退模型、超时和最大输出 token。
- 不存储 API Key。
界面
输入框入口
高级设置
高级设置按优化策略、会话上下文、工作区文档上下文和模型限制分段展示,避免长说明和输入项交错。
模型与执行限制
优化模式
- 保真优化:提升表达清晰度,但不虚构需求、事实、架构或范围。
- 开发化表达:将用户已经提供的开发信息整理成更适合实现的表述,不替你选择技术栈或设计方案。
- 规格扩展:允许补充必要默认项,但必须在
## Default assumptions下明确标示,供你审阅。
隐私与上下文
当前草稿会发送给你选择的 DSH 模型路由。所有额外上下文默认关闭。
启用会话上下文后,插件只读取当前会话 Surface 中的 user/message 和 assistant/message 文本。启用工作区上下文后,插件最多读取当前会话工作区根目录内三个相关 Markdown 文件。两个来源都各自受字符预算限制;服务不可用或读取失败时会自动降级为无该来源上下文。插件不会持久化完整草稿、会话历史或文档内容。
安装
将已发布的 npm 包安装到 Web profile:
dsh plugin --profile web add zzy-dsh-prompt-optimizer
重启现有 DSH Web 进程并刷新当前 URL。
评估
可复现的 30 条盲化 A/B 测试协议、脱敏输入和独立评估结果见 tests/evaluation/report.md 与 tests/evaluation/conclusion.md。
许可证
MIT
Comments
Loading…
Similar plugins
Adds prompt optimization, cancellation, and undo controls to the DeepSeek Harness composer.
★ 0
dsh plugin --profile web add zzy-dsh-prompt-optimizerby du-u-uck
Adds a one-click prompt optimization button to the DSH composer, with undo and an optional dedicated optimizer model.
★ 0
MIT
TypeScript
Sep 13, 2026
dsh plugin --profile web add dsh-prompt-optimizationby rongxingda
Prompt enhancement plugin for the DeepSeek Harness web GUI: one-click rewrite of the composer draft into a structured prompt, with preview, fill-back, and undo.
★ 7
↓ 2.8k/wk
Apache-2.0
TypeScript
Sep 30, 2026
dsh plugin --profile web add dsh-prompt-enhanceby 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
★ 0
MIT
JavaScript
Sep 21, 2026
dsh plugin --profile web add prompt-optimizer-pluginby yaoshuo530
A prompt-enhancement plugin for DeepSeek Harness: an ✨ Enhance composer button that rewrites prompts with first-principles thinking using session context, and asks clarifying questions when key info i
★ 5
MIT
JavaScript
Aug 28, 2026
dsh plugin --profile web add dsh-prompt-enhancerby ALIve114514awa
Guided prompt optimization for DeepSeek Harness: Harness AI and Codex, editable previews, and explicit draft insertion across desktop, Web and TUI.
★ 0
TypeScript
Oct 4, 2026
dsh plugin --profile web add dsh-prompt-optimizer