@mcy2015/pi-web 0.15.4 → 0.15.5
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 +7 -6
- package/.next/build-manifest.json +2 -2
- package/.next/prerender-manifest.json +3 -3
- 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 +1 -1
- 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.js +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 +3 -3
- package/.next/server/app/_not-found.segments/_full.segment.rsc +3 -3
- package/.next/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc +3 -3
- 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]/lease/route.js +1 -1
- package/.next/server/app/api/agent/[id]/route.js +1 -1
- package/.next/server/app/api/agent/debug/route.js +2 -2
- package/.next/server/app/api/agent/new/route.js +1 -1
- package/.next/server/app/api/agent/running/route.js +1 -1
- package/.next/server/app/api/app-update/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 +2 -2
- 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/auto-title/route.js +2 -0
- package/.next/server/app/api/auto-title/route.js.nft.json +1 -0
- package/.next/server/app/api/auto-title/route_client-reference-manifest.js +1 -0
- package/.next/server/app/api/automations/route.js +4 -4
- package/.next/server/app/api/cache-miss-notices/route.js +1 -1
- package/.next/server/app/api/channels/route.js +7 -5
- 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/file-index/route.js +1 -1
- package/.next/server/app/api/files/[...path]/route.js +1 -1
- package/.next/server/app/api/git/commit/route.js +2 -2
- package/.next/server/app/api/git/diff/route.js +2 -2
- package/.next/server/app/api/git/graph/route.js +1 -1
- package/.next/server/app/api/git/status/route.js +1 -1
- package/.next/server/app/api/home/route.js +1 -1
- package/.next/server/app/api/mcp/route.js +1 -1
- package/.next/server/app/api/mcp/sign-in/[flowId]/route.js +1 -1
- package/.next/server/app/api/mcp/sign-in/route.js +1 -1
- package/.next/server/app/api/mcp/test/route.js +1 -1
- package/.next/server/app/api/models/default/route.js +1 -1
- package/.next/server/app/api/models/enabled/route.js +1 -1
- package/.next/server/app/api/models/refresh/route.js +1 -1
- package/.next/server/app/api/models/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/open-in-explorer/route.js +1 -1
- package/.next/server/app/api/plugins/check/route.js +1 -1
- 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/provider-usage/query/route.js +1 -1
- package/.next/server/app/api/push/config/route.js +1 -1
- package/.next/server/app/api/push/subscribe/route.js +1 -1
- package/.next/server/app/api/sessions/[id]/auto-name/route.js +1 -11
- 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]/entries/[entryId]/tool-result-image/route.js +1 -1
- package/.next/server/app/api/sessions/[id]/export/route.js +1 -1
- package/.next/server/app/api/sessions/[id]/fork/route.js +1 -1
- package/.next/server/app/api/sessions/[id]/route.js +1 -1
- package/.next/server/app/api/sessions/[id]/share/route.js +1 -1
- package/.next/server/app/api/sessions/[id]/state/route.js +1 -1
- package/.next/server/app/api/sessions/delete/route.js +1 -1
- package/.next/server/app/api/sessions/route.js +1 -1
- package/.next/server/app/api/sessions/search/route.js +1 -1
- package/.next/server/app/api/sessions/stats/route.js +1 -1
- package/.next/server/app/api/sessions/ui-state/route.js +1 -1
- package/.next/server/app/api/skills/check/route.js +1 -1
- package/.next/server/app/api/skills/content/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/subagents/[id]/route.js +1 -1
- package/.next/server/app/api/subagents/profiles/route.js +1 -1
- package/.next/server/app/api/subagents/settings/route.js +1 -1
- package/.next/server/app/api/terminal/[id]/events/route.js +1 -1
- package/.next/server/app/api/terminal/[id]/route.js +1 -1
- package/.next/server/app/api/terminal/route.js +1 -1
- package/.next/server/app/api/tools/settings/route.js +1 -1
- package/.next/server/app/api/usage/route.js +1 -1
- package/.next/server/app/api/web-auth/route.js +1 -1
- package/.next/server/app/api/worktrees/route.js +1 -1
- package/.next/server/app/favicon.ico/route.js +1 -1
- package/.next/server/app/files/page.js +1 -1
- package/.next/server/app/files/page_client-reference-manifest.js +1 -1
- package/.next/server/app/files.html +1 -1
- package/.next/server/app/files.rsc +4 -4
- package/.next/server/app/files.segments/_full.segment.rsc +4 -4
- package/.next/server/app/files.segments/_tree.segment.rsc +2 -2
- package/.next/server/app/files.segments/files/__PAGE__.segment.rsc +4 -4
- package/.next/server/app/index.html +1 -1
- package/.next/server/app/index.rsc +8 -8
- package/.next/server/app/index.segments/__PAGE__.segment.rsc +8 -8
- package/.next/server/app/index.segments/_full.segment.rsc +8 -8
- package/.next/server/app/index.segments/_tree.segment.rsc +2 -2
- package/.next/server/app/login/page.js +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 +4 -4
- package/.next/server/app/login.segments/_full.segment.rsc +4 -4
- package/.next/server/app/login.segments/_tree.segment.rsc +2 -2
- package/.next/server/app/login.segments/login/__PAGE__.segment.rsc +4 -4
- package/.next/server/app/manifest.webmanifest/route.js +1 -1
- package/.next/server/app/page.js +6 -6
- package/.next/server/app/page_client-reference-manifest.js +1 -1
- package/.next/server/app/share/[code]/page.js +1 -1
- package/.next/server/app/share/[code]/page_client-reference-manifest.js +1 -1
- package/.next/server/app-paths-manifest.json +7 -6
- package/.next/server/chunks/1795.js +1 -1
- package/.next/server/chunks/1975.js +1 -1
- package/.next/server/chunks/210.js +26 -14
- package/.next/server/chunks/2243.js +1 -1
- package/.next/server/chunks/6429.js +12 -1
- package/.next/server/chunks/7025.js +1 -1
- package/.next/server/chunks/9328.js +2 -2
- 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/preview-props.json +3 -3
- package/.next/server/server-reference-manifest.json +1 -1
- package/.next/static/H-zMlFNln-mpSCCOKXR-e/_buildManifest.js +1 -0
- package/.next/static/chunks/1278-9faace365b604692.js +1 -0
- package/.next/static/chunks/7847-0190dc4ded5f19a4.js +1 -0
- package/.next/static/chunks/app/_global-error/page-88c7e2580138ec1c.js +1 -0
- package/.next/static/chunks/app/api/agent/[id]/bash-output/route-88c7e2580138ec1c.js +1 -0
- package/.next/static/chunks/app/api/agent/[id]/events/route-88c7e2580138ec1c.js +1 -0
- package/.next/static/chunks/app/api/agent/[id]/lease/route-88c7e2580138ec1c.js +1 -0
- package/.next/static/chunks/app/api/agent/[id]/route-88c7e2580138ec1c.js +1 -0
- package/.next/static/chunks/app/api/agent/debug/route-88c7e2580138ec1c.js +1 -0
- package/.next/static/chunks/app/api/agent/new/route-88c7e2580138ec1c.js +1 -0
- package/.next/static/chunks/app/api/agent/running/route-88c7e2580138ec1c.js +1 -0
- package/.next/static/chunks/app/api/app-update/route-88c7e2580138ec1c.js +1 -0
- package/.next/static/chunks/app/api/auth/api-key/[provider]/route-88c7e2580138ec1c.js +1 -0
- package/.next/static/chunks/app/api/auth/login/[provider]/route-88c7e2580138ec1c.js +1 -0
- package/.next/static/chunks/app/api/auth/logout/[provider]/route-88c7e2580138ec1c.js +1 -0
- package/.next/static/chunks/app/api/auth/providers/route-88c7e2580138ec1c.js +1 -0
- package/.next/static/chunks/app/api/auto-title/route-88c7e2580138ec1c.js +1 -0
- package/.next/static/chunks/app/api/automations/route-88c7e2580138ec1c.js +1 -0
- package/.next/static/chunks/app/api/cache-miss-notices/route-88c7e2580138ec1c.js +1 -0
- package/.next/static/chunks/app/api/channels/route-88c7e2580138ec1c.js +1 -0
- package/.next/static/chunks/app/api/cwd/browse/route-88c7e2580138ec1c.js +1 -0
- package/.next/static/chunks/app/api/cwd/validate/route-88c7e2580138ec1c.js +1 -0
- package/.next/static/chunks/app/api/default-cwd/route-88c7e2580138ec1c.js +1 -0
- package/.next/static/chunks/app/api/file-index/route-88c7e2580138ec1c.js +1 -0
- package/.next/static/chunks/app/api/files/[...path]/route-88c7e2580138ec1c.js +1 -0
- package/.next/static/chunks/app/api/git/commit/route-88c7e2580138ec1c.js +1 -0
- package/.next/static/chunks/app/api/git/diff/route-88c7e2580138ec1c.js +1 -0
- package/.next/static/chunks/app/api/git/graph/route-88c7e2580138ec1c.js +1 -0
- package/.next/static/chunks/app/api/git/status/route-88c7e2580138ec1c.js +1 -0
- package/.next/static/chunks/app/api/home/route-88c7e2580138ec1c.js +1 -0
- package/.next/static/chunks/app/api/mcp/route-88c7e2580138ec1c.js +1 -0
- package/.next/static/chunks/app/api/mcp/sign-in/[flowId]/route-88c7e2580138ec1c.js +1 -0
- package/.next/static/chunks/app/api/mcp/sign-in/route-88c7e2580138ec1c.js +1 -0
- package/.next/static/chunks/app/api/mcp/test/route-88c7e2580138ec1c.js +1 -0
- package/.next/static/chunks/app/api/models/default/route-88c7e2580138ec1c.js +1 -0
- package/.next/static/chunks/app/api/models/enabled/route-88c7e2580138ec1c.js +1 -0
- package/.next/static/chunks/app/api/models/refresh/route-88c7e2580138ec1c.js +1 -0
- package/.next/static/chunks/app/api/models/route-88c7e2580138ec1c.js +1 -0
- package/.next/static/chunks/app/api/models-config/catalog/route-88c7e2580138ec1c.js +1 -0
- package/.next/static/chunks/app/api/models-config/discover/route-88c7e2580138ec1c.js +1 -0
- package/.next/static/chunks/app/api/models-config/route-88c7e2580138ec1c.js +1 -0
- package/.next/static/chunks/app/api/models-config/test/route-88c7e2580138ec1c.js +1 -0
- package/.next/static/chunks/app/api/open-in-explorer/route-88c7e2580138ec1c.js +1 -0
- package/.next/static/chunks/app/api/plugins/check/route-88c7e2580138ec1c.js +1 -0
- package/.next/static/chunks/app/api/plugins/route-88c7e2580138ec1c.js +1 -0
- package/.next/static/chunks/app/api/project-trust/route-88c7e2580138ec1c.js +1 -0
- package/.next/static/chunks/app/api/provider-usage/query/route-88c7e2580138ec1c.js +1 -0
- package/.next/static/chunks/app/api/push/config/route-88c7e2580138ec1c.js +1 -0
- package/.next/static/chunks/app/api/push/subscribe/route-88c7e2580138ec1c.js +1 -0
- package/.next/static/chunks/app/api/sessions/[id]/auto-name/route-88c7e2580138ec1c.js +1 -0
- package/.next/static/chunks/app/api/sessions/[id]/context/route-88c7e2580138ec1c.js +1 -0
- package/.next/static/chunks/app/api/sessions/[id]/entries/[entryId]/thinking/route-88c7e2580138ec1c.js +1 -0
- package/.next/static/chunks/app/api/sessions/[id]/entries/[entryId]/tool-result-image/route-88c7e2580138ec1c.js +1 -0
- package/.next/static/chunks/app/api/sessions/[id]/export/route-88c7e2580138ec1c.js +1 -0
- package/.next/static/chunks/app/api/sessions/[id]/fork/route-88c7e2580138ec1c.js +1 -0
- package/.next/static/chunks/app/api/sessions/[id]/route-88c7e2580138ec1c.js +1 -0
- package/.next/static/chunks/app/api/sessions/[id]/share/route-88c7e2580138ec1c.js +1 -0
- package/.next/static/chunks/app/api/sessions/[id]/state/route-88c7e2580138ec1c.js +1 -0
- package/.next/static/chunks/app/api/sessions/delete/route-88c7e2580138ec1c.js +1 -0
- package/.next/static/chunks/app/api/sessions/route-88c7e2580138ec1c.js +1 -0
- package/.next/static/chunks/app/api/sessions/search/route-88c7e2580138ec1c.js +1 -0
- package/.next/static/chunks/app/api/sessions/stats/route-88c7e2580138ec1c.js +1 -0
- package/.next/static/chunks/app/api/sessions/ui-state/route-88c7e2580138ec1c.js +1 -0
- package/.next/static/chunks/app/api/skills/check/route-88c7e2580138ec1c.js +1 -0
- package/.next/static/chunks/app/api/skills/content/route-88c7e2580138ec1c.js +1 -0
- package/.next/static/chunks/app/api/skills/install/route-88c7e2580138ec1c.js +1 -0
- package/.next/static/chunks/app/api/skills/route-88c7e2580138ec1c.js +1 -0
- package/.next/static/chunks/app/api/skills/search/route-88c7e2580138ec1c.js +1 -0
- package/.next/static/chunks/app/api/skills/update/route-88c7e2580138ec1c.js +1 -0
- package/.next/static/chunks/app/api/subagents/[id]/route-88c7e2580138ec1c.js +1 -0
- package/.next/static/chunks/app/api/subagents/profiles/route-88c7e2580138ec1c.js +1 -0
- package/.next/static/chunks/app/api/subagents/settings/route-88c7e2580138ec1c.js +1 -0
- package/.next/static/chunks/app/api/terminal/[id]/events/route-88c7e2580138ec1c.js +1 -0
- package/.next/static/chunks/app/api/terminal/[id]/route-88c7e2580138ec1c.js +1 -0
- package/.next/static/chunks/app/api/terminal/route-88c7e2580138ec1c.js +1 -0
- package/.next/static/chunks/app/api/tools/settings/route-88c7e2580138ec1c.js +1 -0
- package/.next/static/chunks/app/api/usage/route-88c7e2580138ec1c.js +1 -0
- package/.next/static/chunks/app/api/web-auth/route-88c7e2580138ec1c.js +1 -0
- package/.next/static/chunks/app/api/worktrees/route-88c7e2580138ec1c.js +1 -0
- package/.next/static/chunks/app/{layout-37a070d16cf06b89.js → layout-bcca9ad1f35b5fe9.js} +1 -1
- package/.next/static/chunks/app/manifest.webmanifest/route-88c7e2580138ec1c.js +1 -0
- package/.next/static/chunks/app/page-438dbfe8e32a65da.js +1456 -0
- package/.next/static/chunks/app/share/[code]/{page-c3eb4083c2ae623f.js → page-ba6c62568f24e009.js} +1 -1
- package/.next/static/chunks/next/dist/client/components/builtin/app-error-88c7e2580138ec1c.js +1 -0
- package/.next/static/chunks/next/dist/client/components/builtin/forbidden-88c7e2580138ec1c.js +1 -0
- package/.next/static/chunks/next/dist/client/components/builtin/not-found-88c7e2580138ec1c.js +1 -0
- package/.next/static/chunks/next/dist/client/components/builtin/unauthorized-88c7e2580138ec1c.js +1 -0
- package/.next/static/css/70e5f0998966beb6.css +1 -0
- package/.next/trace +207 -207
- package/.next/trace-build +1 -1
- package/.next/types/app/api/auto-title/route.ts +355 -0
- package/.next/types/routes.d.ts +2 -1
- package/.next/types/validator.ts +10 -0
- package/package.json +1 -1
- package/.next/static/chunks/1278-04d8240232c24300.js +0 -1
- package/.next/static/chunks/8646-8131bc4913418a3d.js +0 -1
- package/.next/static/chunks/app/_global-error/page-5a1a5c08f6fa685c.js +0 -1
- package/.next/static/chunks/app/api/agent/[id]/bash-output/route-5a1a5c08f6fa685c.js +0 -1
- package/.next/static/chunks/app/api/agent/[id]/events/route-5a1a5c08f6fa685c.js +0 -1
- package/.next/static/chunks/app/api/agent/[id]/lease/route-5a1a5c08f6fa685c.js +0 -1
- package/.next/static/chunks/app/api/agent/[id]/route-5a1a5c08f6fa685c.js +0 -1
- package/.next/static/chunks/app/api/agent/debug/route-5a1a5c08f6fa685c.js +0 -1
- package/.next/static/chunks/app/api/agent/new/route-5a1a5c08f6fa685c.js +0 -1
- package/.next/static/chunks/app/api/agent/running/route-5a1a5c08f6fa685c.js +0 -1
- package/.next/static/chunks/app/api/app-update/route-5a1a5c08f6fa685c.js +0 -1
- package/.next/static/chunks/app/api/auth/api-key/[provider]/route-5a1a5c08f6fa685c.js +0 -1
- package/.next/static/chunks/app/api/auth/login/[provider]/route-5a1a5c08f6fa685c.js +0 -1
- package/.next/static/chunks/app/api/auth/logout/[provider]/route-5a1a5c08f6fa685c.js +0 -1
- package/.next/static/chunks/app/api/auth/providers/route-5a1a5c08f6fa685c.js +0 -1
- package/.next/static/chunks/app/api/automations/route-5a1a5c08f6fa685c.js +0 -1
- package/.next/static/chunks/app/api/cache-miss-notices/route-5a1a5c08f6fa685c.js +0 -1
- package/.next/static/chunks/app/api/channels/route-5a1a5c08f6fa685c.js +0 -1
- package/.next/static/chunks/app/api/cwd/browse/route-5a1a5c08f6fa685c.js +0 -1
- package/.next/static/chunks/app/api/cwd/validate/route-5a1a5c08f6fa685c.js +0 -1
- package/.next/static/chunks/app/api/default-cwd/route-5a1a5c08f6fa685c.js +0 -1
- package/.next/static/chunks/app/api/file-index/route-5a1a5c08f6fa685c.js +0 -1
- package/.next/static/chunks/app/api/files/[...path]/route-5a1a5c08f6fa685c.js +0 -1
- package/.next/static/chunks/app/api/git/commit/route-5a1a5c08f6fa685c.js +0 -1
- package/.next/static/chunks/app/api/git/diff/route-5a1a5c08f6fa685c.js +0 -1
- package/.next/static/chunks/app/api/git/graph/route-5a1a5c08f6fa685c.js +0 -1
- package/.next/static/chunks/app/api/git/status/route-5a1a5c08f6fa685c.js +0 -1
- package/.next/static/chunks/app/api/home/route-5a1a5c08f6fa685c.js +0 -1
- package/.next/static/chunks/app/api/mcp/route-5a1a5c08f6fa685c.js +0 -1
- package/.next/static/chunks/app/api/mcp/sign-in/[flowId]/route-5a1a5c08f6fa685c.js +0 -1
- package/.next/static/chunks/app/api/mcp/sign-in/route-5a1a5c08f6fa685c.js +0 -1
- package/.next/static/chunks/app/api/mcp/test/route-5a1a5c08f6fa685c.js +0 -1
- package/.next/static/chunks/app/api/models/default/route-5a1a5c08f6fa685c.js +0 -1
- package/.next/static/chunks/app/api/models/enabled/route-5a1a5c08f6fa685c.js +0 -1
- package/.next/static/chunks/app/api/models/refresh/route-5a1a5c08f6fa685c.js +0 -1
- package/.next/static/chunks/app/api/models/route-5a1a5c08f6fa685c.js +0 -1
- package/.next/static/chunks/app/api/models-config/catalog/route-5a1a5c08f6fa685c.js +0 -1
- package/.next/static/chunks/app/api/models-config/discover/route-5a1a5c08f6fa685c.js +0 -1
- package/.next/static/chunks/app/api/models-config/route-5a1a5c08f6fa685c.js +0 -1
- package/.next/static/chunks/app/api/models-config/test/route-5a1a5c08f6fa685c.js +0 -1
- package/.next/static/chunks/app/api/open-in-explorer/route-5a1a5c08f6fa685c.js +0 -1
- package/.next/static/chunks/app/api/plugins/check/route-5a1a5c08f6fa685c.js +0 -1
- package/.next/static/chunks/app/api/plugins/route-5a1a5c08f6fa685c.js +0 -1
- package/.next/static/chunks/app/api/project-trust/route-5a1a5c08f6fa685c.js +0 -1
- package/.next/static/chunks/app/api/provider-usage/query/route-5a1a5c08f6fa685c.js +0 -1
- package/.next/static/chunks/app/api/push/config/route-5a1a5c08f6fa685c.js +0 -1
- package/.next/static/chunks/app/api/push/subscribe/route-5a1a5c08f6fa685c.js +0 -1
- package/.next/static/chunks/app/api/sessions/[id]/auto-name/route-5a1a5c08f6fa685c.js +0 -1
- package/.next/static/chunks/app/api/sessions/[id]/context/route-5a1a5c08f6fa685c.js +0 -1
- package/.next/static/chunks/app/api/sessions/[id]/entries/[entryId]/thinking/route-5a1a5c08f6fa685c.js +0 -1
- package/.next/static/chunks/app/api/sessions/[id]/entries/[entryId]/tool-result-image/route-5a1a5c08f6fa685c.js +0 -1
- package/.next/static/chunks/app/api/sessions/[id]/export/route-5a1a5c08f6fa685c.js +0 -1
- package/.next/static/chunks/app/api/sessions/[id]/fork/route-5a1a5c08f6fa685c.js +0 -1
- package/.next/static/chunks/app/api/sessions/[id]/route-5a1a5c08f6fa685c.js +0 -1
- package/.next/static/chunks/app/api/sessions/[id]/share/route-5a1a5c08f6fa685c.js +0 -1
- package/.next/static/chunks/app/api/sessions/[id]/state/route-5a1a5c08f6fa685c.js +0 -1
- package/.next/static/chunks/app/api/sessions/delete/route-5a1a5c08f6fa685c.js +0 -1
- package/.next/static/chunks/app/api/sessions/route-5a1a5c08f6fa685c.js +0 -1
- package/.next/static/chunks/app/api/sessions/search/route-5a1a5c08f6fa685c.js +0 -1
- package/.next/static/chunks/app/api/sessions/stats/route-5a1a5c08f6fa685c.js +0 -1
- package/.next/static/chunks/app/api/sessions/ui-state/route-5a1a5c08f6fa685c.js +0 -1
- package/.next/static/chunks/app/api/skills/check/route-5a1a5c08f6fa685c.js +0 -1
- package/.next/static/chunks/app/api/skills/content/route-5a1a5c08f6fa685c.js +0 -1
- package/.next/static/chunks/app/api/skills/install/route-5a1a5c08f6fa685c.js +0 -1
- package/.next/static/chunks/app/api/skills/route-5a1a5c08f6fa685c.js +0 -1
- package/.next/static/chunks/app/api/skills/search/route-5a1a5c08f6fa685c.js +0 -1
- package/.next/static/chunks/app/api/skills/update/route-5a1a5c08f6fa685c.js +0 -1
- package/.next/static/chunks/app/api/subagents/[id]/route-5a1a5c08f6fa685c.js +0 -1
- package/.next/static/chunks/app/api/subagents/profiles/route-5a1a5c08f6fa685c.js +0 -1
- package/.next/static/chunks/app/api/subagents/settings/route-5a1a5c08f6fa685c.js +0 -1
- package/.next/static/chunks/app/api/terminal/[id]/events/route-5a1a5c08f6fa685c.js +0 -1
- package/.next/static/chunks/app/api/terminal/[id]/route-5a1a5c08f6fa685c.js +0 -1
- package/.next/static/chunks/app/api/terminal/route-5a1a5c08f6fa685c.js +0 -1
- package/.next/static/chunks/app/api/tools/settings/route-5a1a5c08f6fa685c.js +0 -1
- package/.next/static/chunks/app/api/usage/route-5a1a5c08f6fa685c.js +0 -1
- package/.next/static/chunks/app/api/web-auth/route-5a1a5c08f6fa685c.js +0 -1
- package/.next/static/chunks/app/api/worktrees/route-5a1a5c08f6fa685c.js +0 -1
- package/.next/static/chunks/app/manifest.webmanifest/route-5a1a5c08f6fa685c.js +0 -1
- package/.next/static/chunks/app/page-d6046f92efff04ca.js +0 -1456
- package/.next/static/chunks/next/dist/client/components/builtin/app-error-5a1a5c08f6fa685c.js +0 -1
- package/.next/static/chunks/next/dist/client/components/builtin/forbidden-5a1a5c08f6fa685c.js +0 -1
- package/.next/static/chunks/next/dist/client/components/builtin/not-found-5a1a5c08f6fa685c.js +0 -1
- package/.next/static/chunks/next/dist/client/components/builtin/unauthorized-5a1a5c08f6fa685c.js +0 -1
- package/.next/static/css/1c235f9240d931ae.css +0 -1
- package/.next/static/k7tBCkl9-JhoBnT7mYkQn/_buildManifest.js +0 -1
- /package/.next/static/{k7tBCkl9-JhoBnT7mYkQn → H-zMlFNln-mpSCCOKXR-e}/_ssgManifest.js +0 -0
|
@@ -3,4 +3,4 @@ new file mode 100644
|
|
|
3
3
|
--- /dev/null
|
|
4
4
|
+++ b/${a}
|
|
5
5
|
@@ -0,0 +1,${d.length} @@
|
|
6
|
-
${e}${f}`}async function x(a,b,c,d=[]){try{return await o(a,[...d,"diff","--no-color","--no-ext-diff","--unified=3","HEAD","--",...c&&c!==b?[c,b]:[b]],4*j._4)}catch{return null}}async function y(a,b){let c=h().dirname(h().resolve(b));for(;!f().existsSync(c);){let a=h().dirname(c);if(a===c)break;c=a}return await p(c)??await p(a)}async function z(a,b){let c,d,e=await y(a,b);if(!e)return{supported:!1};let g=(0,m.V)(e),i=(0,m.V)(b);if(!q(g,i))return{supported:!1};let k=q(g,(0,m.V)(a))?[]:["-c","core.fsmonitor=false"],n=h().resolve(b),o=r(h().relative(g,i)),p=(await s(e,k)).find(a=>a.path===o);if(!p)return{supported:!1};let{status:t}=l(p);if("deleted"===t){let a=await x(e,o,p.originalPath,k);return a?.includes("\n@@ ")?{supported:!0,status:t,patch:a}:{supported:!1}}try{c=f().lstatSync(n)}catch{return{supported:!1}}if(!c.isFile()||c.size>j._4)return{supported:!1};let u=f().readFileSync(n);if(v(u))return{supported:!1};let z=u.toString("utf8");if("untracked"===t)d=w(o,z);else{let a=await x(e,o,p.originalPath,k);if(null===a){if("added"!==t)return{supported:!1};d=w(o,z)}else d=a}return d.includes("\n@@ ")?{supported:!0,status:t,patch:d}:{supported:!1}}},33873:a=>{a.exports=require("path")},44870:a=>{a.exports=require("next/dist/compiled/next-server/app-route.runtime.prod.js")},51455:a=>{a.exports=require("node:fs/promises")},55511:a=>{a.exports=require("crypto")},63033:a=>{a.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},63779:(a,b,c)=>{c.r(b),c.d(b,{handler:()=>A,patchFetch:()=>z,routeModule:()=>v,serverHooks:()=>y,workAsyncStorage:()=>w,workUnitAsyncStorage:()=>x});var d=c(19225),e=c(84006),f=c(8317),g=c(99373),h=c(34775),i=c(24235),j=c(261),k=c(54365),l=c(90771),m=c(73461),n=c(67798),o=c(92280),p=c(62018),q=c(45696),r=c(47929),s=c(86439),t=c(10246),u=c(37527);let v=new d.AppRouteRouteModule({definition:{kind:e.RouteKind.APP_ROUTE,page:"/api/git/status/route",pathname:"/api/git/status",filename:"route",bundlePath:"app/api/git/status/route"},distDir:".next",relativeProjectDir:"",resolvedPagePath:"/Volumes/Data Vault/PiSpace/pi-web/app/api/git/status/route.ts",nextConfigOutput:"",userland:()=>c(83518),...{}}),{workAsyncStorage:w,workUnitAsyncStorage:x,serverHooks:y}=v;function z(){return(0,f.patchFetch)({workAsyncStorage:w,workUnitAsyncStorage:x})}async function A(a,b,c){c.requestMeta&&(0,g.setRequestMeta)(a,c.requestMeta),v.isDev&&(0,g.addRequestMeta)(a,"devRequestTimingInternalsEnd",process.hrtime.bigint());let d="/api/git/status/route";"/index"===d&&(d="/");let{instrumentation:e}=await v.ensureInstrumentation(a,{deferSpans:!0});return v.traceRequest(a,{tracer:(0,h.getTracer)(),spanName:`${a.method||"GET"} ${d}`,httpTarget:a.url,instrumentation:e},(e,f)=>B(a,b,c,d,!1,e,f))}async function B(a,b,c,d,f,w,x){let y=await v.prepare(a,b,{srcPage:d,multiZoneDraftMode:f});if(!y)return b.statusCode=400,b.end("Bad Request"),null==c.waitUntil||c.waitUntil.call(c,Promise.resolve()),null;let{buildId:z,deploymentId:A,params:B,nextConfig:C,parsedUrl:D,isDraftMode:E,prerenderManifest:F,routerServerContext:G,isOnDemandRevalidate:H,revalidateOnlyGenerated:I,resolvedPathname:J,clientReferenceManifest:K,serverActionsManifest:L,previewProps:M}=y,N=(0,j.normalizeAppPath)(d),O=!!F.routes[J]&&(v.isDev||(0,t.isRouteCacheOwner)(J,v.cacheOwner,F.routes[J])),P=!!(F.dynamicRoutes[N]||O),Q=async()=>((null==G?void 0:G.render404)?await G.render404(a,b,D,!1):b.end("This page could not be found"),null);if(P&&!E){let a=F.dynamicRoutes[N];if(a&&!1===a.fallback&&!O){if(C.adapterPath)return await Q();throw new s.NoFallbackError}}let R=null;!P||v.isDev||E||(R="/index"===(R=J)?"/":R),L&&K&&(0,i.setManifestsSingleton)({page:d,clientReferenceManifest:K,serverActionsManifest:L});let S=a.method||"GET",T=(0,h.getTracer)(),U=!!(null==G?void 0:G.isWrappedByNextServer),V=!!(0,g.getRequestMeta)(a,"minimalMode"),W=(0,g.getRequestMeta)(a,"incrementalCache")||await v.getIncrementalCache(a,C,M,F,V);null==W||W.resetRequestCache(),globalThis.__incrementalCache=W;let X={params:B,previewProps:M,renderOpts:{experimental:{authInterrupts:!!C.experimental.authInterrupts,useCacheTimeout:C.experimental.useCacheTimeout,durableUseCacheEntries:!!C.experimental.durableUseCacheEntries},cacheComponents:!!C.cacheComponents,validationLevel:C.experimental.instantInsights.validationLevel,isDraftMode:E,incrementalCache:W,hmrRefreshHash:(0,g.getRequestMeta)(a,"hmrRefreshHash"),cacheLifeProfiles:C.cacheLife,staticPageGenerationTimeout:C.staticPageGenerationTimeout,waitUntil:c.waitUntil,onClose:a=>{b.on("close",a)},onAfterTaskError:void 0},sharedContext:{buildId:z,deploymentId:A}},Y=new k.NodeNextRequest(a),Z=new k.NodeNextResponse(b),$=l.NextRequestAdapter.fromNodeNextRequest(Y,(0,l.signalFromNodeResponse)(b)),_=async({previousCacheEntry:e})=>{try{if(!V&&H&&I&&!e)return b.statusCode=404,b.setHeader("x-nextjs-cache","REVALIDATED"),b.end("This page could not be found"),null;let d=null===R?await v.handle($,X):await v.prerender($,X);a.fetchMetrics=X.renderOpts.fetchMetrics;let f=X.renderOpts.pendingWaitUntil;f&&c.waitUntil&&(c.waitUntil(f),f=void 0);let g=X.renderOpts.collectedTags;if(!P)return await (0,o.I)(Y,Z,d,f),null;{let a=await d.blob(),b=(0,p.toNodeOutgoingHttpHeaders)(d.headers);g&&(b[r.NEXT_CACHE_TAGS_HEADER]=g),!b["content-type"]&&a.type&&(b["content-type"]=a.type);let c=void 0!==X.renderOpts.collectedRevalidate&&!(X.renderOpts.collectedRevalidate>=r.INFINITE_CACHE)&&X.renderOpts.collectedRevalidate,e=void 0===X.renderOpts.collectedExpire||X.renderOpts.collectedExpire>=r.INFINITE_CACHE?!1!==c&&c>0?C.expireTime:void 0:X.renderOpts.collectedExpire;return{value:{kind:u.CachedRouteKind.APP_ROUTE,status:d.status,body:Buffer.from(await a.arrayBuffer()),headers:b},cacheControl:{revalidate:c,expire:e}}}}catch(b){throw(null==e?void 0:e.isStale)&&await v.onRequestError(a,b,{routerKind:"App Router",routePath:d,routeType:"route",revalidateReason:(0,n.getRevalidateReason)({isStaticGeneration:null!==R,isOnDemandRevalidate:H})},!1,G),b}},aa=async d=>{try{var f,g;let d=await v.handleResponse({req:a,nextConfig:C,cacheKey:R,routeKind:e.RouteKind.APP_ROUTE,isFallback:!1,previewProps:M,prerenderManifest:F,isRoutePPREnabled:!1,isOnDemandRevalidate:H,revalidateOnlyGenerated:I,responseGenerator:_,waitUntil:c.waitUntil,isMinimalMode:V});if(null!==d&&"error"in d)throw d.error;if(!P)return;if((null==d||null==(f=d.value)?void 0:f.kind)!==u.CachedRouteKind.APP_ROUTE)throw Error(`Invariant: app-route received invalid cache entry ${null==d||null==(g=d.value)?void 0:g.kind}`);V||b.setHeader("x-nextjs-cache",H?"REVALIDATED":d.isMiss?"MISS":d.isStale?"STALE":"HIT"),E&&b.setHeader("Cache-Control","private, no-cache, no-store, max-age=0, must-revalidate");let h=(0,p.fromNodeOutgoingHttpHeaders)(d.value.headers);V&&P||h.delete(r.NEXT_CACHE_TAGS_HEADER),!d.cacheControl||b.getHeader("Cache-Control")||h.get("Cache-Control")||h.set("Cache-Control",(0,q.getCacheControlHeader)(d.cacheControl)),await (0,o.I)(Y,Z,new Response(d.value.body,{headers:h,status:d.value.status||200}));return}catch(c){if(c instanceof s.NoFallbackError||await v.onRequestError(a,c,{routerKind:"App Router",routePath:N,routeType:"route",revalidateReason:(0,n.getRevalidateReason)({isStaticGeneration:null!==R,isOnDemandRevalidate:H})},!1,G),P)throw c;if(b.headersSent){if(d){let a=c instanceof Error?c:Error("Unknown app route error");d.recordException(a),d.setStatus({code:h.SpanStatusCode.ERROR,message:a.message}),d.setAttribute("error.type",a.name)}b.writableEnded||b.destroyed||b.end()}else await (0,o.I)(Y,Z,new Response(null,{status:500}));return}finally{(()=>{if(!d)return;let a=b.statusCode;d.setAttributes({"http.status_code":a,"next.rsc":!1}),a&&a>=500&&(d.setStatus({code:h.SpanStatusCode.ERROR}),d.setAttribute("error.type",a.toString()));let c=T.getRootSpanAttributes();if(!c)return;if(c.get("next.span_type")!==m.BaseServerSpan.handleRequest)return console.warn(`Unexpected root span type '${c.get("next.span_type")}'. Please report this Next.js issue https://github.com/vercel/next.js`);let e=c.get("next.route")||N,f=`${S} ${e}`;d.setAttributes({"next.route":e,"http.route":e,"next.span_name":f}),d.updateName(f),x&&x!==d&&(x.setAttribute("http.route",e),x.updateName(f))})()}};U||void 0===a.url||null==w||w.setAttribute("http.target",a.url),await aa(w)}},73024:a=>{a.exports=require("node:fs")},75430:a=>{a.exports=import("@earendil-works/pi-coding-agent")},76760:a=>{a.exports=require("node:path")},77598:a=>{a.exports=require("node:crypto")},79646:a=>{a.exports=require("child_process")},79748:a=>{a.exports=require("fs/promises")},80547:(a,b,c)=>{c.a(a,async(a,d)=>{try{c.d(b,{A$:()=>k,B7:()=>l,mc:()=>j,uK:()=>h.uK,wz:()=>e.wz});var e=c(25252),f=c(82536),g=c(40402),h=c(58864),i=a([g]);async function j(){let a=Date.now(),b=globalThis.__piAllowedRootsCache;if(b&&b.expiresAt>a)return b.roots;let c=await (0,g.dQ)(),d=new Set;for(let a of c)a.cwd&&d.add((0,e.Nw)(a.cwd)),a.projectRoot&&d.add((0,e.Nw)(a.projectRoot));for(let a of(0,e.HM)())d.add(a);return globalThis.__piAllowedRootsCache={roots:d,expiresAt:a+5e3},d}function k(a,b){return(0,f.o4)(a,b)}function l(a,b){return(0,f.xk)(a,b)}g=(i.then?(await i)():i)[0],d()}catch(a){d(a)}})},83518:(a,b,c)=>{c.a(a,async(a,d)=>{try{c.r(b),c.d(b,{GET:()=>k});var e=c(29021),f=c.n(e),g=c(23211),h=c(80547),i=c(33012),j=a([h]);async function k(a){try{let b,c=a.nextUrl.searchParams.get("cwd")?.trim()??"";if(!c||!c.startsWith("/")&&!(0,h.uK)(c))return g.NextResponse.json({error:"cwd must be an absolute path"},{status:400});let d=await (0,h.mc)();if(!(0,h.A$)(c,d))return g.NextResponse.json({error:"Access denied"},{status:403});try{b=f().statSync(c)}catch{return g.NextResponse.json({error:"Directory not found"},{status:404})}if(!b.isDirectory())return g.NextResponse.json({error:"Not a directory"},{status:400});if(!(0,h.B7)(c,d))return g.NextResponse.json({error:"Access denied"},{status:403});return g.NextResponse.json(await (0,i.$)(c))}catch(a){return g.NextResponse.json({error:a instanceof Error?a.message:String(a)},{status:500})}}h=(j.then?(await j)():j)[0],d()}catch(a){d(a)}})},86439:a=>{a.exports=require("next/dist/shared/lib/no-fallback-error.external")}};var b=require("../../../../webpack-runtime.js");b.C(a);var c=b.X(0,[2970,1813,426,5582],()=>b(b.s=63779));module.exports=c})();
|
|
6
|
+
${e}${f}`}async function x(a,b,c,d=[]){try{return await o(a,[...d,"diff","--no-color","--no-ext-diff","--unified=3","HEAD","--",...c&&c!==b?[c,b]:[b]],4*j._4)}catch{return null}}async function y(a,b){let c=h().dirname(h().resolve(b));for(;!f().existsSync(c);){let a=h().dirname(c);if(a===c)break;c=a}return await p(c)??await p(a)}async function z(a,b){let c,d,e=await y(a,b);if(!e)return{supported:!1};let g=(0,m.V)(e),i=(0,m.V)(b);if(!q(g,i))return{supported:!1};let k=q(g,(0,m.V)(a))?[]:["-c","core.fsmonitor=false"],n=h().resolve(b),o=r(h().relative(g,i)),p=(await s(e,k)).find(a=>a.path===o);if(!p)return{supported:!1};let{status:t}=l(p);if("deleted"===t){let a=await x(e,o,p.originalPath,k);return a?.includes("\n@@ ")?{supported:!0,status:t,patch:a}:{supported:!1}}try{c=f().lstatSync(n)}catch{return{supported:!1}}if(!c.isFile()||c.size>j._4)return{supported:!1};let u=f().readFileSync(n);if(v(u))return{supported:!1};let z=u.toString("utf8");if("untracked"===t)d=w(o,z);else{let a=await x(e,o,p.originalPath,k);if(null===a){if("added"!==t)return{supported:!1};d=w(o,z)}else d=a}return d.includes("\n@@ ")?{supported:!0,status:t,patch:d}:{supported:!1}}},33873:a=>{a.exports=require("path")},35155:(a,b,c)=>{c.r(b),c.d(b,{handler:()=>A,patchFetch:()=>z,routeModule:()=>v,serverHooks:()=>y,workAsyncStorage:()=>w,workUnitAsyncStorage:()=>x});var d=c(19225),e=c(84006),f=c(8317),g=c(99373),h=c(34775),i=c(24235),j=c(261),k=c(54365),l=c(90771),m=c(73461),n=c(67798),o=c(92280),p=c(62018),q=c(45696),r=c(47929),s=c(86439),t=c(10246),u=c(37527);let v=new d.AppRouteRouteModule({definition:{kind:e.RouteKind.APP_ROUTE,page:"/api/git/status/route",pathname:"/api/git/status",filename:"route",bundlePath:"app/api/git/status/route"},distDir:".next",relativeProjectDir:"",resolvedPagePath:"/Volumes/Data Vault/PiSpace/pi-web/app/api/git/status/route.ts",nextConfigOutput:"",userland:()=>c(83518),...{}}),{workAsyncStorage:w,workUnitAsyncStorage:x,serverHooks:y}=v;function z(){return(0,f.patchFetch)({workAsyncStorage:w,workUnitAsyncStorage:x})}async function A(a,b,c){c.requestMeta&&(0,g.setRequestMeta)(a,c.requestMeta),v.isDev&&(0,g.addRequestMeta)(a,"devRequestTimingInternalsEnd",process.hrtime.bigint());let d="/api/git/status/route";"/index"===d&&(d="/");let{instrumentation:e}=await v.ensureInstrumentation(a,{deferSpans:!0});return v.traceRequest(a,{tracer:(0,h.getTracer)(),spanName:`${a.method||"GET"} ${d}`,httpTarget:a.url,instrumentation:e},(e,f)=>B(a,b,c,d,!1,e,f))}async function B(a,b,c,d,f,w,x){let y=await v.prepare(a,b,{srcPage:d,multiZoneDraftMode:f});if(!y)return b.statusCode=400,b.end("Bad Request"),null==c.waitUntil||c.waitUntil.call(c,Promise.resolve()),null;let{buildId:z,deploymentId:A,params:B,nextConfig:C,parsedUrl:D,isDraftMode:E,prerenderManifest:F,routerServerContext:G,isOnDemandRevalidate:H,revalidateOnlyGenerated:I,resolvedPathname:J,clientReferenceManifest:K,serverActionsManifest:L,previewProps:M}=y,N=(0,j.normalizeAppPath)(d),O=!!F.routes[J]&&(v.isDev||(0,t.isRouteCacheOwner)(J,v.cacheOwner,F.routes[J])),P=!!(F.dynamicRoutes[N]||O),Q=async()=>((null==G?void 0:G.render404)?await G.render404(a,b,D,!1):b.end("This page could not be found"),null);if(P&&!E){let a=F.dynamicRoutes[N];if(a&&!1===a.fallback&&!O){if(C.adapterPath)return await Q();throw new s.NoFallbackError}}let R=null;!P||v.isDev||E||(R="/index"===(R=J)?"/":R),L&&K&&(0,i.setManifestsSingleton)({page:d,clientReferenceManifest:K,serverActionsManifest:L});let S=a.method||"GET",T=(0,h.getTracer)(),U=!!(null==G?void 0:G.isWrappedByNextServer),V=!!(0,g.getRequestMeta)(a,"minimalMode"),W=(0,g.getRequestMeta)(a,"incrementalCache")||await v.getIncrementalCache(a,C,M,F,V);null==W||W.resetRequestCache(),globalThis.__incrementalCache=W;let X={params:B,previewProps:M,renderOpts:{experimental:{authInterrupts:!!C.experimental.authInterrupts,useCacheTimeout:C.experimental.useCacheTimeout,durableUseCacheEntries:!!C.experimental.durableUseCacheEntries},cacheComponents:!!C.cacheComponents,validationLevel:C.experimental.instantInsights.validationLevel,isDraftMode:E,incrementalCache:W,hmrRefreshHash:(0,g.getRequestMeta)(a,"hmrRefreshHash"),cacheLifeProfiles:C.cacheLife,staticPageGenerationTimeout:C.staticPageGenerationTimeout,waitUntil:c.waitUntil,onClose:a=>{b.on("close",a)},onAfterTaskError:void 0},sharedContext:{buildId:z,deploymentId:A}},Y=new k.NodeNextRequest(a),Z=new k.NodeNextResponse(b),$=l.NextRequestAdapter.fromNodeNextRequest(Y,(0,l.signalFromNodeResponse)(b)),_=async({previousCacheEntry:e})=>{try{if(!V&&H&&I&&!e)return b.statusCode=404,b.setHeader("x-nextjs-cache","REVALIDATED"),b.end("This page could not be found"),null;let d=null===R?await v.handle($,X):await v.prerender($,X);a.fetchMetrics=X.renderOpts.fetchMetrics;let f=X.renderOpts.pendingWaitUntil;f&&c.waitUntil&&(c.waitUntil(f),f=void 0);let g=X.renderOpts.collectedTags;if(!P)return await (0,o.I)(Y,Z,d,f),null;{let a=await d.blob(),b=(0,p.toNodeOutgoingHttpHeaders)(d.headers);g&&(b[r.NEXT_CACHE_TAGS_HEADER]=g),!b["content-type"]&&a.type&&(b["content-type"]=a.type);let c=void 0!==X.renderOpts.collectedRevalidate&&!(X.renderOpts.collectedRevalidate>=r.INFINITE_CACHE)&&X.renderOpts.collectedRevalidate,e=void 0===X.renderOpts.collectedExpire||X.renderOpts.collectedExpire>=r.INFINITE_CACHE?!1!==c&&c>0?C.expireTime:void 0:X.renderOpts.collectedExpire;return{value:{kind:u.CachedRouteKind.APP_ROUTE,status:d.status,body:Buffer.from(await a.arrayBuffer()),headers:b},cacheControl:{revalidate:c,expire:e}}}}catch(b){throw(null==e?void 0:e.isStale)&&await v.onRequestError(a,b,{routerKind:"App Router",routePath:d,routeType:"route",revalidateReason:(0,n.getRevalidateReason)({isStaticGeneration:null!==R,isOnDemandRevalidate:H})},!1,G),b}},aa=async d=>{try{var f,g;let d=await v.handleResponse({req:a,nextConfig:C,cacheKey:R,routeKind:e.RouteKind.APP_ROUTE,isFallback:!1,previewProps:M,prerenderManifest:F,isRoutePPREnabled:!1,isOnDemandRevalidate:H,revalidateOnlyGenerated:I,responseGenerator:_,waitUntil:c.waitUntil,isMinimalMode:V});if(null!==d&&"error"in d)throw d.error;if(!P)return;if((null==d||null==(f=d.value)?void 0:f.kind)!==u.CachedRouteKind.APP_ROUTE)throw Error(`Invariant: app-route received invalid cache entry ${null==d||null==(g=d.value)?void 0:g.kind}`);V||b.setHeader("x-nextjs-cache",H?"REVALIDATED":d.isMiss?"MISS":d.isStale?"STALE":"HIT"),E&&b.setHeader("Cache-Control","private, no-cache, no-store, max-age=0, must-revalidate");let h=(0,p.fromNodeOutgoingHttpHeaders)(d.value.headers);V&&P||h.delete(r.NEXT_CACHE_TAGS_HEADER),!d.cacheControl||b.getHeader("Cache-Control")||h.get("Cache-Control")||h.set("Cache-Control",(0,q.getCacheControlHeader)(d.cacheControl)),await (0,o.I)(Y,Z,new Response(d.value.body,{headers:h,status:d.value.status||200}));return}catch(c){if(c instanceof s.NoFallbackError||await v.onRequestError(a,c,{routerKind:"App Router",routePath:N,routeType:"route",revalidateReason:(0,n.getRevalidateReason)({isStaticGeneration:null!==R,isOnDemandRevalidate:H})},!1,G),P)throw c;if(b.headersSent){if(d){let a=c instanceof Error?c:Error("Unknown app route error");d.recordException(a),d.setStatus({code:h.SpanStatusCode.ERROR,message:a.message}),d.setAttribute("error.type",a.name)}b.writableEnded||b.destroyed||b.end()}else await (0,o.I)(Y,Z,new Response(null,{status:500}));return}finally{(()=>{if(!d)return;let a=b.statusCode;d.setAttributes({"http.status_code":a,"next.rsc":!1}),a&&a>=500&&(d.setStatus({code:h.SpanStatusCode.ERROR}),d.setAttribute("error.type",a.toString()));let c=T.getRootSpanAttributes();if(!c)return;if(c.get("next.span_type")!==m.BaseServerSpan.handleRequest)return console.warn(`Unexpected root span type '${c.get("next.span_type")}'. Please report this Next.js issue https://github.com/vercel/next.js`);let e=c.get("next.route")||N,f=`${S} ${e}`;d.setAttributes({"next.route":e,"http.route":e,"next.span_name":f}),d.updateName(f),x&&x!==d&&(x.setAttribute("http.route",e),x.updateName(f))})()}};U||void 0===a.url||null==w||w.setAttribute("http.target",a.url),await aa(w)}},44870:a=>{a.exports=require("next/dist/compiled/next-server/app-route.runtime.prod.js")},51455:a=>{a.exports=require("node:fs/promises")},55511:a=>{a.exports=require("crypto")},63033:a=>{a.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},73024:a=>{a.exports=require("node:fs")},75430:a=>{a.exports=import("@earendil-works/pi-coding-agent")},76760:a=>{a.exports=require("node:path")},77598:a=>{a.exports=require("node:crypto")},79646:a=>{a.exports=require("child_process")},79748:a=>{a.exports=require("fs/promises")},80547:(a,b,c)=>{c.a(a,async(a,d)=>{try{c.d(b,{A$:()=>k,B7:()=>l,mc:()=>j,uK:()=>h.uK,wz:()=>e.wz});var e=c(25252),f=c(82536),g=c(40402),h=c(58864),i=a([g]);async function j(){let a=Date.now(),b=globalThis.__piAllowedRootsCache;if(b&&b.expiresAt>a)return b.roots;let c=await (0,g.dQ)(),d=new Set;for(let a of c)a.cwd&&d.add((0,e.Nw)(a.cwd)),a.projectRoot&&d.add((0,e.Nw)(a.projectRoot));for(let a of(0,e.HM)())d.add(a);return globalThis.__piAllowedRootsCache={roots:d,expiresAt:a+5e3},d}function k(a,b){return(0,f.o4)(a,b)}function l(a,b){return(0,f.xk)(a,b)}g=(i.then?(await i)():i)[0],d()}catch(a){d(a)}})},83518:(a,b,c)=>{c.a(a,async(a,d)=>{try{c.r(b),c.d(b,{GET:()=>k});var e=c(29021),f=c.n(e),g=c(23211),h=c(80547),i=c(33012),j=a([h]);async function k(a){try{let b,c=a.nextUrl.searchParams.get("cwd")?.trim()??"";if(!c||!c.startsWith("/")&&!(0,h.uK)(c))return g.NextResponse.json({error:"cwd must be an absolute path"},{status:400});let d=await (0,h.mc)();if(!(0,h.A$)(c,d))return g.NextResponse.json({error:"Access denied"},{status:403});try{b=f().statSync(c)}catch{return g.NextResponse.json({error:"Directory not found"},{status:404})}if(!b.isDirectory())return g.NextResponse.json({error:"Not a directory"},{status:400});if(!(0,h.B7)(c,d))return g.NextResponse.json({error:"Access denied"},{status:403});return g.NextResponse.json(await (0,i.$)(c))}catch(a){return g.NextResponse.json({error:a instanceof Error?a.message:String(a)},{status:500})}}h=(j.then?(await j)():j)[0],d()}catch(a){d(a)}})},86439:a=>{a.exports=require("next/dist/shared/lib/no-fallback-error.external")}};var b=require("../../../../webpack-runtime.js");b.C(a);var c=b.X(0,[2970,1813,426,5582],()=>b(b.s=35155));module.exports=c})();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(()=>{var a={};a.id=3851,a.ids=[3851],a.modules={261:a=>{"use strict";a.exports=require("next/dist/shared/lib/router/utils/app-paths")},3295:a=>{"use strict";a.exports=require("next/dist/server/app-render/after-task-async-storage.external.js")},6106:(a,b,c)=>{"use strict";c.r(b),c.d(b,{GET:()=>f});var d=c(23211),e=c(21820);async function f(){return d.NextResponse.json({home:(0,e.homedir)()})}},8128:a=>{"use strict";a.exports=require("next/dist/server/runtime-reacts.external.js")},10846:a=>{"use strict";a.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},
|
|
1
|
+
(()=>{var a={};a.id=3851,a.ids=[3851],a.modules={261:a=>{"use strict";a.exports=require("next/dist/shared/lib/router/utils/app-paths")},3295:a=>{"use strict";a.exports=require("next/dist/server/app-render/after-task-async-storage.external.js")},6106:(a,b,c)=>{"use strict";c.r(b),c.d(b,{GET:()=>f});var d=c(23211),e=c(21820);async function f(){return d.NextResponse.json({home:(0,e.homedir)()})}},8128:a=>{"use strict";a.exports=require("next/dist/server/runtime-reacts.external.js")},10846:a=>{"use strict";a.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},15903:(a,b,c)=>{"use strict";c.r(b),c.d(b,{handler:()=>A,patchFetch:()=>z,routeModule:()=>v,serverHooks:()=>y,workAsyncStorage:()=>w,workUnitAsyncStorage:()=>x});var d=c(19225),e=c(84006),f=c(8317),g=c(99373),h=c(34775),i=c(24235),j=c(261),k=c(54365),l=c(90771),m=c(73461),n=c(67798),o=c(92280),p=c(62018),q=c(45696),r=c(47929),s=c(86439),t=c(10246),u=c(37527);let v=new d.AppRouteRouteModule({definition:{kind:e.RouteKind.APP_ROUTE,page:"/api/home/route",pathname:"/api/home",filename:"route",bundlePath:"app/api/home/route"},distDir:".next",relativeProjectDir:"",resolvedPagePath:"/Volumes/Data Vault/PiSpace/pi-web/app/api/home/route.ts",nextConfigOutput:"",userland:()=>c(6106),...{}}),{workAsyncStorage:w,workUnitAsyncStorage:x,serverHooks:y}=v;function z(){return(0,f.patchFetch)({workAsyncStorage:w,workUnitAsyncStorage:x})}async function A(a,b,c){c.requestMeta&&(0,g.setRequestMeta)(a,c.requestMeta),v.isDev&&(0,g.addRequestMeta)(a,"devRequestTimingInternalsEnd",process.hrtime.bigint());let d="/api/home/route";"/index"===d&&(d="/");let{instrumentation:e}=await v.ensureInstrumentation(a,{deferSpans:!0});return v.traceRequest(a,{tracer:(0,h.getTracer)(),spanName:`${a.method||"GET"} ${d}`,httpTarget:a.url,instrumentation:e},(e,f)=>B(a,b,c,d,!1,e,f))}async function B(a,b,c,d,f,w,x){let y=await v.prepare(a,b,{srcPage:d,multiZoneDraftMode:f});if(!y)return b.statusCode=400,b.end("Bad Request"),null==c.waitUntil||c.waitUntil.call(c,Promise.resolve()),null;let{buildId:z,deploymentId:A,params:B,nextConfig:C,parsedUrl:D,isDraftMode:E,prerenderManifest:F,routerServerContext:G,isOnDemandRevalidate:H,revalidateOnlyGenerated:I,resolvedPathname:J,clientReferenceManifest:K,serverActionsManifest:L,previewProps:M}=y,N=(0,j.normalizeAppPath)(d),O=!!F.routes[J]&&(v.isDev||(0,t.isRouteCacheOwner)(J,v.cacheOwner,F.routes[J])),P=!!(F.dynamicRoutes[N]||O),Q=async()=>((null==G?void 0:G.render404)?await G.render404(a,b,D,!1):b.end("This page could not be found"),null);if(P&&!E){let a=F.dynamicRoutes[N];if(a&&!1===a.fallback&&!O){if(C.adapterPath)return await Q();throw new s.NoFallbackError}}let R=null;!P||v.isDev||E||(R="/index"===(R=J)?"/":R),L&&K&&(0,i.setManifestsSingleton)({page:d,clientReferenceManifest:K,serverActionsManifest:L});let S=a.method||"GET",T=(0,h.getTracer)(),U=!!(null==G?void 0:G.isWrappedByNextServer),V=!!(0,g.getRequestMeta)(a,"minimalMode"),W=(0,g.getRequestMeta)(a,"incrementalCache")||await v.getIncrementalCache(a,C,M,F,V);null==W||W.resetRequestCache(),globalThis.__incrementalCache=W;let X={params:B,previewProps:M,renderOpts:{experimental:{authInterrupts:!!C.experimental.authInterrupts,useCacheTimeout:C.experimental.useCacheTimeout,durableUseCacheEntries:!!C.experimental.durableUseCacheEntries},cacheComponents:!!C.cacheComponents,validationLevel:C.experimental.instantInsights.validationLevel,isDraftMode:E,incrementalCache:W,hmrRefreshHash:(0,g.getRequestMeta)(a,"hmrRefreshHash"),cacheLifeProfiles:C.cacheLife,staticPageGenerationTimeout:C.staticPageGenerationTimeout,waitUntil:c.waitUntil,onClose:a=>{b.on("close",a)},onAfterTaskError:void 0},sharedContext:{buildId:z,deploymentId:A}},Y=new k.NodeNextRequest(a),Z=new k.NodeNextResponse(b),$=l.NextRequestAdapter.fromNodeNextRequest(Y,(0,l.signalFromNodeResponse)(b)),_=async({previousCacheEntry:e})=>{try{if(!V&&H&&I&&!e)return b.statusCode=404,b.setHeader("x-nextjs-cache","REVALIDATED"),b.end("This page could not be found"),null;let d=null===R?await v.handle($,X):await v.prerender($,X);a.fetchMetrics=X.renderOpts.fetchMetrics;let f=X.renderOpts.pendingWaitUntil;f&&c.waitUntil&&(c.waitUntil(f),f=void 0);let g=X.renderOpts.collectedTags;if(!P)return await (0,o.I)(Y,Z,d,f),null;{let a=await d.blob(),b=(0,p.toNodeOutgoingHttpHeaders)(d.headers);g&&(b[r.NEXT_CACHE_TAGS_HEADER]=g),!b["content-type"]&&a.type&&(b["content-type"]=a.type);let c=void 0!==X.renderOpts.collectedRevalidate&&!(X.renderOpts.collectedRevalidate>=r.INFINITE_CACHE)&&X.renderOpts.collectedRevalidate,e=void 0===X.renderOpts.collectedExpire||X.renderOpts.collectedExpire>=r.INFINITE_CACHE?!1!==c&&c>0?C.expireTime:void 0:X.renderOpts.collectedExpire;return{value:{kind:u.CachedRouteKind.APP_ROUTE,status:d.status,body:Buffer.from(await a.arrayBuffer()),headers:b},cacheControl:{revalidate:c,expire:e}}}}catch(b){throw(null==e?void 0:e.isStale)&&await v.onRequestError(a,b,{routerKind:"App Router",routePath:d,routeType:"route",revalidateReason:(0,n.getRevalidateReason)({isStaticGeneration:null!==R,isOnDemandRevalidate:H})},!1,G),b}},aa=async d=>{try{var f,g;let d=await v.handleResponse({req:a,nextConfig:C,cacheKey:R,routeKind:e.RouteKind.APP_ROUTE,isFallback:!1,previewProps:M,prerenderManifest:F,isRoutePPREnabled:!1,isOnDemandRevalidate:H,revalidateOnlyGenerated:I,responseGenerator:_,waitUntil:c.waitUntil,isMinimalMode:V});if(null!==d&&"error"in d)throw d.error;if(!P)return;if((null==d||null==(f=d.value)?void 0:f.kind)!==u.CachedRouteKind.APP_ROUTE)throw Error(`Invariant: app-route received invalid cache entry ${null==d||null==(g=d.value)?void 0:g.kind}`);V||b.setHeader("x-nextjs-cache",H?"REVALIDATED":d.isMiss?"MISS":d.isStale?"STALE":"HIT"),E&&b.setHeader("Cache-Control","private, no-cache, no-store, max-age=0, must-revalidate");let h=(0,p.fromNodeOutgoingHttpHeaders)(d.value.headers);V&&P||h.delete(r.NEXT_CACHE_TAGS_HEADER),!d.cacheControl||b.getHeader("Cache-Control")||h.get("Cache-Control")||h.set("Cache-Control",(0,q.getCacheControlHeader)(d.cacheControl)),await (0,o.I)(Y,Z,new Response(d.value.body,{headers:h,status:d.value.status||200}));return}catch(c){if(c instanceof s.NoFallbackError||await v.onRequestError(a,c,{routerKind:"App Router",routePath:N,routeType:"route",revalidateReason:(0,n.getRevalidateReason)({isStaticGeneration:null!==R,isOnDemandRevalidate:H})},!1,G),P)throw c;if(b.headersSent){if(d){let a=c instanceof Error?c:Error("Unknown app route error");d.recordException(a),d.setStatus({code:h.SpanStatusCode.ERROR,message:a.message}),d.setAttribute("error.type",a.name)}b.writableEnded||b.destroyed||b.end()}else await (0,o.I)(Y,Z,new Response(null,{status:500}));return}finally{(()=>{if(!d)return;let a=b.statusCode;d.setAttributes({"http.status_code":a,"next.rsc":!1}),a&&a>=500&&(d.setStatus({code:h.SpanStatusCode.ERROR}),d.setAttribute("error.type",a.toString()));let c=T.getRootSpanAttributes();if(!c)return;if(c.get("next.span_type")!==m.BaseServerSpan.handleRequest)return console.warn(`Unexpected root span type '${c.get("next.span_type")}'. Please report this Next.js issue https://github.com/vercel/next.js`);let e=c.get("next.route")||N,f=`${S} ${e}`;d.setAttributes({"next.route":e,"http.route":e,"next.span_name":f}),d.updateName(f),x&&x!==d&&(x.setAttribute("http.route",e),x.updateName(f))})()}};U||void 0===a.url||null==w||w.setAttribute("http.target",a.url),await aa(w)}},19121:a=>{"use strict";a.exports=require("next/dist/server/app-render/action-async-storage.external.js")},21820:a=>{"use strict";a.exports=require("os")},29294:a=>{"use strict";a.exports=require("next/dist/server/app-render/work-async-storage.external.js")},33873:a=>{"use strict";a.exports=require("path")},44870:a=>{"use strict";a.exports=require("next/dist/compiled/next-server/app-route.runtime.prod.js")},55511:a=>{"use strict";a.exports=require("crypto")},63033:a=>{"use strict";a.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},78335:()=>{},86439:a=>{"use strict";a.exports=require("next/dist/shared/lib/no-fallback-error.external")},96487:()=>{}};var b=require("../../../webpack-runtime.js");b.C(a);var c=b.X(0,[2970,1813],()=>b(b.s=15903));module.exports=c})();
|