Commit Graph
4 Commits
Author SHA1 Message Date
kate522 bae24cc439 Always rebuild the gateway in make build; migrate legacy providers by activation 2026-10-18 19:40:01 +08:00
kate522 d759fe5e5d Isolate providers per client: add provider targets and a Codex-side form 2026-10-18 19:22:38 +08:00
kate522 5112f7ca06 CrossRelay stage 2: Codex /v1/responses relay, config.toml manager, Codex page 2026-10-18 18:35:01 +08:00
kate522 f8acf31ebc CrossRelay stage 0+1: Go gateway with Anthropic<->Chat Completions relay, Tauri shell, bilingual management UI
- Go gateway (stdlib only): /v1/messages non-stream + SSE, /v1/messages/count_tokens,
  management API /api/* (providers CRUD, apply/restore, settings, backups, logs)
- Protocol conversion: Anthropic Messages <-> Chat Completions with a streaming
  state machine keyed by content block index (text, tool_use, parallel calls)
- ~/.claude/settings.json guarded read/write: timestamped backups, managed env
  keys only, one-click restore
- Tauri 2 shell: spawns the gateway sidecar, parses the random port from stdout,
  stdin pipe watchdog prevents orphans, kills the child on exit
- React frontend: Dashboard/Providers/Settings, zh-CN + en-US, TanStack Query
- Tests: Go table-driven + httptest integration (all green), vitest + RTL
2026-10-18 17:19:13 +08:00