kimi-code/packages/oauth
Haozhe b3212fd9ab
fix(remote-control): pick credential slot and relay from login region (#3969)
* fix(remote-control): pick credential slot and relay from login region

Global login stores tokens in kimi-code-env-*.json and should use
code-rc.kimi.ai; Remote Control always read kimi-code.json and
code-rc.kimi.com. Resolve both from the persisted oauth ref.

* fix(telemetry): skip the dead global collector and keep shutdown alive

The global collector host has no DNS. Drop it from the region profile and
skip the send instead of falling back to the mainland endpoint. Keep the
shutdown timeout timer referenced so a failed flush cannot exit before the
TUI hands the process to the foreground server.

* fix(remote-control): require explicit relay origin and drop hardcoded .com defaults
2026-09-23 18:10:47 +08:00
..
examples feat(oauth): switch the managed usage payload to the quota model (#3787) 2026-09-15 13:33:20 +08:00
src fix(remote-control): pick credential slot and relay from login region (#3969) 2026-09-23 18:10:47 +08:00
test fix(remote-control): pick credential slot and relay from login region (#3969) 2026-09-23 18:10:47 +08:00
CHANGELOG.md ci: release packages (#2881) 2026-08-14 20:51:17 +08:00
package.json feat(agent-core-v2): support api_key_env for provider credentials (#3762) 2026-09-17 22:02:53 +08:00
README.md Kimi For Coding 2026-05-22 15:54:50 +08:00
tsconfig.json Kimi For Coding 2026-05-22 15:54:50 +08:00
tsdown.config.ts feat(agent-core-v2): support api_key_env for provider credentials (#3762) 2026-09-17 22:02:53 +08:00
vitest.config.ts Kimi For Coding 2026-05-22 15:54:50 +08:00

@moonshot-ai/kimi-code-oauth

OAuth toolkit for Kimi Code managed authentication.

Part of the Kimi Code monorepo.

See the main repository for documentation, issues, and contribution guidelines.

License

MIT