@qt4798/pi-web 0.9.4 → 0.9.6
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 +15 -8
- package/.next/build-manifest.json +2 -2
- package/.next/required-server-files.js +1 -1
- package/.next/required-server-files.json +1 -1
- package/.next/routes-manifest.json +42 -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/_global-error.segment.rsc +1 -1
- package/.next/server/app/_global-error.segments/_head.segment.rsc +1 -1
- package/.next/server/app/_global-error.segments/_index.segment.rsc +1 -1
- package/.next/server/app/_global-error.segments/_tree.segment.rsc +1 -1
- package/.next/server/app/_not-found/page.js +2 -2
- package/.next/server/app/_not-found/page_client-reference-manifest.js +1 -1
- package/.next/server/app/_not-found.html +1 -1
- package/.next/server/app/_not-found.rsc +1 -1
- package/.next/server/app/_not-found.segments/_full.segment.rsc +1 -1
- package/.next/server/app/_not-found.segments/_head.segment.rsc +1 -1
- package/.next/server/app/_not-found.segments/_index.segment.rsc +1 -1
- package/.next/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc +1 -1
- package/.next/server/app/_not-found.segments/_not-found.segment.rsc +1 -1
- package/.next/server/app/_not-found.segments/_tree.segment.rsc +1 -1
- 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]/route.js +1 -1
- package/.next/server/app/api/agent/new/route.js +1 -1
- package/.next/server/app/api/agent/running/route.js +1 -1
- package/.next/server/app/api/auth/all-providers/route.js +1 -1
- package/.next/server/app/api/auth/api-key/[provider]/route.js +1 -1
- package/.next/server/app/api/auth/login/[provider]/route.js +1 -1
- package/.next/server/app/api/auth/logout/[provider]/route.js +1 -1
- package/.next/server/app/api/auth/providers/route.js +1 -1
- package/.next/server/app/api/backup/export/route.js +1 -0
- package/.next/server/app/api/backup/export/route.js.nft.json +1 -0
- package/.next/server/app/api/backup/export/route_client-reference-manifest.js +1 -0
- package/.next/server/app/api/backup/import/route.js +1 -0
- package/.next/server/app/api/backup/import/route.js.nft.json +1 -0
- package/.next/server/app/api/backup/import/route_client-reference-manifest.js +1 -0
- package/.next/server/app/api/cwd/browse/route.js +1 -1
- package/.next/server/app/api/cwd/validate/route.js +1 -1
- package/.next/server/app/api/default-cwd/route.js +1 -1
- package/.next/server/app/api/file-index/route.js +1 -1
- package/.next/server/app/api/files/[...path]/route.js +1 -1
- package/.next/server/app/api/git/diff/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 -0
- package/.next/server/app/api/import/discover/route.js.nft.json +1 -0
- package/.next/server/app/api/import/discover/route_client-reference-manifest.js +1 -0
- package/.next/server/app/api/import/execute/route.js +1 -0
- package/.next/server/app/api/import/execute/route.js.nft.json +1 -0
- package/.next/server/app/api/import/execute/route_client-reference-manifest.js +1 -0
- package/.next/server/app/api/import/status/route.js +1 -0
- package/.next/server/app/api/import/status/route.js.nft.json +1 -0
- package/.next/server/app/api/import/status/route_client-reference-manifest.js +1 -0
- package/.next/server/app/api/models/route.js +1 -1
- package/.next/server/app/api/models-config/builtin/route.js +1 -0
- package/.next/server/app/api/models-config/builtin/route.js.nft.json +1 -0
- package/.next/server/app/api/models-config/builtin/route_client-reference-manifest.js +1 -0
- 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/plugins/route.js +1 -1
- package/.next/server/app/api/project-trust/route.js +1 -1
- package/.next/server/app/api/sessions/[id]/auto-name/route.js +3 -3
- package/.next/server/app/api/sessions/[id]/context/route.js +1 -1
- package/.next/server/app/api/sessions/[id]/entries/[entryId]/thinking/route.js +1 -1
- package/.next/server/app/api/sessions/[id]/export/route.js +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/settings/title-model/route.js +1 -0
- package/.next/server/app/api/settings/title-model/route.js.nft.json +1 -0
- package/.next/server/app/api/settings/title-model/route_client-reference-manifest.js +1 -0
- 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 +2 -2
- 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/themes/[name]/route.js +1 -1
- package/.next/server/app/api/themes/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 +3 -3
- package/.next/server/app/index.segments/__PAGE__.segment.rsc +3 -3
- package/.next/server/app/index.segments/_full.segment.rsc +3 -3
- package/.next/server/app/index.segments/_head.segment.rsc +1 -1
- package/.next/server/app/index.segments/_index.segment.rsc +1 -1
- package/.next/server/app/index.segments/_tree.segment.rsc +1 -1
- package/.next/server/app/page.js +5 -5
- package/.next/server/app/page_client-reference-manifest.js +1 -1
- package/.next/server/app-paths-manifest.json +15 -8
- package/.next/server/chunks/440.js +1 -0
- package/.next/server/chunks/5582.js +1 -1
- package/.next/server/chunks/6106.js +1 -0
- package/.next/server/chunks/7915.js +2 -0
- 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/chunks/{8112-57500b5de3c7af0d.js → 5998-7a8029f451fe2049.js} +1 -1
- package/.next/static/chunks/app/_global-error/page-bc5f4c047207b363.js +1 -0
- package/.next/static/chunks/app/api/agent/[id]/bash-output/route-bc5f4c047207b363.js +1 -0
- package/.next/static/chunks/app/api/agent/[id]/events/route-bc5f4c047207b363.js +1 -0
- package/.next/static/chunks/app/api/agent/[id]/route-bc5f4c047207b363.js +1 -0
- package/.next/static/chunks/app/api/agent/new/route-bc5f4c047207b363.js +1 -0
- package/.next/static/chunks/app/api/agent/running/route-bc5f4c047207b363.js +1 -0
- package/.next/static/chunks/app/api/auth/all-providers/route-bc5f4c047207b363.js +1 -0
- package/.next/static/chunks/app/api/auth/api-key/[provider]/route-bc5f4c047207b363.js +1 -0
- package/.next/static/chunks/app/api/auth/login/[provider]/route-bc5f4c047207b363.js +1 -0
- package/.next/static/chunks/app/api/auth/logout/[provider]/route-bc5f4c047207b363.js +1 -0
- package/.next/static/chunks/app/api/auth/providers/route-bc5f4c047207b363.js +1 -0
- package/.next/static/chunks/app/api/backup/export/route-bc5f4c047207b363.js +1 -0
- package/.next/static/chunks/app/api/backup/import/route-bc5f4c047207b363.js +1 -0
- package/.next/static/chunks/app/api/cwd/browse/route-bc5f4c047207b363.js +1 -0
- package/.next/static/chunks/app/api/cwd/validate/route-bc5f4c047207b363.js +1 -0
- package/.next/static/chunks/app/api/default-cwd/route-bc5f4c047207b363.js +1 -0
- package/.next/static/chunks/app/api/file-index/route-bc5f4c047207b363.js +1 -0
- package/.next/static/chunks/app/api/files/[...path]/route-bc5f4c047207b363.js +1 -0
- package/.next/static/chunks/app/api/git/diff/route-bc5f4c047207b363.js +1 -0
- package/.next/static/chunks/app/api/git/status/route-bc5f4c047207b363.js +1 -0
- package/.next/static/chunks/app/api/home/route-bc5f4c047207b363.js +1 -0
- package/.next/static/chunks/app/api/import/discover/route-bc5f4c047207b363.js +1 -0
- package/.next/static/chunks/app/api/import/execute/route-bc5f4c047207b363.js +1 -0
- package/.next/static/chunks/app/api/import/status/route-bc5f4c047207b363.js +1 -0
- package/.next/static/chunks/app/api/models/route-bc5f4c047207b363.js +1 -0
- package/.next/static/chunks/app/api/models-config/builtin/route-bc5f4c047207b363.js +1 -0
- package/.next/static/chunks/app/api/models-config/catalog/route-bc5f4c047207b363.js +1 -0
- package/.next/static/chunks/app/api/models-config/discover/route-bc5f4c047207b363.js +1 -0
- package/.next/static/chunks/app/api/models-config/route-bc5f4c047207b363.js +1 -0
- package/.next/static/chunks/app/api/models-config/test/route-bc5f4c047207b363.js +1 -0
- package/.next/static/chunks/app/api/plugins/route-bc5f4c047207b363.js +1 -0
- package/.next/static/chunks/app/api/project-trust/route-bc5f4c047207b363.js +1 -0
- package/.next/static/chunks/app/api/sessions/[id]/auto-name/route-bc5f4c047207b363.js +1 -0
- package/.next/static/chunks/app/api/sessions/[id]/context/route-bc5f4c047207b363.js +1 -0
- package/.next/static/chunks/app/api/sessions/[id]/entries/[entryId]/thinking/route-bc5f4c047207b363.js +1 -0
- package/.next/static/chunks/app/api/sessions/[id]/export/route-bc5f4c047207b363.js +1 -0
- package/.next/static/chunks/app/api/sessions/[id]/queue-recovery/route-bc5f4c047207b363.js +1 -0
- package/.next/static/chunks/app/api/sessions/[id]/route-bc5f4c047207b363.js +1 -0
- package/.next/static/chunks/app/api/sessions/[id]/state/route-bc5f4c047207b363.js +1 -0
- package/.next/static/chunks/app/api/sessions/route-bc5f4c047207b363.js +1 -0
- package/.next/static/chunks/app/api/settings/title-model/route-bc5f4c047207b363.js +1 -0
- package/.next/static/chunks/app/api/skills/check/route-bc5f4c047207b363.js +1 -0
- package/.next/static/chunks/app/api/skills/install/route-bc5f4c047207b363.js +1 -0
- package/.next/static/chunks/app/api/skills/route-bc5f4c047207b363.js +1 -0
- package/.next/static/chunks/app/api/skills/search/route-bc5f4c047207b363.js +1 -0
- package/.next/static/chunks/app/api/skills/update/route-bc5f4c047207b363.js +1 -0
- package/.next/static/chunks/app/api/themes/[name]/route-bc5f4c047207b363.js +1 -0
- package/.next/static/chunks/app/api/themes/route-bc5f4c047207b363.js +1 -0
- package/.next/static/chunks/app/api/worktrees/route-bc5f4c047207b363.js +1 -0
- package/.next/static/chunks/app/page-765e3f5b8229c631.js +15 -0
- package/.next/static/chunks/next/dist/client/components/builtin/app-error-bc5f4c047207b363.js +1 -0
- package/.next/static/chunks/next/dist/client/components/builtin/forbidden-bc5f4c047207b363.js +1 -0
- package/.next/static/chunks/next/dist/client/components/builtin/not-found-bc5f4c047207b363.js +1 -0
- package/.next/static/chunks/next/dist/client/components/builtin/unauthorized-bc5f4c047207b363.js +1 -0
- package/.next/static/xLWAKUhLB_rDfRzVV1xY2/_buildManifest.js +1 -0
- package/.next/trace +7 -6
- package/.next/trace-build +1 -1
- package/.next/types/app/api/backup/export/route.ts +351 -0
- package/.next/types/app/api/backup/import/route.ts +351 -0
- package/.next/types/app/api/import/discover/route.ts +351 -0
- package/.next/types/app/api/import/execute/route.ts +351 -0
- package/.next/types/app/api/import/status/route.ts +351 -0
- package/.next/types/app/api/models-config/builtin/route.ts +351 -0
- package/.next/types/app/api/settings/title-model/route.ts +351 -0
- package/.next/types/routes.d.ts +8 -1
- package/.next/types/validator.ts +63 -0
- package/README.en.md +5 -2
- package/README.md +25 -2
- package/package.json +19 -7
- package/.next/static/-RoYqrN1Mf4JD9crC9rVq/_buildManifest.js +0 -1
- package/.next/static/chunks/app/_global-error/page-1fddebcafb57d31a.js +0 -1
- package/.next/static/chunks/app/api/agent/[id]/bash-output/route-1fddebcafb57d31a.js +0 -1
- package/.next/static/chunks/app/api/agent/[id]/events/route-1fddebcafb57d31a.js +0 -1
- package/.next/static/chunks/app/api/agent/[id]/route-1fddebcafb57d31a.js +0 -1
- package/.next/static/chunks/app/api/agent/new/route-1fddebcafb57d31a.js +0 -1
- package/.next/static/chunks/app/api/agent/running/route-1fddebcafb57d31a.js +0 -1
- package/.next/static/chunks/app/api/auth/all-providers/route-1fddebcafb57d31a.js +0 -1
- package/.next/static/chunks/app/api/auth/api-key/[provider]/route-1fddebcafb57d31a.js +0 -1
- package/.next/static/chunks/app/api/auth/login/[provider]/route-1fddebcafb57d31a.js +0 -1
- package/.next/static/chunks/app/api/auth/logout/[provider]/route-1fddebcafb57d31a.js +0 -1
- package/.next/static/chunks/app/api/auth/providers/route-1fddebcafb57d31a.js +0 -1
- package/.next/static/chunks/app/api/cwd/browse/route-1fddebcafb57d31a.js +0 -1
- package/.next/static/chunks/app/api/cwd/validate/route-1fddebcafb57d31a.js +0 -1
- package/.next/static/chunks/app/api/default-cwd/route-1fddebcafb57d31a.js +0 -1
- package/.next/static/chunks/app/api/file-index/route-1fddebcafb57d31a.js +0 -1
- package/.next/static/chunks/app/api/files/[...path]/route-1fddebcafb57d31a.js +0 -1
- package/.next/static/chunks/app/api/git/diff/route-1fddebcafb57d31a.js +0 -1
- package/.next/static/chunks/app/api/git/status/route-1fddebcafb57d31a.js +0 -1
- package/.next/static/chunks/app/api/home/route-1fddebcafb57d31a.js +0 -1
- package/.next/static/chunks/app/api/models/route-1fddebcafb57d31a.js +0 -1
- package/.next/static/chunks/app/api/models-config/catalog/route-1fddebcafb57d31a.js +0 -1
- package/.next/static/chunks/app/api/models-config/discover/route-1fddebcafb57d31a.js +0 -1
- package/.next/static/chunks/app/api/models-config/route-1fddebcafb57d31a.js +0 -1
- package/.next/static/chunks/app/api/models-config/test/route-1fddebcafb57d31a.js +0 -1
- package/.next/static/chunks/app/api/plugins/route-1fddebcafb57d31a.js +0 -1
- package/.next/static/chunks/app/api/project-trust/route-1fddebcafb57d31a.js +0 -1
- package/.next/static/chunks/app/api/sessions/[id]/auto-name/route-1fddebcafb57d31a.js +0 -1
- package/.next/static/chunks/app/api/sessions/[id]/context/route-1fddebcafb57d31a.js +0 -1
- package/.next/static/chunks/app/api/sessions/[id]/entries/[entryId]/thinking/route-1fddebcafb57d31a.js +0 -1
- package/.next/static/chunks/app/api/sessions/[id]/export/route-1fddebcafb57d31a.js +0 -1
- package/.next/static/chunks/app/api/sessions/[id]/queue-recovery/route-1fddebcafb57d31a.js +0 -1
- package/.next/static/chunks/app/api/sessions/[id]/route-1fddebcafb57d31a.js +0 -1
- package/.next/static/chunks/app/api/sessions/[id]/state/route-1fddebcafb57d31a.js +0 -1
- package/.next/static/chunks/app/api/sessions/route-1fddebcafb57d31a.js +0 -1
- package/.next/static/chunks/app/api/skills/check/route-1fddebcafb57d31a.js +0 -1
- package/.next/static/chunks/app/api/skills/install/route-1fddebcafb57d31a.js +0 -1
- package/.next/static/chunks/app/api/skills/route-1fddebcafb57d31a.js +0 -1
- package/.next/static/chunks/app/api/skills/search/route-1fddebcafb57d31a.js +0 -1
- package/.next/static/chunks/app/api/skills/update/route-1fddebcafb57d31a.js +0 -1
- package/.next/static/chunks/app/api/themes/[name]/route-1fddebcafb57d31a.js +0 -1
- package/.next/static/chunks/app/api/themes/route-1fddebcafb57d31a.js +0 -1
- package/.next/static/chunks/app/api/worktrees/route-1fddebcafb57d31a.js +0 -1
- package/.next/static/chunks/app/page-47de6c92ff29e268.js +0 -15
- package/.next/static/chunks/next/dist/client/components/builtin/app-error-1fddebcafb57d31a.js +0 -1
- package/.next/static/chunks/next/dist/client/components/builtin/forbidden-1fddebcafb57d31a.js +0 -1
- package/.next/static/chunks/next/dist/client/components/builtin/not-found-1fddebcafb57d31a.js +0 -1
- package/.next/static/chunks/next/dist/client/components/builtin/unauthorized-1fddebcafb57d31a.js +0 -1
- /package/.next/static/{-RoYqrN1Mf4JD9crC9rVq → xLWAKUhLB_rDfRzVV1xY2}/_ssgManifest.js +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/api/import/execute/route"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{},"edgeSSRModuleMapping":{},"clientModules":{},"entryCSSFiles":{"/Volumes/1T 原装/项目研发/pi-web-QT/app/api/import/execute/route":[]},"rscModuleMapping":{},"edgeRscModuleMapping":{}};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(()=>{var a={};a.id=4558,a.ids=[4558],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")},10846:a=>{a.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},21820:a=>{a.exports=require("os")},28354:a=>{a.exports=require("util")},29021:a=>{a.exports=require("fs")},29294:a=>{a.exports=require("next/dist/server/app-render/work-async-storage.external.js")},33873:a=>{a.exports=require("path")},40820:(a,b,c)=>{c.a(a,async(a,d)=>{try{c.r(b),c.d(b,{handler:()=>y,patchFetch:()=>x,routeModule:()=>z,serverHooks:()=>C,workAsyncStorage:()=>A,workUnitAsyncStorage:()=>B});var e=c(19225),f=c(84006),g=c(8317),h=c(99373),i=c(34775),j=c(24235),k=c(261),l=c(54365),m=c(90771),n=c(73461),o=c(67798),p=c(92280),q=c(62018),r=c(45696),s=c(47929),t=c(86439),u=c(37527),v=c(98949),w=a([v]);v=(w.then?(await w)():w)[0];let z=new e.AppRouteRouteModule({definition:{kind:f.RouteKind.APP_ROUTE,page:"/api/import/status/route",pathname:"/api/import/status",filename:"route",bundlePath:"app/api/import/status/route"},distDir:".next",relativeProjectDir:"",resolvedPagePath:"/Volumes/1T 原装/项目研发/pi-web-QT/app/api/import/status/route.ts",nextConfigOutput:"",userland:v,...{}}),{workAsyncStorage:A,workUnitAsyncStorage:B,serverHooks:C}=z;function x(){return(0,g.patchFetch)({workAsyncStorage:A,workUnitAsyncStorage:B})}async function y(a,b,c){c.requestMeta&&(0,h.setRequestMeta)(a,c.requestMeta),z.isDev&&(0,h.addRequestMeta)(a,"devRequestTimingInternalsEnd",process.hrtime.bigint());let d="/api/import/status/route";"/index"===d&&(d="/");let e=await z.prepare(a,b,{srcPage:d,multiZoneDraftMode:!1});if(!e)return b.statusCode=400,b.end("Bad Request"),null==c.waitUntil||c.waitUntil.call(c,Promise.resolve()),null;let{buildId:g,deploymentId:v,params:w,nextConfig:x,parsedUrl:y,isDraftMode:A,prerenderManifest:B,routerServerContext:C,isOnDemandRevalidate:D,revalidateOnlyGenerated:E,resolvedPathname:F,clientReferenceManifest:G,serverActionsManifest:H}=e,I=(0,k.normalizeAppPath)(d),J=!!(B.dynamicRoutes[I]||B.routes[F]),K=async()=>((null==C?void 0:C.render404)?await C.render404(a,b,y,!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(x.adapterPath)return await K();throw new t.NoFallbackError}}let L=null;!J||z.isDev||A||(L=F,L="/index"===L?"/":L);let M=!0===z.isDev||!J,N=J&&!M;H&&G&&(0,j.setManifestsSingleton)({page:d,clientReferenceManifest:G,serverActionsManifest:H});let O=a.method||"GET",P=(0,i.getTracer)(),Q=P.getActiveScopeSpan(),R=!!(null==C?void 0:C.isWrappedByNextServer),S=!!(0,h.getRequestMeta)(a,"minimalMode"),T=(0,h.getRequestMeta)(a,"incrementalCache")||await z.getIncrementalCache(a,x,B,S);null==T||T.resetRequestCache(),globalThis.__incrementalCache=T;let U={params:w,previewProps:B.preview,renderOpts:{experimental:{authInterrupts:!!x.experimental.authInterrupts},cacheComponents:!!x.cacheComponents,supportsDynamicResponse:M,incrementalCache:T,cacheLifeProfiles:x.cacheLife,waitUntil:c.waitUntil,onClose:a=>{b.on("close",a)},onAfterTaskError:void 0,onInstrumentationRequestError:(b,c,d,e)=>z.onRequestError(a,b,d,e,C)},sharedContext:{buildId:g,deploymentId:v}},V=new l.NodeNextRequest(a),W=new l.NodeNextResponse(b),X=m.NextRequestAdapter.fromNodeNextRequest(V,(0,m.signalFromNodeResponse)(b));try{let e,g=async a=>z.handle(X,U).finally(()=>{if(!a)return;a.setAttributes({"http.status_code":b.statusCode,"next.rsc":!1});let c=P.getRootSpanAttributes();if(!c)return;if(c.get("next.span_type")!==n.BaseServerSpan.handleRequest)return void console.warn(`Unexpected root span type '${c.get("next.span_type")}'. Please report this Next.js issue https://github.com/vercel/next.js`);let f=c.get("next.route");if(f){let b=`${O} ${f}`;a.setAttributes({"next.route":f,"http.route":f,"next.span_name":b}),a.updateName(b),e&&e!==a&&(e.setAttribute("http.route",f),e.updateName(b))}else a.updateName(`${O} ${d}`)}),h=async e=>{var h,i;let j=async({previousCacheEntry:f})=>{try{if(!S&&D&&E&&!f)return b.statusCode=404,b.setHeader("x-nextjs-cache","REVALIDATED"),b.end("This page could not be found"),null;let d=await g(e);a.fetchMetrics=U.renderOpts.fetchMetrics;let h=U.renderOpts.pendingWaitUntil;h&&c.waitUntil&&(c.waitUntil(h),h=void 0);let i=U.renderOpts.collectedTags;if(!J)return await (0,p.I)(V,W,d,U.renderOpts.pendingWaitUntil),null;{let a=await d.blob(),b=(0,q.toNodeOutgoingHttpHeaders)(d.headers);i&&(b[s.NEXT_CACHE_TAGS_HEADER]=i),!b["content-type"]&&a.type&&(b["content-type"]=a.type);let c=void 0!==U.renderOpts.collectedRevalidate&&!(U.renderOpts.collectedRevalidate>=s.INFINITE_CACHE)&&U.renderOpts.collectedRevalidate,e=void 0===U.renderOpts.collectedExpire||U.renderOpts.collectedExpire>=s.INFINITE_CACHE?void 0:U.renderOpts.collectedExpire;return{value:{kind:u.CachedRouteKind.APP_ROUTE,status:d.status,body:Buffer.from(await a.arrayBuffer()),headers:b},cacheControl:{revalidate:c,expire:e}}}}catch(b){throw(null==f?void 0:f.isStale)&&await z.onRequestError(a,b,{routerKind:"App Router",routePath:d,routeType:"route",revalidateReason:(0,o.c)({isStaticGeneration:N,isOnDemandRevalidate:D})},!1,C),b}},k=await z.handleResponse({req:a,nextConfig:x,cacheKey:L,routeKind:f.RouteKind.APP_ROUTE,isFallback:!1,prerenderManifest:B,isRoutePPREnabled:!1,isOnDemandRevalidate:D,revalidateOnlyGenerated:E,responseGenerator:j,waitUntil:c.waitUntil,isMinimalMode:S});if(!J)return null;if((null==k||null==(h=k.value)?void 0:h.kind)!==u.CachedRouteKind.APP_ROUTE)throw Object.defineProperty(Error(`Invariant: app-route received invalid cache entry ${null==k||null==(i=k.value)?void 0:i.kind}`),"__NEXT_ERROR_CODE",{value:"E701",enumerable:!1,configurable:!0});S||b.setHeader("x-nextjs-cache",D?"REVALIDATED":k.isMiss?"MISS":k.isStale?"STALE":"HIT"),A&&b.setHeader("Cache-Control","private, no-cache, no-store, max-age=0, must-revalidate");let l=(0,q.fromNodeOutgoingHttpHeaders)(k.value.headers);return S&&J||l.delete(s.NEXT_CACHE_TAGS_HEADER),!k.cacheControl||b.getHeader("Cache-Control")||l.get("Cache-Control")||l.set("Cache-Control",(0,r.getCacheControlHeader)(k.cacheControl)),await (0,p.I)(V,W,new Response(k.value.body,{headers:l,status:k.value.status||200})),null};R&&Q?await h(Q):(e=P.getActiveScopeSpan(),await P.withPropagatedContext(a.headers,()=>P.trace(n.BaseServerSpan.handleRequest,{spanName:`${O} ${d}`,kind:i.SpanKind.SERVER,attributes:{"http.method":O,"http.target":a.url}},h),void 0,!R))}catch(b){if(b instanceof t.NoFallbackError||await z.onRequestError(a,b,{routerKind:"App Router",routePath:I,routeType:"route",revalidateReason:(0,o.c)({isStaticGeneration:N,isOnDemandRevalidate:D})},!1,C),J)throw b;return await (0,p.I)(V,W,new Response(null,{status:500})),null}}d()}catch(a){d(a)}})},44870:a=>{a.exports=require("next/dist/compiled/next-server/app-route.runtime.prod.js")},63033:a=>{a.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},73024:a=>{a.exports=require("node:fs")},75430:a=>{a.exports=import("@earendil-works/pi-coding-agent")},77030:a=>{a.exports=require("node:net")},77598:a=>{a.exports=require("node:crypto")},79646:a=>{a.exports=require("child_process")},86439:a=>{a.exports=require("next/dist/shared/lib/no-fallback-error.external")},98949:(a,b,c)=>{c.a(a,async(a,d)=>{try{c.r(b),c.d(b,{GET:()=>i});var e=c(23211),f=c(66544),g=c(23097),h=a([g]);async function i(a){if(!(0,f.EN)(a))return e.NextResponse.json({error:"Access denied"},{status:403});let b=new URL(a.url).searchParams.get("jobId");if(!b)return e.NextResponse.json({error:"Missing jobId"},{status:400});let c=(0,g.Z)(b);return c?e.NextResponse.json({done:c.done,total:c.total,imported:c.imported,skipped:c.skipped,errors:c.errors,currentFile:c.currentFile,sessionIds:c.done?c.sessionIds:void 0}):e.NextResponse.json({error:"Job not found"},{status:404})}g=(h.then?(await h)():h)[0],d()}catch(a){d(a)}})}};var b=require("../../../../webpack-runtime.js");b.C(a);var c=b.X(0,[4741,1813,5582,440],()=>b(b.s=40820));module.exports=c})();
|