You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Native Windows (win32) Support & windows-latest CI (Fixes #5):
Kernel-backed single-instance locking on Windows via libuv UV_FS_O_EXLOCK (dwShareMode = 0) on a persistent .state.lock handle with an immediate fail-closed EBUSY self-probe (zero PID-reclamation races or PID-reuse lockouts).
Locale-independent SID-based icacls.exe ACL hardening (*S-1-5-18, *S-1-5-32-544, and current local S-1-5-* / Entra ID S-1-12-1-* user SID), bounded renameSync retry on transient Defender EPERM/EACCES/EBUSY, SIGBREAK handling, and pathToFileURL + Winsock env fixes in scripts/run-current-contract.mjs.
Qualified usable POST /v1/responses SSE response.completed events now always emit response.error: null while preserving incomplete: true, incomplete_details: { reason: "upstream_interrupted", code }, and res.incomplete = true (preventing resumption cache retention)—stopping reconnect loops on strict OpenAI Responses proxies (e.g., Codex Desktop via Cockpit Tools).
response.failed, response.incomplete, and non-streaming partial responses keep error intact.
Sticky Session & Image Blob Cache Preservation:
Verified post_tool and post_output idle stalls no longer poison session.lastFailure or thrash per-account image blobCache on subsequent turns; X-Gemini-Recovery-Errors is only emitted on actual retry attempts.
State-Machine Refactor & Strict JSON Recovery:
Closed, privacy-safe TOOL_JSON_REASONS syntax subcodes in parseBoundedJson() with targeted recovery directives appended at the prompt tail and 2 uncommitted tool_protocol retries across Gateway, Pi, and OpenCode.
Converged response-delivery.mjs onto monotonic 4-state wirePhase, replaced O(N^2) per-frame idle probing in native-provider.mjs with O(1) classifyIdleSnapshot() + pure selectIdleDeadline(), unified pool.mjs retry planning in pure planRetry(), fixed OpenCode post_tool stall handling, and added committed multi-call tail salvage in Pi/OpenCode.
Added synthetic 150K-token HTTP/2 adversarial long-context suite (test/gateway-long-context-adversarial.test.mjs).