deepseek-harness/packages/core/tools/tests
Dudu-0223 99a778d63f feat(subagent): continuable background subagents
Implement the continuable background subagents RFC: a durable child
session with a series of Task-backed activations, each disposing its
run before the Task settles.

- dsh-subagent: rename SubagentRun.sendMessage to strict steer, drop
  run-level resume, add SubagentProvider.resume dispatch via
  SubagentService.resume, the continuation start field, and the
  versioned model-hidden subagent/descriptor session event.
- dsh-subagent-inprocess/-spawn/-fork: publish the control-allocated
  child id, append the descriptor inside the initial turn, implement
  cold resume from the child's own transcript under the live parent
  scope, and strict running-only steer.
- dsh-subagent-control (new): SubagentControlService owning stable
  child ids, descriptor snapshot/fold/authorization, Task-backed
  activation with settle-then-dispose ordering, the process-local
  active-run association, and steer-or-resume sendMessage routing.
- dsh-tool-subagent: background route branches on the provider's
  resume capability (continuable via the control service; one-shot
  task for ACP), returning both child and task ids.
- dsh-tool-subagent-control (new): the globally named send_message
  tool rendering steered/started routes.

Keyless coverage spans Task ownership and disposal ordering, running
delivery, cold follow-up, descriptor rejection and rollback, known-id
reconstruction, kill during lookup, admission races, and a new
subagent-continuable ACP snapshot scenario.
2026-08-02 04:34:15 +08:00
..
code-mode.spec.ts fix: complete immutable message migration 2026-07-28 14:15:23 +08:00
execution-mode.spec.ts Merge branch 'codex/tool-json-schema-dsl' into codex/canonical-tool-output 2026-07-21 23:39:03 +08:00
execution-signal-types.spec.ts Merge branch 'codex/tool-json-schema-dsl' into codex/canonical-tool-output 2026-07-21 23:39:03 +08:00
gen-tool-catalog.spec.ts feat(subagent): continuable background subagents 2026-08-02 04:34:15 +08:00
invariant.spec.ts fix(session): preserve plugin turn invariants 2026-07-28 15:18:48 +08:00
json-schema.spec.ts fix(schema): align projected and enforced declarations 2026-07-23 01:05:41 +08:00
properties.spec.ts test(tools): cover adversarial JSON containers 2026-07-21 18:20:18 +08:00
schema.spec.ts fix(schema): align projected and enforced declarations 2026-07-23 01:05:41 +08:00
scoped.spec.ts Merge branch 'codex/tool-json-schema-dsl' into codex/canonical-tool-output 2026-07-22 17:05:38 +08:00
tools.spec.ts fix: complete immutable message migration 2026-07-28 14:15:23 +08:00
ts-types.spec.ts feat(tools): live dispatch lifecycle + native-contract parallel sub-calls in Code Mode 2026-07-26 06:02:36 +08:00