kimi-code/packages/server-v2/package.json
haozhe.yang 6c0527cb6a refactor(agent-core-v2,server-v2): merge terminal backend into HostTerminalService
- Remove ITerminalBackend abstraction and NotImplementedTerminalBackend
- Move node-pty spawn logic into IHostTerminalService implementation
- Drop server-v2 direct node-pty dependency (now via agent-core-v2)
- Update tests and server-v2 wiring to use IHostTerminalService directly
- Rewrite server-v2 terminal test model seed after model resolver refactor
2026-07-03 13:37:46 +08:00

43 lines
1.2 KiB
JSON
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

{
"name": "@moonshot-ai/server-v2",
"version": "0.0.0",
"private": true,
"description": "Kimi Code server backed by the DI × Scope agent engine (agent-core-v2)",
"type": "module",
"exports": {
".": {
"types": "./src/index.ts",
"default": "./src/index.ts"
},
"./contract": {
"types": "./src/contract.ts",
"default": "./src/contract.ts"
}
},
"scripts": {
"build": "tsdown",
"dev": "tsx --tsconfig ./tsconfig.dev.json --import ../../build/register-raw-text-loader.mjs --import ../../build/register-hash-imports-loader.mjs ./src/main.ts",
"typecheck": "tsc -p tsconfig.json --noEmit",
"test": "vitest run",
"clean": "rm -rf dist"
},
"dependencies": {
"@fastify/multipart": "^10.0.0",
"@fastify/swagger": "^9.7.0",
"@moonshot-ai/agent-core-v2": "workspace:^",
"@moonshot-ai/protocol": "workspace:^",
"bcryptjs": "2.4.3",
"fastify": "^5.1.0",
"pino": "^9.5.0",
"pino-pretty": "^13.0.0",
"smol-toml": "1.6.1",
"ulid": "^3.0.1",
"ws": "^8.20.0",
"zod": "catalog:"
},
"devDependencies": {
"@types/bcryptjs": "2.4.6",
"@types/ws": "^8.18.0",
"tsx": "^4.21.0"
}
}