kimi-code/packages/server-e2e/package.json
haozhe.yang 4ee4911162 feat: validate workspace roots and auto-launch task notification turns
- task: idle terminal notifications now use activeOrNewTurn admission,
  launching their own turn instead of waiting for the next user prompt
  (matches v1 turn.steer)
- workspaceRegistry: createOrTouch rejects missing or non-directory roots
  with fs.path_not_found, so a phantom cwd never reaches session creation
- kap-server: map FS_PATH_NOT_FOUND to protocol error 40409 on the session
  and RPC surfaces
- server-e2e: migrate the v2 smoke test from the local ServerClient to the
  typed Klient
- misc: switch loop/prompt clear() iteration to .slice(), align terminal
  event handler names, and tidy klient examples
2026-07-12 11:19:04 +08:00

49 lines
1.3 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:^",
"@moonshot-ai/klient": "workspace:^",
"@types/ws": "^8.18.0"
}
}