fix(subagent-session-spawning): resolved subagent parent id propagation

- Forwarded `parentAgentId` through task and eval launch paths when spawning subagents.
- Mapped `parentAgentId` to `parentId` in `createAgentSession`.
- Passed each caller's session `getAgentId` (or `MAIN_AGENT_ID`) as the parent for spawned agents.
This commit is contained in:
can1357
2026-06-16 23:03:11 +02:00
parent 3225e6b4be
commit 1fa4f2eee8
11 changed files with 89 additions and 7 deletions
+1 -1
View File
@@ -9,7 +9,7 @@
"enabled": true,
"includes": ["**"],
"rules": {
"recommended": true,
"preset": "recommended",
"a11y": "off",
"correctness": {
"noUnusedImports": "error",