mirror of
https://github.com/MoonshotAI/kimi-code.git
synced 2026-08-25 08:34:39 +00:00
- add ServerClient under src/v2: typed /api/v2 resource tree over HTTP plus events over WebSocket, with core/session/agent scopes and a v1 escape hatch for the legacy REST surface - add resource modules (core/session/agent/events), a manifest mirroring the server-v2 actionMap, shared types, and transport (HttpRpc, rpcProxy, V2Socket) - expose @moonshot-ai/server-v2/contract (actionMap + channel helpers) so the SDK drift test stays in lockstep with the server surface - add an in-process smoke test and the vitest raw-text/hash-imports plugins needed to import server-v2 source from the e2e tests - add optional bearer token support to the legacy HttpClient and document the two-client package layout |
||
|---|---|---|
| .. | ||
| src | ||
| test | ||
| package.json | ||
| tsconfig.dev.json | ||
| tsconfig.json | ||
| tsdown.config.ts | ||
| vitest.config.ts | ||