kimi-code/packages/server-e2e/tsconfig.json
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

15 lines
632 B
JSON

{
"extends": "../../tsconfig.json",
"compilerOptions": {
"experimentalDecorators": true
},
"include": ["src", "test", "scenarios", "../agent-core/src/prompt-modules.d.ts"],
"exclude": [
// The v2 smoke test boots `server-v2` in-process, which pulls in server-v2's
// full source graph. server-v2 currently has a pre-existing type error in
// `src/transport/ws/eventMap.ts` (`ISessionInteractionService.onDidChange`
// was removed upstream in agent-core-v2). The smoke test still runs under
// vitest (esbuild transpiles without typechecking); only `tsc` skips it.
"test/v2/smoke.test.ts"
]
}