9router/src/app/api/v1
Simon Shi a6fd84691b feat(qoder): port Kiro-style provider integration with COSY signing
Replaces the Qoder placeholder with a real free-tier provider:

- Device-flow OAuth: PKCE + nonce generated locally, user authorizes at
  qoder.com/device/selectAccounts, poll openapi.qoder.sh until token
- COSY signing (RSA-1024 + AES-128-CBC + MD5) for chat / model-list
- WAF-bypass body encoding (custom-alphabet base64 + thirds rearrange)
- Live model_config catalog from /algo/api/v2/model/list, cached 1h
- 11 models registered (auto/ultimate/performance/efficient/lite +
  6 frontier *model ids)
- Usage fetcher for openapi.qoder.sh/api/v2/quota/usage
- Dashboard live-models resolver, provider test, OAuth modal hookup
- 24 unit tests covering encoder, PKCE, COSY headers, sigPath stripping
2026-05-29 17:36:27 +07:00
..
api/chat Enhance chat handling and introduce Caveman feature 2026-04-30 18:00:38 +07:00
audio - Cowork: ComboFormModal 2026-05-07 15:45:09 +07:00
chat/completions chore: add buildOutput RTK filter, drop legacy cloud sync, internal cleanup 2026-05-16 10:54:41 +07:00
embeddings feat: add /v1/embeddings endpoint (OpenAI-compatible) (#146) 2026-02-18 13:24:02 +07:00
images/generations feat: add OpenCode Go provider and support for custom models 2026-04-22 14:16:21 +07:00
messages Enhance chat handling and introduce Caveman feature 2026-04-30 18:00:38 +07:00
models feat(qoder): port Kiro-style provider integration with COSY signing 2026-05-29 17:36:27 +07:00
responses Enhance chat handling and introduce Caveman feature 2026-04-30 18:00:38 +07:00
search Enhance token refresh functionality across multiple executors 2026-04-28 17:28:57 +07:00
web/fetch Enhance token refresh functionality across multiple executors 2026-04-28 17:28:57 +07:00
route.js Refactor global styles and enhance MITM functionality 2026-05-03 18:00:35 +07:00