deepseek-harness/packages/hooks/hook-protocol/tests
Yichen Jiang 184e164091 feat(tasks): background task runtime, generic task_* control tools, bash/subagent producers
One shared ctx.tasks registry (branded <kind>-N ids, owner-fenced
read/kill/wait/list, attachSurface misconfiguration fence, reported-flag
notice dedup, atomic register) + dsh-tool-tasks (task_output/task_list/
task_kill, completion-notice injection, background prompt habit).
Producers opt in via their own enableRunInBackground config: bash
(stream kind; seam slimmed to resolve/run/start returning a BashProcess
handle, bash_output/bash_kill deleted) and subagent (final-output kind;
done settles after run.dispose()). Owner disposal drains tasks through
the new awaited ctx.agents.onCleanup seam in the loop's disposal chain.
Both RFCs moved to implemented/; docs, catalogs, snapshots re-pinned.
2026-07-09 21:22:54 +08:00
..
codec.spec.ts refactor(hooks): tighten the hook-protocol contract surface 2026-07-04 15:44:26 +08:00
detached.spec.ts fix(hooks): drain detached hook runs on bridge dispose 2026-07-06 23:27:54 +08:00
events.spec.ts restore hook/result durationMs — review keeps wall-clock audit timing durable 2026-07-04 22:00:12 +08:00
matcher.spec.ts feat(hooks): dsh-hook-protocol — shared Claude Code / Codex hook wire-protocol core 2026-07-01 00:41:53 +08:00
merge.spec.ts fix(hooks): merge surfaces the WINNING decision's reason, not only deny's 2026-07-01 02:20:12 +08:00
runner.spec.ts feat(tasks): background task runtime, generic task_* control tools, bash/subagent producers 2026-07-09 21:22:54 +08:00