openclaw/extensions/matrix
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
..
src refactor(agents): bind subagent threads in core (#88416) 2026-05-30 21:19:09 +01:00
.npmignore
api.ts
auth-presence.ts
CHANGELOG.md chore(release): bump version to 2026.5.30 2026-05-30 06:49:13 +01:00
channel-plugin-api.ts
cli-metadata.ts
contract-api.ts
doctor-contract-api.ts
helper-api.ts
index.test.ts refactor(agents): bind subagent threads in core (#88416) 2026-05-30 21:19:09 +01:00
index.ts
npm-shrinkwrap.json chore(release): bump version to 2026.5.30 2026-05-30 06:49:13 +01:00
openclaw.plugin.json fix: add ClawHub plugin display names (#87354) 2026-05-27 12:37:35 -05:00
package.json chore(release): bump version to 2026.5.30 2026-05-30 06:49:13 +01:00
plugin-entry.handlers.runtime.ts
runtime-api.ts
runtime-heavy-api.ts
runtime-setter-api.ts
secret-contract-api.ts
setup-entry.ts
setup-plugin-api.ts
SPEC-SUPPORT.md
subagent-hooks-api.ts refactor(agents): bind subagent threads in core (#88416) 2026-05-30 21:19:09 +01:00
test-api.ts
thread-binding-api.ts
thread-bindings-runtime.ts
tsconfig.json