Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
81 lines (81 loc) · 2.99 KB
/
Copy pathpackage.json
File metadata and controls
81 lines (81 loc) · 2.99 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
{
"name": "kompact",
"version": "0.1.0",
"description": "Local context compaction for coding agents. Scores every tool call, drops only what is no longer needed. No API key, no GPU, no network call.",
"type": "module",
"license": "MIT",
"engines": {
"node": ">=18"
},
"exports": {
".": {
"types": "./dist/src/index.d.ts",
"import": "./dist/src/index.js"
}
},
"files": [
"dist",
"README.md",
"LICENSE"
],
"scripts": {
"build": "tsc",
"typecheck": "tsc -p tsconfig.all.json && tsc -p tsconfig.hooks.json",
"test": "vitest run",
"eval": "bun eval/extract-labels.ts && bun eval/baseline.ts",
"validate": "claude plugin validate .claude-plugin/plugin.json",
"serve": "bun bin/kompact-serve.ts",
"calibrate": "bun eval/extract-labels.ts && bun eval/calibrate.ts",
"dry-run": "bun eval/sessions.ts && bun eval/passes.ts",
"doctor": "bun bin/kompact-doctor.ts",
"eval:passes": "bun eval/passes.ts --sweep",
"eval:loop": "bun eval/outcome.ts --fixture --passes 6",
"eval:mass": "bun eval/mass.ts",
"eval:inputs": "bun eval/inputs.ts",
"docs:passes": "bun eval/passes.ts --publish && bun eval/passes-page.ts",
"eval:teacher": "bun eval/teacher.ts --fixture",
"eval:results": "bun eval/results.ts",
"eval:snapshot": "bun eval/results.ts --snapshot && bun eval/passes-page.ts",
"eval:ci": "bun eval/fit.ts --fixture && bun eval/repeat.ts --fixture && bun eval/policy.ts --fixture && bun eval/recovery.ts --fixture && bun eval/outcome.ts --fixture",
"eval:fixtures": "bun eval/make-fixture.ts && bun eval/make-session-fixture.ts",
"prepack": "npm run build",
"docs:demo": "bun eval/demo.ts",
"docs:eval": "bun eval/make-eval-page.ts",
"docs": "bun eval/demo.ts && bun eval/distribution.ts && bun eval/signals-page.ts && bun eval/propose-page.ts && bun eval/passes-page.ts && bun eval/sessions-page.ts && bun eval/trigger-page.ts && bun eval/repetition-page.ts && bun eval/summary-cost.ts && bun eval/make-eval-page.ts",
"eval:fit": "bun eval/fit.ts",
"eval:score": "bun eval/score.ts",
"eval:truncation": "bun eval/truncation.ts",
"docs:plot": "bun eval/distribution.ts",
"docs:check": "bun eval/render-check.ts",
"propose": "bun eval/propose.ts",
"propose:demo": "bun eval/propose.ts --file eval/fixtures/signals.json",
"docs:signals": "bun eval/signals-page.ts"
},
"devDependencies": {
"@types/node": "^22.10.2",
"typescript": "^5.7.2",
"vitest": "^2.1.8"
},
"bin": {
"kompact-serve": "./dist/bin/kompact-serve.js",
"kompact-doctor": "./dist/bin/kompact-doctor.js"
},
"author": "AxeForging",
"repository": {
"type": "git",
"url": "git+https://github.com/AxeForging/kompact.git"
},
"bugs": {
"url": "https://github.com/AxeForging/kompact/issues"
},
"homepage": "https://github.com/AxeForging/kompact#readme",
"keywords": [
"claude-code",
"codex",
"context",
"compaction",
"plugin",
"llm",
"agent"
]
}