pi-webapp 0.1.28 → 0.1.30
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/README.md +11 -9
- package/README.zh-CN.md +11 -9
- package/bin/pi-webapp.mjs +11 -3
- package/desktop/managed-release.mjs +8 -12
- package/desktop/release-version.mjs +36 -0
- package/dist/extension.js +26 -26
- package/docs/desktop.md +11 -3
- package/package.json +4 -2
- package/web/dist/.vite/manifest.json +23 -23
- package/web/dist/assets/{app-B6KN89oD.js → app-Cb2r7Ri7.js} +86 -86
- package/web/dist/assets/app.js +2 -2
- package/web/dist/assets/{graphql-y8zqvm7I.js → graphql-CDG2oCkQ.js} +1 -1
- package/web/dist/assets/{http-RvN4shOP.js → http-3REq0YIS.js} +1 -1
- package/web/dist/assets/{php-DYEaTBiJ.js → php-C8xvtRGv.js} +1 -1
- package/web/dist/assets/{plugin-Ct_K82sD.js → plugin-BZ_Kca0z.js} +1 -1
- package/web/dist/assets/{plugin-CWZjNBTB.js → plugin-Cjoz9oCO.js} +1 -1
- package/web/dist/assets/{plugin-DPe686Yq.js → plugin-DGrWsBrr.js} +1 -1
- package/web/dist/assets/{rst-GflBTkRB.js → rst-BGAE7FaU.js} +1 -1
- package/web/dist/assets/{ruby-h9QEI4Un.js → ruby-DmeSKaA6.js} +1 -1
- package/web/dist/assets/style.css +1 -1
- package/web/dist/assets/{svelte-Dnn1bF1c.js → svelte-CniepeiF.js} +1 -1
- package/web/dist/assets/{vue-VJMQoCXf.js → vue-D7FUWTjS.js} +1 -1
package/docs/desktop.md
CHANGED
|
@@ -176,7 +176,14 @@ separately from the desktop shell version/build.
|
|
|
176
176
|
exact-version/legacy checks. Breaking that protocol requires a shell update.
|
|
177
177
|
|
|
178
178
|
**Migration:** published build 8/9 shells do not advertise this capability and must
|
|
179
|
-
be replaced once with a
|
|
179
|
+
be replaced once with build 10 or a newer capable desktop shell. Build 10 can attach
|
|
180
|
+
to genuine npm 0.1.26/0.1.27 services with bridge-v1 metadata but no desktop protocol
|
|
181
|
+
marker: it verifies their exact known identity, then probes authenticated session and
|
|
182
|
+
initial event-snapshot schemas using GET only. It never stops or claims that service;
|
|
183
|
+
existing chats and terminals survive the attachment. Unknown versions/protocols still
|
|
184
|
+
fail closed. Once all work is idle, use the existing Web update UI to move that npm
|
|
185
|
+
service to a protocol-marked release. All four native release jobs verify this
|
|
186
|
+
migration against the genuine npm 0.1.27 package before publication. Updating npm alone
|
|
180
187
|
cannot add it to an already installed shell. Older shells continue to reject npm
|
|
181
188
|
updates rather than accidentally modifying their bundled runtime. A desktop window
|
|
182
189
|
attached to an existing npm-managed backend preserves that backend's update behavior.
|
|
@@ -205,7 +212,7 @@ keeps its existing name; this rename is for the native desktop application.
|
|
|
205
212
|
|
|
206
213
|
Download builds from **[GitHub Releases](https://github.com/chengzhiyi/pi-webapp/releases)**,
|
|
207
214
|
not the npm package, source ZIP or an expired Actions artifact. The current
|
|
208
|
-
build-
|
|
215
|
+
build-10 channel offers macOS arm64/Intel, Windows x64, and Linux x64 test installers.
|
|
209
216
|
Use each release's actual asset list and acceptance notes, not matrix configuration
|
|
210
217
|
alone, to determine support.
|
|
211
218
|
|
|
@@ -298,7 +305,8 @@ stay in Pi's existing data directory, not inside the application bundle.
|
|
|
298
305
|
|
|
299
306
|
- The desktop checks a live launcher's bridge version, token and authenticated
|
|
300
307
|
desktop protocol before attaching. Marked compatible backends may run a different
|
|
301
|
-
business-package version; unmarked backends
|
|
308
|
+
business-package version; unmarked backends require the exact app version except
|
|
309
|
+
the explicitly probed npm 0.1.26/0.1.27 migration allowlist. The released **0.1.19**
|
|
302
310
|
Web launcher predates these metadata fields: when they are absent, the desktop
|
|
303
311
|
also checks the authenticated session schema (v1) and the initial NDJSON
|
|
304
312
|
snapshot event before attaching. This is a narrow, tested legacy allowlist,
|
package/package.json
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "pi-webapp",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.30",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"piWebappDesktopProtocol": 1,
|
|
6
|
+
"piWebappDataVersion": 1,
|
|
6
7
|
"description": "A browser interface for Pi with live chat, workspaces, models, and attachments",
|
|
7
8
|
"repository": {
|
|
8
9
|
"type": "git",
|
|
@@ -16,7 +17,7 @@
|
|
|
16
17
|
"pi-webapp": "./bin/pi-webapp.mjs"
|
|
17
18
|
},
|
|
18
19
|
"pi": {
|
|
19
|
-
"image": "https://cdn.jsdelivr.net/npm/pi-webapp@0.1.
|
|
20
|
+
"image": "https://cdn.jsdelivr.net/npm/pi-webapp@0.1.30/assets/cover-webapp.png",
|
|
20
21
|
"extensions": [
|
|
21
22
|
"./dist/extension.js"
|
|
22
23
|
]
|
|
@@ -26,6 +27,7 @@
|
|
|
26
27
|
"assets/readme",
|
|
27
28
|
"bin",
|
|
28
29
|
"desktop/managed-release.mjs",
|
|
30
|
+
"desktop/release-version.mjs",
|
|
29
31
|
"desktop/check-pty.cjs",
|
|
30
32
|
"dist",
|
|
31
33
|
"web/dist",
|
|
@@ -122,13 +122,13 @@
|
|
|
122
122
|
"isDynamicEntry": true
|
|
123
123
|
},
|
|
124
124
|
"../../node_modules/@shikijs/langs/dist/graphql.mjs": {
|
|
125
|
-
"file": "assets/graphql-
|
|
125
|
+
"file": "assets/graphql-CDG2oCkQ.js",
|
|
126
126
|
"name": "graphql",
|
|
127
127
|
"src": "../../node_modules/@shikijs/langs/dist/graphql.mjs",
|
|
128
128
|
"isDynamicEntry": true,
|
|
129
129
|
"imports": [
|
|
130
130
|
"_javascript-D_ijBMSX.js",
|
|
131
|
-
"_app-
|
|
131
|
+
"_app-Cb2r7Ri7.js",
|
|
132
132
|
"index.html"
|
|
133
133
|
]
|
|
134
134
|
},
|
|
@@ -161,12 +161,12 @@
|
|
|
161
161
|
]
|
|
162
162
|
},
|
|
163
163
|
"../../node_modules/@shikijs/langs/dist/http.mjs": {
|
|
164
|
-
"file": "assets/http-
|
|
164
|
+
"file": "assets/http-3REq0YIS.js",
|
|
165
165
|
"name": "http",
|
|
166
166
|
"src": "../../node_modules/@shikijs/langs/dist/http.mjs",
|
|
167
167
|
"isDynamicEntry": true,
|
|
168
168
|
"imports": [
|
|
169
|
-
"_app-
|
|
169
|
+
"_app-Cb2r7Ri7.js",
|
|
170
170
|
"../../node_modules/@shikijs/langs/dist/xml.mjs",
|
|
171
171
|
"../../node_modules/@shikijs/langs/dist/graphql.mjs",
|
|
172
172
|
"index.html",
|
|
@@ -275,7 +275,7 @@
|
|
|
275
275
|
]
|
|
276
276
|
},
|
|
277
277
|
"../../node_modules/@shikijs/langs/dist/php.mjs": {
|
|
278
|
-
"file": "assets/php-
|
|
278
|
+
"file": "assets/php-C8xvtRGv.js",
|
|
279
279
|
"name": "php",
|
|
280
280
|
"src": "../../node_modules/@shikijs/langs/dist/php.mjs",
|
|
281
281
|
"isDynamicEntry": true,
|
|
@@ -284,7 +284,7 @@
|
|
|
284
284
|
"../../node_modules/@shikijs/langs/dist/xml.mjs",
|
|
285
285
|
"../../node_modules/@shikijs/langs/dist/sql.mjs",
|
|
286
286
|
"_javascript-D_ijBMSX.js",
|
|
287
|
-
"_app-
|
|
287
|
+
"_app-Cb2r7Ri7.js",
|
|
288
288
|
"../../node_modules/@shikijs/langs/dist/css.mjs",
|
|
289
289
|
"../../node_modules/@shikijs/langs/dist/java.mjs",
|
|
290
290
|
"index.html"
|
|
@@ -315,7 +315,7 @@
|
|
|
315
315
|
"isDynamicEntry": true
|
|
316
316
|
},
|
|
317
317
|
"../../node_modules/@shikijs/langs/dist/rst.mjs": {
|
|
318
|
-
"file": "assets/rst-
|
|
318
|
+
"file": "assets/rst-BGAE7FaU.js",
|
|
319
319
|
"name": "rst",
|
|
320
320
|
"src": "../../node_modules/@shikijs/langs/dist/rst.mjs",
|
|
321
321
|
"isDynamicEntry": true,
|
|
@@ -324,7 +324,7 @@
|
|
|
324
324
|
"../../node_modules/@shikijs/langs/dist/cpp.mjs",
|
|
325
325
|
"../../node_modules/@shikijs/langs/dist/python.mjs",
|
|
326
326
|
"_javascript-D_ijBMSX.js",
|
|
327
|
-
"_app-
|
|
327
|
+
"_app-Cb2r7Ri7.js",
|
|
328
328
|
"../../node_modules/@shikijs/langs/dist/yaml.mjs",
|
|
329
329
|
"../../node_modules/@shikijs/langs/dist/cmake.mjs",
|
|
330
330
|
"../../node_modules/@shikijs/langs/dist/ruby.mjs",
|
|
@@ -340,7 +340,7 @@
|
|
|
340
340
|
]
|
|
341
341
|
},
|
|
342
342
|
"../../node_modules/@shikijs/langs/dist/ruby.mjs": {
|
|
343
|
-
"file": "assets/ruby-
|
|
343
|
+
"file": "assets/ruby-DmeSKaA6.js",
|
|
344
344
|
"name": "ruby",
|
|
345
345
|
"src": "../../node_modules/@shikijs/langs/dist/ruby.mjs",
|
|
346
346
|
"isDynamicEntry": true,
|
|
@@ -353,7 +353,7 @@
|
|
|
353
353
|
"../../node_modules/@shikijs/langs/dist/graphql.mjs",
|
|
354
354
|
"../../node_modules/@shikijs/langs/dist/cpp.mjs",
|
|
355
355
|
"../../node_modules/@shikijs/langs/dist/c.mjs",
|
|
356
|
-
"_app-
|
|
356
|
+
"_app-Cb2r7Ri7.js",
|
|
357
357
|
"../../node_modules/@shikijs/langs/dist/lua.mjs",
|
|
358
358
|
"../../node_modules/@shikijs/langs/dist/yaml.mjs",
|
|
359
359
|
"../../node_modules/@shikijs/langs/dist/java.mjs",
|
|
@@ -388,13 +388,13 @@
|
|
|
388
388
|
"isDynamicEntry": true
|
|
389
389
|
},
|
|
390
390
|
"../../node_modules/@shikijs/langs/dist/svelte.mjs": {
|
|
391
|
-
"file": "assets/svelte-
|
|
391
|
+
"file": "assets/svelte-CniepeiF.js",
|
|
392
392
|
"name": "svelte",
|
|
393
393
|
"src": "../../node_modules/@shikijs/langs/dist/svelte.mjs",
|
|
394
394
|
"isDynamicEntry": true,
|
|
395
395
|
"imports": [
|
|
396
396
|
"_javascript-D_ijBMSX.js",
|
|
397
|
-
"_app-
|
|
397
|
+
"_app-Cb2r7Ri7.js",
|
|
398
398
|
"../../node_modules/@shikijs/langs/dist/css.mjs",
|
|
399
399
|
"index.html"
|
|
400
400
|
]
|
|
@@ -430,14 +430,14 @@
|
|
|
430
430
|
"isDynamicEntry": true
|
|
431
431
|
},
|
|
432
432
|
"../../node_modules/@shikijs/langs/dist/vue.mjs": {
|
|
433
|
-
"file": "assets/vue-
|
|
433
|
+
"file": "assets/vue-D7FUWTjS.js",
|
|
434
434
|
"name": "vue",
|
|
435
435
|
"src": "../../node_modules/@shikijs/langs/dist/vue.mjs",
|
|
436
436
|
"isDynamicEntry": true,
|
|
437
437
|
"imports": [
|
|
438
438
|
"../../node_modules/@shikijs/langs/dist/css.mjs",
|
|
439
439
|
"_javascript-D_ijBMSX.js",
|
|
440
|
-
"_app-
|
|
440
|
+
"_app-Cb2r7Ri7.js",
|
|
441
441
|
"../../node_modules/@shikijs/langs/dist/html.mjs",
|
|
442
442
|
"_html-derivative-C2Epw9Yg.js",
|
|
443
443
|
"index.html"
|
|
@@ -704,37 +704,37 @@
|
|
|
704
704
|
]
|
|
705
705
|
},
|
|
706
706
|
"../../src/plugins/builtin/files/client/plugin.tsx": {
|
|
707
|
-
"file": "assets/plugin-
|
|
707
|
+
"file": "assets/plugin-Cjoz9oCO.js",
|
|
708
708
|
"name": "plugin",
|
|
709
709
|
"src": "../../src/plugins/builtin/files/client/plugin.tsx",
|
|
710
710
|
"isDynamicEntry": true,
|
|
711
711
|
"imports": [
|
|
712
|
-
"_app-
|
|
712
|
+
"_app-Cb2r7Ri7.js",
|
|
713
713
|
"index.html"
|
|
714
714
|
]
|
|
715
715
|
},
|
|
716
716
|
"../../src/plugins/builtin/git/client/plugin.tsx": {
|
|
717
|
-
"file": "assets/plugin-
|
|
717
|
+
"file": "assets/plugin-BZ_Kca0z.js",
|
|
718
718
|
"name": "plugin",
|
|
719
719
|
"src": "../../src/plugins/builtin/git/client/plugin.tsx",
|
|
720
720
|
"isDynamicEntry": true,
|
|
721
721
|
"imports": [
|
|
722
|
-
"_app-
|
|
722
|
+
"_app-Cb2r7Ri7.js",
|
|
723
723
|
"index.html"
|
|
724
724
|
]
|
|
725
725
|
},
|
|
726
726
|
"../../src/plugins/builtin/terminal/client/plugin.tsx": {
|
|
727
|
-
"file": "assets/plugin-
|
|
727
|
+
"file": "assets/plugin-DGrWsBrr.js",
|
|
728
728
|
"name": "plugin",
|
|
729
729
|
"src": "../../src/plugins/builtin/terminal/client/plugin.tsx",
|
|
730
730
|
"isDynamicEntry": true,
|
|
731
731
|
"imports": [
|
|
732
|
-
"_app-
|
|
732
|
+
"_app-Cb2r7Ri7.js",
|
|
733
733
|
"index.html"
|
|
734
734
|
]
|
|
735
735
|
},
|
|
736
|
-
"_app-
|
|
737
|
-
"file": "assets/app-
|
|
736
|
+
"_app-Cb2r7Ri7.js": {
|
|
737
|
+
"file": "assets/app-Cb2r7Ri7.js",
|
|
738
738
|
"name": "app",
|
|
739
739
|
"isDynamicEntry": true,
|
|
740
740
|
"imports": [
|
|
@@ -882,7 +882,7 @@
|
|
|
882
882
|
"isEntry": true,
|
|
883
883
|
"dynamicImports": [
|
|
884
884
|
"../../src/host/client/telemetry-client.ts",
|
|
885
|
-
"_app-
|
|
885
|
+
"_app-Cb2r7Ri7.js"
|
|
886
886
|
]
|
|
887
887
|
},
|
|
888
888
|
"style.css": {
|