kimi-code/packages/oauth/src
Haozhe 42bb9141d8
feat(tui): add /provider command, custom registry import, and tabbed model selector (#264)
* feat(tui): add /provider command, custom registry import, and tabbed model selector

- add "/provider" slash command for managing AI providers with CRUD UI
- add custom registry import via api.json URL and Bearer token
- introduce tabbed model selector grouped by provider
- add fetchCustomRegistry and applyCustomRegistryProvider in oauth package
- replace deprecated "/connect" command with unified "/provider" flow
- update provider and slash-command documentation

* feat(tui): background provider model refresh at startup

- add `refreshAllProviderModels` utility supporting managed OAuth, open platforms and custom registries
- wire background refresh into `KimiTUI` startup via `AuthFlowController`
- add `providerSwitchHint` option to `ModelSelector` and enable it in `TabbedModelSelector`
- update `TabbedModelSelector` hint wording from "switch" to "provider"
2026-06-01 18:46:40 +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 Kimi For Coding 2026-05-22 15:54:50 +08:00
custom-registry.ts feat(tui): add /provider command, custom registry import, and tabbed model selector (#264) 2026-06-01 18:46:40 +08:00
errors.ts Kimi For Coding 2026-05-22 15:54:50 +08:00
identity.ts fix: correct X-Msh-Platform header value to kimi_code_cli (#52) 2026-05-26 14:39:19 +08:00
index.ts feat(tui): add /provider command, custom registry import, and tabbed model selector (#264) 2026-06-01 18:46:40 +08:00
managed-feedback.ts fix: Surface API-provided error messages for OAuth and managed API failures (#11) 2026-05-25 14:10:32 +08:00
managed-kimi-code.ts fix: Surface API-provided error messages for OAuth and managed API failures (#11) 2026-05-25 14:10:32 +08:00
managed-usage.ts fix: Surface API-provided error messages for OAuth and managed API failures (#11) 2026-05-25 14:10:32 +08:00
oauth-manager.ts Kimi For Coding 2026-05-22 15:54:50 +08:00
oauth.ts fix: Surface API-provided error messages for OAuth and managed API failures (#11) 2026-05-25 14:10:32 +08:00
open-platform.ts fix: clarify Kimi Platform login copy (#274) 2026-06-01 18:43:01 +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 Kimi For Coding 2026-05-22 15:54:50 +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