DSH HUB
HomePlugin StorePlugin PacksCommunityRankingsResourcesPublish Guide
Plugin source
Back to catalog

ZevGit /

ZevGit/dsh-next-step-hint

Verified

Ghost-text next-step suggestion in the DeepSeek Harness composer: one background model call after each turn, Tab to fill the draft.

★ 0 Stars0 Forks0 IssuesN/A Community rating0 Confirmed installs
View on GitHub
READMESource: main@9505cb5c

Next Step Hint

A ghost-text next-step suggestion inside the DSH composer. After every turn ends, one background call on the session's own model writes the message the user is most likely to send next; it appears as placeholder text in the empty composer. Tab or Enter fills it into the draft, Esc ignores it, and nothing is ever sent for you.

What it does

  • One line, in your voice. The suggestion is a single message addressed to the assistant, in the language of the conversation, at most 240 characters. It is a prediction of your next message, not a plan from the agent.
  • Grounded in the turn that just finished. The call sees the session topic, the standing goal, the task list the turn worked from and the task still open, the last few requests you wrote yourself, and the reply that just ended.
  • Closes work out instead of inventing more. When the goal reports complete, or every task on the list is completed, the prompt switches from "what is next" to "what is still missing before this is done" — review the diff, run the checks, commit, report — and a session that already got its wrap-up line does not get asked again on every later turn.
  • Survives switching sessions. The suggestion is appended to the session log as an ignorable plugin record and projected as nextStep, so leaving a conversation and coming back shows the same line instead of paying for another call. A session that never had one gets a fresh suggestion when it is first shown.
  • Never blocks the turn. The prediction runs after turn/end, in the background, with a 90 s timeout; a failed or declined call simply leaves the composer empty. Subagent sessions are skipped, since their composer is never shown.
  • Cheap by construction. The call reuses the provider and model the session itself just ran on, asks for the lowest reasoning effort the model advertises (off, minimal, low), and caps the output at 700 tokens so a thinking trace cannot eat the sentence.

Install

From the repository:

dsh plugin add github:ZevGit/dsh-next-step-hint

Or from the prebuilt tarball, which skips the git clone:

dsh plugin add https://github.com/ZevGit/dsh-next-step-hint/releases/latest/download/dsh-next-step-hint.tgz

Both carry the same dsh.bundle manifest. The package installs under the name dsh-next-step-ghost — the repository keeps its original name, but that is the row that appears in your profile. Restart after installing; a browser UI change is part of the plugin.

Upgrading from 4.x? Those releases installed as @local/dsh-next-step-hint. The 5.x manifest is named dsh-next-step-ghost, so remove the old row first — otherwise two copies of the same plugin sit in the profile and only the new one is mounted:

dsh plugin remove @local/dsh-next-step-hint
dsh plugin add github:ZevGit/dsh-next-step-hint

Requirements

  • DeepSeek Harness >=0.2.2-rc.1 <0.3.0 (on Node 22 or newer).
  • A session model that accepts a completion request — the plugin uses the provider and model already configured for the session. No API key of its own is needed.
  • The Web client for the composer overlay. The Host half (prediction and session projection) works without it, but there is nothing to show the line in.

Behaviour worth knowing

  • Each finished turn with a model route costs one extra model call. It is not free, and it is not instantaneous: measured calls land between five and twenty-five seconds, which is why the line usually appears a moment after the reply.
  • The suggestion is text, never an action. Tab copies it into the composer so it stays editable, and Enter does the same on an empty composer — it fills the draft instead of doing nothing, so the message is never sent unread; you still press send.
  • A suggestion is tied to the prompt revision that produced it. When the prompt changes in a new version, older suggestions are regenerated rather than shown under the new contract.
  • Declining is normal: the model may answer null when every concrete next move is arbitrary, and then no ghost text is shown.

Licence

MIT — see LICENSE.

—/ 5

No ratings yet

Verified DSH bundle

Commit 9505cb5c370b

Community comments

No comments yet. Be the first to write one.

DSH HUB

A community index for DSH plugins. Not an official GitHub or DeepSeek AI product.

CommunityResourcesAPIAbout