DeepSeek Harness Plugin Hub

Publish and manage complete Harness Profiles. Discover Plugins for your next setup.

Explore

PluginsPresetsDocsNews

Community

Publish a pluginContactReport an issue

Resources

Plugin Hub on GitHubDeepSeek HarnessSystem statusPrivacy notice
© 2026 DeepSeek Harness Plugin HubPowered byPaxTech

Independent and unofficial. Not affiliated with, authorized by, or endorsed by DeepSeek.

Prompt Forecast — DSH Plugin for DeepSeek Harness
DeepSeek Harness Plugin Hub
ProfilesPluginsCategoriesNewsDocsSign inManage Profiles
ProfilesPluginsCategoriesNewsDocsSign in
← Plugins
P

@local/dsh-prompt-forecast

Prompt Forecast

Ghost-text next-action prediction in the DeepSeek Harness Web composer, accepted with Tab or Right Arrow.

The plugin will be installed here. Keep web if you are unsure.

npx -y @deepseek-ai/dsh plugin --profile web add github:littepointR/dsh-prompt-forecast#8e05847c61892448c9f8e4d6726c5587982c119b
READMECompatibilityVersions

Compatibility and provenance

Prompt Forecast is published as @local/dsh-prompt-forecast and currently resolves to version 0.2.4. The Hub verifies its manifest and preserves the exact installation source for reproducible installs.

DSH compatibility
*
Runtime surfaces
web
Release source
github
Registry updated
10/18/2026

Versions

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

Related plugins

Loading related plugins…

Latest
0.2.4
DSH
*
HMR
Process restart
Tree shaking
Safe tree shaking not declared
Unpacked size
Unavailable
Files
Unavailable
Surface
web
License
MIT
Source
github
GitHub
★ 0
Weekly downloads
0
Last push
10/18/2026
View source ↗
README badge

Click the badge to copy Markdown for your README.

Do you maintain this Plugin?Claim benefit · Priority security scan

Verify the GitHub repository declared in package.json to manage this listing. After you claim it, Hub will prioritize a security scan of the current version and publish the result when it passes.

Claim this Plugin →
Report an issue

Related plugins

More verified plugins in productivity-workflow.

Acp App@deepseek-ai/dsh-acp-appThe dsh ACP profile bundle: automation-only JSON-RPC stdio and process lifecycle over dsh-baseExperimental Schedule Bundle@deepseek-ai/dsh-experimental-schedule-bundleOptional bundle that adds Schedule, its task page, and time context to the Web compositionClient Ui Task Board@linxin666/dsh-client-ui-task-boardHost-authoritative task board for the DSH Web GUI with real session execution, Host cron scheduling, and optional cross-platform idle-sleep protection; mounted without DSH source changes.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