File size: 2,918 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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
{
  "name": "@moonshot-ai/agent-core-v2",
  "version": "0.4.3",
  "private": true,
  "description": "The unified agent engine for Kimi (v2 — DI Scope architecture)",
  "license": "MIT",
  "author": "Moonshot AI",
  "homepage": "https://github.com/MoonshotAI/kimi-code/tree/main/packages/agent-core-v2#readme",
  "repository": {
    "type": "git",
    "url": "git+https://github.com/MoonshotAI/kimi-code.git",
    "directory": "packages/agent-core-v2"
  },
  "bugs": {
    "url": "https://github.com/MoonshotAI/kimi-code/issues"
  },
  "keywords": [
    "kimi",
    "agent",
    "ai",
    "llm",
    "session",
    "tools"
  ],
  "files": [
    "dist"
  ],
  "type": "module",
  "imports": {
    "#/*": "./src/*.ts",
    "#human/*": "./src/human/*.ts"
  },
  "exports": {
    ".": {
      "types": "./src/index.ts",
      "default": "./src/index.ts"
    },
    "./package.json": {
      "types": "./package.json",
      "default": "./package.json"
    },
    "./*": {
      "types": "./src/*.ts",
      "default": "./src/*.ts"
    }
  },
  "scripts": {
    "build": "tsdown",
    "test": "vitest run",
    "typecheck": "tsc -p tsconfig.json --noEmit",
    "gen:contract-types": "node scripts/gen-contract-types.mjs",
    "gen:config-manifest": "tsx --import ../../build/register-raw-text-loader.mjs scripts/gen-config-manifest.mts",
    "gen:wire-manifest": "tsx --import ../../build/register-raw-text-loader.mjs scripts/gen-wire-manifest.mts",
    "gen:state-manifest": "tsx scripts/gen-state-manifest.mts",
    "lint:imports": "node scripts/check-import-boundaries.mjs",
    "clean": "rm -rf dist"
  },
  "dependencies": {
    "@antfu/utils": "^9.3.0",
    "@anthropic-ai/sdk": "^0.95.2",
    "@google/genai": "^1.49.0",
    "@jsquash/webp": "^1.5.0",
    "@modelcontextprotocol/sdk": "^1.29.0",
    "@moonshot-ai/kimi-code-oauth": "workspace:^",
    "@moonshot-ai/minidb": "workspace:^",
    "@moonshot-ai/tree-sitter-bash": "workspace:^",
    "@mozilla/readability": "^0.6.0",
    "ajv": "^8.18.0",
    "ajv-formats": "^3.0.1",
    "chokidar": "^4.0.3",
    "ignore": "^5.3.2",
    "immer": "^11.1.0",
    "jimp": "^1.6.1",
    "js-yaml": "^4.1.1",
    "linkedom": "^0.18.12",
    "node-pty": "^1.1.0",
    "openai": "^6.34.0",
    "pathe": "^2.0.3",
    "picomatch": "^4.0.4",
    "radashi": "^12.9.1",
    "retry": "0.13.1",
    "semver": "^7.7.4",
    "smol-toml": "^1.6.1",
    "socks": "^2.8.9",
    "tar": "^7.5.13",
    "ulid": "^3.0.1",
    "undici": "^7.27.1",
    "xstate": "^5.32.5",
    "yauzl": "^3.3.0",
    "yazl": "^3.3.1",
    "zod": "^4.3.6"
  },
  "devDependencies": {
    "@types/js-yaml": "^4.0.9",
    "@types/picomatch": "^4.0.3",
    "@types/retry": "0.12.0",
    "@types/semver": "^7.7.0",
    "@types/sinon": "^21.0.1",
    "@types/tar": "^7.0.87",
    "@types/yauzl": "^2.10.3",
    "@types/yazl": "^2.4.6",
    "sinon": "^22.0.0",
    "ts-morph": "^28.0.0",
    "tsx": "^4.21.0"
  }
}