DeepSeek Harness Plugin Hub

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

探索

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

社区

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

相关链接

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

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

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

@local/dsh-prompt-forecast

Prompt Forecast

DeepSeek Harness Web 撰写器中的幽灵文本下一步操作预测,可使用 Tab 或右箭头接受。

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

npx -y @deepseek-ai/dsh plugin --profile web add github:littepointR/dsh-prompt-forecast#8e05847c61892448c9f8e4d6726c5587982c119b
README兼容性版本

兼容性与来源证明

Prompt Forecast 以 @local/dsh-prompt-forecast 发布,当前版本为 0.2.4。Plugin Hub 会校验它的 manifest,并保存精确安装来源,便于复现安装结果。

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

版本

0.2.4stable
2026/10/18
0.1.1stable
2026/10/18
0.1.0stable
2026/10/18

相关插件

正在加载相关插件…

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

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

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

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

认领这个 Plugin →
报告问题

相关插件

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

Acp App@deepseek-ai/dsh-acp-appdsh ACP 配置文件包:基于 dsh-base 的仅限自动化的 JSON-RPC stdio 和进程生命周期管理Experimental Schedule Bundle@deepseek-ai/dsh-experimental-schedule-bundle为 Web 组合添加 Schedule、其任务页面和时间上下文的可选捆绑包Client Ui Task Board@linxin666/dsh-client-ui-task-board面向 DSH Web GUI 的主机权威任务面板,支持实际会话执行、主机 cron 调度以及可选的跨平台空闲睡眠保护;以挂载方式提供,无需修改 DSH 源代码。Web All@linxin666/dsh-web-allDSH Web UI 全家桶聚合插件:一键安装全部功能插件(task-board / git-graph / pet / remote-web-ui / web-ui-settings / skin-center / community-plugins / compat shim)。compat 桥接层已并入本包(src/client),无需独立 compat npm 包。

README

Prompt Forecast

English | 中文

Ghost-text prediction of your next action in the DeepSeek Harness Web composer, in the style of Codex and Claude Code prompt suggestions.

After a completed turn the Host half asks the session's own model for the single most likely next actionable message, publishes it through a client-visible session projection, and the Client half renders it as gray text on the first line of an empty composer. Press Tab or → to accept it into the draft, or Esc to ignore that suggestion. Typing anything hides it; the text you typed is never replaced.

The default mode is a Codex-style context fork: the parent's current text transcript plus one synthetic user turn, Suggest my next message., with explicit rules that restrict the answer to an action.

Requirements

  • DSH 0.2.1-rc.2 or newer within 0.2.x, declared as engines.dsh: ^0.2.1-rc.2.
  • This plugin is built on the 0.2.1-rc.2 client and Host surfaces: the conversation.input.overlay composer slot, InputActions.captureInsertion() / insertText(), and the session-projection carrier fed by agent/turn-stopping.
  • dsh plugin add validates the range during installation and restores the previous profile state when it does not match; profile startup checks it again. An unmet range refuses to load the plugin; upgrade DSH or install a plugin release whose engines.dsh matches your runtime. A DSH 0.3 release will need a matching plugin release rather than an exemption.

What it does

  • Fork mode (default) predicts from the full text transcript; digest mode uses a compact JSON excerpt.
  • Predicts the next action, not a status report or an outcome guess.
  • Writes in the language the user writes in, one short line.
  • Uses the route that served the turn (falling back to the profile default model), so no extra provider setup is required.
  • Skips subagent sessions and turns with no human input.
  • Fails silently: a slow, aborted, or failed prediction never surfaces an error in the conversation.

What gets predicted

The target is the next actionable message, not a literal continuation of the conversation. A useful suggestion is one the user would send to tell the assistant what to do next:

  • an instruction: run the tests, fix this error, check the projection cache, explain the failure
  • a choice or approval: use option A, go ahead, keep it
  • a correction: no, change the client side
  • a request to explain or diagnose: why does the fork call time out?
  • a short report followed by an instruction: restarted, still empty — check the logs

Pure status reports, test results, log observations, narration, and guesses about what might happen are rejected; NONE is a valid answer. A conservative post-filter drops obvious pure-report clauses, and fork mode falls back to the digest when the result is unusable.

Prediction modes

mode: 'fork' (default) mirrors the Codex composer-prediction shape. It takes the session's current text transcript — system and developer instructions plus user/assistant text — drops tool calls, tool results, reasoning, and attachment blocks, then appends one synthetic user turn:

Suggest my next message.

The model's reply becomes the ghost line. No child session or session event is created; the fork is an in-memory message list for one auxiliary call. A short action-rules block is appended to the inherited system prompt so the model writes the user's next instruction rather than a status report. Because the whole transcript is sent, this mode costs more tokens and needs a larger timeoutMs than the digest mode.

mode: 'digest' keeps the earlier lightweight path: a compact JSON excerpt (recent_user_messages, latest_assistant_reply, tools_used) with a short, action-oriented system prompt. Use it for cheap predictions or long sessions where sending the transcript is too expensive.

Configuration

The row's config block in cordis.patch.yml overrides every default:

FieldDefaultMeaning
enabledtruefalse leaves the Host half unregistered
modeforkfork = full transcript + Suggest my next message.; digest = compact JSON excerpt
maxTokens1024Output budget of the prediction request
temperature0.4Sampling temperature
timeoutMs12000Hard bound on the request; a slower answer is dropped
maxPromptChars80Clip length of the predicted prompt
maxForkChars12000Character budget of the forked conversation window (system/developer text is always kept)
fallbacktrueWhen the fork yields no text, retry with the compact digest
maxInputChars6000Digest-mode excerpt size bound
skipSubagentstrueSubagent sessions get no prediction
providerturn routeExplicit provider override
modelturn routeExplicit model override

The prediction is produced while the turn boundary is still open (agent/turn-stopping), so its text arrives with the finished turn instead of requiring a poll. timeoutMs is the price: a prediction that does not settle within that budget is dropped and the turn finishes without one.

Install

From GitHub (no build step)

dsh plugin --profile web add github:littepointR/dsh-prompt-forecast
dsh web

dsh plugin add forwards to pnpm in the chosen profile, installs the package, and automatically adds the bundle to dsh.profile.bundles because the package declares dsh.bundle.patch. Restart the profile for the plugin to load. The package is plain JavaScript with no prepare build script, so a git install needs no extra pnpm build approval.

To pin the tagged release:

dsh plugin --profile web add github:littepointR/dsh-prompt-forecast#v0.2.4

The Desktop application's desktop profile is reserved for the Electron app, so the CLI rejects --profile desktop. Use Settings → Plugins there, or install into a CLI profile.

From a local checkout

Use Plugin Manager with this package directory as the bundle target. The bundle patch inserts the prompt-forecast row; it survives restarts because it is a normal profile bundle.

Limits

  • Only an empty composer shows a suggestion. Completing a partially typed draft needs caret geometry the slot does not expose yet and is not part of this version.
  • The suggestion is a hint, not an action: accepting inserts plain text into the draft and nothing is sent.
  • Prediction quality depends on the session model; a very small model may return a generic follow-up.

Development

node --test test/host.test.mjs test/client.test.mjs
node --check index.js && node --check client.js
  • index.js — Host half: generate at agent/turn-stopping, publish through the promptForecast projection.
  • client.js — Client half: register in conversation.input.overlay, render the ghost line, handle Tab/→/Esc.
  • test/host.test.mjs — text normalization, digest building, projection fold.
  • test/client.test.mjs — structural smoke test of the Client render branches (no DOM emulation).

License

MIT