mirror of
https://github.com/MoonshotAI/kimi-code.git
synced 2026-08-21 06:35:50 +00:00
- 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
13 lines
244 B
TypeScript
13 lines
244 B
TypeScript
import { defineConfig } from 'tsdown';
|
|
|
|
export default defineConfig({
|
|
entry: ['./src/index.ts'],
|
|
format: ['esm'],
|
|
dts: false,
|
|
outDir: 'dist',
|
|
clean: true,
|
|
deps: {
|
|
alwaysBundle: [/^@moonshot-ai\//],
|
|
neverBundle: [],
|
|
},
|
|
});
|