kimi-code/packages/server/package.json
haozhe.yang 9770f22c93 feat(server)!: rename daemon to server with service management
- rename workspace package `@moonshot-ai/daemon` to `@moonshot-ai/server`\n- rename `@moonshot-ai/daemon-e2e` to `@moonshot-ai/server-e2e`\n- replace `kimi daemon` and `kimi web` with `kimi server run`\n- keep `kimi web` as alias for `kimi server run --open`\n- add `kimi server install/uninstall/start/stop/restart/status`\n  for launchd (darwin), systemd (linux), and schtasks (win32)\n- update dev scripts, kimi-web stub, documentation, and service naming checks\n\nBREAKING CHANGE: the `kimi daemon` command and `@moonshot-ai/daemon`\npackage are removed; use `kimi server` and `@moonshot-ai/server`.
2026-06-11 16:44:41 +08:00

56 lines
1.6 KiB
JSON

{
"name": "@moonshot-ai/server",
"version": "0.1.0",
"private": true,
"description": "Local REST + WebSocket server exposing kimi-code SDK over a stable wire protocol.",
"license": "MIT",
"author": "Moonshot AI",
"repository": {
"type": "git",
"url": "git+https://github.com/MoonshotAI/kimi-code.git",
"directory": "packages/server"
},
"bugs": {
"url": "https://github.com/MoonshotAI/kimi-code/issues"
},
"type": "module",
"imports": {
"#/services/approval": "./src/services/approval/index.ts",
"#/services/approval/*": "./src/services/approval/*.ts",
"#/services/gateway": "./src/services/gateway/index.ts",
"#/services/gateway/*": "./src/services/gateway/*.ts",
"#/services/question": "./src/services/question/index.ts",
"#/services/question/*": "./src/services/question/*.ts",
"#/*": "./src/*.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": {
"@fastify/multipart": "^10.0.0",
"@fastify/swagger": "^9.7.0",
"@fastify/swagger-ui": "^5.2.6",
"@moonshot-ai/agent-core": "workspace:^",
"@moonshot-ai/protocol": "workspace:^",
"@moonshot-ai/services": "workspace:^",
"fastify": "^5.1.0",
"pino": "^9.5.0",
"pino-pretty": "^13.0.0",
"ulid": "^3.0.1",
"ws": "^8.18.0",
"zod": "catalog:",
"zod-to-json-schema": "^3.25.2"
},
"devDependencies": {
"@types/ws": "^8.18.0"
}
}