跳到主要内容

dsh-plugin-mission-control

已验证

dsh-plugin-mission-control · v0.2.1 · MIT

DeepSeek-Harness (dsh) plugin that streams sessions, turns, and tool activity to a JARVIS Mission Control board

安装

dsh plugin add dsh-plugin-mission-control

dsh --profile default --dump-config 确认 layer 已生效 —— 参见安装指南

源码

标签

作者

说明文档

dsh-plugin-mission-control

Mirror DeepSeek-Harness (dsh) agent activity onto a live JARVIS Mission Control board: every dsh session becomes a task, messages and tool calls stream into the activity log, and finished turns land in REVIEW for a human to approve.

Validated against @deepseek-ai/[email protected] — both the shipped type definitions and a live headless run. dsh is a developer preview; event names are config-overridable so upstream renames are a config fix.

Install

# Into a dsh profile — the plugin self-activates via its dsh.bundle declaration.
# Pin the currently validated dsh preview, or use `dsh plugin ...` if already installed.
npx @deepseek-ai/[email protected] plugin --profile web add dsh-plugin-mission-control

# Point it at your board (defaults shown)
export MISSION_CONTROL_URL=http://localhost:3000
export MC_AGENT_ID=agent-dsh
export MC_AGENT_TOKEN=...   # only if your board enforces auth

npx @deepseek-ai/dsh web

Need a board? git clone https://github.com/Asif2BD/JARVIS-Mission-Control-DeepSeek && cd JARVIS-Mission-Control-DeepSeek/server && npm install && npm starthttp://localhost:3000

What it does

dsh event Board effect
session/created Task created (IN_PROGRESS, assigned to the harness agent)
user/message, assistant/message Activity log excerpts
tool/call, tool/result Activity log entries (tool name; error code on failure)
turn/endcompleted Task → REVIEW (humans approve to DONE)
turn/endblocked / failed Task → BLOCKED, structured error logged
turn/endaborted / interrupted Task → ASSIGNED
session/flush Awaited bounded flush of the plugin's HTTP queue

All Mission Control calls go through a serialized retry queue — an unreachable board never blocks the dsh agent loop.

Configuration

Override the bundle defaults per profile by addressing row id mission-control in the profile's cordis.patch.yml:

- id: mission-control
  config:
    missionControlUrl: http://localhost:3000
    agentId: agent-dsh          # must match ^[a-zA-Z0-9-_]+$
    agentName: DeepSeek Harness
    authToken: null             # or set env MC_AGENT_TOKEN
    maxExcerpt: 280             # max chars of content forwarded to logs
    flushTimeoutMs: 10000       # bound for the awaited session/flush drain
    events: {}                  # override dsh event names after upstream renames

Troubleshooting

  • Nothing on the board — confirm the server is up (curl $MISSION_CONTROL_URL/api/metrics) and check dsh logs for [mission-control] lines. Set dryRun: true in the row config to print payloads instead of sending.
  • Unknown event warnings after a dsh upgrade — map the renamed events via the events config block.
  • Auth failures (401/403) — set the same token in the server env (MC_AGENT_TOKEN) and the plugin (authToken or env).

License

MIT — part of JARVIS-Mission-Control-DeepSeek.