@qt4798/pi-web 0.18.10 → 0.18.11
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 +17 -18
- package/.next/build-manifest.json +3 -3
- 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 +0 -6
- 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 +2 -2
- package/.next/server/app/_not-found.segments/_full.segment.rsc +2 -2
- package/.next/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc +2 -2
- package/.next/server/app/_not-found.segments/_tree.segment.rsc +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/new/route.js +1 -1
- package/.next/server/app/api/agent/running/events/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/combined/route.js +1 -1
- package/.next/server/app/api/auth/login/[provider]/route.js +1 -1
- package/.next/server/app/api/auth/logout/[provider]/route.js +1 -1
- package/.next/server/app/api/auth/providers/route.js +1 -1
- package/.next/server/app/api/backup/export/route.js +1 -1
- package/.next/server/app/api/backup/import/route.js +1 -1
- package/.next/server/app/api/cwd/browse/route.js +1 -1
- package/.next/server/app/api/cwd/validate/route.js +1 -1
- package/.next/server/app/api/default-cwd/route.js +1 -1
- package/.next/server/app/api/events/route.js +2 -2
- package/.next/server/app/api/features/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/diff/route.js +2 -2
- package/.next/server/app/api/git/push/route.js +1 -1
- package/.next/server/app/api/git/stash/route.js +1 -1
- package/.next/server/app/api/git/status/route.js +1 -1
- package/.next/server/app/api/home/route.js +1 -1
- package/.next/server/app/api/import/discover/route.js +1 -1
- package/.next/server/app/api/import/execute/route.js +1 -1
- package/.next/server/app/api/import/status/route.js +1 -1
- package/.next/server/app/api/logs/route.js +1 -1
- package/.next/server/app/api/mcp/restart/route.js +1 -1
- package/.next/server/app/api/mcp/route.js +2 -2
- 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/builtin/route.js +1 -1
- package/.next/server/app/api/models-config/catalog/route.js +1 -1
- package/.next/server/app/api/models-config/discover/route.js +1 -1
- package/.next/server/app/api/models-config/route.js +1 -1
- package/.next/server/app/api/models-config/test/route.js +1 -1
- package/.next/server/app/api/modes/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-aliases/route.js +1 -1
- package/.next/server/app/api/project-trust/route.js +1 -1
- package/.next/server/app/api/projects/visibility/route.js +1 -1
- package/.next/server/app/api/provider-usage/query/route.js +1 -1
- package/.next/server/app/api/proxy/route.js +1 -1
- package/.next/server/app/api/proxy/test/route.js +1 -1
- package/.next/server/app/api/sessions/[id]/auto-name/route.js +2 -2
- package/.next/server/app/api/sessions/[id]/context/route.js +1 -1
- package/.next/server/app/api/sessions/[id]/details/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 +2 -2
- package/.next/server/app/api/sessions/[id]/queue-recovery/route.js +1 -1
- package/.next/server/app/api/sessions/[id]/route.js +1 -1
- package/.next/server/app/api/sessions/[id]/state/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/settings/title-model/route.js +1 -1
- package/.next/server/app/api/skills/check/route.js +1 -1
- package/.next/server/app/api/skills/install/route.js +1 -1
- package/.next/server/app/api/skills/route.js +1 -1
- package/.next/server/app/api/skills/search/route.js +1 -1
- package/.next/server/app/api/skills/update/route.js +1 -1
- package/.next/server/app/api/snippets/[id]/route.js +1 -1
- package/.next/server/app/api/snippets/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/tasks/[id]/[action]/route.js +1 -1
- package/.next/server/app/api/tasks/[id]/changed-files/route.js +1 -1
- package/.next/server/app/api/tasks/[id]/diff/route.js +2 -2
- package/.next/server/app/api/tasks/[id]/events/route.js +1 -1
- package/.next/server/app/api/tasks/[id]/route.js +1 -1
- package/.next/server/app/api/tasks/batch/route.js +1 -1
- package/.next/server/app/api/tasks/events/route.js +2 -2
- package/.next/server/app/api/tasks/route.js +1 -1
- package/.next/server/app/api/tasks/settings/route.js +1 -1
- package/.next/server/app/api/tasks/templates/route.js +1 -1
- package/.next/server/app/api/terminal/[id]/events/route.js +2 -2
- 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/themes/[name]/route.js +1 -1
- package/.next/server/app/api/themes/route.js +1 -1
- package/.next/server/app/api/tools/extension-tools/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/vision-config/route.js +2 -2
- 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/icon.ico/route.js +1 -1
- package/.next/server/app/icon.png/route.js +1 -1
- package/.next/server/app/icon.svg/route.js +1 -1
- package/.next/server/app/index.html +1 -1
- package/.next/server/app/index.rsc +4 -4
- package/.next/server/app/index.segments/__PAGE__.segment.rsc +4 -4
- package/.next/server/app/index.segments/_full.segment.rsc +4 -4
- 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 +3 -3
- package/.next/server/app/login.segments/_full.segment.rsc +3 -3
- package/.next/server/app/login.segments/_tree.segment.rsc +2 -2
- package/.next/server/app/login.segments/login/__PAGE__.segment.rsc +3 -3
- package/.next/server/app/page.js +15 -15
- package/.next/server/app/page_client-reference-manifest.js +1 -1
- package/.next/server/app-paths-manifest.json +17 -18
- package/.next/server/chunks/3379.js +1 -1
- package/.next/server/chunks/4253.js +3 -3
- package/.next/server/chunks/6429.js +3 -3
- package/.next/server/chunks/7915.js +1 -1
- package/.next/server/chunks/8152.js +1 -1
- package/.next/server/middleware-build-manifest.js +1 -1
- package/.next/server/pages/404.html +1 -1
- package/.next/server/pages/500.html +1 -1
- package/.next/server/server-reference-manifest.json +1 -1
- package/.next/server/webpack-runtime.js +1 -1
- package/.next/static/chunks/2981-f36a0ad7528e24b1.js +1 -0
- package/.next/static/chunks/8272-a2dd6dc928b6876e.js +1 -0
- package/.next/static/chunks/app/_global-error/page-43ebd38332159d0f.js +1 -0
- package/.next/static/chunks/app/api/agent/[id]/bash-output/route-43ebd38332159d0f.js +1 -0
- package/.next/static/chunks/app/api/agent/[id]/events/route-43ebd38332159d0f.js +1 -0
- package/.next/static/chunks/app/api/agent/[id]/lease/route-43ebd38332159d0f.js +1 -0
- package/.next/static/chunks/app/api/agent/[id]/route-43ebd38332159d0f.js +1 -0
- package/.next/static/chunks/app/api/agent/new/route-43ebd38332159d0f.js +1 -0
- package/.next/static/chunks/app/api/agent/running/events/route-43ebd38332159d0f.js +1 -0
- package/.next/static/chunks/app/api/agent/running/route-43ebd38332159d0f.js +1 -0
- package/.next/static/chunks/app/api/app-update/route-43ebd38332159d0f.js +1 -0
- package/.next/static/chunks/app/api/auth/api-key/[provider]/route-43ebd38332159d0f.js +1 -0
- package/.next/static/chunks/app/api/auth/combined/route-43ebd38332159d0f.js +1 -0
- package/.next/static/chunks/app/api/auth/login/[provider]/route-43ebd38332159d0f.js +1 -0
- package/.next/static/chunks/app/api/auth/logout/[provider]/route-43ebd38332159d0f.js +1 -0
- package/.next/static/chunks/app/api/auth/providers/route-43ebd38332159d0f.js +1 -0
- package/.next/static/chunks/app/api/backup/export/route-43ebd38332159d0f.js +1 -0
- package/.next/static/chunks/app/api/backup/import/route-43ebd38332159d0f.js +1 -0
- package/.next/static/chunks/app/api/cwd/browse/route-43ebd38332159d0f.js +1 -0
- package/.next/static/chunks/app/api/cwd/validate/route-43ebd38332159d0f.js +1 -0
- package/.next/static/chunks/app/api/default-cwd/route-43ebd38332159d0f.js +1 -0
- package/.next/static/chunks/app/api/events/route-43ebd38332159d0f.js +1 -0
- package/.next/static/chunks/app/api/features/route-43ebd38332159d0f.js +1 -0
- package/.next/static/chunks/app/api/file-index/route-43ebd38332159d0f.js +1 -0
- package/.next/static/chunks/app/api/files/[...path]/route-43ebd38332159d0f.js +1 -0
- package/.next/static/chunks/app/api/git/diff/route-43ebd38332159d0f.js +1 -0
- package/.next/static/chunks/app/api/git/push/route-43ebd38332159d0f.js +1 -0
- package/.next/static/chunks/app/api/git/stash/route-43ebd38332159d0f.js +1 -0
- package/.next/static/chunks/app/api/git/status/route-43ebd38332159d0f.js +1 -0
- package/.next/static/chunks/app/api/home/route-43ebd38332159d0f.js +1 -0
- package/.next/static/chunks/app/api/import/discover/route-43ebd38332159d0f.js +1 -0
- package/.next/static/chunks/app/api/import/execute/route-43ebd38332159d0f.js +1 -0
- package/.next/static/chunks/app/api/import/status/route-43ebd38332159d0f.js +1 -0
- package/.next/static/chunks/app/api/logs/route-43ebd38332159d0f.js +1 -0
- package/.next/static/chunks/app/api/mcp/restart/route-43ebd38332159d0f.js +1 -0
- package/.next/static/chunks/app/api/mcp/route-43ebd38332159d0f.js +1 -0
- package/.next/static/chunks/app/api/models/enabled/route-43ebd38332159d0f.js +1 -0
- package/.next/static/chunks/app/api/models/refresh/route-43ebd38332159d0f.js +1 -0
- package/.next/static/chunks/app/api/models/route-43ebd38332159d0f.js +1 -0
- package/.next/static/chunks/app/api/models-config/builtin/route-43ebd38332159d0f.js +1 -0
- package/.next/static/chunks/app/api/models-config/catalog/route-43ebd38332159d0f.js +1 -0
- package/.next/static/chunks/app/api/models-config/discover/route-43ebd38332159d0f.js +1 -0
- package/.next/static/chunks/app/api/models-config/route-43ebd38332159d0f.js +1 -0
- package/.next/static/chunks/app/api/models-config/test/route-43ebd38332159d0f.js +1 -0
- package/.next/static/chunks/app/api/modes/route-43ebd38332159d0f.js +1 -0
- package/.next/static/chunks/app/api/plugins/check/route-43ebd38332159d0f.js +1 -0
- package/.next/static/chunks/app/api/plugins/route-43ebd38332159d0f.js +1 -0
- package/.next/static/chunks/app/api/project-aliases/route-43ebd38332159d0f.js +1 -0
- package/.next/static/chunks/app/api/project-trust/route-43ebd38332159d0f.js +1 -0
- package/.next/static/chunks/app/api/projects/visibility/route-43ebd38332159d0f.js +1 -0
- package/.next/static/chunks/app/api/provider-usage/query/route-43ebd38332159d0f.js +1 -0
- package/.next/static/chunks/app/api/proxy/route-43ebd38332159d0f.js +1 -0
- package/.next/static/chunks/app/api/proxy/test/route-43ebd38332159d0f.js +1 -0
- package/.next/static/chunks/app/api/sessions/[id]/auto-name/route-43ebd38332159d0f.js +1 -0
- package/.next/static/chunks/app/api/sessions/[id]/context/route-43ebd38332159d0f.js +1 -0
- package/.next/static/chunks/app/api/sessions/[id]/details/route-43ebd38332159d0f.js +1 -0
- package/.next/static/chunks/app/api/sessions/[id]/entries/[entryId]/thinking/route-43ebd38332159d0f.js +1 -0
- package/.next/static/chunks/app/api/sessions/[id]/entries/[entryId]/tool-result-image/route-43ebd38332159d0f.js +1 -0
- package/.next/static/chunks/app/api/sessions/[id]/export/route-43ebd38332159d0f.js +1 -0
- package/.next/static/chunks/app/api/sessions/[id]/queue-recovery/route-43ebd38332159d0f.js +1 -0
- package/.next/static/chunks/app/api/sessions/[id]/route-43ebd38332159d0f.js +1 -0
- package/.next/static/chunks/app/api/sessions/[id]/state/route-43ebd38332159d0f.js +1 -0
- package/.next/static/chunks/app/api/sessions/route-43ebd38332159d0f.js +1 -0
- package/.next/static/chunks/app/api/sessions/search/route-43ebd38332159d0f.js +1 -0
- package/.next/static/chunks/app/api/settings/title-model/route-43ebd38332159d0f.js +1 -0
- package/.next/static/chunks/app/api/skills/check/route-43ebd38332159d0f.js +1 -0
- package/.next/static/chunks/app/api/skills/install/route-43ebd38332159d0f.js +1 -0
- package/.next/static/chunks/app/api/skills/route-43ebd38332159d0f.js +1 -0
- package/.next/static/chunks/app/api/skills/search/route-43ebd38332159d0f.js +1 -0
- package/.next/static/chunks/app/api/skills/update/route-43ebd38332159d0f.js +1 -0
- package/.next/static/chunks/app/api/snippets/[id]/route-43ebd38332159d0f.js +1 -0
- package/.next/static/chunks/app/api/snippets/route-43ebd38332159d0f.js +1 -0
- package/.next/static/chunks/app/api/subagents/[id]/route-43ebd38332159d0f.js +1 -0
- package/.next/static/chunks/app/api/subagents/profiles/route-43ebd38332159d0f.js +1 -0
- package/.next/static/chunks/app/api/subagents/settings/route-43ebd38332159d0f.js +1 -0
- package/.next/static/chunks/app/api/tasks/[id]/[action]/route-43ebd38332159d0f.js +1 -0
- package/.next/static/chunks/app/api/tasks/[id]/changed-files/route-43ebd38332159d0f.js +1 -0
- package/.next/static/chunks/app/api/tasks/[id]/diff/route-43ebd38332159d0f.js +1 -0
- package/.next/static/chunks/app/api/tasks/[id]/events/route-43ebd38332159d0f.js +1 -0
- package/.next/static/chunks/app/api/tasks/[id]/route-43ebd38332159d0f.js +1 -0
- package/.next/static/chunks/app/api/tasks/batch/route-43ebd38332159d0f.js +1 -0
- package/.next/static/chunks/app/api/tasks/events/route-43ebd38332159d0f.js +1 -0
- package/.next/static/chunks/app/api/tasks/route-43ebd38332159d0f.js +1 -0
- package/.next/static/chunks/app/api/tasks/settings/route-43ebd38332159d0f.js +1 -0
- package/.next/static/chunks/app/api/tasks/templates/route-43ebd38332159d0f.js +1 -0
- package/.next/static/chunks/app/api/terminal/[id]/events/route-43ebd38332159d0f.js +1 -0
- package/.next/static/chunks/app/api/terminal/[id]/route-43ebd38332159d0f.js +1 -0
- package/.next/static/chunks/app/api/terminal/route-43ebd38332159d0f.js +1 -0
- package/.next/static/chunks/app/api/themes/[name]/route-43ebd38332159d0f.js +1 -0
- package/.next/static/chunks/app/api/themes/route-43ebd38332159d0f.js +1 -0
- package/.next/static/chunks/app/api/tools/extension-tools/route-43ebd38332159d0f.js +1 -0
- package/.next/static/chunks/app/api/tools/settings/route-43ebd38332159d0f.js +1 -0
- package/.next/static/chunks/app/api/usage/route-43ebd38332159d0f.js +1 -0
- package/.next/static/chunks/app/api/vision-config/route-43ebd38332159d0f.js +1 -0
- package/.next/static/chunks/app/api/web-auth/route-43ebd38332159d0f.js +1 -0
- package/.next/static/chunks/app/api/worktrees/route-43ebd38332159d0f.js +1 -0
- package/.next/static/chunks/app/{page-b5504be1d93b8430.js → page-34c582c8b53234cc.js} +11 -11
- package/.next/static/chunks/next/dist/client/components/builtin/app-error-43ebd38332159d0f.js +1 -0
- package/.next/static/chunks/next/dist/client/components/builtin/forbidden-43ebd38332159d0f.js +1 -0
- package/.next/static/chunks/next/dist/client/components/builtin/not-found-43ebd38332159d0f.js +1 -0
- package/.next/static/chunks/next/dist/client/components/builtin/unauthorized-43ebd38332159d0f.js +1 -0
- package/.next/static/chunks/{webpack-e1f649c791588f74.js → webpack-8937e0633207540f.js} +1 -1
- package/.next/static/css/2d92ddfd19010e95.css +1 -0
- package/.next/static/vqJU0DdnD5Laxw6J_7xzv/_buildManifest.js +1 -0
- package/.next/trace +84 -83
- package/.next/trace-build +1 -1
- package/.next/types/routes.d.ts +1 -2
- package/.next/types/validator.ts +0 -9
- package/package.json +3 -1
- package/.next/server/app/api/project-state/route.js +0 -1
- package/.next/server/app/api/project-state/route.js.nft.json +0 -1
- package/.next/server/app/api/project-state/route_client-reference-manifest.js +0 -1
- package/.next/static/Bc4W8o_I-azZJvzY-9RoR/_buildManifest.js +0 -1
- package/.next/static/chunks/2981-20a2f99db34a0dc8.js +0 -1
- package/.next/static/chunks/7650-4f948821e59fd720.js +0 -1
- package/.next/static/chunks/app/_global-error/page-df454574f4d3121d.js +0 -1
- package/.next/static/chunks/app/api/agent/[id]/bash-output/route-df454574f4d3121d.js +0 -1
- package/.next/static/chunks/app/api/agent/[id]/events/route-df454574f4d3121d.js +0 -1
- package/.next/static/chunks/app/api/agent/[id]/lease/route-df454574f4d3121d.js +0 -1
- package/.next/static/chunks/app/api/agent/[id]/route-df454574f4d3121d.js +0 -1
- package/.next/static/chunks/app/api/agent/new/route-df454574f4d3121d.js +0 -1
- package/.next/static/chunks/app/api/agent/running/events/route-df454574f4d3121d.js +0 -1
- package/.next/static/chunks/app/api/agent/running/route-df454574f4d3121d.js +0 -1
- package/.next/static/chunks/app/api/app-update/route-df454574f4d3121d.js +0 -1
- package/.next/static/chunks/app/api/auth/api-key/[provider]/route-df454574f4d3121d.js +0 -1
- package/.next/static/chunks/app/api/auth/combined/route-df454574f4d3121d.js +0 -1
- package/.next/static/chunks/app/api/auth/login/[provider]/route-df454574f4d3121d.js +0 -1
- package/.next/static/chunks/app/api/auth/logout/[provider]/route-df454574f4d3121d.js +0 -1
- package/.next/static/chunks/app/api/auth/providers/route-df454574f4d3121d.js +0 -1
- package/.next/static/chunks/app/api/backup/export/route-df454574f4d3121d.js +0 -1
- package/.next/static/chunks/app/api/backup/import/route-df454574f4d3121d.js +0 -1
- package/.next/static/chunks/app/api/cwd/browse/route-df454574f4d3121d.js +0 -1
- package/.next/static/chunks/app/api/cwd/validate/route-df454574f4d3121d.js +0 -1
- package/.next/static/chunks/app/api/default-cwd/route-df454574f4d3121d.js +0 -1
- package/.next/static/chunks/app/api/events/route-df454574f4d3121d.js +0 -1
- package/.next/static/chunks/app/api/features/route-df454574f4d3121d.js +0 -1
- package/.next/static/chunks/app/api/file-index/route-df454574f4d3121d.js +0 -1
- package/.next/static/chunks/app/api/files/[...path]/route-df454574f4d3121d.js +0 -1
- package/.next/static/chunks/app/api/git/diff/route-df454574f4d3121d.js +0 -1
- package/.next/static/chunks/app/api/git/push/route-df454574f4d3121d.js +0 -1
- package/.next/static/chunks/app/api/git/stash/route-df454574f4d3121d.js +0 -1
- package/.next/static/chunks/app/api/git/status/route-df454574f4d3121d.js +0 -1
- package/.next/static/chunks/app/api/home/route-df454574f4d3121d.js +0 -1
- package/.next/static/chunks/app/api/import/discover/route-df454574f4d3121d.js +0 -1
- package/.next/static/chunks/app/api/import/execute/route-df454574f4d3121d.js +0 -1
- package/.next/static/chunks/app/api/import/status/route-df454574f4d3121d.js +0 -1
- package/.next/static/chunks/app/api/logs/route-df454574f4d3121d.js +0 -1
- package/.next/static/chunks/app/api/mcp/restart/route-df454574f4d3121d.js +0 -1
- package/.next/static/chunks/app/api/mcp/route-df454574f4d3121d.js +0 -1
- package/.next/static/chunks/app/api/models/enabled/route-df454574f4d3121d.js +0 -1
- package/.next/static/chunks/app/api/models/refresh/route-df454574f4d3121d.js +0 -1
- package/.next/static/chunks/app/api/models/route-df454574f4d3121d.js +0 -1
- package/.next/static/chunks/app/api/models-config/builtin/route-df454574f4d3121d.js +0 -1
- package/.next/static/chunks/app/api/models-config/catalog/route-df454574f4d3121d.js +0 -1
- package/.next/static/chunks/app/api/models-config/discover/route-df454574f4d3121d.js +0 -1
- package/.next/static/chunks/app/api/models-config/route-df454574f4d3121d.js +0 -1
- package/.next/static/chunks/app/api/models-config/test/route-df454574f4d3121d.js +0 -1
- package/.next/static/chunks/app/api/modes/route-df454574f4d3121d.js +0 -1
- package/.next/static/chunks/app/api/plugins/check/route-df454574f4d3121d.js +0 -1
- package/.next/static/chunks/app/api/plugins/route-df454574f4d3121d.js +0 -1
- package/.next/static/chunks/app/api/project-aliases/route-df454574f4d3121d.js +0 -1
- package/.next/static/chunks/app/api/project-state/route-df454574f4d3121d.js +0 -1
- package/.next/static/chunks/app/api/project-trust/route-df454574f4d3121d.js +0 -1
- package/.next/static/chunks/app/api/projects/visibility/route-df454574f4d3121d.js +0 -1
- package/.next/static/chunks/app/api/provider-usage/query/route-df454574f4d3121d.js +0 -1
- package/.next/static/chunks/app/api/proxy/route-df454574f4d3121d.js +0 -1
- package/.next/static/chunks/app/api/proxy/test/route-df454574f4d3121d.js +0 -1
- package/.next/static/chunks/app/api/sessions/[id]/auto-name/route-df454574f4d3121d.js +0 -1
- package/.next/static/chunks/app/api/sessions/[id]/context/route-df454574f4d3121d.js +0 -1
- package/.next/static/chunks/app/api/sessions/[id]/details/route-df454574f4d3121d.js +0 -1
- package/.next/static/chunks/app/api/sessions/[id]/entries/[entryId]/thinking/route-df454574f4d3121d.js +0 -1
- package/.next/static/chunks/app/api/sessions/[id]/entries/[entryId]/tool-result-image/route-df454574f4d3121d.js +0 -1
- package/.next/static/chunks/app/api/sessions/[id]/export/route-df454574f4d3121d.js +0 -1
- package/.next/static/chunks/app/api/sessions/[id]/queue-recovery/route-df454574f4d3121d.js +0 -1
- package/.next/static/chunks/app/api/sessions/[id]/route-df454574f4d3121d.js +0 -1
- package/.next/static/chunks/app/api/sessions/[id]/state/route-df454574f4d3121d.js +0 -1
- package/.next/static/chunks/app/api/sessions/route-df454574f4d3121d.js +0 -1
- package/.next/static/chunks/app/api/sessions/search/route-df454574f4d3121d.js +0 -1
- package/.next/static/chunks/app/api/settings/title-model/route-df454574f4d3121d.js +0 -1
- package/.next/static/chunks/app/api/skills/check/route-df454574f4d3121d.js +0 -1
- package/.next/static/chunks/app/api/skills/install/route-df454574f4d3121d.js +0 -1
- package/.next/static/chunks/app/api/skills/route-df454574f4d3121d.js +0 -1
- package/.next/static/chunks/app/api/skills/search/route-df454574f4d3121d.js +0 -1
- package/.next/static/chunks/app/api/skills/update/route-df454574f4d3121d.js +0 -1
- package/.next/static/chunks/app/api/snippets/[id]/route-df454574f4d3121d.js +0 -1
- package/.next/static/chunks/app/api/snippets/route-df454574f4d3121d.js +0 -1
- package/.next/static/chunks/app/api/subagents/[id]/route-df454574f4d3121d.js +0 -1
- package/.next/static/chunks/app/api/subagents/profiles/route-df454574f4d3121d.js +0 -1
- package/.next/static/chunks/app/api/subagents/settings/route-df454574f4d3121d.js +0 -1
- package/.next/static/chunks/app/api/tasks/[id]/[action]/route-df454574f4d3121d.js +0 -1
- package/.next/static/chunks/app/api/tasks/[id]/changed-files/route-df454574f4d3121d.js +0 -1
- package/.next/static/chunks/app/api/tasks/[id]/diff/route-df454574f4d3121d.js +0 -1
- package/.next/static/chunks/app/api/tasks/[id]/events/route-df454574f4d3121d.js +0 -1
- package/.next/static/chunks/app/api/tasks/[id]/route-df454574f4d3121d.js +0 -1
- package/.next/static/chunks/app/api/tasks/batch/route-df454574f4d3121d.js +0 -1
- package/.next/static/chunks/app/api/tasks/events/route-df454574f4d3121d.js +0 -1
- package/.next/static/chunks/app/api/tasks/route-df454574f4d3121d.js +0 -1
- package/.next/static/chunks/app/api/tasks/settings/route-df454574f4d3121d.js +0 -1
- package/.next/static/chunks/app/api/tasks/templates/route-df454574f4d3121d.js +0 -1
- package/.next/static/chunks/app/api/terminal/[id]/events/route-df454574f4d3121d.js +0 -1
- package/.next/static/chunks/app/api/terminal/[id]/route-df454574f4d3121d.js +0 -1
- package/.next/static/chunks/app/api/terminal/route-df454574f4d3121d.js +0 -1
- package/.next/static/chunks/app/api/themes/[name]/route-df454574f4d3121d.js +0 -1
- package/.next/static/chunks/app/api/themes/route-df454574f4d3121d.js +0 -1
- package/.next/static/chunks/app/api/tools/extension-tools/route-df454574f4d3121d.js +0 -1
- package/.next/static/chunks/app/api/tools/settings/route-df454574f4d3121d.js +0 -1
- package/.next/static/chunks/app/api/usage/route-df454574f4d3121d.js +0 -1
- package/.next/static/chunks/app/api/vision-config/route-df454574f4d3121d.js +0 -1
- package/.next/static/chunks/app/api/web-auth/route-df454574f4d3121d.js +0 -1
- package/.next/static/chunks/app/api/worktrees/route-df454574f4d3121d.js +0 -1
- package/.next/static/chunks/next/dist/client/components/builtin/app-error-df454574f4d3121d.js +0 -1
- package/.next/static/chunks/next/dist/client/components/builtin/forbidden-df454574f4d3121d.js +0 -1
- package/.next/static/chunks/next/dist/client/components/builtin/not-found-df454574f4d3121d.js +0 -1
- package/.next/static/chunks/next/dist/client/components/builtin/unauthorized-df454574f4d3121d.js +0 -1
- package/.next/static/css/e11550eee90cf54b.css +0 -1
- package/.next/types/app/api/project-state/route.ts +0 -353
- /package/.next/static/{Bc4W8o_I-azZJvzY-9RoR → vqJU0DdnD5Laxw6J_7xzv}/_ssgManifest.js +0 -0
package/.next/trace-build
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
[{"name":"run-webpack","duration":
|
|
1
|
+
[{"name":"run-webpack","duration":87365054,"timestamp":96382725621,"id":14,"parentId":1,"tags":{},"startTime":1790523067360,"traceId":"979adc911b95e5d6"},{"name":"run-typescript","duration":20826820,"timestamp":96470148610,"id":18321,"parentId":1,"tags":{},"startTime":1790523154784,"traceId":"979adc911b95e5d6"},{"name":"static-check","duration":4418567,"timestamp":96490990701,"id":18324,"parentId":1,"tags":{},"startTime":1790523175626,"traceId":"979adc911b95e5d6"},{"name":"static-generation","duration":4001123,"timestamp":96495759831,"id":18530,"parentId":1,"tags":{},"startTime":1790523180395,"traceId":"979adc911b95e5d6"},{"name":"collect-build-traces","duration":34462197,"timestamp":96495415103,"id":18527,"parentId":1,"tags":{},"startTime":1790523180050,"traceId":"979adc911b95e5d6"},{"name":"output-standalone","duration":4171607,"timestamp":96529877916,"id":18538,"parentId":1,"tags":{},"startTime":1790523214513,"traceId":"979adc911b95e5d6"},{"name":"telemetry-flush","duration":49,"timestamp":96534058175,"id":18541,"parentId":1,"tags":{},"startTime":1790523218693,"traceId":"979adc911b95e5d6"},{"name":"next-build","duration":151467234,"timestamp":96382591000,"id":1,"tags":{"buildMode":"default","version":"16.3.6","bundler":"webpack","has-custom-webpack-config":"false","use-build-worker":"true"},"startTime":1790523067225,"traceId":"979adc911b95e5d6"}]
|
package/.next/types/routes.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
// Do not edit this file manually
|
|
3
3
|
|
|
4
4
|
type AppRoutes = "/" | "/login"
|
|
5
|
-
type AppRouteHandlerRoutes = "/api/agent/[id]" | "/api/agent/[id]/bash-output" | "/api/agent/[id]/events" | "/api/agent/[id]/lease" | "/api/agent/new" | "/api/agent/running" | "/api/agent/running/events" | "/api/app-update" | "/api/auth/api-key/[provider]" | "/api/auth/combined" | "/api/auth/login/[provider]" | "/api/auth/logout/[provider]" | "/api/auth/providers" | "/api/backup/export" | "/api/backup/import" | "/api/cwd/browse" | "/api/cwd/validate" | "/api/default-cwd" | "/api/events" | "/api/features" | "/api/file-index" | "/api/files/[...path]" | "/api/git/diff" | "/api/git/push" | "/api/git/stash" | "/api/git/status" | "/api/home" | "/api/import/discover" | "/api/import/execute" | "/api/import/status" | "/api/logs" | "/api/mcp" | "/api/mcp/restart" | "/api/models" | "/api/models-config" | "/api/models-config/builtin" | "/api/models-config/catalog" | "/api/models-config/discover" | "/api/models-config/test" | "/api/models/enabled" | "/api/models/refresh" | "/api/modes" | "/api/plugins" | "/api/plugins/check" | "/api/project-aliases" | "/api/project-
|
|
5
|
+
type AppRouteHandlerRoutes = "/api/agent/[id]" | "/api/agent/[id]/bash-output" | "/api/agent/[id]/events" | "/api/agent/[id]/lease" | "/api/agent/new" | "/api/agent/running" | "/api/agent/running/events" | "/api/app-update" | "/api/auth/api-key/[provider]" | "/api/auth/combined" | "/api/auth/login/[provider]" | "/api/auth/logout/[provider]" | "/api/auth/providers" | "/api/backup/export" | "/api/backup/import" | "/api/cwd/browse" | "/api/cwd/validate" | "/api/default-cwd" | "/api/events" | "/api/features" | "/api/file-index" | "/api/files/[...path]" | "/api/git/diff" | "/api/git/push" | "/api/git/stash" | "/api/git/status" | "/api/home" | "/api/import/discover" | "/api/import/execute" | "/api/import/status" | "/api/logs" | "/api/mcp" | "/api/mcp/restart" | "/api/models" | "/api/models-config" | "/api/models-config/builtin" | "/api/models-config/catalog" | "/api/models-config/discover" | "/api/models-config/test" | "/api/models/enabled" | "/api/models/refresh" | "/api/modes" | "/api/plugins" | "/api/plugins/check" | "/api/project-aliases" | "/api/project-trust" | "/api/projects/visibility" | "/api/provider-usage/query" | "/api/proxy" | "/api/proxy/test" | "/api/sessions" | "/api/sessions/[id]" | "/api/sessions/[id]/auto-name" | "/api/sessions/[id]/context" | "/api/sessions/[id]/details" | "/api/sessions/[id]/entries/[entryId]/thinking" | "/api/sessions/[id]/entries/[entryId]/tool-result-image" | "/api/sessions/[id]/export" | "/api/sessions/[id]/queue-recovery" | "/api/sessions/[id]/state" | "/api/sessions/search" | "/api/settings/title-model" | "/api/skills" | "/api/skills/check" | "/api/skills/install" | "/api/skills/search" | "/api/skills/update" | "/api/snippets" | "/api/snippets/[id]" | "/api/subagents/[id]" | "/api/subagents/profiles" | "/api/subagents/settings" | "/api/tasks" | "/api/tasks/[id]" | "/api/tasks/[id]/[action]" | "/api/tasks/[id]/changed-files" | "/api/tasks/[id]/diff" | "/api/tasks/[id]/events" | "/api/tasks/batch" | "/api/tasks/events" | "/api/tasks/settings" | "/api/tasks/templates" | "/api/terminal" | "/api/terminal/[id]" | "/api/terminal/[id]/events" | "/api/themes" | "/api/themes/[name]" | "/api/tools/extension-tools" | "/api/tools/settings" | "/api/usage" | "/api/vision-config" | "/api/web-auth" | "/api/worktrees"
|
|
6
6
|
type PageRoutes = never
|
|
7
7
|
type LayoutRoutes = "/"
|
|
8
8
|
type RedirectRoutes = never
|
|
@@ -57,7 +57,6 @@ interface ParamMap {
|
|
|
57
57
|
"/api/plugins": {}
|
|
58
58
|
"/api/plugins/check": {}
|
|
59
59
|
"/api/project-aliases": {}
|
|
60
|
-
"/api/project-state": {}
|
|
61
60
|
"/api/project-trust": {}
|
|
62
61
|
"/api/projects/visibility": {}
|
|
63
62
|
"/api/provider-usage/query": {}
|
package/.next/types/validator.ts
CHANGED
|
@@ -470,15 +470,6 @@ type RouteHandlerConfig<Route extends AppRouteHandlerRoutes = AppRouteHandlerRou
|
|
|
470
470
|
type __Unused = __Check
|
|
471
471
|
}
|
|
472
472
|
|
|
473
|
-
// Validate ../../app/api/project-state/route.ts
|
|
474
|
-
{
|
|
475
|
-
type __IsExpected<Specific extends RouteHandlerConfig<"/api/project-state">> = Specific
|
|
476
|
-
const handler = {} as typeof import("../../app/api/project-state/route.js")
|
|
477
|
-
type __Check = __IsExpected<typeof handler>
|
|
478
|
-
// @ts-ignore
|
|
479
|
-
type __Unused = __Check
|
|
480
|
-
}
|
|
481
|
-
|
|
482
473
|
// Validate ../../app/api/project-trust/route.ts
|
|
483
474
|
{
|
|
484
475
|
type __IsExpected<Specific extends RouteHandlerConfig<"/api/project-trust">> = Specific
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@qt4798/pi-web",
|
|
3
|
-
"version": "0.18.
|
|
3
|
+
"version": "0.18.11",
|
|
4
4
|
"description": "Web workspace for the pi coding agent",
|
|
5
5
|
"homepage": "https://github.com/t479842598/pi-web-QT#readme",
|
|
6
6
|
"repository": {
|
|
@@ -53,12 +53,14 @@
|
|
|
53
53
|
"@fontsource/ia-writer-quattro": "^5.3.0",
|
|
54
54
|
"@fontsource/lilex": "^5.3.0",
|
|
55
55
|
"@phosphor-icons/react": "^2.1.10",
|
|
56
|
+
"@radix-ui/react-dialog": "^1.1.23",
|
|
56
57
|
"@tanstack/react-virtual": "^3.14.9",
|
|
57
58
|
"@tauri-apps/api": "^2.11.1",
|
|
58
59
|
"@xterm/addon-fit": "0.11.0",
|
|
59
60
|
"@xterm/xterm": "6.0.0",
|
|
60
61
|
"adm-zip": "^0.6.0",
|
|
61
62
|
"ansi_up": "^6.0.6",
|
|
63
|
+
"cmdk": "^1.1.1",
|
|
62
64
|
"js-yaml": "^5.2.3",
|
|
63
65
|
"katex": "^0.16.47",
|
|
64
66
|
"lucide-react": "^1.37.0",
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";(()=>{var a={};a.id=2865,a.ids=[2865],a.modules={261:a=>{a.exports=require("next/dist/shared/lib/router/utils/app-paths")},3295:a=>{a.exports=require("next/dist/server/app-render/after-task-async-storage.external.js")},8128:a=>{a.exports=require("next/dist/server/runtime-reacts.external.js")},10846:a=>{a.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},12412:a=>{a.exports=require("assert")},19121:a=>{a.exports=require("next/dist/server/app-render/action-async-storage.external.js")},27910:a=>{a.exports=require("stream")},28354:a=>{a.exports=require("util")},28802:a=>{a.exports=import("@earendil-works/pi-ai")},29021:a=>{a.exports=require("fs")},29294:a=>{a.exports=require("next/dist/server/app-render/work-async-storage.external.js")},29862:a=>{a.exports=import("@earendil-works/pi-tui")},31421:a=>{a.exports=require("node:child_process")},33873:a=>{a.exports=require("path")},44870:a=>{a.exports=require("next/dist/compiled/next-server/app-route.runtime.prod.js")},47115:(a,b,c)=>{c.d(b,{Ix:()=>l,n7:()=>m,qq:()=>g});var d=c(73024),e=c(76760),f=c(8102);let g=4;function h(a){return(0,e.join)(a,"project-tab-state.json")}let i={tabs:[],pinnedProject:null};function j(a){let b=h(a);if(!(0,d.existsSync)(b))return{...i};try{let a=JSON.parse((0,d.readFileSync)(b,"utf8"));if(!a||"object"!=typeof a||Array.isArray(a))return{...i};return{tabs:Array.isArray(a.tabs)?a.tabs.filter(a=>"string"==typeof a):[],pinnedProject:"string"==typeof a.pinnedProject&&""!==a.pinnedProject?a.pinnedProject:null}}catch{return{...i}}}function k(a){let b=new Set,c=[];for(let f of a.tabs){let a=(0,e.resolve)(f);if(!b.has(a)){if(b.add(a),c.length>=g)break;try{(0,d.existsSync)(a)&&c.push(a)}catch{}}}let f=a.pinnedProject;if(f)try{(0,d.existsSync)((0,e.resolve)(f))||(f=null)}catch{f=null}return{tabs:c,pinnedProject:f}}function l(a){return k(j(a))}function m(a,b){let c=j(a),d=k({tabs:void 0!==b.tabs?b.tabs:c.tabs,pinnedProject:void 0!==b.pinnedProject?b.pinnedProject:c.pinnedProject});return(0,f.$)(h(a),JSON.stringify(d,null,2)),d}},51455:a=>{a.exports=require("node:fs/promises")},55511:a=>{a.exports=require("crypto")},56156:(a,b,c)=>{c.r(b),c.d(b,{handler:()=>z,patchFetch:()=>y,routeModule:()=>u,serverHooks:()=>x,workAsyncStorage:()=>v,workUnitAsyncStorage:()=>w});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(37527);let u=new d.AppRouteRouteModule({definition:{kind:e.RouteKind.APP_ROUTE,page:"/api/project-state/route",pathname:"/api/project-state",filename:"route",bundlePath:"app/api/project-state/route"},distDir:".next",relativeProjectDir:"",resolvedPagePath:"/Volumes/1T 原装/项目研发/pi-web-QT/app/api/project-state/route.ts",nextConfigOutput:"standalone",userland:()=>c(93796),...{}}),{workAsyncStorage:v,workUnitAsyncStorage:w,serverHooks:x}=u;function y(){return(0,f.patchFetch)({workAsyncStorage:v,workUnitAsyncStorage:w})}async function z(a,b,c){c.requestMeta&&(0,g.setRequestMeta)(a,c.requestMeta),u.isDev&&(0,g.addRequestMeta)(a,"devRequestTimingInternalsEnd",process.hrtime.bigint());let d="/api/project-state/route";"/index"===d&&(d="/");let f=await u.prepare(a,b,{srcPage:d,multiZoneDraftMode:!1});if(!f)return b.statusCode=400,b.end("Bad Request"),null==c.waitUntil||c.waitUntil.call(c,Promise.resolve()),null;let{buildId:v,deploymentId:w,params:x,nextConfig:y,parsedUrl:z,isDraftMode:A,prerenderManifest:B,routerServerContext:C,isOnDemandRevalidate:D,revalidateOnlyGenerated:E,resolvedPathname:F,clientReferenceManifest:G,serverActionsManifest:H}=f,I=(0,j.normalizeAppPath)(d),J=!!(B.dynamicRoutes[I]||B.routes[F]),K=async()=>((null==C?void 0:C.render404)?await C.render404(a,b,z,!1):b.end("This page could not be found"),null);if(J&&!A){let a=!!B.routes[F],b=B.dynamicRoutes[I];if(b&&!1===b.fallback&&!a){if(y.adapterPath)return await K();throw new s.NoFallbackError}}let L=null;!J||u.isDev||A||(L="/index"===(L=F)?"/":L);let M=!0===u.isDev||!J,N=J&&!M;H&&G&&(0,i.setManifestsSingleton)({page:d,clientReferenceManifest:G,serverActionsManifest:H});let O=a.method||"GET",P=(0,h.getTracer)(),Q=P.getActiveScopeSpan(),R=!!(null==C?void 0:C.isWrappedByNextServer),S=!!(0,g.getRequestMeta)(a,"minimalMode"),T=(0,g.getRequestMeta)(a,"incrementalCache")||await u.getIncrementalCache(a,y,B,S);null==T||T.resetRequestCache(),globalThis.__incrementalCache=T;let U={params:x,previewProps:B.preview,renderOpts:{experimental:{authInterrupts:!!y.experimental.authInterrupts,useCacheTimeout:y.experimental.useCacheTimeout},cacheComponents:!!y.cacheComponents,validationLevel:y.experimental.instantInsights.validationLevel,supportsDynamicResponse:M,incrementalCache:T,hmrRefreshHash:(0,g.getRequestMeta)(a,"hmrRefreshHash"),cacheLifeProfiles:y.cacheLife,staticPageGenerationTimeout:y.staticPageGenerationTimeout,waitUntil:c.waitUntil,onClose:a=>{b.on("close",a)},onAfterTaskError:void 0,onInstrumentationRequestError:(b,c,d,e)=>u.onRequestError(a,b,d,e,C)},sharedContext:{buildId:v,deploymentId:w}},V=new k.NodeNextRequest(a),W=new k.NodeNextResponse(b),X=l.NextRequestAdapter.fromNodeNextRequest(V,(0,l.signalFromNodeResponse)(b)),Y=async({previousCacheEntry:e})=>{try{if(!S&&D&&E&&!e)return b.statusCode=404,b.setHeader("x-nextjs-cache","REVALIDATED"),b.end("This page could not be found"),null;let d=await u.handle(X,U);a.fetchMetrics=U.renderOpts.fetchMetrics;let f=U.renderOpts.pendingWaitUntil;f&&c.waitUntil&&(c.waitUntil(f),f=void 0);let g=U.renderOpts.collectedTags;if(!J)return await (0,o.I)(V,W,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!==U.renderOpts.collectedRevalidate&&!(U.renderOpts.collectedRevalidate>=r.INFINITE_CACHE)&&U.renderOpts.collectedRevalidate,e=void 0===U.renderOpts.collectedExpire||U.renderOpts.collectedExpire>=r.INFINITE_CACHE?!1!==c&&c>0?y.expireTime:void 0:U.renderOpts.collectedExpire;return{value:{kind:t.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 u.onRequestError(a,b,{routerKind:"App Router",routePath:d,routeType:"route",revalidateReason:(0,n.getRevalidateReason)({isStaticGeneration:N,isOnDemandRevalidate:D})},!1,C),b}},Z=async(d,f)=>{try{var g,i;let d=await u.handleResponse({req:a,nextConfig:y,cacheKey:L,routeKind:e.RouteKind.APP_ROUTE,isFallback:!1,prerenderManifest:B,isRoutePPREnabled:!1,isOnDemandRevalidate:D,revalidateOnlyGenerated:E,responseGenerator:Y,waitUntil:c.waitUntil,isMinimalMode:S});if(!J)return;if((null==d||null==(g=d.value)?void 0:g.kind)!==t.CachedRouteKind.APP_ROUTE)throw Object.defineProperty(Error(`Invariant: app-route received invalid cache entry ${null==d||null==(i=d.value)?void 0:i.kind}`),"__NEXT_ERROR_CODE",{value:"E701",enumerable:!1,configurable:!0});S||b.setHeader("x-nextjs-cache",D?"REVALIDATED":d.isMiss?"MISS":d.isStale?"STALE":"HIT"),A&&b.setHeader("Cache-Control","private, no-cache, no-store, max-age=0, must-revalidate");let f=(0,p.fromNodeOutgoingHttpHeaders)(d.value.headers);S&&J||f.delete(r.NEXT_CACHE_TAGS_HEADER),!d.cacheControl||b.getHeader("Cache-Control")||f.get("Cache-Control")||f.set("Cache-Control",(0,q.getCacheControlHeader)(d.cacheControl)),await (0,o.I)(V,W,new Response(d.value.body,{headers:f,status:d.value.status||200}));return}catch(b){if(b instanceof s.NoFallbackError||await u.onRequestError(a,b,{routerKind:"App Router",routePath:I,routeType:"route",revalidateReason:(0,n.getRevalidateReason)({isStaticGeneration:N,isOnDemandRevalidate:D})},!1,C),J)throw b;await (0,o.I)(V,W,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=P.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")||I,g=`${O} ${e}`;d.setAttributes({"next.route":e,"http.route":e,"next.span_name":g}),d.updateName(g),f&&f!==d&&(f.setAttribute("http.route",e),f.updateName(g))})()}};if(R&&Q)await Z(Q,void 0);else{let b=P.getActiveScopeSpan();await P.withPropagatedContext(a.headers,()=>P.trace(m.BaseServerSpan.handleRequest,{spanName:`${O} ${d}`,kind:h.SpanKind.SERVER,attributes:{"http.method":O,"http.target":a.url}},a=>Z(a,b)),void 0,!R)}}},63033:a=>{a.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},66544:(a,b,c)=>{c.d(b,{E2:()=>l,EN:()=>k});var d=c(77030);function e(a){return(a.startsWith("[")&&a.endsWith("]")?a.slice(1,-1):a).toLowerCase().replace(/\.$/,"")}function f(a){if(!a||/[\s/@\\]/.test(a))return null;try{let b=new URL(`http://${a}`);if(b.username||b.password||"/"!==b.pathname||b.search||b.hash)return null;return e(b.hostname)}catch{return null}}function g(a){if(!a||/[\s/@\\]/.test(a))return null;try{let b=new URL(`http://${a}`);if(b.username||b.password||"/"!==b.pathname||b.search||b.hash)return null;let c=e(b.hostname);return b.port?`${c}:${b.port}`:c}catch{return null}}function h(){return[process.env.PI_WEB_HOSTNAME,...process.env.PI_WEB_ALLOWED_HOSTS?.split(",")??[]].filter(a=>!!a?.trim())}function i(a){try{return new URL(a).origin}catch{return null}}let j=new Set(["POST","PUT","PATCH","DELETE"]);function k(a,b=h()){if(!function(a,b=h()){let c=a.headers.get("host"),g=c?f(c):null;return!!g&&(!!("localhost"===g||g.endsWith(".localhost")||(0,d.isIP)(g))||b.some(a=>{let b;return((b=a?.trim())?(0,d.isIP)(b)?e(b):f(b):null)===g}))}(a,b))return!1;if(function(a){if("GET"!==a.method||"navigate"!==a.headers.get("sec-fetch-mode")||"document"!==a.headers.get("sec-fetch-dest")||"?1"!==a.headers.get("sec-fetch-user"))return!1;try{return/^\/api\/sessions\/[^/]+\/export$/.test(new URL(a.url).pathname)}catch{return!1}}(a))return!0;if(!(a.headers.has("origin")||a.headers.has("sec-fetch-site"))){if(j.has((a.method??"GET").toUpperCase())){let b=a.headers.get("host"),c=b?f(b):null;return null!==c&&!!("localhost"===c||c.endsWith(".localhost")||/^127\./.test(c)||"::1"===c||"[::1]"===c)}return!0}return function(a){let b,c,d;if("cross-site"===a.headers.get("sec-fetch-site"))return!1;let e=a.headers.get("origin");if(!e)return!0;let f=(b=new URL(a.url),(c=a.headers.get("host"))?i(`${b.protocol}//${c}`):null);if(null!==f&&(i(e)===f||function(a,b,c){let d,e;try{d=new URL(a),e=new URL(b)}catch{return!1}if(d.protocol!==e.protocol||d.hostname.toLowerCase()!==e.hostname.toLowerCase())return!1;if(!d.port)return"same-origin"===c;let f=e.port||("https:"===e.protocol?"443":"80");return d.port===f}(e,f,a.headers.get("sec-fetch-site"))))return!0;if("same-origin"!==a.headers.get("sec-fetch-site")||!a.headers.get("x-forwarded-proto"))return!1;let h=a.headers.get("host");if(!h)return!1;try{d=new URL(e).host}catch{return!1}let j=g(d);return null!==j&&j===g(h)}(a)}function l(a){let b=a.headers.get("content-type")?.split(";",1)[0]?.trim().toLowerCase();return"application/json"===b||!!(b?.startsWith("application/")&&b.endsWith("+json"))}},73024:a=>{a.exports=require("node:fs")},75430:a=>{a.exports=import("@earendil-works/pi-coding-agent")},76760:a=>{a.exports=require("node:path")},77030:a=>{a.exports=require("node:net")},77598:a=>{a.exports=require("node:crypto")},79646:a=>{a.exports=require("child_process")},79748:a=>{a.exports=require("fs/promises")},80481:a=>{a.exports=require("node:readline")},81115:a=>{a.exports=require("constants")},86439:a=>{a.exports=require("next/dist/shared/lib/no-fallback-error.external")},93796:(a,b,c)=>{c.a(a,async(a,d)=>{try{c.r(b),c.d(b,{GET:()=>k,PUT:()=>l,dynamic:()=>m});var e=c(23211),f=c(75430),g=c(47115),h=c(56429),i=c(66544),j=a([f,h]);[f,h]=j.then?(await j)():j;let m="force-dynamic";async function k(){return e.NextResponse.json((0,g.Ix)((0,f.getAgentDir)()))}async function l(a){if(!(0,i.EN)(a))return e.NextResponse.json({error:"Untrusted API request"},{status:403});if(!(0,i.E2)(a))return e.NextResponse.json({error:"Content-Type must be application/json"},{status:415});try{let b=await a.json().catch(()=>null);if(!b||"object"!=typeof b||Array.isArray(b))return e.NextResponse.json({error:"body must be a JSON object"},{status:400});let{tabs:c,pinnedProject:d}=b,i={};if(void 0!==c){if(!Array.isArray(c))return e.NextResponse.json({error:"tabs must be an array"},{status:400});i.tabs=c.filter(a=>"string"==typeof a&&""!==a.trim()).map(a=>a.trim()).slice(0,g.qq)}if(void 0!==d){if(null!==d&&"string"!=typeof d)return e.NextResponse.json({error:"pinnedProject must be a string or null"},{status:400});i.pinnedProject=("string"==typeof d?d.trim():"")||null}if(void 0===i.tabs&&void 0===i.pinnedProject)return e.NextResponse.json((0,g.Ix)((0,f.getAgentDir)()));let j=(0,g.n7)((0,f.getAgentDir)(),i);return(0,h.iP)("project_state_changed","",j),e.NextResponse.json(j)}catch(a){return e.NextResponse.json({error:a instanceof Error?a.message:String(a)},{status:500})}}d()}catch(a){d(a)}})},94735:a=>{a.exports=require("events")}};var b=require("../../../webpack-runtime.js");b.C(a);var c=b.X(0,[4741,1813,974,426,5138,5582,8904,6429],()=>b(b.s=56156));module.exports=c})();
|