Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
147 lines (147 loc) · 6.74 KB
/
Copy pathpackage.json
File metadata and controls
147 lines (147 loc) · 6.74 KB
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
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
{
"name": "@moonshot-ai/monorepo",
"version": "0.1.1",
"private": true,
"license": "MIT",
"workspaces": {
"packages": [
"packages/*",
"apps/*",
"apps/vis/server",
"apps/vis/web",
"docs"
],
"catalog": {
"zod": "4.3.6",
"pathe": "^2.0.3",
"smol-toml": "^1.6.1",
"jimp": "^1.6.1",
"yazl": "^3.3.1",
"ulid": "^3.0.1",
"ws": "^8.18.0"
}
},
"type": "module",
"scripts": {
"build": "bun run --workspaces --if-present build",
"build:packages": "bun run --filter './packages/*' build",
"dev:cli": "cd apps/kimi-code && bun run dev",
"dev:local": "./scripts/run-local.sh",
"dev:local:watch": "./scripts/run-local.sh --watch",
"dev:cli:marketplace": "cd apps/kimi-code && KIMI_CODE_DEV_MARKETPLACE_URL=https://code.kimi.com/kimi-code/plugins/marketplace.json bun run dev",
"dev:server": "cd apps/kimi-code && bun run dev:server",
"dev:v2": "cd apps/kimi-code && bun run dev:server",
"build:plugin-marketplace": "cd apps/kimi-code && bun run build:plugin-marketplace",
"vis": "cd apps/vis && bun run dev",
"dev:docs": "cd docs && bun install && bun run dev",
"typecheck": "bun run --workspaces --if-present typecheck",
"lint": "oxlint --type-aware",
"lint:fix": "oxlint --type-aware --fix",
"check:lint": "bun run lint && bun run sherif && bun run check:deep-imports && bun run check:boundaries && bun run check:no-comments && bun run check:git-memory && bun run scan:residue && bun run check:locale-keys && bun run check:locale-placeholders && bun run check:t-coverage && bun run check:status-surface-i18n && bun run check:no-hardcoded-prose && bun run check:strict-request-bodies && bun run check:catalog-versions && bun run check:service-naming",
"lint:pkg": "(cd apps/kimi-code && publint) && (cd apps/kimi-code && npm_config_cache=${TMPDIR:-/tmp}/kimi-code-npm-cache attw --pack . --profile node16)",
"sherif": "sherif -i @agentclientprotocol/sdk -r packages-without-package-json",
"test": "bun scripts/run-tests.mjs",
"test:scripts": "bun scripts/run-package-tests.mjs --package=. --root=scripts/test --root=scripts/prompt-optimizer/test",
"test:watch": "bun scripts/run-tests.mjs --watch",
"test:coverage": "bun scripts/run-tests.mjs --coverage --coverage-reporter=lcov",
"test:minidb": "cd packages/minidb && bun run test",
"test:heavy": "bun scripts/run-test-heavy.mjs",
"test:timings": "bun scripts/run-tests.mjs --timings=test-timings.jsonl",
"build:docs": "cd docs && bun run build",
"clean": "bun run --workspaces --if-present clean",
"check:locale-keys": "bun scripts/check-locale-keys.mjs",
"check:locale-placeholders": "bun scripts/check-locale-placeholders.cjs",
"check:t-coverage": "bun scripts/check-t-call-coverage.mjs",
"check:status-surface-i18n": "bun scripts/check-status-surface-i18n.mjs",
"check:no-hardcoded-prose": "bun scripts/check-no-hardcoded-prose.mjs",
"check:no-hardcoded-prose:counts": "bun scripts/check-no-hardcoded-prose.mjs --print-counts",
"check:no-comments": "bun scripts/check-no-comments.mjs",
"check:no-comments:counts": "bun scripts/check-no-comments.mjs --print-counts",
"check:prompt-ownership": "bun scripts/check-prompt-ownership.mjs",
"check:git-memory": "bun packages/agent-core-v2/scripts/check-git-memory-injection.mjs",
"check:nix-workspace": "bun scripts/check-nix-workspace.mjs",
"check:service-naming": "bun scripts/check-service-naming.mjs",
"check:strict-request-bodies": "bun tools/review/check-strict-request-bodies.mjs",
"scan:hardcoded": "bun scripts/scan-hardcoded-v2.mjs",
"measure:image-tokens": "bun scripts/measure-image-tokens.cjs",
"changeset": "changeset",
"version": "changeset version",
"version:release": "changeset version",
"publish": "bun run typecheck && bun run lint && bun run sherif && bun run test && bun run build && bun run lint:pkg && changeset publish",
"bench:prompt": "bun scripts/prompt-optimizer/src/cli.ts bench",
"bench:prompt:compare": "bun scripts/prompt-optimizer/src/cli.ts bench --compare",
"bench:prompt:prune": "bun scripts/prompt-optimizer/src/cli.ts prune",
"bench:prompt:probe": "bun scripts/prompt-optimizer/src/cli.ts probe",
"bench:prompt:4521": "bun scripts/prompt-optimizer/src/measure-4521.ts",
"prepare": "simple-git-hooks",
"check:deep-imports": "bun packages/agent-core-v2/scripts/check-deep-imports.mjs",
"check:boundaries": "cd packages/agent-core-v2 && bun run lint:imports",
"check:catalog-versions": "bun tools/review/check-catalog-versions.mjs",
"gen:manifests": "cd packages/agent-core-v2 && bun run gen:config-manifest && bun run gen:wire-manifest && bun run gen:state-manifest && bun run gen:error-codes",
"test:bench": "bun scripts/run-tests.mjs --script=test:bench",
"scan:residue": "bun scripts/scan-test-residue.mjs --baseline=.scan-test-residue.baseline.json",
"scan:residue:json": "bun scripts/scan-test-residue.mjs --baseline=.scan-test-residue.baseline.json --json",
"verify": "bun scripts/verify-packages.mjs"
},
"devDependencies": {
"@arethetypeswrong/cli": "0.18.2",
"@changesets/changelog-github": "0.7.0",
"@changesets/cli": "2.30.0",
"@microsoft/api-extractor": "7.58.7",
"@types/bun": "^1.4.4",
"@types/node": "^22.15.3",
"lint-staged": "16.4.0",
"oxlint": "1.59.0",
"oxlint-tsgolint": "0.20.0",
"pkg-pr-new": "0.0.75",
"publint": "0.3.18",
"sherif": "1.11.1",
"simple-git-hooks": "2.13.1",
"tsdown": "0.23.1",
"typescript": "7.0.2",
"typescript-legacy": "npm:typescript@6.0.2",
"vite": "^6.4.3"
},
"overrides": {
"@babel/core": ">=7.29.6",
"@hono/node-server": ">=2.0.5",
"body-parser": ">=2.3.0",
"brace-expansion": ">=5.0.8",
"diff": ">=8.0.3",
"dompurify": ">=3.4.12",
"esbuild": ">=0.28.1",
"fast-uri": ">=3.1.1",
"find-my-way": ">=9.7.0",
"gray-matter>js-yaml": "^3.14.1",
"hono": ">=4.12.18",
"ip-address": ">=10.3.1",
"js-yaml": ">=4.2.0",
"kimi-code>@tailwindcss/vite": "4.1.18",
"kimi-code>tailwindcss": "4.1.18",
"linkify-it": ">=5.0.2",
"mermaid": ">=11.16.1",
"nanoid": ">=3.3.18",
"postcss": ">=8.5.18",
"protobufjs": ">=7.5.5",
"qs": ">=6.15.2",
"react-router": ">=7.15.1 <8.0.0",
"serialize-javascript": ">=7.0.3",
"shell-quote": ">=1.8.4",
"tar": ">=7.5.22",
"undici": ">=7.28.0",
"vite": ">=6.4.3 <8.0.0",
"ws": ">=8.21.0"
},
"simple-git-hooks": {
"pre-commit": "bunx lint-staged --concurrent false"
},
"lint-staged": {
"*.{js,jsx,ts,tsx,mjs,cjs,mts,cts}": "oxlint --type-aware --quiet"
},
"packageManager": "bun@1.4.4",
"trustedDependencies": [
"esbuild",
"protobufjs",
"simple-git-hooks"
]
}