Peter Steinberger
3fc0df953c
refactor(agents): bind subagent threads in core (#88416)
Move subagent thread binding ownership into core so session-mode spawns prepare channel bindings before launching the child agent. Deprecate the legacy subagent_spawning SDK hook in code, compatibility metadata, diagnostics, and plugin docs; plugin authors should observe subagent_spawned instead.
Verification:
- node scripts/run-vitest.mjs src/agents/sessions-spawn-hooks.test.ts src/agents/subagent-spawn.thread-binding.test.ts src/agents/subagent-spawn.workspace.test.ts src/agents/subagent-spawn.mode-session-diagnostics.test.ts
- node scripts/run-tsgo.mjs -p tsconfig.core.json --incremental --tsBuildInfoFile .artifacts/tsgo-cache/core.tsbuildinfo
- git diff --check
- .agents/skills/autoreview/scripts/autoreview --mode local
- CI run 26693808952 green, including checks-node-agentic-agents-core and checks-node-agentic-plugin-sdk
2026-05-30 21:19:09 +01:00
..
2026-05-30 20:04:52 +01:00
2026-05-27 15:24:17 +02:00
2026-05-18 12:24:27 +01:00
2026-05-27 19:24:04 +01:00
2026-05-26 14:51:11 +01:00
2026-05-27 14:48:06 -07:00
2026-05-27 19:24:04 +01:00
2026-05-28 19:21:50 +01:00
2026-05-30 20:41:04 +01:00
2026-05-30 08:59:02 +02:00
2026-05-30 20:41:04 +01:00
2026-05-27 19:24:04 +01:00
2026-05-14 14:27:50 -07:00
2026-05-27 15:24:17 +02:00
2026-05-29 20:14:38 +01:00
2026-05-28 21:16:07 +01:00
2026-05-29 04:46:45 +01:00
2026-05-30 21:19:09 +01:00
2026-05-28 21:16:07 +01:00
2026-05-16 17:11:53 +01:00
2026-05-30 11:48:41 +02:00
2026-05-30 11:48:41 +02:00
2026-05-13 13:33:38 +01:00
2026-05-21 22:02:16 +01:00
2026-05-16 07:52:08 -07:00
2026-05-30 20:04:52 +01:00
2026-05-24 23:20:14 -07:00
2026-05-30 20:04:52 +01:00
2026-05-29 06:10:42 +01:00
2026-05-27 11:37:23 +01:00
2026-05-27 13:59:33 +01:00
2026-05-27 09:26:06 +01:00
2026-05-29 15:32:31 -07:00
2026-05-27 11:37:23 +01:00
2026-05-28 20:37:09 +01:00
2026-05-30 21:19:09 +01:00
2026-05-27 19:24:04 +01:00
2026-05-30 11:48:41 +02:00
2026-05-27 20:33:40 +01:00
2026-05-28 21:16:07 +01:00
2026-05-30 10:08:54 +02:00
2026-05-26 23:10:41 -07:00
2026-05-17 11:45:18 +01:00
2026-05-29 04:46:45 +01:00
2026-05-30 19:22:19 +01:00