kimi-code/apps
liruifengv 86e653bbb9 refactor(oauth): make X-Msh-Platform an explicit host identity field
X-Msh-Platform was hardcoded to kimi_code_cli in createKimiDeviceHeaders,
so non-CLI hosts could not state their own platform and the desktop had
to patch the header after the fact. KimiHostIdentity now carries a
required platform (every host declares its own value; the CLI constant
stays the fallback only for direct createKimiDeviceHeaders callers), and
userAgentProduct is renamed to productName so the transport identity
uses one name everywhere.

All in-repo identity constructions pass platform explicitly; the wire
value for CLI and VS Code hosts is unchanged (kimi_code_cli).
2026-07-30 01:17:03 +08:00
..
kimi-code refactor(oauth): make X-Msh-Platform an explicit host identity field 2026-07-30 01:17:03 +08:00
kimi-inspect feat(kap-server): add global message search with literal and live-session modes (#2321) 2026-07-28 21:47:50 +08:00
kimi-web chore(web): upgrade markstream-vue to 1.0.7 (#2294) 2026-07-28 13:25:38 +08:00
vis feat(vscode): migrate extension to Node SDK (#1769) 2026-07-16 17:27:21 +08:00
vscode refactor(oauth): make X-Msh-Platform an explicit host identity field 2026-07-30 01:17:03 +08:00