-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.json
More file actions
85 lines (85 loc) · 5.92 KB
/
Copy pathpackage.json
File metadata and controls
85 lines (85 loc) · 5.92 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
{
"name": "kibi",
"version": "0.2.0",
"private": false,
"license": "AGPL-3.0-or-later",
"author": "Piotr Franczyk",
"workspaces": ["packages/*"],
"scripts": {
"test": "bun run test:unit && bun run test:e2e:local",
"test:unit": "bun test --timeout 15000 ./test/root.test.ts",
"test:coverage:unit": "bun run scripts/run-unit-coverage.ts",
"proof:run": "node scripts/run-proof-runner.mjs",
"proof:baseline": "node scripts/check-proof-baseline.mjs",
"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 && bun run compile:e2e:packed && tsc -p documentation/tests/e2e/tsconfig.local.json --outDir /tmp/kibi-e2e-packed-compiled && NODE_OPTIONS='--enable-source-maps' node scripts/run-packed-e2e.mjs /tmp/kibi-e2e-packed-compiled /tmp/kibi-e2e-packed-compiled/*.test.js",
"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": "npm pack --workspace packages/core && npm pack --workspace packages/cli && npm pack --workspace packages/runtime && npm pack --workspace packages/mcp && npm pack --workspace packages/opencode && npm pack --workspace packages/codex && npm pack --workspace packages/cursor",
"schema:generate": "bun run --filter ./packages/cli schema:generate",
"schema:check": "bun run --filter ./packages/cli schema: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:cli": "bun --filter ./packages/cli build",
"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",
"dev:opencode": "bun --filter ./packages/opencode dev",
"dev:codex": "bun --filter ./packages/codex dev",
"dev:cursor": "bun --filter ./packages/cursor dev",
"sync:cursor-dogfood": "./scripts/sync-cursor-dogfood.sh",
"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",
"test:skillopt": "bun test --timeout 15000 ./scripts/skillopt-eval/tests",
"benchmark:journaled-engine": "node documentation/tests/benchmarks/journaled-engine.bench.mjs",
"sync:cursor-plugin-local": "./scripts/sync-cursor-plugin-local.sh",
"build": "bun run build:cli && bun run build:runtime && bun run build:mcp && bun run build:opencode && bun run build:codex && bun run build:cursor",
"typecheck:cli": "tsc -p packages/cli/tsconfig.json --noEmit",
"typecheck:mcp": "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:cli:tests": "tsc -p packages/cli/tests/tsconfig.json --noEmit",
"typecheck:mcp:tests": "tsc -p packages/mcp/tests/tsconfig.json --noEmit",
"compile:e2e:packed": "rm -rf /tmp/kibi-e2e-packed-compiled && tsc -p documentation/tests/e2e/packed/tsconfig.e2e.json --outDir /tmp/kibi-e2e-packed-compiled && node scripts/stage-packed-brand-assets.mjs /tmp/kibi-e2e-packed-compiled",
"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:scripts": "tsc -p tsconfig.scripts.json --noEmit",
"typecheck": "bun run typecheck:cli && bun run typecheck:mcp && bun run typecheck:opencode && bun run typecheck:codex && bun run typecheck:cursor && 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: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"
},
"devDependencies": {
"@biomejs/biome": "^1.9.0",
"@changesets/cli": "^2.27.12",
"@types/node": "^25.2.3",
"ajv": "^8.17.1",
"ajv-formats": "2.1.1",
"bun-types": "^1.2.0",
"canonicalize": "^3.0.0",
"kibi-cli": "workspace:*",
"kibi-mcp": "workspace:*",
"mitata": "^1.0.34",
"semver": "^7.7.4",
"typescript": "^5.7.0",
"zod": "^4.3.6"
}
}