kimi-code/packages/server-v2
haozhe.yang 61ef35b302 feat(server-e2e): add typed v2 ServerClient SDK with drift test
- 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
2026-07-02 01:06:16 +08:00
..
src feat(server-e2e): add typed v2 ServerClient SDK with drift test 2026-07-02 01:06:16 +08:00
test feat: implement goal core workflow 2026-07-01 21:29:51 +08:00
package.json feat(server-e2e): add typed v2 ServerClient SDK with drift test 2026-07-02 01:06:16 +08:00
tsconfig.dev.json feat(server-v2): add minimal server wired to agent-core-v2 DI 2026-06-28 17:26:39 +08:00
tsconfig.json feat(server-v2): add minimal server wired to agent-core-v2 DI 2026-06-28 17:26:39 +08:00
tsdown.config.ts feat(server-v2): add minimal server wired to agent-core-v2 DI 2026-06-28 17:26:39 +08:00
vitest.config.ts feat(server-v2): add minimal server wired to agent-core-v2 DI 2026-06-28 17:26:39 +08:00