mirror of
https://github.com/MoonshotAI/kimi-code.git
synced 2026-07-22 23:54:24 +00:00
* 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 |
||
|---|---|---|
| .. | ||
| api-error.ts | ||
| constants.ts | ||
| custom-registry.ts | ||
| errors.ts | ||
| identity.ts | ||
| index.ts | ||
| managed-feedback-upload.ts | ||
| managed-feedback.ts | ||
| managed-kimi-code.ts | ||
| managed-usage.ts | ||
| model-alias-merge.ts | ||
| oauth-manager.ts | ||
| oauth.ts | ||
| open-platform.ts | ||
| refreshProviderModels.ts | ||
| storage.ts | ||
| token-state.ts | ||
| toolkit.ts | ||
| types.ts | ||
| utils.ts | ||