kimi-code/packages/remote-control
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
..
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
package.json feat(kap-server): add remote-control runtime toggle API (#3594) 2026-09-07 13:46:22 +08:00
tsconfig.json feat(kap-server): add remote-control runtime toggle API (#3594) 2026-09-07 13:46:22 +08:00
tsdown.config.ts feat(kap-server): add remote-control runtime toggle API (#3594) 2026-09-07 13:46:22 +08:00
vitest.config.ts feat(kap-server): add remote-control runtime toggle API (#3594) 2026-09-07 13:46:22 +08:00