Skip to content

Releases: zanderone1980/codebot-ai

v1.3.0 — Stability Hardening

27 Feb 15:37

Choose a tag to compare

What's New

9 stability fixes that eliminate silent crashes during continuous operation.

Error Recovery

  • Automatic retry — 429 rate limits, 5xx server errors, and network failures (ECONNRESET, ETIMEDOUT) now retry with exponential backoff + jitter, respecting Retry-After headers
  • Stream crash recovery — if the LLM connection drops mid-response, the agent loop retries on the next iteration instead of dying
  • Compaction fallback — if LLM-powered context summarization fails, silently falls back to simple message dropping

Process Resilience

  • Unhandled rejection/exception handlers — catches process-level errors, logs them in red, keeps the REPL alive (only exits on true OOM)
  • Scheduler timeout — routines capped at 5 minutes; hanging tasks no longer permanently block the scheduler
  • Web-fetch body timeout — AbortController now covers both connection AND response body reading

Testing

  • 16 new stability tests (99 total, all passing)
  • Tests cover: stream crash recovery, error event recovery, permission denial flow, retry logic, exponential backoff, Retry-After headers, invalid JSON handling

Distribution

  • Overhauled README with badges, feature list, and complete tool documentation
  • Expanded npm keywords for better discoverability
  • Updated tool count: 13 built-in tools (added web_search and routine)

Install / Update

npm install -g codebot-ai