Introduction

In the DeepSeek Harness (DSH) Web interface, the goal mode is often used to express the current session goal, turn status, and operation control. For users who need to frequently switch goals, check turn limits, or pause or resume goals, a clickable, visible interface is more convenient.

KarlOfLaw/dsh-goal-mode-enhance is a goal mode enhancement plugin for the DSH Web interface that places goal status and operation entries directly into the Web interface.

DSH’s philosophy is “Everything is a plugin”. The community directory is an independent site with no official subordination to DeepSeek / Futurnex, and is not an official app store.

What is it

KarlOfLaw/dsh-goal-mode-enhance is maintained by KarlOfLaw, with the current version being 0.1.0 and a license of MIT. It provides a visual goal mode for the DeepSeek Harness Web interface.

The plugin requires:

  • DeepSeek Harness Web GUI (web profile)
  • Built-in goal system: goals service + goal projection

Data is stored in session log goal/change events, with persistence guaranteed by the engine; the plugin is responsible for display and operation. The operation channel is ctx.remote.goals, utilizing optimistic concurrency control with CAS revision. Preference persistence uses the ui-goal-mode settings namespace.

Core Features

Full lifecycle goal bar

When no goal is set, the “Set Goal” creation form can be expanded. After a goal is set, the goal bar displays:

  • Status label
  • Goal text
  • Turn progress bar and n/limit
  • Limit reached badge

The goal bar provides operation buttons:

  • Pause
  • Resume
  • Edit
  • Complete
  • Clear
  • Collapse

When the goal is complete, a completion banner is displayed along with “Start new goal”.

Multi-line creation and editing

Goal content is edited using a multi-line text box, supporting:

  • Auto-wrap
  • Resizable height
  • Ctrl+Enter to submit

When creating or editing, the turn limit can be set within the same input box.

Composer tool row entry

The Composer tool row provides a goal button and displays phase color dots:

  • Green: In progress
  • Yellow: Paused
  • Red: Blocked

Clicking the entry expands or collapses the goal bar. The goal bar can collapse into a content-adaptive capsule.

Settings

The plugin provides a General settings toggle:

  • “Show goal entry in input box tool row”

This preference is persisted via the ui-goal-mode settings namespace.

The plugin also provides an independent goal settings page, displaying the current session’s goal status, turns, and a compact goal preview. Long goals can be expanded on demand, with usage instructions attached.

Zero idle interference

When no goal is set, no content is rendered above the composer, unless the creation form is explicitly opened.

Installation and Enablement

The plugin provides two forms.

Form A: Formal plugin package

Suitable for daily use and sharing. Use the Release pre-built tarball and execute:

dsh plugin --profile web add <tgz 路径>

Restart after installation. Plugin packages of Form A do not disappear after a page refresh or restart.

Form B: Dynamic plugin source code

Suitable for quick try-out and debugging. Use cordis_define + cordis_run within the session to load host.js / client.js.

Typical Usage

Below is a set of reproducible interface operations:

  1. When there is no goal, click the button to expand the “Set Goal” creation form.
  2. Edit the goal content in the multi-line text box; the input box height can be dragged as needed.
  3. Set the turn limit in the same input box.
  4. Press Ctrl+Enter to submit.
  5. After a goal exists, use Pause, Resume, Edit, Complete, Clear, or Collapse on the goal bar.
  6. If you need to close the tool row entry, control it via the General settings toggle “Show goal entry in input box tool row”.

Suitable Scenarios and Notes

Suitable for scenarios in the DSH Web GUI where the goal mode is used frequently, such as:

  • Need to view the current goal status and turns
  • Need to pause, resume, complete, or clear goals
  • Want to quickly enter goal settings in the composer tool row
  • Need an independent goal settings page to view current session goal information

Notes:

  • This plugin requires DeepSeek Harness Web GUI (web profile).
  • Requires the built-in goal system goals service + goal projection.
  • The plugin runs with the current dsh process permissions; you should check the source code and license before installing.
  • The installation environment needs to satisfy peerDependencies, including:
  • @deepseek-ai/cordis
  • @deepseek-ai/dsh-client-runtime
  • @deepseek-ai/dsh-client-ui-slots
  • @deepseek-ai/dsh-client-ui-settings
  • @deepseek-ai/dsh-client-locale
  • @deepseek-ai/dsh-client-ui-conversation
  • @deepseek-ai/dsh-goal
  • @deepseek-ai/dsh-settings
  • @deepseek-ai/schemastery
  • react ^18.2.0

Links

  • GitHub: https://github.com/KarlOfLaw/dsh-goal-mode-enhance
  • Directory page: https://www.skillhub.cn/plugins/KarlOfLaw/dsh-goal-mode-enhance (Source: Clue, not independently verified)