agent-orchestrator/packages/plugins/agent-codex/src
suraj-markup 433189a79b perf(agent-codex): cache findCodexSessionFile to avoid double scan
Add a 30-second TTL cache for session file lookups so that
getActivityState, getSessionInfo, and getRestoreCommand called in the
same refresh cycle reuse the result instead of re-scanning
~/.codex/sessions/ independently.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-25 16:25:24 +05:30
..
app-server-client.test.ts fix(agent-codex): reject pending requests before emitting error event 2026-02-25 12:08:00 +05:30
app-server-client.ts fix(agent-codex): catch approval emit throw, remove dead wasClosedBefore guard 2026-02-25 13:52:52 +05:30
index.test.ts perf(agent-codex): cache findCodexSessionFile to avoid double scan 2026-02-25 16:25:24 +05:30
index.ts perf(agent-codex): cache findCodexSessionFile to avoid double scan 2026-02-25 16:25:24 +05:30