thinkpool-pair 0.7.300 → 0.7.301
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/codex-session.mjs +1 -2
- package/package.json +1 -1
package/codex-session.mjs
CHANGED
|
@@ -577,14 +577,13 @@ export function startCodexSession({ cwd, model, effort: initialEffort = 'high',
|
|
|
577
577
|
appServerThreadReady = true
|
|
578
578
|
pushMappedEvent({ type: 'thread.started', thread_id: sessionId })
|
|
579
579
|
return true
|
|
580
|
-
} catch
|
|
580
|
+
} catch {
|
|
581
581
|
// Fallback is safe only here: no turn/start request has been accepted, so
|
|
582
582
|
// there is no possibility of running the same prompt twice.
|
|
583
583
|
appServerDisabled = true
|
|
584
584
|
try { appServer?.end() } catch { /* noop */ }
|
|
585
585
|
appServer = null
|
|
586
586
|
appServerThreadReady = false
|
|
587
|
-
note(`Codex App Server unavailable; using codex exec: ${error?.message || error}`)
|
|
588
587
|
return false
|
|
589
588
|
}
|
|
590
589
|
}
|