@qt4798/pi-web 0.9.17-beta.1 → 0.9.17-beta.3
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 +5 -4
- package/.next/build-manifest.json +2 -2
- package/.next/required-server-files.js +1 -1
- package/.next/required-server-files.json +1 -1
- package/.next/routes-manifest.json +6 -0
- package/.next/server/app/_global-error/page.js +3 -3
- 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/_global-error.segment.rsc +1 -1
- package/.next/server/app/_global-error.segments/_head.segment.rsc +1 -1
- package/.next/server/app/_global-error.segments/_index.segment.rsc +1 -1
- package/.next/server/app/_global-error.segments/_tree.segment.rsc +1 -1
- package/.next/server/app/_not-found/page.js +2 -2
- 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/_head.segment.rsc +1 -1
- package/.next/server/app/_not-found.segments/_index.segment.rsc +2 -2
- package/.next/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc +1 -1
- package/.next/server/app/_not-found.segments/_not-found.segment.rsc +1 -1
- package/.next/server/app/_not-found.segments/_tree.segment.rsc +2 -2
- package/.next/server/app/api/agent/[id]/bash-output/route.js +1 -1
- package/.next/server/app/api/agent/[id]/events/route.js +2 -2
- package/.next/server/app/api/agent/[id]/events/route.js.nft.json +1 -1
- package/.next/server/app/api/agent/[id]/route.js +1 -1
- package/.next/server/app/api/agent/[id]/route.js.nft.json +1 -1
- package/.next/server/app/api/agent/new/route.js +1 -1
- package/.next/server/app/api/agent/new/route.js.nft.json +1 -1
- package/.next/server/app/api/agent/running/route.js +1 -1
- package/.next/server/app/api/agent/running/route.js.nft.json +1 -1
- package/.next/server/app/api/auth/all-providers/route.js +1 -1
- package/.next/server/app/api/auth/api-key/[provider]/route.js +1 -1
- package/.next/server/app/api/auth/login/[provider]/route.js +1 -1
- package/.next/server/app/api/auth/logout/[provider]/route.js +1 -1
- package/.next/server/app/api/auth/providers/route.js +1 -1
- package/.next/server/app/api/backup/export/route.js +1 -1
- package/.next/server/app/api/backup/import/route.js +1 -1
- package/.next/server/app/api/cwd/browse/route.js +1 -1
- package/.next/server/app/api/cwd/validate/route.js +1 -1
- package/.next/server/app/api/default-cwd/route.js +1 -1
- package/.next/server/app/api/features/route.js +1 -1
- package/.next/server/app/api/features/route.js.nft.json +1 -1
- package/.next/server/app/api/file-index/route.js +1 -1
- package/.next/server/app/api/files/[...path]/route.js +1 -1
- package/.next/server/app/api/git/diff/route.js +1 -1
- package/.next/server/app/api/git/push/route.js +1 -1
- package/.next/server/app/api/git/stash/route.js +1 -1
- package/.next/server/app/api/git/status/route.js +2 -2
- package/.next/server/app/api/home/route.js +1 -1
- package/.next/server/app/api/import/discover/route.js +1 -1
- package/.next/server/app/api/import/execute/route.js +1 -1
- package/.next/server/app/api/import/status/route.js +1 -1
- package/.next/server/app/api/models/route.js +1 -1
- package/.next/server/app/api/models/route.js.nft.json +1 -1
- package/.next/server/app/api/models-config/builtin/route.js +1 -1
- package/.next/server/app/api/models-config/catalog/route.js +1 -1
- package/.next/server/app/api/models-config/discover/route.js +1 -1
- package/.next/server/app/api/models-config/route.js +1 -1
- package/.next/server/app/api/models-config/test/route.js +1 -1
- package/.next/server/app/api/models-config/test/route.js.nft.json +1 -1
- package/.next/server/app/api/modes/route.js +1 -0
- package/.next/server/app/api/modes/route.js.nft.json +1 -0
- package/.next/server/app/api/modes/route_client-reference-manifest.js +1 -0
- package/.next/server/app/api/plugins/route.js +1 -1
- package/.next/server/app/api/project-trust/route.js +1 -1
- package/.next/server/app/api/project-trust/route.js.nft.json +1 -1
- package/.next/server/app/api/proxy/route.js +1 -1
- package/.next/server/app/api/proxy/test/route.js +1 -1
- package/.next/server/app/api/sessions/[id]/auto-name/route.js +3 -3
- package/.next/server/app/api/sessions/[id]/auto-name/route.js.nft.json +1 -1
- package/.next/server/app/api/sessions/[id]/context/route.js +1 -1
- package/.next/server/app/api/sessions/[id]/entries/[entryId]/thinking/route.js +1 -1
- package/.next/server/app/api/sessions/[id]/export/route.js +2 -2
- package/.next/server/app/api/sessions/[id]/queue-recovery/route.js +1 -1
- package/.next/server/app/api/sessions/[id]/queue-recovery/route.js.nft.json +1 -1
- package/.next/server/app/api/sessions/[id]/route.js +1 -1
- package/.next/server/app/api/sessions/[id]/route.js.nft.json +1 -1
- package/.next/server/app/api/sessions/[id]/state/route.js +1 -1
- package/.next/server/app/api/sessions/[id]/state/route.js.nft.json +1 -1
- package/.next/server/app/api/sessions/route.js +1 -1
- package/.next/server/app/api/sessions/route.js.nft.json +1 -1
- package/.next/server/app/api/settings/title-model/route.js +1 -1
- package/.next/server/app/api/settings/title-model/route.js.nft.json +1 -1
- package/.next/server/app/api/skills/check/route.js +1 -1
- package/.next/server/app/api/skills/install/route.js +1 -1
- package/.next/server/app/api/skills/route.js +1 -1
- package/.next/server/app/api/skills/search/route.js +1 -1
- package/.next/server/app/api/skills/update/route.js +1 -1
- package/.next/server/app/api/tasks/[id]/[action]/route.js +1 -1
- package/.next/server/app/api/tasks/[id]/[action]/route.js.nft.json +1 -1
- package/.next/server/app/api/tasks/[id]/changed-files/route.js +2 -2
- package/.next/server/app/api/tasks/[id]/diff/route.js +2 -2
- package/.next/server/app/api/tasks/[id]/events/route.js +1 -1
- package/.next/server/app/api/tasks/[id]/route.js +1 -1
- package/.next/server/app/api/tasks/[id]/route.js.nft.json +1 -1
- package/.next/server/app/api/tasks/batch/route.js +1 -1
- package/.next/server/app/api/tasks/batch/route.js.nft.json +1 -1
- package/.next/server/app/api/tasks/events/route.js +2 -2
- package/.next/server/app/api/tasks/events/route.js.nft.json +1 -1
- package/.next/server/app/api/tasks/route.js +1 -1
- package/.next/server/app/api/tasks/route.js.nft.json +1 -1
- package/.next/server/app/api/tasks/settings/route.js +1 -1
- package/.next/server/app/api/tasks/settings/route.js.nft.json +1 -1
- package/.next/server/app/api/tasks/templates/route.js +1 -1
- package/.next/server/app/api/themes/[name]/route.js +1 -1
- package/.next/server/app/api/themes/route.js +1 -1
- package/.next/server/app/api/usage/route.js +1 -1
- package/.next/server/app/api/worktrees/route.js +1 -1
- package/.next/server/app/icon.ico/route.js +1 -1
- package/.next/server/app/icon.png/route.js +1 -1
- package/.next/server/app/icon.svg/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 +3 -3
- package/.next/server/app/index.segments/_full.segment.rsc +4 -4
- package/.next/server/app/index.segments/_head.segment.rsc +1 -1
- package/.next/server/app/index.segments/_index.segment.rsc +2 -2
- package/.next/server/app/index.segments/_tree.segment.rsc +2 -2
- package/.next/server/app/page.js +35 -7
- package/.next/server/app/page_client-reference-manifest.js +1 -1
- package/.next/server/app-paths-manifest.json +5 -4
- package/.next/server/chunks/2349.js +2 -2
- package/.next/server/chunks/4253.js +2 -2
- package/.next/server/chunks/440.js +1 -1
- package/.next/server/chunks/4735.js +1 -0
- package/.next/server/chunks/5582.js +1 -1
- package/.next/server/chunks/6429.js +1 -1
- package/.next/server/chunks/7774.js +1 -1
- package/.next/server/chunks/7915.js +1 -1
- package/.next/server/instrumentation.js +1 -1
- 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/static/chunks/6274-04455fad317a49e9.js +1 -0
- package/.next/static/chunks/app/{api/agent/[id]/route-fc8ab8f162e8d6f5.js → _global-error/page-3be1b7dbe464ad95.js} +1 -1
- package/.next/static/chunks/app/{_global-error/page-fc8ab8f162e8d6f5.js → api/agent/[id]/bash-output/route-3be1b7dbe464ad95.js} +1 -1
- package/.next/static/chunks/app/api/agent/[id]/{bash-output/route-fc8ab8f162e8d6f5.js → events/route-3be1b7dbe464ad95.js} +1 -1
- package/.next/static/chunks/app/api/agent/[id]/{events/route-fc8ab8f162e8d6f5.js → route-3be1b7dbe464ad95.js} +1 -1
- package/.next/static/chunks/app/api/agent/new/route-3be1b7dbe464ad95.js +1 -0
- package/.next/static/chunks/app/api/agent/running/route-3be1b7dbe464ad95.js +1 -0
- package/.next/static/chunks/app/api/auth/all-providers/route-3be1b7dbe464ad95.js +1 -0
- package/.next/static/chunks/app/api/auth/api-key/[provider]/route-3be1b7dbe464ad95.js +1 -0
- package/.next/static/chunks/app/api/auth/login/[provider]/route-3be1b7dbe464ad95.js +1 -0
- package/.next/static/chunks/app/api/auth/logout/[provider]/route-3be1b7dbe464ad95.js +1 -0
- package/.next/static/chunks/app/api/auth/providers/route-3be1b7dbe464ad95.js +1 -0
- package/.next/static/chunks/app/api/backup/export/route-3be1b7dbe464ad95.js +1 -0
- package/.next/static/chunks/app/api/backup/import/route-3be1b7dbe464ad95.js +1 -0
- package/.next/static/chunks/app/api/cwd/browse/route-3be1b7dbe464ad95.js +1 -0
- package/.next/static/chunks/app/api/cwd/validate/route-3be1b7dbe464ad95.js +1 -0
- package/.next/static/chunks/app/api/default-cwd/route-3be1b7dbe464ad95.js +1 -0
- package/.next/static/chunks/app/api/features/route-3be1b7dbe464ad95.js +1 -0
- package/.next/static/chunks/app/api/file-index/route-3be1b7dbe464ad95.js +1 -0
- package/.next/static/chunks/app/api/files/[...path]/route-3be1b7dbe464ad95.js +1 -0
- package/.next/static/chunks/app/api/git/diff/route-3be1b7dbe464ad95.js +1 -0
- package/.next/static/chunks/app/api/git/push/route-3be1b7dbe464ad95.js +1 -0
- package/.next/static/chunks/app/api/git/stash/route-3be1b7dbe464ad95.js +1 -0
- package/.next/static/chunks/app/api/git/status/route-3be1b7dbe464ad95.js +1 -0
- package/.next/static/chunks/app/api/home/route-3be1b7dbe464ad95.js +1 -0
- package/.next/static/chunks/app/api/import/discover/route-3be1b7dbe464ad95.js +1 -0
- package/.next/static/chunks/app/api/import/execute/route-3be1b7dbe464ad95.js +1 -0
- package/.next/static/chunks/app/api/import/status/route-3be1b7dbe464ad95.js +1 -0
- package/.next/static/chunks/app/api/models/route-3be1b7dbe464ad95.js +1 -0
- package/.next/static/chunks/app/api/models-config/builtin/route-3be1b7dbe464ad95.js +1 -0
- package/.next/static/chunks/app/api/models-config/catalog/route-3be1b7dbe464ad95.js +1 -0
- package/.next/static/chunks/app/api/models-config/discover/route-3be1b7dbe464ad95.js +1 -0
- package/.next/static/chunks/app/api/models-config/route-3be1b7dbe464ad95.js +1 -0
- package/.next/static/chunks/app/api/models-config/test/route-3be1b7dbe464ad95.js +1 -0
- package/.next/static/chunks/app/api/modes/route-3be1b7dbe464ad95.js +1 -0
- package/.next/static/chunks/app/api/plugins/route-3be1b7dbe464ad95.js +1 -0
- package/.next/static/chunks/app/api/project-trust/route-3be1b7dbe464ad95.js +1 -0
- package/.next/static/chunks/app/api/proxy/route-3be1b7dbe464ad95.js +1 -0
- package/.next/static/chunks/app/api/proxy/test/route-3be1b7dbe464ad95.js +1 -0
- package/.next/static/chunks/app/api/sessions/[id]/auto-name/route-3be1b7dbe464ad95.js +1 -0
- package/.next/static/chunks/app/api/sessions/[id]/context/route-3be1b7dbe464ad95.js +1 -0
- package/.next/static/chunks/app/api/sessions/[id]/entries/[entryId]/thinking/route-3be1b7dbe464ad95.js +1 -0
- package/.next/static/chunks/app/api/sessions/[id]/export/route-3be1b7dbe464ad95.js +1 -0
- package/.next/static/chunks/app/api/sessions/[id]/queue-recovery/route-3be1b7dbe464ad95.js +1 -0
- package/.next/static/chunks/app/api/sessions/[id]/route-3be1b7dbe464ad95.js +1 -0
- package/.next/static/chunks/app/api/sessions/[id]/state/route-3be1b7dbe464ad95.js +1 -0
- package/.next/static/chunks/app/api/sessions/route-3be1b7dbe464ad95.js +1 -0
- package/.next/static/chunks/app/api/settings/title-model/route-3be1b7dbe464ad95.js +1 -0
- package/.next/static/chunks/app/api/skills/check/route-3be1b7dbe464ad95.js +1 -0
- package/.next/static/chunks/app/api/skills/install/route-3be1b7dbe464ad95.js +1 -0
- package/.next/static/chunks/app/api/skills/route-3be1b7dbe464ad95.js +1 -0
- package/.next/static/chunks/app/api/skills/search/route-3be1b7dbe464ad95.js +1 -0
- package/.next/static/chunks/app/api/skills/update/route-3be1b7dbe464ad95.js +1 -0
- package/.next/static/chunks/app/api/tasks/[id]/[action]/route-3be1b7dbe464ad95.js +1 -0
- package/.next/static/chunks/app/api/tasks/[id]/changed-files/route-3be1b7dbe464ad95.js +1 -0
- package/.next/static/chunks/app/api/tasks/[id]/diff/route-3be1b7dbe464ad95.js +1 -0
- package/.next/static/chunks/app/api/tasks/[id]/events/route-3be1b7dbe464ad95.js +1 -0
- package/.next/static/chunks/app/api/tasks/[id]/route-3be1b7dbe464ad95.js +1 -0
- package/.next/static/chunks/app/api/tasks/batch/route-3be1b7dbe464ad95.js +1 -0
- package/.next/static/chunks/app/api/tasks/events/route-3be1b7dbe464ad95.js +1 -0
- package/.next/static/chunks/app/api/tasks/route-3be1b7dbe464ad95.js +1 -0
- package/.next/static/chunks/app/api/tasks/settings/route-3be1b7dbe464ad95.js +1 -0
- package/.next/static/chunks/app/api/tasks/templates/route-3be1b7dbe464ad95.js +1 -0
- package/.next/static/chunks/app/api/themes/[name]/route-3be1b7dbe464ad95.js +1 -0
- package/.next/static/chunks/app/api/themes/route-3be1b7dbe464ad95.js +1 -0
- package/.next/static/chunks/app/api/usage/route-3be1b7dbe464ad95.js +1 -0
- package/.next/static/chunks/app/api/worktrees/route-3be1b7dbe464ad95.js +1 -0
- package/.next/static/chunks/app/page-35b0daa73a11f364.js +50 -0
- package/.next/static/chunks/next/dist/client/components/builtin/app-error-3be1b7dbe464ad95.js +1 -0
- package/.next/static/chunks/next/dist/client/components/builtin/forbidden-3be1b7dbe464ad95.js +1 -0
- package/.next/static/chunks/next/dist/client/components/builtin/not-found-3be1b7dbe464ad95.js +1 -0
- package/.next/static/chunks/next/dist/client/components/builtin/unauthorized-3be1b7dbe464ad95.js +1 -0
- package/.next/static/css/288bff2da3ab1a4d.css +1 -0
- package/.next/static/lVkhyX-XEcFgvfYtDvmwH/_buildManifest.js +1 -0
- package/.next/trace +8 -8
- package/.next/trace-build +1 -1
- package/.next/types/app/api/modes/route.ts +351 -0
- package/.next/types/routes.d.ts +2 -1
- package/.next/types/validator.ts +9 -0
- package/README.en.md +46 -1
- package/README.md +38 -5
- package/bin/fix-pi-agent-undici.js +58 -43
- package/bin/pi-web.js +11 -0
- package/package.json +10 -12
- package/.next/static/chunks/8898-89d80b9022b54177.js +0 -1
- package/.next/static/chunks/app/api/agent/new/route-fc8ab8f162e8d6f5.js +0 -1
- package/.next/static/chunks/app/api/agent/running/route-fc8ab8f162e8d6f5.js +0 -1
- package/.next/static/chunks/app/api/auth/all-providers/route-fc8ab8f162e8d6f5.js +0 -1
- package/.next/static/chunks/app/api/auth/api-key/[provider]/route-fc8ab8f162e8d6f5.js +0 -1
- package/.next/static/chunks/app/api/auth/login/[provider]/route-fc8ab8f162e8d6f5.js +0 -1
- package/.next/static/chunks/app/api/auth/logout/[provider]/route-fc8ab8f162e8d6f5.js +0 -1
- package/.next/static/chunks/app/api/auth/providers/route-fc8ab8f162e8d6f5.js +0 -1
- package/.next/static/chunks/app/api/backup/export/route-fc8ab8f162e8d6f5.js +0 -1
- package/.next/static/chunks/app/api/backup/import/route-fc8ab8f162e8d6f5.js +0 -1
- package/.next/static/chunks/app/api/cwd/browse/route-fc8ab8f162e8d6f5.js +0 -1
- package/.next/static/chunks/app/api/cwd/validate/route-fc8ab8f162e8d6f5.js +0 -1
- package/.next/static/chunks/app/api/default-cwd/route-fc8ab8f162e8d6f5.js +0 -1
- package/.next/static/chunks/app/api/features/route-fc8ab8f162e8d6f5.js +0 -1
- package/.next/static/chunks/app/api/file-index/route-fc8ab8f162e8d6f5.js +0 -1
- package/.next/static/chunks/app/api/files/[...path]/route-fc8ab8f162e8d6f5.js +0 -1
- package/.next/static/chunks/app/api/git/diff/route-fc8ab8f162e8d6f5.js +0 -1
- package/.next/static/chunks/app/api/git/push/route-fc8ab8f162e8d6f5.js +0 -1
- package/.next/static/chunks/app/api/git/stash/route-fc8ab8f162e8d6f5.js +0 -1
- package/.next/static/chunks/app/api/git/status/route-fc8ab8f162e8d6f5.js +0 -1
- package/.next/static/chunks/app/api/home/route-fc8ab8f162e8d6f5.js +0 -1
- package/.next/static/chunks/app/api/import/discover/route-fc8ab8f162e8d6f5.js +0 -1
- package/.next/static/chunks/app/api/import/execute/route-fc8ab8f162e8d6f5.js +0 -1
- package/.next/static/chunks/app/api/import/status/route-fc8ab8f162e8d6f5.js +0 -1
- package/.next/static/chunks/app/api/models/route-fc8ab8f162e8d6f5.js +0 -1
- package/.next/static/chunks/app/api/models-config/builtin/route-fc8ab8f162e8d6f5.js +0 -1
- package/.next/static/chunks/app/api/models-config/catalog/route-fc8ab8f162e8d6f5.js +0 -1
- package/.next/static/chunks/app/api/models-config/discover/route-fc8ab8f162e8d6f5.js +0 -1
- package/.next/static/chunks/app/api/models-config/route-fc8ab8f162e8d6f5.js +0 -1
- package/.next/static/chunks/app/api/models-config/test/route-fc8ab8f162e8d6f5.js +0 -1
- package/.next/static/chunks/app/api/plugins/route-fc8ab8f162e8d6f5.js +0 -1
- package/.next/static/chunks/app/api/project-trust/route-fc8ab8f162e8d6f5.js +0 -1
- package/.next/static/chunks/app/api/proxy/route-fc8ab8f162e8d6f5.js +0 -1
- package/.next/static/chunks/app/api/proxy/test/route-fc8ab8f162e8d6f5.js +0 -1
- package/.next/static/chunks/app/api/sessions/[id]/auto-name/route-fc8ab8f162e8d6f5.js +0 -1
- package/.next/static/chunks/app/api/sessions/[id]/context/route-fc8ab8f162e8d6f5.js +0 -1
- package/.next/static/chunks/app/api/sessions/[id]/entries/[entryId]/thinking/route-fc8ab8f162e8d6f5.js +0 -1
- package/.next/static/chunks/app/api/sessions/[id]/export/route-fc8ab8f162e8d6f5.js +0 -1
- package/.next/static/chunks/app/api/sessions/[id]/queue-recovery/route-fc8ab8f162e8d6f5.js +0 -1
- package/.next/static/chunks/app/api/sessions/[id]/route-fc8ab8f162e8d6f5.js +0 -1
- package/.next/static/chunks/app/api/sessions/[id]/state/route-fc8ab8f162e8d6f5.js +0 -1
- package/.next/static/chunks/app/api/sessions/route-fc8ab8f162e8d6f5.js +0 -1
- package/.next/static/chunks/app/api/settings/title-model/route-fc8ab8f162e8d6f5.js +0 -1
- package/.next/static/chunks/app/api/skills/check/route-fc8ab8f162e8d6f5.js +0 -1
- package/.next/static/chunks/app/api/skills/install/route-fc8ab8f162e8d6f5.js +0 -1
- package/.next/static/chunks/app/api/skills/route-fc8ab8f162e8d6f5.js +0 -1
- package/.next/static/chunks/app/api/skills/search/route-fc8ab8f162e8d6f5.js +0 -1
- package/.next/static/chunks/app/api/skills/update/route-fc8ab8f162e8d6f5.js +0 -1
- package/.next/static/chunks/app/api/tasks/[id]/[action]/route-fc8ab8f162e8d6f5.js +0 -1
- package/.next/static/chunks/app/api/tasks/[id]/changed-files/route-fc8ab8f162e8d6f5.js +0 -1
- package/.next/static/chunks/app/api/tasks/[id]/diff/route-fc8ab8f162e8d6f5.js +0 -1
- package/.next/static/chunks/app/api/tasks/[id]/events/route-fc8ab8f162e8d6f5.js +0 -1
- package/.next/static/chunks/app/api/tasks/[id]/route-fc8ab8f162e8d6f5.js +0 -1
- package/.next/static/chunks/app/api/tasks/batch/route-fc8ab8f162e8d6f5.js +0 -1
- package/.next/static/chunks/app/api/tasks/events/route-fc8ab8f162e8d6f5.js +0 -1
- package/.next/static/chunks/app/api/tasks/route-fc8ab8f162e8d6f5.js +0 -1
- package/.next/static/chunks/app/api/tasks/settings/route-fc8ab8f162e8d6f5.js +0 -1
- package/.next/static/chunks/app/api/tasks/templates/route-fc8ab8f162e8d6f5.js +0 -1
- package/.next/static/chunks/app/api/themes/[name]/route-fc8ab8f162e8d6f5.js +0 -1
- package/.next/static/chunks/app/api/themes/route-fc8ab8f162e8d6f5.js +0 -1
- package/.next/static/chunks/app/api/usage/route-fc8ab8f162e8d6f5.js +0 -1
- package/.next/static/chunks/app/api/worktrees/route-fc8ab8f162e8d6f5.js +0 -1
- package/.next/static/chunks/app/page-7fa160a50338d6b7.js +0 -22
- package/.next/static/chunks/next/dist/client/components/builtin/app-error-fc8ab8f162e8d6f5.js +0 -1
- package/.next/static/chunks/next/dist/client/components/builtin/forbidden-fc8ab8f162e8d6f5.js +0 -1
- package/.next/static/chunks/next/dist/client/components/builtin/not-found-fc8ab8f162e8d6f5.js +0 -1
- package/.next/static/chunks/next/dist/client/components/builtin/unauthorized-fc8ab8f162e8d6f5.js +0 -1
- package/.next/static/css/f8b227e230256326.css +0 -1
- package/.next/static/dLdGlazBwRqCib28ilzT0/_buildManifest.js +0 -1
- /package/.next/static/{dLdGlazBwRqCib28ilzT0 → lVkhyX-XEcFgvfYtDvmwH}/_ssgManifest.js +0 -0
package/bin/pi-web.js
CHANGED
|
@@ -10,6 +10,17 @@ const fs = require("fs");
|
|
|
10
10
|
// eslint-disable-next-line @typescript-eslint/no-require-imports
|
|
11
11
|
const { parseLaunchOptions } = require("./pi-web-options");
|
|
12
12
|
|
|
13
|
+
// Apply the undici CVE fix (formerly a postinstall hook). Running it here —
|
|
14
|
+
// before the pi agent's undici can be loaded — keeps installs quiet under
|
|
15
|
+
// npm >= 11.16's allow-scripts policy and survives installs that skip scripts.
|
|
16
|
+
try {
|
|
17
|
+
// eslint-disable-next-line @typescript-eslint/no-require-imports
|
|
18
|
+
require("./fix-pi-agent-undici").applyUndiciFix();
|
|
19
|
+
} catch {
|
|
20
|
+
// Best-effort; the app still starts with the shrinkwrapped undici if the
|
|
21
|
+
// fix cannot be applied.
|
|
22
|
+
}
|
|
23
|
+
|
|
13
24
|
const pkgDir = path.join(__dirname, "..");
|
|
14
25
|
const nextDir = path.join(pkgDir, ".next");
|
|
15
26
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@qt4798/pi-web",
|
|
3
|
-
"version": "0.9.17-beta.
|
|
3
|
+
"version": "0.9.17-beta.3",
|
|
4
4
|
"description": "Web workspace for the pi coding agent",
|
|
5
5
|
"homepage": "https://github.com/t479842598/pi-web-QT#readme",
|
|
6
6
|
"repository": {
|
|
@@ -28,14 +28,13 @@
|
|
|
28
28
|
"package.json"
|
|
29
29
|
],
|
|
30
30
|
"scripts": {
|
|
31
|
-
"dev": "next dev -H 127.0.0.1 -p 0 --turbopack",
|
|
32
|
-
"dev:lan": "next dev -H 0.0.0.0 -p 0 --turbopack",
|
|
31
|
+
"dev": "node bin/fix-pi-agent-undici.js && next dev -H 127.0.0.1 -p 0 --turbopack",
|
|
32
|
+
"dev:lan": "node bin/fix-pi-agent-undici.js && next dev -H 0.0.0.0 -p 0 --turbopack",
|
|
33
33
|
"build": "env -u TURBOPACK next build --webpack",
|
|
34
|
-
"start": "next start -H 127.0.0.1 -p 0",
|
|
35
|
-
"start:lan": "next start -H 0.0.0.0 -p 0",
|
|
34
|
+
"start": "node bin/fix-pi-agent-undici.js && next start -H 127.0.0.1 -p 0",
|
|
35
|
+
"start:lan": "node bin/fix-pi-agent-undici.js && next start -H 0.0.0.0 -p 0",
|
|
36
36
|
"lint": "eslint .",
|
|
37
37
|
"release": "npm version patch --no-git-tag-version && npm run build && npm publish --access public",
|
|
38
|
-
"postinstall": "node bin/fix-pi-agent-undici.js",
|
|
39
38
|
"test": "node --experimental-strip-types --test $(find app components hooks lib -name '*.test.mjs' -print)"
|
|
40
39
|
},
|
|
41
40
|
"dependencies": {
|
|
@@ -45,7 +44,6 @@
|
|
|
45
44
|
"@earendil-works/pi-tui": "0.83.0",
|
|
46
45
|
"@fontsource/ia-writer-quattro": "^5.3.0",
|
|
47
46
|
"@fontsource/lilex": "^5.3.0",
|
|
48
|
-
"@lobehub/icons": "^5.6.0",
|
|
49
47
|
"@phosphor-icons/react": "^2.1.10",
|
|
50
48
|
"@types/react-syntax-highlighter": "^15.5.13",
|
|
51
49
|
"adm-zip": "^0.6.0",
|
|
@@ -67,18 +65,17 @@
|
|
|
67
65
|
},
|
|
68
66
|
"overrides": {
|
|
69
67
|
"undici": "^8.10.0",
|
|
70
|
-
"@emoji-mart/react": {
|
|
71
|
-
"react": "$react"
|
|
72
|
-
},
|
|
73
68
|
"@earendil-works/pi-coding-agent": {
|
|
74
69
|
"undici": "^8.10.0"
|
|
75
|
-
}
|
|
70
|
+
},
|
|
71
|
+
"node-domexception": "npm:@profoundlogic/node-domexception@1.0.2",
|
|
72
|
+
"intersection-observer": "npm:noop2@2.0.0"
|
|
76
73
|
},
|
|
77
74
|
"allowScripts": {
|
|
78
75
|
"@google/genai@1.52.0": true,
|
|
79
76
|
"protobufjs@7.6.5": true,
|
|
80
77
|
"sharp@0.34.5": true,
|
|
81
|
-
"unrs-resolver@1.
|
|
78
|
+
"unrs-resolver@1.12.2": true
|
|
82
79
|
},
|
|
83
80
|
"devDependencies": {
|
|
84
81
|
"@resvg/resvg-js": "^2.6.2",
|
|
@@ -90,6 +87,7 @@
|
|
|
90
87
|
"eslint": "^9.39.5",
|
|
91
88
|
"eslint-config-next": "16.2.12",
|
|
92
89
|
"jiti": "^2.7.0",
|
|
90
|
+
"lightningcss": "^1.33.0",
|
|
93
91
|
"postcss": "^8",
|
|
94
92
|
"tailwindcss": "^4.2.2",
|
|
95
93
|
"to-ico": "^1.1.5",
|