Files
Kilo-Org_kilocode/packages/opencode/test
Marius c584eec1db fix(cli): remap child session references on fork to prevent subagent state leaks (#8956)
* fix(cli): remap child session references on fork to prevent subagent state leaks

When forking a session, task tool parts referencing child sessions were
copied verbatim, causing both original and forked sessions to share the
same subagent references. This led to SSE events and permission prompts
leaking across sessions in the Agent Manager.

* fix: remove redundant recursive remapChildren call

Session.fork() already calls remapChildren via the hook, so the explicit
recursive call inside remapChildren was double-forking nested descendants.
2026-04-15 11:12:35 -03:00
..
2026-04-11 14:06:52 +02:00
2026-04-14 14:46:57 -03:00
2026-04-11 13:25:06 -03:00
2026-04-12 01:00:50 +02:00
2026-04-14 14:46:57 -03:00
2026-04-14 14:46:57 -03:00
2026-04-12 17:10:08 +02:00
2026-04-14 14:46:57 -03:00
2026-04-14 14:46:57 -03:00
2026-04-14 14:46:57 -03:00
2026-04-12 13:36:08 +02:00
2026-04-14 14:46:57 -03:00
2026-04-11 12:27:42 -03:00
2026-04-11 14:06:52 +02:00
2026-04-12 13:36:08 +02:00
2026-04-14 17:05:48 -03:00
2026-04-14 14:20:58 -03:00
2026-04-14 14:46:57 -03:00
2026-04-14 15:58:28 +02:00
2026-04-14 17:05:48 -03:00
2026-04-11 14:06:52 +02:00
2026-04-14 19:20:25 -03:00
2026-04-11 14:06:52 +02:00
2026-04-14 14:46:57 -03:00
2026-04-12 01:00:50 +02:00
2026-04-14 17:05:48 -03:00
2026-04-14 14:46:57 -03:00
2026-04-14 14:46:57 -03:00
2026-04-11 14:06:52 +02:00
2026-04-14 14:46:57 -03:00