rea
morluto
Reverse engineer anything with agents, from app behavior down to native binaries.
PROJECT TOPICS
INSTALL REFERENCE
dsh plugin --profile web add github:CelineHuangdz/dsh-wait-buddy
该命令指向仓库当前默认分支;尚无绑定当前 commit 的完整验证结果。
PROJECT README
An Agent long-task monitor for the DSH session view, with lightweight games
Monitoring first · read-only · one-way Agent → game signals
中文 · Changelog · Acceptance Runbook · GitHub
Current version 0.13.0: monitor-truth release — tool results and durations in the feed, event-age pulse, per-turn signal dedupe, command-free projection, and no global key/scroll hijacking. Games are frozen (no new content); only Snake consumes Agent signals. Tested on DSH
0.2.1-rc.5.
WaitBuddy is a session-view plugin for DSH Desktop. It adds a WaitBuddy tab next to Chat / Trajectory in the current session and lets you:
It never controls the Agent, never intercepts the native approval dialog, and never writes to the session log.
conversation.view, next to Chat / Trajectory.tool/result status, duration and error code; no raw model reasoning (D27) and no full shell command (D51).Ctrl/Cmd+Shift+W toggles pill ↔ background (no UI, system notifications only). Notifications fire only while the window is unfocused, for approval/finish/failure, and never contain command text.agent:*; the game only consumes them. The monitor layer defines no rewards.0.2.1-rc.5 (the only tested version)In DSH: sidebar → Plugins → Add plugin, then use one of:
| Method | Value | Notes |
|---|---|---|
| Git (recommended) | github:CelineHuangdz/dsh-wait-buddy#v0.13.0 |
Pinned tag (recommended); a bare spec follows HEAD |
| Local directory | /abs/path/to/dsh-wait-buddy |
For development; run pnpm install first |
| Tarball | absolute path to dist/dsh-wait-buddy-x.y.z.tgz |
Create with npm pack --pack-destination dist |
After installing, enable the plugin and refresh the page, then select WaitBuddy in the session view tabs.
For a local directory, run
pnpm installfirst (the Host half useszodfor projection schema validation).
turn/start / step/end / tool/call / tool/result.Arrow keys only act inside the view and never steal composer keys. Touch/pointer-only devices cannot control direction (D7, approved deviation).
| Item | Storage | Values |
|---|---|---|
| Snake speed | localStorage → dsh-wait-buddy.settings.v1 |
Slow / Normal / Fast |
| Gomoku difficulty | Same | Easy / Medium / Hard |
Host (index.js)
session log ── pure fold ──> waitbuddy projection (stateVersion 7)
│
Client (client.js) ▼
projection + sessionStatus ──> composeMonitor ──> TrackState ──> WaitBuddyView
│
└── diffMonitorSignals ──> agent:* SignalHub
│
▼
gameStore (snake)
waitbuddy session projection; pure fold, read-only, never writes logs.conversation.view entry; merges the durable projection with process-local running / pendingInteraction.task_start / step_advance / approval_enter / approval_leave / task_finish.| Capability | Status |
|---|---|
| M1 status board | ✅ |
| M2 Snake / Gomoku | ✅ |
| M3 signals / approval pause / +5/+50 | ✅ core; real approval pause + manual resume verified |
| D7 soft buttons | Approved deviation: keyboard arrows only |
| D16/D17 Gomoku/settings | Approved deviation: M4 scope shipped early |
| D28 question / plan-review | ✅ visible since 0.5.0: per-kind alert copy + game auto-pause |
| D22 unknown terminal | aborted + reason text; no new enum |
0.2.1-rc.5; other versions are not promised. The full host API surface and the per-version checklist live in docs/compat.md.pnpm install
npx playwright install chromium # required for visual tests the first time
npm run build:client # regenerate client.js from src/client/ fragments (required after editing them)
npm run test:meta # version consistency + node --check + fragment/artifact drift check
npm test # 100 unit/component cases
npm run test:visual # 4 headless layout scenarios (with host tabs / Todo dock / composer)
npm run test:all # all of the above
.github/workflows/ci.yml runs npm test + npm run test:visual on push/PR.test/*.test.js; visual script: tools/visual-layout.mjs.index.js Host half: waitbuddy session projection (pure fold, read-only)
client.js Client half (generated: ordered concat of src/client/*.mjs)
src/client/ Client source fragments (§1–§10 slices of the factory; build with npm run build:client)
cordis.patch.yml Bundler entry: id = wait-buddy
locale/*.json Plugin manager title/description
icon.svg Plugin icon
docs/ Baseline, UI spec, decisions, reviews, acceptance, release docs
test/ node:test unit/component tests
test-support/ Test loader (VM + minimal browser stubs)
tools/ Build script, headless visual layout checks
CHANGELOG.md Release notes
| Document | Content |
|---|---|
| M0 baseline | Frozen product baseline |
| M0 compliance | Implementation vs baseline, deviations |
| M1 acceptance | M1 acceptance record |
| M3 implementation | Signals, pause, rewards |
| UI spec | Layout, copy, interaction spec |
| Decisions | ADR-lite, D1–D28 |
| Acceptance Runbook | Manual checks and pass criteria |
| Reviews | 2026-11-05 review archive |
| Iteration plan | Backlog and iteration plan |
| Release Runbook | Packaging, npm, Git distribution |
| CHANGELOG | Version history |
Ctrl/Cmd+Shift+W background mode, unfocused-window system notifications (D28–D35).stateVersion 5 (D41), host-adapter feedback for the view switch, notification permission on user gesture, disableable shortcut, store lifecycle per apply, late-binding retries, error boundaries, reduced-motion (D42/D43).mode === 'snake' branch — a third game is now one adapter object (D45).localStorage.npm run test:all before submitting a PR.CLASSIFICATION EVIDENCE
系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: deepseek-harness。