File size: 1,646 Bytes
d522ffa
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
{
  "name": "@moonshot-ai/kap-server",
  "version": "0.2.3",
  "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"
    },
    "./protocol": {
      "types": "./src/protocol/messages/index.ts",
      "default": "./src/protocol/messages/index.ts"
    },
    "./search-worker-runtime": {
      "types": "./src/search/worker/runtime.ts",
      "default": "./src/search/worker/runtime.ts"
    },
    "./protocol/*": {
      "types": "./src/protocol/*.ts",
      "default": "./src/protocol/*.ts"
    }
  },
  "scripts": {
    "build": "tsdown",
    "typecheck": "tsc -p tsconfig.json --noEmit",
    "test": "vitest run",
    "test:bench": "vitest run --config vitest.bench.config.ts",
    "clean": "rm -rf dist"
  },
  "dependencies": {
    "@fastify/multipart": "^10.0.0",
    "@fastify/swagger": "^9.7.0",
    "@moonshot-ai/agent-core-v2": "workspace:^",
    "@moonshot-ai/kimi-code-oauth": "workspace:^",
    "@moonshot-ai/minidb": "workspace:*",
    "@moonshot-ai/remote-control": "workspace:^",
    "@moonshot-ai/transcript": "workspace:^",
    "bcryptjs": "^2.4.3",
    "fastify": "^5.1.0",
    "pino": "^9.5.0",
    "semver": "^7.7.4",
    "smol-toml": "^1.6.1",
    "ulid": "^3.0.1",
    "ws": "^8.18.0",
    "zod": "catalog:"
  },
  "devDependencies": {
    "@types/bcryptjs": "^2.4.6",
    "@types/semver": "^7.7.0",
    "@types/ws": "^8.18.0",
    "tsx": "^4.21.0"
  }
}