Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
149 lines (149 loc) · 9.36 KB
/
Copy pathpackage.json
File metadata and controls
149 lines (149 loc) · 9.36 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
148
149
{
"name": "kibi",
"version": "0.2.0",
"engines": {
"bun": ">=1.4.2 <1.5"
},
"private": false,
"license": "AGPL-3.0-or-later",
"author": "Piotr Franczyk",
"workspaces": ["packages/*"],
"overrides": {
"diff": "^8.0.3",
"ip-address": "^10.7.3",
"qs": "^6.16.0",
"seroval": "^1.6.8",
"smol-toml": "^1.9.0",
"tmp": "^0.2.7"
},
"kibi": {
"plugins": [
{
"package": "kibi-plugin-jev",
"capabilities": {
"kibi.semantic-classifier.v1": {
"mode": "replace"
}
}
}
]
},
"scripts": {
"test": "bun run test:unit && bun run test:e2e:local",
"test:unit": "bun ./test/root.test.ts",
"test:mutation": "stryker run",
"test:coverage:unit": "bun run scripts/run-unit-coverage.ts",
"proof:run": "bun packages/cli/bin/kibi prove --all",
"proof:baseline": "node scripts/check-proof-baseline.mjs",
"proof:baseline:semantic": "node scripts/check-proof-baseline.mjs --semantic-only",
"proof:prepush": "sh scripts/proof-prepush.sh",
"proof:replay": "bun scripts/replay-proof-ci.ts",
"test:coverage:prolog": "swipl -q -s scripts/run-prolog-coverage.pl -- --source-root packages/core/src --test packages/core/tests/kb.plt --output-dir coverage/prolog --summary-json coverage/prolog/summary.json --summary-text coverage/prolog/summary.txt --fail-under 50",
"test:coverage:manifest": "bun run scripts/coverage-manifest.ts . coverage/unit",
"test:e2e": "./scripts/docker/test.sh e2e",
"test:e2e:local": "if [ -z \"${TMPDIR:-}\" ]; then export TMPDIR=/tmp; fi; bun run build:runtime && node scripts/run-e2e-local.mjs",
"test:docker": "./scripts/docker/test.sh",
"docker:build": "docker compose -f docker/compose.test.yml build",
"docker:clean": "docker compose -f docker/compose.test.yml down -v --remove-orphans",
"pack:all": "bun run scripts/pack-packages.ts --slice pack-all",
"schema:generate": "bun run --filter ./packages/cli schema:generate",
"schema:check": "bun run --filter ./packages/cli schema:check",
"rules:generate": "node scripts/generate-rule-registry.mjs",
"rules:check": "node scripts/generate-rule-registry.mjs --check",
"clean:tarballs": "bun run scripts/clean-package-tarballs.ts",
"check": "biome check .",
"format": "biome format --write .",
"pack:drive": "./scripts/pack-to-drive.sh",
"build:plugin-sdk": "bun --filter ./packages/plugin-sdk build",
"build:agent-core": "bun --filter ./packages/agent-core build",
"build:plugin-builtin": "bun --filter ./packages/plugin-builtin build",
"build:plugin-jev": "bun --filter ./packages/plugin-jev build",
"build:plugin-ui": "bun --filter ./packages/plugin-ui build",
"build:cli": "bun --filter ./packages/cli build",
"build:cli-stack": "bun run build:plugin-sdk && bun run build:plugin-builtin && bun run build:cli",
"build:runtime": "bun --filter ./packages/runtime build",
"build:mcp": "bun --filter ./packages/mcp build",
"build:opencode": "bun --filter ./packages/opencode build",
"build:codex": "bun --filter ./packages/codex build",
"build:cursor": "bun --filter ./packages/cursor build",
"build:zcode": "bun --filter ./packages/zcode build",
"build:claude": "bun --filter ./packages/claude build",
"dev:opencode": "bun --filter ./packages/opencode dev",
"dev:codex": "bun --filter ./packages/codex dev",
"dev:cursor": "bun --filter ./packages/cursor dev",
"dev:zcode": "bun --filter ./packages/zcode dev",
"dev:claude": "bun --filter ./packages/claude dev",
"sync:cursor-dogfood": "./scripts/sync-cursor-dogfood.sh",
"sync:claude-dogfood": "bun run build:cli-stack && bun run build:runtime && bun run build:mcp && bun run build:claude",
"sync:agent-skills": "bun run scripts/sync-agent-skills.ts --write",
"skillopt:smoke": "bun run scripts/skillopt-eval/operator.ts smoke",
"skillopt:optimize": "bun run scripts/skillopt-eval/operator.ts optimize",
"skillopt:cursor": "bun run scripts/skillopt-eval/cursor-operator.ts",
"skillopt:history": "bun run scripts/skillopt-eval/inspect-history.ts",
"skillopt:screen": "bun run scripts/skillopt-eval/screen-history.ts",
"skillopt:campaign": "bun run scripts/skillopt-eval/campaign.ts",
"test:skillopt": "bun test --preload ./scripts/skillopt-eval/offline-test-preload.ts --timeout 15000 ./scripts/skillopt-eval/tests",
"benchmark:journaled-engine": "node documentation/tests/benchmarks/journaled-engine.bench.mjs",
"docs:site": "bun docs-site/build.ts",
"docs:terminal-demo": "bun docs-site/terminal-demo.ts",
"sync:cursor-plugin-local": "./scripts/sync-cursor-plugin-local.sh",
"build": "bun run build:plugin-sdk && bun run build:agent-core && bun run build:plugin-builtin && bun run build:plugin-treesitter && bun run build:plugin-jev && bun run build:plugin-ui && bun run build:cli && bun run build:runtime && bun run build:mcp && bun run build:opencode && bun run build:codex && bun run build:cursor && bun run build:zcode && bun run build:claude",
"typecheck:plugin-sdk": "tsc -p packages/plugin-sdk/tsconfig.json --noEmit",
"typecheck:agent-core": "tsc -p packages/agent-core/tsconfig.json --noEmit",
"typecheck:plugin-builtin": "bun run build:plugin-sdk && tsc -p packages/plugin-builtin/tsconfig.json --noEmit",
"typecheck:plugin-jev": "bun run build:plugin-sdk && tsc -p packages/plugin-jev/tsconfig.json --noEmit",
"typecheck:plugin-ui": "bun run build:plugin-sdk && tsc -p packages/plugin-ui/tsconfig.json --noEmit",
"typecheck:cli": "bun run build:plugin-sdk && bun run build:plugin-builtin && tsc -p packages/cli/tsconfig.json --noEmit",
"typecheck:mcp": "bun run build:plugin-sdk && bun run build:plugin-builtin && bun run build:cli && bun run build:runtime && tsc -p packages/mcp/tsconfig.json --noEmit",
"typecheck:opencode": "tsc -p packages/opencode/tsconfig.json --noEmit",
"typecheck:codex": "tsc -p packages/codex/tsconfig.json --noEmit",
"typecheck:cursor": "tsc -p packages/cursor/tsconfig.json --noEmit",
"typecheck:zcode": "tsc -p packages/zcode/tsconfig.json --noEmit",
"typecheck:claude": "tsc -p packages/claude/tsconfig.json --noEmit",
"typecheck:cli:tests": "bun run build:plugin-sdk && bun run build:plugin-jev && tsc -p packages/cli/tests/tsconfig.json --noEmit",
"typecheck:mcp:tests": "tsc -p packages/mcp/tests/tsconfig.json --noEmit",
"compile:e2e:packed": "node scripts/compile-e2e-packed.mjs",
"typecheck:e2e:packed": "tsc -p documentation/tests/e2e/packed/tsconfig.e2e.json --noEmit",
"typecheck:e2e:local": "tsc -p documentation/tests/e2e/tsconfig.local.json --noEmit",
"typecheck:vscode": "tsc -p packages/vscode/tsconfig.json --noEmit",
"typecheck:vscode:tests": "tsc -p packages/vscode/tests/tsconfig.json --noEmit",
"typecheck:opencode:tests": "tsc -p packages/opencode/tests/tsconfig.json --noEmit",
"typecheck:codex:tests": "tsc -p packages/codex/tests/tsconfig.json --noEmit",
"typecheck:cursor:tests": "tsc -p packages/cursor/tests/tsconfig.json --noEmit",
"typecheck:zcode:tests": "tsc -p packages/zcode/tests/tsconfig.json --noEmit",
"typecheck:agent-core:tests": "tsc -p packages/agent-core/tests/tsconfig.json --noEmit",
"typecheck:claude:tests": "tsc -p packages/claude/tests/tsconfig.json --noEmit",
"typecheck:scripts": "tsc -p tsconfig.scripts.json --noEmit",
"typecheck": "bun run typecheck:plugin-sdk && bun run typecheck:agent-core && bun run typecheck:plugin-builtin && bun run typecheck:plugin-treesitter && bun run typecheck:plugin-jev && bun run typecheck:plugin-ui && bun run typecheck:cli && bun run typecheck:mcp && bun run typecheck:opencode && bun run typecheck:codex && bun run typecheck:cursor && bun run typecheck:zcode && bun run typecheck:claude && bun run typecheck:cli:tests && bun run typecheck:mcp:tests && bun run typecheck:e2e:packed && bun run typecheck:e2e:local && bun run typecheck:vscode && bun run typecheck:vscode:tests && bun run typecheck:opencode:tests && bun run typecheck:codex:tests && bun run typecheck:cursor:tests && bun run typecheck:zcode:tests && bun run typecheck:agent-core:tests && bun run typecheck:claude:tests && bun run typecheck:scripts",
"publish:selective": "./scripts/publish-selective.sh",
"release:npm": "bun run build && ./scripts/publish-selective.sh",
"release:bun": "bun run build && ./scripts/publish-selective.sh",
"changeset": "changeset",
"version-packages": "changeset version && bun run scripts/sync-plugin-manifest-versions.ts",
"release": "changeset publish",
"symbols:generate": "node scripts/generate-symbol-classification.mjs",
"symbols:check": "node scripts/generate-symbol-classification.mjs --check",
"build:plugin-treesitter": "bun --filter ./packages/plugin-treesitter build",
"typecheck:plugin-treesitter": "bun run build:plugin-sdk && tsc -p packages/plugin-treesitter/tsconfig.json --noEmit"
},
"devDependencies": {
"@biomejs/biome": "^1.9.4",
"@changesets/cli": "^2.31.1",
"@hughescr/stryker-bun-runner": "^1.6.0",
"@stryker-mutator/core": "^10.0.0",
"@types/node": "^25.9.8",
"ajv": "^8.20.0",
"ajv-formats": "2.1.1",
"bun-types": "^1.4.3",
"canonicalize": "^3.0.0",
"kibi-cli": "workspace:*",
"kibi-mcp": "workspace:*",
"kibi-plugin-jev": "workspace:*",
"marked": "^17.0.6",
"mitata": "^1.0.34",
"semver": "^7.8.5",
"typescript": "^5.9.3",
"zod": "^4.6.7",
"c8": "10.1.3"
}
}