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.

Insight Dock — DSH Plugin for DeepSeek Harness
← Plugins

dsh-insight-dock

Insight Dock

Insight dock for the DSH Web GUI: lets an agent park a short, strictly-bounded side observation while it works, shows it above the composer, and lets the user ask to hear it later — with a context anchor that survives context compaction.

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

npx -y @deepseek-ai/dsh plugin --profile web add dsh-insight-dock@0.2.2
READMECompatibilityVersions

Compatibility and provenance

Insight Dock is published as dsh-insight-dock and currently resolves to version 0.2.2. The Hub verifies its manifest and preserves the exact installation source for reproducible installs.

DSH compatibility
*
Runtime surfaces
web
Release source
npm
Registry updated
9/16/2026

Versions

0.2.2stable
9/16/2026
0.2.1stable
9/15/2026

Related plugins

Loading related plugins…

Latest
0.2.2
DSH
*
HMR
Process restart
Tree shaking
Safe tree shaking not declared
Unpacked size
76.2 kB
Files
7
Surface
web
License
MIT
Source
npm
GitHub
★ 0
Weekly downloads
0
Last push
9/15/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
DeepSeek Harness Plugin Hub
ProfilesPluginsCategoriesNewsDocsSign inManage Profiles
ProfilesPluginsCategoriesNewsDocsSign in

Related plugins

More verified plugins in ui-customization.

Web App@deepseek-ai/dsh-web-appThe dsh browser-surface bundle: the web patch layer over dsh-base plus the runtime glue plugin (frontend dist serving, web-surface prompt, bash runtime variables, URL line)Experimental Agent Team Web Profile@deepseek-ai/dsh-experimental-agent-team-web-profileExperimental Web profile layer for Agent Teams Remote and UI pluginsRemote Web Ui@linxin666/dsh-remote-web-uiScan-to-pair remote access for the dsh web GUI that shares one official interface: a QR beside the settings button pairs phones and PCs into the same Web GUI (a portrait-touch adaptation layer for phones, full desktop on PCs) through one-time tokens and rClient Ui Git Graph@linxin666/dsh-client-ui-git-graphExternal dsh web GUI plugin: a blank-session git branch selector + Git graph, with real host-side git operations and guards, as a dsh profile bundle

README

dsh-insight-dock

English | 中文

An insight dock for the DSH Web GUI.

While an agent is focused on a task it can park a short, strictly-bounded side observation — "wait, that other thing could…" — without derailing what it is doing. The note shows up above the composer, and you decide later whether to hear it out.

The point is the context anchor. Every note remembers the session sequence it was created at, so insight_load can read the real conversation log back from that moment. That read comes from the durable session log, which is why a note still works after the agent's own context has been compacted away.

Install

dsh plugin --profile <profile> add dsh-insight-dock

dsh plugin is a thin wrapper over pnpm, run inside the profile directory. It reconciles dsh.profile.bundles against the installed packages, sees the dsh.bundle.patch declaration in this package, and appends it to the bundle stack; the profile boot then merges cordis.patch.yml — a single insert of the plugin row. No profile file has to be edited by hand.

The bundle stack is read once at boot, so restart dsh before the plugin appears.

Installing from a local checkout instead
dsh plugin --profile <profile> add link:/absolute/path/to/dsh-insight

Mind the realpath trap: Node resolves a symlinked package to its real location before resolving its imports, so a linked checkout can only find @deepseek-ai/* if it has its own node_modules (ERR_MODULE_NOT_FOUND: Cannot find package '@deepseek-ai/dsh-tools'). A registry install materializes the package inside the profile and has no such problem.

What you get

Above the composer, a single-line dock — 💡 3 条见解 — that expands to the current note; the arrows step through the rest.

ActionEffect
说来听听Asks the agent to talk through this note, from the log window it anchored.
关闭Removes the note.
关闭并告诉 agent 为什么Removes the note and injects a one-line notice carrying your reason.

In Settings, a 见解 section: enable/disable, prompt strength (below), the concurrent-open cap (1–50), and the lifetime in minutes (1–1440, default 5).

Prompt strength

The dock only works if the agent thinks to use it, and that is governed almost entirely by one ambient line in its context. The 提示强度 setting picks which line, and when:

LevelInjected whenContent
关闭never — a close-with-reason notice still gets through—
弱only while insights are openthe open-insight reminder
中alwaysa positive criterion: real, currently unactionable, lost if not written down
强alwaysthat criterion plus a standing "scan for one before you start"

The four levels are one ordinal axis; the table's last two columns are what each point on it actually does.

The default is 弱, which preserves the historical behaviour — and it is structurally unable to produce a first insight, because the reminder it gates on does not exist until one has already been recorded. 中 and 强 inject with zero insights open, which is the only way a first one can appear.

Every earlier version of this text was a list of prohibitions — not a to-do, not an escape hatch for deferring work, if you can do it now, do it now. The measured effect was abstention. Across 94 recorded sessions and 625 turns, the only insights ever recorded were the ones created while building this plugin: 17 calls, every one of them a test fixture, and zero in the other 93 sessions. A description made entirely of reasons not to act produces exactly that. 中 and 强 state a positive criterion instead.

Two faces

Host — exports "." → lib/index.js:

SurfaceWhat it does
insight_addRecords a note. Title ≤ 60, reason ≤ 200, a required why_not_now ≤ 120, one note per turn, ≤ 5 open.
insight_listLists this session's notes.
insight_loadReads the log window around the note's anchor — and consumes the note.
insight_withdrawLets the agent retract its own note.
prompt contextOne ambient line while notes are open: these are not a to-do list, and a note that turns out to belong to the current task has to be done, not filed.
/insight/api/<op>The browser half's channel.

Client — exports "./client" → lib/client.js, served at /plugins/dsh-insight-dock/client.js: the dock in conversation.input.dock (order 30), and the settings page in settings.section.

Lifecycle

Every ending deletes the record. There is no archive.

TransitionTriggerResult
active → gonethe lifetime elapsed and nobody asked to hear itdeleted
active → heardyou click 说来听听the host steers one message into the agent
heard → gonethe agent reads it via insight_loadits context has been handed over, so the note is removed
heard → gonethe agent never got there (abandoned or failed turn)deleted once the lifetime elapses from the moment it was heard
active / heard → gonethe agent withdraws its own notedeleted
active / heard → goneyou close itdeleted — a close with a reason still injects its one-line notice first

A heard note therefore normally lives for seconds, not minutes: insight_load deletes it at the instant it hands the content over. The heardAt lifetime is only the backstop that keeps an unanswered note from sitting in the dock forever.

Notes live in memory only. Nothing about a note is written to disk. With a lifetime measured in minutes that costs almost nothing — a restart outlives every note anyway, so persistence would only ever preserve an empty set — and it removes a whole class of failure: a silently failed write, serial bookkeeping, and the fork / workspace / storage-layer caveats a side-car would have brought.

Known limitations

Measured, not guessed.

  1. The UI text is Chinese. Every user-facing string (说来听听, 关闭并告诉 agent 为什么, the settings labels) and every tool description is a literal Chinese string. There is no locale binding, so an English-locale session still sees Chinese everywhere.

  2. Every ending deletes; nothing is archived. There is no "已归档" row and no record behind it. Expiry in particular is irreversible: shortening the lifetime destroys notes outright, and lengthening it again cannot bring them back.

  3. A restart clears the dock. Notes are held in memory, so they do not survive a dsh restart, and a forked session does not inherit them. At the default five-minute lifetime this is invisible; it only bites if you set a long lifetime and restart with notes still open.

    Making them log-resident — session.append of a log-only, non-surface event plus sessionProjections.register — would make them fork-inheriting and checkpointed. That needs the event type registered through TypeScript module augmentation, which a hand-written lib/*.js package cannot do. Deliberately not paid for: with a time-based lifetime, persistence buys very little.

  4. Settings are persisted (~/.dsh/insight-settings.json), on purpose — a lifetime or cap that reset on every restart would be useless. They are a side-car rather than a registered ctx.settings namespace.

  5. The settings-nav icon is the shell's fallback gear. A settings.section registration projects only id, order and label; the nav glyph comes from a closed list of built-in ids (models / agent-presets / plugins, else a gear), so a plugin cannot supply one.

  6. Icons degrade. The dock asks @deepseek-ai/dsh-client-ui-primitives for IconLightOutline16, IconChevronLeftOutline14 and IconChevronRightOutline14, and falls back to hand-drawn 16px inline SVG if that require fails. A missing baseline entry is therefore a cosmetic loss, not a dead panel.

Notification behaviour

Closing a note with a reason makes the host inject a one-line notice message into the agent — deliberately without waking the driver, so the agent cannot reply to it. Closing without a reason notifies nobody.

Development

lib/index.js and lib/client.js are the shipped artifacts and are hand-written; there is no build step. lib/client.js is a lazy-CJS bundle in the shape the client module loader expects:

window.__ModuleLoader__.load({
  id: "dsh-insight-dock",        // must equal the package.json name
  factory: (require) => { /* … */ return module.exports },
})

node --check proves syntax only. Every real bug found during development — a join() separator emitted as content, heard notes escaping the lifetime, and a stateful helper called as a plain function (which charged its useState to the caller, changed the hook count between renders, and made React discard the whole settings section) — passed the syntax check, and the first two passed a stubbed smoke test as well. They only appeared once the plugin was actually run.

One regression test covers the failure a syntax check cannot see:

node test/hook-order.mjs lib/client.js

It renders the settings section twice — once while its config is still loading, once loaded — and asserts the root component consumes the same number of hooks both times. It fails on the shape above, so it is a test rather than a decoration: turning the fix back into a plain function call makes it exit 1.

License

MIT