kimi-code/packages/klient/examples
haozhe.yang 2c5a4a3799 feat(api-v2): add klient SDK and reflection-based channel registry
- replace per-method actionMap (resource:action) with a channel registry: each Service registers once by decorator id and all methods are invoked by reflection
- routes move from /api/v2/:sa to /api/v2/:service/:method across HTTP routes and the WS protocol
- add @moonshot-ai/klient: typed core/session/agent client over the HTTP channel that reuses agent-core-v2 service interfaces
- register klient in flake.nix and pnpm-lock; refresh kap-server tests, e2e, and the apiSurface snapshot
2026-07-11 12:33:48 +08:00
..
basic.ts feat(api-v2): add klient SDK and reflection-based channel registry 2026-07-11 12:33:48 +08:00
init.ts feat(api-v2): add klient SDK and reflection-based channel registry 2026-07-11 12:33:48 +08:00
inspect-init.ts feat(api-v2): add klient SDK and reflection-based channel registry 2026-07-11 12:33:48 +08:00