@pikiloom/kernel 0.3.16 → 0.3.17
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/dist/drivers/codex.js +8 -2
- package/package.json +1 -1
package/dist/drivers/codex.js
CHANGED
|
@@ -251,8 +251,14 @@ export function codexFinalReasoning(s) {
|
|
|
251
251
|
// nothing is visibly in flight (no running tool call, no server->client request awaiting
|
|
252
252
|
// a human) is declared stalled and force-closed, so the session ends as a visible error
|
|
253
253
|
// instead of spinning forever.
|
|
254
|
-
|
|
255
|
-
|
|
254
|
+
// Thresholds are calibrated against measured rollouts: with reasoning summaries off, a
|
|
255
|
+
// HEALTHY turn shows fully silent thinking stretches of up to ~320s (clustered just above
|
|
256
|
+
// codex core's own 300s stream watchdog, whose retry produces the next event). 600s has
|
|
257
|
+
// never been reached intra-turn in days of observed sessions, so a heal at that point is
|
|
258
|
+
// near-certainly a real wedge — and even a misfire only costs one duplicated user message
|
|
259
|
+
// plus the in-flight thinking (completed items live in the thread history).
|
|
260
|
+
const CODEX_STEER_STALL_MS = 600_000;
|
|
261
|
+
const CODEX_TURN_STALL_MS = 900_000;
|
|
256
262
|
// Notifications that prove the agent loop is making forward progress AFTER a steer.
|
|
257
263
|
// item/completed and tokenUsage are deliberately excluded — they can be the trailing edge
|
|
258
264
|
// of work that finished before the steer landed (the exact race signature). Progress that
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pikiloom/kernel",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.17",
|
|
4
4
|
"description": "Heterogeneous coding agents (Claude / Codex / Gemini / ACP) -> an interaction-friendly, accumulating session snapshot + control handle, over pluggable surfaces (IM, Web, tunnel, TUI). The reusable core pikiloom itself is built on.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|