go-ai/mcp/ide
Snider 8c0ef43dae feat(ide): Phase 4 — bridge auth, reconnect hardening, tool tests
4.1 Bridge reconnection: Fixed data race on callCount (atomic.Int32),
added exponential backoff verification test (HTTP 403 rejection path),
added server shutdown detection test.

4.2 Bridge auth: Added Token field to Config, WithToken option,
Authorization Bearer header in dial() when token is non-empty.
Tests verify header presence and absence.

4.3 Tool handler tests: 49 tests covering all 11 IDE tool handlers
(5 chat/session, 3 build, 3 dashboard) with nil bridge (error path)
and connected mock bridge (success path). JSON round-trip tests for
all input/output types. Added stub documentation comments to all
tool handler functions.

Co-Authored-By: Virgil <virgil@lethean.io>
2026-02-20 07:02:50 +00:00
..
bridge.go feat(ide): Phase 4 — bridge auth, reconnect hardening, tool tests 2026-02-20 07:02:50 +00:00
bridge_test.go feat(ide): Phase 4 — bridge auth, reconnect hardening, tool tests 2026-02-20 07:02:50 +00:00
config.go feat(ide): Phase 4 — bridge auth, reconnect hardening, tool tests 2026-02-20 07:02:50 +00:00
ide.go chore: update module paths and add gitignore 2026-02-17 19:19:38 +00:00
tools_build.go feat(ide): Phase 4 — bridge auth, reconnect hardening, tool tests 2026-02-20 07:02:50 +00:00
tools_chat.go feat(ide): Phase 4 — bridge auth, reconnect hardening, tool tests 2026-02-20 07:02:50 +00:00
tools_dashboard.go feat(ide): Phase 4 — bridge auth, reconnect hardening, tool tests 2026-02-20 07:02:50 +00:00
tools_test.go feat(ide): Phase 4 — bridge auth, reconnect hardening, tool tests 2026-02-20 07:02:50 +00:00