rea
morluto
Reverse engineer anything with agents, from app behavior down to native binaries.
PROJECT TOPICS
INSTALL REFERENCE
dsh plugin --profile web add github:longroads/dsh-global-supervisor
该命令指向仓库当前默认分支;尚无绑定当前 commit 的完整验证结果。
PROJECT README
简体中文 | English
Global supervisor plugin for DSH (DeepSeek Harness): cross-workspace project management, task dispatch, status monitoring, scheduled inspections, and event response — without modifying DSH core.
A single Router session manages many project workspaces: identify projects, dispatch tasks, resume sessions, receive structured worker reports, run periodic patrols. All state persists in SQLite and survives host restarts.
supervisor_* tools; worker sessions report via worker_report with server-side permission checks (not prompt constraints).pending → queued → running → completed plus blocked / need_human / failed / canceled; strict transition table with audit trail; Task/TaskRun separation keeps retry history intact.node:sqlite, zero native dependencies.supervisor_recall pulls related context (thread events, subscriptions, worker reports, run history) in one hop.supervisor_watchdog_config), run-timeout retry, need-human escalation, idle/lost worker detection; 5-minute scans by default (interval also tunable). Judgements and retries always notify the Router.supervisor_session_create provisions fresh worker sessions on demand; supervisor_task_assign accepts session_id/fresh_session for one-task-one-executor isolation (zero context pollution); steer works on need_human tasks (guide-and-continue); idle-spin detection warns when a worker session finishes turns without any tool output.steer to inject instructions into a running task.node:sqlite; shipped with the DSH runtime)# Run in the DSH Desktop built-in terminal (replace "desktop" with your profile name)
dsh plugin --profile desktop add dsh-global-supervisor
Restart DSH Desktop. Installing is not enough: open the settings panel ("Global Supervisor") and assign a Router session first. IM push is optional (configure a dsh-im bot). Patch-level configuration options: see cordis.patch.yml.
Open the settings panel — it checks for new releases (npmjs, npmmirror fallback) and shows the upgrade command:
dsh plugin --profile desktop update dsh-global-supervisor
If the upgrade fails with ERR_PNPM_MINIMUM_RELEASE_AGE_VIOLATION, DSH's supply-chain policy is rejecting a version published more recently than the policy window (common right after a release). Grant an exact-version exemption (dsh plugin allow-version dsh-global-supervisor@<version>, covering the stale lockfile entry named in the error as well), or retry about a day after that version was published — see the packaged docs/TROUBLESHOOTING.md for details.
Full documentation ships inside the npm package (in Chinese) at node_modules/dsh-global-supervisor/docs/: USER_GUIDE (usage), TROUBLESHOOTING (troubleshooting), DEPLOYMENT (deployment & operations), INTEGRATIONS (external integration examples), API_COMPATIBILITY (host compatibility contract).
Version 0.7.3 — verification-feedback fixes: FB-14 JSON-safe text sanitization for tool outputs (strips ANSI sequences/control chars/lone surrogates + length caps, applied at both ingest and egress — supervisor_task_report no longer fails wholesale on dirty log excerpts); FB-17 fresh-session readiness polling after agents.create (removes the create→dispatch timing race that caused systematic idle-spinning); FB-15 anti-idle dispatch contract (the first action must produce a host-visible side effect before any "started" report). Fresh-session workspace affinity and orphan-session event ingestion remain host API gaps (see docs/API_COMPATIBILITY.md). 30 tools (29 Router + worker_report), 266 unit tests.
MIT
CLASSIFICATION EVIDENCE
系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: deepseek-harness。