mirror of
https://github.com/MoonshotAI/kimi-code.git
synced 2026-08-25 16:46:17 +00:00
- add persistent bearer-token auth (token store, credentials, password hashing) - gate HTTP and WebSocket (bearer subprotocol) upgrades behind auth - classify loopback vs non-loopback binds and validate hostnames/origin - add rate limiting and security headers middleware - add GUI store service and routes - add process file locking
40 lines
1.1 KiB
JSON
40 lines
1.1 KiB
JSON
{
|
||
"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"
|
||
}
|
||
},
|
||
"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": {
|
||
"@moonshot-ai/agent-core-v2": "workspace:^",
|
||
"@moonshot-ai/protocol": "workspace:^",
|
||
"@fastify/multipart": "^10.0.0",
|
||
"@fastify/swagger": "^9.7.0",
|
||
"bcryptjs": "2.4.3",
|
||
"fastify": "^5.1.0",
|
||
"node-pty": "^1.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"
|
||
}
|
||
}
|