kimi-code/packages/services/package.json
haozhe.yang 657430f721 feat(server): add server-managed PTY terminal APIs and WebSocket controls
- add terminal protocol schemas (REST and WebSocket controls)\n- add TerminalService with node-pty backend and frame buffering\n- add REST routes for terminal CRUD operations\n- add WebSocket terminal attach, input, resize, and close handlers\n- add e2e and unit tests for terminal lifecycle and I/O
2026-06-11 20:07:44 +08:00

44 lines
1.1 KiB
JSON

{
"name": "@moonshot-ai/services",
"version": "0.1.0",
"private": true,
"description": "In-process service container for the kimi-code daemon: typed DI services + CoreProcessService in-process RPC adapter.",
"license": "MIT",
"author": "Moonshot AI",
"repository": {
"type": "git",
"url": "git+https://github.com/MoonshotAI/kimi-code.git",
"directory": "packages/services"
},
"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",
"clean": "rm -rf dist"
},
"dependencies": {
"@moonshot-ai/agent-core": "workspace:^",
"@moonshot-ai/kimi-code-oauth": "workspace:^",
"@moonshot-ai/protocol": "workspace:^",
"chokidar": "^4.0.3",
"ignore": "^5.3.2",
"node-pty": "^1.1.0",
"ulid": "^3.0.1"
}
}