Releases: MatterAIOrg/orbcode
Releases · MatterAIOrg/orbcode
OrbCode v0.2.0
Added
- Role persistence — setup now asks for the user's tech role (Frontend, Backend, Full-stack, DevOps/SRE) and stores it in
~/.claude/orbcode/role.json. The role is forwarded to the MatterAI backend on every inference request via thex-orb-roleheader. - Workspace environment snapshot — new
scripts/orb-env.jscollector mirrors MatterCode's<environment_details>format. The proxy attaches a full workspace snapshot (git state, file tree, OS info, time) on every inference request, letting the backend inject context once per session. - Session-level deduplication — per-session
firstRequestflag is sent with each inference payload so the backend can skip redundant session-store lookups on subsequent turns. - API_TIMEOUT_MS configuration —
orb-setupnow writesAPI_TIMEOUT_MS=300000(5 min) into~/.claude/settings.jsonalongsideANTHROPIC_BASE_URL.
Changed
- Proxy request timeout increased from 30 s to 10 min to support extended thinking and long inference through the proxy chain.
- Node.js server timeouts bumped to 10 min (
requestTimeout) and 60 s (headersTimeout) so the proxy itself doesn't drop long-running Claude Code sessions.
Fixed
- Double-response crashes — proxy now guards against
ERR_HTTP_HEADERS_SENTwhen an Anthropic request errors mid-stream by trackingresponseStarted. - Proxy resilience — added
clientErrorhandler for malformed/early-closed TCP connections and anuncaughtExceptionsafety net that logs and keeps the proxy alive instead of crashing mid-session.