Repository navigation
v2.9.2 — Race Condition, Streaming Timeout, Error Handling
Fixed
- Session creation race condition — concurrent
startSession()calls now properly deduplicate - Streaming proxy timeout — streaming handler uses
fetchWithRetryinstead of barefetch - 7 swallowed errors — empty
catch {}blocks in PersistentClaudeSession now log viaSESSION_EVENT.LOG; process kill catches distinguish ESRCH from EPERM - Hook errors logged —
_fireHookno longer silently swallows callback errors - Unsafe type casts removed —
as unknown asdouble casts replaced with proper validation + typed fields max_tokensvalidation — OpenAI-compat endpoint rejects non-positive values with 400
This completes all findings from the v2.9.0 code quality audit. No remaining known issues.