kimi-code/packages/server-e2e/package.json
haozhe.yang 304883ab81 refactor(kap-server): rename server-v2 package to kap-server
- rename packages/server-v2 to packages/kap-server and update every
  @moonshot-ai/server-v2 reference across apps, packages, flake.nix,
  and build scripts
- remove the experimental `kimi v2` CLI prefix and its tests from the
  apps/kimi-code main entry
- add legacy BackgroundTask protocol types and the `blocked` turn
  interrupt reason for cross-engine compatibility
2026-07-07 16:56:19 +08:00

48 lines
1.2 KiB
JSON

{
"name": "@moonshot-ai/server-e2e",
"version": "0.1.0",
"private": true,
"description": "Wire-level E2E test client for the kimi-code server (HTTP + WS). Powers scenario scripts and self-tests against a real server process.",
"license": "MIT",
"author": "Moonshot AI",
"repository": {
"type": "git",
"url": "git+https://github.com/MoonshotAI/kimi-code.git",
"directory": "packages/server-e2e"
},
"bugs": {
"url": "https://github.com/MoonshotAI/kimi-code/issues"
},
"type": "module",
"imports": {
"#/*": [
"./src/*.ts",
"./src/*/index.ts"
]
},
"exports": {
".": {
"types": "./src/index.ts",
"default": "./src/index.ts"
}
},
"scripts": {
"build": "tsdown",
"typecheck": "tsc -p tsconfig.json --noEmit",
"test": "vitest run",
"test:scenarios": "tsx scripts/run-scenarios.ts",
"docker:e2e": "bash scripts/run-docker-e2e.sh",
"clean": "rm -rf dist"
},
"dependencies": {
"@moonshot-ai/protocol": "workspace:^",
"ulid": "^3.0.1",
"ws": "^8.18.0",
"zod": "catalog:"
},
"devDependencies": {
"@moonshot-ai/agent-core-v2": "workspace:^",
"@moonshot-ai/kap-server": "workspace:^",
"@types/ws": "^8.18.0"
}
}