@qt4798/pi-web 0.18.17 → 0.18.19
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.next/BUILD_ID +1 -1
- package/.next/app-path-routes-manifest.json +9 -8
- package/.next/build-manifest.json +2 -2
- package/.next/prerender-manifest.json +3 -3
- package/.next/required-server-files.js +1 -1
- package/.next/required-server-files.json +1 -1
- package/.next/routes-manifest.json +6 -0
- package/.next/server/app/_global-error/page.js +2 -2
- package/.next/server/app/_global-error/page_client-reference-manifest.js +1 -1
- package/.next/server/app/_global-error.html +1 -1
- package/.next/server/app/_global-error.rsc +1 -1
- package/.next/server/app/_global-error.segments/_full.segment.rsc +1 -1
- package/.next/server/app/_global-error.segments/_global-error/__PAGE__.segment.rsc +1 -1
- package/.next/server/app/_global-error.segments/_tree.segment.rsc +1 -1
- package/.next/server/app/_not-found/page.js +1 -1
- package/.next/server/app/_not-found/page.js.nft.json +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 +17 -16
- package/.next/server/app/_not-found.segments/_full.segment.rsc +17 -16
- package/.next/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc +7 -6
- 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 +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/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 +1 -1
- package/.next/server/app/api/git/push/route.js +2 -2
- package/.next/server/app/api/git/stash/route.js +1 -1
- package/.next/server/app/api/git/status/route.js +2 -2
- package/.next/server/app/api/home/route.js +1 -1
- package/.next/server/app/api/import/discover/route.js +1 -1
- package/.next/server/app/api/import/execute/route.js +1 -1
- package/.next/server/app/api/import/status/route.js +1 -1
- package/.next/server/app/api/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/import/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 +1 -1
- 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/appearance/route.js +1 -1
- package/.next/server/app/api/settings/default-model/route.js +1 -0
- package/.next/server/app/api/settings/default-model/route.js.nft.json +1 -0
- package/.next/server/app/api/settings/default-model/route_client-reference-manifest.js +1 -0
- 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 +2 -2
- package/.next/server/app/api/tasks/[id]/diff/route.js +2 -2
- package/.next/server/app/api/tasks/[id]/events/route.js +1 -1
- package/.next/server/app/api/tasks/[id]/route.js +1 -1
- package/.next/server/app/api/tasks/batch/route.js +1 -1
- package/.next/server/app/api/tasks/events/route.js +1 -1
- 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/[name]/route.js.nft.json +1 -1
- package/.next/server/app/api/themes/route.js +1 -1
- package/.next/server/app/api/themes/route.js.nft.json +1 -1
- package/.next/server/app/api/tools/extension-tools/route.js +2 -2
- 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 +17 -16
- package/.next/server/app/index.segments/__PAGE__.segment.rsc +11 -10
- package/.next/server/app/index.segments/_full.segment.rsc +17 -16
- 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.js.nft.json +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 +21 -20
- package/.next/server/app/login.segments/_full.segment.rsc +21 -20
- package/.next/server/app/login.segments/_tree.segment.rsc +2 -2
- package/.next/server/app/login.segments/login/__PAGE__.segment.rsc +8 -7
- package/.next/server/app/page.js +16 -8
- package/.next/server/app/page.js.nft.json +1 -1
- package/.next/server/app/page_client-reference-manifest.js +1 -1
- package/.next/server/app-paths-manifest.json +9 -8
- package/.next/server/chunks/3379.js +1 -1
- package/.next/server/chunks/406.js +1 -0
- package/.next/server/chunks/5437.js +1 -1
- package/.next/server/chunks/574.js +1 -0
- package/.next/server/chunks/7774.js +9 -9
- package/.next/server/middleware-build-manifest.js +1 -1
- package/.next/server/middleware.js +2 -2
- package/.next/server/pages/404.html +1 -1
- package/.next/server/pages/500.html +1 -1
- package/.next/static/S_SVz1tcf2yF8HRu-MIyf/_buildManifest.js +1 -0
- package/.next/static/chunks/5170-642bc0cfa4eeb3ab.js +1 -0
- package/.next/static/chunks/{2787-8d358343705fcc68.js → 5713-2dbdd3004c5f9a77.js} +9 -1
- package/.next/static/chunks/6908-11441b31185ab998.js +1 -0
- package/.next/static/chunks/914-8d3afa4f09f892ef.js +1 -0
- package/.next/static/chunks/app/{api/agent/[id]/bash-output/route-8b1369cbf4e0a858.js → _global-error/page-a1928c6c9b36dae8.js} +1 -1
- package/.next/static/chunks/app/api/agent/[id]/{events/route-8b1369cbf4e0a858.js → bash-output/route-a1928c6c9b36dae8.js} +1 -1
- package/.next/static/chunks/app/api/agent/[id]/{lease/route-8b1369cbf4e0a858.js → events/route-a1928c6c9b36dae8.js} +1 -1
- package/.next/static/chunks/app/{_global-error/page-8b1369cbf4e0a858.js → api/agent/[id]/lease/route-a1928c6c9b36dae8.js} +1 -1
- package/.next/static/chunks/app/api/agent/[id]/route-a1928c6c9b36dae8.js +1 -0
- package/.next/static/chunks/app/api/agent/new/route-a1928c6c9b36dae8.js +1 -0
- package/.next/static/chunks/app/api/agent/running/events/route-a1928c6c9b36dae8.js +1 -0
- package/.next/static/chunks/app/api/agent/running/route-a1928c6c9b36dae8.js +1 -0
- package/.next/static/chunks/app/api/app-update/route-a1928c6c9b36dae8.js +1 -0
- package/.next/static/chunks/app/api/auth/api-key/[provider]/route-a1928c6c9b36dae8.js +1 -0
- package/.next/static/chunks/app/api/auth/combined/route-a1928c6c9b36dae8.js +1 -0
- package/.next/static/chunks/app/api/auth/login/[provider]/route-a1928c6c9b36dae8.js +1 -0
- package/.next/static/chunks/app/api/auth/logout/[provider]/route-a1928c6c9b36dae8.js +1 -0
- package/.next/static/chunks/app/api/auth/providers/route-a1928c6c9b36dae8.js +1 -0
- package/.next/static/chunks/app/api/backup/export/route-a1928c6c9b36dae8.js +1 -0
- package/.next/static/chunks/app/api/backup/import/route-a1928c6c9b36dae8.js +1 -0
- package/.next/static/chunks/app/api/cwd/browse/route-a1928c6c9b36dae8.js +1 -0
- package/.next/static/chunks/app/api/cwd/validate/route-a1928c6c9b36dae8.js +1 -0
- package/.next/static/chunks/app/api/default-cwd/route-a1928c6c9b36dae8.js +1 -0
- package/.next/static/chunks/app/api/events/route-a1928c6c9b36dae8.js +1 -0
- package/.next/static/chunks/app/api/features/route-a1928c6c9b36dae8.js +1 -0
- package/.next/static/chunks/app/api/file-index/route-a1928c6c9b36dae8.js +1 -0
- package/.next/static/chunks/app/api/files/[...path]/route-a1928c6c9b36dae8.js +1 -0
- package/.next/static/chunks/app/api/git/diff/route-a1928c6c9b36dae8.js +1 -0
- package/.next/static/chunks/app/api/git/push/route-a1928c6c9b36dae8.js +1 -0
- package/.next/static/chunks/app/api/git/stash/route-a1928c6c9b36dae8.js +1 -0
- package/.next/static/chunks/app/api/git/status/route-a1928c6c9b36dae8.js +1 -0
- package/.next/static/chunks/app/api/home/route-a1928c6c9b36dae8.js +1 -0
- package/.next/static/chunks/app/api/import/discover/route-a1928c6c9b36dae8.js +1 -0
- package/.next/static/chunks/app/api/import/execute/route-a1928c6c9b36dae8.js +1 -0
- package/.next/static/chunks/app/api/import/status/route-a1928c6c9b36dae8.js +1 -0
- package/.next/static/chunks/app/api/logs/route-a1928c6c9b36dae8.js +1 -0
- package/.next/static/chunks/app/api/mcp/restart/route-a1928c6c9b36dae8.js +1 -0
- package/.next/static/chunks/app/api/mcp/route-a1928c6c9b36dae8.js +1 -0
- package/.next/static/chunks/app/api/models/enabled/route-a1928c6c9b36dae8.js +1 -0
- package/.next/static/chunks/app/api/models/refresh/route-a1928c6c9b36dae8.js +1 -0
- package/.next/static/chunks/app/api/models/route-a1928c6c9b36dae8.js +1 -0
- package/.next/static/chunks/app/api/models-config/builtin/route-a1928c6c9b36dae8.js +1 -0
- package/.next/static/chunks/app/api/models-config/catalog/route-a1928c6c9b36dae8.js +1 -0
- package/.next/static/chunks/app/api/models-config/discover/route-a1928c6c9b36dae8.js +1 -0
- package/.next/static/chunks/app/api/models-config/import/route-a1928c6c9b36dae8.js +1 -0
- package/.next/static/chunks/app/api/models-config/route-a1928c6c9b36dae8.js +1 -0
- package/.next/static/chunks/app/api/models-config/test/route-a1928c6c9b36dae8.js +1 -0
- package/.next/static/chunks/app/api/modes/route-a1928c6c9b36dae8.js +1 -0
- package/.next/static/chunks/app/api/plugins/check/route-a1928c6c9b36dae8.js +1 -0
- package/.next/static/chunks/app/api/plugins/route-a1928c6c9b36dae8.js +1 -0
- package/.next/static/chunks/app/api/project-aliases/route-a1928c6c9b36dae8.js +1 -0
- package/.next/static/chunks/app/api/project-trust/route-a1928c6c9b36dae8.js +1 -0
- package/.next/static/chunks/app/api/projects/visibility/route-a1928c6c9b36dae8.js +1 -0
- package/.next/static/chunks/app/api/provider-usage/query/route-a1928c6c9b36dae8.js +1 -0
- package/.next/static/chunks/app/api/proxy/route-a1928c6c9b36dae8.js +1 -0
- package/.next/static/chunks/app/api/proxy/test/route-a1928c6c9b36dae8.js +1 -0
- package/.next/static/chunks/app/api/sessions/[id]/auto-name/route-a1928c6c9b36dae8.js +1 -0
- package/.next/static/chunks/app/api/sessions/[id]/context/route-a1928c6c9b36dae8.js +1 -0
- package/.next/static/chunks/app/api/sessions/[id]/details/route-a1928c6c9b36dae8.js +1 -0
- package/.next/static/chunks/app/api/sessions/[id]/entries/[entryId]/thinking/route-a1928c6c9b36dae8.js +1 -0
- package/.next/static/chunks/app/api/sessions/[id]/entries/[entryId]/tool-result-image/route-a1928c6c9b36dae8.js +1 -0
- package/.next/static/chunks/app/api/sessions/[id]/export/route-a1928c6c9b36dae8.js +1 -0
- package/.next/static/chunks/app/api/sessions/[id]/queue-recovery/route-a1928c6c9b36dae8.js +1 -0
- package/.next/static/chunks/app/api/sessions/[id]/route-a1928c6c9b36dae8.js +1 -0
- package/.next/static/chunks/app/api/sessions/[id]/state/route-a1928c6c9b36dae8.js +1 -0
- package/.next/static/chunks/app/api/sessions/route-a1928c6c9b36dae8.js +1 -0
- package/.next/static/chunks/app/api/sessions/search/route-a1928c6c9b36dae8.js +1 -0
- package/.next/static/chunks/app/api/settings/appearance/route-a1928c6c9b36dae8.js +1 -0
- package/.next/static/chunks/app/api/settings/default-model/route-a1928c6c9b36dae8.js +1 -0
- package/.next/static/chunks/app/api/settings/title-model/route-a1928c6c9b36dae8.js +1 -0
- package/.next/static/chunks/app/api/skills/check/route-a1928c6c9b36dae8.js +1 -0
- package/.next/static/chunks/app/api/skills/install/route-a1928c6c9b36dae8.js +1 -0
- package/.next/static/chunks/app/api/skills/route-a1928c6c9b36dae8.js +1 -0
- package/.next/static/chunks/app/api/skills/search/route-a1928c6c9b36dae8.js +1 -0
- package/.next/static/chunks/app/api/skills/update/route-a1928c6c9b36dae8.js +1 -0
- package/.next/static/chunks/app/api/snippets/[id]/route-a1928c6c9b36dae8.js +1 -0
- package/.next/static/chunks/app/api/snippets/route-a1928c6c9b36dae8.js +1 -0
- package/.next/static/chunks/app/api/subagents/[id]/route-a1928c6c9b36dae8.js +1 -0
- package/.next/static/chunks/app/api/subagents/profiles/route-a1928c6c9b36dae8.js +1 -0
- package/.next/static/chunks/app/api/subagents/settings/route-a1928c6c9b36dae8.js +1 -0
- package/.next/static/chunks/app/api/tasks/[id]/[action]/route-a1928c6c9b36dae8.js +1 -0
- package/.next/static/chunks/app/api/tasks/[id]/changed-files/route-a1928c6c9b36dae8.js +1 -0
- package/.next/static/chunks/app/api/tasks/[id]/diff/route-a1928c6c9b36dae8.js +1 -0
- package/.next/static/chunks/app/api/tasks/[id]/events/route-a1928c6c9b36dae8.js +1 -0
- package/.next/static/chunks/app/api/tasks/[id]/route-a1928c6c9b36dae8.js +1 -0
- package/.next/static/chunks/app/api/tasks/batch/route-a1928c6c9b36dae8.js +1 -0
- package/.next/static/chunks/app/api/tasks/events/route-a1928c6c9b36dae8.js +1 -0
- package/.next/static/chunks/app/api/tasks/route-a1928c6c9b36dae8.js +1 -0
- package/.next/static/chunks/app/api/tasks/settings/route-a1928c6c9b36dae8.js +1 -0
- package/.next/static/chunks/app/api/tasks/templates/route-a1928c6c9b36dae8.js +1 -0
- package/.next/static/chunks/app/api/terminal/[id]/events/route-a1928c6c9b36dae8.js +1 -0
- package/.next/static/chunks/app/api/terminal/[id]/route-a1928c6c9b36dae8.js +1 -0
- package/.next/static/chunks/app/api/terminal/route-a1928c6c9b36dae8.js +1 -0
- package/.next/static/chunks/app/api/themes/[name]/route-a1928c6c9b36dae8.js +1 -0
- package/.next/static/chunks/app/api/themes/route-a1928c6c9b36dae8.js +1 -0
- package/.next/static/chunks/app/api/tools/extension-tools/route-a1928c6c9b36dae8.js +1 -0
- package/.next/static/chunks/app/api/tools/settings/route-a1928c6c9b36dae8.js +1 -0
- package/.next/static/chunks/app/api/usage/route-a1928c6c9b36dae8.js +1 -0
- package/.next/static/chunks/app/api/vision-config/route-a1928c6c9b36dae8.js +1 -0
- package/.next/static/chunks/app/api/web-auth/route-a1928c6c9b36dae8.js +1 -0
- package/.next/static/chunks/app/api/worktrees/route-a1928c6c9b36dae8.js +1 -0
- package/.next/static/chunks/app/layout-afb53143cd8a858f.js +1 -0
- package/.next/static/chunks/app/{page-6b5795ae7025b0c8.js → page-4254ac67847d7776.js} +15 -15
- package/.next/static/chunks/next/dist/client/components/builtin/app-error-a1928c6c9b36dae8.js +1 -0
- package/.next/static/chunks/next/dist/client/components/builtin/forbidden-a1928c6c9b36dae8.js +1 -0
- package/.next/static/chunks/next/dist/client/components/builtin/not-found-a1928c6c9b36dae8.js +1 -0
- package/.next/static/chunks/next/dist/client/components/builtin/unauthorized-a1928c6c9b36dae8.js +1 -0
- package/.next/static/css/34f1ad830f772bb3.css +1 -0
- package/.next/trace +19 -10
- package/.next/trace-build +1 -1
- package/.next/types/app/api/settings/default-model/route.ts +353 -0
- package/.next/types/routes.d.ts +2 -1
- package/.next/types/validator.ts +9 -0
- package/lib/theme/openchamber/claude.json +41 -0
- package/package.json +2 -1
- package/.next/server/chunks/8526.js +0 -1
- package/.next/static/chunks/5170-3e328b87bd2a2070.js +0 -1
- package/.next/static/chunks/app/api/agent/[id]/route-8b1369cbf4e0a858.js +0 -1
- package/.next/static/chunks/app/api/agent/new/route-8b1369cbf4e0a858.js +0 -1
- package/.next/static/chunks/app/api/agent/running/events/route-8b1369cbf4e0a858.js +0 -1
- package/.next/static/chunks/app/api/agent/running/route-8b1369cbf4e0a858.js +0 -1
- package/.next/static/chunks/app/api/app-update/route-8b1369cbf4e0a858.js +0 -1
- package/.next/static/chunks/app/api/auth/api-key/[provider]/route-8b1369cbf4e0a858.js +0 -1
- package/.next/static/chunks/app/api/auth/combined/route-8b1369cbf4e0a858.js +0 -1
- package/.next/static/chunks/app/api/auth/login/[provider]/route-8b1369cbf4e0a858.js +0 -1
- package/.next/static/chunks/app/api/auth/logout/[provider]/route-8b1369cbf4e0a858.js +0 -1
- package/.next/static/chunks/app/api/auth/providers/route-8b1369cbf4e0a858.js +0 -1
- package/.next/static/chunks/app/api/backup/export/route-8b1369cbf4e0a858.js +0 -1
- package/.next/static/chunks/app/api/backup/import/route-8b1369cbf4e0a858.js +0 -1
- package/.next/static/chunks/app/api/cwd/browse/route-8b1369cbf4e0a858.js +0 -1
- package/.next/static/chunks/app/api/cwd/validate/route-8b1369cbf4e0a858.js +0 -1
- package/.next/static/chunks/app/api/default-cwd/route-8b1369cbf4e0a858.js +0 -1
- package/.next/static/chunks/app/api/events/route-8b1369cbf4e0a858.js +0 -1
- package/.next/static/chunks/app/api/features/route-8b1369cbf4e0a858.js +0 -1
- package/.next/static/chunks/app/api/file-index/route-8b1369cbf4e0a858.js +0 -1
- package/.next/static/chunks/app/api/files/[...path]/route-8b1369cbf4e0a858.js +0 -1
- package/.next/static/chunks/app/api/git/diff/route-8b1369cbf4e0a858.js +0 -1
- package/.next/static/chunks/app/api/git/push/route-8b1369cbf4e0a858.js +0 -1
- package/.next/static/chunks/app/api/git/stash/route-8b1369cbf4e0a858.js +0 -1
- package/.next/static/chunks/app/api/git/status/route-8b1369cbf4e0a858.js +0 -1
- package/.next/static/chunks/app/api/home/route-8b1369cbf4e0a858.js +0 -1
- package/.next/static/chunks/app/api/import/discover/route-8b1369cbf4e0a858.js +0 -1
- package/.next/static/chunks/app/api/import/execute/route-8b1369cbf4e0a858.js +0 -1
- package/.next/static/chunks/app/api/import/status/route-8b1369cbf4e0a858.js +0 -1
- package/.next/static/chunks/app/api/logs/route-8b1369cbf4e0a858.js +0 -1
- package/.next/static/chunks/app/api/mcp/restart/route-8b1369cbf4e0a858.js +0 -1
- package/.next/static/chunks/app/api/mcp/route-8b1369cbf4e0a858.js +0 -1
- package/.next/static/chunks/app/api/models/enabled/route-8b1369cbf4e0a858.js +0 -1
- package/.next/static/chunks/app/api/models/refresh/route-8b1369cbf4e0a858.js +0 -1
- package/.next/static/chunks/app/api/models/route-8b1369cbf4e0a858.js +0 -1
- package/.next/static/chunks/app/api/models-config/builtin/route-8b1369cbf4e0a858.js +0 -1
- package/.next/static/chunks/app/api/models-config/catalog/route-8b1369cbf4e0a858.js +0 -1
- package/.next/static/chunks/app/api/models-config/discover/route-8b1369cbf4e0a858.js +0 -1
- package/.next/static/chunks/app/api/models-config/import/route-8b1369cbf4e0a858.js +0 -1
- package/.next/static/chunks/app/api/models-config/route-8b1369cbf4e0a858.js +0 -1
- package/.next/static/chunks/app/api/models-config/test/route-8b1369cbf4e0a858.js +0 -1
- package/.next/static/chunks/app/api/modes/route-8b1369cbf4e0a858.js +0 -1
- package/.next/static/chunks/app/api/plugins/check/route-8b1369cbf4e0a858.js +0 -1
- package/.next/static/chunks/app/api/plugins/route-8b1369cbf4e0a858.js +0 -1
- package/.next/static/chunks/app/api/project-aliases/route-8b1369cbf4e0a858.js +0 -1
- package/.next/static/chunks/app/api/project-trust/route-8b1369cbf4e0a858.js +0 -1
- package/.next/static/chunks/app/api/projects/visibility/route-8b1369cbf4e0a858.js +0 -1
- package/.next/static/chunks/app/api/provider-usage/query/route-8b1369cbf4e0a858.js +0 -1
- package/.next/static/chunks/app/api/proxy/route-8b1369cbf4e0a858.js +0 -1
- package/.next/static/chunks/app/api/proxy/test/route-8b1369cbf4e0a858.js +0 -1
- package/.next/static/chunks/app/api/sessions/[id]/auto-name/route-8b1369cbf4e0a858.js +0 -1
- package/.next/static/chunks/app/api/sessions/[id]/context/route-8b1369cbf4e0a858.js +0 -1
- package/.next/static/chunks/app/api/sessions/[id]/details/route-8b1369cbf4e0a858.js +0 -1
- package/.next/static/chunks/app/api/sessions/[id]/entries/[entryId]/thinking/route-8b1369cbf4e0a858.js +0 -1
- package/.next/static/chunks/app/api/sessions/[id]/entries/[entryId]/tool-result-image/route-8b1369cbf4e0a858.js +0 -1
- package/.next/static/chunks/app/api/sessions/[id]/export/route-8b1369cbf4e0a858.js +0 -1
- package/.next/static/chunks/app/api/sessions/[id]/queue-recovery/route-8b1369cbf4e0a858.js +0 -1
- package/.next/static/chunks/app/api/sessions/[id]/route-8b1369cbf4e0a858.js +0 -1
- package/.next/static/chunks/app/api/sessions/[id]/state/route-8b1369cbf4e0a858.js +0 -1
- package/.next/static/chunks/app/api/sessions/route-8b1369cbf4e0a858.js +0 -1
- package/.next/static/chunks/app/api/sessions/search/route-8b1369cbf4e0a858.js +0 -1
- package/.next/static/chunks/app/api/settings/appearance/route-8b1369cbf4e0a858.js +0 -1
- package/.next/static/chunks/app/api/settings/title-model/route-8b1369cbf4e0a858.js +0 -1
- package/.next/static/chunks/app/api/skills/check/route-8b1369cbf4e0a858.js +0 -1
- package/.next/static/chunks/app/api/skills/install/route-8b1369cbf4e0a858.js +0 -1
- package/.next/static/chunks/app/api/skills/route-8b1369cbf4e0a858.js +0 -1
- package/.next/static/chunks/app/api/skills/search/route-8b1369cbf4e0a858.js +0 -1
- package/.next/static/chunks/app/api/skills/update/route-8b1369cbf4e0a858.js +0 -1
- package/.next/static/chunks/app/api/snippets/[id]/route-8b1369cbf4e0a858.js +0 -1
- package/.next/static/chunks/app/api/snippets/route-8b1369cbf4e0a858.js +0 -1
- package/.next/static/chunks/app/api/subagents/[id]/route-8b1369cbf4e0a858.js +0 -1
- package/.next/static/chunks/app/api/subagents/profiles/route-8b1369cbf4e0a858.js +0 -1
- package/.next/static/chunks/app/api/subagents/settings/route-8b1369cbf4e0a858.js +0 -1
- package/.next/static/chunks/app/api/tasks/[id]/[action]/route-8b1369cbf4e0a858.js +0 -1
- package/.next/static/chunks/app/api/tasks/[id]/changed-files/route-8b1369cbf4e0a858.js +0 -1
- package/.next/static/chunks/app/api/tasks/[id]/diff/route-8b1369cbf4e0a858.js +0 -1
- package/.next/static/chunks/app/api/tasks/[id]/events/route-8b1369cbf4e0a858.js +0 -1
- package/.next/static/chunks/app/api/tasks/[id]/route-8b1369cbf4e0a858.js +0 -1
- package/.next/static/chunks/app/api/tasks/batch/route-8b1369cbf4e0a858.js +0 -1
- package/.next/static/chunks/app/api/tasks/events/route-8b1369cbf4e0a858.js +0 -1
- package/.next/static/chunks/app/api/tasks/route-8b1369cbf4e0a858.js +0 -1
- package/.next/static/chunks/app/api/tasks/settings/route-8b1369cbf4e0a858.js +0 -1
- package/.next/static/chunks/app/api/tasks/templates/route-8b1369cbf4e0a858.js +0 -1
- package/.next/static/chunks/app/api/terminal/[id]/events/route-8b1369cbf4e0a858.js +0 -1
- package/.next/static/chunks/app/api/terminal/[id]/route-8b1369cbf4e0a858.js +0 -1
- package/.next/static/chunks/app/api/terminal/route-8b1369cbf4e0a858.js +0 -1
- package/.next/static/chunks/app/api/themes/[name]/route-8b1369cbf4e0a858.js +0 -1
- package/.next/static/chunks/app/api/themes/route-8b1369cbf4e0a858.js +0 -1
- package/.next/static/chunks/app/api/tools/extension-tools/route-8b1369cbf4e0a858.js +0 -1
- package/.next/static/chunks/app/api/tools/settings/route-8b1369cbf4e0a858.js +0 -1
- package/.next/static/chunks/app/api/usage/route-8b1369cbf4e0a858.js +0 -1
- package/.next/static/chunks/app/api/vision-config/route-8b1369cbf4e0a858.js +0 -1
- package/.next/static/chunks/app/api/web-auth/route-8b1369cbf4e0a858.js +0 -1
- package/.next/static/chunks/app/api/worktrees/route-8b1369cbf4e0a858.js +0 -1
- package/.next/static/chunks/app/layout-5719770bb4c2db1c.js +0 -1
- package/.next/static/chunks/next/dist/client/components/builtin/app-error-8b1369cbf4e0a858.js +0 -1
- package/.next/static/chunks/next/dist/client/components/builtin/forbidden-8b1369cbf4e0a858.js +0 -1
- package/.next/static/chunks/next/dist/client/components/builtin/not-found-8b1369cbf4e0a858.js +0 -1
- package/.next/static/chunks/next/dist/client/components/builtin/unauthorized-8b1369cbf4e0a858.js +0 -1
- package/.next/static/css/e149bb7a6998690b.css +0 -1
- package/.next/static/mslUe4ixem7kBr-584kNK/_buildManifest.js +0 -1
- /package/.next/static/{mslUe4ixem7kBr-584kNK → S_SVz1tcf2yF8HRu-MIyf}/_ssgManifest.js +0 -0
package/.next/trace-build
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
[{"name":"run-webpack","duration":
|
|
1
|
+
[{"name":"run-webpack","duration":20071140,"timestamp":85389252811,"id":14,"parentId":1,"tags":{},"startTime":1792212117471,"traceId":"3168319fb9baab91"},{"name":"run-typescript","duration":10533456,"timestamp":85409329925,"id":1925,"parentId":1,"tags":{},"startTime":1792212137548,"traceId":"3168319fb9baab91"},{"name":"static-check","duration":1798077,"timestamp":85419883129,"id":1928,"parentId":1,"tags":{},"startTime":1792212148101,"traceId":"3168319fb9baab91"},{"name":"static-generation","duration":2697292,"timestamp":85421733140,"id":2140,"parentId":1,"tags":{},"startTime":1792212149951,"traceId":"3168319fb9baab91"},{"name":"collect-build-traces","duration":16747731,"timestamp":85421682361,"id":2137,"parentId":1,"tags":{},"startTime":1792212149900,"traceId":"3168319fb9baab91"},{"name":"output-standalone","duration":1752164,"timestamp":85438432356,"id":2148,"parentId":1,"tags":{},"startTime":1792212166650,"traceId":"3168319fb9baab91"},{"name":"telemetry-flush","duration":14,"timestamp":85440186280,"id":2151,"parentId":1,"tags":{},"startTime":1792212168404,"traceId":"3168319fb9baab91"},{"name":"next-build","duration":51658863,"timestamp":85388527434,"id":1,"tags":{"buildMode":"default","version":"16.3.6","bundler":"webpack","has-custom-webpack-config":"true","use-build-worker":"false"},"startTime":1792212116745,"traceId":"3168319fb9baab91"}]
|
|
@@ -0,0 +1,353 @@
|
|
|
1
|
+
// File: /Volumes/1T 原装/项目研发/pi-web-QT/app/api/settings/default-model/route.ts
|
|
2
|
+
import * as entry from '../../../../../../app/api/settings/default-model/route.js'
|
|
3
|
+
import type { NextRequest } from 'next/server.js'
|
|
4
|
+
|
|
5
|
+
import type { InstantConfigForTypeCheckInternal, Prefetch } from 'next/dist/build/segment-config/app/app-segment-config.js'
|
|
6
|
+
|
|
7
|
+
type TEntry = typeof import('../../../../../../app/api/settings/default-model/route.js')
|
|
8
|
+
|
|
9
|
+
type SegmentParams<T extends Object = any> = T extends Record<string, any>
|
|
10
|
+
? { [K in keyof T]: T[K] extends string ? string | string[] | undefined : never }
|
|
11
|
+
: T
|
|
12
|
+
|
|
13
|
+
// Check that the entry is a valid entry
|
|
14
|
+
checkFields<Diff<{
|
|
15
|
+
GET?: Function
|
|
16
|
+
HEAD?: Function
|
|
17
|
+
OPTIONS?: Function
|
|
18
|
+
POST?: Function
|
|
19
|
+
PUT?: Function
|
|
20
|
+
DELETE?: Function
|
|
21
|
+
PATCH?: Function
|
|
22
|
+
config?: {}
|
|
23
|
+
generateStaticParams?: Function
|
|
24
|
+
instant?: InstantConfigForTypeCheckInternal
|
|
25
|
+
prefetch?: Prefetch
|
|
26
|
+
unstable_dynamicStaleTime?: number
|
|
27
|
+
revalidate?: RevalidateRange<TEntry> | false
|
|
28
|
+
dynamic?: 'auto' | 'force-dynamic' | 'error' | 'force-static'
|
|
29
|
+
dynamicParams?: boolean
|
|
30
|
+
fetchCache?: 'auto' | 'force-no-store' | 'only-no-store' | 'default-no-store' | 'default-cache' | 'only-cache' | 'force-cache'
|
|
31
|
+
/** @deprecated The `preferredRegion` config is deprecated. Remove this export. */
|
|
32
|
+
preferredRegion?: 'auto' | 'global' | 'home' | string | string[]
|
|
33
|
+
runtime?: 'nodejs' | 'experimental-edge' | 'edge'
|
|
34
|
+
maxDuration?: number
|
|
35
|
+
|
|
36
|
+
}, TEntry, ''>>()
|
|
37
|
+
|
|
38
|
+
type RouteContext = { params: Promise<SegmentParams> }
|
|
39
|
+
// Check the prop type of the entry function
|
|
40
|
+
if ('GET' in entry) {
|
|
41
|
+
checkFields<
|
|
42
|
+
Diff<
|
|
43
|
+
ParamCheck<Request | NextRequest>,
|
|
44
|
+
{
|
|
45
|
+
__tag__: 'GET'
|
|
46
|
+
__param_position__: 'first'
|
|
47
|
+
__param_type__: FirstArg<MaybeField<TEntry, 'GET'>>
|
|
48
|
+
},
|
|
49
|
+
'GET'
|
|
50
|
+
>
|
|
51
|
+
>()
|
|
52
|
+
checkFields<
|
|
53
|
+
Diff<
|
|
54
|
+
ParamCheck<RouteContext>,
|
|
55
|
+
{
|
|
56
|
+
__tag__: 'GET'
|
|
57
|
+
__param_position__: 'second'
|
|
58
|
+
__param_type__: SecondArg<MaybeField<TEntry, 'GET'>>
|
|
59
|
+
},
|
|
60
|
+
'GET'
|
|
61
|
+
>
|
|
62
|
+
>()
|
|
63
|
+
|
|
64
|
+
checkFields<
|
|
65
|
+
Diff<
|
|
66
|
+
{
|
|
67
|
+
__tag__: 'GET',
|
|
68
|
+
__return_type__: Response | void | never | Promise<Response | void | never>
|
|
69
|
+
},
|
|
70
|
+
{
|
|
71
|
+
__tag__: 'GET',
|
|
72
|
+
__return_type__: ReturnType<MaybeField<TEntry, 'GET'>>
|
|
73
|
+
},
|
|
74
|
+
'GET'
|
|
75
|
+
>
|
|
76
|
+
>()
|
|
77
|
+
}
|
|
78
|
+
// Check the prop type of the entry function
|
|
79
|
+
if ('HEAD' in entry) {
|
|
80
|
+
checkFields<
|
|
81
|
+
Diff<
|
|
82
|
+
ParamCheck<Request | NextRequest>,
|
|
83
|
+
{
|
|
84
|
+
__tag__: 'HEAD'
|
|
85
|
+
__param_position__: 'first'
|
|
86
|
+
__param_type__: FirstArg<MaybeField<TEntry, 'HEAD'>>
|
|
87
|
+
},
|
|
88
|
+
'HEAD'
|
|
89
|
+
>
|
|
90
|
+
>()
|
|
91
|
+
checkFields<
|
|
92
|
+
Diff<
|
|
93
|
+
ParamCheck<RouteContext>,
|
|
94
|
+
{
|
|
95
|
+
__tag__: 'HEAD'
|
|
96
|
+
__param_position__: 'second'
|
|
97
|
+
__param_type__: SecondArg<MaybeField<TEntry, 'HEAD'>>
|
|
98
|
+
},
|
|
99
|
+
'HEAD'
|
|
100
|
+
>
|
|
101
|
+
>()
|
|
102
|
+
|
|
103
|
+
checkFields<
|
|
104
|
+
Diff<
|
|
105
|
+
{
|
|
106
|
+
__tag__: 'HEAD',
|
|
107
|
+
__return_type__: Response | void | never | Promise<Response | void | never>
|
|
108
|
+
},
|
|
109
|
+
{
|
|
110
|
+
__tag__: 'HEAD',
|
|
111
|
+
__return_type__: ReturnType<MaybeField<TEntry, 'HEAD'>>
|
|
112
|
+
},
|
|
113
|
+
'HEAD'
|
|
114
|
+
>
|
|
115
|
+
>()
|
|
116
|
+
}
|
|
117
|
+
// Check the prop type of the entry function
|
|
118
|
+
if ('OPTIONS' in entry) {
|
|
119
|
+
checkFields<
|
|
120
|
+
Diff<
|
|
121
|
+
ParamCheck<Request | NextRequest>,
|
|
122
|
+
{
|
|
123
|
+
__tag__: 'OPTIONS'
|
|
124
|
+
__param_position__: 'first'
|
|
125
|
+
__param_type__: FirstArg<MaybeField<TEntry, 'OPTIONS'>>
|
|
126
|
+
},
|
|
127
|
+
'OPTIONS'
|
|
128
|
+
>
|
|
129
|
+
>()
|
|
130
|
+
checkFields<
|
|
131
|
+
Diff<
|
|
132
|
+
ParamCheck<RouteContext>,
|
|
133
|
+
{
|
|
134
|
+
__tag__: 'OPTIONS'
|
|
135
|
+
__param_position__: 'second'
|
|
136
|
+
__param_type__: SecondArg<MaybeField<TEntry, 'OPTIONS'>>
|
|
137
|
+
},
|
|
138
|
+
'OPTIONS'
|
|
139
|
+
>
|
|
140
|
+
>()
|
|
141
|
+
|
|
142
|
+
checkFields<
|
|
143
|
+
Diff<
|
|
144
|
+
{
|
|
145
|
+
__tag__: 'OPTIONS',
|
|
146
|
+
__return_type__: Response | void | never | Promise<Response | void | never>
|
|
147
|
+
},
|
|
148
|
+
{
|
|
149
|
+
__tag__: 'OPTIONS',
|
|
150
|
+
__return_type__: ReturnType<MaybeField<TEntry, 'OPTIONS'>>
|
|
151
|
+
},
|
|
152
|
+
'OPTIONS'
|
|
153
|
+
>
|
|
154
|
+
>()
|
|
155
|
+
}
|
|
156
|
+
// Check the prop type of the entry function
|
|
157
|
+
if ('POST' in entry) {
|
|
158
|
+
checkFields<
|
|
159
|
+
Diff<
|
|
160
|
+
ParamCheck<Request | NextRequest>,
|
|
161
|
+
{
|
|
162
|
+
__tag__: 'POST'
|
|
163
|
+
__param_position__: 'first'
|
|
164
|
+
__param_type__: FirstArg<MaybeField<TEntry, 'POST'>>
|
|
165
|
+
},
|
|
166
|
+
'POST'
|
|
167
|
+
>
|
|
168
|
+
>()
|
|
169
|
+
checkFields<
|
|
170
|
+
Diff<
|
|
171
|
+
ParamCheck<RouteContext>,
|
|
172
|
+
{
|
|
173
|
+
__tag__: 'POST'
|
|
174
|
+
__param_position__: 'second'
|
|
175
|
+
__param_type__: SecondArg<MaybeField<TEntry, 'POST'>>
|
|
176
|
+
},
|
|
177
|
+
'POST'
|
|
178
|
+
>
|
|
179
|
+
>()
|
|
180
|
+
|
|
181
|
+
checkFields<
|
|
182
|
+
Diff<
|
|
183
|
+
{
|
|
184
|
+
__tag__: 'POST',
|
|
185
|
+
__return_type__: Response | void | never | Promise<Response | void | never>
|
|
186
|
+
},
|
|
187
|
+
{
|
|
188
|
+
__tag__: 'POST',
|
|
189
|
+
__return_type__: ReturnType<MaybeField<TEntry, 'POST'>>
|
|
190
|
+
},
|
|
191
|
+
'POST'
|
|
192
|
+
>
|
|
193
|
+
>()
|
|
194
|
+
}
|
|
195
|
+
// Check the prop type of the entry function
|
|
196
|
+
if ('PUT' in entry) {
|
|
197
|
+
checkFields<
|
|
198
|
+
Diff<
|
|
199
|
+
ParamCheck<Request | NextRequest>,
|
|
200
|
+
{
|
|
201
|
+
__tag__: 'PUT'
|
|
202
|
+
__param_position__: 'first'
|
|
203
|
+
__param_type__: FirstArg<MaybeField<TEntry, 'PUT'>>
|
|
204
|
+
},
|
|
205
|
+
'PUT'
|
|
206
|
+
>
|
|
207
|
+
>()
|
|
208
|
+
checkFields<
|
|
209
|
+
Diff<
|
|
210
|
+
ParamCheck<RouteContext>,
|
|
211
|
+
{
|
|
212
|
+
__tag__: 'PUT'
|
|
213
|
+
__param_position__: 'second'
|
|
214
|
+
__param_type__: SecondArg<MaybeField<TEntry, 'PUT'>>
|
|
215
|
+
},
|
|
216
|
+
'PUT'
|
|
217
|
+
>
|
|
218
|
+
>()
|
|
219
|
+
|
|
220
|
+
checkFields<
|
|
221
|
+
Diff<
|
|
222
|
+
{
|
|
223
|
+
__tag__: 'PUT',
|
|
224
|
+
__return_type__: Response | void | never | Promise<Response | void | never>
|
|
225
|
+
},
|
|
226
|
+
{
|
|
227
|
+
__tag__: 'PUT',
|
|
228
|
+
__return_type__: ReturnType<MaybeField<TEntry, 'PUT'>>
|
|
229
|
+
},
|
|
230
|
+
'PUT'
|
|
231
|
+
>
|
|
232
|
+
>()
|
|
233
|
+
}
|
|
234
|
+
// Check the prop type of the entry function
|
|
235
|
+
if ('DELETE' in entry) {
|
|
236
|
+
checkFields<
|
|
237
|
+
Diff<
|
|
238
|
+
ParamCheck<Request | NextRequest>,
|
|
239
|
+
{
|
|
240
|
+
__tag__: 'DELETE'
|
|
241
|
+
__param_position__: 'first'
|
|
242
|
+
__param_type__: FirstArg<MaybeField<TEntry, 'DELETE'>>
|
|
243
|
+
},
|
|
244
|
+
'DELETE'
|
|
245
|
+
>
|
|
246
|
+
>()
|
|
247
|
+
checkFields<
|
|
248
|
+
Diff<
|
|
249
|
+
ParamCheck<RouteContext>,
|
|
250
|
+
{
|
|
251
|
+
__tag__: 'DELETE'
|
|
252
|
+
__param_position__: 'second'
|
|
253
|
+
__param_type__: SecondArg<MaybeField<TEntry, 'DELETE'>>
|
|
254
|
+
},
|
|
255
|
+
'DELETE'
|
|
256
|
+
>
|
|
257
|
+
>()
|
|
258
|
+
|
|
259
|
+
checkFields<
|
|
260
|
+
Diff<
|
|
261
|
+
{
|
|
262
|
+
__tag__: 'DELETE',
|
|
263
|
+
__return_type__: Response | void | never | Promise<Response | void | never>
|
|
264
|
+
},
|
|
265
|
+
{
|
|
266
|
+
__tag__: 'DELETE',
|
|
267
|
+
__return_type__: ReturnType<MaybeField<TEntry, 'DELETE'>>
|
|
268
|
+
},
|
|
269
|
+
'DELETE'
|
|
270
|
+
>
|
|
271
|
+
>()
|
|
272
|
+
}
|
|
273
|
+
// Check the prop type of the entry function
|
|
274
|
+
if ('PATCH' in entry) {
|
|
275
|
+
checkFields<
|
|
276
|
+
Diff<
|
|
277
|
+
ParamCheck<Request | NextRequest>,
|
|
278
|
+
{
|
|
279
|
+
__tag__: 'PATCH'
|
|
280
|
+
__param_position__: 'first'
|
|
281
|
+
__param_type__: FirstArg<MaybeField<TEntry, 'PATCH'>>
|
|
282
|
+
},
|
|
283
|
+
'PATCH'
|
|
284
|
+
>
|
|
285
|
+
>()
|
|
286
|
+
checkFields<
|
|
287
|
+
Diff<
|
|
288
|
+
ParamCheck<RouteContext>,
|
|
289
|
+
{
|
|
290
|
+
__tag__: 'PATCH'
|
|
291
|
+
__param_position__: 'second'
|
|
292
|
+
__param_type__: SecondArg<MaybeField<TEntry, 'PATCH'>>
|
|
293
|
+
},
|
|
294
|
+
'PATCH'
|
|
295
|
+
>
|
|
296
|
+
>()
|
|
297
|
+
|
|
298
|
+
checkFields<
|
|
299
|
+
Diff<
|
|
300
|
+
{
|
|
301
|
+
__tag__: 'PATCH',
|
|
302
|
+
__return_type__: Response | void | never | Promise<Response | void | never>
|
|
303
|
+
},
|
|
304
|
+
{
|
|
305
|
+
__tag__: 'PATCH',
|
|
306
|
+
__return_type__: ReturnType<MaybeField<TEntry, 'PATCH'>>
|
|
307
|
+
},
|
|
308
|
+
'PATCH'
|
|
309
|
+
>
|
|
310
|
+
>()
|
|
311
|
+
}
|
|
312
|
+
|
|
313
|
+
// Check the arguments and return type of the generateStaticParams function
|
|
314
|
+
if ('generateStaticParams' in entry) {
|
|
315
|
+
checkFields<Diff<{ params: SegmentParams }, FirstArg<MaybeField<TEntry, 'generateStaticParams'>>, 'generateStaticParams'>>()
|
|
316
|
+
checkFields<Diff<{ __tag__: 'generateStaticParams', __return_type__: any[] | Promise<any[]> }, { __tag__: 'generateStaticParams', __return_type__: ReturnType<MaybeField<TEntry, 'generateStaticParams'>> }>>()
|
|
317
|
+
}
|
|
318
|
+
|
|
319
|
+
export interface PageProps {
|
|
320
|
+
params?: Promise<SegmentParams>
|
|
321
|
+
searchParams?: Promise<any>
|
|
322
|
+
}
|
|
323
|
+
export interface LayoutProps {
|
|
324
|
+
children?: React.ReactNode
|
|
325
|
+
|
|
326
|
+
params?: Promise<SegmentParams>
|
|
327
|
+
}
|
|
328
|
+
|
|
329
|
+
// =============
|
|
330
|
+
// Utility types
|
|
331
|
+
type RevalidateRange<T> = T extends { revalidate: any } ? NonNegative<T['revalidate']> : never
|
|
332
|
+
|
|
333
|
+
// If T is unknown or any, it will be an empty {} type. Otherwise, it will be the same as Omit<T, keyof Base>.
|
|
334
|
+
type OmitWithTag<T, K extends keyof any, _M> = Omit<T, K>
|
|
335
|
+
type Diff<Base, T extends Base, Message extends string = ''> = 0 extends (1 & T) ? {} : OmitWithTag<T, keyof Base, Message>
|
|
336
|
+
|
|
337
|
+
type FirstArg<T extends Function> = T extends (...args: [infer T, any]) => any ? unknown extends T ? any : T : never
|
|
338
|
+
type SecondArg<T extends Function> = T extends (...args: [any, infer T]) => any ? unknown extends T ? any : T : never
|
|
339
|
+
type MaybeField<T, K extends string> = T extends { [k in K]: infer G } ? G extends Function ? G : never : never
|
|
340
|
+
|
|
341
|
+
type ParamCheck<T> = {
|
|
342
|
+
__tag__: string
|
|
343
|
+
__param_position__: string
|
|
344
|
+
__param_type__: T
|
|
345
|
+
}
|
|
346
|
+
|
|
347
|
+
function checkFields<_ extends { [k in keyof any]: never }>() {}
|
|
348
|
+
|
|
349
|
+
// https://github.com/sindresorhus/type-fest
|
|
350
|
+
type Numeric = number | bigint
|
|
351
|
+
type Zero = 0 | 0n
|
|
352
|
+
type Negative<T extends Numeric> = T extends Zero ? never : `${T}` extends `-${string}` ? T : never
|
|
353
|
+
type NonNegative<T extends Numeric> = T extends Zero ? T : Negative<T> extends never ? T : '__invalid_negative_number__'
|
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/import" | "/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/appearance" | "/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"
|
|
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/import" | "/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/appearance" | "/api/settings/default-model" | "/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
|
|
@@ -75,6 +75,7 @@ interface ParamMap {
|
|
|
75
75
|
"/api/sessions/[id]/state": { "id": string; }
|
|
76
76
|
"/api/sessions/search": {}
|
|
77
77
|
"/api/settings/appearance": {}
|
|
78
|
+
"/api/settings/default-model": {}
|
|
78
79
|
"/api/settings/title-model": {}
|
|
79
80
|
"/api/skills": {}
|
|
80
81
|
"/api/skills/check": {}
|
package/.next/types/validator.ts
CHANGED
|
@@ -632,6 +632,15 @@ type RouteHandlerConfig<Route extends AppRouteHandlerRoutes = AppRouteHandlerRou
|
|
|
632
632
|
type __Unused = __Check
|
|
633
633
|
}
|
|
634
634
|
|
|
635
|
+
// Validate ../../app/api/settings/default-model/route.ts
|
|
636
|
+
{
|
|
637
|
+
type __IsExpected<Specific extends RouteHandlerConfig<"/api/settings/default-model">> = Specific
|
|
638
|
+
const handler = {} as typeof import("../../app/api/settings/default-model/route.js")
|
|
639
|
+
type __Check = __IsExpected<typeof handler>
|
|
640
|
+
// @ts-ignore
|
|
641
|
+
type __Unused = __Check
|
|
642
|
+
}
|
|
643
|
+
|
|
635
644
|
// Validate ../../app/api/settings/title-model/route.ts
|
|
636
645
|
{
|
|
637
646
|
type __IsExpected<Specific extends RouteHandlerConfig<"/api/settings/title-model">> = Specific
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
{
|
|
2
|
+
"displayName": "Claude",
|
|
3
|
+
"dark": {
|
|
4
|
+
"bg": "#1c1c1b",
|
|
5
|
+
"panel": "#20201f",
|
|
6
|
+
"hover": "#272725",
|
|
7
|
+
"selected": "#2e2e2b",
|
|
8
|
+
"border": "#3b3b37",
|
|
9
|
+
"text": "#ecebe3",
|
|
10
|
+
"muted": "#a8a49b",
|
|
11
|
+
"dim": "#94908a",
|
|
12
|
+
"accent": "#e08a6b",
|
|
13
|
+
"accentHover": "#f0a184",
|
|
14
|
+
"userBg": "#2a2a27",
|
|
15
|
+
"assistantBg": "#20201f",
|
|
16
|
+
"toolBg": "#232322",
|
|
17
|
+
"subtle": "rgba(236,235,227,0.05)",
|
|
18
|
+
"red": "#e08a7a",
|
|
19
|
+
"green": "#9dc08a",
|
|
20
|
+
"orange": "#e0a468"
|
|
21
|
+
},
|
|
22
|
+
"light": {
|
|
23
|
+
"bg": "#fcfcfb",
|
|
24
|
+
"panel": "#f7f6f3",
|
|
25
|
+
"hover": "#f1efea",
|
|
26
|
+
"selected": "#eae7e0",
|
|
27
|
+
"border": "#e0dbd2",
|
|
28
|
+
"text": "#1f1e1c",
|
|
29
|
+
"muted": "#5c5852",
|
|
30
|
+
"dim": "#6e6a63",
|
|
31
|
+
"accent": "#d97757",
|
|
32
|
+
"accentHover": "#cc5a36",
|
|
33
|
+
"userBg": "#f4f1ec",
|
|
34
|
+
"assistantBg": "#fcfcfb",
|
|
35
|
+
"toolBg": "#f6f4f0",
|
|
36
|
+
"subtle": "rgba(31,30,28,0.04)",
|
|
37
|
+
"red": "#b3402e",
|
|
38
|
+
"green": "#4f7a3f",
|
|
39
|
+
"orange": "#a8702a"
|
|
40
|
+
}
|
|
41
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@qt4798/pi-web",
|
|
3
|
-
"version": "0.18.
|
|
3
|
+
"version": "0.18.19",
|
|
4
4
|
"description": "Web workspace for the pi coding agent",
|
|
5
5
|
"homepage": "https://github.com/t479842598/pi-web-QT#readme",
|
|
6
6
|
"repository": {
|
|
@@ -68,6 +68,7 @@
|
|
|
68
68
|
"adm-zip": "^0.6.0",
|
|
69
69
|
"ansi_up": "^6.0.6",
|
|
70
70
|
"cmdk": "^1.1.1",
|
|
71
|
+
"framer-motion": "^12.43.0",
|
|
71
72
|
"js-yaml": "^5.2.3",
|
|
72
73
|
"katex": "^0.16.47",
|
|
73
74
|
"lucide-react": "^1.37.0",
|