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> |
||
|---|---|---|
| .. | ||
| bridge.go | ||
| bridge_test.go | ||
| config.go | ||
| ide.go | ||
| tools_build.go | ||
| tools_chat.go | ||
| tools_dashboard.go | ||
| tools_test.go | ||