@astralyn/pi 0.82.0 → 0.82.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +17 -0
- package/LICENSE +21 -0
- package/README.md +14 -3
- package/dist/core/agent-session.d.ts +4 -0
- package/dist/core/agent-session.d.ts.map +1 -1
- package/dist/core/agent-session.js +193 -43
- package/dist/core/agent-session.js.map +1 -1
- package/dist/core/bash-executor.d.ts.map +1 -1
- package/dist/core/bash-executor.js +22 -4
- package/dist/core/bash-executor.js.map +1 -1
- package/dist/core/extensions/loader.d.ts.map +1 -1
- package/dist/core/extensions/loader.js +6 -13
- package/dist/core/extensions/loader.js.map +1 -1
- package/dist/core/tools/bash.d.ts.map +1 -1
- package/dist/core/tools/bash.js +4 -3
- package/dist/core/tools/bash.js.map +1 -1
- package/dist/core/tools/output-accumulator.d.ts +13 -3
- package/dist/core/tools/output-accumulator.d.ts.map +1 -1
- package/dist/core/tools/output-accumulator.js +36 -6
- package/dist/core/tools/output-accumulator.js.map +1 -1
- package/dist/core/tools/tool-definition-wrapper.d.ts +7 -2
- package/dist/core/tools/tool-definition-wrapper.d.ts.map +1 -1
- package/dist/core/tools/tool-definition-wrapper.js.map +1 -1
- package/dist/modes/interactive/interactive-mode.d.ts.map +1 -1
- package/dist/modes/interactive/interactive-mode.js +25 -12
- package/dist/modes/interactive/interactive-mode.js.map +1 -1
- package/dist/utils/output-decoder.d.ts +52 -0
- package/dist/utils/output-decoder.d.ts.map +1 -0
- package/dist/utils/output-decoder.js +134 -0
- package/dist/utils/output-decoder.js.map +1 -0
- package/dist/utils/shell.d.ts +1 -0
- package/dist/utils/shell.d.ts.map +1 -1
- package/dist/utils/shell.js +21 -0
- package/dist/utils/shell.js.map +1 -1
- package/docs/compaction.md +8 -2
- package/docs/containerization.md +1 -1
- package/docs/development.md +32 -35
- package/docs/distribution/README.md +34 -0
- package/docs/distribution/architecture.md +102 -0
- package/docs/distribution/extensions/README.md +17 -0
- package/docs/distribution/extensions/deepwiki.md +62 -0
- package/docs/distribution/extensions/question.md +59 -0
- package/docs/distribution/extensions/rewind.md +85 -0
- package/docs/distribution/extensions/router.md +139 -0
- package/docs/distribution/extensions/statusline.md +110 -0
- package/docs/distribution/extensions/subagent.md +102 -0
- package/docs/distribution/maintenance.md +121 -0
- package/docs/distribution/release.md +85 -0
- package/docs/distribution/themes.md +58 -0
- package/docs/distribution/tool-presentation.md +91 -0
- package/docs/extensions.md +4 -2
- package/docs/index.md +1 -1
- package/docs/rpc.md +2 -2
- package/docs/themes.md +1 -1
- package/examples/extensions/custom-provider-anthropic/package-lock.json +3 -3
- package/examples/extensions/custom-provider-gitlab-duo/test.ts +1 -1
- package/examples/extensions/doom-overlay/doom/build/doom.wasm +0 -0
- package/examples/extensions/doom-overlay/doom/build.sh +0 -0
- package/examples/extensions/sandbox/package-lock.json +1 -1
- package/examples/extensions/with-deps/package-lock.json +2 -2
- package/npm-shrinkwrap.json +3481 -640
- package/package.json +30 -18
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@astralyn/pi",
|
|
3
|
-
"version": "0.82.
|
|
3
|
+
"version": "0.82.2",
|
|
4
4
|
"description": "Coding agent CLI with read, bash, edit, write tools and session management",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"piConfig": {
|
|
@@ -24,24 +24,29 @@
|
|
|
24
24
|
"dist",
|
|
25
25
|
"docs",
|
|
26
26
|
"examples",
|
|
27
|
-
"containerization.md",
|
|
28
27
|
"CHANGELOG.md",
|
|
29
28
|
"npm-shrinkwrap.json"
|
|
30
29
|
],
|
|
31
30
|
"scripts": {
|
|
32
31
|
"clean": "shx rm -rf dist",
|
|
33
32
|
"build": "tsgo -p tsconfig.build.json && shx chmod +x dist/cli.js dist/rpc-entry.js && npm run copy-assets",
|
|
34
|
-
"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 ./src/utils/image-resize-worker.ts --outfile dist/pi && npm run copy-binary-assets",
|
|
35
33
|
"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/",
|
|
36
|
-
"
|
|
34
|
+
"format": "biome check --write .",
|
|
35
|
+
"check": "biome check --error-on-warnings . && npm run check:pinned-deps && npm run check:ts-imports && tsgo --noEmit && tsgo -p tsconfig.examples.json",
|
|
36
|
+
"check:pinned-deps": "node scripts/check-pinned-deps.mjs",
|
|
37
|
+
"check:ts-imports": "node scripts/check-ts-relative-imports.mjs",
|
|
37
38
|
"test": "vitest --run",
|
|
38
|
-
"
|
|
39
|
-
"
|
|
39
|
+
"verify:package-install": "node scripts/verify-package-install.mjs",
|
|
40
|
+
"profile:tui": "node scripts/profile-node.mjs --mode tui",
|
|
41
|
+
"profile:rpc": "node scripts/profile-node.mjs --mode rpc",
|
|
42
|
+
"shrinkwrap": "npm install --package-lock-only --ignore-scripts",
|
|
43
|
+
"prepare": "husky",
|
|
44
|
+
"prepublishOnly": "npm run clean && npm run build"
|
|
40
45
|
},
|
|
41
46
|
"dependencies": {
|
|
42
|
-
"@earendil-works/pi-agent-core": "
|
|
43
|
-
"@earendil-works/pi-ai": "
|
|
44
|
-
"@earendil-works/pi-tui": "
|
|
47
|
+
"@earendil-works/pi-agent-core": "0.82.1",
|
|
48
|
+
"@earendil-works/pi-ai": "0.82.1",
|
|
49
|
+
"@earendil-works/pi-tui": "0.82.1",
|
|
45
50
|
"@silvia-odwyer/photon-node": "0.3.4",
|
|
46
51
|
"chalk": "5.6.2",
|
|
47
52
|
"cross-spawn": "7.0.6",
|
|
@@ -58,17 +63,13 @@
|
|
|
58
63
|
"undici": "8.5.0",
|
|
59
64
|
"yaml": "2.9.0"
|
|
60
65
|
},
|
|
61
|
-
"overrides": {
|
|
62
|
-
"protobufjs": "7.6.5",
|
|
63
|
-
"rimraf": "6.1.2",
|
|
64
|
-
"gaxios": {
|
|
65
|
-
"rimraf": "6.1.2"
|
|
66
|
-
}
|
|
67
|
-
},
|
|
68
66
|
"optionalDependencies": {
|
|
69
67
|
"@mariozechner/clipboard": "0.3.9"
|
|
70
68
|
},
|
|
71
69
|
"devDependencies": {
|
|
70
|
+
"@anthropic-ai/sandbox-runtime": "0.0.26",
|
|
71
|
+
"@anthropic-ai/sdk": "0.52.0",
|
|
72
|
+
"@biomejs/biome": "2.3.5",
|
|
72
73
|
"@types/cross-spawn": "6.0.6",
|
|
73
74
|
"@types/diff": "7.0.2",
|
|
74
75
|
"@types/hosted-git-info": "3.0.5",
|
|
@@ -76,10 +77,22 @@
|
|
|
76
77
|
"@types/node": "24.12.4",
|
|
77
78
|
"@types/proper-lockfile": "4.1.4",
|
|
78
79
|
"@types/semver": "7.7.1",
|
|
80
|
+
"@typescript/native-preview": "7.0.0-dev.20260120.1",
|
|
81
|
+
"@xterm/headless": "5.5.0",
|
|
82
|
+
"husky": "9.1.7",
|
|
83
|
+
"ms": "2.1.3",
|
|
79
84
|
"shx": "0.4.0",
|
|
85
|
+
"tsx": "4.22.1",
|
|
80
86
|
"typescript": "5.9.3",
|
|
81
87
|
"vitest": "4.1.9"
|
|
82
88
|
},
|
|
89
|
+
"overrides": {
|
|
90
|
+
"protobufjs": "7.6.5",
|
|
91
|
+
"rimraf": "6.1.2",
|
|
92
|
+
"gaxios": {
|
|
93
|
+
"rimraf": "6.1.2"
|
|
94
|
+
}
|
|
95
|
+
},
|
|
83
96
|
"keywords": [
|
|
84
97
|
"coding-agent",
|
|
85
98
|
"ai",
|
|
@@ -92,8 +105,7 @@
|
|
|
92
105
|
"license": "MIT",
|
|
93
106
|
"repository": {
|
|
94
107
|
"type": "git",
|
|
95
|
-
"url": "https://github.com/ming-kang/pi"
|
|
96
|
-
"directory": "packages/coding-agent"
|
|
108
|
+
"url": "https://github.com/ming-kang/pi"
|
|
97
109
|
},
|
|
98
110
|
"publishConfig": {
|
|
99
111
|
"access": "public",
|