@firstpick/pi-package-webui 0.3.7 → 0.3.9
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 +2 -1
- package/WEBUI_TUI_NATIVE_PARITY.json +22 -22
- package/bin/pi-webui.mjs +259 -112
- package/images/WebUI_v0.3.7.png +0 -0
- package/index.ts +15 -4
- package/lib/auth-actions.mjs +81 -0
- package/lib/native-command-adapter.mjs +220 -0
- package/lib/session-actions.mjs +134 -0
- package/lib/temp-artifacts.mjs +34 -0
- package/lib/trust-boundaries.mjs +141 -0
- package/package.json +8 -4
- package/public/app.js +554 -94
- package/public/index.html +2 -2
- package/public/service-worker.js +23 -9
- package/public/styles.css +111 -0
- package/start-webui.sh +6 -5
- package/tests/fixtures/fake-pi.mjs +73 -0
- package/tests/http-endpoints-harness.test.mjs +146 -0
- package/tests/mobile-static.test.mjs +45 -21
- package/tests/native-parity-harness.test.mjs +147 -0
- package/tests/native-parity.test.mjs +25 -6
- package/tests/run-all.mjs +19 -0
- package/tests/session-auth-harness.test.mjs +140 -0
- package/tests/temp-artifacts-harness.test.mjs +38 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@firstpick/pi-package-webui",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.9",
|
|
4
4
|
"description": "Pi Web UI companion package with a local browser UI CLI plus /webui-start and /webui-status commands.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"homepage": "https://github.com/Firstp1ck/npm-packages/tree/main/pi-package-webui#readme",
|
|
@@ -20,12 +20,13 @@
|
|
|
20
20
|
"extension"
|
|
21
21
|
],
|
|
22
22
|
"pi": {
|
|
23
|
-
"image": "https://unpkg.com/@firstpick/pi-package-webui/images/
|
|
23
|
+
"image": "https://unpkg.com/@firstpick/pi-package-webui/images/WebUI_v0.3.7.png",
|
|
24
24
|
"extensions": [
|
|
25
25
|
"./index.ts",
|
|
26
26
|
"../pi-extension-git-footer-status/index.ts",
|
|
27
27
|
"../pi-extension-release-aur/index.ts",
|
|
28
28
|
"../pi-extension-release-npm/index.ts",
|
|
29
|
+
"../pi-extension-safety-guard/index.ts",
|
|
29
30
|
"../pi-extension-setup-skills/index.ts",
|
|
30
31
|
"../pi-extension-stats/index.ts",
|
|
31
32
|
"../pi-extension-todo-progress/index.ts",
|
|
@@ -33,6 +34,7 @@
|
|
|
33
34
|
"node_modules/@firstpick/pi-extension-git-footer-status/index.ts",
|
|
34
35
|
"node_modules/@firstpick/pi-extension-release-aur/index.ts",
|
|
35
36
|
"node_modules/@firstpick/pi-extension-release-npm/index.ts",
|
|
37
|
+
"node_modules/@firstpick/pi-extension-safety-guard/index.ts",
|
|
36
38
|
"node_modules/@firstpick/pi-extension-setup-skills/index.ts",
|
|
37
39
|
"node_modules/@firstpick/pi-extension-stats/index.ts",
|
|
38
40
|
"node_modules/@firstpick/pi-extension-todo-progress/index.ts",
|
|
@@ -55,8 +57,8 @@
|
|
|
55
57
|
"pi-webui": "./bin/pi-webui.mjs"
|
|
56
58
|
},
|
|
57
59
|
"scripts": {
|
|
58
|
-
"check": "node --check public/app.js && node --check bin/pi-webui.mjs && node --check webui-rpc-helper.mjs && node
|
|
59
|
-
"test": "node tests/
|
|
60
|
+
"check": "node --check public/app.js && node --check bin/pi-webui.mjs && node --check webui-rpc-helper.mjs && node --check lib/trust-boundaries.mjs && node --check lib/native-command-adapter.mjs && node --check lib/session-actions.mjs && node --check lib/auth-actions.mjs && node --check lib/temp-artifacts.mjs && node tests/run-all.mjs",
|
|
61
|
+
"test": "node tests/run-all.mjs"
|
|
60
62
|
},
|
|
61
63
|
"dependencies": {
|
|
62
64
|
"@earendil-works/pi-coding-agent": "^0.78.0"
|
|
@@ -65,6 +67,7 @@
|
|
|
65
67
|
"@firstpick/pi-extension-git-footer-status": "^0.2.1",
|
|
66
68
|
"@firstpick/pi-extension-release-aur": "^0.1.3",
|
|
67
69
|
"@firstpick/pi-extension-release-npm": "^0.3.3",
|
|
70
|
+
"@firstpick/pi-extension-safety-guard": "^0.2.3",
|
|
68
71
|
"@firstpick/pi-extension-setup-skills": "^0.1.5",
|
|
69
72
|
"@firstpick/pi-extension-stats": "^0.2.0",
|
|
70
73
|
"@firstpick/pi-extension-todo-progress": "^0.1.7",
|
|
@@ -74,6 +77,7 @@
|
|
|
74
77
|
},
|
|
75
78
|
"files": [
|
|
76
79
|
"index.ts",
|
|
80
|
+
"lib",
|
|
77
81
|
"webui-rpc-helper.mjs",
|
|
78
82
|
"bin",
|
|
79
83
|
"public",
|