@mcy2015/pi-web 0.15.3 → 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 +18 -17
- package/.next/build-manifest.json +2 -2
- package/.next/prerender-manifest.json +4 -4
- 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 +386 -238
- 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 +18 -17
- 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-8d3937ab2a76815c.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 -206
- 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-18168afcae945536.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-48aef8a176e49041.js +0 -1308
- 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/rUwtj0bvC8-50TXIMaR4Y/_buildManifest.js +0 -1
- /package/.next/static/{rUwtj0bvC8-50TXIMaR4Y → H-zMlFNln-mpSCCOKXR-e}/_ssgManifest.js +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/page"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"
|
|
1
|
+
globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/page"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"21278":{"*":{"id":"93080","name":"*","chunks":[],"async":false}},"27123":{"*":{"id":"81921","name":"*","chunks":[],"async":false}},"30241":{"*":{"id":"49939","name":"*","chunks":[],"async":true}},"33049":{"*":{"id":"16625","name":"*","chunks":[],"async":false}},"44625":{"*":{"id":"96580","name":"*","chunks":[],"async":true}},"49798":{"*":{"id":"87003","name":"*","chunks":[],"async":false}},"57121":{"*":{"id":"35421","name":"*","chunks":[],"async":false}},"57788":{"*":{"id":"19102","name":"*","chunks":[],"async":false}},"61304":{"*":{"id":"60440","name":"*","chunks":[],"async":false}},"64777":{"*":{"id":"82265","name":"*","chunks":[],"async":false}},"74581":{"*":{"id":"61335","name":"*","chunks":[],"async":false}},"78616":{"*":{"id":"84342","name":"*","chunks":[],"async":false}},"86869":{"*":{"id":"74661","name":"*","chunks":[],"async":false}},"90484":{"*":{"id":"70664","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/Volumes/Data Vault/PiSpace/pi-web/node_modules/next/dist/client/components/builtin/global-error.js":{"id":27123,"name":"*","chunks":[],"async":false},"/Volumes/Data Vault/PiSpace/pi-web/node_modules/next/dist/esm/client/components/builtin/global-error.js":{"id":27123,"name":"*","chunks":[],"async":false},"/Volumes/Data Vault/PiSpace/pi-web/node_modules/next/dist/client/components/client-page.js":{"id":61304,"name":"*","chunks":[],"async":false},"/Volumes/Data Vault/PiSpace/pi-web/node_modules/next/dist/esm/client/components/client-page.js":{"id":61304,"name":"*","chunks":[],"async":false},"/Volumes/Data Vault/PiSpace/pi-web/node_modules/next/dist/client/components/client-segment.js":{"id":78616,"name":"*","chunks":[],"async":false},"/Volumes/Data Vault/PiSpace/pi-web/node_modules/next/dist/esm/client/components/client-segment.js":{"id":78616,"name":"*","chunks":[],"async":false},"/Volumes/Data Vault/PiSpace/pi-web/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":64777,"name":"*","chunks":[],"async":false},"/Volumes/Data Vault/PiSpace/pi-web/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":64777,"name":"*","chunks":[],"async":false},"/Volumes/Data Vault/PiSpace/pi-web/node_modules/next/dist/client/components/layout-router.js":{"id":57121,"name":"*","chunks":[],"async":false},"/Volumes/Data Vault/PiSpace/pi-web/node_modules/next/dist/esm/client/components/layout-router.js":{"id":57121,"name":"*","chunks":[],"async":false},"/Volumes/Data Vault/PiSpace/pi-web/node_modules/next/dist/client/components/render-from-template-context.js":{"id":74581,"name":"*","chunks":[],"async":false},"/Volumes/Data Vault/PiSpace/pi-web/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":74581,"name":"*","chunks":[],"async":false},"/Volumes/Data Vault/PiSpace/pi-web/node_modules/next/dist/lib/framework/boundary-components.js":{"id":90484,"name":"*","chunks":[],"async":false},"/Volumes/Data Vault/PiSpace/pi-web/node_modules/next/dist/esm/lib/framework/boundary-components.js":{"id":90484,"name":"*","chunks":[],"async":false},"/Volumes/Data Vault/PiSpace/pi-web/node_modules/next/dist/lib/metadata/generate/icon-mark.js":{"id":86869,"name":"*","chunks":[],"async":false},"/Volumes/Data Vault/PiSpace/pi-web/node_modules/next/dist/esm/lib/metadata/generate/icon-mark.js":{"id":86869,"name":"*","chunks":[],"async":false},"/Volumes/Data Vault/PiSpace/pi-web/components/PwaRegistration.tsx":{"id":57788,"name":"*","chunks":["7177","static/chunks/app/layout-bcca9ad1f35b5fe9.js"],"async":false},"/Volumes/Data Vault/PiSpace/pi-web/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"Noto_Sans_Mono\",\"arguments\":[{\"subsets\":[\"latin\",\"cyrillic\"],\"variable\":\"--font-noto-mono\",\"display\":\"swap\"}],\"variableName\":\"notoSansMono\"}":{"id":83683,"name":"*","chunks":["7177","static/chunks/app/layout-bcca9ad1f35b5fe9.js"],"async":false},"/Volumes/Data Vault/PiSpace/pi-web/node_modules/katex/dist/katex.min.css":{"id":84559,"name":"*","chunks":["7177","static/chunks/app/layout-bcca9ad1f35b5fe9.js"],"async":false},"/Volumes/Data Vault/PiSpace/pi-web/app/globals.css":{"id":66872,"name":"*","chunks":["7177","static/chunks/app/layout-bcca9ad1f35b5fe9.js"],"async":false},"/Volumes/Data Vault/PiSpace/pi-web/app/settings.css":{"id":39979,"name":"*","chunks":["7177","static/chunks/app/layout-bcca9ad1f35b5fe9.js"],"async":false},"/Volumes/Data Vault/PiSpace/pi-web/app/sidebar.css":{"id":38220,"name":"*","chunks":["7177","static/chunks/app/layout-bcca9ad1f35b5fe9.js"],"async":false},"/Volumes/Data Vault/PiSpace/pi-web/app/sidebar-menu.css":{"id":49052,"name":"*","chunks":["7177","static/chunks/app/layout-bcca9ad1f35b5fe9.js"],"async":false},"/Volumes/Data Vault/PiSpace/pi-web/app/login/page.tsx":{"id":33049,"name":"*","chunks":[],"async":false},"/Volumes/Data Vault/PiSpace/pi-web/components/AppShell.tsx":{"id":44625,"name":"*","chunks":["7330","static/chunks/d3ac728e-7964f816a1ca64e5.js","3888","static/chunks/e868780c-ed8fa75e367bdffb.js","1449","static/chunks/1449-b8bd9d80d540461e.js","8986","static/chunks/8986-af362e4302b53be7.js","5772","static/chunks/5772-0642818af65827af.js","9242","static/chunks/9242-b7fcdf8d6cde1f0b.js","1278","static/chunks/1278-9faace365b604692.js","6219","static/chunks/6219-1dc13091ce8804bf.js","9176","static/chunks/9176-91a933328be48cb8.js","7847","static/chunks/7847-0190dc4ded5f19a4.js","8974","static/chunks/app/page-438dbfe8e32a65da.js"],"async":true},"/Volumes/Data Vault/PiSpace/pi-web/hooks/useI18n.tsx":{"id":21278,"name":"*","chunks":["7330","static/chunks/d3ac728e-7964f816a1ca64e5.js","3888","static/chunks/e868780c-ed8fa75e367bdffb.js","1449","static/chunks/1449-b8bd9d80d540461e.js","8986","static/chunks/8986-af362e4302b53be7.js","5772","static/chunks/5772-0642818af65827af.js","9242","static/chunks/9242-b7fcdf8d6cde1f0b.js","1278","static/chunks/1278-9faace365b604692.js","6219","static/chunks/6219-1dc13091ce8804bf.js","9176","static/chunks/9176-91a933328be48cb8.js","7847","static/chunks/7847-0190dc4ded5f19a4.js","8974","static/chunks/app/page-438dbfe8e32a65da.js"],"async":false},"/Volumes/Data Vault/PiSpace/pi-web/components/FilesPage.tsx":{"id":49798,"name":"*","chunks":[],"async":false},"/Volumes/Data Vault/PiSpace/pi-web/components/SharedSessionView.tsx":{"id":30241,"name":"*","chunks":[],"async":true}},"entryCSSFiles":{"/Volumes/Data Vault/PiSpace/pi-web/":[],"/Volumes/Data Vault/PiSpace/pi-web/app/layout":[{"inlined":false,"path":"static/css/9bcd6051db4f8890.css"},{"inlined":false,"path":"static/css/0d24ca7ab5ce5f23.css"},{"inlined":false,"path":"static/css/70e5f0998966beb6.css"},{"inlined":false,"path":"static/css/c99d24fe85e139cc.css"}],"/Volumes/Data Vault/PiSpace/pi-web/app/page":[{"inlined":false,"path":"static/css/49692dbfa6f26eeb.css"}]},"rscModuleMapping":{"21278":{"*":{"id":"73884","name":"*","chunks":[],"async":false}},"27123":{"*":{"id":"95547","name":"*","chunks":[],"async":false}},"30241":{"*":{"id":"22569","name":"*","chunks":[],"async":false}},"33049":{"*":{"id":"69613","name":"*","chunks":[],"async":false}},"38220":{"*":{"id":"57236","name":"*","chunks":[],"async":false}},"39979":{"*":{"id":"77261","name":"*","chunks":[],"async":false}},"44625":{"*":{"id":"35790","name":"*","chunks":[],"async":false}},"49052":{"*":{"id":"9998","name":"*","chunks":[],"async":false}},"49798":{"*":{"id":"76347","name":"*","chunks":[],"async":false}},"57121":{"*":{"id":"98099","name":"*","chunks":[],"async":false}},"57788":{"*":{"id":"81276","name":"*","chunks":[],"async":false}},"61304":{"*":{"id":"15098","name":"*","chunks":[],"async":false}},"64777":{"*":{"id":"33859","name":"*","chunks":[],"async":false}},"66872":{"*":{"id":"82704","name":"*","chunks":[],"async":false}},"74581":{"*":{"id":"16237","name":"*","chunks":[],"async":false}},"78616":{"*":{"id":"47644","name":"*","chunks":[],"async":false}},"84559":{"*":{"id":"25319","name":"*","chunks":[],"async":false}},"86869":{"*":{"id":"36675","name":"*","chunks":[],"async":false}},"90484":{"*":{"id":"98562","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(()=>{var a={};a.id=2180,a.ids=[2180],a.modules={1708:a=>{"use strict";a.exports=require("node:process")},3295:a=>{"use strict";a.exports=require("next/dist/server/app-render/after-task-async-storage.external.js")},8102:(a,b,c)=>{"use strict";c.d(b,{$:()=>g});var d=c(55511),e=c(29021),f=c(33873);function g(a,b){let c=(0,f.dirname)(a),g=(0,f.join)(c,`.${(0,f.basename)(a)}-${(0,d.randomUUID)()}.tmp`),h=!1;try{(0,e.writeFileSync)(g,b,{encoding:"utf8",flag:"wx",mode:384,flush:!0}),(0,e.renameSync)(g,a)}catch(a){throw h=!0,a}finally{try{(0,e.unlinkSync)(g)}catch(a){if("ENOENT"!==a.code&&!h)throw a}}}},8128:a=>{"use strict";a.exports=require("next/dist/server/runtime-reacts.external.js")},10381:(a,b)=>{"use strict";Object.defineProperty(b,"__esModule",{value:!0}),Object.defineProperty(b,"ReadonlyURLSearchParams",{enumerable:!0,get:function(){return d}});class c extends Error{constructor(){super("Method unavailable on `ReadonlyURLSearchParams`. Read more: https://nextjs.org/docs/app/api-reference/functions/use-search-params#updating-searchparams")}}class d extends URLSearchParams{append(){throw new c}delete(){throw new c}set(){throw new c}sort(){throw new c}}("function"==typeof b.default||"object"==typeof b.default&&null!==b.default)&&void 0===b.default.__esModule&&(Object.defineProperty(b.default,"__esModule",{value:!0}),Object.assign(b.default,b),a.exports=b.default)},10846:a=>{"use strict";a.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},12412:a=>{"use strict";a.exports=require("assert")},19121:a=>{"use strict";a.exports=require("next/dist/server/app-render/action-async-storage.external.js")},20451:(a,b,c)=>{"use strict";c.d(b,{B:()=>d});let d=/^[A-Za-z0-9_-]{22}$/},22569:(a,b,c)=>{"use strict";c.d(b,{SharedSessionView:()=>d});let d=(0,c(77943).registerClientReference)(function(){throw Error("Attempted to call SharedSessionView() from the server but SharedSessionView is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/Volumes/Data Vault/PiSpace/pi-web/components/SharedSessionView.tsx","SharedSessionView")},27910:a=>{"use strict";a.exports=require("stream")},28354:a=>{"use strict";a.exports=require("util")},29021:a=>{"use strict";a.exports=require("fs")},29294:a=>{"use strict";a.exports=require("next/dist/server/app-render/work-async-storage.external.js")},32171:(a,b,c)=>{"use strict";Object.defineProperty(b,"__esModule",{value:!0});var d={getRedirectError:function(){return i},getRedirectStatusCodeFromError:function(){return n},getRedirectTypeFromError:function(){return m},getURLFromRedirectError:function(){return l},permanentRedirect:function(){return k},redirect:function(){return j}};for(var e in d)Object.defineProperty(b,e,{enumerable:!0,get:d[e]});let f=c(81494),g=c(52220),h=c(73565);function i(a,b,c=f.RedirectStatusCode.TemporaryRedirect){let d=Error(g.REDIRECT_ERROR_CODE);return d.digest=`${g.REDIRECT_ERROR_CODE};${b};${a};${c};`,d}function j(a,b){throw i(a,b??=h.actionAsyncStorage?.getStore()?.isAction?"push":"replace",f.RedirectStatusCode.TemporaryRedirect)}function k(a,b="replace"){throw i(a,b,f.RedirectStatusCode.PermanentRedirect)}function l(a){return(0,g.isRedirectError)(a)?a.digest.split(";").slice(2,-2).join(";"):null}function m(a){if(!(0,g.isRedirectError)(a))throw Error("Not a redirect error");return a.digest.split(";",2)[1]}function n(a){if(!(0,g.isRedirectError)(a))throw Error("Not a redirect error");return Number(a.digest.split(";").at(-2))}("function"==typeof b.default||"object"==typeof b.default&&null!==b.default)&&void 0===b.default.__esModule&&(Object.defineProperty(b.default,"__esModule",{value:!0}),Object.assign(b.default,b),a.exports=b.default)},33873:a=>{"use strict";a.exports=require("path")},37431:(a,b,c)=>{"use strict";c.d(b,{T:()=>f,y:()=>g});var d=c(73024);let e=d.constants.O_RDONLY|(d.constants.O_NONBLOCK||0),f=1048576;function g(a,b){let c;try{c=(0,d.openSync)(a,e)}catch(b){let a;if("ENOENT"===(a=b?.code)||"ENOTDIR"===a)return;throw b}try{let e=(0,d.fstatSync)(c);if(!e.isFile())throw Error(`${a} is not a regular file`);if(void 0===b)return(0,d.readFileSync)(c,"utf8");if(e.size>b)throw Error(`${a} is larger than ${b} bytes`);let f=b+1,g=[],h=0;for(;h<f;){let a=Buffer.alloc(Math.min(f-h,65536)),b=(0,d.readSync)(c,a,0,a.length,null);if(0===b)break;g.push(a.subarray(0,b)),h+=b}if(h>b)throw Error(`${a} is larger than ${b} bytes`);return Buffer.concat(g,h).toString("utf8")}finally{(0,d.closeSync)(c)}}},38522:a=>{"use strict";a.exports=require("node:zlib")},41025:a=>{"use strict";a.exports=require("next/dist/server/app-render/dynamic-access-async-storage.external.js")},44057:(a,b,c)=>{"use strict";function d(){throw Error("`unauthorized()` is experimental and only allowed to be used when `experimental.authInterrupts` is enabled.")}Object.defineProperty(b,"__esModule",{value:!0}),Object.defineProperty(b,"unauthorized",{enumerable:!0,get:function(){return d}}),c(7638).HTTP_ERROR_FALLBACK_ERROR_CODE,("function"==typeof b.default||"object"==typeof b.default&&null!==b.default)&&void 0===b.default.__esModule&&(Object.defineProperty(b.default,"__esModule",{value:!0}),Object.assign(b.default,b),a.exports=b.default)},46060:a=>{"use strict";a.exports=require("next/dist/shared/lib/no-fallback-error.external.js")},49939:(a,b,c)=>{"use strict";c.a(a,async(a,d)=>{try{c.d(b,{SharedSessionView:()=>m});var e=c(48249),f=c(67484),g=c(72587),h=c(55582),i=c(93080),j=c(81996),k=c(10616),l=a([g]);function m({snapshot:a}){let b,{t:c,locale:d}=(0,i.s)(),l=(0,f.useMemo)(()=>(function(a){let b=new Map;for(let c of a)"toolResult"===c.role&&b.set(c.toolCallId,c);return b})(a.messages),[a.messages]),n=(0,f.useMemo)(()=>(0,k.n_)(a.messages),[a.messages]),o=Number.isFinite(b=Date.parse(a.createdAt))?(0,j.fw)(new Date(b),d):null;return(0,e.jsxs)("div",{className:"shared-session",children:[(0,e.jsxs)("header",{className:"shared-session-header",children:[(0,e.jsx)("h1",{children:a.title}),(0,e.jsxs)("div",{className:"shared-session-meta",children:[o&&(0,e.jsx)("span",{children:c("sharePage.created",{time:o})}),a.model&&(0,e.jsx)("span",{children:`${a.model.provider}/${a.model.modelId}`}),(0,e.jsx)("span",{children:c("sharePage.messageCount",{count:String(a.messages.length)})}),a.cwd&&(0,e.jsx)("span",{className:"shared-session-cwd",children:a.cwd})]})]}),(0,e.jsx)(h.Z,{snapshot:n}),(0,e.jsx)("main",{className:"shared-session-messages",children:a.messages.map((b,c)=>(0,e.jsx)(g.Dx,{message:b,toolResults:l,showTimestamp:!0,prevTimestamp:c>0?a.messages[c-1].timestamp:void 0,cwd:a.cwd},a.entryIds[c]??c))}),(0,e.jsx)("footer",{className:"shared-session-footer",children:(0,e.jsx)("span",{children:c("sharePage.footer")})})]})}g=(l.then?(await l)():l)[0],d()}catch(a){d(a)}})},50755:a=>{"use strict";a.exports=require("node:url")},52283:(a,b,c)=>{"use strict";Object.defineProperty(b,"__esModule",{value:!0}),Object.defineProperty(b,"notFound",{enumerable:!0,get:function(){return f}});let d=c(7638),e=`${d.HTTP_ERROR_FALLBACK_ERROR_CODE};404`;function f(){let a=Error(e);throw a.digest=e,a}("function"==typeof b.default||"object"==typeof b.default&&null!==b.default)&&void 0===b.default.__esModule&&(Object.defineProperty(b.default,"__esModule",{value:!0}),Object.assign(b.default,b),a.exports=b.default)},52359:(a,b,c)=>{"use strict";c.a(a,async(a,d)=>{try{c.d(b,{DR:()=>v,FW:()=>x,G:()=>y,Hl:()=>u,er:()=>t});var e=c(77598),f=c(73024),g=c(76760),h=c(75430),i=c(80974),j=c.n(i),k=c(8102),l=c(63108),m=c(37431),n=c(20451),o=a([h]);h=(o.then?(await o)():o)[0];let z=Symbol.for("pi-web:share-store-write-queue"),A={realpath:!1,stale:1e4,retries:{retries:10,factor:2,minTimeout:25,maxTimeout:500},compromised:a=>{console.warn(`[pi-web] the share store lock was compromised: ${a.message}`)}};class B extends Error{constructor(){super("The share store is busy")}}function p(a=(0,h.getAgentDir)()){return(0,g.join)(a,"pi-web-shares.json")}function q(){return{version:1,shares:{}}}function r(a){return"string"==typeof a&&n.B.test(a)}function s(a=p()){let b=(0,m.y)(a,0x8000000);if(void 0===b)return q();try{let a=function(a){if(!a||"object"!=typeof a)return null;let b=a.shares;if(!b||"object"!=typeof b||Array.isArray(b))return null;let c={},d=0;for(let[a,e]of Object.entries(b)){if(d>=1e3||!e||"object"!=typeof e)return null;let b=e.code,f=e.createdAt,g=e.snapshot;if(!r(b)||"string"!=typeof f||!g||"object"!=typeof g||!Array.isArray(g.messages))return null;c[a]={code:b,createdAt:f,snapshot:g},d++}return{version:1,shares:c}}(JSON.parse(b));if(a)return a}catch{}let c=`${a}.corrupt-${Date.now()}`;try{(0,f.renameSync)(a,c),console.warn(`[pi-web] ${a} could not be parsed; moved it to ${c} and started from empty shares`)}catch(b){console.warn(`[pi-web] ${a} could not be parsed and could not be moved aside (${b instanceof Error?b.message:String(b)}); starting from empty shares`)}return q()}function t(a,b=p()){return s(b).shares[a]??null}function u(a){return{code:a.code,createdAt:a.createdAt,title:a.snapshot.title}}function v(a,b=p()){if(!r(a))return null;for(let[c,d]of Object.entries(s(b).shares))if(d.code===a)return{sessionId:c,share:d};return null}function w(a,b){return(0,l.T)(z,a,async()=>{let c;(0,f.mkdirSync)((0,g.dirname)(a),{recursive:!0});try{c=await j().lock(a,A)}catch(a){if("ELOCKED"===a.code)throw new B;throw a}try{let c=s(a),{result:d,changed:e}=b(c);return e&&(0,k.$)(a,JSON.stringify(c,null,2)+"\n"),d}finally{await c()}})}function x(a,b,c=p()){return w(c,c=>{let d=c.shares[a],f={code:d?.code??(0,e.randomBytes)(16).toString("base64url"),createdAt:new Date().toISOString(),snapshot:b};return c.shares[a]=f,{result:f,changed:!0}})}function y(a,b=p()){return w(b,b=>{let c=void 0!==b.shares[a];return c&&delete b.shares[a],{result:c,changed:c}})}d()}catch(a){d(a)}})},54871:(a,b,c)=>{Promise.resolve().then(c.bind(c,22569)),Promise.resolve().then(c.bind(c,73884))},55511:a=>{"use strict";a.exports=require("crypto")},55897:(a,b,c)=>{"use strict";c.r(b),c.d(b,{__next_app__:()=>r,handler:()=>t,routeModule:()=>s});var d=c(21635),e=c(86315),f=c(1020),g=c(61287),h={};for(let a in g)0>["default","__next_app__","routeModule","handler"].indexOf(a)&&(h[a]=()=>g[a]);c.d(b,h);let i=(0,d.p)(()=>Promise.resolve().then(c.bind(c,97998))),j=(0,d.p)(()=>Promise.resolve().then(c.t.bind(c,95547,23))),k=(0,d.p)(()=>Promise.resolve().then(c.t.bind(c,55091,23))),l=(0,d.p)(()=>Promise.resolve().then(c.t.bind(c,45270,23))),m=(0,d.p)(()=>Promise.resolve().then(c.t.bind(c,28193,23))),n=(0,d.p)(()=>Promise.resolve().then(c.t.bind(c,95547,23))),o=(0,d.p)(()=>Promise.resolve().then(c.t.bind(c,95547,23))),p={children:["",{children:["share",{children:["[code]",{children:["__PAGE__",{},{page:[(0,d.p)(()=>Promise.resolve().then(c.bind(c,63417))),"/Volumes/Data Vault/PiSpace/pi-web/app/share/[code]/page.tsx"]}]},{"global-error":[o,"next/dist/client/components/builtin/global-error.js"]},[]]},{"global-error":[n,"next/dist/client/components/builtin/global-error.js"],metadata:{icon:[async a=>(await (0,d.p)(()=>Promise.resolve().then(c.bind(c,46055)))()).default(a)],apple:[],openGraph:[],twitter:[],manifest:void 0}},[]]},{layout:[i,"/Volumes/Data Vault/PiSpace/pi-web/app/layout.tsx"],"global-error":[j,"next/dist/client/components/builtin/global-error.js"],"not-found":[k,"next/dist/client/components/builtin/not-found.js"],forbidden:[l,"next/dist/client/components/builtin/forbidden.js"],unauthorized:[m,"next/dist/client/components/builtin/unauthorized.js"],metadata:{icon:[async a=>(await (0,d.p)(()=>Promise.resolve().then(c.bind(c,46055)))()).default(a)],apple:[],openGraph:[],twitter:[],manifest:void 0}},[]]}.children,q=(0,e.H)({tree:p,page:"/share/[code]/page",pathname:"/share/[code]",require:c,loadChunk:()=>Promise.resolve(),interopDefault:f.T}),r=q.__next_app__,s=q.routeModule,t=q.handler},59599:(a,b,c)=>{Promise.resolve().then(c.bind(c,49939)),Promise.resolve().then(c.bind(c,93080))},63033:a=>{"use strict";a.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},63108:(a,b,c)=>{"use strict";function d(a,b,c){let d=globalThis,e=d[a]??=new Map,f=(e.get(b)??Promise.resolve()).then(c),g=f.then(()=>void 0,()=>void 0);return e.set(b,g),g.then(()=>{e.get(b)===g&&e.delete(b)}),f}c.d(b,{T:()=>d})},63417:(a,b,c)=>{"use strict";c.a(a,async(a,d)=>{try{c.r(b),c.d(b,{default:()=>m,dynamic:()=>n,generateMetadata:()=>l});var e=c(5735),f=c(91970),g=c(22569),h=c(52359),i=c(20451),j=c(73884),k=a([h]);h=(k.then?(await k)():k)[0];let n="force-dynamic";async function l({params:a}){let{code:b}=await a;i.B.test(b)||(0,f.notFound)();let c=(0,h.DR)(b);return{title:c?`${c.share.snapshot.title} \xb7 Pi Web`:"Pi Web",robots:{index:!1,follow:!1}}}async function m({params:a}){let{code:b}=await a;i.B.test(b)||(0,f.notFound)();let c=(0,h.DR)(b);return c||(0,f.notFound)(),(0,e.jsx)(j.I18nProvider,{children:(0,e.jsx)(g.SharedSessionView,{snapshot:c.share.snapshot})})}d()}catch(a){d(a)}})},66610:(a,b,c)=>{"use strict";Object.defineProperty(b,"__esModule",{value:!0});var d={ReadonlyURLSearchParams:function(){return f.ReadonlyURLSearchParams},RedirectType:function(){return m},forbidden:function(){return i.forbidden},notFound:function(){return h.notFound},permanentRedirect:function(){return g.permanentRedirect},redirect:function(){return g.redirect},unauthorized:function(){return j.unauthorized},unstable_isUnrecognizedActionError:function(){return l},unstable_rethrow:function(){return k.unstable_rethrow}};for(var e in d)Object.defineProperty(b,e,{enumerable:!0,get:d[e]});let f=c(10381),g=c(32171),h=c(52283),i=c(92606),j=c(44057),k=c(98621);function l(){throw Error("`unstable_isUnrecognizedActionError` can only be used on the client.")}let m={push:"push",replace:"replace"};("function"==typeof b.default||"object"==typeof b.default&&null!==b.default)&&void 0===b.default.__esModule&&(Object.defineProperty(b.default,"__esModule",{value:!0}),Object.assign(b.default,b),a.exports=b.default)},67521:a=>{"use strict";a.exports=import("@earendil-works/pi-ai/utils/json-parse")},73024:a=>{"use strict";a.exports=require("node:fs")},73565:(a,b,c)=>{"use strict";Object.defineProperty(b,"__esModule",{value:!0});var d={actionAsyncStorage:function(){return f.actionAsyncStorage},workAsyncStorage:function(){return g.workAsyncStorage},workUnitAsyncStorage:function(){return h.workUnitAsyncStorage}};for(var e in d)Object.defineProperty(b,e,{enumerable:!0,get:d[e]});let f=c(19121),g=c(29294),h=c(63033);("function"==typeof b.default||"object"==typeof b.default&&null!==b.default)&&void 0===b.default.__esModule&&(Object.defineProperty(b.default,"__esModule",{value:!0}),Object.assign(b.default,b),a.exports=b.default)},75430:a=>{"use strict";a.exports=import("@earendil-works/pi-coding-agent")},76760:a=>{"use strict";a.exports=require("node:path")},77598:a=>{"use strict";a.exports=require("node:crypto")},81115:a=>{"use strict";a.exports=require("constants")},91970:(a,b,c)=>{"use strict";var d=c(66610);c.o(d,"notFound")&&c.d(b,{notFound:function(){return d.notFound}})},92606:(a,b,c)=>{"use strict";function d(){throw Error("`forbidden()` is experimental and only allowed to be enabled when `experimental.authInterrupts` is enabled.")}Object.defineProperty(b,"__esModule",{value:!0}),Object.defineProperty(b,"forbidden",{enumerable:!0,get:function(){return d}}),c(7638).HTTP_ERROR_FALLBACK_ERROR_CODE,("function"==typeof b.default||"object"==typeof b.default&&null!==b.default)&&void 0===b.default.__esModule&&(Object.defineProperty(b.default,"__esModule",{value:!0}),Object.assign(b.default,b),a.exports=b.default)},94735:a=>{"use strict";a.exports=require("events")},98621:(a,b,c)=>{"use strict";Object.defineProperty(b,"__esModule",{value:!0}),Object.defineProperty(b,"unstable_rethrow",{enumerable:!0,get:function(){return function a(b){if((0,f.isNextRouterError)(b)||(0,e.isBailoutToCSRError)(b)||(0,h.isDynamicServerError)(b)||(0,d.isHangingPromiseRejectionError)(b)||(0,g.isPrerenderInterruptedError)(b))throw b;b instanceof Error&&"cause"in b&&a(b.cause)}}});let d=c(48894),e=c(62880),f=c(76484),g=c(23445),h=c(43449);("function"==typeof b.default||"object"==typeof b.default&&null!==b.default)&&void 0===b.default.__esModule&&(Object.defineProperty(b.default,"__esModule",{value:!0}),Object.assign(b.default,b),a.exports=b.default)}};var b=require("../../../webpack-runtime.js");b.C(a);var c=b.X(0,[2970,974,2430,7025,1795,2691,1975],()=>b(b.s=55897));module.exports=c})();
|
|
1
|
+
(()=>{var a={};a.id=2180,a.ids=[2180],a.modules={1708:a=>{"use strict";a.exports=require("node:process")},3295:a=>{"use strict";a.exports=require("next/dist/server/app-render/after-task-async-storage.external.js")},8102:(a,b,c)=>{"use strict";c.d(b,{$:()=>g});var d=c(55511),e=c(29021),f=c(33873);function g(a,b){let c=(0,f.dirname)(a),g=(0,f.join)(c,`.${(0,f.basename)(a)}-${(0,d.randomUUID)()}.tmp`),h=!1;try{(0,e.writeFileSync)(g,b,{encoding:"utf8",flag:"wx",mode:384,flush:!0}),(0,e.renameSync)(g,a)}catch(a){throw h=!0,a}finally{try{(0,e.unlinkSync)(g)}catch(a){if("ENOENT"!==a.code&&!h)throw a}}}},8128:a=>{"use strict";a.exports=require("next/dist/server/runtime-reacts.external.js")},8693:(a,b,c)=>{"use strict";c.r(b),c.d(b,{__next_app__:()=>r,handler:()=>t,routeModule:()=>s});var d=c(21635),e=c(86315),f=c(1020),g=c(61287),h={};for(let a in g)0>["default","__next_app__","routeModule","handler"].indexOf(a)&&(h[a]=()=>g[a]);c.d(b,h);let i=(0,d.p)(()=>Promise.resolve().then(c.bind(c,97998))),j=(0,d.p)(()=>Promise.resolve().then(c.t.bind(c,95547,23))),k=(0,d.p)(()=>Promise.resolve().then(c.t.bind(c,55091,23))),l=(0,d.p)(()=>Promise.resolve().then(c.t.bind(c,45270,23))),m=(0,d.p)(()=>Promise.resolve().then(c.t.bind(c,28193,23))),n=(0,d.p)(()=>Promise.resolve().then(c.t.bind(c,95547,23))),o=(0,d.p)(()=>Promise.resolve().then(c.t.bind(c,95547,23))),p={children:["",{children:["share",{children:["[code]",{children:["__PAGE__",{},{page:[(0,d.p)(()=>Promise.resolve().then(c.bind(c,63417))),"/Volumes/Data Vault/PiSpace/pi-web/app/share/[code]/page.tsx"]}]},{"global-error":[o,"next/dist/client/components/builtin/global-error.js"]},[]]},{"global-error":[n,"next/dist/client/components/builtin/global-error.js"],metadata:{icon:[async a=>(await (0,d.p)(()=>Promise.resolve().then(c.bind(c,46055)))()).default(a)],apple:[],openGraph:[],twitter:[],manifest:void 0}},[]]},{layout:[i,"/Volumes/Data Vault/PiSpace/pi-web/app/layout.tsx"],"global-error":[j,"next/dist/client/components/builtin/global-error.js"],"not-found":[k,"next/dist/client/components/builtin/not-found.js"],forbidden:[l,"next/dist/client/components/builtin/forbidden.js"],unauthorized:[m,"next/dist/client/components/builtin/unauthorized.js"],metadata:{icon:[async a=>(await (0,d.p)(()=>Promise.resolve().then(c.bind(c,46055)))()).default(a)],apple:[],openGraph:[],twitter:[],manifest:void 0}},[]]}.children,q=(0,e.H)({tree:p,page:"/share/[code]/page",pathname:"/share/[code]",require:c,loadChunk:()=>Promise.resolve(),interopDefault:f.T}),r=q.__next_app__,s=q.routeModule,t=q.handler},10381:(a,b)=>{"use strict";Object.defineProperty(b,"__esModule",{value:!0}),Object.defineProperty(b,"ReadonlyURLSearchParams",{enumerable:!0,get:function(){return d}});class c extends Error{constructor(){super("Method unavailable on `ReadonlyURLSearchParams`. Read more: https://nextjs.org/docs/app/api-reference/functions/use-search-params#updating-searchparams")}}class d extends URLSearchParams{append(){throw new c}delete(){throw new c}set(){throw new c}sort(){throw new c}}("function"==typeof b.default||"object"==typeof b.default&&null!==b.default)&&void 0===b.default.__esModule&&(Object.defineProperty(b.default,"__esModule",{value:!0}),Object.assign(b.default,b),a.exports=b.default)},10846:a=>{"use strict";a.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},12412:a=>{"use strict";a.exports=require("assert")},19121:a=>{"use strict";a.exports=require("next/dist/server/app-render/action-async-storage.external.js")},20451:(a,b,c)=>{"use strict";c.d(b,{B:()=>d});let d=/^[A-Za-z0-9_-]{22}$/},22569:(a,b,c)=>{"use strict";c.d(b,{SharedSessionView:()=>d});let d=(0,c(77943).registerClientReference)(function(){throw Error("Attempted to call SharedSessionView() from the server but SharedSessionView is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/Volumes/Data Vault/PiSpace/pi-web/components/SharedSessionView.tsx","SharedSessionView")},27910:a=>{"use strict";a.exports=require("stream")},28354:a=>{"use strict";a.exports=require("util")},29021:a=>{"use strict";a.exports=require("fs")},29294:a=>{"use strict";a.exports=require("next/dist/server/app-render/work-async-storage.external.js")},32171:(a,b,c)=>{"use strict";Object.defineProperty(b,"__esModule",{value:!0});var d={getRedirectError:function(){return i},getRedirectStatusCodeFromError:function(){return n},getRedirectTypeFromError:function(){return m},getURLFromRedirectError:function(){return l},permanentRedirect:function(){return k},redirect:function(){return j}};for(var e in d)Object.defineProperty(b,e,{enumerable:!0,get:d[e]});let f=c(81494),g=c(52220),h=c(73565);function i(a,b,c=f.RedirectStatusCode.TemporaryRedirect){let d=Error(g.REDIRECT_ERROR_CODE);return d.digest=`${g.REDIRECT_ERROR_CODE};${b};${a};${c};`,d}function j(a,b){throw i(a,b??=h.actionAsyncStorage?.getStore()?.isAction?"push":"replace",f.RedirectStatusCode.TemporaryRedirect)}function k(a,b="replace"){throw i(a,b,f.RedirectStatusCode.PermanentRedirect)}function l(a){return(0,g.isRedirectError)(a)?a.digest.split(";").slice(2,-2).join(";"):null}function m(a){if(!(0,g.isRedirectError)(a))throw Error("Not a redirect error");return a.digest.split(";",2)[1]}function n(a){if(!(0,g.isRedirectError)(a))throw Error("Not a redirect error");return Number(a.digest.split(";").at(-2))}("function"==typeof b.default||"object"==typeof b.default&&null!==b.default)&&void 0===b.default.__esModule&&(Object.defineProperty(b.default,"__esModule",{value:!0}),Object.assign(b.default,b),a.exports=b.default)},33873:a=>{"use strict";a.exports=require("path")},37431:(a,b,c)=>{"use strict";c.d(b,{T:()=>f,y:()=>g});var d=c(73024);let e=d.constants.O_RDONLY|(d.constants.O_NONBLOCK||0),f=1048576;function g(a,b){let c;try{c=(0,d.openSync)(a,e)}catch(b){let a;if("ENOENT"===(a=b?.code)||"ENOTDIR"===a)return;throw b}try{let e=(0,d.fstatSync)(c);if(!e.isFile())throw Error(`${a} is not a regular file`);if(void 0===b)return(0,d.readFileSync)(c,"utf8");if(e.size>b)throw Error(`${a} is larger than ${b} bytes`);let f=b+1,g=[],h=0;for(;h<f;){let a=Buffer.alloc(Math.min(f-h,65536)),b=(0,d.readSync)(c,a,0,a.length,null);if(0===b)break;g.push(a.subarray(0,b)),h+=b}if(h>b)throw Error(`${a} is larger than ${b} bytes`);return Buffer.concat(g,h).toString("utf8")}finally{(0,d.closeSync)(c)}}},38522:a=>{"use strict";a.exports=require("node:zlib")},41025:a=>{"use strict";a.exports=require("next/dist/server/app-render/dynamic-access-async-storage.external.js")},44057:(a,b,c)=>{"use strict";function d(){throw Error("`unauthorized()` is experimental and only allowed to be used when `experimental.authInterrupts` is enabled.")}Object.defineProperty(b,"__esModule",{value:!0}),Object.defineProperty(b,"unauthorized",{enumerable:!0,get:function(){return d}}),c(7638).HTTP_ERROR_FALLBACK_ERROR_CODE,("function"==typeof b.default||"object"==typeof b.default&&null!==b.default)&&void 0===b.default.__esModule&&(Object.defineProperty(b.default,"__esModule",{value:!0}),Object.assign(b.default,b),a.exports=b.default)},46060:a=>{"use strict";a.exports=require("next/dist/shared/lib/no-fallback-error.external.js")},49939:(a,b,c)=>{"use strict";c.a(a,async(a,d)=>{try{c.d(b,{SharedSessionView:()=>m});var e=c(48249),f=c(67484),g=c(72587),h=c(55582),i=c(93080),j=c(81996),k=c(10616),l=a([g]);function m({snapshot:a}){let b,{t:c,locale:d}=(0,i.s)(),l=(0,f.useMemo)(()=>(function(a){let b=new Map;for(let c of a)"toolResult"===c.role&&b.set(c.toolCallId,c);return b})(a.messages),[a.messages]),n=(0,f.useMemo)(()=>(0,k.n_)(a.messages),[a.messages]),o=Number.isFinite(b=Date.parse(a.createdAt))?(0,j.fw)(new Date(b),d):null;return(0,e.jsxs)("div",{className:"shared-session",children:[(0,e.jsxs)("header",{className:"shared-session-header",children:[(0,e.jsx)("h1",{children:a.title}),(0,e.jsxs)("div",{className:"shared-session-meta",children:[o&&(0,e.jsx)("span",{children:c("sharePage.created",{time:o})}),a.model&&(0,e.jsx)("span",{children:`${a.model.provider}/${a.model.modelId}`}),(0,e.jsx)("span",{children:c("sharePage.messageCount",{count:String(a.messages.length)})}),a.cwd&&(0,e.jsx)("span",{className:"shared-session-cwd",children:a.cwd})]})]}),(0,e.jsx)(h.Z,{snapshot:n}),(0,e.jsx)("main",{className:"shared-session-messages",children:a.messages.map((b,c)=>(0,e.jsx)(g.Dx,{message:b,toolResults:l,showTimestamp:!0,prevTimestamp:c>0?a.messages[c-1].timestamp:void 0,cwd:a.cwd},a.entryIds[c]??c))}),(0,e.jsx)("footer",{className:"shared-session-footer",children:(0,e.jsx)("span",{children:c("sharePage.footer")})})]})}g=(l.then?(await l)():l)[0],d()}catch(a){d(a)}})},50755:a=>{"use strict";a.exports=require("node:url")},52283:(a,b,c)=>{"use strict";Object.defineProperty(b,"__esModule",{value:!0}),Object.defineProperty(b,"notFound",{enumerable:!0,get:function(){return f}});let d=c(7638),e=`${d.HTTP_ERROR_FALLBACK_ERROR_CODE};404`;function f(){let a=Error(e);throw a.digest=e,a}("function"==typeof b.default||"object"==typeof b.default&&null!==b.default)&&void 0===b.default.__esModule&&(Object.defineProperty(b.default,"__esModule",{value:!0}),Object.assign(b.default,b),a.exports=b.default)},52359:(a,b,c)=>{"use strict";c.a(a,async(a,d)=>{try{c.d(b,{DR:()=>v,FW:()=>x,G:()=>y,Hl:()=>u,er:()=>t});var e=c(77598),f=c(73024),g=c(76760),h=c(75430),i=c(80974),j=c.n(i),k=c(8102),l=c(63108),m=c(37431),n=c(20451),o=a([h]);h=(o.then?(await o)():o)[0];let z=Symbol.for("pi-web:share-store-write-queue"),A={realpath:!1,stale:1e4,retries:{retries:10,factor:2,minTimeout:25,maxTimeout:500},compromised:a=>{console.warn(`[pi-web] the share store lock was compromised: ${a.message}`)}};class B extends Error{constructor(){super("The share store is busy")}}function p(a=(0,h.getAgentDir)()){return(0,g.join)(a,"pi-web-shares.json")}function q(){return{version:1,shares:{}}}function r(a){return"string"==typeof a&&n.B.test(a)}function s(a=p()){let b=(0,m.y)(a,0x8000000);if(void 0===b)return q();try{let a=function(a){if(!a||"object"!=typeof a)return null;let b=a.shares;if(!b||"object"!=typeof b||Array.isArray(b))return null;let c={},d=0;for(let[a,e]of Object.entries(b)){if(d>=1e3||!e||"object"!=typeof e)return null;let b=e.code,f=e.createdAt,g=e.snapshot;if(!r(b)||"string"!=typeof f||!g||"object"!=typeof g||!Array.isArray(g.messages))return null;c[a]={code:b,createdAt:f,snapshot:g},d++}return{version:1,shares:c}}(JSON.parse(b));if(a)return a}catch{}let c=`${a}.corrupt-${Date.now()}`;try{(0,f.renameSync)(a,c),console.warn(`[pi-web] ${a} could not be parsed; moved it to ${c} and started from empty shares`)}catch(b){console.warn(`[pi-web] ${a} could not be parsed and could not be moved aside (${b instanceof Error?b.message:String(b)}); starting from empty shares`)}return q()}function t(a,b=p()){return s(b).shares[a]??null}function u(a){return{code:a.code,createdAt:a.createdAt,title:a.snapshot.title}}function v(a,b=p()){if(!r(a))return null;for(let[c,d]of Object.entries(s(b).shares))if(d.code===a)return{sessionId:c,share:d};return null}function w(a,b){return(0,l.T)(z,a,async()=>{let c;(0,f.mkdirSync)((0,g.dirname)(a),{recursive:!0});try{c=await j().lock(a,A)}catch(a){if("ELOCKED"===a.code)throw new B;throw a}try{let c=s(a),{result:d,changed:e}=b(c);return e&&(0,k.$)(a,JSON.stringify(c,null,2)+"\n"),d}finally{await c()}})}function x(a,b,c=p()){return w(c,c=>{let d=c.shares[a],f={code:d?.code??(0,e.randomBytes)(16).toString("base64url"),createdAt:new Date().toISOString(),snapshot:b};return c.shares[a]=f,{result:f,changed:!0}})}function y(a,b=p()){return w(b,b=>{let c=void 0!==b.shares[a];return c&&delete b.shares[a],{result:c,changed:c}})}d()}catch(a){d(a)}})},54871:(a,b,c)=>{Promise.resolve().then(c.bind(c,22569)),Promise.resolve().then(c.bind(c,73884))},55511:a=>{"use strict";a.exports=require("crypto")},59599:(a,b,c)=>{Promise.resolve().then(c.bind(c,49939)),Promise.resolve().then(c.bind(c,93080))},63033:a=>{"use strict";a.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},63108:(a,b,c)=>{"use strict";function d(a,b,c){let d=globalThis,e=d[a]??=new Map,f=(e.get(b)??Promise.resolve()).then(c),g=f.then(()=>void 0,()=>void 0);return e.set(b,g),g.then(()=>{e.get(b)===g&&e.delete(b)}),f}c.d(b,{T:()=>d})},63417:(a,b,c)=>{"use strict";c.a(a,async(a,d)=>{try{c.r(b),c.d(b,{default:()=>m,dynamic:()=>n,generateMetadata:()=>l});var e=c(5735),f=c(91970),g=c(22569),h=c(52359),i=c(20451),j=c(73884),k=a([h]);h=(k.then?(await k)():k)[0];let n="force-dynamic";async function l({params:a}){let{code:b}=await a;i.B.test(b)||(0,f.notFound)();let c=(0,h.DR)(b);return{title:c?`${c.share.snapshot.title} \xb7 Pi Web`:"Pi Web",robots:{index:!1,follow:!1}}}async function m({params:a}){let{code:b}=await a;i.B.test(b)||(0,f.notFound)();let c=(0,h.DR)(b);return c||(0,f.notFound)(),(0,e.jsx)(j.I18nProvider,{children:(0,e.jsx)(g.SharedSessionView,{snapshot:c.share.snapshot})})}d()}catch(a){d(a)}})},66610:(a,b,c)=>{"use strict";Object.defineProperty(b,"__esModule",{value:!0});var d={ReadonlyURLSearchParams:function(){return f.ReadonlyURLSearchParams},RedirectType:function(){return m},forbidden:function(){return i.forbidden},notFound:function(){return h.notFound},permanentRedirect:function(){return g.permanentRedirect},redirect:function(){return g.redirect},unauthorized:function(){return j.unauthorized},unstable_isUnrecognizedActionError:function(){return l},unstable_rethrow:function(){return k.unstable_rethrow}};for(var e in d)Object.defineProperty(b,e,{enumerable:!0,get:d[e]});let f=c(10381),g=c(32171),h=c(52283),i=c(92606),j=c(44057),k=c(98621);function l(){throw Error("`unstable_isUnrecognizedActionError` can only be used on the client.")}let m={push:"push",replace:"replace"};("function"==typeof b.default||"object"==typeof b.default&&null!==b.default)&&void 0===b.default.__esModule&&(Object.defineProperty(b.default,"__esModule",{value:!0}),Object.assign(b.default,b),a.exports=b.default)},67521:a=>{"use strict";a.exports=import("@earendil-works/pi-ai/utils/json-parse")},73024:a=>{"use strict";a.exports=require("node:fs")},73565:(a,b,c)=>{"use strict";Object.defineProperty(b,"__esModule",{value:!0});var d={actionAsyncStorage:function(){return f.actionAsyncStorage},workAsyncStorage:function(){return g.workAsyncStorage},workUnitAsyncStorage:function(){return h.workUnitAsyncStorage}};for(var e in d)Object.defineProperty(b,e,{enumerable:!0,get:d[e]});let f=c(19121),g=c(29294),h=c(63033);("function"==typeof b.default||"object"==typeof b.default&&null!==b.default)&&void 0===b.default.__esModule&&(Object.defineProperty(b.default,"__esModule",{value:!0}),Object.assign(b.default,b),a.exports=b.default)},75430:a=>{"use strict";a.exports=import("@earendil-works/pi-coding-agent")},76760:a=>{"use strict";a.exports=require("node:path")},77598:a=>{"use strict";a.exports=require("node:crypto")},81115:a=>{"use strict";a.exports=require("constants")},91970:(a,b,c)=>{"use strict";var d=c(66610);c.o(d,"notFound")&&c.d(b,{notFound:function(){return d.notFound}})},92606:(a,b,c)=>{"use strict";function d(){throw Error("`forbidden()` is experimental and only allowed to be enabled when `experimental.authInterrupts` is enabled.")}Object.defineProperty(b,"__esModule",{value:!0}),Object.defineProperty(b,"forbidden",{enumerable:!0,get:function(){return d}}),c(7638).HTTP_ERROR_FALLBACK_ERROR_CODE,("function"==typeof b.default||"object"==typeof b.default&&null!==b.default)&&void 0===b.default.__esModule&&(Object.defineProperty(b.default,"__esModule",{value:!0}),Object.assign(b.default,b),a.exports=b.default)},94735:a=>{"use strict";a.exports=require("events")},98621:(a,b,c)=>{"use strict";Object.defineProperty(b,"__esModule",{value:!0}),Object.defineProperty(b,"unstable_rethrow",{enumerable:!0,get:function(){return function a(b){if((0,f.isNextRouterError)(b)||(0,e.isBailoutToCSRError)(b)||(0,h.isDynamicServerError)(b)||(0,d.isHangingPromiseRejectionError)(b)||(0,g.isPrerenderInterruptedError)(b))throw b;b instanceof Error&&"cause"in b&&a(b.cause)}}});let d=c(48894),e=c(62880),f=c(76484),g=c(23445),h=c(43449);("function"==typeof b.default||"object"==typeof b.default&&null!==b.default)&&void 0===b.default.__esModule&&(Object.defineProperty(b.default,"__esModule",{value:!0}),Object.assign(b.default,b),a.exports=b.default)}};var b=require("../../../webpack-runtime.js");b.C(a);var c=b.X(0,[2970,974,2430,7025,1795,2691,1975],()=>b(b.s=8693));module.exports=c})();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/share/[code]/page"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"
|
|
1
|
+
globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/share/[code]/page"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"21278":{"*":{"id":"93080","name":"*","chunks":[],"async":false}},"27123":{"*":{"id":"81921","name":"*","chunks":[],"async":false}},"30241":{"*":{"id":"49939","name":"*","chunks":[],"async":true}},"33049":{"*":{"id":"16625","name":"*","chunks":[],"async":false}},"44625":{"*":{"id":"96580","name":"*","chunks":[],"async":true}},"49798":{"*":{"id":"87003","name":"*","chunks":[],"async":false}},"57121":{"*":{"id":"35421","name":"*","chunks":[],"async":false}},"57788":{"*":{"id":"19102","name":"*","chunks":[],"async":false}},"61304":{"*":{"id":"60440","name":"*","chunks":[],"async":false}},"64777":{"*":{"id":"82265","name":"*","chunks":[],"async":false}},"74581":{"*":{"id":"61335","name":"*","chunks":[],"async":false}},"78616":{"*":{"id":"84342","name":"*","chunks":[],"async":false}},"86869":{"*":{"id":"74661","name":"*","chunks":[],"async":false}},"90484":{"*":{"id":"70664","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/Volumes/Data Vault/PiSpace/pi-web/node_modules/next/dist/client/components/builtin/global-error.js":{"id":27123,"name":"*","chunks":[],"async":false},"/Volumes/Data Vault/PiSpace/pi-web/node_modules/next/dist/esm/client/components/builtin/global-error.js":{"id":27123,"name":"*","chunks":[],"async":false},"/Volumes/Data Vault/PiSpace/pi-web/node_modules/next/dist/client/components/client-page.js":{"id":61304,"name":"*","chunks":[],"async":false},"/Volumes/Data Vault/PiSpace/pi-web/node_modules/next/dist/esm/client/components/client-page.js":{"id":61304,"name":"*","chunks":[],"async":false},"/Volumes/Data Vault/PiSpace/pi-web/node_modules/next/dist/client/components/client-segment.js":{"id":78616,"name":"*","chunks":[],"async":false},"/Volumes/Data Vault/PiSpace/pi-web/node_modules/next/dist/esm/client/components/client-segment.js":{"id":78616,"name":"*","chunks":[],"async":false},"/Volumes/Data Vault/PiSpace/pi-web/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":64777,"name":"*","chunks":[],"async":false},"/Volumes/Data Vault/PiSpace/pi-web/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":64777,"name":"*","chunks":[],"async":false},"/Volumes/Data Vault/PiSpace/pi-web/node_modules/next/dist/client/components/layout-router.js":{"id":57121,"name":"*","chunks":[],"async":false},"/Volumes/Data Vault/PiSpace/pi-web/node_modules/next/dist/esm/client/components/layout-router.js":{"id":57121,"name":"*","chunks":[],"async":false},"/Volumes/Data Vault/PiSpace/pi-web/node_modules/next/dist/client/components/render-from-template-context.js":{"id":74581,"name":"*","chunks":[],"async":false},"/Volumes/Data Vault/PiSpace/pi-web/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":74581,"name":"*","chunks":[],"async":false},"/Volumes/Data Vault/PiSpace/pi-web/node_modules/next/dist/lib/framework/boundary-components.js":{"id":90484,"name":"*","chunks":[],"async":false},"/Volumes/Data Vault/PiSpace/pi-web/node_modules/next/dist/esm/lib/framework/boundary-components.js":{"id":90484,"name":"*","chunks":[],"async":false},"/Volumes/Data Vault/PiSpace/pi-web/node_modules/next/dist/lib/metadata/generate/icon-mark.js":{"id":86869,"name":"*","chunks":[],"async":false},"/Volumes/Data Vault/PiSpace/pi-web/node_modules/next/dist/esm/lib/metadata/generate/icon-mark.js":{"id":86869,"name":"*","chunks":[],"async":false},"/Volumes/Data Vault/PiSpace/pi-web/components/PwaRegistration.tsx":{"id":57788,"name":"*","chunks":["7177","static/chunks/app/layout-bcca9ad1f35b5fe9.js"],"async":false},"/Volumes/Data Vault/PiSpace/pi-web/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"Noto_Sans_Mono\",\"arguments\":[{\"subsets\":[\"latin\",\"cyrillic\"],\"variable\":\"--font-noto-mono\",\"display\":\"swap\"}],\"variableName\":\"notoSansMono\"}":{"id":83683,"name":"*","chunks":["7177","static/chunks/app/layout-bcca9ad1f35b5fe9.js"],"async":false},"/Volumes/Data Vault/PiSpace/pi-web/node_modules/katex/dist/katex.min.css":{"id":84559,"name":"*","chunks":["7177","static/chunks/app/layout-bcca9ad1f35b5fe9.js"],"async":false},"/Volumes/Data Vault/PiSpace/pi-web/app/globals.css":{"id":66872,"name":"*","chunks":["7177","static/chunks/app/layout-bcca9ad1f35b5fe9.js"],"async":false},"/Volumes/Data Vault/PiSpace/pi-web/app/settings.css":{"id":39979,"name":"*","chunks":["7177","static/chunks/app/layout-bcca9ad1f35b5fe9.js"],"async":false},"/Volumes/Data Vault/PiSpace/pi-web/app/sidebar.css":{"id":38220,"name":"*","chunks":["7177","static/chunks/app/layout-bcca9ad1f35b5fe9.js"],"async":false},"/Volumes/Data Vault/PiSpace/pi-web/app/sidebar-menu.css":{"id":49052,"name":"*","chunks":["7177","static/chunks/app/layout-bcca9ad1f35b5fe9.js"],"async":false},"/Volumes/Data Vault/PiSpace/pi-web/app/login/page.tsx":{"id":33049,"name":"*","chunks":[],"async":false},"/Volumes/Data Vault/PiSpace/pi-web/components/AppShell.tsx":{"id":44625,"name":"*","chunks":["7330","static/chunks/d3ac728e-7964f816a1ca64e5.js","3888","static/chunks/e868780c-ed8fa75e367bdffb.js","1449","static/chunks/1449-b8bd9d80d540461e.js","8986","static/chunks/8986-af362e4302b53be7.js","5772","static/chunks/5772-0642818af65827af.js","9242","static/chunks/9242-b7fcdf8d6cde1f0b.js","1278","static/chunks/1278-9faace365b604692.js","6219","static/chunks/6219-1dc13091ce8804bf.js","9176","static/chunks/9176-91a933328be48cb8.js","7847","static/chunks/7847-0190dc4ded5f19a4.js","8974","static/chunks/app/page-438dbfe8e32a65da.js"],"async":true},"/Volumes/Data Vault/PiSpace/pi-web/hooks/useI18n.tsx":{"id":21278,"name":"*","chunks":["7330","static/chunks/d3ac728e-7964f816a1ca64e5.js","1449","static/chunks/1449-b8bd9d80d540461e.js","1278","static/chunks/1278-9faace365b604692.js","6219","static/chunks/6219-1dc13091ce8804bf.js","7847","static/chunks/7847-0190dc4ded5f19a4.js","2180","static/chunks/app/share/%5Bcode%5D/page-ba6c62568f24e009.js"],"async":false},"/Volumes/Data Vault/PiSpace/pi-web/components/FilesPage.tsx":{"id":49798,"name":"*","chunks":[],"async":false},"/Volumes/Data Vault/PiSpace/pi-web/components/SharedSessionView.tsx":{"id":30241,"name":"*","chunks":["7330","static/chunks/d3ac728e-7964f816a1ca64e5.js","1449","static/chunks/1449-b8bd9d80d540461e.js","1278","static/chunks/1278-9faace365b604692.js","6219","static/chunks/6219-1dc13091ce8804bf.js","7847","static/chunks/7847-0190dc4ded5f19a4.js","2180","static/chunks/app/share/%5Bcode%5D/page-ba6c62568f24e009.js"],"async":true}},"entryCSSFiles":{"/Volumes/Data Vault/PiSpace/pi-web/":[],"/Volumes/Data Vault/PiSpace/pi-web/app/layout":[{"inlined":false,"path":"static/css/9bcd6051db4f8890.css"},{"inlined":false,"path":"static/css/0d24ca7ab5ce5f23.css"},{"inlined":false,"path":"static/css/70e5f0998966beb6.css"},{"inlined":false,"path":"static/css/c99d24fe85e139cc.css"}],"/Volumes/Data Vault/PiSpace/pi-web/app/page":[{"inlined":false,"path":"static/css/49692dbfa6f26eeb.css"}],"/Volumes/Data Vault/PiSpace/pi-web/app/share/[code]/page":[]},"rscModuleMapping":{"21278":{"*":{"id":"73884","name":"*","chunks":[],"async":false}},"27123":{"*":{"id":"95547","name":"*","chunks":[],"async":false}},"30241":{"*":{"id":"22569","name":"*","chunks":[],"async":false}},"33049":{"*":{"id":"69613","name":"*","chunks":[],"async":false}},"38220":{"*":{"id":"57236","name":"*","chunks":[],"async":false}},"39979":{"*":{"id":"77261","name":"*","chunks":[],"async":false}},"44625":{"*":{"id":"35790","name":"*","chunks":[],"async":false}},"49052":{"*":{"id":"9998","name":"*","chunks":[],"async":false}},"49798":{"*":{"id":"76347","name":"*","chunks":[],"async":false}},"57121":{"*":{"id":"98099","name":"*","chunks":[],"async":false}},"57788":{"*":{"id":"81276","name":"*","chunks":[],"async":false}},"61304":{"*":{"id":"15098","name":"*","chunks":[],"async":false}},"64777":{"*":{"id":"33859","name":"*","chunks":[],"async":false}},"66872":{"*":{"id":"82704","name":"*","chunks":[],"async":false}},"74581":{"*":{"id":"16237","name":"*","chunks":[],"async":false}},"78616":{"*":{"id":"47644","name":"*","chunks":[],"async":false}},"84559":{"*":{"id":"25319","name":"*","chunks":[],"async":false}},"86869":{"*":{"id":"36675","name":"*","chunks":[],"async":false}},"90484":{"*":{"id":"98562","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}};
|
|
@@ -21,60 +21,61 @@
|
|
|
21
21
|
"/api/sessions/[id]/state/route": "app/api/sessions/[id]/state/route.js",
|
|
22
22
|
"/api/worktrees/route": "app/api/worktrees/route.js",
|
|
23
23
|
"/favicon.ico/route": "app/favicon.ico/route.js",
|
|
24
|
-
"/api/agent/[id]/events/route": "app/api/agent/[id]/events/route.js",
|
|
25
24
|
"/api/agent/[id]/lease/route": "app/api/agent/[id]/lease/route.js",
|
|
26
|
-
"/api/agent/debug/route": "app/api/agent/debug/route.js",
|
|
27
25
|
"/api/agent/running/route": "app/api/agent/running/route.js",
|
|
26
|
+
"/api/agent/debug/route": "app/api/agent/debug/route.js",
|
|
27
|
+
"/api/agent/[id]/events/route": "app/api/agent/[id]/events/route.js",
|
|
28
28
|
"/api/agent/new/route": "app/api/agent/new/route.js",
|
|
29
29
|
"/api/app-update/route": "app/api/app-update/route.js",
|
|
30
|
-
"/api/auth/api-key/[provider]/route": "app/api/auth/api-key/[provider]/route.js",
|
|
31
30
|
"/api/auth/logout/[provider]/route": "app/api/auth/logout/[provider]/route.js",
|
|
32
31
|
"/api/auth/providers/route": "app/api/auth/providers/route.js",
|
|
33
|
-
"/api/
|
|
32
|
+
"/api/auto-title/route": "app/api/auto-title/route.js",
|
|
33
|
+
"/api/auth/api-key/[provider]/route": "app/api/auth/api-key/[provider]/route.js",
|
|
34
34
|
"/api/cache-miss-notices/route": "app/api/cache-miss-notices/route.js",
|
|
35
|
+
"/api/auth/login/[provider]/route": "app/api/auth/login/[provider]/route.js",
|
|
35
36
|
"/api/channels/route": "app/api/channels/route.js",
|
|
36
37
|
"/api/mcp/sign-in/[flowId]/route": "app/api/mcp/sign-in/[flowId]/route.js",
|
|
38
|
+
"/api/mcp/route": "app/api/mcp/route.js",
|
|
37
39
|
"/api/mcp/sign-in/route": "app/api/mcp/sign-in/route.js",
|
|
38
40
|
"/api/mcp/test/route": "app/api/mcp/test/route.js",
|
|
39
41
|
"/api/models-config/catalog/route": "app/api/models-config/catalog/route.js",
|
|
40
|
-
"/api/models-config/route": "app/api/models-config/route.js",
|
|
41
42
|
"/api/models-config/discover/route": "app/api/models-config/discover/route.js",
|
|
43
|
+
"/api/models-config/route": "app/api/models-config/route.js",
|
|
44
|
+
"/api/models-config/test/route": "app/api/models-config/test/route.js",
|
|
42
45
|
"/api/models/default/route": "app/api/models/default/route.js",
|
|
43
46
|
"/api/models/refresh/route": "app/api/models/refresh/route.js",
|
|
44
|
-
"/api/models
|
|
47
|
+
"/api/models/enabled/route": "app/api/models/enabled/route.js",
|
|
48
|
+
"/api/models/route": "app/api/models/route.js",
|
|
45
49
|
"/api/open-in-explorer/route": "app/api/open-in-explorer/route.js",
|
|
46
50
|
"/api/plugins/check/route": "app/api/plugins/check/route.js",
|
|
47
|
-
"/api/models/route": "app/api/models/route.js",
|
|
48
51
|
"/api/project-trust/route": "app/api/project-trust/route.js",
|
|
49
52
|
"/api/provider-usage/query/route": "app/api/provider-usage/query/route.js",
|
|
53
|
+
"/api/plugins/route": "app/api/plugins/route.js",
|
|
50
54
|
"/api/push/config/route": "app/api/push/config/route.js",
|
|
51
55
|
"/api/push/subscribe/route": "app/api/push/subscribe/route.js",
|
|
52
|
-
"/api/mcp/route": "app/api/mcp/route.js",
|
|
53
|
-
"/api/models/enabled/route": "app/api/models/enabled/route.js",
|
|
54
|
-
"/api/sessions/[id]/fork/route": "app/api/sessions/[id]/fork/route.js",
|
|
55
56
|
"/api/sessions/[id]/export/route": "app/api/sessions/[id]/export/route.js",
|
|
57
|
+
"/api/sessions/[id]/fork/route": "app/api/sessions/[id]/fork/route.js",
|
|
56
58
|
"/api/sessions/[id]/share/route": "app/api/sessions/[id]/share/route.js",
|
|
59
|
+
"/api/sessions/[id]/route": "app/api/sessions/[id]/route.js",
|
|
57
60
|
"/api/sessions/delete/route": "app/api/sessions/delete/route.js",
|
|
58
61
|
"/api/sessions/route": "app/api/sessions/route.js",
|
|
59
62
|
"/api/sessions/search/route": "app/api/sessions/search/route.js",
|
|
60
|
-
"/api/plugins/route": "app/api/plugins/route.js",
|
|
61
|
-
"/api/sessions/[id]/route": "app/api/sessions/[id]/route.js",
|
|
62
|
-
"/api/sessions/ui-state/route": "app/api/sessions/ui-state/route.js",
|
|
63
63
|
"/api/sessions/stats/route": "app/api/sessions/stats/route.js",
|
|
64
|
+
"/api/sessions/ui-state/route": "app/api/sessions/ui-state/route.js",
|
|
64
65
|
"/api/skills/check/route": "app/api/skills/check/route.js",
|
|
65
66
|
"/api/skills/content/route": "app/api/skills/content/route.js",
|
|
66
67
|
"/api/skills/install/route": "app/api/skills/install/route.js",
|
|
67
68
|
"/api/skills/route": "app/api/skills/route.js",
|
|
68
|
-
"/api/subagents/[id]/route": "app/api/subagents/[id]/route.js",
|
|
69
|
-
"/api/skills/update/route": "app/api/skills/update/route.js",
|
|
70
69
|
"/api/skills/search/route": "app/api/skills/search/route.js",
|
|
70
|
+
"/api/skills/update/route": "app/api/skills/update/route.js",
|
|
71
|
+
"/api/subagents/[id]/route": "app/api/subagents/[id]/route.js",
|
|
72
|
+
"/api/subagents/profiles/route": "app/api/subagents/profiles/route.js",
|
|
71
73
|
"/api/subagents/settings/route": "app/api/subagents/settings/route.js",
|
|
72
74
|
"/api/terminal/[id]/events/route": "app/api/terminal/[id]/events/route.js",
|
|
73
|
-
"/api/subagents/profiles/route": "app/api/subagents/profiles/route.js",
|
|
74
75
|
"/api/terminal/[id]/route": "app/api/terminal/[id]/route.js",
|
|
75
76
|
"/api/terminal/route": "app/api/terminal/route.js",
|
|
76
|
-
"/api/usage/route": "app/api/usage/route.js",
|
|
77
77
|
"/api/tools/settings/route": "app/api/tools/settings/route.js",
|
|
78
|
+
"/api/usage/route": "app/api/usage/route.js",
|
|
78
79
|
"/api/web-auth/route": "app/api/web-auth/route.js",
|
|
79
80
|
"/manifest.webmanifest/route": "app/manifest.webmanifest/route.js",
|
|
80
81
|
"/login/page": "app/login/page.js",
|