dsh-steer-note: Interruptions and Course Corrections During Task Execution

Preface

When running agent tasks in DeepSeek Harness (DSH), you often want to add another instruction while the model is still executing within a conversation turn: changing priorities, correcting misunderstandings, or adding constraints. If you can only use the main input box after the turn ends, direction adjustments lag; if you temporarily occupy the main input box, it easily clashes with token statistics and cache display. The community plugin dsh-steer-note (maintainer hffek) provides an independent “interruption bar” during task execution. Text, images, and files go through the native steering pipeline, accompanied by interruption records and draft recovery. The following covers installation, usage, and notes.

What is this

dsh-steer-note is a compact “mid-turn interruption” plugin for DSH. Its English intro is: Seamless mid-turn steering for DeepSeek Harness: text, images, files, read receipts, and draft rescue. It is categorized as “Model Inference” in the SkillHub Directory. Source code and documentation are available at GitHub: hffek/dsh-steer-note. The current npm package version is 0.2.3 (subject to the repository’s package.json), licensed under MIT.

Messages still enter the conversation as normal user/steering inputs. History, logs, and attachment behaviors remain consistent with the main input box; the Host side informs the model via the STEER_NOTE system prompt that content inserted mid-way is a course correction, not a brand new task.

Core Features

The following capabilities listed in the README can be verified against the interface after installation.

Mid-turn Interruption

During task execution, an independent interruption bar appears above the main input box. It does not cover the main input box nor obstruct token/cache displays. Enter sends, Shift+Enter creates a new line.

Text, Images, and Files

  • Click the paperclip to select images or any files; pasting and dragging are supported; images are recognized and previewed.
  • Image formats: PNG, JPEG, WebP, GIF, subject to native imageLimits; a prompt will appear if the model does not support visual input.
  • Regular files are registered via conversation.createDrafts and uploaded in the background. When sending, { type: 'file', receiptId } is used; there is a progress indicator for the upload, and failures display the reason.

Remote sending uses native interfaces such as ctx.remote.session.prompt({ mode: 'steer' }).

Draft Safety

Content not yet sent at the end of a turn is automatically moved to the main input box; you can also manually click “Place in Input Box”. After switching conversations or refreshing, text and image drafts are restored as much as possible (text in localStorage; images are subject to capacity limits, with a prompt if too large). Regular file drafts are retained only in the current page memory; they remain available when switching conversations, but will be lost upon refreshing the page.

If the focus is still inside the interruption box when the task ends, the draft will not be automatically moved. You need to click “Place in Input Box” to avoid having two input boxes appear simultaneously.

Interruption History and Read Status

The clock button allows viewing interruption records. Statuses include: Read, Pending, Delivered, Unread. Unread interruptions can be cancelled (calling native updateQueue({ action: { kind: 'remove' } })); read or expired ones will prompt that cancellation is unavailable. Records are saved locally per conversation; only text is backfilled; images and files need to be re-added.

Conditions for the interruption bar to appear: the current conversation is running, or the conversation still has unsent drafts. The interruption bar does not appear in one-shot sub-agent conversations.

Installation and Activation

First, select the profile: Web and Desktop commands are identical except for --profile. Restart DSH after installation so that the Host side STEER_NOTE takes effect.

Install from npm (Web):

dsh plugin --profile web add dsh-steer-note

GitHub Alternative:

dsh plugin --profile web add github:hffek/dsh-steer-note

For Desktop, replace --profile web with --profile desktop:

dsh plugin --profile desktop add dsh-steer-note

For local development, you can link a directory (replace the path with your absolute path):

dsh plugin --profile web add link:/absolute/path/to/dsh-steer-note

The plugin runs under DSH process permissions; it is recommended to review the repository source code and MIT license before installation to ensure compliance with your environment policies. Community directories (such as SkillHub, dshbase) are independent sites and have no official affiliation with DeepSeek / High-Flyer.

Typical Usage

  1. Install and restart DSH, then open a long-running conversation.
  2. After the task starts, enter correction instructions in the interruption bar, attach screenshots or files if necessary, and press Enter to send.
  3. To recall an interruption not yet read by the model, open the interruption history and cancel the corresponding item.
  4. If the turn ends before sending, check if the main input box has automatically received the draft; if focus is still in the interruption box, click “Place in Input Box”.

Compatibility and Fallback

Test environments recorded in the README: DSH Desktop 2.0.18, DSH 0.2.1-rc.2 (Web profile). After a major DSH version upgrade, it is recommended to regression test text/image/file sending, history, and cancellation capabilities.

Behavior when some capabilities are unavailable (summary):

  • updateQueue unavailable: Cancel button is not displayed.
  • Attachment-related interfaces unavailable: Text can still be moved to the main input box; images/files remain in the interruption bar with a prompt to add manually.
  • fileUploads unavailable: Regular files cannot be sent or display progress; images and text are unaffected.
  • useChat empty or inbox unavailable: History status may remain at “Delivered”.

File attachment and image “migration” utilize internal client services, not public documented APIs; text/image/file sending, history, and cancellation primarily use native public interfaces.

Conclusion

dsh-steer-note bypasses “mid-turn course correction” from the main input box: offering an independent interruption bar, multimodal steering, local drafts, and read receipts. It is suitable for agent usage scenarios requiring frequent fine-tuning during long tasks.

羽毛球分组比赛记分
小程序二维码

欢迎使用《羽毛球分组比赛记分》微信小程序

Xiaoye