mirror of
https://github.com/chenhg5/cc-connect.git
synced 2026-07-03 12:28:10 +08:00
* feat: add reasonix agent adapter Adds a new agent adapter for Reasonix, a multi-model coding agent. The adapter communicates with a running 'reasonix serve' instance via its HTTP API: - Submits prompts via POST /submit - Consumes agent events via SSE /events - Handles tool approval via POST /approve - Supports mode switching (default/yolo/plan) - Accumulates incremental reasoning chunks into single events * fix: handle resp.Body.Close errors (errcheck lint) and fix close-before-status order * fix: add SSE auto-reconnect with backoff when reasonix serve restarts * fix: add unit tests, static assertions, error body, reconnect limit 10 unit tests with httptest. All pass -race. P2 fixes: static assertions, error body, max reconnect. * fix: lint: check error returns in session_test.go (errcheck) * fix: lint: check remaining fmt.Fprintf error in TestSSEReconnect * fix: add reasonix to ALL_AGENTS in Makefile, fix CHANGELOG, add doc comments P1: Added reasonix to ALL_AGENTS in Makefile so make build includes it by default. P2: Fixed CHANGELOG Unreleased entry, added formatImages doc comment, serve_url normalize comment, normalizeMode auto/force comment. * chore: retrigger CI