kimi-code/packages/oauth/src
7Sageer d601847f22
fix: send the product User-Agent on provider registry and catalog fetches (#1597)
* fix: send the product User-Agent on provider registry and catalog fetches

Registry (api.json) and models.dev catalog fetches only carried the
runtime default User-Agent while every other outbound request sends
kimi-code-cli/<version>. Thread an optional userAgent through
fetchCustomRegistry / fetchCatalog and the shared refresh host, pass
the product UA from the CLI, TUI, and both daemons, and seed a default
product UA in kap-server that hosts can override via opts.seeds.

* refactor: use options for registry fetches
2026-07-13 17:45:34 +08:00
..
api-error.ts fix: Surface API-provided error messages for OAuth and managed API failures (#11) 2026-05-25 14:10:32 +08:00
constants.ts fix: scope managed OAuth credentials (#399) 2026-06-04 13:14:18 +08:00
custom-registry.ts fix: send the product User-Agent on provider registry and catalog fetches (#1597) 2026-07-13 17:45:34 +08:00
errors.ts fix: classify OAuth token refresh errors by cause (#838) 2026-06-17 18:34:42 +08:00
identity.ts feat(managed-kimi-code): route anthropic protocol via beta api (#1186) 2026-06-29 14:24:01 +08:00
index.ts fix: send the product User-Agent on provider registry and catalog fetches (#1597) 2026-07-13 17:45:34 +08:00
managed-feedback-upload.ts feat(feedback): support attaching logs and codebase (#1120) 2026-06-26 16:15:08 +08:00
managed-feedback.ts feat(feedback): support attaching logs and codebase (#1120) 2026-06-26 16:15:08 +08:00
managed-kimi-code.ts feat: add model alias overrides (#1262) 2026-07-01 19:57:13 +08:00
managed-usage.ts feat: display Extra Usage fuel pack balance in /usage and /status (#1501) 2026-07-09 17:44:59 +08:00
model-alias-merge.ts feat(oauth): parse support_efforts/default_effort in custom registry import (#1564) 2026-07-12 13:27:50 +08:00
oauth-manager.ts fix: classify OAuth token refresh errors by cause (#838) 2026-06-17 18:34:42 +08:00
oauth.ts fix: classify OAuth token refresh errors by cause (#838) 2026-06-17 18:34:42 +08:00
open-platform.ts feat: add model alias overrides (#1262) 2026-07-01 19:57:13 +08:00
refreshProviderModels.ts fix: send the product User-Agent on provider registry and catalog fetches (#1597) 2026-07-13 17:45:34 +08:00
storage.ts Kimi For Coding 2026-05-22 15:54:50 +08:00
token-state.ts Kimi For Coding 2026-05-22 15:54:50 +08:00
toolkit.ts feat: display Extra Usage fuel pack balance in /usage and /status (#1501) 2026-07-09 17:44:59 +08:00
types.ts Kimi For Coding 2026-05-22 15:54:50 +08:00
utils.ts Kimi For Coding 2026-05-22 15:54:50 +08:00