wraith/internal/ai
Vantz Stockwell fbd2fd4f80
All checks were successful
Build & Sign Wraith / Build Windows + Sign (push) Successful in 1m2s
feat: wire real Claude API — OAuth login + live chat via Wails bindings
Replace mock responses in the XO copilot panel with real Wails binding
calls to the Go AIService backend:

- StartLogin now opens the browser via pkg/browser.OpenURL
- SendMessage returns ChatResponse (text + tool call results) instead of
  bare error, fixing the tool-call accumulation bug in messageLoop
- Add GetModel/SetModel methods for frontend model switching
- Frontend useCopilot composable calls Go via Call.ByName from
  @wailsio/runtime, with conversation auto-creation, auth checks, and
  error display in the chat panel
- Store defaults to isAuthenticated=false; panel checks auth on mount
- CopilotSettings syncs model changes and logout to the backend

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-17 10:22:07 -04:00
..
client_test.go feat: AI copilot backend — OAuth PKCE, Claude API streaming, 16 tools, conversations 2026-03-17 09:09:23 -04:00
client.go feat: AI copilot backend — OAuth PKCE, Claude API streaming, 16 tools, conversations 2026-03-17 09:09:23 -04:00
conversation_test.go feat: AI copilot backend — OAuth PKCE, Claude API streaming, 16 tools, conversations 2026-03-17 09:09:23 -04:00
conversation.go feat: AI copilot backend — OAuth PKCE, Claude API streaming, 16 tools, conversations 2026-03-17 09:09:23 -04:00
oauth_test.go feat: AI copilot backend — OAuth PKCE, Claude API streaming, 16 tools, conversations 2026-03-17 09:09:23 -04:00
oauth.go feat: AI copilot backend — OAuth PKCE, Claude API streaming, 16 tools, conversations 2026-03-17 09:09:23 -04:00
router_test.go feat: AI copilot backend — OAuth PKCE, Claude API streaming, 16 tools, conversations 2026-03-17 09:09:23 -04:00
router.go feat: AI copilot backend — OAuth PKCE, Claude API streaming, 16 tools, conversations 2026-03-17 09:09:23 -04:00
screenshot_test.go feat: AI copilot backend — OAuth PKCE, Claude API streaming, 16 tools, conversations 2026-03-17 09:09:23 -04:00
screenshot.go feat: AI copilot backend — OAuth PKCE, Claude API streaming, 16 tools, conversations 2026-03-17 09:09:23 -04:00
service.go feat: wire real Claude API — OAuth login + live chat via Wails bindings 2026-03-17 10:22:07 -04:00
terminal_buffer_test.go feat: AI copilot backend — OAuth PKCE, Claude API streaming, 16 tools, conversations 2026-03-17 09:09:23 -04:00
terminal_buffer.go feat: AI copilot backend — OAuth PKCE, Claude API streaming, 16 tools, conversations 2026-03-17 09:09:23 -04:00
tools.go feat: AI copilot backend — OAuth PKCE, Claude API streaming, 16 tools, conversations 2026-03-17 09:09:23 -04:00
types.go feat: AI copilot backend — OAuth PKCE, Claude API streaming, 16 tools, conversations 2026-03-17 09:09:23 -04:00