rea
morluto
Reverse engineer anything with agents, from app behavior down to native binaries.
PROJECT TOPICS
INSTALL REFERENCE
dsh plugin --profile web add github:Macorreag/dsh-monitor
该命令指向仓库当前默认分支;尚无绑定当前 commit 的完整验证结果。
PROJECT README
Monitor plugin for DeepSeek Harness — background bash watchers that interrupt the agent loop with the captured output (the Monitor() pattern), with a live status bar docked above the composer.
◉ pnpm test --watch espera /passed/ vigilando · 2m14s ✕
◉ while ! curl -sf :3000/health … espera /200/ vigilando · 41s ✕
monitor(command, match?, timeout_ms?, repeat?) — starts a background
process and returns immediately. The monitor fires once when the combined
output matches the regex, when the process exits, or when the optional
timeout expires — and in that moment it injects a steering message into
the agent's inbox with the captured output tail, waking the agent even
from idle.repeat: true — the monitor stays live and refires on every new match
(incremental match window + 1.5 s cooldown), in an unbounded chain until
stopped.monitor_stop(id?) — stops one or all monitors (explicit agent action,
no steering).npm install @macorreag/dsh-monitor
Then add one row to your composition. Per-session (agent preset,
agent.cordis.yml):
- id: monitor
name: '@macorreag/dsh-monitor'
inject: ['timer', 'shell', 'tools', 'sessionProjections']
The row-level
injectmatters: the composition loader resolves service access from the row's options (entry.options.inject), so the services the plugin touches must be declared there even though the module also exportsinject. Or globally (hostcordis.yml). The plugin publishes no services — it registers the two tools, themonitorsession projection, and the web surface.
Monitor processes run under the harness process sandbox: read-only
filesystem (watch output, don't write files) and the interactive bash tool
cannot observe their PIDs. Details in
packages/dsh-monitor/docs/sandbox-notes.md.
v0.1.0 — the full behavior matrix (11 routes) was validated live against a
running deployment; see
docs/test-matrix.md. The
static port is in dogfooding.
MIT
CLASSIFICATION EVIDENCE
系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: deepseek-harness。