DeepSeek Harness Plugin Hub

发布与管理完整 Harness Profiles,发现适合你的插件。

探索

插件目录环境预设文档中心动态

社区

发布插件联系我们报告问题

相关链接

Plugin Hub GitHubDeepSeek Harness 官方项目系统状态隐私说明
© 2026 DeepSeek Harness Plugin HubPowered byPaxTech

独立、非官方社区项目,与 DeepSeek 官方无隶属、授权或背书关系。

DeepSeek Harness Plugin Hub
ProfilesPlugins分类动态文档登录管理 Profiles
ProfilesPlugins分类动态文档登录
← Plugins

dsh-insight-dock

Insight Dock

DSH Web GUI 的洞察停靠栏:代理工作时可暂存一条简短且严格限定范围的旁支观察,将其显示在编辑器上方,并允许用户稍后要求查看,同时提供可在上下文压缩后保留的上下文锚点。

插件会安装到这里;不确定时保持 web。

npx -y @deepseek-ai/dsh plugin --profile web add dsh-insight-dock@0.2.2
README兼容性版本

兼容性与来源证明

Insight Dock 以 dsh-insight-dock 发布,当前版本为 0.2.2。Plugin Hub 会校验它的 manifest,并保存精确安装来源,便于复现安装结果。

DSH 兼容范围
*
运行环境
web
发布来源
npm
Registry 更新时间
2026/9/16

版本

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

相关插件

正在加载相关插件…

最新版
0.2.2
DSH
*
HMR
重启进程
Tree shaking
未声明可安全裁剪
解包体积
76.2 kB
文件数
7
Surface
web
许可证
MIT
发布源
npm
GitHub
★ 0
周下载
0
最近提交
2026/9/15
查看源码 ↗
README Badge

点击下方 Badge 复制 Markdown,粘贴到 README 即可。

这是你的 Plugin?认领权益 · 优先安全扫描

验证 package.json 声明的 GitHub 仓库,即可管理这个公开页面。认领后,Hub 会优先安排当前版本的安全扫描,并在通过后公开展示结果。

认领这个 Plugin →
报告问题

相关插件

继续浏览 ui-customization 分类下经过校验的插件。

Web App@deepseek-ai/dsh-web-appdsh 浏览器界面捆绑包:位于 dsh-base 之上的 Web 补丁层,加上运行时粘合插件(提供前端 dist、Web 界面提示符、bash 运行时变量和 URL 行)Experimental Session Titles Bundle@deepseek-ai/dsh-experimental-session-titles-bundle新的用户提示到达时刷新会话标题。Personalized Recommendations@deepseek-ai/dsh-personalized-recommendations回答下方以卡片形式提供个性化页面和内置插件推荐Whale Widgetdsh-whale-widgetDSH Web 界面右下角的 DeepSeek 余额小鲸鱼挂件:余额/今日已用/峰谷定价、自定义泡泡点击序列(文本/余额/今日/峰谷/图片/随机语句与并列加权选择)、逐行样式与字体、悬浮快捷编辑、音效与每轮消耗、自定义角色/动图/音效、吸附与翻转自定义

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