DeepSeek Harness Plugin Hub

发布与管理完整 Harness Profiles,发现适合你的插件。

探索

插件目录环境预设文档中心动态

社区

发布插件联系我们报告问题

相关链接

Plugin Hub GitHubDeepSeek Harness 官方项目系统状态隐私说明
© 2026 DeepSeek Harness Plugin HubPowered byPaxTech

独立、非官方社区项目,与 DeepSeek 官方无隶属、授权或背书关系。

Input Optimizer — DeepSeek Harness 插件(DSH Plugin)
DeepSeek Harness Plugin Hub
ProfilesPlugins分类动态文档登录管理 Profiles
ProfilesPlugins分类动态文档登录
← Plugins
I

dsh-input-optimizer

Input Optimizer

通过 dsh 自身的 LLM 路由优化 DeepSeek Harness 的提示词:将输入框中的草稿改写为更好的提示词

插件会安装到这里;不确定时保持 web。

npx -y @deepseek-ai/dsh plugin --profile web add github:xkjxziochu/dsh-input-optimizer#81b358003409a709937c8bdacd4c00f990a868b3
README兼容性版本

兼容性与来源证明

Input Optimizer 以 dsh-input-optimizer 发布,当前版本为 0.1.0。Plugin Hub 会校验它的 manifest,并保存精确安装来源,便于复现安装结果。

DSH 兼容范围
*
运行环境
web
发布来源
github
Registry 更新时间
2026/10/1

版本

0.1.0stable
2026/10/1

相关插件

正在加载相关插件…

最新版
0.1.0
DSH
*
HMR
重启进程
Tree shaking
未声明可安全裁剪
解包体积
未提供
文件数
未提供
Surface
web
许可证
MIT
发布源
github
GitHub
★ 0
周下载
0
最近提交
2026/10/1
查看源码 ↗
README Badge

点击下方 Badge 复制 Markdown,粘贴到 README 即可。

这是你的 Plugin?认领权益 · 优先安全扫描

验证 package.json 声明的 GitHub 仓库,即可管理这个公开页面。认领后,Hub 会优先安排当前版本的安全扫描,并在通过后公开展示结果。

认领这个 Plugin →
报告问题

相关插件

继续浏览 productivity-workflow 分类下经过校验的插件。

Codex Ui@michengai/dsh-codex-uiDSH Codex UI — 为 DeepSeek Harness Web 提供 Codex 风格侧栏、工作区会话树、全局搜索和轮次导航Remotedsh-remoteDeepSeek Harness 的远程工作助手:连接 SSH(密码/密钥/代理/键盘交互/代理跳转),选择远程工作区,使用 22 个 rw_* 工具操作该工作区(包括 rw_edit/rw_stat/rw_mkdir/rw_remove/rw_move/rw_forward),具备冲突感知的镜像 syAi Novel Writer@ethanyoq/dsh-ai-novel-writer面向 DeepSeek Harness 的本地优先小说项目插件Mneme@modusensus/dsh-mneme适用于 DeepSeek Harness 的跨会话记忆插件,支持 autoDream 整合:SQLite 存储、Markdown 镜像、9 个模型工具、自动注入、会话摘要、用户配置文件/规则、自定义斜杠命令、向量(语义)搜索,以及 Web GUI pa

README

dsh-input-optimizer

A standalone dsh plugin that adds a ✨ 提示词优化 button to the dsh input box: it rewrites the draft you are typing into a better prompt using the LLM routes the harness is already configured with, then shows an 原文 / 优化后 comparison so you decide whether to adopt the rewrite.

Extracted from dsh-better-input (only the prompt-optimize capability — the voice-recognition chain and the ASR transcript cleanup are not included).

Feature

  • ✨ optimize the input draft. Click the button next to the send button; the current draft is sent to the configured optimize route and the result appears in a confirm panel. 采纳 replaces the draft, 取消 keeps it untouched.
  • Uses dsh's own credentials. No separate API key: the plugin calls ctx.llm, so it reuses whatever providers the harness already has.
  • Recent conversation as context. The last N turns (default 3, configurable 0–20) are passed along so a follow-up like "改成更正式一点" is rewritten in context. 0 disables context entirely.

Settings

Settings live under the plugin's own namespace (dsh-input-optimizer) and are edited from the dsh settings page (settings section 「提示词优化」):

FieldMeaning
Optimize provider / modelThe route used for rewriting. Auto-filled with the first available route on first open.
Reasoning effortEffort tier for the rewrite; empty means "thinking off" (the model's off tier when advertised, otherwise the adapter default).
Custom optimize promptReplaces the built-in system prompt entirely. Empty uses the built-in.
Context turnsHow many recent turns to include as context, 0–20.

The plugin's settings namespace is derived from its exported Config schema, so every field is declared .volatile() — that is what makes the entry visible to dsh-settings and editable live.

Install

From npm (recommended)

dsh plugin --profile <profile> add dsh-input-optimizer

From a git checkout

git clone https://github.com/xkjxziochu/dsh-input-optimizer.git
cd dsh-input-optimizer && pnpm install && pnpm build

then add "dsh-input-optimizer": "file:/path/to/dsh-input-optimizer" to the profile's package.json dependencies, add dsh-input-optimizer to its dsh.profile.bundles list, and reinstall.

What the package installs

It ships a cordis.patch.yml (declared as dsh.bundle.patch) that inserts the plugin into the profile:

- insert:
    - id: dsh-input-optimizer
      name: dsh-input-optimizer

Build

pnpm install
pnpm build     # tsdown (host esm + browser cjs bundle) + tsc declarations
pnpm check     # tsc --noEmit

Layout:

  • src/index.ts — host entry (name / Config / apply).
  • src/optimize/service.ts — the PromptOptimizer Typert remote service (getSettings / updateSettings / listRoutes / resolveModelEfforts / optimize).
  • src/client.ts → lib/client.js — the browser half (button + confirm panel + settings section).
  • src/remote.ts — the Typert descriptor contribution.

Requirements

dsh ^0.2.0-rc.1. The 0.2 line changed two things this plugin depends on: the Typert codec is now { create: () => schema } instead of { schema }, and dsh-settings replaced register() with a Config-derived namespace plus describe() / update().