MCPcopy Create free account
hub / github.com/tiann/hapi / isContextCompactRetryableCodexError

Function isContextCompactRetryableCodexError

cli/src/codex/codexRemoteLauncher.ts:140–146  ·  view source on GitHub ↗
(error: string | null)

Source from the content-addressed store, hash-verified

138}
139
140function isContextCompactRetryableCodexError(error: string | null): boolean {
141 if (!error) {
142 return false;
143 }
144 const normalized = error.toLowerCase();
145 return CONTEXT_COMPACT_RETRYABLE_ERROR_PATTERNS.some((pattern) => normalized.includes(pattern));
146}
147
148function formatGoalStatus(status: unknown): string {
149 switch (status) {

Callers 1

handleCodexEventMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected