mirror of
https://github.com/stablyai/orca.git
synced 2026-09-22 08:02:28 +00:00
perf(agent-status): avoid reads for Codex child activity
This commit is contained in:
@@ -165,7 +165,7 @@ export function normalizeCodexEvent(
|
||||
state.codexSubagentRosterByPaneKey.delete(paneKey)
|
||||
state.codexSubagentTranscriptByPaneKey.delete(paneKey)
|
||||
}
|
||||
if (agentId && transcriptPath) {
|
||||
if (agentId && transcriptPath && eventName === 'PermissionRequest') {
|
||||
const transcriptState = getOrCreateCodexSubagentTranscriptState(state, paneKey)
|
||||
if (transcriptState.parent.filePath === transcriptPath) {
|
||||
reconcileCodexSubagentTranscript(
|
||||
|
||||
Reference in New Issue
Block a user