mirror of
https://github.com/MoonshotAI/kimi-code.git
synced 2026-07-31 12:05:17 +00:00
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
55 lines
1.9 KiB
JSON
55 lines
1.9 KiB
JSON
{
|
|
"name": "@moonshot-ai/klient",
|
|
"version": "0.1.1",
|
|
"private": true,
|
|
"description": "Kimi client SDK — contract-driven facade over agent-core-v2, routable over ipc or in-memory transports.",
|
|
"license": "MIT",
|
|
"type": "module",
|
|
"imports": {
|
|
"#/*": "./src/*.ts"
|
|
},
|
|
"exports": {
|
|
".": {
|
|
"types": "./src/index.ts",
|
|
"default": "./src/index.ts"
|
|
},
|
|
"./ipc": {
|
|
"types": "./src/transports/ipc/index.ts",
|
|
"default": "./src/transports/ipc/index.ts"
|
|
},
|
|
"./memory": {
|
|
"types": "./src/transports/memory/index.ts",
|
|
"default": "./src/transports/memory/index.ts"
|
|
},
|
|
"./package.json": {
|
|
"types": "./package.json",
|
|
"default": "./package.json"
|
|
},
|
|
"./*": {
|
|
"types": "./src/*.ts",
|
|
"default": "./src/*.ts"
|
|
}
|
|
},
|
|
"scripts": {
|
|
"build": "tsdown",
|
|
"typecheck": "tsc -p tsconfig.json --noEmit && pnpm typecheck:examples",
|
|
"typecheck:examples": "tsc -p tsconfig.examples.json --noEmit",
|
|
"test": "vitest run",
|
|
"smoke": "tsx --tsconfig ./tsconfig.examples.json --import ../../build/register-raw-text-loader.mjs examples/smoke.ts",
|
|
"smoke:boundary": "tsx --tsconfig ./tsconfig.examples.json --import ../../build/register-raw-text-loader.mjs examples/model-requester-boundary.ts",
|
|
"smoke:select-tools": "tsx --tsconfig ./tsconfig.examples.json --import ../../build/register-raw-text-loader.mjs examples/kimi-select-tools.ts",
|
|
"stress:kosong-config": "tsx --tsconfig ./tsconfig.examples.json --import ../../build/register-raw-text-loader.mjs examples/kosong-config-stress.ts",
|
|
"clean": "rm -rf dist",
|
|
"docker:e2e": "bash scripts/run-docker-e2e.sh"
|
|
},
|
|
"dependencies": {
|
|
"@moonshot-ai/agent-core-v2": "workspace:^",
|
|
"zod": "catalog:"
|
|
},
|
|
"devDependencies": {
|
|
"@moonshot-ai/protocol": "workspace:^",
|
|
"@types/ws": "^8.18.0",
|
|
"ulid": "^3.0.1",
|
|
"ws": "^8.18.0"
|
|
}
|
|
}
|