DeepSeek Harness Plugin Hub

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

探索

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

社区

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

相关链接

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

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

Mcp Sentinel Deepseek Harness Plugin — DeepSeek Harness 插件(DSH…
← Plugins

@gcszhn/mcp-sentinel-deepseek-harness-plugin

Mcp Sentinel Deepseek Harness Plugin

DeepSeek Harness 插件,充当 AI 代理与 MCP 服务器之间的哨兵,代表代理轮询长时间运行的任务,使高 token 成本的状态循环不会进入 LLM 推理路径

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

npx -y @deepseek-ai/dsh plugin --profile web add @gcszhn/mcp-sentinel-deepseek-harness-plugin@1.4.0
README兼容性版本

兼容性与来源证明

Mcp Sentinel Deepseek Harness Plugin 以 @gcszhn/mcp-sentinel-deepseek-harness-plugin 发布,当前版本为 1.4.0。Plugin Hub 会校验它的 manifest,并保存精确安装来源,便于复现安装结果。

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

版本

1.4.0stable
2026/8/24
1.3.0stable
2026/8/16
1.2.0stable
2026/8/16

相关插件

正在加载相关插件…

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

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

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

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

认领这个 Plugin →
报告问题
DeepSeek Harness Plugin Hub
ProfilesPlugins分类动态文档登录管理 Profiles
ProfilesPlugins分类动态文档登录

相关插件

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

Headless@deepseek-ai/dsh-headlessdsh one-shot bundle:基于 dsh-base 的直接核心 Agent/Session 运行器,不包含 Host、HTTP 或浏览器层Experimental Agent Team Web Profile@deepseek-ai/dsh-experimental-agent-team-web-profile用于 Agent Teams Remote 和 UI 插件的实验性 Web 配置层Subagent Codex@deepseek-ai/dsh-subagent-codex基于官方 app-server 协议的一次性 Codex 子代理提供程序Subagent Claude Code@deepseek-ai/dsh-subagent-claude-code基于官方 Agent SDK 的一次性 Claude Code 子代理提供方

README

@gcszhn/mcp-sentinel-deepseek-harness-plugin

A DeepSeek Harness plugin that acts as a sentinel between the AI agent and MCP servers — polling long-running tasks on the agent's behalf so that token-costly status loops never enter the LLM inference path.

This package is the DeepSeek Harness adapter for @gcszhn/mcp-sentinel-core.

Install

Install into a profile with the dsh CLI:

dsh plugin --profile <name> add @gcszhn/mcp-sentinel-deepseek-harness-plugin

The package ships a dsh.bundle manifest, so dsh plugin add appends it to the profile's dsh.profile.bundles list and activates its cordis.patch.yml layer. Verify the layer without booting:

dsh --profile <name> --dump-config

How it talks to MCP

The plugin runs in external-invoker mode: it reuses the MCP tools already registered by the harness's @deepseek-ai/dsh-mcp-client bridge and never owns MCP connections itself, so there is no separate servers config and no sentinel-specific MCP wiring. You keep configuring MCP exactly as you already do for the harness — one dsh-mcp-client instance per server:

# This is ordinary dsh-mcp-client config, not sentinel config.
- insert:
    - id: mcp-ci
      name: "@deepseek-ai/dsh-mcp-client"
      config:
        serverName: ci
        transport: stdio
        command: bun
        args: ["/path/to/ci-mcp-server.ts"]

When calling mcp_sentinel_poll, server is the mcp-client serverName and tool is the server's raw tool name; the sentinel invokes mcp__<server>__<tool> (e.g. mcp__ci__get_status) through the harness tool registry. Anything you already bridged with dsh-mcp-client is immediately pollable — no extra step.

Tools

mcp_sentinel_poll

Submit a long-running MCP tool call and poll it at regular intervals until a condition is met. Returns a sentinel ID immediately; when the sentinel resolves, the plugin pushes a completion notice into the originating agent's inbox (Agent.followup) so the driver wakes and the agent can collect the result with mcp_sentinel_attach (blocking), mcp_sentinel_status, or mcp_sentinel_read.

ParameterTypeDefaultDescription
serverstringrequiredserverName of a dsh-mcp-client instance
toolstringrequiredTool name to call on the server
argsobject{}JSON object of arguments for the tool
intervalnumber5000Poll interval in milliseconds
timeoutnumberoptionalMax poll duration in ms (unset = no limit)
untilobjectrequiredJSON condition object

mcp_sentinel_status

Check status, list active tasks, or cancel a running task (action = status | list | cancel).

mcp_sentinel_attach

Block the agent, waiting for a sentinel to complete. Zero token cost during the wait.

mcp_sentinel_read

Read raw poll outputs with offset/limit pagination.

Condition model

Conditions are pure declarative data:

{ "path": "status", "is": "eq", "value": "completed" }        // path leaf
{ "is": "eq", "value": "completed" }                          // no path: compare the raw result
{ "path": "tasks[0].exit_code", "is": "ne", "value": 0 }     // array-index path
{ "not": { "path": "status", "is": "eq", "value": "error" } } // negation
{ "and": [ /* conditions */ ] }                               // logical AND
{ "or": [ /* conditions */ ] }                                // logical OR

Operators: eq, ne, gt, gte, lt, lte, contains, match. Omit path (or leave it empty) to match a non-JSON tool result directly.

License

MIT