@silgrid/pi-web 0.0.6 → 0.0.7
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/.next/BUILD_ID +1 -1
- package/.next/app-path-routes-manifest.json +9 -9
- package/.next/build-manifest.json +2 -2
- package/.next/prerender-manifest.json +3 -3
- package/.next/required-server-files.js +2 -2
- package/.next/required-server-files.json +2 -2
- package/.next/server/app/_global-error/page_client-reference-manifest.js +1 -1
- package/.next/server/app/_global-error.html +1 -1
- package/.next/server/app/_global-error.rsc +1 -1
- package/.next/server/app/_global-error.segments/_full.segment.rsc +1 -1
- package/.next/server/app/_global-error.segments/_global-error/__PAGE__.segment.rsc +1 -1
- package/.next/server/app/_global-error.segments/_tree.segment.rsc +1 -1
- package/.next/server/app/_not-found/page_client-reference-manifest.js +1 -1
- package/.next/server/app/_not-found.html +1 -1
- package/.next/server/app/_not-found.rsc +2 -2
- package/.next/server/app/_not-found.segments/_full.segment.rsc +2 -2
- package/.next/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc +2 -2
- package/.next/server/app/_not-found.segments/_tree.segment.rsc +1 -1
- package/.next/server/app/api/app-update/route.js +1 -1
- package/.next/server/app/index.html +1 -1
- package/.next/server/app/index.rsc +4 -4
- package/.next/server/app/index.segments/__PAGE__.segment.rsc +4 -4
- package/.next/server/app/index.segments/_full.segment.rsc +4 -4
- package/.next/server/app/index.segments/_tree.segment.rsc +1 -1
- package/.next/server/app/login/page_client-reference-manifest.js +1 -1
- package/.next/server/app/login.html +1 -1
- package/.next/server/app/login.rsc +2 -2
- package/.next/server/app/login.segments/_full.segment.rsc +2 -2
- package/.next/server/app/login.segments/_tree.segment.rsc +1 -1
- package/.next/server/app/login.segments/login/__PAGE__.segment.rsc +2 -2
- package/.next/server/app/page.js +2 -2
- package/.next/server/app/page_client-reference-manifest.js +1 -1
- package/.next/server/app-paths-manifest.json +9 -9
- package/.next/server/middleware-build-manifest.js +1 -1
- package/.next/server/pages/404.html +1 -1
- package/.next/server/pages/500.html +1 -1
- package/.next/server/server-reference-manifest.json +1 -1
- package/.next/static/chunks/app/{layout-b5e16cd7b4c02b78.js → layout-17e263fe010a6a66.js} +1 -1
- package/.next/static/chunks/app/{page-b2fd1d7fb9a8f791.js → page-af6dfbc74f2191e6.js} +2 -2
- package/.next/trace +40 -40
- package/.next/trace-build +1 -1
- package/deploy-piweb.sh +1 -1
- package/next.config.ts +9 -0
- package/package.json +1 -1
- /package/.next/static/{LoQ34CHxoWDi1H0pZ8V5C → KNYsOgoq--Ba6lozIl9be}/_buildManifest.js +0 -0
- /package/.next/static/{LoQ34CHxoWDi1H0pZ8V5C → KNYsOgoq--Ba6lozIl9be}/_ssgManifest.js +0 -0
package/.next/trace-build
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
[{"name":"run-webpack","duration":
|
|
1
|
+
[{"name":"run-webpack","duration":33541893,"timestamp":53862764,"id":14,"parentId":1,"tags":{},"startTime":1790121912348,"traceId":"fd2dcfd62ae4df20"},{"name":"run-typescript","duration":14370560,"timestamp":87412434,"id":8510,"parentId":1,"tags":{},"startTime":1790121945898,"traceId":"fd2dcfd62ae4df20"},{"name":"static-check","duration":2460213,"timestamp":101797746,"id":8513,"parentId":1,"tags":{},"startTime":1790121960283,"traceId":"fd2dcfd62ae4df20"},{"name":"static-generation","duration":5659721,"timestamp":104561314,"id":8643,"parentId":1,"tags":{},"startTime":1790121963047,"traceId":"fd2dcfd62ae4df20"},{"name":"collect-build-traces","duration":41607395,"timestamp":104260665,"id":8640,"parentId":1,"tags":{},"startTime":1790121962746,"traceId":"fd2dcfd62ae4df20"},{"name":"telemetry-flush","duration":50,"timestamp":145871406,"id":8652,"parentId":1,"tags":{},"startTime":1790122004357,"traceId":"fd2dcfd62ae4df20"},{"name":"next-build","duration":92264362,"timestamp":53607103,"id":1,"tags":{"buildMode":"default","version":"16.3.5","bundler":"webpack","has-custom-webpack-config":"false","use-build-worker":"true"},"startTime":1790121912092,"traceId":"fd2dcfd62ae4df20"}]
|
package/deploy-piweb.sh
CHANGED
|
@@ -43,7 +43,7 @@ echo "==> Restarting tmux session '${SESSION}'"
|
|
|
43
43
|
tmux kill-session -t "${SESSION}" 2>/dev/null || true
|
|
44
44
|
tmux new-session -d -s "${SESSION}" "
|
|
45
45
|
while true; do
|
|
46
|
-
PI_WEB_IDLE_TIMEOUT_MS=0 ${PI_WEB_PASSWORD:+PI_WEB_PASSWORD='${PI_WEB_PASSWORD}'} pi-web -H ${HOST} ${PIWEB_PORT:+--port ${PIWEB_PORT}}
|
|
46
|
+
PI_WEB_IDLE_TIMEOUT_MS=0 ${PI_WEB_PASSWORD:+PI_WEB_PASSWORD='${PI_WEB_PASSWORD}'} ${PI_WEB_ALLOWED_HOSTS:+PI_WEB_ALLOWED_HOSTS='${PI_WEB_ALLOWED_HOSTS}'} pi-web -H ${HOST} ${PIWEB_PORT:+--port ${PIWEB_PORT}}
|
|
47
47
|
echo '[piweb] pi-web exited; restarting in 5s' >&2
|
|
48
48
|
sleep 5
|
|
49
49
|
done
|
package/next.config.ts
CHANGED
|
@@ -13,6 +13,15 @@ try {
|
|
|
13
13
|
|
|
14
14
|
const nextConfig: NextConfig = {
|
|
15
15
|
outputFileTracingRoot: configDir,
|
|
16
|
+
// Serve HTML and static responses UNCOMPRESSED. The Capacitor Android
|
|
17
|
+
// proxy (WebViewLocalServer.handleProxyRequest) fetches main-frame HTML
|
|
18
|
+
// with the WebView's Accept-Encoding: gzip copied verbatim and then
|
|
19
|
+
// reads the gzip body as UTF-8 text to splice the runtime in — a gzipped
|
|
20
|
+
// response arrives as mojibake and the WebView fails with
|
|
21
|
+
// "This page couldn't load" (device pass, pi#31). Self-hosted LAN
|
|
22
|
+
// deployments don't need server-side gzip; browsers handle their own
|
|
23
|
+
// content-encoding on every non-proxied request.
|
|
24
|
+
compress: false,
|
|
16
25
|
experimental: {
|
|
17
26
|
// proxy.ts matches /api/:path*, and Next buffers the request body whenever
|
|
18
27
|
// a proxy is present, capped at 10 MB by default. The upload route accepts
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@silgrid/pi-web",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.7",
|
|
4
4
|
"description": "Fork of @agegr/pi-web: local web UI for the pi coding agent with split-pane chat and background task panels",
|
|
5
5
|
"homepage": "https://github.com/silgrid/pi-web#readme",
|
|
6
6
|
"repository": {
|
|
File without changes
|
|
File without changes
|