@astralyn/pi 0.84.15 → 0.84.16
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 +8 -0
- package/dist/cli.js +2435 -18
- package/dist/extensions/background/index.d.ts +5 -4
- package/dist/extensions/background/index.d.ts.map +1 -1
- package/dist/extensions/background/index.js +9 -5
- package/dist/extensions/background/index.js.map +1 -1
- package/dist/extensions/subagent/render.d.ts.map +1 -1
- package/dist/extensions/subagent/render.js +9 -2
- package/dist/extensions/subagent/render.js.map +1 -1
- package/dist/image-resize-worker.js +2 -0
- package/dist/rpc-entry.js +2435 -10
- package/docs/bundled/extensions/background.md +2 -2
- package/docs/bundled/extensions/subagent.md +1 -1
- package/docs/development.md +1 -1
- package/npm-shrinkwrap.json +110 -109
- package/package.json +4 -2
|
@@ -41,7 +41,7 @@ Blocks until a task finishes, within a bound:
|
|
|
41
41
|
- `waitMs` defaults to 20000 and clamps between 1000 and 60000.
|
|
42
42
|
- `sinceBytes` (taken from a previous read/wait result) restricts the returned output to what was written after that offset; without it the last 32KB is returned. Offsets past EOF (for example after output truncation) fall back to the tail and say so.
|
|
43
43
|
|
|
44
|
-
If the task finishes within the window, the result is delivered inline — status, exit code, runtime, and the bounded output delta — and the
|
|
44
|
+
If the task finishes within the window, the result is delivered inline — status, exit code, runtime, and the bounded output delta — and the completion notification is suppressed, so the completion is delivered exactly once. Interrupting the turn during a wait releases that claim, so the notification arrives normally instead. If the window expires, the result says the task is still running, includes a small tail peek so progress stays visible, and the notification fires later as usual. This is the only sanctioned way to wait; sleeping to emulate it is never correct.
|
|
45
45
|
|
|
46
46
|
### kill
|
|
47
47
|
|
|
@@ -65,7 +65,7 @@ Task ids accept a unique prefix (with or without the `bg-` part); an ambiguous p
|
|
|
65
65
|
|
|
66
66
|
## Completion delivery
|
|
67
67
|
|
|
68
|
-
When a task ends, the extension sends a `background-task` notification: a small XML message carrying the task id, terminal status, exit code, runtime, output file path, the optional description, and the sanitized last ~4KB of output. While the agent is streaming, the notification
|
|
68
|
+
When a task ends, the extension sends a `background-task` notification: a small XML message carrying the task id, terminal status, exit code, runtime, output file path, the optional description, and the sanitized last ~4KB of output. While the agent is streaming, the notification is steered into the run at the next turn boundary — after the in-flight tool calls finish, before the next model call — so a task that finishes mid-run reaches the model while it is still working, not after the whole run settles; when the agent is idle, it wakes a new turn so the result is acted on immediately.
|
|
69
69
|
|
|
70
70
|
The transcript renders this notification as a one-line summary (`✓ bg-3f2a91 npm run build — completed, exit 0 in 34s`; with a description: `✓ bg-3f2a91 dev server (npm run build) — completed, exit 0 in 34s`) with the output file's name below; expanding it shows the full output path and the embedded output tail.
|
|
71
71
|
|
|
@@ -121,7 +121,7 @@ Outcome stays in the same position throughout the task lifecycle:
|
|
|
121
121
|
- completed: the worker's final Markdown report, or `No outcome returned.`;
|
|
122
122
|
- failed or aborted: the terminal reason, followed by `Partial outcome:` and the bounded report when useful output survived.
|
|
123
123
|
|
|
124
|
-
A terminal task exposes its Outcome immediately even while sibling tasks remain active. Profile identity, section headings, activity
|
|
124
|
+
A terminal task exposes its Outcome immediately even while sibling tasks remain active. Profile identity, section headings, activity state markers, and outcomes use semantic theme colors; report Markdown keeps its normal Markdown palette instead of inheriting a blanket success or error color.
|
|
125
125
|
|
|
126
126
|
Full child transcripts are not stored separately. Activity, errors, reports, usage, and model-facing output remain bounded, and completed calls restore through the parent session tree.
|
|
127
127
|
|
package/docs/development.md
CHANGED
|
@@ -36,7 +36,7 @@ Build the distributable package and assets:
|
|
|
36
36
|
npm run build
|
|
37
37
|
```
|
|
38
38
|
|
|
39
|
-
The compiled CLI is `dist/cli.js`. The package's executable is `pi`.
|
|
39
|
+
The compiled CLI is `dist/cli.js`. The package's executable is `pi`. The build produces two artifact layers: the full `tsc` output (the SDK/library surface, `dist/index.js`, `dist/client`, type declarations) and esbuild single-file bundles for the executable entrypoints (`dist/cli.js`, `dist/rpc-entry.js`, plus `dist/image-resize-worker.js`). The bundles keep cold starts fast — Node reads one file instead of hundreds — and are generated by `scripts/build-bundle.mjs` (`npm run build:bundle`), which defines `PI_BUNDLED_NODE` so user-extension loading uses embedded virtual modules, and keeps the native/WASM dependencies (`@silvia-odwyer/photon-node`, `@mariozechner/clipboard`) external.
|
|
40
40
|
|
|
41
41
|
## Verification
|
|
42
42
|
|
package/npm-shrinkwrap.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@astralyn/pi",
|
|
3
|
-
"version": "0.84.
|
|
3
|
+
"version": "0.84.16",
|
|
4
4
|
"lockfileVersion": 3,
|
|
5
5
|
"requires": true,
|
|
6
6
|
"packages": {
|
|
7
7
|
"": {
|
|
8
8
|
"name": "@astralyn/pi",
|
|
9
|
-
"version": "0.84.
|
|
9
|
+
"version": "0.84.16",
|
|
10
10
|
"license": "MIT",
|
|
11
11
|
"dependencies": {
|
|
12
12
|
"@earendil-works/pi-agent-core": "0.84.4",
|
|
@@ -44,6 +44,7 @@
|
|
|
44
44
|
"@types/proper-lockfile": "4.1.4",
|
|
45
45
|
"@types/semver": "7.7.1",
|
|
46
46
|
"@xterm/headless": "5.5.0",
|
|
47
|
+
"esbuild": "0.28.2",
|
|
47
48
|
"husky": "9.1.7",
|
|
48
49
|
"ms": "2.1.3",
|
|
49
50
|
"shx": "0.4.0",
|
|
@@ -857,9 +858,9 @@
|
|
|
857
858
|
}
|
|
858
859
|
},
|
|
859
860
|
"node_modules/@esbuild/aix-ppc64": {
|
|
860
|
-
"version": "0.28.
|
|
861
|
-
"resolved": "https://registry.npmjs.org/@esbuild/aix-ppc64/-/aix-ppc64-0.28.
|
|
862
|
-
"integrity": "sha512-
|
|
861
|
+
"version": "0.28.2",
|
|
862
|
+
"resolved": "https://registry.npmjs.org/@esbuild/aix-ppc64/-/aix-ppc64-0.28.2.tgz",
|
|
863
|
+
"integrity": "sha512-XExcO+dvLKvVtNTibSTBej1NCAbaGhWn9Ww1ZPx80qsahhPFe/8jgWP0IchNe0F3HwkU7n8ejhH8bjonqht8mQ==",
|
|
863
864
|
"cpu": [
|
|
864
865
|
"ppc64"
|
|
865
866
|
],
|
|
@@ -874,9 +875,9 @@
|
|
|
874
875
|
}
|
|
875
876
|
},
|
|
876
877
|
"node_modules/@esbuild/android-arm": {
|
|
877
|
-
"version": "0.28.
|
|
878
|
-
"resolved": "https://registry.npmjs.org/@esbuild/android-arm/-/android-arm-0.28.
|
|
879
|
-
"integrity": "sha512-
|
|
878
|
+
"version": "0.28.2",
|
|
879
|
+
"resolved": "https://registry.npmjs.org/@esbuild/android-arm/-/android-arm-0.28.2.tgz",
|
|
880
|
+
"integrity": "sha512-kXXoiPVVGQcnIYGOeaovwOURpniDBpSq4A03qkQ+BMQqtGG6HYap3xne9C1O1yo4TR3qxlCX5IqqmX6fFo2Lqg==",
|
|
880
881
|
"cpu": [
|
|
881
882
|
"arm"
|
|
882
883
|
],
|
|
@@ -891,9 +892,9 @@
|
|
|
891
892
|
}
|
|
892
893
|
},
|
|
893
894
|
"node_modules/@esbuild/android-arm64": {
|
|
894
|
-
"version": "0.28.
|
|
895
|
-
"resolved": "https://registry.npmjs.org/@esbuild/android-arm64/-/android-arm64-0.28.
|
|
896
|
-
"integrity": "sha512-
|
|
895
|
+
"version": "0.28.2",
|
|
896
|
+
"resolved": "https://registry.npmjs.org/@esbuild/android-arm64/-/android-arm64-0.28.2.tgz",
|
|
897
|
+
"integrity": "sha512-5YfKeeI8qWfBZIX+u2xZC3Zlb3Os/gLS2sbEKM+I4ZOcsWmHS2WLysCcQZDAFRslDUU5Oiq44gf6PYN1vGwG5A==",
|
|
897
898
|
"cpu": [
|
|
898
899
|
"arm64"
|
|
899
900
|
],
|
|
@@ -908,9 +909,9 @@
|
|
|
908
909
|
}
|
|
909
910
|
},
|
|
910
911
|
"node_modules/@esbuild/android-x64": {
|
|
911
|
-
"version": "0.28.
|
|
912
|
-
"resolved": "https://registry.npmjs.org/@esbuild/android-x64/-/android-x64-0.28.
|
|
913
|
-
"integrity": "sha512-
|
|
912
|
+
"version": "0.28.2",
|
|
913
|
+
"resolved": "https://registry.npmjs.org/@esbuild/android-x64/-/android-x64-0.28.2.tgz",
|
|
914
|
+
"integrity": "sha512-O387ite7SzUyCcy3JQX4P4bLtEA7bLLkx+esve5JHnyYfNTxcVpXZo9jhdB0lTKN44gztELTdU7nS8Nr16Fs1Q==",
|
|
914
915
|
"cpu": [
|
|
915
916
|
"x64"
|
|
916
917
|
],
|
|
@@ -925,9 +926,9 @@
|
|
|
925
926
|
}
|
|
926
927
|
},
|
|
927
928
|
"node_modules/@esbuild/darwin-arm64": {
|
|
928
|
-
"version": "0.28.
|
|
929
|
-
"resolved": "https://registry.npmjs.org/@esbuild/darwin-arm64/-/darwin-arm64-0.28.
|
|
930
|
-
"integrity": "sha512-
|
|
929
|
+
"version": "0.28.2",
|
|
930
|
+
"resolved": "https://registry.npmjs.org/@esbuild/darwin-arm64/-/darwin-arm64-0.28.2.tgz",
|
|
931
|
+
"integrity": "sha512-n4KqkOQrraxHJcgjM1RvwbigfQKIKJVpM7xp+KsxiyUSrRdIXnt73VhrPAx0fV44hgfmIVKjxMN9J1t5jySVkw==",
|
|
931
932
|
"cpu": [
|
|
932
933
|
"arm64"
|
|
933
934
|
],
|
|
@@ -942,9 +943,9 @@
|
|
|
942
943
|
}
|
|
943
944
|
},
|
|
944
945
|
"node_modules/@esbuild/darwin-x64": {
|
|
945
|
-
"version": "0.28.
|
|
946
|
-
"resolved": "https://registry.npmjs.org/@esbuild/darwin-x64/-/darwin-x64-0.28.
|
|
947
|
-
"integrity": "sha512-
|
|
946
|
+
"version": "0.28.2",
|
|
947
|
+
"resolved": "https://registry.npmjs.org/@esbuild/darwin-x64/-/darwin-x64-0.28.2.tgz",
|
|
948
|
+
"integrity": "sha512-uq6suIWYP37qzGddBKPw5QEQPi6HiLGsO7UmkpfyaYNQ3D+rN6w6WfwH+nuqcGXWvawGwxOEroO4YGnFh95azw==",
|
|
948
949
|
"cpu": [
|
|
949
950
|
"x64"
|
|
950
951
|
],
|
|
@@ -959,9 +960,9 @@
|
|
|
959
960
|
}
|
|
960
961
|
},
|
|
961
962
|
"node_modules/@esbuild/freebsd-arm64": {
|
|
962
|
-
"version": "0.28.
|
|
963
|
-
"resolved": "https://registry.npmjs.org/@esbuild/freebsd-arm64/-/freebsd-arm64-0.28.
|
|
964
|
-
"integrity": "sha512-
|
|
963
|
+
"version": "0.28.2",
|
|
964
|
+
"resolved": "https://registry.npmjs.org/@esbuild/freebsd-arm64/-/freebsd-arm64-0.28.2.tgz",
|
|
965
|
+
"integrity": "sha512-n+I0BTSRIoy+d6RPKnEVwql5UwBJolytvY4mAOIEJorKlqgPII8ix6slVVrfZ5Tnj7glIZvloylbB/EJPMWEXw==",
|
|
965
966
|
"cpu": [
|
|
966
967
|
"arm64"
|
|
967
968
|
],
|
|
@@ -976,9 +977,9 @@
|
|
|
976
977
|
}
|
|
977
978
|
},
|
|
978
979
|
"node_modules/@esbuild/freebsd-x64": {
|
|
979
|
-
"version": "0.28.
|
|
980
|
-
"resolved": "https://registry.npmjs.org/@esbuild/freebsd-x64/-/freebsd-x64-0.28.
|
|
981
|
-
"integrity": "sha512-
|
|
980
|
+
"version": "0.28.2",
|
|
981
|
+
"resolved": "https://registry.npmjs.org/@esbuild/freebsd-x64/-/freebsd-x64-0.28.2.tgz",
|
|
982
|
+
"integrity": "sha512-78XJTJkvPs0kz2w61301PJjXl4g7q3JqiYMZ/M/yVI73EHBrCRTgkhu9oqG7vPqq+a/yadEW8aD+agKlk5xrmg==",
|
|
982
983
|
"cpu": [
|
|
983
984
|
"x64"
|
|
984
985
|
],
|
|
@@ -993,9 +994,9 @@
|
|
|
993
994
|
}
|
|
994
995
|
},
|
|
995
996
|
"node_modules/@esbuild/linux-arm": {
|
|
996
|
-
"version": "0.28.
|
|
997
|
-
"resolved": "https://registry.npmjs.org/@esbuild/linux-arm/-/linux-arm-0.28.
|
|
998
|
-
"integrity": "sha512-
|
|
997
|
+
"version": "0.28.2",
|
|
998
|
+
"resolved": "https://registry.npmjs.org/@esbuild/linux-arm/-/linux-arm-0.28.2.tgz",
|
|
999
|
+
"integrity": "sha512-XlDnu2q5yoqems+xay6wSAcg9DDD7K9RLKZEBOMZm3ckNpJBvOX20tSfby8KfrrhINDyv9V2YVZKY/SpoGJI8w==",
|
|
999
1000
|
"cpu": [
|
|
1000
1001
|
"arm"
|
|
1001
1002
|
],
|
|
@@ -1010,9 +1011,9 @@
|
|
|
1010
1011
|
}
|
|
1011
1012
|
},
|
|
1012
1013
|
"node_modules/@esbuild/linux-arm64": {
|
|
1013
|
-
"version": "0.28.
|
|
1014
|
-
"resolved": "https://registry.npmjs.org/@esbuild/linux-arm64/-/linux-arm64-0.28.
|
|
1015
|
-
"integrity": "sha512-
|
|
1014
|
+
"version": "0.28.2",
|
|
1015
|
+
"resolved": "https://registry.npmjs.org/@esbuild/linux-arm64/-/linux-arm64-0.28.2.tgz",
|
|
1016
|
+
"integrity": "sha512-pW4AC0P3it8c7do9MVM4p51FzHzdM/TZrerurgRcHJ2WTa1VQ1CIq18xncfpBJw4ojkiZZrKW2yIBWBP92j6Ug==",
|
|
1016
1017
|
"cpu": [
|
|
1017
1018
|
"arm64"
|
|
1018
1019
|
],
|
|
@@ -1027,9 +1028,9 @@
|
|
|
1027
1028
|
}
|
|
1028
1029
|
},
|
|
1029
1030
|
"node_modules/@esbuild/linux-ia32": {
|
|
1030
|
-
"version": "0.28.
|
|
1031
|
-
"resolved": "https://registry.npmjs.org/@esbuild/linux-ia32/-/linux-ia32-0.28.
|
|
1032
|
-
"integrity": "sha512-
|
|
1031
|
+
"version": "0.28.2",
|
|
1032
|
+
"resolved": "https://registry.npmjs.org/@esbuild/linux-ia32/-/linux-ia32-0.28.2.tgz",
|
|
1033
|
+
"integrity": "sha512-CYbnj78HsIeA+DhgUKgFCfvNsTHFhMMrinUrMZpDXJXKN8T3XViTZ/+wtHeVxEWY8ewSzTFN+nRmSwO2tZaLUQ==",
|
|
1033
1034
|
"cpu": [
|
|
1034
1035
|
"ia32"
|
|
1035
1036
|
],
|
|
@@ -1044,9 +1045,9 @@
|
|
|
1044
1045
|
}
|
|
1045
1046
|
},
|
|
1046
1047
|
"node_modules/@esbuild/linux-loong64": {
|
|
1047
|
-
"version": "0.28.
|
|
1048
|
-
"resolved": "https://registry.npmjs.org/@esbuild/linux-loong64/-/linux-loong64-0.28.
|
|
1049
|
-
"integrity": "sha512-
|
|
1048
|
+
"version": "0.28.2",
|
|
1049
|
+
"resolved": "https://registry.npmjs.org/@esbuild/linux-loong64/-/linux-loong64-0.28.2.tgz",
|
|
1050
|
+
"integrity": "sha512-buwkd8nsph4R+ajRvw0qM5Hja/TXQow3ptzWO2EbG/cqcIkHloRrdlBtQlshyYGTNFvfkfJ5tpPLVkY4DtsPfQ==",
|
|
1050
1051
|
"cpu": [
|
|
1051
1052
|
"loong64"
|
|
1052
1053
|
],
|
|
@@ -1061,9 +1062,9 @@
|
|
|
1061
1062
|
}
|
|
1062
1063
|
},
|
|
1063
1064
|
"node_modules/@esbuild/linux-mips64el": {
|
|
1064
|
-
"version": "0.28.
|
|
1065
|
-
"resolved": "https://registry.npmjs.org/@esbuild/linux-mips64el/-/linux-mips64el-0.28.
|
|
1066
|
-
"integrity": "sha512-
|
|
1065
|
+
"version": "0.28.2",
|
|
1066
|
+
"resolved": "https://registry.npmjs.org/@esbuild/linux-mips64el/-/linux-mips64el-0.28.2.tgz",
|
|
1067
|
+
"integrity": "sha512-ZVykbDyk7519VwiNb9Lcj9m8XM6v5V9uKPvrEMkkEedVewf+0itkhahp4HDpgERXhwLRpWFypsGbG/J8s0QjJA==",
|
|
1067
1068
|
"cpu": [
|
|
1068
1069
|
"mips64el"
|
|
1069
1070
|
],
|
|
@@ -1078,9 +1079,9 @@
|
|
|
1078
1079
|
}
|
|
1079
1080
|
},
|
|
1080
1081
|
"node_modules/@esbuild/linux-ppc64": {
|
|
1081
|
-
"version": "0.28.
|
|
1082
|
-
"resolved": "https://registry.npmjs.org/@esbuild/linux-ppc64/-/linux-ppc64-0.28.
|
|
1083
|
-
"integrity": "sha512-
|
|
1082
|
+
"version": "0.28.2",
|
|
1083
|
+
"resolved": "https://registry.npmjs.org/@esbuild/linux-ppc64/-/linux-ppc64-0.28.2.tgz",
|
|
1084
|
+
"integrity": "sha512-CAXl+Dtd9UUuJd8pKKdwh6MLm3MUMiqMPmhZ3tTSXPqfyQ3vDl6R5hZdZ/kYojK4ofXtdfSv1tFq8XzWx3heNQ==",
|
|
1084
1085
|
"cpu": [
|
|
1085
1086
|
"ppc64"
|
|
1086
1087
|
],
|
|
@@ -1095,9 +1096,9 @@
|
|
|
1095
1096
|
}
|
|
1096
1097
|
},
|
|
1097
1098
|
"node_modules/@esbuild/linux-riscv64": {
|
|
1098
|
-
"version": "0.28.
|
|
1099
|
-
"resolved": "https://registry.npmjs.org/@esbuild/linux-riscv64/-/linux-riscv64-0.28.
|
|
1100
|
-
"integrity": "sha512-
|
|
1099
|
+
"version": "0.28.2",
|
|
1100
|
+
"resolved": "https://registry.npmjs.org/@esbuild/linux-riscv64/-/linux-riscv64-0.28.2.tgz",
|
|
1101
|
+
"integrity": "sha512-GeXCej4IQtU1B+QlDV8W/RRvbzI3O/Stss+/bCXv4lZls5WGRtu2a+3JkA3i4qIUlMXpcHebWpF8AkJhATowuA==",
|
|
1101
1102
|
"cpu": [
|
|
1102
1103
|
"riscv64"
|
|
1103
1104
|
],
|
|
@@ -1112,9 +1113,9 @@
|
|
|
1112
1113
|
}
|
|
1113
1114
|
},
|
|
1114
1115
|
"node_modules/@esbuild/linux-s390x": {
|
|
1115
|
-
"version": "0.28.
|
|
1116
|
-
"resolved": "https://registry.npmjs.org/@esbuild/linux-s390x/-/linux-s390x-0.28.
|
|
1117
|
-
"integrity": "sha512
|
|
1116
|
+
"version": "0.28.2",
|
|
1117
|
+
"resolved": "https://registry.npmjs.org/@esbuild/linux-s390x/-/linux-s390x-0.28.2.tgz",
|
|
1118
|
+
"integrity": "sha512-3H1weTYZPxt/WOhByszQZybS9w5lKzUn1FDMsgEChbHWQwHYQQRfBxgCcZvPhjHfKyJjIievvMmEUawJrdY9Dg==",
|
|
1118
1119
|
"cpu": [
|
|
1119
1120
|
"s390x"
|
|
1120
1121
|
],
|
|
@@ -1129,9 +1130,9 @@
|
|
|
1129
1130
|
}
|
|
1130
1131
|
},
|
|
1131
1132
|
"node_modules/@esbuild/linux-x64": {
|
|
1132
|
-
"version": "0.28.
|
|
1133
|
-
"resolved": "https://registry.npmjs.org/@esbuild/linux-x64/-/linux-x64-0.28.
|
|
1134
|
-
"integrity": "sha512-
|
|
1133
|
+
"version": "0.28.2",
|
|
1134
|
+
"resolved": "https://registry.npmjs.org/@esbuild/linux-x64/-/linux-x64-0.28.2.tgz",
|
|
1135
|
+
"integrity": "sha512-4xTZr1FUmSoQW4XIWmit3tzQrUTZM+N3P0XV8xROKYF50XfI7xeO90+1bZvNwxIufQ9hDQVRJH5YhgPVF8A/HQ==",
|
|
1135
1136
|
"cpu": [
|
|
1136
1137
|
"x64"
|
|
1137
1138
|
],
|
|
@@ -1146,9 +1147,9 @@
|
|
|
1146
1147
|
}
|
|
1147
1148
|
},
|
|
1148
1149
|
"node_modules/@esbuild/netbsd-arm64": {
|
|
1149
|
-
"version": "0.28.
|
|
1150
|
-
"resolved": "https://registry.npmjs.org/@esbuild/netbsd-arm64/-/netbsd-arm64-0.28.
|
|
1151
|
-
"integrity": "sha512-
|
|
1150
|
+
"version": "0.28.2",
|
|
1151
|
+
"resolved": "https://registry.npmjs.org/@esbuild/netbsd-arm64/-/netbsd-arm64-0.28.2.tgz",
|
|
1152
|
+
"integrity": "sha512-sSATRjPeDBg3pdgHoQfoYBob11Kk1FGa9lui5RIHZCoCkJa9QKlvl3/vKz2usCmYYjs7ymJR/2Nnsqe+Hjt5nw==",
|
|
1152
1153
|
"cpu": [
|
|
1153
1154
|
"arm64"
|
|
1154
1155
|
],
|
|
@@ -1163,9 +1164,9 @@
|
|
|
1163
1164
|
}
|
|
1164
1165
|
},
|
|
1165
1166
|
"node_modules/@esbuild/netbsd-x64": {
|
|
1166
|
-
"version": "0.28.
|
|
1167
|
-
"resolved": "https://registry.npmjs.org/@esbuild/netbsd-x64/-/netbsd-x64-0.28.
|
|
1168
|
-
"integrity": "sha512-
|
|
1167
|
+
"version": "0.28.2",
|
|
1168
|
+
"resolved": "https://registry.npmjs.org/@esbuild/netbsd-x64/-/netbsd-x64-0.28.2.tgz",
|
|
1169
|
+
"integrity": "sha512-lqnzCV+mM0gIADaKihiCg6ifgfU2L3h5E33rNQBN1Y4MaVGnzryzmvvf7UHxprpQdE8hpqLolJ9Rl+SkIRDpyw==",
|
|
1169
1170
|
"cpu": [
|
|
1170
1171
|
"x64"
|
|
1171
1172
|
],
|
|
@@ -1180,9 +1181,9 @@
|
|
|
1180
1181
|
}
|
|
1181
1182
|
},
|
|
1182
1183
|
"node_modules/@esbuild/openbsd-arm64": {
|
|
1183
|
-
"version": "0.28.
|
|
1184
|
-
"resolved": "https://registry.npmjs.org/@esbuild/openbsd-arm64/-/openbsd-arm64-0.28.
|
|
1185
|
-
"integrity": "sha512-
|
|
1184
|
+
"version": "0.28.2",
|
|
1185
|
+
"resolved": "https://registry.npmjs.org/@esbuild/openbsd-arm64/-/openbsd-arm64-0.28.2.tgz",
|
|
1186
|
+
"integrity": "sha512-AL2qJILH7lNjrDmCQDvdxMfAUIv8KMNZOvrwAQ8i8//ntL9FflhOyMJ8OZSMBb8/AWXe3/5v5S20y3zCoZWKoQ==",
|
|
1186
1187
|
"cpu": [
|
|
1187
1188
|
"arm64"
|
|
1188
1189
|
],
|
|
@@ -1197,9 +1198,9 @@
|
|
|
1197
1198
|
}
|
|
1198
1199
|
},
|
|
1199
1200
|
"node_modules/@esbuild/openbsd-x64": {
|
|
1200
|
-
"version": "0.28.
|
|
1201
|
-
"resolved": "https://registry.npmjs.org/@esbuild/openbsd-x64/-/openbsd-x64-0.28.
|
|
1202
|
-
"integrity": "sha512-
|
|
1201
|
+
"version": "0.28.2",
|
|
1202
|
+
"resolved": "https://registry.npmjs.org/@esbuild/openbsd-x64/-/openbsd-x64-0.28.2.tgz",
|
|
1203
|
+
"integrity": "sha512-QtiuPytchRyC4rwUKhexJdQKvDuZ6hWloi3igqPQNUJCS1/v9EiO3UTOXR6A3FoMo4fnAKbWJdqaIwhOzh8qEw==",
|
|
1203
1204
|
"cpu": [
|
|
1204
1205
|
"x64"
|
|
1205
1206
|
],
|
|
@@ -1214,9 +1215,9 @@
|
|
|
1214
1215
|
}
|
|
1215
1216
|
},
|
|
1216
1217
|
"node_modules/@esbuild/openharmony-arm64": {
|
|
1217
|
-
"version": "0.28.
|
|
1218
|
-
"resolved": "https://registry.npmjs.org/@esbuild/openharmony-arm64/-/openharmony-arm64-0.28.
|
|
1219
|
-
"integrity": "sha512-
|
|
1218
|
+
"version": "0.28.2",
|
|
1219
|
+
"resolved": "https://registry.npmjs.org/@esbuild/openharmony-arm64/-/openharmony-arm64-0.28.2.tgz",
|
|
1220
|
+
"integrity": "sha512-WkhYDmpTjLvGlScA1rwjRUmhl4k8oXR3cIbtqWmELgU/dFeHHlEllxDvdWcNJV9rbzCexB5vz8gtNewWLgCT7Q==",
|
|
1220
1221
|
"cpu": [
|
|
1221
1222
|
"arm64"
|
|
1222
1223
|
],
|
|
@@ -1231,9 +1232,9 @@
|
|
|
1231
1232
|
}
|
|
1232
1233
|
},
|
|
1233
1234
|
"node_modules/@esbuild/sunos-x64": {
|
|
1234
|
-
"version": "0.28.
|
|
1235
|
-
"resolved": "https://registry.npmjs.org/@esbuild/sunos-x64/-/sunos-x64-0.28.
|
|
1236
|
-
"integrity": "sha512-
|
|
1235
|
+
"version": "0.28.2",
|
|
1236
|
+
"resolved": "https://registry.npmjs.org/@esbuild/sunos-x64/-/sunos-x64-0.28.2.tgz",
|
|
1237
|
+
"integrity": "sha512-GPMSkTOtMnv2U2F8gxe4Io6qmVs+YKyp832Etqqxr0hFngmXQ3rzwytelm3GIn7T4VviRUlf3sOgBOiTdvaf7g==",
|
|
1237
1238
|
"cpu": [
|
|
1238
1239
|
"x64"
|
|
1239
1240
|
],
|
|
@@ -1248,9 +1249,9 @@
|
|
|
1248
1249
|
}
|
|
1249
1250
|
},
|
|
1250
1251
|
"node_modules/@esbuild/win32-arm64": {
|
|
1251
|
-
"version": "0.28.
|
|
1252
|
-
"resolved": "https://registry.npmjs.org/@esbuild/win32-arm64/-/win32-arm64-0.28.
|
|
1253
|
-
"integrity": "sha512-
|
|
1252
|
+
"version": "0.28.2",
|
|
1253
|
+
"resolved": "https://registry.npmjs.org/@esbuild/win32-arm64/-/win32-arm64-0.28.2.tgz",
|
|
1254
|
+
"integrity": "sha512-PIhhEkE9uPBleRBrQEJpUn7MBnibZzbGzYWPmY3x+YoVg/95zbjB4CxPPOQ8l5tYYM4mMaCthF8/1DIfBQQyWQ==",
|
|
1254
1255
|
"cpu": [
|
|
1255
1256
|
"arm64"
|
|
1256
1257
|
],
|
|
@@ -1265,9 +1266,9 @@
|
|
|
1265
1266
|
}
|
|
1266
1267
|
},
|
|
1267
1268
|
"node_modules/@esbuild/win32-ia32": {
|
|
1268
|
-
"version": "0.28.
|
|
1269
|
-
"resolved": "https://registry.npmjs.org/@esbuild/win32-ia32/-/win32-ia32-0.28.
|
|
1270
|
-
"integrity": "sha512-
|
|
1269
|
+
"version": "0.28.2",
|
|
1270
|
+
"resolved": "https://registry.npmjs.org/@esbuild/win32-ia32/-/win32-ia32-0.28.2.tgz",
|
|
1271
|
+
"integrity": "sha512-YmJbfTlvU7Sdn9BB+4PRES4oB6pxgS37MAONj+hBr/cpXS1aBPKXxNnDbu+QCWPj0o9dgyxeq79g6c5P8KeuYA==",
|
|
1271
1272
|
"cpu": [
|
|
1272
1273
|
"ia32"
|
|
1273
1274
|
],
|
|
@@ -1282,9 +1283,9 @@
|
|
|
1282
1283
|
}
|
|
1283
1284
|
},
|
|
1284
1285
|
"node_modules/@esbuild/win32-x64": {
|
|
1285
|
-
"version": "0.28.
|
|
1286
|
-
"resolved": "https://registry.npmjs.org/@esbuild/win32-x64/-/win32-x64-0.28.
|
|
1287
|
-
"integrity": "sha512-
|
|
1286
|
+
"version": "0.28.2",
|
|
1287
|
+
"resolved": "https://registry.npmjs.org/@esbuild/win32-x64/-/win32-x64-0.28.2.tgz",
|
|
1288
|
+
"integrity": "sha512-5ebpxr3nWMzrL/rnUI755Jkuee0bHL/Gq0WTF9lvcpv73wAp5eu8MfBUgWK9bhWvZjj7yX8etf/8tI8Ney695g==",
|
|
1288
1289
|
"cpu": [
|
|
1289
1290
|
"x64"
|
|
1290
1291
|
],
|
|
@@ -2512,9 +2513,9 @@
|
|
|
2512
2513
|
"license": "MIT"
|
|
2513
2514
|
},
|
|
2514
2515
|
"node_modules/esbuild": {
|
|
2515
|
-
"version": "0.28.
|
|
2516
|
-
"resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.28.
|
|
2517
|
-
"integrity": "sha512-
|
|
2516
|
+
"version": "0.28.2",
|
|
2517
|
+
"resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.28.2.tgz",
|
|
2518
|
+
"integrity": "sha512-HKVLS8dvII+xoKW9kmqxbRKrnWEXfJJr/FZhhJmiqIB0e053QNYFqOBouTMO/k5sID4MvCiUCvv8b9M4h32wIA==",
|
|
2518
2519
|
"dev": true,
|
|
2519
2520
|
"hasInstallScript": true,
|
|
2520
2521
|
"license": "MIT",
|
|
@@ -2525,32 +2526,32 @@
|
|
|
2525
2526
|
"node": ">=18"
|
|
2526
2527
|
},
|
|
2527
2528
|
"optionalDependencies": {
|
|
2528
|
-
"@esbuild/aix-ppc64": "0.28.
|
|
2529
|
-
"@esbuild/android-arm": "0.28.
|
|
2530
|
-
"@esbuild/android-arm64": "0.28.
|
|
2531
|
-
"@esbuild/android-x64": "0.28.
|
|
2532
|
-
"@esbuild/darwin-arm64": "0.28.
|
|
2533
|
-
"@esbuild/darwin-x64": "0.28.
|
|
2534
|
-
"@esbuild/freebsd-arm64": "0.28.
|
|
2535
|
-
"@esbuild/freebsd-x64": "0.28.
|
|
2536
|
-
"@esbuild/linux-arm": "0.28.
|
|
2537
|
-
"@esbuild/linux-arm64": "0.28.
|
|
2538
|
-
"@esbuild/linux-ia32": "0.28.
|
|
2539
|
-
"@esbuild/linux-loong64": "0.28.
|
|
2540
|
-
"@esbuild/linux-mips64el": "0.28.
|
|
2541
|
-
"@esbuild/linux-ppc64": "0.28.
|
|
2542
|
-
"@esbuild/linux-riscv64": "0.28.
|
|
2543
|
-
"@esbuild/linux-s390x": "0.28.
|
|
2544
|
-
"@esbuild/linux-x64": "0.28.
|
|
2545
|
-
"@esbuild/netbsd-arm64": "0.28.
|
|
2546
|
-
"@esbuild/netbsd-x64": "0.28.
|
|
2547
|
-
"@esbuild/openbsd-arm64": "0.28.
|
|
2548
|
-
"@esbuild/openbsd-x64": "0.28.
|
|
2549
|
-
"@esbuild/openharmony-arm64": "0.28.
|
|
2550
|
-
"@esbuild/sunos-x64": "0.28.
|
|
2551
|
-
"@esbuild/win32-arm64": "0.28.
|
|
2552
|
-
"@esbuild/win32-ia32": "0.28.
|
|
2553
|
-
"@esbuild/win32-x64": "0.28.
|
|
2529
|
+
"@esbuild/aix-ppc64": "0.28.2",
|
|
2530
|
+
"@esbuild/android-arm": "0.28.2",
|
|
2531
|
+
"@esbuild/android-arm64": "0.28.2",
|
|
2532
|
+
"@esbuild/android-x64": "0.28.2",
|
|
2533
|
+
"@esbuild/darwin-arm64": "0.28.2",
|
|
2534
|
+
"@esbuild/darwin-x64": "0.28.2",
|
|
2535
|
+
"@esbuild/freebsd-arm64": "0.28.2",
|
|
2536
|
+
"@esbuild/freebsd-x64": "0.28.2",
|
|
2537
|
+
"@esbuild/linux-arm": "0.28.2",
|
|
2538
|
+
"@esbuild/linux-arm64": "0.28.2",
|
|
2539
|
+
"@esbuild/linux-ia32": "0.28.2",
|
|
2540
|
+
"@esbuild/linux-loong64": "0.28.2",
|
|
2541
|
+
"@esbuild/linux-mips64el": "0.28.2",
|
|
2542
|
+
"@esbuild/linux-ppc64": "0.28.2",
|
|
2543
|
+
"@esbuild/linux-riscv64": "0.28.2",
|
|
2544
|
+
"@esbuild/linux-s390x": "0.28.2",
|
|
2545
|
+
"@esbuild/linux-x64": "0.28.2",
|
|
2546
|
+
"@esbuild/netbsd-arm64": "0.28.2",
|
|
2547
|
+
"@esbuild/netbsd-x64": "0.28.2",
|
|
2548
|
+
"@esbuild/openbsd-arm64": "0.28.2",
|
|
2549
|
+
"@esbuild/openbsd-x64": "0.28.2",
|
|
2550
|
+
"@esbuild/openharmony-arm64": "0.28.2",
|
|
2551
|
+
"@esbuild/sunos-x64": "0.28.2",
|
|
2552
|
+
"@esbuild/win32-arm64": "0.28.2",
|
|
2553
|
+
"@esbuild/win32-ia32": "0.28.2",
|
|
2554
|
+
"@esbuild/win32-x64": "0.28.2"
|
|
2554
2555
|
}
|
|
2555
2556
|
},
|
|
2556
2557
|
"node_modules/estree-walker": {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@astralyn/pi",
|
|
3
|
-
"version": "0.84.
|
|
3
|
+
"version": "0.84.16",
|
|
4
4
|
"description": "Coding agent CLI with read, bash, edit, write tools and session management",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"piConfig": {
|
|
@@ -33,7 +33,8 @@
|
|
|
33
33
|
],
|
|
34
34
|
"scripts": {
|
|
35
35
|
"clean": "shx rm -rf dist",
|
|
36
|
-
"build": "tsc -p tsconfig.build.json && shx chmod +x dist/cli.js dist/rpc-entry.js
|
|
36
|
+
"build": "tsc -p tsconfig.build.json && npm run copy-assets && npm run build:bundle && shx chmod +x dist/cli.js dist/rpc-entry.js",
|
|
37
|
+
"build:bundle": "node scripts/build-bundle.mjs",
|
|
37
38
|
"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/",
|
|
38
39
|
"dev": "node scripts/run-source.mjs",
|
|
39
40
|
"format": "biome check --write .",
|
|
@@ -87,6 +88,7 @@
|
|
|
87
88
|
"@types/proper-lockfile": "4.1.4",
|
|
88
89
|
"@types/semver": "7.7.1",
|
|
89
90
|
"@xterm/headless": "5.5.0",
|
|
91
|
+
"esbuild": "0.28.2",
|
|
90
92
|
"husky": "9.1.7",
|
|
91
93
|
"ms": "2.1.3",
|
|
92
94
|
"shx": "0.4.0",
|