Share Codex sessions across orchestration threads
- Track explicit thread-to-session bindings and detach without stopping siblings - Apply runtime settings per Codex thread and filter multiplexed events by turn - Add migration, projection, lifecycle, and concurrency coverage
This commit is contained in:
1 parent
12173fe8e9
commit
27da49519f
30 files changed
+1798
-358
No files matched your search
@@ -560,11 +560,19 @@ function applyStreamEventToProjection(
|
||||
...base,
|
||||
subagents: upsertProjectionEntity(base.subagents, event.payload),
|
||||
};
|
||||
case "provider-session.attached":
|
||||
case "provider-session.updated":
|
||||
return {
|
||||
...base,
|
||||
providerSessions: upsertProjectionEntity(base.providerSessions, event.payload),
|
||||
};
|
||||
case "provider-session.detached":
|
||||
return {
|
||||
...base,
|
||||
providerSessions: base.providerSessions.filter(
|
||||
(session) => session.id !== event.payload.providerSessionId,
|
||||
),
|
||||
};
|
||||
case "provider-thread.updated":
|
||||
return {
|
||||
...base,
|
||||
|
||||
Reference in new issue
Block a user