forked from earendil-works/pi
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
133 lines (133 loc) · 5.46 KB
/
Copy pathpackage.json
File metadata and controls
133 lines (133 loc) · 5.46 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
{
"name": "@earendil-works/pi-coding-agent",
"version": "0.74.0",
"description": "Coding agent CLI with read, bash, edit, write tools and session management",
"type": "module",
"piConfig": {
"configDir": ".pi"
},
"bin": {
"pi": "dist/cli.js"
},
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js"
},
"./hooks": {
"types": "./dist/core/hooks/index.d.ts",
"import": "./dist/core/hooks/index.js"
},
"./core/extensions/registry.js": {
"types": "./dist/core/extensions/registry.d.ts",
"import": "./dist/core/extensions/registry.js"
},
"./core/workspace-agent-executor.js": {
"types": "./dist/core/workspace-agent-executor.d.ts",
"import": "./dist/core/workspace-agent-executor.js"
},
"./execution-gauntlet": {
"types": "./dist/core/execution-gauntlet/index.d.ts",
"import": "./dist/core/execution-gauntlet/index.js"
}
},
"files": [
"dist",
"docs",
"examples",
"CHANGELOG.md"
],
"scripts": {
"clean": "shx rm -rf dist",
"dev": "tsgo -p tsconfig.build.json --watch --preserveWatchOutput",
"build": "shx rm -rf dist && tsgo -p tsconfig.build.json && shx chmod +x dist/cli.js && npm run copy-assets",
"build:binary": "npm --prefix ../tui run build && npm --prefix ../ai run build && npm --prefix ../agent run build && npm run build && bun build --compile ./dist/bun/cli.js --outfile dist/pi && npm run copy-binary-assets",
"copy-assets": "shx mkdir -p dist/modes/interactive/theme && shx cp src/modes/interactive/theme/*.json dist/modes/interactive/theme/ && shx mkdir -p dist/modes/interactive/assets && shx cp src/modes/interactive/assets/*.png dist/modes/interactive/assets/ && shx mkdir -p dist/core/export-html/vendor && shx cp src/core/export-html/template.html src/core/export-html/template.css src/core/export-html/template.js dist/core/export-html/ && shx cp src/core/export-html/vendor/*.js dist/core/export-html/vendor/",
"copy-binary-assets": "shx cp package.json dist/ && shx cp README.md dist/ && shx cp CHANGELOG.md dist/ && shx mkdir -p dist/theme && shx cp src/modes/interactive/theme/*.json dist/theme/ && shx mkdir -p dist/assets && shx cp src/modes/interactive/assets/*.png dist/assets/ && shx mkdir -p dist/export-html/vendor && shx cp src/core/export-html/template.html dist/export-html/ && shx cp src/core/export-html/vendor/*.js dist/export-html/vendor/ && shx cp -r docs dist/ && shx cp -r examples dist/ && shx cp ../../node_modules/@silvia-odwyer/photon-node/photon_rs_bg.wasm dist/",
"test": "vitest --run",
"test:smart-read": "vitest run test/token-context/smart-read-v2.test.ts test/token-context/tree-sitter-v2.test.ts test/token-context/tree-sitter-real.test.ts",
"test:smart-read-real": "vitest run test/token-context/tree-sitter-real.test.ts",
"test:token-context": "vitest run test/token-context/",
"test:deterministic": "vitest run test/execution-gauntlet/",
"test:execution-gauntlet": "npx tsx ../../scripts/run-execution-stability-gauntlet.ts --mode fast --suite all --execution-modes stable_3,patch_transaction --iterations 100 --seed 1 --timeout-ms 300000",
"test:execution-gauntlet:lead": "npx tsx ../../scripts/run-execution-stability-gauntlet.ts --mode fast --suite lead-agent --execution-modes stable_3,patch_transaction --iterations 50 --seed 1 --timeout-ms 300000",
"test:execution-gauntlet:control": "npx tsx ../../scripts/run-execution-stability-gauntlet.ts --mode fast --suite control-plane --execution-modes stable_3,patch_transaction --iterations 50 --seed 1 --timeout-ms 300000",
"test:patch-coordinator": "NODE_OPTIONS=--max-old-space-size=1024 vitest run test/execution/patch-coordinator.test.ts --maxWorkers=1",
"prepublishOnly": "npm run clean && npm run build"
},
"dependencies": {
"@earendil-works/pi-accp-compiler": "^0.74.0",
"@earendil-works/pi-agent-core": "^0.74.0",
"@earendil-works/pi-ai": "^0.74.0",
"@earendil-works/pi-db": "^0.74.0",
"@earendil-works/pi-execution-contracts": "^0.74.0",
"@earendil-works/pi-execution-service": "^0.74.0",
"@earendil-works/pi-tui": "^0.74.0",
"@earendil-works/pi-worker-adapters": "^0.74.0",
"@silvia-odwyer/photon-node": "^0.3.4",
"chalk": "^5.5.0",
"cli-highlight": "^2.1.11",
"diff": "^8.0.2",
"extract-zip": "^2.0.1",
"file-type": "^21.1.1",
"glob": "^13.0.1",
"hosted-git-info": "^9.0.2",
"ignore": "^7.0.5",
"ink": "^5.2.1",
"jiti": "^2.7.0",
"marked": "^15.0.12",
"minimatch": "^10.2.3",
"proper-lockfile": "^4.1.2",
"react": "^18.3.1",
"strip-ansi": "^7.1.0",
"typebox": "^1.1.24",
"undici": "^7.19.1",
"uuid": "^14.0.0",
"yaml": "^2.8.2",
"@earendil-works/pi-brain": "^0.74.0",
"jsonc-parser": "^3.3.1",
"tree-sitter-wasms": "^0.1.0",
"web-tree-sitter": "^0.20.8"
},
"overrides": {
"rimraf": "6.1.2",
"gaxios": {
"rimraf": "6.1.2"
}
},
"optionalDependencies": {
"@mariozechner/clipboard": "^0.3.5"
},
"devDependencies": {
"@types/diff": "^7.0.2",
"@types/hosted-git-info": "^3.0.5",
"@types/ms": "^2.1.0",
"@types/node": "^24.3.0",
"@types/proper-lockfile": "^4.1.4",
"@types/react": "^18.3.28",
"@vitest/coverage-v8": "^3.2.4",
"shx": "^0.4.0",
"typescript": "^5.7.3",
"vitest": "^3.2.4"
},
"keywords": [
"coding-agent",
"ai",
"llm",
"cli",
"tui",
"agent"
],
"author": "Mario Zechner",
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/earendil-works/pi-mono.git",
"directory": "packages/coding-agent"
},
"engines": {
"node": ">=20.6.0"
}
}