DeepSeek Harness Plugin Hub

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

探索

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

社区

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

相关链接

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

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

Insight Dock — DeepSeek Harness 插件(DSH Plugin)
← 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 →
报告问题
DeepSeek Harness Plugin Hub
ProfilesPlugins分类动态文档登录管理 Profiles
ProfilesPlugins分类动态文档登录

相关插件

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

Better Sidebardsh-better-sidebarDSH web 插件:类似 VSCode 的右侧边栏(资源管理器 / 编辑器 / 终端 / git / 浏览器),按对话会话隔离。提供服务,供其他插件注册侧边栏标签页和文件查看器。Deepseek Ipptdeepseek-ipptiPolloWork PPT Studio 及其精选幻灯片模板,作为原生 DeepSeek Harness 对话视图。Codex Ui@michengai/dsh-codex-uiDSH Codex UI — 为 DeepSeek Harness Web 提供 Codex 风格侧栏、工作区会话树、全局搜索和轮次导航Dream Skindsh-dream-skinDeepSeek Harness 换肤插件(Dream Skin for DSH):8 套 iOS / Linear 式清透冷调的高质感主题 + 弥散光壁纸 + 每款皮肤智能背景 + 强调色 + 主题包分享,把换肤做成材质与配色克制的高级感工艺,而非贴图。在原生 DSH Web 和第三方桌面客户端(DSH Desktop)中运行:8 款原创高端主题、玻璃材质、壁纸 2.0

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