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
27897acd26
commit
6b64376033
30 files changed
+1794
-335
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