DeepSeek Harness Plugin Hub

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

探索

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

社区

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

相关链接

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

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

Monitor — DeepSeek Harness 插件(DSH Plugin)
DeepSeek Harness Plugin Hub
ProfilesPlugins分类动态文档登录管理 Profiles
ProfilesPlugins分类动态文档登录
← Plugins

dsh-monitor

Monitor

当新消息到达时唤醒 DeepSeek Harness 代理的持久监视器——Claude Code 的 Monitor 工具在该 harness 中的对应功能。

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

npx -y @deepseek-ai/dsh plugin --profile web add dsh-monitor@0.1.1
README兼容性版本

兼容性与来源证明

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

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

版本

1.2.0stable
2026/8/21
1.0.0stable
2026/8/21
0.1.1stable
2026/8/13

相关插件

正在加载相关插件…

最新版
0.1.1
DSH
*
HMR
重启进程
Tree shaking
未声明可安全裁剪
解包体积
21.1 kB
文件数
6
Surface
any
许可证
MIT
发布源
npm
GitHub
★ 2
周下载
63
最近提交
2026/8/13
查看源码 ↗项目主页 ↗
README Badge

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

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

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

认领这个 Plugin →
报告问题

相关插件

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

Acp App@deepseek-ai/dsh-acp-appdsh ACP 配置文件包:基于 dsh-base 的仅限自动化的 JSON-RPC stdio 和进程生命周期管理Remote Web Ui@linxin666/dsh-remote-web-ui通过扫码配对访问 dsh Web GUI,共享一个官方界面:设置按钮旁的二维码可将手机和 PC 配对到同一个 Web GUI(手机采用竖屏触控适配层,PC 使用完整桌面界面),通过一次性令牌和 rPocketdsh-pocket把 DeepSeek Harness 装进你的口袋:一个包、一个设置页,手机扫码即同步访问电脑上的 DSH(局域网 + 公网,实时同屏)。DSCODE@toddzheng024/dscode-bundle完整的 DeepSeek 编码代理,支持持久化 shell、Ultra 协作和自动权限审查。

README

dsh-monitor

A drop-in replacement for Claude Code's Monitor tool, built for DeepSeek Harness.

dsh-monitor is a harness plugin that arms persistent, background watchers on message sources. When new content arrives, the plugin wakes the owning agent — delivering a plugin-sourced user message into the session, exactly like Claude Code's <task-notification> mechanism.

If you rely on Claude Code's Monitor to stay responsive to inbound messages while a shell is idle, this plugin gives you the same capability inside DeepSeek Harness.

How it works

The model calls the monitor tool to arm a watcher on a source:

  • source: file — an append-only NDJSON inbox. New lines are delivered as they land.
  • source: command — a shell command re-run on an interval. Its output delta since the last run is delivered.

On each new message the plugin wakes the agent:

Agent stateBehavior
idleagent.followup() — opens a new turn (harness analog of Claude Code's <task-notification>)
busyagent.inject() — queues the message into the next step

Watchers are durable within the session, disarmable on demand, and torn down automatically when the plugin is unloaded.

Installation

dsh plugin --profile <name> <args...> is a thin pnpm forwarder: it runs pnpm <args...> in the profile directory, then adds any installed package that declares dsh.bundle to the profile's layer stack automatically.

From git (works today)

npx @deepseek-ai/dsh@latest plugin --profile web add https://github.com/AbnerAI/dsh-monitor

From npm (once published)

npx @deepseek-ai/dsh@latest plugin --profile web add dsh-monitor

From a local directory

npx @deepseek-ai/dsh@latest plugin --profile web add /path/to/dsh-monitor

When installing a local directory, run pnpm install inside the package first — link: installs do not resolve the package's own dependencies automatically.

Manual alternative: add dsh-monitor to the profile's dsh.profile.bundles and include this package's cordis.patch.yml via its dsh.bundle.patch declaration.

Quick start

Tell the agent to arm a watcher on an inbox file:

monitor(source="file",
        path="/absolute/path/to/inbox.ndjson",
        name="my-inbox",
        poll_interval_ms=1000)
  • path must be an absolute path (or start with ~ — the plugin expands it). Node's fs does not expand ~ itself.
  • poll_interval_ms defaults to 2000; 1000 is a good balance for chat-like inboxes.

The tool returns a watcher id, e.g. monitor-1. From then on, every new line written to the file wakes the agent automatically.

Manage watchers at any time:

monitor_list                        # list armed watchers (id, source, delivered count)
monitor_stop(id="monitor-1")        # disarm one

To watch a command's changing output instead of a file:

monitor(source="command", command="tail -n 5 /var/log/app.log", poll_interval_ms=5000)

Tools

monitor

Arm a persistent watcher.

ParameterTypeRequiredDescription
source"file" | "command"yesfile = watch an append-only NDJSON inbox; command = poll a shell command's output
pathstringfor filepath of the NDJSON inbox (absolute, or ~-prefixed)
commandstringfor commandshell command to poll
cwdstringnoworking directory for the command (defaults to the process cwd)
poll_interval_msnumbernopoll interval in ms (default 2000)
namestringnoshort label used in wake-up messages and monitor_list

Returns a watcher id. Each new NDJSON line (or command-output delta) is delivered as a plugin-sourced notice that wakes the agent.

Implementation note. Polling uses plain global setInterval with cleanup registered via ctx.effect — the same timer convention as dsh-schedule. The Cordis timer-service mixin (ctx.setInterval) is intentionally not used: it is only resolvable from the host context, not from tool-execution contexts, and calling it throws cannot get property "timer" without inject.

monitor_list

List armed watchers with their ids, sources, and delivery counts. Empty output means nothing is armed.

monitor_stop

Disarm a watcher by id. Returns whether it was still armed.

NDJSON inbox format

Each line is a JSON object; the content field is delivered if present, otherwise the raw line:

{"content":"hello","ts":1712345678}

Any append-only NDJSON file works. The format pairs naturally with messaging and notification brokers: a broker appends one record per inbound message, and a watcher on the file wakes the agent as new records land. This mirrors the contract Claude Code Monitor exposes for its own inbox watchers.

Requirements

  • DeepSeek Harness (dsh) with a Cordis-based plugin loader (bundles / cordis.patch.yml).
  • Peer dependencies: dsh-agent, dsh-llm, dsh-tools, cordis (satisfied by the harness runtime).

License

MIT