@ulpi/cli 0.1.10 → 0.1.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/dist/{chunk-F32YQRFR.js → chunk-GSFWS32F.js} +1 -1
- package/dist/{ci-QBXWR3GW.js → ci-RMMSML3A.js} +1 -1
- package/dist/{doctor-SRJIZM2T.js → doctor-ILXW63Q2.js} +1 -1
- package/dist/{history-UGYO7Z3U.js → history-TKPFJAL3.js} +1 -1
- package/dist/index.js +8 -8
- package/dist/portal/apps/portal/.next/BUILD_ID +1 -1
- package/dist/portal/apps/portal/.next/app-build-manifest.json +98 -98
- package/dist/portal/apps/portal/.next/app-path-routes-manifest.json +21 -21
- package/dist/portal/apps/portal/.next/build-manifest.json +2 -2
- package/dist/portal/apps/portal/.next/prerender-manifest.json +106 -106
- package/dist/portal/apps/portal/.next/server/app/(dashboard)/billing/page_client-reference-manifest.js +1 -1
- package/dist/portal/apps/portal/.next/server/app/(dashboard)/codemap/page_client-reference-manifest.js +1 -1
- package/dist/portal/apps/portal/.next/server/app/(dashboard)/dashboard/page_client-reference-manifest.js +1 -1
- package/dist/portal/apps/portal/.next/server/app/(dashboard)/history/[sha]/transcript/page_client-reference-manifest.js +1 -1
- package/dist/portal/apps/portal/.next/server/app/(dashboard)/history/page.js +1 -1
- package/dist/portal/apps/portal/.next/server/app/(dashboard)/history/page_client-reference-manifest.js +1 -1
- package/dist/portal/apps/portal/.next/server/app/(dashboard)/jobs/[id]/page_client-reference-manifest.js +1 -1
- package/dist/portal/apps/portal/.next/server/app/(dashboard)/jobs/page_client-reference-manifest.js +1 -1
- package/dist/portal/apps/portal/.next/server/app/(dashboard)/loop/page.js +1 -1
- package/dist/portal/apps/portal/.next/server/app/(dashboard)/loop/page_client-reference-manifest.js +1 -1
- package/dist/portal/apps/portal/.next/server/app/(dashboard)/mcps/[name]/page_client-reference-manifest.js +1 -1
- package/dist/portal/apps/portal/.next/server/app/(dashboard)/mcps/catalog/page_client-reference-manifest.js +1 -1
- package/dist/portal/apps/portal/.next/server/app/(dashboard)/mcps/page_client-reference-manifest.js +1 -1
- package/dist/portal/apps/portal/.next/server/app/(dashboard)/mcps/secrets/page_client-reference-manifest.js +1 -1
- package/dist/portal/apps/portal/.next/server/app/(dashboard)/mcps/submissions/page_client-reference-manifest.js +1 -1
- package/dist/portal/apps/portal/.next/server/app/(dashboard)/mcps/usage/page_client-reference-manifest.js +1 -1
- package/dist/portal/apps/portal/.next/server/app/(dashboard)/memory/page_client-reference-manifest.js +1 -1
- package/dist/portal/apps/portal/.next/server/app/(dashboard)/memory/settings/page_client-reference-manifest.js +1 -1
- package/dist/portal/apps/portal/.next/server/app/(dashboard)/memory/timeline/page_client-reference-manifest.js +1 -1
- package/dist/portal/apps/portal/.next/server/app/(dashboard)/notifications/page_client-reference-manifest.js +1 -1
- package/dist/portal/apps/portal/.next/server/app/(dashboard)/parallel/page.js +1 -1
- package/dist/portal/apps/portal/.next/server/app/(dashboard)/parallel/page_client-reference-manifest.js +1 -1
- package/dist/portal/apps/portal/.next/server/app/(dashboard)/prd/page_client-reference-manifest.js +1 -1
- package/dist/portal/apps/portal/.next/server/app/(dashboard)/repos/[id]/guards/page_client-reference-manifest.js +1 -1
- package/dist/portal/apps/portal/.next/server/app/(dashboard)/repos/[id]/page_client-reference-manifest.js +1 -1
- package/dist/portal/apps/portal/.next/server/app/(dashboard)/repos/page_client-reference-manifest.js +1 -1
- package/dist/portal/apps/portal/.next/server/app/(dashboard)/review/config/page_client-reference-manifest.js +1 -1
- package/dist/portal/apps/portal/.next/server/app/(dashboard)/review/page_client-reference-manifest.js +1 -1
- package/dist/portal/apps/portal/.next/server/app/(dashboard)/review/plan/page_client-reference-manifest.js +1 -1
- package/dist/portal/apps/portal/.next/server/app/(dashboard)/review/queue/page_client-reference-manifest.js +1 -1
- package/dist/portal/apps/portal/.next/server/app/(dashboard)/rules/[id]/page_client-reference-manifest.js +1 -1
- package/dist/portal/apps/portal/.next/server/app/(dashboard)/rules/new/page_client-reference-manifest.js +1 -1
- package/dist/portal/apps/portal/.next/server/app/(dashboard)/rules/page_client-reference-manifest.js +1 -1
- package/dist/portal/apps/portal/.next/server/app/(dashboard)/rules/pipelines/page_client-reference-manifest.js +1 -1
- package/dist/portal/apps/portal/.next/server/app/(dashboard)/sessions/[sessionId]/page_client-reference-manifest.js +1 -1
- package/dist/portal/apps/portal/.next/server/app/(dashboard)/sessions/page.js +1 -1
- package/dist/portal/apps/portal/.next/server/app/(dashboard)/sessions/page_client-reference-manifest.js +1 -1
- package/dist/portal/apps/portal/.next/server/app/(dashboard)/settings/github/page_client-reference-manifest.js +1 -1
- package/dist/portal/apps/portal/.next/server/app/(dashboard)/settings/installations/page_client-reference-manifest.js +1 -1
- package/dist/portal/apps/portal/.next/server/app/(dashboard)/settings/keys/page_client-reference-manifest.js +1 -1
- package/dist/portal/apps/portal/.next/server/app/(dashboard)/settings/members/page_client-reference-manifest.js +1 -1
- package/dist/portal/apps/portal/.next/server/app/(dashboard)/settings/orgs/new/page_client-reference-manifest.js +1 -1
- package/dist/portal/apps/portal/.next/server/app/(dashboard)/settings/page_client-reference-manifest.js +1 -1
- package/dist/portal/apps/portal/.next/server/app/(dashboard)/skills/page_client-reference-manifest.js +1 -1
- package/dist/portal/apps/portal/.next/server/app/(dashboard)/sprints/[batchId]/page_client-reference-manifest.js +1 -1
- package/dist/portal/apps/portal/.next/server/app/(dashboard)/sprints/page_client-reference-manifest.js +1 -1
- package/dist/portal/apps/portal/.next/server/app/(dashboard)/templates/page_client-reference-manifest.js +1 -1
- package/dist/portal/apps/portal/.next/server/app/_not-found/page_client-reference-manifest.js +1 -1
- package/dist/portal/apps/portal/.next/server/app/_not-found.html +1 -1
- package/dist/portal/apps/portal/.next/server/app/_not-found.rsc +1 -1
- package/dist/portal/apps/portal/.next/server/app/auth/callback/page_client-reference-manifest.js +1 -1
- package/dist/portal/apps/portal/.next/server/app/auth/callback.html +1 -1
- package/dist/portal/apps/portal/.next/server/app/auth/callback.rsc +1 -1
- package/dist/portal/apps/portal/.next/server/app/billing.html +1 -1
- package/dist/portal/apps/portal/.next/server/app/billing.rsc +1 -1
- package/dist/portal/apps/portal/.next/server/app/codemap.html +1 -1
- package/dist/portal/apps/portal/.next/server/app/codemap.rsc +1 -1
- package/dist/portal/apps/portal/.next/server/app/dashboard.html +1 -1
- package/dist/portal/apps/portal/.next/server/app/dashboard.rsc +1 -1
- package/dist/portal/apps/portal/.next/server/app/history.html +1 -1
- package/dist/portal/apps/portal/.next/server/app/history.rsc +2 -2
- package/dist/portal/apps/portal/.next/server/app/jobs.html +1 -1
- package/dist/portal/apps/portal/.next/server/app/jobs.rsc +1 -1
- package/dist/portal/apps/portal/.next/server/app/loop.html +1 -1
- package/dist/portal/apps/portal/.next/server/app/loop.rsc +2 -2
- package/dist/portal/apps/portal/.next/server/app/mcps/catalog.html +1 -1
- package/dist/portal/apps/portal/.next/server/app/mcps/catalog.rsc +1 -1
- package/dist/portal/apps/portal/.next/server/app/mcps/secrets.html +1 -1
- package/dist/portal/apps/portal/.next/server/app/mcps/secrets.rsc +1 -1
- package/dist/portal/apps/portal/.next/server/app/mcps/submissions.html +1 -1
- package/dist/portal/apps/portal/.next/server/app/mcps/submissions.rsc +1 -1
- package/dist/portal/apps/portal/.next/server/app/mcps/usage.html +1 -1
- package/dist/portal/apps/portal/.next/server/app/mcps/usage.rsc +1 -1
- package/dist/portal/apps/portal/.next/server/app/mcps.html +1 -1
- package/dist/portal/apps/portal/.next/server/app/mcps.rsc +1 -1
- package/dist/portal/apps/portal/.next/server/app/memory/settings.html +1 -1
- package/dist/portal/apps/portal/.next/server/app/memory/settings.rsc +1 -1
- package/dist/portal/apps/portal/.next/server/app/memory/timeline.html +1 -1
- package/dist/portal/apps/portal/.next/server/app/memory/timeline.rsc +2 -2
- package/dist/portal/apps/portal/.next/server/app/memory.html +1 -1
- package/dist/portal/apps/portal/.next/server/app/memory.rsc +2 -2
- package/dist/portal/apps/portal/.next/server/app/notifications.html +1 -1
- package/dist/portal/apps/portal/.next/server/app/notifications.rsc +1 -1
- package/dist/portal/apps/portal/.next/server/app/parallel.html +1 -1
- package/dist/portal/apps/portal/.next/server/app/parallel.rsc +2 -2
- package/dist/portal/apps/portal/.next/server/app/prd.html +1 -1
- package/dist/portal/apps/portal/.next/server/app/prd.rsc +2 -2
- package/dist/portal/apps/portal/.next/server/app/repos.html +1 -1
- package/dist/portal/apps/portal/.next/server/app/repos.rsc +1 -1
- package/dist/portal/apps/portal/.next/server/app/review/config.html +1 -1
- package/dist/portal/apps/portal/.next/server/app/review/config.rsc +1 -1
- package/dist/portal/apps/portal/.next/server/app/review/plan.html +1 -1
- package/dist/portal/apps/portal/.next/server/app/review/plan.rsc +2 -2
- package/dist/portal/apps/portal/.next/server/app/review/queue.html +1 -1
- package/dist/portal/apps/portal/.next/server/app/review/queue.rsc +1 -1
- package/dist/portal/apps/portal/.next/server/app/review.html +1 -1
- package/dist/portal/apps/portal/.next/server/app/review.rsc +1 -1
- package/dist/portal/apps/portal/.next/server/app/rules/new.html +1 -1
- package/dist/portal/apps/portal/.next/server/app/rules/new.rsc +1 -1
- package/dist/portal/apps/portal/.next/server/app/rules/pipelines.html +1 -1
- package/dist/portal/apps/portal/.next/server/app/rules/pipelines.rsc +1 -1
- package/dist/portal/apps/portal/.next/server/app/rules.html +1 -1
- package/dist/portal/apps/portal/.next/server/app/rules.rsc +1 -1
- package/dist/portal/apps/portal/.next/server/app/sessions.html +1 -1
- package/dist/portal/apps/portal/.next/server/app/sessions.rsc +2 -2
- package/dist/portal/apps/portal/.next/server/app/settings/github.html +1 -1
- package/dist/portal/apps/portal/.next/server/app/settings/github.rsc +1 -1
- package/dist/portal/apps/portal/.next/server/app/settings/installations.html +1 -1
- package/dist/portal/apps/portal/.next/server/app/settings/installations.rsc +1 -1
- package/dist/portal/apps/portal/.next/server/app/settings/keys.html +1 -1
- package/dist/portal/apps/portal/.next/server/app/settings/keys.rsc +1 -1
- package/dist/portal/apps/portal/.next/server/app/settings/members.html +1 -1
- package/dist/portal/apps/portal/.next/server/app/settings/members.rsc +1 -1
- package/dist/portal/apps/portal/.next/server/app/settings/orgs/new.html +1 -1
- package/dist/portal/apps/portal/.next/server/app/settings/orgs/new.rsc +1 -1
- package/dist/portal/apps/portal/.next/server/app/settings.html +1 -1
- package/dist/portal/apps/portal/.next/server/app/settings.rsc +1 -1
- package/dist/portal/apps/portal/.next/server/app/skills.html +1 -1
- package/dist/portal/apps/portal/.next/server/app/skills.rsc +1 -1
- package/dist/portal/apps/portal/.next/server/app/sprints.html +1 -1
- package/dist/portal/apps/portal/.next/server/app/sprints.rsc +1 -1
- package/dist/portal/apps/portal/.next/server/app/templates.html +1 -1
- package/dist/portal/apps/portal/.next/server/app/templates.rsc +1 -1
- package/dist/portal/apps/portal/.next/server/app-paths-manifest.json +21 -21
- package/dist/portal/apps/portal/.next/server/next-font-manifest.js +1 -1
- package/dist/portal/apps/portal/.next/server/next-font-manifest.json +1 -1
- package/dist/portal/apps/portal/.next/server/pages/404.html +1 -1
- package/dist/portal/apps/portal/.next/server/pages/500.html +1 -1
- package/dist/portal/apps/portal/.next/server/pages-manifest.json +1 -1
- package/dist/portal/apps/portal/.next/static/chunks/3958-eebe9ad88e40b2c1.js +1 -0
- package/dist/portal/apps/portal/.next/static/chunks/{7525-d6350803a451284c.js → 7525-8d416b046f9add2a.js} +1 -1
- package/dist/portal/apps/portal/.next/static/chunks/app/(dashboard)/history/{page-264989cf873cd3de.js → page-0275ca43fdd64bf2.js} +1 -1
- package/dist/portal/apps/portal/.next/static/chunks/app/(dashboard)/jobs/[id]/page-dba3c6050ccf9243.js +1 -0
- package/dist/portal/apps/portal/.next/static/chunks/app/(dashboard)/loop/page-c3f658ffb8d7397b.js +1 -0
- package/dist/portal/apps/portal/.next/static/chunks/app/(dashboard)/memory/page-afe7f7a5b78650f2.js +1 -0
- package/dist/portal/apps/portal/.next/static/chunks/app/(dashboard)/memory/timeline/{page-30db4506366d09f4.js → page-4e3dd7e30a9946f0.js} +1 -1
- package/dist/portal/apps/portal/.next/static/chunks/app/(dashboard)/parallel/{page-85690140ff82dd58.js → page-49a26690ced20482.js} +1 -1
- package/dist/portal/apps/portal/.next/static/chunks/app/(dashboard)/sessions/{page-6b199747e9f587de.js → page-0b140fb8bbc53097.js} +1 -1
- package/dist/portal/apps/portal/package.json +1 -0
- package/dist/portal/package.json +1 -1
- package/dist/{start-DWZHVBUO.js → start-BRB2XW3T.js} +1 -1
- package/dist/{update-IBPDEBEK.js → update-HBWHFHUW.js} +1 -1
- package/dist/{version-checker-XKFQNN3I.js → version-checker-BQP7DVQ4.js} +1 -1
- package/package.json +6 -6
- package/dist/portal/apps/portal/.next/static/chunks/3958-9975252472a218aa.js +0 -1
- package/dist/portal/apps/portal/.next/static/chunks/app/(dashboard)/jobs/[id]/page-b0ac38d08f846f50.js +0 -1
- package/dist/portal/apps/portal/.next/static/chunks/app/(dashboard)/loop/page-faeaacd95742c754.js +0 -1
- package/dist/portal/apps/portal/.next/static/chunks/app/(dashboard)/memory/page-79f977cd348c57ae.js +0 -1
- /package/dist/portal/apps/portal/.next/static/{02AzZdYDA5HVAwITp37Ql → SG8tUyluXEA9HzEKtf-oo}/_buildManifest.js +0 -0
- /package/dist/portal/apps/portal/.next/static/{02AzZdYDA5HVAwITp37Ql → SG8tUyluXEA9HzEKtf-oo}/_ssgManifest.js +0 -0
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
(()=>{var a={};a.id=1600,a.ids=[1600],a.modules={261:a=>{"use strict";a.exports=require("next/dist/shared/lib/router/utils/app-paths")},3295:a=>{"use strict";a.exports=require("next/dist/server/app-render/after-task-async-storage.external.js")},5683:(a,b,c)=>{Promise.resolve().then(c.bind(c,32961))},10846:a=>{"use strict";a.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},17140:(a,b,c)=>{"use strict";c.r(b),c.d(b,{GlobalError:()=>D.a,__next_app__:()=>J,handler:()=>L,pages:()=>I,routeModule:()=>K,tree:()=>H});var d=c(48226),e=c(24085),f=c(69339),g=c(93292),h=c(11110),i=c(4120),j=c(60247),k=c(72548),l=c(74570),m=c(84880),n=c(38698),o=c(6085),p=c(35157),q=c(97854),r=c(261),s=c(39965),t=c(25794),u=c(26713),v=c(39172),w=c(5797),x=c(97769),y=c(7054),z=c(84002),A=c(3558),B=c(86439),C=c(2714),D=c.n(C),E=c(56130),F=c(72907),G={};for(let a in E)0>["default","tree","pages","GlobalError","__next_app__","routeModule","handler"].indexOf(a)&&(G[a]=()=>E[a]);c.d(b,G);let H={children:["",{children:["(dashboard)",{children:["parallel",{children:["__PAGE__",{},{page:[()=>Promise.resolve().then(c.bind(c,38021)),"/Users/ciprian/work_cip/ulpi/hooks/apps/portal/src/app/(dashboard)/parallel/page.tsx"]}]},{}]},{layout:[()=>Promise.resolve().then(c.bind(c,45460)),"/Users/ciprian/work_cip/ulpi/hooks/apps/portal/src/app/(dashboard)/layout.tsx"],"not-found":[()=>Promise.resolve().then(c.t.bind(c,40428,23)),"next/dist/client/components/builtin/not-found.js"],forbidden:[()=>Promise.resolve().then(c.t.bind(c,22613,23)),"next/dist/client/components/builtin/forbidden.js"],unauthorized:[()=>Promise.resolve().then(c.t.bind(c,34312,23)),"next/dist/client/components/builtin/unauthorized.js"]}]},{layout:[()=>Promise.resolve().then(c.bind(c,82648)),"/Users/ciprian/work_cip/ulpi/hooks/apps/portal/src/app/layout.tsx"],error:[()=>Promise.resolve().then(c.bind(c,10538)),"/Users/ciprian/work_cip/ulpi/hooks/apps/portal/src/app/error.tsx"],"global-error":[()=>Promise.resolve().then(c.t.bind(c,2714,23)),"next/dist/client/components/builtin/global-error.js"],"not-found":[()=>Promise.resolve().then(c.t.bind(c,40428,23)),"next/dist/client/components/builtin/not-found.js"],forbidden:[()=>Promise.resolve().then(c.t.bind(c,22613,23)),"next/dist/client/components/builtin/forbidden.js"],unauthorized:[()=>Promise.resolve().then(c.t.bind(c,34312,23)),"next/dist/client/components/builtin/unauthorized.js"]}]}.children,I=["/Users/ciprian/work_cip/ulpi/hooks/apps/portal/src/app/(dashboard)/parallel/page.tsx"],J={require:c,loadChunk:()=>Promise.resolve()},K=new d.AppPageRouteModule({definition:{kind:e.RouteKind.APP_PAGE,page:"/(dashboard)/parallel/page",pathname:"/parallel",bundlePath:"",filename:"",appPaths:[]},userland:{loaderTree:H},distDir:".next",relativeProjectDir:""});async function L(a,b,d){var C;let G="/(dashboard)/parallel/page";"/index"===G&&(G="/");let M=(0,h.getRequestMeta)(a,"postponed"),N=(0,h.getRequestMeta)(a,"minimalMode"),O=await K.prepare(a,b,{srcPage:G,multiZoneDraftMode:!1});if(!O)return b.statusCode=400,b.end("Bad Request"),null==d.waitUntil||d.waitUntil.call(d,Promise.resolve()),null;let{buildId:P,query:Q,params:R,parsedUrl:S,pageIsDynamic:T,buildManifest:U,nextFontManifest:V,reactLoadableManifest:W,serverActionsManifest:X,clientReferenceManifest:Y,subresourceIntegrityManifest:Z,prerenderManifest:$,isDraftMode:_,resolvedPathname:aa,revalidateOnlyGenerated:ab,routerServerContext:ac,nextConfig:ad,interceptionRoutePatterns:ae}=O,af=S.pathname||"/",ag=(0,r.normalizeAppPath)(G),{isOnDemandRevalidate:ah}=O,ai=K.match(af,$),aj=!!$.routes[aa],ak=!!(ai||aj||$.routes[ag]),al=a.headers["user-agent"]||"",am=(0,u.getBotType)(al),an=(0,p.isHtmlBotRequest)(a),ao=(0,h.getRequestMeta)(a,"isPrefetchRSCRequest")??"1"===a.headers[t.NEXT_ROUTER_PREFETCH_HEADER],ap=(0,h.getRequestMeta)(a,"isRSCRequest")??!!a.headers[t.RSC_HEADER],aq=(0,s.getIsPossibleServerAction)(a),ar=(0,m.checkIsAppPPREnabled)(ad.experimental.ppr)&&(null==(C=$.routes[ag]??$.dynamicRoutes[ag])?void 0:C.renderingMode)==="PARTIALLY_STATIC",as=!1,at=!1,au=ar?M:void 0,av=ar&&ap&&!ao,aw=(0,h.getRequestMeta)(a,"segmentPrefetchRSCRequest"),ax=!al||(0,p.shouldServeStreamingMetadata)(al,ad.htmlLimitedBots);an&&ar&&(ak=!1,ax=!1);let ay=!0===K.isDev||!ak||"string"==typeof M||av,az=an&&ar,aA=null;_||!ak||ay||aq||au||av||(aA=aa);let aB=aA;!aB&&K.isDev&&(aB=aa),K.isDev||_||!ak||!ap||av||(0,k.d)(a.headers);let aC={...E,tree:H,pages:I,GlobalError:D(),handler:L,routeModule:K,__next_app__:J};X&&Y&&(0,o.setReferenceManifestsSingleton)({page:G,clientReferenceManifest:Y,serverActionsManifest:X,serverModuleMap:(0,q.createServerModuleMap)({serverActionsManifest:X})});let aD=a.method||"GET",aE=(0,g.getTracer)(),aF=aE.getActiveScopeSpan();try{let f=K.getVaryHeader(aa,ae);b.setHeader("Vary",f);let k=async(c,d)=>{let e=new l.NodeNextRequest(a),f=new l.NodeNextResponse(b);return K.render(e,f,d).finally(()=>{if(!c)return;c.setAttributes({"http.status_code":b.statusCode,"next.rsc":!1});let d=aE.getRootSpanAttributes();if(!d)return;if(d.get("next.span_type")!==i.BaseServerSpan.handleRequest)return void console.warn(`Unexpected root span type '${d.get("next.span_type")}'. Please report this Next.js issue https://github.com/vercel/next.js`);let e=d.get("next.route");if(e){let a=`${aD} ${e}`;c.setAttributes({"next.route":e,"http.route":e,"next.span_name":a}),c.updateName(a)}else c.updateName(`${aD} ${a.url}`)})},m=async({span:e,postponed:f,fallbackRouteParams:g})=>{let i={query:Q,params:R,page:ag,sharedContext:{buildId:P},serverComponentsHmrCache:(0,h.getRequestMeta)(a,"serverComponentsHmrCache"),fallbackRouteParams:g,renderOpts:{App:()=>null,Document:()=>null,pageConfig:{},ComponentMod:aC,Component:(0,j.T)(aC),params:R,routeModule:K,page:G,postponed:f,shouldWaitOnAllReady:az,serveStreamingMetadata:ax,supportsDynamicResponse:"string"==typeof f||ay,buildManifest:U,nextFontManifest:V,reactLoadableManifest:W,subresourceIntegrityManifest:Z,serverActionsManifest:X,clientReferenceManifest:Y,setIsrStatus:null==ac?void 0:ac.setIsrStatus,dir:c(33873).join(process.cwd(),K.relativeProjectDir),isDraftMode:_,isRevalidate:ak&&!f&&!av,botType:am,isOnDemandRevalidate:ah,isPossibleServerAction:aq,assetPrefix:ad.assetPrefix,nextConfigOutput:ad.output,crossOrigin:ad.crossOrigin,trailingSlash:ad.trailingSlash,previewProps:$.preview,deploymentId:ad.deploymentId,enableTainting:ad.experimental.taint,htmlLimitedBots:ad.htmlLimitedBots,devtoolSegmentExplorer:ad.experimental.devtoolSegmentExplorer,reactMaxHeadersLength:ad.reactMaxHeadersLength,multiZoneDraftMode:!1,incrementalCache:(0,h.getRequestMeta)(a,"incrementalCache"),cacheLifeProfiles:ad.experimental.cacheLife,basePath:ad.basePath,serverActions:ad.experimental.serverActions,...as?{nextExport:!0,supportsDynamicResponse:!1,isStaticGeneration:!0,isRevalidate:!0,isDebugDynamicAccesses:as}:{},experimental:{isRoutePPREnabled:ar,expireTime:ad.expireTime,staleTimes:ad.experimental.staleTimes,cacheComponents:!!ad.experimental.cacheComponents,clientSegmentCache:!!ad.experimental.clientSegmentCache,clientParamParsing:!!ad.experimental.clientParamParsing,dynamicOnHover:!!ad.experimental.dynamicOnHover,inlineCss:!!ad.experimental.inlineCss,authInterrupts:!!ad.experimental.authInterrupts,clientTraceMetadata:ad.experimental.clientTraceMetadata||[]},waitUntil:d.waitUntil,onClose:a=>{b.on("close",a)},onAfterTaskError:()=>{},onInstrumentationRequestError:(b,c,d)=>K.onRequestError(a,b,d,ac),err:(0,h.getRequestMeta)(a,"invokeError"),dev:K.isDev}},l=await k(e,i),{metadata:m}=l,{cacheControl:n,headers:o={},fetchTags:p}=m;if(p&&(o[y.NEXT_CACHE_TAGS_HEADER]=p),a.fetchMetrics=m.fetchMetrics,ak&&(null==n?void 0:n.revalidate)===0&&!K.isDev&&!ar){let a=m.staticBailoutInfo,b=Object.defineProperty(Error(`Page changed from static to dynamic at runtime ${aa}${(null==a?void 0:a.description)?`, reason: ${a.description}`:""}
|
|
2
|
-
see more here https://nextjs.org/docs/messages/app-static-to-dynamic-error`),"__NEXT_ERROR_CODE",{value:"E132",enumerable:!1,configurable:!0});if(null==a?void 0:a.stack){let c=a.stack;b.stack=b.message+c.substring(c.indexOf("\n"))}throw b}return{value:{kind:v.CachedRouteKind.APP_PAGE,html:l,headers:o,rscData:m.flightData,postponed:m.postponed,status:m.statusCode,segmentData:m.segmentData},cacheControl:n}},o=async({hasResolved:c,previousCacheEntry:f,isRevalidating:g,span:i})=>{let j,k=!1===K.isDev,l=c||b.writableEnded;if(ah&&ab&&!f&&!N)return(null==ac?void 0:ac.render404)?await ac.render404(a,b):(b.statusCode=404,b.end("This page could not be found")),null;if(ai&&(j=(0,w.parseFallbackField)(ai.fallback)),j===w.FallbackMode.PRERENDER&&(0,u.isBot)(al)&&(!ar||an)&&(j=w.FallbackMode.BLOCKING_STATIC_RENDER),(null==f?void 0:f.isStale)===-1&&(ah=!0),ah&&(j!==w.FallbackMode.NOT_FOUND||f)&&(j=w.FallbackMode.BLOCKING_STATIC_RENDER),!N&&j!==w.FallbackMode.BLOCKING_STATIC_RENDER&&aB&&!l&&!_&&T&&(k||!aj)){let b;if((k||ai)&&j===w.FallbackMode.NOT_FOUND)throw new B.NoFallbackError;if(ar&&!ap){let c="string"==typeof(null==ai?void 0:ai.fallback)?ai.fallback:k?ag:null;if(b=await K.handleResponse({cacheKey:c,req:a,nextConfig:ad,routeKind:e.RouteKind.APP_PAGE,isFallback:!0,prerenderManifest:$,isRoutePPREnabled:ar,responseGenerator:async()=>m({span:i,postponed:void 0,fallbackRouteParams:k||at?(0,n.u)(ag):null}),waitUntil:d.waitUntil}),null===b)return null;if(b)return delete b.cacheControl,b}}let o=ah||g||!au?void 0:au;if(as&&void 0!==o)return{cacheControl:{revalidate:1,expire:void 0},value:{kind:v.CachedRouteKind.PAGES,html:x.default.EMPTY,pageData:{},headers:void 0,status:void 0}};let p=T&&ar&&((0,h.getRequestMeta)(a,"renderFallbackShell")||at)?(0,n.u)(af):null;return m({span:i,postponed:o,fallbackRouteParams:p})},p=async c=>{var f,g,i,j,k;let l,n=await K.handleResponse({cacheKey:aA,responseGenerator:a=>o({span:c,...a}),routeKind:e.RouteKind.APP_PAGE,isOnDemandRevalidate:ah,isRoutePPREnabled:ar,req:a,nextConfig:ad,prerenderManifest:$,waitUntil:d.waitUntil});if(_&&b.setHeader("Cache-Control","private, no-cache, no-store, max-age=0, must-revalidate"),K.isDev&&b.setHeader("Cache-Control","no-store, must-revalidate"),!n){if(aA)throw Object.defineProperty(Error("invariant: cache entry required but not generated"),"__NEXT_ERROR_CODE",{value:"E62",enumerable:!1,configurable:!0});return null}if((null==(f=n.value)?void 0:f.kind)!==v.CachedRouteKind.APP_PAGE)throw Object.defineProperty(Error(`Invariant app-page handler received invalid cache entry ${null==(i=n.value)?void 0:i.kind}`),"__NEXT_ERROR_CODE",{value:"E707",enumerable:!1,configurable:!0});let p="string"==typeof n.value.postponed;ak&&!av&&(!p||ao)&&(N||b.setHeader("x-nextjs-cache",ah?"REVALIDATED":n.isMiss?"MISS":n.isStale?"STALE":"HIT"),b.setHeader(t.NEXT_IS_PRERENDER_HEADER,"1"));let{value:q}=n;if(au)l={revalidate:0,expire:void 0};else if(N&&ap&&!ao&&ar)l={revalidate:0,expire:void 0};else if(!K.isDev)if(_)l={revalidate:0,expire:void 0};else if(ak){if(n.cacheControl)if("number"==typeof n.cacheControl.revalidate){if(n.cacheControl.revalidate<1)throw Object.defineProperty(Error(`Invalid revalidate configuration provided: ${n.cacheControl.revalidate} < 1`),"__NEXT_ERROR_CODE",{value:"E22",enumerable:!1,configurable:!0});l={revalidate:n.cacheControl.revalidate,expire:(null==(j=n.cacheControl)?void 0:j.expire)??ad.expireTime}}else l={revalidate:y.CACHE_ONE_YEAR,expire:void 0}}else b.getHeader("Cache-Control")||(l={revalidate:0,expire:void 0});if(n.cacheControl=l,"string"==typeof aw&&(null==q?void 0:q.kind)===v.CachedRouteKind.APP_PAGE&&q.segmentData){b.setHeader(t.NEXT_DID_POSTPONE_HEADER,"2");let c=null==(k=q.headers)?void 0:k[y.NEXT_CACHE_TAGS_HEADER];N&&ak&&c&&"string"==typeof c&&b.setHeader(y.NEXT_CACHE_TAGS_HEADER,c);let d=q.segmentData.get(aw);return void 0!==d?(0,A.sendRenderResult)({req:a,res:b,generateEtags:ad.generateEtags,poweredByHeader:ad.poweredByHeader,result:x.default.fromStatic(d,t.RSC_CONTENT_TYPE_HEADER),cacheControl:n.cacheControl}):(b.statusCode=204,(0,A.sendRenderResult)({req:a,res:b,generateEtags:ad.generateEtags,poweredByHeader:ad.poweredByHeader,result:x.default.EMPTY,cacheControl:n.cacheControl}))}let r=(0,h.getRequestMeta)(a,"onCacheEntry");if(r&&await r({...n,value:{...n.value,kind:"PAGE"}},{url:(0,h.getRequestMeta)(a,"initURL")}))return null;if(p&&au)throw Object.defineProperty(Error("Invariant: postponed state should not be present on a resume request"),"__NEXT_ERROR_CODE",{value:"E396",enumerable:!1,configurable:!0});if(q.headers){let a={...q.headers};for(let[c,d]of(N&&ak||delete a[y.NEXT_CACHE_TAGS_HEADER],Object.entries(a)))if(void 0!==d)if(Array.isArray(d))for(let a of d)b.appendHeader(c,a);else"number"==typeof d&&(d=d.toString()),b.appendHeader(c,d)}let s=null==(g=q.headers)?void 0:g[y.NEXT_CACHE_TAGS_HEADER];if(N&&ak&&s&&"string"==typeof s&&b.setHeader(y.NEXT_CACHE_TAGS_HEADER,s),!q.status||ap&&ar||(b.statusCode=q.status),!N&&q.status&&F.RedirectStatusCode[q.status]&&ap&&(b.statusCode=200),p&&b.setHeader(t.NEXT_DID_POSTPONE_HEADER,"1"),ap&&!_){if(void 0===q.rscData){if(q.postponed)throw Object.defineProperty(Error("Invariant: Expected postponed to be undefined"),"__NEXT_ERROR_CODE",{value:"E372",enumerable:!1,configurable:!0});return(0,A.sendRenderResult)({req:a,res:b,generateEtags:ad.generateEtags,poweredByHeader:ad.poweredByHeader,result:q.html,cacheControl:av?{revalidate:0,expire:void 0}:n.cacheControl})}return(0,A.sendRenderResult)({req:a,res:b,generateEtags:ad.generateEtags,poweredByHeader:ad.poweredByHeader,result:x.default.fromStatic(q.rscData,t.RSC_CONTENT_TYPE_HEADER),cacheControl:n.cacheControl})}let u=q.html;if(!p||N||ap)return(0,A.sendRenderResult)({req:a,res:b,generateEtags:ad.generateEtags,poweredByHeader:ad.poweredByHeader,result:u,cacheControl:n.cacheControl});if(as)return u.push(new ReadableStream({start(a){a.enqueue(z.ENCODED_TAGS.CLOSED.BODY_AND_HTML),a.close()}})),(0,A.sendRenderResult)({req:a,res:b,generateEtags:ad.generateEtags,poweredByHeader:ad.poweredByHeader,result:u,cacheControl:{revalidate:0,expire:void 0}});let w=new TransformStream;return u.push(w.readable),m({span:c,postponed:q.postponed,fallbackRouteParams:null}).then(async a=>{var b,c;if(!a)throw Object.defineProperty(Error("Invariant: expected a result to be returned"),"__NEXT_ERROR_CODE",{value:"E463",enumerable:!1,configurable:!0});if((null==(b=a.value)?void 0:b.kind)!==v.CachedRouteKind.APP_PAGE)throw Object.defineProperty(Error(`Invariant: expected a page response, got ${null==(c=a.value)?void 0:c.kind}`),"__NEXT_ERROR_CODE",{value:"E305",enumerable:!1,configurable:!0});await a.value.html.pipeTo(w.writable)}).catch(a=>{w.writable.abort(a).catch(a=>{console.error("couldn't abort transformer",a)})}),(0,A.sendRenderResult)({req:a,res:b,generateEtags:ad.generateEtags,poweredByHeader:ad.poweredByHeader,result:u,cacheControl:{revalidate:0,expire:void 0}})};if(!aF)return await aE.withPropagatedContext(a.headers,()=>aE.trace(i.BaseServerSpan.handleRequest,{spanName:`${aD} ${a.url}`,kind:g.SpanKind.SERVER,attributes:{"http.method":aD,"http.target":a.url}},p));await p(aF)}catch(b){throw b instanceof B.NoFallbackError||await K.onRequestError(a,b,{routerKind:"App Router",routePath:G,routeType:"render",revalidateReason:(0,f.c)({isRevalidate:ak,isOnDemandRevalidate:ah})},ac),b}}},19121:a=>{"use strict";a.exports=require("next/dist/server/app-render/action-async-storage.external.js")},26713:a=>{"use strict";a.exports=require("next/dist/shared/lib/router/utils/is-bot")},28354:a=>{"use strict";a.exports=require("util")},29294:a=>{"use strict";a.exports=require("next/dist/server/app-render/work-async-storage.external.js")},32961:(a,b,c)=>{"use strict";c.r(b),c.d(b,{default:()=>B});var d=c(82164),e=c(54509),f=c(26170),g=c(59440),h=c(92232),i=c(18195),j=c(73754);let k={taskSource:"prd",prdFileName:"",prdContent:"",agentName:"claude",model:"",sandbox:"",agent:"",trackerName:"json",trackerConfig:{},trackerFileName:"",trackerFileContent:"",sourceBranch:"",maxWorkers:3,maxIterations:10,aiConflictResolution:!0,verificationAgentName:"",verificationAgent:""},l=new Set(["idle","stopped","error","completed","failed","cancelled"]);var m=c(92897),n=c(57470);function o({checked:a,onChange:b}){return(0,d.jsx)("button",{type:"button",role:"switch","aria-checked":a,onClick:()=>b(!a),className:`relative inline-flex h-5 w-9 shrink-0 cursor-pointer rounded-full border-2 border-transparent transition-colors ${a?"bg-primary-500":"bg-surface-700"}`,children:(0,d.jsx)("span",{className:`pointer-events-none inline-block h-4 w-4 rounded-full bg-white shadow-sm transition-transform ${a?"translate-x-4":"translate-x-0"}`})})}function p({onStart:a,initialPrdFilename:b,initialAgent:c,initialModel:f}){(0,j.yC)();let[g,h]=(0,e.useState)(()=>({...k,...c?{agentName:c}:{},...f?{model:f}:{}})),[i,l]=(0,e.useState)(null),[p,q]=(0,e.useState)([]),[r,s]=(0,e.useState)(""),t=(0,e.useRef)(null),u=(0,e.useRef)(null);(0,e.useRef)(!1);let{getForAgent:v,getFlagForAgent:w}=function(){let a=(0,j.yC)(),[b,c]=(0,e.useState)(new Map),[d,f]=(0,e.useState)(!0),g=(0,e.useCallback)(async()=>{try{let b=await a.get("/api/agents/specializations?includeEmpty=true"),d=new Map;for(let a of b.agents??[])d.set(a.agentName,a);c(d)}catch{}finally{f(!1)}},[a]),h=(0,e.useCallback)(a=>b.get(a)?.specializations??[],[b]),i=(0,e.useCallback)(a=>b.get(a)?.flag,[b]);return{specs:b,loading:d,refresh:g,getForAgent:h,getFlagForAgent:i}}(),x=m.x.find(a=>a.value===g.trackerName),y="json"===g.trackerName||"markdown"===g.trackerName,z=(a,b)=>{h(c=>({...c,[a]:b})),l(null)},A=a=>b=>{let c=b.target.files?.[0];if(!c)return;let d=new FileReader;d.onload=()=>{let b=d.result;"prd"===a?h(a=>({...a,prdFileName:c.name,prdContent:b})):h(a=>({...a,trackerFileName:c.name,trackerFileContent:b})),l(null)},d.readAsText(c)},B=()=>{if("prd"===g.taskSource&&!g.prdContent)return!1;if("tracker"===g.taskSource){if(y&&!g.trackerFileContent)return!1;if(!x)return!0;for(let a of x.fields)if(a.required&&!g.trackerConfig[a.key]?.trim())return!1}return!(g.maxWorkers<1)};return(0,d.jsxs)("div",{children:[(0,d.jsx)("h2",{className:"mb-4 text-base font-semibold text-white",children:"New Parallel Run"}),(0,d.jsxs)("div",{className:"mb-4",children:[(0,d.jsx)("label",{className:"mb-1.5 block text-xs font-medium text-gray-400",children:"Task Source"}),(0,d.jsx)("div",{className:"flex gap-1 rounded-lg border border-white/[0.08] bg-surface-800 p-1",children:[{value:"prd",label:"PRD File"},{value:"tracker",label:"Task Tracker"}].map(a=>(0,d.jsx)("button",{type:"button",onClick:()=>z("taskSource",a.value),className:`flex-1 rounded-md px-3 py-1.5 text-xs font-medium transition-colors ${g.taskSource===a.value?"bg-primary-500 text-white":"text-gray-400 hover:text-gray-300"}`,children:a.label},a.value))})]}),"prd"===g.taskSource&&(0,d.jsxs)("div",{className:"mb-4",children:[(0,d.jsxs)("label",{className:"mb-1.5 block text-xs font-medium text-gray-400",children:["PRD File ",(0,d.jsx)("span",{className:"ml-0.5 text-red-400",children:"*"})]}),(0,d.jsxs)("div",{className:"flex items-center gap-3",children:[(0,d.jsxs)("button",{type:"button",onClick:()=>t.current?.click(),className:"inline-flex items-center gap-2 rounded-lg border border-white/[0.08] bg-surface-800 px-3 py-2 text-sm text-gray-300 transition-colors hover:bg-surface-700 hover:text-white",children:[(0,d.jsx)("svg",{className:"h-4 w-4",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",strokeWidth:1.5,children:(0,d.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M19.5 14.25v-2.625a3.375 3.375 0 0 0-3.375-3.375h-1.5A1.125 1.125 0 0 1 13.5 7.125v-1.5a3.375 3.375 0 0 0-3.375-3.375H8.25m2.25 0H5.625c-.621 0-1.125.504-1.125 1.125v17.25c0 .621.504 1.125 1.125 1.125h12.75c.621 0 1.125-.504 1.125-1.125V11.25a9 9 0 0 0-9-9Z"})}),"Browse"]}),g.prdFileName&&(0,d.jsx)("span",{className:"truncate text-sm text-gray-400",children:g.prdFileName}),(0,d.jsx)("input",{ref:t,type:"file",accept:".md,.txt,.markdown",onChange:A("prd"),className:"hidden"})]}),(0,d.jsx)("p",{className:"mt-1 text-[11px] text-gray-600",children:"Markdown file with structured tasks. Tasks will be analyzed for dependencies and grouped for parallel execution."})]}),(0,d.jsxs)("div",{className:`grid grid-cols-1 gap-4 ${"tracker"===g.taskSource?"sm:grid-cols-4":"sm:grid-cols-3"}`,children:[(0,d.jsxs)("div",{children:[(0,d.jsx)("label",{className:"mb-1.5 block text-xs font-medium text-gray-400",children:"Agent"}),(0,d.jsx)("select",{value:g.agentName,onChange:a=>{let b=a.target.value;h(a=>({...a,agentName:b,model:(0,n.fZ)(b),agent:""})),l(null)},className:"w-full rounded-lg border border-white/[0.08] bg-surface-800 px-3 py-2 text-sm text-white focus:border-primary-500/50 focus:outline-none",children:n.jw.map(a=>(0,d.jsx)("option",{value:a.value,children:a.label},a.value))})]}),(0,d.jsxs)("div",{children:[(0,d.jsx)("label",{className:"mb-1.5 block text-xs font-medium text-gray-400",children:"Model"}),(()=>{let a=(0,n.F_)(g.agentName);return(0,d.jsx)("select",{value:g.model,onChange:a=>z("model",a.target.value),disabled:0===a.length,className:"w-full rounded-lg border border-white/[0.08] bg-surface-800 px-3 py-2 text-sm text-white focus:border-primary-500/50 focus:outline-none disabled:opacity-50 disabled:cursor-not-allowed",children:0===a.length?(0,d.jsx)("option",{value:"",children:"(default)"}):a.map(a=>(0,d.jsx)("option",{value:a.value,children:a.label},a.value))})})()]}),(0,d.jsxs)("div",{children:[(0,d.jsx)("label",{className:"mb-1.5 block text-xs font-medium text-gray-400",children:"Sandbox"}),(0,d.jsxs)("select",{value:g.sandbox,onChange:a=>z("sandbox",a.target.value),className:"w-full rounded-lg border border-white/[0.08] bg-surface-800 px-3 py-2 text-sm text-white focus:border-primary-500/50 focus:outline-none",children:[(0,d.jsx)("option",{value:"",children:"Default"}),(0,d.jsx)("option",{value:"workspace-write",children:"Workspace Write"}),(0,d.jsx)("option",{value:"danger-full-access",children:"Full Access"}),(0,d.jsx)("option",{value:"read-only",children:"Read Only"})]}),(0,d.jsx)("p",{className:"mt-1 text-[11px] text-gray-600",children:"Full Access enables network"})]}),"tracker"===g.taskSource&&(0,d.jsxs)("div",{children:[(0,d.jsx)("label",{className:"mb-1.5 block text-xs font-medium text-gray-400",children:"Task Tracker"}),(0,d.jsx)("select",{value:g.trackerName,onChange:a=>{var b;return b=a.target.value,void(h(a=>({...a,trackerName:b,trackerConfig:{},trackerFileName:"",trackerFileContent:""})),l(null))},className:"w-full rounded-lg border border-white/[0.08] bg-surface-800 px-3 py-2 text-sm text-white focus:border-primary-500/50 focus:outline-none",children:m.x.map(a=>(0,d.jsx)("option",{value:a.value,children:a.label},a.value))})]})]}),(()=>{let a=v(g.agentName),b=w(g.agentName),c=g.verificationAgentName||g.agentName,e=v(c),f=w(c);return(0,d.jsxs)("div",{className:"mt-4 grid grid-cols-1 gap-4 sm:grid-cols-2",children:[(0,d.jsxs)("div",{children:[(0,d.jsx)("label",{className:"mb-1.5 block text-xs font-medium text-gray-400",children:"Agent Specialization"}),a.length>0?(0,d.jsxs)("select",{value:g.agent,onChange:a=>z("agent",a.target.value),className:"w-full rounded-lg border border-white/[0.08] bg-surface-800 px-3 py-2 text-sm text-white focus:border-primary-500/50 focus:outline-none",children:[(0,d.jsx)("option",{value:"",children:"None (default)"}),a.map(a=>(0,d.jsxs)("option",{value:a.name,children:[a.name,a.description?` — ${a.description.slice(0,60)}`:""]},a.name))]}):(0,d.jsx)("select",{disabled:!0,className:"w-full rounded-lg border border-white/[0.08] bg-surface-800 px-3 py-2 text-sm text-gray-500 focus:outline-none disabled:opacity-50 disabled:cursor-not-allowed",children:(0,d.jsx)("option",{children:"No specializations available"})}),b&&(0,d.jsxs)("p",{className:"mt-1 text-[11px] text-gray-600",children:["Uses ",b," flag"]})]}),(0,d.jsxs)("div",{children:[(0,d.jsx)("label",{className:"mb-1.5 block text-xs font-medium text-gray-400",children:"Verification Agent"}),(0,d.jsxs)("div",{className:"flex gap-2",children:[(0,d.jsxs)("select",{value:g.verificationAgentName,onChange:a=>{z("verificationAgentName",a.target.value),z("verificationAgent","")},className:"w-1/2 rounded-lg border border-white/[0.08] bg-surface-800 px-3 py-2 text-sm text-white focus:border-primary-500/50 focus:outline-none",children:[(0,d.jsx)("option",{value:"",children:"Same as main"}),n.jw.map(a=>(0,d.jsx)("option",{value:a.value,children:a.label},a.value))]}),e.length>0?(0,d.jsxs)("select",{value:g.verificationAgent,onChange:a=>z("verificationAgent",a.target.value),className:"w-1/2 rounded-lg border border-white/[0.08] bg-surface-800 px-3 py-2 text-sm text-white focus:border-primary-500/50 focus:outline-none",children:[(0,d.jsx)("option",{value:"",children:"None (default)"}),e.map(a=>(0,d.jsx)("option",{value:a.name,children:a.name},a.name))]}):(0,d.jsx)("select",{disabled:!0,className:"w-1/2 rounded-lg border border-white/[0.08] bg-surface-800 px-3 py-2 text-sm text-gray-500 focus:outline-none disabled:opacity-50 disabled:cursor-not-allowed",children:(0,d.jsx)("option",{children:"No specializations"})})]}),(0,d.jsxs)("p",{className:"mt-1 text-[11px] text-gray-600",children:["Runs validation after all workers merge",f?` (${f})`:""]})]})]})})(),"tracker"===g.taskSource&&(0,d.jsxs)("div",{className:"mt-4 space-y-3",children:[y&&(0,d.jsxs)("div",{children:[(0,d.jsxs)("label",{className:"mb-1.5 block text-xs font-medium text-gray-400",children:["Task File ",(0,d.jsx)("span",{className:"ml-0.5 text-red-400",children:"*"})]}),(0,d.jsxs)("div",{className:"flex items-center gap-3",children:[(0,d.jsxs)("button",{type:"button",onClick:()=>u.current?.click(),className:"inline-flex items-center gap-2 rounded-lg border border-white/[0.08] bg-surface-800 px-3 py-2 text-sm text-gray-300 transition-colors hover:bg-surface-700 hover:text-white",children:[(0,d.jsx)("svg",{className:"h-4 w-4",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",strokeWidth:1.5,children:(0,d.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M19.5 14.25v-2.625a3.375 3.375 0 0 0-3.375-3.375h-1.5A1.125 1.125 0 0 1 13.5 7.125v-1.5a3.375 3.375 0 0 0-3.375-3.375H8.25m2.25 0H5.625c-.621 0-1.125.504-1.125 1.125v17.25c0 .621.504 1.125 1.125 1.125h12.75c.621 0 1.125-.504 1.125-1.125V11.25a9 9 0 0 0-9-9Z"})}),"Browse"]}),g.trackerFileName&&(0,d.jsx)("span",{className:"truncate text-sm text-gray-400",children:g.trackerFileName}),(0,d.jsx)("input",{ref:u,type:"file",accept:"json"===g.trackerName?".json":".md,.txt,.markdown",onChange:A("tracker"),className:"hidden"})]})]}),!y&&x&&x.fields.length>0&&(0,d.jsx)("div",{className:"grid grid-cols-1 gap-3 sm:grid-cols-2",children:x.fields.map(a=>(0,d.jsxs)("div",{children:[(0,d.jsxs)("label",{className:"mb-1.5 block text-xs font-medium text-gray-400",children:[a.label,a.required&&(0,d.jsx)("span",{className:"ml-0.5 text-red-400",children:"*"})]}),(0,d.jsx)("input",{type:a.secret?"password":"text",value:g.trackerConfig[a.key]??"",onChange:b=>{var c,d;return c=a.key,d=b.target.value,void(h(a=>({...a,trackerConfig:{...a.trackerConfig,[c]:d}})),l(null))},placeholder:a.placeholder,className:"w-full rounded-lg border border-white/[0.08] bg-surface-800 px-3 py-2 text-sm text-white placeholder:text-gray-600 focus:border-primary-500/50 focus:outline-none"})]},a.key))})]}),(0,d.jsxs)("div",{className:"mt-4 grid grid-cols-1 gap-4 sm:grid-cols-2 lg:grid-cols-4",children:[(0,d.jsxs)("div",{children:[(0,d.jsx)("label",{className:"mb-1.5 block text-xs font-medium text-gray-400",children:"Source Branch"}),(0,d.jsxs)("select",{value:g.sourceBranch,onChange:a=>z("sourceBranch",a.target.value),className:"w-full rounded-lg border border-white/[0.08] bg-surface-800 px-3 py-2 text-sm text-white focus:border-primary-500/50 focus:outline-none",children:[(0,d.jsxs)("option",{value:"",children:["Current (",r||"...",")"]}),p.map(a=>(0,d.jsx)("option",{value:a,children:a},a))]})]}),(0,d.jsxs)("div",{children:[(0,d.jsxs)("label",{className:"mb-1.5 block text-xs font-medium text-gray-400",children:["Max Workers ",(0,d.jsx)("span",{className:"ml-0.5 text-red-400",children:"*"})]}),(0,d.jsx)("input",{type:"number",min:"1",value:g.maxWorkers,onChange:a=>z("maxWorkers",Math.max(1,parseInt(a.target.value)||1)),className:"w-full rounded-lg border border-white/[0.08] bg-surface-800 px-3 py-2 text-sm text-white placeholder:text-gray-600 focus:border-primary-500/50 focus:outline-none"}),(0,d.jsx)("p",{className:"mt-1 text-[11px] text-gray-600",children:"Concurrent workers"})]}),(0,d.jsxs)("div",{children:[(0,d.jsx)("label",{className:"mb-1.5 block text-xs font-medium text-gray-400",children:"Max Iterations"}),(0,d.jsx)("input",{type:"number",min:"1",max:"50",value:g.maxIterations,onChange:a=>z("maxIterations",Math.max(1,Math.min(50,parseInt(a.target.value)||10))),className:"w-full rounded-lg border border-white/[0.08] bg-surface-800 px-3 py-2 text-sm text-white placeholder:text-gray-600 focus:border-primary-500/50 focus:outline-none"}),(0,d.jsx)("p",{className:"mt-1 text-[11px] text-gray-600",children:"Per worker limit"})]}),(0,d.jsxs)("div",{children:[(0,d.jsx)("label",{className:"mb-1.5 block text-xs font-medium text-gray-400",children:"AI Conflict Resolution"}),(0,d.jsxs)("div",{className:"flex h-[38px] items-center",children:[(0,d.jsx)(o,{checked:g.aiConflictResolution,onChange:a=>z("aiConflictResolution",a)}),(0,d.jsx)("span",{className:"ml-2 text-xs text-gray-500",children:g.aiConflictResolution?"Enabled":"Disabled"})]})]})]}),(0,d.jsx)("div",{className:"mt-4 rounded-lg border border-white/[0.04] bg-surface-800/30 px-3 py-2",children:(0,d.jsxs)("div",{className:"flex items-center gap-2",children:[(0,d.jsx)("svg",{className:"h-3.5 w-3.5 shrink-0 text-gray-500",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",strokeWidth:1.5,children:(0,d.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m11.25 11.25.041-.02a.75.75 0 0 1 1.063.852l-.708 2.836a.75.75 0 0 0 1.063.853l.041-.021M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Zm-9-3.75h.008v.008H12V8.25Z"})}),(0,d.jsx)("span",{className:"text-[11px] text-gray-500",children:"Auto-commit is always enabled for parallel runs (required for worktree merge)."})]})}),i&&(0,d.jsx)("p",{className:"mt-3 text-xs text-red-400",children:i}),(0,d.jsx)("div",{className:"mt-5",children:(0,d.jsxs)("button",{onClick:()=>{if(!B()){if("prd"!==g.taskSource||g.prdContent)if("tracker"===g.taskSource&&y&&!g.trackerFileContent)l("Select a task file");else if(g.maxWorkers<1)l("Max workers must be at least 1");else{let a=x?.fields.filter(a=>a.required&&!g.trackerConfig[a.key]?.trim()).map(a=>a.label);l(`Required fields: ${a?.join(", ")}`)}else l("Select a PRD file");return}a(g)},disabled:!B(),className:"inline-flex items-center gap-2 rounded-lg bg-primary-500 px-4 py-2 text-xs font-semibold text-white transition-colors hover:bg-primary-600 disabled:cursor-not-allowed disabled:opacity-50",children:[(0,d.jsx)("svg",{className:"h-3.5 w-3.5",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",strokeWidth:2,children:(0,d.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M5.25 5.653c0-.856.917-1.398 1.667-.986l11.54 6.347a1.125 1.125 0 0 1 0 1.972l-11.54 6.347a1.125 1.125 0 0 1-1.667-.986V5.653Z"})}),"Start Parallel Run"]})})]})}var q=c(73519),r=c(66252);function s({jobs:a,selectedId:b,onSelect:c,onNewRun:e}){let f=function(a){let b=new Set(["running","queued"]);return[...a].sort((a,c)=>{let d=+!b.has(a.status),e=+!b.has(c.status);return d!==e?d-e:new Date(c.createdAt).getTime()-new Date(a.createdAt).getTime()})}(a);return(0,d.jsxs)(d.Fragment,{children:[(0,d.jsxs)("div",{className:"flex items-center justify-between p-3 shrink-0 border-b border-white/[0.04]",children:[(0,d.jsxs)("div",{className:"flex items-center gap-2",children:[(0,d.jsx)("h2",{className:"text-sm font-semibold text-white",children:"Parallel Jobs"}),a.length>0&&(0,d.jsx)("span",{className:"inline-flex items-center justify-center rounded-full bg-surface-800 px-1.5 py-0.5 text-[10px] font-medium text-gray-400",children:a.length})]}),(0,d.jsxs)("button",{type:"button",onClick:e,className:"inline-flex items-center gap-1.5 rounded-lg bg-primary-500 px-3 py-1.5 text-[11px] font-semibold text-white transition-colors hover:bg-primary-600",children:[(0,d.jsx)("svg",{className:"h-3 w-3",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",strokeWidth:2,children:(0,d.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M12 4.5v15m7.5-7.5h-15"})}),"New Run"]})]}),(0,d.jsx)("div",{className:"flex-1 overflow-y-auto",children:0===f.length?(0,d.jsx)("div",{className:"p-4",children:(0,d.jsx)(h.p,{title:"No parallel jobs",description:"Start a new parallel run to create a job.",icon:(0,d.jsx)("svg",{className:"h-8 w-8 text-gray-600",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",strokeWidth:1,children:(0,d.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M7.5 21 3 16.5m0 0L7.5 12M3 16.5h13.5m0-13.5L21 7.5m0 0L16.5 12M21 7.5H7.5"})})})}):f.map(a=>{let e=b===a.id,f=a.parallel;return(0,d.jsxs)("button",{type:"button",onClick:()=>c(a.id),className:`w-full px-3 py-2.5 text-left transition-colors border-b border-white/[0.02] ${e?"bg-primary-500/10 border-l-2 border-l-primary-500":"hover:bg-white/[0.03]"}`,children:[(0,d.jsxs)("div",{className:"flex items-center gap-2",children:[(0,d.jsx)(q.W,{status:a.status,size:"sm"}),(0,d.jsx)(r.L,{name:a.agentName})]}),(0,d.jsxs)("div",{className:"mt-1.5 flex items-center gap-2",children:[(0,d.jsx)("span",{className:"font-mono text-[11px] text-gray-500 truncate",children:a.sourceBranch}),f&&(0,d.jsxs)("span",{className:"text-[11px] text-gray-500 shrink-0",children:["G",f.completedGroups,"/",f.totalGroups," \xb7 ",f.mergedCount,"/",a.taskCount," merged"]}),!f&&a.taskCount>0&&(0,d.jsxs)("span",{className:"text-[11px] text-gray-500 shrink-0",children:[a.taskCount," task",1!==a.taskCount?"s":""]})]}),(0,d.jsx)("div",{className:"mt-1 text-[10px] text-gray-600",children:function(a){let b=Date.now()-new Date(a).getTime();return b<6e4?"just now":b<36e5?`${Math.floor(b/6e4)}m ago`:b<864e5?`${Math.floor(b/36e5)}h ago`:`${Math.floor(b/864e5)}d ago`}(a.createdAt)})]},a.id)})})]})}var t=c(33720),u=c(6790);function v({worker:a}){let b={pending:"border-white/[0.04] bg-surface-800/50",running:"border-blue-500/20 bg-blue-950/30",completed:"border-emerald-500/20 bg-emerald-950/30",failed:"border-red-500/20 bg-red-950/30"},c={pending:{dot:"bg-gray-400",label:"Pending"},running:{dot:"bg-blue-400",label:"Running",animate:!0},completed:{dot:"bg-emerald-400",label:"Completed"},failed:{dot:"bg-red-400",label:"Failed"}}[a.status]??{dot:"bg-gray-400",label:a.status},e=b[a.status]??b.pending,f=a.elapsedMs>0?(0,t.a)(a.elapsedMs):"",g=f?`${c.label} \xb7 ${f}`:c.label,h=a.error?a.error.length>60?a.error.slice(0,57)+"...":a.error:null;return(0,d.jsxs)("div",{className:`rounded-lg border ${e} p-3 transition-colors duration-300`,children:[(0,d.jsxs)("div",{className:"flex items-center gap-2",children:[(0,d.jsxs)("span",{className:"text-[11px] font-medium text-gray-400",children:["Worker ",a.id]}),a.commitCount>0&&(0,d.jsxs)("span",{className:"ml-auto text-[10px] text-gray-600",children:[a.commitCount," commit",1!==a.commitCount?"s":""]})]}),(0,d.jsx)("p",{className:"mt-1 truncate text-xs text-gray-300",children:a.taskTitle||a.taskId}),(0,d.jsxs)("div",{className:"mt-1.5 flex items-center gap-1.5",children:[(0,d.jsx)("span",{className:`h-1.5 w-1.5 shrink-0 rounded-full ${c.dot} ${c.animate?"animate-pulse":""}`}),(0,d.jsx)("span",{className:"text-[11px] text-gray-500",children:g})]}),(0,d.jsx)("p",{className:"mt-1 truncate font-mono text-[10px] text-gray-600",children:a.branchName}),"failed"===a.status&&h&&(0,d.jsx)("p",{className:"mt-1.5 truncate text-[11px] text-red-400",title:a.error,children:h})]})}function w({status:a,dag:b}){let[c,f]=(0,e.useState)(new Set);if(!a)return(0,d.jsx)(g.G,{rows:2});let{totalGroups:h,currentGroupIndex:i,workers:j,allWorkers:k}=a,l=Array.from({length:h},(a,b)=>({index:b,status:b<i?"completed":b===i?"active":"pending"})),m=(k??j??[]).filter(a=>{let b=parseInt(a.id.split("-")[0],10);return!isNaN(b)&&b===i});return(0,d.jsxs)("div",{className:"space-y-1",children:[(0,d.jsxs)("div",{className:"mb-3 flex items-center gap-4 text-xs text-gray-400",children:[(0,d.jsxs)("span",{children:[a.totalTasksCompleted,"/",a.totalTasks," tasks completed"]}),(0,d.jsxs)("span",{children:["Merge queue: ","number"==typeof a.mergeQueue?a.mergeQueue:0]}),a.elapsedMs>0&&(0,d.jsx)("span",{className:"font-mono text-gray-600",children:(0,t.a)(a.elapsedMs)})]}),l.map((a,e)=>{let g="active"===a.status,h="completed"===a.status,i="pending"===a.status,j=c.has(a.index)||g,l=g?"border-blue-500/30":h?"border-emerald-500/20":"border-white/[0.04]",n=g?"bg-blue-500/[0.06]":h?"bg-emerald-500/[0.04]":"bg-surface-800/30";return(0,d.jsxs)("div",{children:[e>0&&(0,d.jsx)("div",{className:"flex justify-center py-1",children:(0,d.jsx)("svg",{className:"h-4 w-4 text-gray-700",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",strokeWidth:1.5,children:(0,d.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M19.5 13.5 12 21m0 0-7.5-7.5M12 21V3"})})}),(0,d.jsxs)("div",{className:`rounded-lg border ${l} overflow-hidden`,children:[(0,d.jsxs)("button",{type:"button",onClick:()=>{var b;return!g&&(b=a.index,void f(a=>{let c=new Set(a);return c.has(b)?c.delete(b):c.add(b),c}))},className:`flex w-full items-center gap-3 px-4 py-2.5 text-left ${n} ${!g?"cursor-pointer hover:bg-white/[0.02]":""}`,children:[h&&(0,d.jsx)("svg",{className:"h-4 w-4 shrink-0 text-emerald-400",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",strokeWidth:2,children:(0,d.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m4.5 12.75 6 6 9-13.5"})}),g&&(0,d.jsx)("span",{className:"h-2 w-2 shrink-0 animate-pulse rounded-full bg-blue-400"}),i&&(0,d.jsx)("span",{className:"h-2 w-2 shrink-0 rounded-full bg-gray-600"}),(0,d.jsxs)("span",{className:`text-xs font-semibold ${g?"text-blue-400":h?"text-emerald-400":"text-gray-500"}`,children:["Group ",a.index+1,(0,d.jsx)("span",{className:"ml-1.5 font-normal text-[10px] opacity-60",children:0===a.index?"Independent":"Depends on previous"})]}),(0,d.jsx)("span",{className:`text-[11px] ${g?"text-blue-400/70":h?"text-emerald-400/60":"text-gray-600"}`,children:g?"Running":h?"Completed":(()=>{let c=b?.groups?.[a.index]?.tasks?.length;return c?`Pending \xb7 ${c} tasks`:"Pending"})()}),!g&&(0,d.jsx)("svg",{className:`ml-auto h-3.5 w-3.5 text-gray-600 transition-transform ${j?"rotate-180":""}`,fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",strokeWidth:2,children:(0,d.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m19.5 8.25-7.5 7.5-7.5-7.5"})})]}),j&&g&&m.length>0&&(0,d.jsx)("div",{className:"border-t border-white/[0.04] p-3",children:(0,d.jsx)("div",{className:"grid grid-cols-1 gap-2 sm:grid-cols-2 lg:grid-cols-3",children:m.map(a=>(0,d.jsx)(v,{worker:a},a.taskId))})}),j&&h&&(()=>{let b,c=(b=a.index,(k??[]).filter(a=>{let c=parseInt(a.id.split("-")[0],10);return!isNaN(c)&&c===b}));return c.length>0?(0,d.jsx)("div",{className:"border-t border-white/[0.04] p-3",children:(0,d.jsx)("div",{className:"grid grid-cols-1 gap-2 sm:grid-cols-2 lg:grid-cols-3",children:c.map(a=>(0,d.jsx)(v,{worker:a},a.taskId))})}):(0,d.jsx)("div",{className:"border-t border-white/[0.04] px-4 py-2",children:(0,d.jsx)("p",{className:"text-[11px] text-gray-500",children:"All tasks in this group completed successfully."})})})(),i&&j&&(()=>{let c=b?.groups?.[a.index],e=c?.tasks??[];return(0,d.jsxs)("div",{className:"border-t border-white/[0.04] px-4 py-3",children:[(0,d.jsx)("p",{className:"mb-2 text-[11px] text-gray-600",children:"Waiting for previous groups to complete."}),e.length>0&&(0,d.jsx)("div",{className:"flex flex-wrap gap-1.5",children:e.map(a=>(0,d.jsx)("span",{className:"inline-flex items-center rounded-full border border-white/[0.08] bg-surface-800 px-2 py-0.5 text-[10px] font-medium text-gray-500",title:a.id,children:a.title||a.id},a.id))})]})})()]})]},a.index)}),h>0&&(()=>{let b=(k??[]).find(a=>"VALIDATION"===a.taskId),c=b?.status==="running",e=b?.status==="completed",f=b?.status==="failed",g=i>=h&&!e&&!f&&"completed"!==a.status&&"failed"!==a.status,j=e?"border-emerald-500/20":c||g?"border-purple-500/30":f?"border-red-500/20":"border-white/[0.04]",l=e?"bg-emerald-500/[0.04]":c||g?"bg-purple-500/[0.06]":f?"bg-red-500/[0.04]":"bg-surface-800/30",m=e?"Completed":f?"Failed":c||g?"Running":"Pending",n=e?"text-emerald-400":f?"text-red-400":c||g?"text-purple-400":"text-gray-500";return(0,d.jsxs)("div",{children:[(0,d.jsx)("div",{className:"flex justify-center py-1",children:(0,d.jsx)("svg",{className:"h-4 w-4 text-gray-700",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",strokeWidth:1.5,children:(0,d.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M19.5 13.5 12 21m0 0-7.5-7.5M12 21V3"})})}),(0,d.jsx)("div",{className:`rounded-lg border ${j} overflow-hidden`,children:(0,d.jsxs)("div",{className:`flex items-center gap-3 px-4 py-2.5 ${l}`,children:[e&&(0,d.jsx)("svg",{className:"h-4 w-4 shrink-0 text-emerald-400",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",strokeWidth:2,children:(0,d.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m4.5 12.75 6 6 9-13.5"})}),f&&(0,d.jsx)("svg",{className:"h-4 w-4 shrink-0 text-red-400",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",strokeWidth:2,children:(0,d.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M6 18 18 6M6 6l12 12"})}),(c||g)&&(0,d.jsx)("span",{className:"h-2 w-2 shrink-0 animate-pulse rounded-full bg-purple-400"}),!e&&!f&&!c&&!g&&(0,d.jsx)("span",{className:"h-2 w-2 shrink-0 rounded-full bg-gray-600"}),(0,d.jsxs)("span",{className:`text-xs font-semibold ${n}`,children:["Validation",(0,d.jsx)("span",{className:"ml-1.5 font-normal text-[10px] opacity-60",children:"Verifies all tasks against PRD"})]}),(0,d.jsx)("span",{className:`text-[11px] ${n} opacity-70`,children:m}),b?.elapsedMs!=null&&b.elapsedMs>0&&(0,d.jsx)("span",{className:"ml-auto text-[10px] font-mono text-gray-600",children:(0,t.a)(b.elapsedMs)})]})})]})})(),0===h&&(0,d.jsx)("div",{className:"rounded-lg border border-white/[0.04] bg-surface-800/30 px-4 py-8 text-center text-sm text-gray-500",children:"No pipeline groups available."})]})}function x({node:a,x:b,y:c}){return(0,d.jsxs)("div",{className:"pointer-events-none absolute z-50 max-w-xs rounded-lg border border-white/10 bg-surface-900 px-3 py-2 shadow-xl",style:{left:b,top:c-8,transform:"translate(-50%, -100%)"},children:[(0,d.jsx)("div",{className:"text-xs font-semibold text-white",children:a.id}),(0,d.jsx)("div",{className:"mt-0.5 text-[11px] text-gray-400 line-clamp-2",children:a.title}),a.dependencies.length>0&&(0,d.jsxs)("div",{className:"mt-1 text-[10px] text-gray-500",children:["Depends on: ",a.dependencies.join(", ")]}),a.dependents.length>0&&(0,d.jsxs)("div",{className:"mt-0.5 text-[10px] text-gray-500",children:["Blocks: ",a.dependents.join(", ")]})]})}function y({dag:a,loading:b,status:c}){let f=(0,e.useRef)(null),[i,j]=(0,e.useState)(null),[k,l]=(0,e.useState)({x:0,y:0}),m=(0,e.useMemo)(()=>{let a=new Map;if(c?.allWorkers)for(let b of c.allWorkers)a.set(b.taskId,b.status);return a},[c]),n=(0,e.useMemo)(()=>a?function(a,b){let c=a.nodes??{},d=(a.groups??[]).map(a=>{let b=a.tasks?a.tasks:(a.taskIds??[]).map(a=>({id:a,title:c[a]?.title??a}));return{depth:a.depth,tasks:b}}),e=[],f=[],g=1;for(let a of d)a.tasks.length>g&&(g=a.tasks.length);let h=200*g+(g-1)*24;for(let a=0;a<d.length;a++){let f=d[a],g=f.tasks,i=40+(h-(200*g.length+(g.length-1)*24))/2,j=72+120*a;for(let a=0;a<g.length;a++){let d=g[a],h=c[d.id],k=i+224*a;e.push({id:d.id,title:h?.title||d.title||d.id,depth:f.depth,x:k,y:j,cx:k+100,cy:j+26,dependencies:h?.dependencies??[],dependents:h?.dependents??[],status:b.get(d.id)})}}let i=new Map(e.map(a=>[a.id,a]));for(let a of e)for(let b of a.dependencies)i.has(b)&&f.push({from:b,to:a.id});let j=e.filter(a=>0===a.dependents.length).map(a=>a.id);if(d.length>0&&j.length>0){let a=72+120*d.length,c=40+(h-200)/2;for(let g of(e.push({id:"VALIDATION",title:"Post-Parallel Validation",depth:d.length,x:c,y:a,cx:c+100,cy:a+26,dependencies:j,dependents:[],status:b.get("VALIDATION")}),i.set("VALIDATION",e[e.length-1]),j))f.push({from:g,to:"VALIDATION"})}let k=e.length>0?Math.max(...e.map(a=>a.y)):48;return{nodes:e,edges:f,width:80+h,height:k+52+48}}(a,m):null,[a,m]);if(b)return(0,d.jsx)(g.G,{rows:2});if(!a)return(0,d.jsx)(h.p,{title:"No DAG analysis",description:"Start a parallel job to see the dependency graph.",icon:(0,d.jsx)("svg",{className:"h-8 w-8 text-gray-600",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",strokeWidth:1,children:(0,d.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M7.5 21 3 16.5m0 0L7.5 12M3 16.5h13.5m0-13.5L21 7.5m0 0L16.5 12M21 7.5H7.5"})})});if(!n||0===n.nodes.length)return(0,d.jsx)(h.p,{title:"Empty graph",description:"No tasks found in the DAG.",icon:(0,d.jsx)("svg",{className:"h-8 w-8 text-gray-600",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",strokeWidth:1,children:(0,d.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M7.5 21 3 16.5m0 0L7.5 12M3 16.5h13.5m0-13.5L21 7.5m0 0L16.5 12M21 7.5H7.5"})})});let o=i?n.nodes.find(a=>a.id===i):null,p=new Set,q=new Set;if(i){q.add(i);let a=n.nodes.find(a=>a.id===i);if(a){for(let b of a.dependencies)q.add(b),p.add(`${b}->${i}`);for(let b of a.dependents)q.add(b),p.add(`${i}->${b}`)}}let r=a.groups??[],s=[...r.map((a,b)=>({label:`G${b+1}`,depth:a.depth,y:72+120*b})),...r.length>0?[{label:"V",depth:r.length,y:72+120*r.length}]:[]],t=n.edges.length>0;return(0,d.jsxs)("div",{className:"space-y-4",children:[(0,d.jsxs)("div",{className:"flex flex-wrap gap-4 text-xs text-gray-400",children:[(0,d.jsxs)("span",{children:["Groups: ",(0,d.jsx)("span",{className:"font-semibold text-white",children:r.length})]}),(0,d.jsxs)("span",{children:["Tasks: ",(0,d.jsx)("span",{className:"font-semibold text-white",children:(a.order??[]).length})]}),(0,d.jsxs)("span",{children:["Max Parallelism: ",(0,d.jsx)("span",{className:"font-semibold text-white",children:a.maxParallelism??0})]}),!t&&n.nodes.length>0&&(0,d.jsx)("span",{className:"text-yellow-500/80",children:"(Dependency arrows require API rebuild)"})]}),(0,d.jsxs)("div",{ref:f,className:"relative overflow-x-auto overflow-y-auto rounded-lg border border-white/[0.06] bg-[#0d0d14]",children:[(0,d.jsxs)("svg",{width:n.width,height:n.height,className:"block",children:[(0,d.jsxs)("defs",{children:[(0,d.jsx)("marker",{id:"arrow",markerWidth:"10",markerHeight:"7",refX:"9",refY:"3.5",orient:"auto",children:(0,d.jsx)("polygon",{points:"0 0, 10 3.5, 0 7",fill:"#a78bfa",fillOpacity:"0.7"})}),(0,d.jsx)("marker",{id:"arrow-dim",markerWidth:"10",markerHeight:"7",refX:"9",refY:"3.5",orient:"auto",children:(0,d.jsx)("polygon",{points:"0 0, 10 3.5, 0 7",fill:"#6b7280",fillOpacity:"0.3"})}),(0,d.jsx)("marker",{id:"arrow-hl",markerWidth:"10",markerHeight:"7",refX:"9",refY:"3.5",orient:"auto",children:(0,d.jsx)("polygon",{points:"0 0, 10 3.5, 0 7",fill:"#c4b5fd"})})]}),s.map((a,b)=>(0,d.jsx)("text",{x:14,y:a.y+26+4,fill:"V"===a.label?"#a78bfa":"#9ca3af",fontSize:11,fontWeight:600,children:a.label},`glabel-${b}`)),s.map((a,b)=>b>0?(0,d.jsx)("line",{x1:0,y1:a.y-34,x2:n.width,y2:a.y-34,stroke:"#ffffff",strokeOpacity:.06,strokeWidth:1,strokeDasharray:"6 4"},`sep-${b}`):null),n.edges.map(a=>{let b=n.nodes.find(b=>b.id===a.from),c=n.nodes.find(b=>b.id===a.to);if(!b||!c)return null;let e=b.cx,f=b.y+52,g=c.cx,h=c.y,j=`${a.from}->${a.to}`,k=p.has(j),l=i&&!k;return(0,d.jsx)("path",{d:function(a,b,c,d){let e=(b+d)/2;return`M ${a} ${b} C ${a} ${e}, ${c} ${e}, ${c} ${d}`}(e,f,g,h),fill:"none",stroke:k?"#c4b5fd":l?"#374151":"#a78bfa",strokeOpacity:k?1:l?.3:.6,strokeWidth:k?2.5:1.5,markerEnd:k?"url(#arrow-hl)":l?"url(#arrow-dim)":"url(#arrow)",style:{transition:"stroke 0.15s, stroke-opacity 0.15s, stroke-width 0.15s"}},j)}),n.nodes.map(a=>{let b=function(a){switch(a){case"completed":return{bg:"#065f46",border:"#10b981",idFill:"#6ee7b7",titleFill:"#a7f3d0",dotFill:"#34d399"};case"failed":return{bg:"#7f1d1d",border:"#ef4444",idFill:"#fca5a5",titleFill:"#fecaca",dotFill:"#f87171"};case"running":return{bg:"#1e3a5f",border:"#3b82f6",idFill:"#93c5fd",titleFill:"#bfdbfe",dotFill:"#60a5fa"};default:return{bg:"#1e1e2e",border:"#4b5563",idFill:"#d1d5db",titleFill:"#9ca3af",dotFill:"#6b7280"}}}(a.status),c=i===a.id,e=!i||q.has(a.id),f=i&&!e;return(0,d.jsxs)("g",{style:{transition:"opacity 0.15s"},opacity:f?.2:1,onMouseEnter:()=>{j(a.id),l({x:a.cx,y:a.y})},onMouseLeave:()=>j(null),className:"cursor-pointer",children:[(0,d.jsx)("rect",{x:a.x,y:a.y,width:200,height:52,rx:10,ry:10,fill:b.bg,fillOpacity:.6,stroke:e&&i?"#ffffff":b.border,strokeOpacity:c?1:e&&i?.8:.4,strokeWidth:c?2.5:e&&i?2:1}),(0,d.jsx)("circle",{cx:a.x+14,cy:a.cy,r:4,fill:b.dotFill,children:"running"===a.status&&(0,d.jsx)("animate",{attributeName:"opacity",values:"1;0.3;1",dur:"1.5s",repeatCount:"indefinite"})}),(0,d.jsx)("text",{x:a.x+26,y:a.y+20,fill:b.idFill,fontSize:11,fontWeight:700,fontFamily:"ui-monospace, monospace",children:a.id}),(0,d.jsx)("text",{x:a.x+26,y:a.y+36,fill:b.titleFill,fillOpacity:.7,fontSize:10,children:a.title.length>22?a.title.slice(0,22)+"…":a.title}),a.dependencies.length>0&&(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)("rect",{x:a.x+200-26,y:a.y+4,width:22,height:15,rx:7,fill:"#7c3aed",fillOpacity:.3}),(0,d.jsx)("text",{x:a.x+200-15,y:a.y+14,textAnchor:"middle",fill:"#c4b5fd",fontSize:9,fontWeight:700,children:a.dependencies.length})]})]},a.id)})]}),o&&(0,d.jsx)(x,{node:o,x:k.x,y:k.y})]}),a.warnings.length>0&&(0,d.jsxs)("div",{children:[(0,d.jsx)("h3",{className:"mb-2 text-xs font-semibold text-yellow-400",children:"Warnings"}),(0,d.jsx)("div",{className:"space-y-1.5",children:a.warnings.map((a,b)=>(0,d.jsx)("div",{className:"rounded-lg border border-yellow-500/20 bg-yellow-500/[0.06] px-3 py-2 text-xs text-yellow-400",children:a},b))})]}),a.cyclicTaskIds.length>0&&(0,d.jsxs)("div",{children:[(0,d.jsx)("h3",{className:"mb-2 text-xs font-semibold text-red-400",children:"Cyclic Tasks"}),(0,d.jsx)("div",{className:"flex flex-wrap gap-1.5",children:a.cyclicTaskIds.map(a=>(0,d.jsx)("span",{className:"inline-flex items-center rounded-full border border-red-500/20 bg-red-500/[0.06] px-2.5 py-0.5 text-[11px] font-medium text-red-400",children:a},a))}),(0,d.jsx)("p",{className:"mt-1.5 text-[11px] text-gray-600",children:"These tasks have circular dependencies and could not be scheduled optimally."})]})]})}function z({label:a,value:b,mono:c}){return(0,d.jsxs)("div",{className:"flex items-center gap-2",children:[(0,d.jsx)("span",{className:"text-[11px] font-medium text-gray-500 w-20 shrink-0",children:a}),(0,d.jsx)("span",{className:`text-xs text-gray-300 ${c?"font-mono":""}`,children:b})]})}function A({job:a,status:b,dag:c,dagLoading:f,actionRunning:g,onStop:h,onDelete:i}){let[j,k]=(0,e.useState)("pipeline"),l="running"===a.status||"queued"===a.status,m="";if(a.startedAt&&a.completedAt){let b=new Date(a.completedAt).getTime()-new Date(a.startedAt).getTime();m=(0,t.a)(b)}else if(a.startedAt){let b=Date.now()-new Date(a.startedAt).getTime();m=(0,t.a)(b)}let n=a.parallel;return(0,d.jsxs)("div",{className:"flex flex-col h-full overflow-hidden",children:[(0,d.jsxs)("div",{className:"shrink-0 pb-4 border-b border-white/[0.04]",children:[(0,d.jsxs)("div",{className:"flex items-center gap-3 flex-wrap",children:[(0,d.jsx)(q.W,{status:a.status}),(0,d.jsx)(r.L,{name:a.agentName}),(0,d.jsx)("span",{className:"font-mono text-xs text-gray-500",children:a.sourceBranch}),m&&(0,d.jsx)("span",{className:"font-mono text-xs text-gray-600",children:m})]}),(0,d.jsxs)("div",{className:"mt-3 space-y-1",children:[(0,d.jsx)(z,{label:"Job ID",value:a.id,mono:!0}),(0,d.jsx)(z,{label:"Created",value:new Date(a.createdAt).toLocaleString()}),a.startedAt&&(0,d.jsx)(z,{label:"Started",value:new Date(a.startedAt).toLocaleString()}),a.completedAt&&(0,d.jsx)(z,{label:"Completed",value:new Date(a.completedAt).toLocaleString()}),n&&(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)(z,{label:"Workers",value:`${n.workerCount} / ${n.maxWorkers} max`}),(0,d.jsx)(z,{label:"Groups",value:`${n.completedGroups}/${n.totalGroups} completed`}),(0,d.jsx)(z,{label:"Merged",value:`${n.mergedCount}/${a.taskCount} tasks`})]}),!n&&a.taskCount>0&&(0,d.jsx)(z,{label:"Tasks",value:`${a.taskCount}`}),(0,d.jsx)(z,{label:"Mode",value:"Parallel"})]}),a.error&&(0,d.jsx)("div",{className:"mt-3 rounded-lg border border-red-500/20 bg-red-500/[0.06] px-3 py-2 text-xs text-red-400",children:a.error}),(0,d.jsxs)("div",{className:"mt-3 flex items-center gap-2",children:[l&&(0,d.jsx)("button",{onClick:()=>h(a.id),disabled:"stop"===g,className:"rounded-lg border border-yellow-500/20 bg-yellow-500/[0.06] px-3 py-1.5 text-[11px] font-medium text-yellow-400 transition-colors hover:bg-yellow-500/10 disabled:cursor-not-allowed disabled:opacity-50",children:"stop"===g?"Stopping...":"Stop All"}),(0,d.jsx)("button",{onClick:()=>i(a.id),className:"rounded-lg border border-red-500/20 bg-red-500/[0.06] px-3 py-1.5 text-[11px] font-medium text-red-400 transition-colors hover:bg-red-500/10",children:"Delete"})]})]}),(0,d.jsx)("div",{className:"shrink-0 py-3",children:(0,d.jsx)("div",{className:"flex gap-1 rounded-lg border border-white/[0.08] bg-surface-800 p-1",children:["pipeline","events","dag"].map(a=>(0,d.jsx)("button",{type:"button",onClick:()=>k(a),className:`flex-1 rounded-md px-3 py-1.5 text-xs font-medium transition-colors ${j===a?"bg-primary-500 text-white":"text-gray-400 hover:text-gray-300"}`,children:"dag"===a?"DAG":a.charAt(0).toUpperCase()+a.slice(1)},a))})}),(0,d.jsxs)("div",{className:"flex-1 min-h-0 overflow-auto",children:["pipeline"===j&&(0,d.jsx)(w,{status:b,dag:c}),"events"===j&&(0,d.jsx)(u.p,{jobId:a.id,agentName:a.agentName}),"dag"===j&&(0,d.jsx)(y,{dag:c,loading:f,status:b})]})]})}function B(){return(0,d.jsx)(i.s,{featureName:"Parallel Execution",children:(0,d.jsx)(C,{})})}function C(){let a=(0,f.useRouter)(),b=(0,f.useSearchParams)(),c=b?.get("job")??null,i=b?.get("prd")??null,k=b?.get("agent")??null,m=b?.get("model")??null,[n,o]=(0,e.useState)(c?"job":i?"new-run":null),{jobs:q,refresh:r,deleteJob:t,stopJob:u}=function(){let a=(0,j.yC)(),[b,c]=(0,e.useState)([]),d=(0,e.useCallback)(async()=>{try{let b=(await a.get("/api/jobs")).jobs??[];c(b.filter(a=>"parallel"===a.mode))}catch{}},[a]);b.some(a=>"running"===a.status||"queued"===a.status);let f=(0,e.useCallback)(async b=>{await a.delete(`/api/jobs/${b}`),d()},[a,d]),g=(0,e.useCallback)(async b=>{await a.post(`/api/jobs/${b}/cancel`),d()},[a,d]);return{jobs:b,refresh:d,deleteJob:f,stopJob:g}}(),v=q.find(a=>"running"===a.status||"queued"===a.status),w=c??v?.id??null,x=n??(w?"job":null),{status:y,loading:z,refresh:B}=function(a){let b=(0,j.yC)(),[c,d]=(0,e.useState)(null),[f,g]=(0,e.useState)(!0),h=(0,e.useRef)(new Map),i=(0,e.useCallback)(async()=>{if(!a){d(null),g(!1),h.current.clear();return}try{let c=await b.get(`/api/parallel/status?jobId=${encodeURIComponent(a)}`),e=c.workers??[],f=c.allWorkers??[],g=Array.isArray(c.mergeQueue)?c.mergeQueue.length:"number"==typeof c.mergeQueue?c.mergeQueue:0;for(let a of f)h.current.set(a.taskId,a);for(let a of e)h.current.set(a.taskId,a);d({...c,workers:e,allWorkers:Array.from(h.current.values()),mergeQueue:g})}catch{d(null)}finally{g(!1)}},[b,a]);return null!=c&&l.has(c.status),{status:c,loading:f,refresh:i}}("job"===x?w:null),{dag:C,loading:D}=function(a){(0,j.yC)();let[b,c]=(0,e.useState)(null),[d,f]=(0,e.useState)(!1);return(0,e.useRef)(null),{dag:b,loading:d}}(0),{start:E,stop:F,actionRunning:G,actionMessage:H}=function(a,b){let c=(0,j.yC)(),[d,f]=(0,e.useState)(null),[g,h]=(0,e.useState)(null);return(0,e.useRef)(null),{start:(0,e.useCallback)(async d=>{f("start"),h(null);try{let e={agentName:d.agentName,mode:"parallel",maxWorkers:d.maxWorkers,maxIterations:d.maxIterations,aiConflictResolution:d.aiConflictResolution,autoCommit:!0},f={};if(d.model&&(f.model=d.model),d.sandbox&&(f.sandbox=d.sandbox),d.agent&&(f.agent=d.agent),Object.keys(f).length>0&&(e.agentConfig=f),d.verificationAgentName){e.verificationAgentName=d.verificationAgentName;let a={};d.verificationAgent&&(a.agent=d.verificationAgent),Object.keys(a).length>0&&(e.verificationAgentConfig=a)}if("prd"===d.taskSource&&d.prdContent)e.prdContent=d.prdContent;else if(e.trackerName=d.trackerName,d.trackerFileContent)e.trackerFileContent=d.trackerFileContent,e.trackerFileName=d.trackerFileName;else{let a=Object.entries(d.trackerConfig).filter(([,a])=>""!==a.trim());a.length>0&&(e.trackerConfig=Object.fromEntries(a))}d.sourceBranch&&(e.sourceBranch=d.sourceBranch);let g=await c.post("/api/parallel/start",e);return h(g.message??"Parallel run started."),a(),b(),{jobId:g.jobId}}catch(a){return h(a instanceof Error?a.message:"Failed to start parallel run."),{}}finally{f(null)}},[c,a,b]),stop:(0,e.useCallback)(async d=>{f("stop"),h(null);try{let e=await c.post("/api/parallel/stop",{jobId:d});h(e.message??"Parallel run stopped."),a(),b()}catch(a){h(a instanceof Error?a.message:"Failed to stop parallel run.")}finally{f(null)}},[c,a,b]),actionRunning:d,actionMessage:g}}(B,r),I=w?q.find(a=>a.id===w):null,J=(0,e.useCallback)(c=>{let d=new URLSearchParams(b?.toString()??"");c?d.set("job",c):d.delete("job");let e=d.toString();a.replace(`/parallel${e?`?${e}`:""}`,{scroll:!1})},[a,b]),K=(0,e.useCallback)(()=>{o("new-run"),J(null)},[J]),L=(0,e.useCallback)(a=>{o("job"),J(a)},[J]),M=(0,e.useCallback)(async a=>{let b=await E(a);b.jobId?(o("job"),J(b.jobId)):o(null),r()},[E,r,J]),N=(0,e.useCallback)(async a=>{try{await t(a),w===a&&(o(null),J(null))}catch{}},[t,w,J]),O=(0,e.useCallback)(async a=>{try{await F(a)}catch{}},[F]);return z?(0,d.jsxs)("div",{className:"flex flex-col h-[calc(100vh-32px)]",children:[(0,d.jsxs)("div",{children:[(0,d.jsx)("h1",{className:"text-xl font-semibold text-white",children:"Parallel Execution"}),(0,d.jsx)("p",{className:"mt-1 text-sm text-gray-400",children:"Execute tasks in parallel across multiple workers with DAG-based dependency ordering."})]}),(0,d.jsx)("div",{className:"mt-4",children:(0,d.jsx)(g.G,{rows:1})})]}):(0,d.jsxs)("div",{className:"flex flex-col h-[calc(100vh-32px)]",children:[(0,d.jsxs)("div",{className:"shrink-0",children:[(0,d.jsx)("h1",{className:"text-xl font-semibold text-white",children:"Parallel Execution"}),(0,d.jsx)("p",{className:"mt-1 text-sm text-gray-400",children:"Execute tasks in parallel across multiple workers with DAG-based dependency ordering."})]}),H&&(0,d.jsx)("div",{className:"mt-3 shrink-0 rounded-lg border border-blue-500/20 bg-blue-500/[0.06] px-3 py-2 text-xs text-blue-400",children:H}),(0,d.jsxs)("div",{className:"flex gap-4 flex-1 min-h-0 mt-4",children:[(0,d.jsx)("div",{className:"w-80 min-w-[280px] max-w-[360px] shrink-0 flex flex-col rounded-xl border border-white/[0.06] bg-surface-900 overflow-hidden",children:(0,d.jsx)(s,{jobs:q,selectedId:"job"===x?w:null,onSelect:L,onNewRun:K})}),(0,d.jsx)("div",{className:"flex-1 min-w-0 rounded-xl border border-white/[0.06] bg-surface-900 p-5 overflow-hidden flex flex-col",children:"new-run"===x?(0,d.jsx)(p,{onStart:a=>void M(a),initialPrdFilename:i??void 0,initialAgent:k??void 0,initialModel:m??void 0}):I?(0,d.jsx)(A,{job:I,status:y,dag:C,dagLoading:D,actionRunning:G,onStop:a=>void O(a),onDelete:a=>void N(a)}):(0,d.jsxs)("div",{className:"flex flex-col items-center justify-center flex-1",children:[(0,d.jsx)(h.p,{title:q.length>0?"Select a job":"No parallel jobs yet",description:q.length>0?"Choose a job from the list or start a new parallel run.":"Click 'New Run' to start your first parallel execution.",icon:(0,d.jsx)("svg",{className:"h-10 w-10 text-gray-600",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",strokeWidth:1,children:(0,d.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M7.5 21 3 16.5m0 0L7.5 12M3 16.5h13.5m0-13.5L21 7.5m0 0L16.5 12M21 7.5H7.5"})})}),0===q.length&&(0,d.jsxs)("button",{type:"button",onClick:K,className:"mt-4 inline-flex items-center gap-2 rounded-lg bg-primary-500 px-4 py-2 text-xs font-semibold text-white transition-colors hover:bg-primary-600",children:[(0,d.jsx)("svg",{className:"h-3.5 w-3.5",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",strokeWidth:2,children:(0,d.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M12 4.5v15m7.5-7.5h-15"})}),"New Parallel Run"]})]})})]})]})}},33873:a=>{"use strict";a.exports=require("path")},38021:(a,b,c)=>{"use strict";c.r(b),c.d(b,{default:()=>d});let d=(0,c(94026).registerClientReference)(function(){throw Error("Attempted to call the default export of \"/Users/ciprian/work_cip/ulpi/hooks/apps/portal/src/app/(dashboard)/parallel/page.tsx\" from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/Users/ciprian/work_cip/ulpi/hooks/apps/portal/src/app/(dashboard)/parallel/page.tsx","default")},41025:a=>{"use strict";a.exports=require("next/dist/server/app-render/dynamic-access-async-storage.external.js")},52539:(a,b,c)=>{Promise.resolve().then(c.bind(c,38021))},63033:a=>{"use strict";a.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},86439:a=>{"use strict";a.exports=require("next/dist/shared/lib/no-fallback-error.external")}};var b=require("../../../webpack-runtime.js");b.C(a);var c=b.X(0,[3404,3958,1522,2230],()=>b(b.s=17140));module.exports=c})();
|
|
2
|
+
see more here https://nextjs.org/docs/messages/app-static-to-dynamic-error`),"__NEXT_ERROR_CODE",{value:"E132",enumerable:!1,configurable:!0});if(null==a?void 0:a.stack){let c=a.stack;b.stack=b.message+c.substring(c.indexOf("\n"))}throw b}return{value:{kind:v.CachedRouteKind.APP_PAGE,html:l,headers:o,rscData:m.flightData,postponed:m.postponed,status:m.statusCode,segmentData:m.segmentData},cacheControl:n}},o=async({hasResolved:c,previousCacheEntry:f,isRevalidating:g,span:i})=>{let j,k=!1===K.isDev,l=c||b.writableEnded;if(ah&&ab&&!f&&!N)return(null==ac?void 0:ac.render404)?await ac.render404(a,b):(b.statusCode=404,b.end("This page could not be found")),null;if(ai&&(j=(0,w.parseFallbackField)(ai.fallback)),j===w.FallbackMode.PRERENDER&&(0,u.isBot)(al)&&(!ar||an)&&(j=w.FallbackMode.BLOCKING_STATIC_RENDER),(null==f?void 0:f.isStale)===-1&&(ah=!0),ah&&(j!==w.FallbackMode.NOT_FOUND||f)&&(j=w.FallbackMode.BLOCKING_STATIC_RENDER),!N&&j!==w.FallbackMode.BLOCKING_STATIC_RENDER&&aB&&!l&&!_&&T&&(k||!aj)){let b;if((k||ai)&&j===w.FallbackMode.NOT_FOUND)throw new B.NoFallbackError;if(ar&&!ap){let c="string"==typeof(null==ai?void 0:ai.fallback)?ai.fallback:k?ag:null;if(b=await K.handleResponse({cacheKey:c,req:a,nextConfig:ad,routeKind:e.RouteKind.APP_PAGE,isFallback:!0,prerenderManifest:$,isRoutePPREnabled:ar,responseGenerator:async()=>m({span:i,postponed:void 0,fallbackRouteParams:k||at?(0,n.u)(ag):null}),waitUntil:d.waitUntil}),null===b)return null;if(b)return delete b.cacheControl,b}}let o=ah||g||!au?void 0:au;if(as&&void 0!==o)return{cacheControl:{revalidate:1,expire:void 0},value:{kind:v.CachedRouteKind.PAGES,html:x.default.EMPTY,pageData:{},headers:void 0,status:void 0}};let p=T&&ar&&((0,h.getRequestMeta)(a,"renderFallbackShell")||at)?(0,n.u)(af):null;return m({span:i,postponed:o,fallbackRouteParams:p})},p=async c=>{var f,g,i,j,k;let l,n=await K.handleResponse({cacheKey:aA,responseGenerator:a=>o({span:c,...a}),routeKind:e.RouteKind.APP_PAGE,isOnDemandRevalidate:ah,isRoutePPREnabled:ar,req:a,nextConfig:ad,prerenderManifest:$,waitUntil:d.waitUntil});if(_&&b.setHeader("Cache-Control","private, no-cache, no-store, max-age=0, must-revalidate"),K.isDev&&b.setHeader("Cache-Control","no-store, must-revalidate"),!n){if(aA)throw Object.defineProperty(Error("invariant: cache entry required but not generated"),"__NEXT_ERROR_CODE",{value:"E62",enumerable:!1,configurable:!0});return null}if((null==(f=n.value)?void 0:f.kind)!==v.CachedRouteKind.APP_PAGE)throw Object.defineProperty(Error(`Invariant app-page handler received invalid cache entry ${null==(i=n.value)?void 0:i.kind}`),"__NEXT_ERROR_CODE",{value:"E707",enumerable:!1,configurable:!0});let p="string"==typeof n.value.postponed;ak&&!av&&(!p||ao)&&(N||b.setHeader("x-nextjs-cache",ah?"REVALIDATED":n.isMiss?"MISS":n.isStale?"STALE":"HIT"),b.setHeader(t.NEXT_IS_PRERENDER_HEADER,"1"));let{value:q}=n;if(au)l={revalidate:0,expire:void 0};else if(N&&ap&&!ao&&ar)l={revalidate:0,expire:void 0};else if(!K.isDev)if(_)l={revalidate:0,expire:void 0};else if(ak){if(n.cacheControl)if("number"==typeof n.cacheControl.revalidate){if(n.cacheControl.revalidate<1)throw Object.defineProperty(Error(`Invalid revalidate configuration provided: ${n.cacheControl.revalidate} < 1`),"__NEXT_ERROR_CODE",{value:"E22",enumerable:!1,configurable:!0});l={revalidate:n.cacheControl.revalidate,expire:(null==(j=n.cacheControl)?void 0:j.expire)??ad.expireTime}}else l={revalidate:y.CACHE_ONE_YEAR,expire:void 0}}else b.getHeader("Cache-Control")||(l={revalidate:0,expire:void 0});if(n.cacheControl=l,"string"==typeof aw&&(null==q?void 0:q.kind)===v.CachedRouteKind.APP_PAGE&&q.segmentData){b.setHeader(t.NEXT_DID_POSTPONE_HEADER,"2");let c=null==(k=q.headers)?void 0:k[y.NEXT_CACHE_TAGS_HEADER];N&&ak&&c&&"string"==typeof c&&b.setHeader(y.NEXT_CACHE_TAGS_HEADER,c);let d=q.segmentData.get(aw);return void 0!==d?(0,A.sendRenderResult)({req:a,res:b,generateEtags:ad.generateEtags,poweredByHeader:ad.poweredByHeader,result:x.default.fromStatic(d,t.RSC_CONTENT_TYPE_HEADER),cacheControl:n.cacheControl}):(b.statusCode=204,(0,A.sendRenderResult)({req:a,res:b,generateEtags:ad.generateEtags,poweredByHeader:ad.poweredByHeader,result:x.default.EMPTY,cacheControl:n.cacheControl}))}let r=(0,h.getRequestMeta)(a,"onCacheEntry");if(r&&await r({...n,value:{...n.value,kind:"PAGE"}},{url:(0,h.getRequestMeta)(a,"initURL")}))return null;if(p&&au)throw Object.defineProperty(Error("Invariant: postponed state should not be present on a resume request"),"__NEXT_ERROR_CODE",{value:"E396",enumerable:!1,configurable:!0});if(q.headers){let a={...q.headers};for(let[c,d]of(N&&ak||delete a[y.NEXT_CACHE_TAGS_HEADER],Object.entries(a)))if(void 0!==d)if(Array.isArray(d))for(let a of d)b.appendHeader(c,a);else"number"==typeof d&&(d=d.toString()),b.appendHeader(c,d)}let s=null==(g=q.headers)?void 0:g[y.NEXT_CACHE_TAGS_HEADER];if(N&&ak&&s&&"string"==typeof s&&b.setHeader(y.NEXT_CACHE_TAGS_HEADER,s),!q.status||ap&&ar||(b.statusCode=q.status),!N&&q.status&&F.RedirectStatusCode[q.status]&&ap&&(b.statusCode=200),p&&b.setHeader(t.NEXT_DID_POSTPONE_HEADER,"1"),ap&&!_){if(void 0===q.rscData){if(q.postponed)throw Object.defineProperty(Error("Invariant: Expected postponed to be undefined"),"__NEXT_ERROR_CODE",{value:"E372",enumerable:!1,configurable:!0});return(0,A.sendRenderResult)({req:a,res:b,generateEtags:ad.generateEtags,poweredByHeader:ad.poweredByHeader,result:q.html,cacheControl:av?{revalidate:0,expire:void 0}:n.cacheControl})}return(0,A.sendRenderResult)({req:a,res:b,generateEtags:ad.generateEtags,poweredByHeader:ad.poweredByHeader,result:x.default.fromStatic(q.rscData,t.RSC_CONTENT_TYPE_HEADER),cacheControl:n.cacheControl})}let u=q.html;if(!p||N||ap)return(0,A.sendRenderResult)({req:a,res:b,generateEtags:ad.generateEtags,poweredByHeader:ad.poweredByHeader,result:u,cacheControl:n.cacheControl});if(as)return u.push(new ReadableStream({start(a){a.enqueue(z.ENCODED_TAGS.CLOSED.BODY_AND_HTML),a.close()}})),(0,A.sendRenderResult)({req:a,res:b,generateEtags:ad.generateEtags,poweredByHeader:ad.poweredByHeader,result:u,cacheControl:{revalidate:0,expire:void 0}});let w=new TransformStream;return u.push(w.readable),m({span:c,postponed:q.postponed,fallbackRouteParams:null}).then(async a=>{var b,c;if(!a)throw Object.defineProperty(Error("Invariant: expected a result to be returned"),"__NEXT_ERROR_CODE",{value:"E463",enumerable:!1,configurable:!0});if((null==(b=a.value)?void 0:b.kind)!==v.CachedRouteKind.APP_PAGE)throw Object.defineProperty(Error(`Invariant: expected a page response, got ${null==(c=a.value)?void 0:c.kind}`),"__NEXT_ERROR_CODE",{value:"E305",enumerable:!1,configurable:!0});await a.value.html.pipeTo(w.writable)}).catch(a=>{w.writable.abort(a).catch(a=>{console.error("couldn't abort transformer",a)})}),(0,A.sendRenderResult)({req:a,res:b,generateEtags:ad.generateEtags,poweredByHeader:ad.poweredByHeader,result:u,cacheControl:{revalidate:0,expire:void 0}})};if(!aF)return await aE.withPropagatedContext(a.headers,()=>aE.trace(i.BaseServerSpan.handleRequest,{spanName:`${aD} ${a.url}`,kind:g.SpanKind.SERVER,attributes:{"http.method":aD,"http.target":a.url}},p));await p(aF)}catch(b){throw b instanceof B.NoFallbackError||await K.onRequestError(a,b,{routerKind:"App Router",routePath:G,routeType:"render",revalidateReason:(0,f.c)({isRevalidate:ak,isOnDemandRevalidate:ah})},ac),b}}},19121:a=>{"use strict";a.exports=require("next/dist/server/app-render/action-async-storage.external.js")},26713:a=>{"use strict";a.exports=require("next/dist/shared/lib/router/utils/is-bot")},28354:a=>{"use strict";a.exports=require("util")},29294:a=>{"use strict";a.exports=require("next/dist/server/app-render/work-async-storage.external.js")},32961:(a,b,c)=>{"use strict";c.r(b),c.d(b,{default:()=>B});var d=c(82164),e=c(54509),f=c(26170),g=c(59440),h=c(92232),i=c(18195),j=c(73754);let k={taskSource:"prd",prdFileName:"",prdContent:"",agentName:"claude",model:"",sandbox:"",agent:"",trackerName:"json",trackerConfig:{},trackerFileName:"",trackerFileContent:"",sourceBranch:"",maxWorkers:3,maxIterations:10,aiConflictResolution:!0,verificationAgentName:"",verificationAgent:""},l=new Set(["idle","stopped","error","completed","failed","cancelled"]);var m=c(92897),n=c(57470);function o({checked:a,onChange:b}){return(0,d.jsx)("button",{type:"button",role:"switch","aria-checked":a,onClick:()=>b(!a),className:`relative inline-flex h-5 w-9 shrink-0 cursor-pointer rounded-full border-2 border-transparent transition-colors ${a?"bg-primary-500":"bg-surface-700"}`,children:(0,d.jsx)("span",{className:`pointer-events-none inline-block h-4 w-4 rounded-full bg-white shadow-sm transition-transform ${a?"translate-x-4":"translate-x-0"}`})})}function p({onStart:a,initialPrdFilename:b,initialAgent:c,initialModel:f}){(0,j.yC)();let[g,h]=(0,e.useState)(()=>({...k,...c?{agentName:c}:{},...f?{model:f}:{}})),[i,l]=(0,e.useState)(null),[p,q]=(0,e.useState)([]),[r,s]=(0,e.useState)(""),t=(0,e.useRef)(null),u=(0,e.useRef)(null);(0,e.useRef)(!1);let{getForAgent:v,getFlagForAgent:w}=function(){let a=(0,j.yC)(),[b,c]=(0,e.useState)(new Map),[d,f]=(0,e.useState)(!0),g=(0,e.useCallback)(async()=>{try{let b=await a.get("/api/agents/specializations?includeEmpty=true"),d=new Map;for(let a of b.agents??[])d.set(a.agentName,a);c(d)}catch{}finally{f(!1)}},[a]),h=(0,e.useCallback)(a=>b.get(a)?.specializations??[],[b]),i=(0,e.useCallback)(a=>b.get(a)?.flag,[b]);return{specs:b,loading:d,refresh:g,getForAgent:h,getFlagForAgent:i}}(),x=m.x.find(a=>a.value===g.trackerName),y="json"===g.trackerName||"markdown"===g.trackerName,z=(a,b)=>{h(c=>({...c,[a]:b})),l(null)},A=a=>b=>{let c=b.target.files?.[0];if(!c)return;let d=new FileReader;d.onload=()=>{let b=d.result;"prd"===a?h(a=>({...a,prdFileName:c.name,prdContent:b})):h(a=>({...a,trackerFileName:c.name,trackerFileContent:b})),l(null)},d.readAsText(c)},B=()=>{if("prd"===g.taskSource&&!g.prdContent)return!1;if("tracker"===g.taskSource){if(y&&!g.trackerFileContent)return!1;if(!x)return!0;for(let a of x.fields)if(a.required&&!g.trackerConfig[a.key]?.trim())return!1}return!(g.maxWorkers<1)};return(0,d.jsxs)("div",{children:[(0,d.jsx)("h2",{className:"mb-4 text-base font-semibold text-white",children:"New Parallel Run"}),(0,d.jsxs)("div",{className:"mb-4",children:[(0,d.jsx)("label",{className:"mb-1.5 block text-xs font-medium text-gray-400",children:"Task Source"}),(0,d.jsx)("div",{className:"flex gap-1 rounded-lg border border-white/[0.08] bg-surface-800 p-1",children:[{value:"prd",label:"PRD File"},{value:"tracker",label:"Task Tracker"}].map(a=>(0,d.jsx)("button",{type:"button",onClick:()=>z("taskSource",a.value),className:`flex-1 rounded-md px-3 py-1.5 text-xs font-medium transition-colors ${g.taskSource===a.value?"bg-primary-500 text-white":"text-gray-400 hover:text-gray-300"}`,children:a.label},a.value))})]}),"prd"===g.taskSource&&(0,d.jsxs)("div",{className:"mb-4",children:[(0,d.jsxs)("label",{className:"mb-1.5 block text-xs font-medium text-gray-400",children:["PRD File ",(0,d.jsx)("span",{className:"ml-0.5 text-red-400",children:"*"})]}),(0,d.jsxs)("div",{className:"flex items-center gap-3",children:[(0,d.jsxs)("button",{type:"button",onClick:()=>t.current?.click(),className:"inline-flex items-center gap-2 rounded-lg border border-white/[0.08] bg-surface-800 px-3 py-2 text-sm text-gray-300 transition-colors hover:bg-surface-700 hover:text-white",children:[(0,d.jsx)("svg",{className:"h-4 w-4",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",strokeWidth:1.5,children:(0,d.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M19.5 14.25v-2.625a3.375 3.375 0 0 0-3.375-3.375h-1.5A1.125 1.125 0 0 1 13.5 7.125v-1.5a3.375 3.375 0 0 0-3.375-3.375H8.25m2.25 0H5.625c-.621 0-1.125.504-1.125 1.125v17.25c0 .621.504 1.125 1.125 1.125h12.75c.621 0 1.125-.504 1.125-1.125V11.25a9 9 0 0 0-9-9Z"})}),"Browse"]}),g.prdFileName&&(0,d.jsx)("span",{className:"truncate text-sm text-gray-400",children:g.prdFileName}),(0,d.jsx)("input",{ref:t,type:"file",accept:".md,.txt,.markdown",onChange:A("prd"),className:"hidden"})]}),(0,d.jsx)("p",{className:"mt-1 text-[11px] text-gray-600",children:"Markdown file with structured tasks. Tasks will be analyzed for dependencies and grouped for parallel execution."})]}),(0,d.jsxs)("div",{className:`grid grid-cols-1 gap-4 ${"tracker"===g.taskSource?"sm:grid-cols-4":"sm:grid-cols-3"}`,children:[(0,d.jsxs)("div",{children:[(0,d.jsx)("label",{className:"mb-1.5 block text-xs font-medium text-gray-400",children:"Agent"}),(0,d.jsx)("select",{value:g.agentName,onChange:a=>{let b=a.target.value;h(a=>({...a,agentName:b,model:(0,n.fZ)(b),agent:""})),l(null)},className:"w-full rounded-lg border border-white/[0.08] bg-surface-800 px-3 py-2 text-sm text-white focus:border-primary-500/50 focus:outline-none",children:n.jw.map(a=>(0,d.jsx)("option",{value:a.value,children:a.label},a.value))})]}),(0,d.jsxs)("div",{children:[(0,d.jsx)("label",{className:"mb-1.5 block text-xs font-medium text-gray-400",children:"Model"}),(()=>{let a=(0,n.F_)(g.agentName);return(0,d.jsx)("select",{value:g.model,onChange:a=>z("model",a.target.value),disabled:0===a.length,className:"w-full rounded-lg border border-white/[0.08] bg-surface-800 px-3 py-2 text-sm text-white focus:border-primary-500/50 focus:outline-none disabled:opacity-50 disabled:cursor-not-allowed",children:0===a.length?(0,d.jsx)("option",{value:"",children:"(default)"}):a.map(a=>(0,d.jsx)("option",{value:a.value,children:a.label},a.value))})})()]}),(0,d.jsxs)("div",{children:[(0,d.jsx)("label",{className:"mb-1.5 block text-xs font-medium text-gray-400",children:"Sandbox"}),(0,d.jsxs)("select",{value:g.sandbox,onChange:a=>z("sandbox",a.target.value),className:"w-full rounded-lg border border-white/[0.08] bg-surface-800 px-3 py-2 text-sm text-white focus:border-primary-500/50 focus:outline-none",children:[(0,d.jsx)("option",{value:"",children:"Default"}),(0,d.jsx)("option",{value:"workspace-write",children:"Workspace Write"}),(0,d.jsx)("option",{value:"danger-full-access",children:"Full Access"}),(0,d.jsx)("option",{value:"read-only",children:"Read Only"})]}),(0,d.jsx)("p",{className:"mt-1 text-[11px] text-gray-600",children:"Full Access enables network"})]}),"tracker"===g.taskSource&&(0,d.jsxs)("div",{children:[(0,d.jsx)("label",{className:"mb-1.5 block text-xs font-medium text-gray-400",children:"Task Tracker"}),(0,d.jsx)("select",{value:g.trackerName,onChange:a=>{var b;return b=a.target.value,void(h(a=>({...a,trackerName:b,trackerConfig:{},trackerFileName:"",trackerFileContent:""})),l(null))},className:"w-full rounded-lg border border-white/[0.08] bg-surface-800 px-3 py-2 text-sm text-white focus:border-primary-500/50 focus:outline-none",children:m.x.map(a=>(0,d.jsx)("option",{value:a.value,children:a.label},a.value))})]})]}),(()=>{let a=v(g.agentName),b=w(g.agentName),c=g.verificationAgentName||g.agentName,e=v(c),f=w(c);return(0,d.jsxs)("div",{className:"mt-4 grid grid-cols-1 gap-4 sm:grid-cols-2",children:[(0,d.jsxs)("div",{children:[(0,d.jsx)("label",{className:"mb-1.5 block text-xs font-medium text-gray-400",children:"Agent Specialization"}),a.length>0?(0,d.jsxs)("select",{value:g.agent,onChange:a=>z("agent",a.target.value),className:"w-full rounded-lg border border-white/[0.08] bg-surface-800 px-3 py-2 text-sm text-white focus:border-primary-500/50 focus:outline-none",children:[(0,d.jsx)("option",{value:"",children:"None (default)"}),a.map(a=>(0,d.jsxs)("option",{value:a.name,children:[a.name,a.description?` — ${a.description.slice(0,60)}`:""]},a.name))]}):(0,d.jsx)("select",{disabled:!0,className:"w-full rounded-lg border border-white/[0.08] bg-surface-800 px-3 py-2 text-sm text-gray-500 focus:outline-none disabled:opacity-50 disabled:cursor-not-allowed",children:(0,d.jsx)("option",{children:"No specializations available"})}),b&&(0,d.jsxs)("p",{className:"mt-1 text-[11px] text-gray-600",children:["Uses ",b," flag"]})]}),(0,d.jsxs)("div",{children:[(0,d.jsx)("label",{className:"mb-1.5 block text-xs font-medium text-gray-400",children:"Verification Agent"}),(0,d.jsxs)("div",{className:"flex gap-2",children:[(0,d.jsxs)("select",{value:g.verificationAgentName,onChange:a=>{z("verificationAgentName",a.target.value),z("verificationAgent","")},className:"w-1/2 rounded-lg border border-white/[0.08] bg-surface-800 px-3 py-2 text-sm text-white focus:border-primary-500/50 focus:outline-none",children:[(0,d.jsx)("option",{value:"",children:"Same as main"}),n.jw.map(a=>(0,d.jsx)("option",{value:a.value,children:a.label},a.value))]}),e.length>0?(0,d.jsxs)("select",{value:g.verificationAgent,onChange:a=>z("verificationAgent",a.target.value),className:"w-1/2 rounded-lg border border-white/[0.08] bg-surface-800 px-3 py-2 text-sm text-white focus:border-primary-500/50 focus:outline-none",children:[(0,d.jsx)("option",{value:"",children:"None (default)"}),e.map(a=>(0,d.jsx)("option",{value:a.name,children:a.name},a.name))]}):(0,d.jsx)("select",{disabled:!0,className:"w-1/2 rounded-lg border border-white/[0.08] bg-surface-800 px-3 py-2 text-sm text-gray-500 focus:outline-none disabled:opacity-50 disabled:cursor-not-allowed",children:(0,d.jsx)("option",{children:"No specializations"})})]}),(0,d.jsxs)("p",{className:"mt-1 text-[11px] text-gray-600",children:["Runs validation after all workers merge",f?` (${f})`:""]})]})]})})(),"tracker"===g.taskSource&&(0,d.jsxs)("div",{className:"mt-4 space-y-3",children:[y&&(0,d.jsxs)("div",{children:[(0,d.jsxs)("label",{className:"mb-1.5 block text-xs font-medium text-gray-400",children:["Task File ",(0,d.jsx)("span",{className:"ml-0.5 text-red-400",children:"*"})]}),(0,d.jsxs)("div",{className:"flex items-center gap-3",children:[(0,d.jsxs)("button",{type:"button",onClick:()=>u.current?.click(),className:"inline-flex items-center gap-2 rounded-lg border border-white/[0.08] bg-surface-800 px-3 py-2 text-sm text-gray-300 transition-colors hover:bg-surface-700 hover:text-white",children:[(0,d.jsx)("svg",{className:"h-4 w-4",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",strokeWidth:1.5,children:(0,d.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M19.5 14.25v-2.625a3.375 3.375 0 0 0-3.375-3.375h-1.5A1.125 1.125 0 0 1 13.5 7.125v-1.5a3.375 3.375 0 0 0-3.375-3.375H8.25m2.25 0H5.625c-.621 0-1.125.504-1.125 1.125v17.25c0 .621.504 1.125 1.125 1.125h12.75c.621 0 1.125-.504 1.125-1.125V11.25a9 9 0 0 0-9-9Z"})}),"Browse"]}),g.trackerFileName&&(0,d.jsx)("span",{className:"truncate text-sm text-gray-400",children:g.trackerFileName}),(0,d.jsx)("input",{ref:u,type:"file",accept:"json"===g.trackerName?".json":".md,.txt,.markdown",onChange:A("tracker"),className:"hidden"})]})]}),!y&&x&&x.fields.length>0&&(0,d.jsx)("div",{className:"grid grid-cols-1 gap-3 sm:grid-cols-2",children:x.fields.map(a=>(0,d.jsxs)("div",{children:[(0,d.jsxs)("label",{className:"mb-1.5 block text-xs font-medium text-gray-400",children:[a.label,a.required&&(0,d.jsx)("span",{className:"ml-0.5 text-red-400",children:"*"})]}),(0,d.jsx)("input",{type:a.secret?"password":"text",value:g.trackerConfig[a.key]??"",onChange:b=>{var c,d;return c=a.key,d=b.target.value,void(h(a=>({...a,trackerConfig:{...a.trackerConfig,[c]:d}})),l(null))},placeholder:a.placeholder,className:"w-full rounded-lg border border-white/[0.08] bg-surface-800 px-3 py-2 text-sm text-white placeholder:text-gray-600 focus:border-primary-500/50 focus:outline-none"})]},a.key))})]}),(0,d.jsxs)("div",{className:"mt-4 grid grid-cols-1 gap-4 sm:grid-cols-2 lg:grid-cols-4",children:[(0,d.jsxs)("div",{children:[(0,d.jsx)("label",{className:"mb-1.5 block text-xs font-medium text-gray-400",children:"Source Branch"}),(0,d.jsxs)("select",{value:g.sourceBranch,onChange:a=>z("sourceBranch",a.target.value),className:"w-full rounded-lg border border-white/[0.08] bg-surface-800 px-3 py-2 text-sm text-white focus:border-primary-500/50 focus:outline-none",children:[(0,d.jsxs)("option",{value:"",children:["Current (",r||"...",")"]}),p.map(a=>(0,d.jsx)("option",{value:a,children:a},a))]})]}),(0,d.jsxs)("div",{children:[(0,d.jsxs)("label",{className:"mb-1.5 block text-xs font-medium text-gray-400",children:["Max Workers ",(0,d.jsx)("span",{className:"ml-0.5 text-red-400",children:"*"})]}),(0,d.jsx)("input",{type:"number",min:"1",value:g.maxWorkers,onChange:a=>z("maxWorkers",Math.max(1,parseInt(a.target.value)||1)),className:"w-full rounded-lg border border-white/[0.08] bg-surface-800 px-3 py-2 text-sm text-white placeholder:text-gray-600 focus:border-primary-500/50 focus:outline-none"}),(0,d.jsx)("p",{className:"mt-1 text-[11px] text-gray-600",children:"Concurrent workers"})]}),(0,d.jsxs)("div",{children:[(0,d.jsx)("label",{className:"mb-1.5 block text-xs font-medium text-gray-400",children:"Max Iterations"}),(0,d.jsx)("input",{type:"number",min:"1",max:"50",value:g.maxIterations,onChange:a=>z("maxIterations",Math.max(1,Math.min(50,parseInt(a.target.value)||10))),className:"w-full rounded-lg border border-white/[0.08] bg-surface-800 px-3 py-2 text-sm text-white placeholder:text-gray-600 focus:border-primary-500/50 focus:outline-none"}),(0,d.jsx)("p",{className:"mt-1 text-[11px] text-gray-600",children:"Per worker limit"})]}),(0,d.jsxs)("div",{children:[(0,d.jsx)("label",{className:"mb-1.5 block text-xs font-medium text-gray-400",children:"AI Conflict Resolution"}),(0,d.jsxs)("div",{className:"flex h-[38px] items-center",children:[(0,d.jsx)(o,{checked:g.aiConflictResolution,onChange:a=>z("aiConflictResolution",a)}),(0,d.jsx)("span",{className:"ml-2 text-xs text-gray-500",children:g.aiConflictResolution?"Enabled":"Disabled"})]})]})]}),(0,d.jsx)("div",{className:"mt-4 rounded-lg border border-white/[0.04] bg-surface-800/30 px-3 py-2",children:(0,d.jsxs)("div",{className:"flex items-center gap-2",children:[(0,d.jsx)("svg",{className:"h-3.5 w-3.5 shrink-0 text-gray-500",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",strokeWidth:1.5,children:(0,d.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m11.25 11.25.041-.02a.75.75 0 0 1 1.063.852l-.708 2.836a.75.75 0 0 0 1.063.853l.041-.021M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Zm-9-3.75h.008v.008H12V8.25Z"})}),(0,d.jsx)("span",{className:"text-[11px] text-gray-500",children:"Auto-commit is always enabled for parallel runs (required for worktree merge)."})]})}),i&&(0,d.jsx)("p",{className:"mt-3 text-xs text-red-400",children:i}),(0,d.jsx)("div",{className:"mt-5",children:(0,d.jsxs)("button",{onClick:()=>{if(!B()){if("prd"!==g.taskSource||g.prdContent)if("tracker"===g.taskSource&&y&&!g.trackerFileContent)l("Select a task file");else if(g.maxWorkers<1)l("Max workers must be at least 1");else{let a=x?.fields.filter(a=>a.required&&!g.trackerConfig[a.key]?.trim()).map(a=>a.label);l(`Required fields: ${a?.join(", ")}`)}else l("Select a PRD file");return}a(g)},disabled:!B(),className:"inline-flex items-center gap-2 rounded-lg bg-primary-500 px-4 py-2 text-xs font-semibold text-white transition-colors hover:bg-primary-600 disabled:cursor-not-allowed disabled:opacity-50",children:[(0,d.jsx)("svg",{className:"h-3.5 w-3.5",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",strokeWidth:2,children:(0,d.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M5.25 5.653c0-.856.917-1.398 1.667-.986l11.54 6.347a1.125 1.125 0 0 1 0 1.972l-11.54 6.347a1.125 1.125 0 0 1-1.667-.986V5.653Z"})}),"Start Parallel Run"]})})]})}var q=c(73519),r=c(66252);function s({jobs:a,selectedId:b,onSelect:c,onNewRun:e}){let f=function(a){let b=new Set(["running","queued"]);return[...a].sort((a,c)=>{let d=+!b.has(a.status),e=+!b.has(c.status);return d!==e?d-e:new Date(c.createdAt).getTime()-new Date(a.createdAt).getTime()})}(a);return(0,d.jsxs)(d.Fragment,{children:[(0,d.jsxs)("div",{className:"flex items-center justify-between p-3 shrink-0 border-b border-white/[0.04]",children:[(0,d.jsxs)("div",{className:"flex items-center gap-2",children:[(0,d.jsx)("h2",{className:"text-sm font-semibold text-white",children:"Parallel Jobs"}),a.length>0&&(0,d.jsx)("span",{className:"inline-flex items-center justify-center rounded-full bg-surface-800 px-1.5 py-0.5 text-[10px] font-medium text-gray-400",children:a.length})]}),(0,d.jsxs)("button",{type:"button",onClick:e,className:"inline-flex items-center gap-1.5 rounded-lg bg-primary-500 px-3 py-1.5 text-[11px] font-semibold text-white transition-colors hover:bg-primary-600",children:[(0,d.jsx)("svg",{className:"h-3 w-3",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",strokeWidth:2,children:(0,d.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M12 4.5v15m7.5-7.5h-15"})}),"New Run"]})]}),(0,d.jsx)("div",{className:"flex-1 overflow-y-auto",children:0===f.length?(0,d.jsx)("div",{className:"p-4",children:(0,d.jsx)(h.p,{title:"No parallel jobs",description:"Start a new parallel run to create a job.",icon:(0,d.jsx)("svg",{className:"h-8 w-8 text-gray-600",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",strokeWidth:1,children:(0,d.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M7.5 21 3 16.5m0 0L7.5 12M3 16.5h13.5m0-13.5L21 7.5m0 0L16.5 12M21 7.5H7.5"})})})}):f.map(a=>{let e=b===a.id,f=a.parallel;return(0,d.jsxs)("button",{type:"button",onClick:()=>c(a.id),className:`w-full px-3 py-2.5 text-left transition-colors border-b border-white/[0.02] ${e?"bg-primary-500/10 border-l-2 border-l-primary-500":"hover:bg-white/[0.03]"}`,children:[(0,d.jsxs)("div",{className:"flex items-center gap-2",children:[(0,d.jsx)(q.W,{status:a.status,size:"sm"}),(0,d.jsx)(r.L,{name:a.agentName})]}),(0,d.jsxs)("div",{className:"mt-1.5 flex items-center gap-2",children:[(0,d.jsx)("span",{className:"font-mono text-[11px] text-gray-500 truncate",children:a.sourceBranch}),f&&(0,d.jsxs)("span",{className:"text-[11px] text-gray-500 shrink-0",children:["G",f.completedGroups,"/",f.totalGroups," \xb7 ",f.mergedCount,"/",a.taskCount," merged"]}),!f&&a.taskCount>0&&(0,d.jsxs)("span",{className:"text-[11px] text-gray-500 shrink-0",children:[a.taskCount," task",1!==a.taskCount?"s":""]})]}),(0,d.jsx)("div",{className:"mt-1 text-[10px] text-gray-600",children:function(a){let b=Date.now()-new Date(a).getTime();return b<6e4?"just now":b<36e5?`${Math.floor(b/6e4)}m ago`:b<864e5?`${Math.floor(b/36e5)}h ago`:`${Math.floor(b/864e5)}d ago`}(a.createdAt)})]},a.id)})})]})}var t=c(33720),u=c(6790);function v({worker:a}){let b={pending:"border-white/[0.04] bg-surface-800/50",running:"border-blue-500/20 bg-blue-950/30",completed:"border-emerald-500/20 bg-emerald-950/30",failed:"border-red-500/20 bg-red-950/30"},c={pending:{dot:"bg-gray-400",label:"Pending"},running:{dot:"bg-blue-400",label:"Running",animate:!0},completed:{dot:"bg-emerald-400",label:"Completed"},failed:{dot:"bg-red-400",label:"Failed"}}[a.status]??{dot:"bg-gray-400",label:a.status},e=b[a.status]??b.pending,f=a.elapsedMs>0?(0,t.a)(a.elapsedMs):"",g=f?`${c.label} \xb7 ${f}`:c.label,h=a.error?a.error.length>60?a.error.slice(0,57)+"...":a.error:null;return(0,d.jsxs)("div",{className:`rounded-lg border ${e} p-3 transition-colors duration-300`,children:[(0,d.jsxs)("div",{className:"flex items-center gap-2",children:[(0,d.jsxs)("span",{className:"text-[11px] font-medium text-gray-400",children:["Worker ",a.id]}),a.commitCount>0&&(0,d.jsxs)("span",{className:"ml-auto text-[10px] text-gray-600",children:[a.commitCount," commit",1!==a.commitCount?"s":""]})]}),(0,d.jsx)("p",{className:"mt-1 truncate text-xs text-gray-300",children:a.taskTitle||a.taskId}),(0,d.jsxs)("div",{className:"mt-1.5 flex items-center gap-1.5",children:[(0,d.jsx)("span",{className:`h-1.5 w-1.5 shrink-0 rounded-full ${c.dot} ${c.animate?"animate-pulse":""}`}),(0,d.jsx)("span",{className:"text-[11px] text-gray-500",children:g})]}),(0,d.jsx)("p",{className:"mt-1 truncate font-mono text-[10px] text-gray-600",children:a.branchName}),"failed"===a.status&&h&&(0,d.jsx)("p",{className:"mt-1.5 truncate text-[11px] text-red-400",title:a.error,children:h})]})}function w({status:a,dag:b}){let[c,f]=(0,e.useState)(new Set);if(!a)return(0,d.jsx)(g.G,{rows:2});let{totalGroups:h,currentGroupIndex:i,workers:j,allWorkers:k}=a,l=Array.from({length:h},(a,b)=>({index:b,status:b<i?"completed":b===i?"active":"pending"})),m=(k??j??[]).filter(a=>{let b=parseInt(a.id.split("-")[0],10);return!isNaN(b)&&b===i});return(0,d.jsxs)("div",{className:"space-y-1",children:[(0,d.jsxs)("div",{className:"mb-3 flex items-center gap-4 text-xs text-gray-400",children:[(0,d.jsxs)("span",{children:[a.totalTasksCompleted,"/",a.totalTasks," tasks completed"]}),(0,d.jsxs)("span",{children:["Merge queue: ","number"==typeof a.mergeQueue?a.mergeQueue:0]}),a.elapsedMs>0&&(0,d.jsx)("span",{className:"font-mono text-gray-600",children:(0,t.a)(a.elapsedMs)})]}),l.map((a,e)=>{let g="active"===a.status,h="completed"===a.status,i="pending"===a.status,j=c.has(a.index)||g,l=g?"border-blue-500/30":h?"border-emerald-500/20":"border-white/[0.04]",n=g?"bg-blue-500/[0.06]":h?"bg-emerald-500/[0.04]":"bg-surface-800/30";return(0,d.jsxs)("div",{children:[e>0&&(0,d.jsx)("div",{className:"flex justify-center py-1",children:(0,d.jsx)("svg",{className:"h-4 w-4 text-gray-700",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",strokeWidth:1.5,children:(0,d.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M19.5 13.5 12 21m0 0-7.5-7.5M12 21V3"})})}),(0,d.jsxs)("div",{className:`rounded-lg border ${l} overflow-hidden`,children:[(0,d.jsxs)("button",{type:"button",onClick:()=>{var b;return!g&&(b=a.index,void f(a=>{let c=new Set(a);return c.has(b)?c.delete(b):c.add(b),c}))},className:`flex w-full items-center gap-3 px-4 py-2.5 text-left ${n} ${!g?"cursor-pointer hover:bg-white/[0.02]":""}`,children:[h&&(0,d.jsx)("svg",{className:"h-4 w-4 shrink-0 text-emerald-400",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",strokeWidth:2,children:(0,d.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m4.5 12.75 6 6 9-13.5"})}),g&&(0,d.jsx)("span",{className:"h-2 w-2 shrink-0 animate-pulse rounded-full bg-blue-400"}),i&&(0,d.jsx)("span",{className:"h-2 w-2 shrink-0 rounded-full bg-gray-600"}),(0,d.jsxs)("span",{className:`text-xs font-semibold ${g?"text-blue-400":h?"text-emerald-400":"text-gray-500"}`,children:["Group ",a.index+1,(0,d.jsx)("span",{className:"ml-1.5 font-normal text-[10px] opacity-60",children:0===a.index?"Independent":"Depends on previous"})]}),(0,d.jsx)("span",{className:`text-[11px] ${g?"text-blue-400/70":h?"text-emerald-400/60":"text-gray-600"}`,children:g?"Running":h?"Completed":(()=>{let c=b?.groups?.[a.index]?.tasks?.length;return c?`Pending \xb7 ${c} tasks`:"Pending"})()}),!g&&(0,d.jsx)("svg",{className:`ml-auto h-3.5 w-3.5 text-gray-600 transition-transform ${j?"rotate-180":""}`,fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",strokeWidth:2,children:(0,d.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m19.5 8.25-7.5 7.5-7.5-7.5"})})]}),j&&g&&m.length>0&&(0,d.jsx)("div",{className:"border-t border-white/[0.04] p-3",children:(0,d.jsx)("div",{className:"grid grid-cols-1 gap-2 sm:grid-cols-2 lg:grid-cols-3",children:m.map(a=>(0,d.jsx)(v,{worker:a},a.taskId))})}),j&&h&&(()=>{let b,c=(b=a.index,(k??[]).filter(a=>{let c=parseInt(a.id.split("-")[0],10);return!isNaN(c)&&c===b}));return c.length>0?(0,d.jsx)("div",{className:"border-t border-white/[0.04] p-3",children:(0,d.jsx)("div",{className:"grid grid-cols-1 gap-2 sm:grid-cols-2 lg:grid-cols-3",children:c.map(a=>(0,d.jsx)(v,{worker:a},a.taskId))})}):(0,d.jsx)("div",{className:"border-t border-white/[0.04] px-4 py-2",children:(0,d.jsx)("p",{className:"text-[11px] text-gray-500",children:"All tasks in this group completed successfully."})})})(),i&&j&&(()=>{let c=b?.groups?.[a.index],e=c?.tasks??[];return(0,d.jsxs)("div",{className:"border-t border-white/[0.04] px-4 py-3",children:[(0,d.jsx)("p",{className:"mb-2 text-[11px] text-gray-600",children:"Waiting for previous groups to complete."}),e.length>0&&(0,d.jsx)("div",{className:"flex flex-wrap gap-1.5",children:e.map(a=>(0,d.jsx)("span",{className:"inline-flex items-center rounded-full border border-white/[0.08] bg-surface-800 px-2 py-0.5 text-[10px] font-medium text-gray-500",title:a.id,children:a.title||a.id},a.id))})]})})()]})]},a.index)}),h>0&&(()=>{let b=(k??[]).find(a=>"VALIDATION"===a.taskId),c=b?.status==="running",e=b?.status==="completed",f=b?.status==="failed",g=i>=h&&!e&&!f&&"completed"!==a.status&&"failed"!==a.status,j=e?"border-emerald-500/20":c||g?"border-purple-500/30":f?"border-red-500/20":"border-white/[0.04]",l=e?"bg-emerald-500/[0.04]":c||g?"bg-purple-500/[0.06]":f?"bg-red-500/[0.04]":"bg-surface-800/30",m=e?"Completed":f?"Failed":c||g?"Running":"Pending",n=e?"text-emerald-400":f?"text-red-400":c||g?"text-purple-400":"text-gray-500";return(0,d.jsxs)("div",{children:[(0,d.jsx)("div",{className:"flex justify-center py-1",children:(0,d.jsx)("svg",{className:"h-4 w-4 text-gray-700",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",strokeWidth:1.5,children:(0,d.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M19.5 13.5 12 21m0 0-7.5-7.5M12 21V3"})})}),(0,d.jsx)("div",{className:`rounded-lg border ${j} overflow-hidden`,children:(0,d.jsxs)("div",{className:`flex items-center gap-3 px-4 py-2.5 ${l}`,children:[e&&(0,d.jsx)("svg",{className:"h-4 w-4 shrink-0 text-emerald-400",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",strokeWidth:2,children:(0,d.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m4.5 12.75 6 6 9-13.5"})}),f&&(0,d.jsx)("svg",{className:"h-4 w-4 shrink-0 text-red-400",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",strokeWidth:2,children:(0,d.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M6 18 18 6M6 6l12 12"})}),(c||g)&&(0,d.jsx)("span",{className:"h-2 w-2 shrink-0 animate-pulse rounded-full bg-purple-400"}),!e&&!f&&!c&&!g&&(0,d.jsx)("span",{className:"h-2 w-2 shrink-0 rounded-full bg-gray-600"}),(0,d.jsxs)("span",{className:`text-xs font-semibold ${n}`,children:["Validation",(0,d.jsx)("span",{className:"ml-1.5 font-normal text-[10px] opacity-60",children:"Verifies all tasks against PRD"})]}),(0,d.jsx)("span",{className:`text-[11px] ${n} opacity-70`,children:m}),b?.elapsedMs!=null&&b.elapsedMs>0&&(0,d.jsx)("span",{className:"ml-auto text-[10px] font-mono text-gray-600",children:(0,t.a)(b.elapsedMs)})]})})]})})(),0===h&&(0,d.jsx)("div",{className:"rounded-lg border border-white/[0.04] bg-surface-800/30 px-4 py-8 text-center text-sm text-gray-500",children:"No pipeline groups available."})]})}function x({node:a,x:b,y:c}){return(0,d.jsxs)("div",{className:"pointer-events-none absolute z-50 max-w-xs rounded-lg border border-white/10 bg-surface-900 px-3 py-2 shadow-xl",style:{left:b,top:c-8,transform:"translate(-50%, -100%)"},children:[(0,d.jsx)("div",{className:"text-xs font-semibold text-white",children:a.id}),(0,d.jsx)("div",{className:"mt-0.5 text-[11px] text-gray-400 line-clamp-2",children:a.title}),a.dependencies.length>0&&(0,d.jsxs)("div",{className:"mt-1 text-[10px] text-gray-500",children:["Depends on: ",a.dependencies.join(", ")]}),a.dependents.length>0&&(0,d.jsxs)("div",{className:"mt-0.5 text-[10px] text-gray-500",children:["Blocks: ",a.dependents.join(", ")]})]})}function y({dag:a,loading:b,status:c}){let f=(0,e.useRef)(null),[i,j]=(0,e.useState)(null),[k,l]=(0,e.useState)({x:0,y:0}),m=(0,e.useMemo)(()=>{let a=new Map;if(c?.allWorkers)for(let b of c.allWorkers)a.set(b.taskId,b.status);return a},[c]),n=(0,e.useMemo)(()=>a?function(a,b){let c=a.nodes??{},d=(a.groups??[]).map(a=>{let b=a.tasks?a.tasks:(a.taskIds??[]).map(a=>({id:a,title:c[a]?.title??a}));return{depth:a.depth,tasks:b}}),e=[],f=[],g=1;for(let a of d)a.tasks.length>g&&(g=a.tasks.length);let h=200*g+(g-1)*24;for(let a=0;a<d.length;a++){let f=d[a],g=f.tasks,i=40+(h-(200*g.length+(g.length-1)*24))/2,j=72+120*a;for(let a=0;a<g.length;a++){let d=g[a],h=c[d.id],k=i+224*a;e.push({id:d.id,title:h?.title||d.title||d.id,depth:f.depth,x:k,y:j,cx:k+100,cy:j+26,dependencies:h?.dependencies??[],dependents:h?.dependents??[],status:b.get(d.id)})}}let i=new Map(e.map(a=>[a.id,a]));for(let a of e)for(let b of a.dependencies)i.has(b)&&f.push({from:b,to:a.id});let j=e.filter(a=>0===a.dependents.length).map(a=>a.id);if(d.length>0&&j.length>0){let a=72+120*d.length,c=40+(h-200)/2;for(let g of(e.push({id:"VALIDATION",title:"Post-Parallel Validation",depth:d.length,x:c,y:a,cx:c+100,cy:a+26,dependencies:j,dependents:[],status:b.get("VALIDATION")}),i.set("VALIDATION",e[e.length-1]),j))f.push({from:g,to:"VALIDATION"})}let k=e.length>0?Math.max(...e.map(a=>a.y)):48;return{nodes:e,edges:f,width:80+h,height:k+52+48}}(a,m):null,[a,m]);if(b)return(0,d.jsx)(g.G,{rows:2});if(!a)return(0,d.jsx)(h.p,{title:"No DAG analysis",description:"Start a parallel job to see the dependency graph.",icon:(0,d.jsx)("svg",{className:"h-8 w-8 text-gray-600",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",strokeWidth:1,children:(0,d.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M7.5 21 3 16.5m0 0L7.5 12M3 16.5h13.5m0-13.5L21 7.5m0 0L16.5 12M21 7.5H7.5"})})});if(!n||0===n.nodes.length)return(0,d.jsx)(h.p,{title:"Empty graph",description:"No tasks found in the DAG.",icon:(0,d.jsx)("svg",{className:"h-8 w-8 text-gray-600",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",strokeWidth:1,children:(0,d.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M7.5 21 3 16.5m0 0L7.5 12M3 16.5h13.5m0-13.5L21 7.5m0 0L16.5 12M21 7.5H7.5"})})});let o=i?n.nodes.find(a=>a.id===i):null,p=new Set,q=new Set;if(i){q.add(i);let a=n.nodes.find(a=>a.id===i);if(a){for(let b of a.dependencies)q.add(b),p.add(`${b}->${i}`);for(let b of a.dependents)q.add(b),p.add(`${i}->${b}`)}}let r=a.groups??[],s=[...r.map((a,b)=>({label:`G${b+1}`,depth:a.depth,y:72+120*b})),...r.length>0?[{label:"V",depth:r.length,y:72+120*r.length}]:[]],t=n.edges.length>0;return(0,d.jsxs)("div",{className:"space-y-4",children:[(0,d.jsxs)("div",{className:"flex flex-wrap gap-4 text-xs text-gray-400",children:[(0,d.jsxs)("span",{children:["Groups: ",(0,d.jsx)("span",{className:"font-semibold text-white",children:r.length})]}),(0,d.jsxs)("span",{children:["Tasks: ",(0,d.jsx)("span",{className:"font-semibold text-white",children:(a.order??[]).length})]}),(0,d.jsxs)("span",{children:["Max Parallelism: ",(0,d.jsx)("span",{className:"font-semibold text-white",children:a.maxParallelism??0})]}),!t&&n.nodes.length>0&&(0,d.jsx)("span",{className:"text-yellow-500/80",children:"(Dependency arrows require API rebuild)"})]}),(0,d.jsxs)("div",{ref:f,className:"relative overflow-x-auto overflow-y-auto rounded-lg border border-white/[0.06] bg-[#0d0d14]",children:[(0,d.jsxs)("svg",{width:n.width,height:n.height,className:"block",children:[(0,d.jsxs)("defs",{children:[(0,d.jsx)("marker",{id:"arrow",markerWidth:"10",markerHeight:"7",refX:"9",refY:"3.5",orient:"auto",children:(0,d.jsx)("polygon",{points:"0 0, 10 3.5, 0 7",fill:"#a78bfa",fillOpacity:"0.7"})}),(0,d.jsx)("marker",{id:"arrow-dim",markerWidth:"10",markerHeight:"7",refX:"9",refY:"3.5",orient:"auto",children:(0,d.jsx)("polygon",{points:"0 0, 10 3.5, 0 7",fill:"#6b7280",fillOpacity:"0.3"})}),(0,d.jsx)("marker",{id:"arrow-hl",markerWidth:"10",markerHeight:"7",refX:"9",refY:"3.5",orient:"auto",children:(0,d.jsx)("polygon",{points:"0 0, 10 3.5, 0 7",fill:"#c4b5fd"})})]}),s.map((a,b)=>(0,d.jsx)("text",{x:14,y:a.y+26+4,fill:"V"===a.label?"#a78bfa":"#9ca3af",fontSize:11,fontWeight:600,children:a.label},`glabel-${b}`)),s.map((a,b)=>b>0?(0,d.jsx)("line",{x1:0,y1:a.y-34,x2:n.width,y2:a.y-34,stroke:"#ffffff",strokeOpacity:.06,strokeWidth:1,strokeDasharray:"6 4"},`sep-${b}`):null),n.edges.map(a=>{let b=n.nodes.find(b=>b.id===a.from),c=n.nodes.find(b=>b.id===a.to);if(!b||!c)return null;let e=b.cx,f=b.y+52,g=c.cx,h=c.y,j=`${a.from}->${a.to}`,k=p.has(j),l=i&&!k;return(0,d.jsx)("path",{d:function(a,b,c,d){let e=(b+d)/2;return`M ${a} ${b} C ${a} ${e}, ${c} ${e}, ${c} ${d}`}(e,f,g,h),fill:"none",stroke:k?"#c4b5fd":l?"#374151":"#a78bfa",strokeOpacity:k?1:l?.3:.6,strokeWidth:k?2.5:1.5,markerEnd:k?"url(#arrow-hl)":l?"url(#arrow-dim)":"url(#arrow)",style:{transition:"stroke 0.15s, stroke-opacity 0.15s, stroke-width 0.15s"}},j)}),n.nodes.map(a=>{let b=function(a){switch(a){case"completed":return{bg:"#065f46",border:"#10b981",idFill:"#6ee7b7",titleFill:"#a7f3d0",dotFill:"#34d399"};case"failed":return{bg:"#7f1d1d",border:"#ef4444",idFill:"#fca5a5",titleFill:"#fecaca",dotFill:"#f87171"};case"running":return{bg:"#1e3a5f",border:"#3b82f6",idFill:"#93c5fd",titleFill:"#bfdbfe",dotFill:"#60a5fa"};default:return{bg:"#1e1e2e",border:"#4b5563",idFill:"#d1d5db",titleFill:"#9ca3af",dotFill:"#6b7280"}}}(a.status),c=i===a.id,e=!i||q.has(a.id),f=i&&!e;return(0,d.jsxs)("g",{style:{transition:"opacity 0.15s"},opacity:f?.2:1,onMouseEnter:()=>{j(a.id),l({x:a.cx,y:a.y})},onMouseLeave:()=>j(null),className:"cursor-pointer",children:[(0,d.jsx)("rect",{x:a.x,y:a.y,width:200,height:52,rx:10,ry:10,fill:b.bg,fillOpacity:.6,stroke:e&&i?"#ffffff":b.border,strokeOpacity:c?1:e&&i?.8:.4,strokeWidth:c?2.5:e&&i?2:1}),(0,d.jsx)("circle",{cx:a.x+14,cy:a.cy,r:4,fill:b.dotFill,children:"running"===a.status&&(0,d.jsx)("animate",{attributeName:"opacity",values:"1;0.3;1",dur:"1.5s",repeatCount:"indefinite"})}),(0,d.jsx)("text",{x:a.x+26,y:a.y+20,fill:b.idFill,fontSize:11,fontWeight:700,fontFamily:"ui-monospace, monospace",children:a.id}),(0,d.jsx)("text",{x:a.x+26,y:a.y+36,fill:b.titleFill,fillOpacity:.7,fontSize:10,children:a.title.length>22?a.title.slice(0,22)+"…":a.title}),a.dependencies.length>0&&(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)("rect",{x:a.x+200-26,y:a.y+4,width:22,height:15,rx:7,fill:"#7c3aed",fillOpacity:.3}),(0,d.jsx)("text",{x:a.x+200-15,y:a.y+14,textAnchor:"middle",fill:"#c4b5fd",fontSize:9,fontWeight:700,children:a.dependencies.length})]})]},a.id)})]}),o&&(0,d.jsx)(x,{node:o,x:k.x,y:k.y})]}),a.warnings.length>0&&(0,d.jsxs)("div",{children:[(0,d.jsx)("h3",{className:"mb-2 text-xs font-semibold text-yellow-400",children:"Warnings"}),(0,d.jsx)("div",{className:"space-y-1.5",children:a.warnings.map((a,b)=>(0,d.jsx)("div",{className:"rounded-lg border border-yellow-500/20 bg-yellow-500/[0.06] px-3 py-2 text-xs text-yellow-400",children:a},b))})]}),a.cyclicTaskIds.length>0&&(0,d.jsxs)("div",{children:[(0,d.jsx)("h3",{className:"mb-2 text-xs font-semibold text-red-400",children:"Cyclic Tasks"}),(0,d.jsx)("div",{className:"flex flex-wrap gap-1.5",children:a.cyclicTaskIds.map(a=>(0,d.jsx)("span",{className:"inline-flex items-center rounded-full border border-red-500/20 bg-red-500/[0.06] px-2.5 py-0.5 text-[11px] font-medium text-red-400",children:a},a))}),(0,d.jsx)("p",{className:"mt-1.5 text-[11px] text-gray-600",children:"These tasks have circular dependencies and could not be scheduled optimally."})]})]})}function z({label:a,value:b,mono:c}){return(0,d.jsxs)("div",{className:"flex items-center gap-2",children:[(0,d.jsx)("span",{className:"text-[11px] font-medium text-gray-500 w-20 shrink-0",children:a}),(0,d.jsx)("span",{className:`text-xs text-gray-300 ${c?"font-mono":""}`,children:b})]})}function A({job:a,status:b,dag:c,dagLoading:f,actionRunning:g,onStop:h,onDelete:i}){let[j,k]=(0,e.useState)("pipeline"),l="running"===a.status||"queued"===a.status,m="";if(a.startedAt&&a.completedAt){let b=new Date(a.completedAt).getTime()-new Date(a.startedAt).getTime();m=(0,t.a)(b)}else if(a.startedAt){let b=Date.now()-new Date(a.startedAt).getTime();m=(0,t.a)(b)}let n=a.parallel;return(0,d.jsxs)("div",{className:"flex flex-col h-full overflow-hidden",children:[(0,d.jsxs)("div",{className:"shrink-0 pb-4 border-b border-white/[0.04]",children:[(0,d.jsxs)("div",{className:"flex items-center gap-3 flex-wrap",children:[(0,d.jsx)(q.W,{status:a.status}),(0,d.jsx)(r.L,{name:a.agentName}),(0,d.jsx)("span",{className:"font-mono text-xs text-gray-500",children:a.sourceBranch}),m&&(0,d.jsx)("span",{className:"font-mono text-xs text-gray-600",children:m})]}),(0,d.jsxs)("div",{className:"mt-3 space-y-1",children:[(0,d.jsx)(z,{label:"Job ID",value:a.id,mono:!0}),(0,d.jsx)(z,{label:"Created",value:new Date(a.createdAt).toLocaleString()}),a.startedAt&&(0,d.jsx)(z,{label:"Started",value:new Date(a.startedAt).toLocaleString()}),a.completedAt&&(0,d.jsx)(z,{label:"Completed",value:new Date(a.completedAt).toLocaleString()}),n&&(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)(z,{label:"Workers",value:`${n.workerCount} / ${n.maxWorkers} max`}),(0,d.jsx)(z,{label:"Groups",value:`${n.completedGroups}/${n.totalGroups} completed`}),(0,d.jsx)(z,{label:"Merged",value:`${n.mergedCount}/${a.taskCount} tasks`})]}),!n&&a.taskCount>0&&(0,d.jsx)(z,{label:"Tasks",value:`${a.taskCount}`}),(0,d.jsx)(z,{label:"Mode",value:"Parallel"})]}),a.error&&(0,d.jsx)("div",{className:"mt-3 rounded-lg border border-red-500/20 bg-red-500/[0.06] px-3 py-2 text-xs text-red-400",children:a.error}),(0,d.jsxs)("div",{className:"mt-3 flex items-center gap-2",children:[l&&(0,d.jsx)("button",{onClick:()=>h(a.id),disabled:"stop"===g,className:"rounded-lg border border-yellow-500/20 bg-yellow-500/[0.06] px-3 py-1.5 text-[11px] font-medium text-yellow-400 transition-colors hover:bg-yellow-500/10 disabled:cursor-not-allowed disabled:opacity-50",children:"stop"===g?"Stopping...":"Stop All"}),(0,d.jsx)("button",{onClick:()=>i(a.id),className:"rounded-lg border border-red-500/20 bg-red-500/[0.06] px-3 py-1.5 text-[11px] font-medium text-red-400 transition-colors hover:bg-red-500/10",children:"Delete"})]})]}),(0,d.jsx)("div",{className:"shrink-0 py-3",children:(0,d.jsx)("div",{className:"flex gap-1 rounded-lg border border-white/[0.08] bg-surface-800 p-1",children:["pipeline","events","dag"].map(a=>(0,d.jsx)("button",{type:"button",onClick:()=>k(a),className:`flex-1 rounded-md px-3 py-1.5 text-xs font-medium transition-colors ${j===a?"bg-primary-500 text-white":"text-gray-400 hover:text-gray-300"}`,children:"dag"===a?"DAG":a.charAt(0).toUpperCase()+a.slice(1)},a))})}),(0,d.jsxs)("div",{className:"flex-1 min-h-0 overflow-auto",children:["pipeline"===j&&(0,d.jsx)(w,{status:b,dag:c}),"events"===j&&(0,d.jsx)(u.p,{jobId:a.id,agentName:a.agentName}),"dag"===j&&(0,d.jsx)(y,{dag:c,loading:f,status:b})]})]})}function B(){return(0,d.jsx)(i.s,{featureName:"Parallel Execution",children:(0,d.jsx)(e.Suspense,{fallback:(0,d.jsx)("div",{}),children:(0,d.jsx)(C,{})})})}function C(){let a=(0,f.useRouter)(),b=(0,f.useSearchParams)(),c=b?.get("job")??null,i=b?.get("prd")??null,k=b?.get("agent")??null,m=b?.get("model")??null,[n,o]=(0,e.useState)(c?"job":i?"new-run":null),{jobs:q,refresh:r,deleteJob:t,stopJob:u}=function(){let a=(0,j.yC)(),[b,c]=(0,e.useState)([]),d=(0,e.useCallback)(async()=>{try{let b=(await a.get("/api/jobs")).jobs??[];c(b.filter(a=>"parallel"===a.mode))}catch{}},[a]);b.some(a=>"running"===a.status||"queued"===a.status);let f=(0,e.useCallback)(async b=>{await a.delete(`/api/jobs/${b}`),d()},[a,d]),g=(0,e.useCallback)(async b=>{await a.post(`/api/jobs/${b}/cancel`),d()},[a,d]);return{jobs:b,refresh:d,deleteJob:f,stopJob:g}}(),v=q.find(a=>"running"===a.status||"queued"===a.status),w=c??v?.id??null,x=n??(w?"job":null),{status:y,loading:z,refresh:B}=function(a){let b=(0,j.yC)(),[c,d]=(0,e.useState)(null),[f,g]=(0,e.useState)(!0),h=(0,e.useRef)(new Map),i=(0,e.useCallback)(async()=>{if(!a){d(null),g(!1),h.current.clear();return}try{let c=await b.get(`/api/parallel/status?jobId=${encodeURIComponent(a)}`),e=c.workers??[],f=c.allWorkers??[],g=Array.isArray(c.mergeQueue)?c.mergeQueue.length:"number"==typeof c.mergeQueue?c.mergeQueue:0;for(let a of f)h.current.set(a.taskId,a);for(let a of e)h.current.set(a.taskId,a);d({...c,workers:e,allWorkers:Array.from(h.current.values()),mergeQueue:g})}catch{d(null)}finally{g(!1)}},[b,a]);return null!=c&&l.has(c.status),{status:c,loading:f,refresh:i}}("job"===x?w:null),{dag:C,loading:D}=function(a){(0,j.yC)();let[b,c]=(0,e.useState)(null),[d,f]=(0,e.useState)(!1);return(0,e.useRef)(null),{dag:b,loading:d}}(0),{start:E,stop:F,actionRunning:G,actionMessage:H}=function(a,b){let c=(0,j.yC)(),[d,f]=(0,e.useState)(null),[g,h]=(0,e.useState)(null);return(0,e.useRef)(null),{start:(0,e.useCallback)(async d=>{f("start"),h(null);try{let e={agentName:d.agentName,mode:"parallel",maxWorkers:d.maxWorkers,maxIterations:d.maxIterations,aiConflictResolution:d.aiConflictResolution,autoCommit:!0},f={};if(d.model&&(f.model=d.model),d.sandbox&&(f.sandbox=d.sandbox),d.agent&&(f.agent=d.agent),Object.keys(f).length>0&&(e.agentConfig=f),d.verificationAgentName){e.verificationAgentName=d.verificationAgentName;let a={};d.verificationAgent&&(a.agent=d.verificationAgent),Object.keys(a).length>0&&(e.verificationAgentConfig=a)}if("prd"===d.taskSource&&d.prdContent)e.prdContent=d.prdContent;else if(e.trackerName=d.trackerName,d.trackerFileContent)e.trackerFileContent=d.trackerFileContent,e.trackerFileName=d.trackerFileName;else{let a=Object.entries(d.trackerConfig).filter(([,a])=>""!==a.trim());a.length>0&&(e.trackerConfig=Object.fromEntries(a))}d.sourceBranch&&(e.sourceBranch=d.sourceBranch);let g=await c.post("/api/parallel/start",e);return h(g.message??"Parallel run started."),a(),b(),{jobId:g.jobId}}catch(a){return h(a instanceof Error?a.message:"Failed to start parallel run."),{}}finally{f(null)}},[c,a,b]),stop:(0,e.useCallback)(async d=>{f("stop"),h(null);try{let e=await c.post("/api/parallel/stop",{jobId:d});h(e.message??"Parallel run stopped."),a(),b()}catch(a){h(a instanceof Error?a.message:"Failed to stop parallel run.")}finally{f(null)}},[c,a,b]),actionRunning:d,actionMessage:g}}(B,r),I=w?q.find(a=>a.id===w):null,J=(0,e.useCallback)(c=>{let d=new URLSearchParams(b?.toString()??"");c?d.set("job",c):d.delete("job");let e=d.toString();a.replace(`/parallel${e?`?${e}`:""}`,{scroll:!1})},[a,b]),K=(0,e.useCallback)(()=>{o("new-run"),J(null)},[J]),L=(0,e.useCallback)(a=>{o("job"),J(a)},[J]),M=(0,e.useCallback)(async a=>{let b=await E(a);b.jobId?(o("job"),J(b.jobId)):o(null),r()},[E,r,J]),N=(0,e.useCallback)(async a=>{try{await t(a),w===a&&(o(null),J(null))}catch{}},[t,w,J]),O=(0,e.useCallback)(async a=>{try{await F(a)}catch{}},[F]);return z?(0,d.jsxs)("div",{className:"flex flex-col h-[calc(100vh-32px)]",children:[(0,d.jsxs)("div",{children:[(0,d.jsx)("h1",{className:"text-xl font-semibold text-white",children:"Parallel Execution"}),(0,d.jsx)("p",{className:"mt-1 text-sm text-gray-400",children:"Execute tasks in parallel across multiple workers with DAG-based dependency ordering."})]}),(0,d.jsx)("div",{className:"mt-4",children:(0,d.jsx)(g.G,{rows:1})})]}):(0,d.jsxs)("div",{className:"flex flex-col h-[calc(100vh-32px)]",children:[(0,d.jsxs)("div",{className:"shrink-0",children:[(0,d.jsx)("h1",{className:"text-xl font-semibold text-white",children:"Parallel Execution"}),(0,d.jsx)("p",{className:"mt-1 text-sm text-gray-400",children:"Execute tasks in parallel across multiple workers with DAG-based dependency ordering."})]}),H&&(0,d.jsx)("div",{className:"mt-3 shrink-0 rounded-lg border border-blue-500/20 bg-blue-500/[0.06] px-3 py-2 text-xs text-blue-400",children:H}),(0,d.jsxs)("div",{className:"flex gap-4 flex-1 min-h-0 mt-4",children:[(0,d.jsx)("div",{className:"w-80 min-w-[280px] max-w-[360px] shrink-0 flex flex-col rounded-xl border border-white/[0.06] bg-surface-900 overflow-hidden",children:(0,d.jsx)(s,{jobs:q,selectedId:"job"===x?w:null,onSelect:L,onNewRun:K})}),(0,d.jsx)("div",{className:"flex-1 min-w-0 rounded-xl border border-white/[0.06] bg-surface-900 p-5 overflow-hidden flex flex-col",children:"new-run"===x?(0,d.jsx)(p,{onStart:a=>void M(a),initialPrdFilename:i??void 0,initialAgent:k??void 0,initialModel:m??void 0}):I?(0,d.jsx)(A,{job:I,status:y,dag:C,dagLoading:D,actionRunning:G,onStop:a=>void O(a),onDelete:a=>void N(a)}):(0,d.jsxs)("div",{className:"flex flex-col items-center justify-center flex-1",children:[(0,d.jsx)(h.p,{title:q.length>0?"Select a job":"No parallel jobs yet",description:q.length>0?"Choose a job from the list or start a new parallel run.":"Click 'New Run' to start your first parallel execution.",icon:(0,d.jsx)("svg",{className:"h-10 w-10 text-gray-600",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",strokeWidth:1,children:(0,d.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M7.5 21 3 16.5m0 0L7.5 12M3 16.5h13.5m0-13.5L21 7.5m0 0L16.5 12M21 7.5H7.5"})})}),0===q.length&&(0,d.jsxs)("button",{type:"button",onClick:K,className:"mt-4 inline-flex items-center gap-2 rounded-lg bg-primary-500 px-4 py-2 text-xs font-semibold text-white transition-colors hover:bg-primary-600",children:[(0,d.jsx)("svg",{className:"h-3.5 w-3.5",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",strokeWidth:2,children:(0,d.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M12 4.5v15m7.5-7.5h-15"})}),"New Parallel Run"]})]})})]})]})}},33873:a=>{"use strict";a.exports=require("path")},38021:(a,b,c)=>{"use strict";c.r(b),c.d(b,{default:()=>d});let d=(0,c(94026).registerClientReference)(function(){throw Error("Attempted to call the default export of \"/Users/ciprian/work_cip/ulpi/hooks/apps/portal/src/app/(dashboard)/parallel/page.tsx\" from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/Users/ciprian/work_cip/ulpi/hooks/apps/portal/src/app/(dashboard)/parallel/page.tsx","default")},41025:a=>{"use strict";a.exports=require("next/dist/server/app-render/dynamic-access-async-storage.external.js")},52539:(a,b,c)=>{Promise.resolve().then(c.bind(c,38021))},63033:a=>{"use strict";a.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},86439:a=>{"use strict";a.exports=require("next/dist/shared/lib/no-fallback-error.external")}};var b=require("../../../webpack-runtime.js");b.C(a);var c=b.X(0,[3404,3958,1522,2230],()=>b(b.s=17140));module.exports=c})();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/(dashboard)/parallel/page"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"27":{"*":{"id":"64619","name":"*","chunks":[],"async":false}},"714":{"*":{"id":"54878","name":"*","chunks":[],"async":false}},"1131":{"*":{"id":"18061","name":"*","chunks":[],"async":false}},"1208":{"*":{"id":"76957","name":"*","chunks":[],"async":false}},"1452":{"*":{"id":"27579","name":"*","chunks":[],"async":false}},"2051":{"*":{"id":"2455","name":"*","chunks":[],"async":false}},"2094":{"*":{"id":"22164","name":"*","chunks":[],"async":false}},"2603":{"*":{"id":"81905","name":"*","chunks":[],"async":false}},"2664":{"*":{"id":"10810","name":"*","chunks":[],"async":false}},"3339":{"*":{"id":"60611","name":"*","chunks":[],"async":false}},"3381":{"*":{"id":"47770","name":"*","chunks":[],"async":false}},"3604":{"*":{"id":"95616","name":"*","chunks":[],"async":false}},"3747":{"*":{"id":"4153","name":"*","chunks":[],"async":false}},"4003":{"*":{"id":"59083","name":"*","chunks":[],"async":false}},"4033":{"*":{"id":"55519","name":"*","chunks":[],"async":false}},"4116":{"*":{"id":"79898","name":"*","chunks":[],"async":false}},"4196":{"*":{"id":"32961","name":"*","chunks":[],"async":false}},"4295":{"*":{"id":"17593","name":"*","chunks":[],"async":false}},"4951":{"*":{"id":"47163","name":"*","chunks":[],"async":false}},"4970":{"*":{"id":"84978","name":"*","chunks":[],"async":false}},"5204":{"*":{"id":"81627","name":"*","chunks":[],"async":false}},"5282":{"*":{"id":"56690","name":"*","chunks":[],"async":false}},"5283":{"*":{"id":"66455","name":"*","chunks":[],"async":false}},"5640":{"*":{"id":"25506","name":"*","chunks":[],"async":false}},"5708":{"*":{"id":"78749","name":"*","chunks":[],"async":false}},"5754":{"*":{"id":"54450","name":"*","chunks":[],"async":false}},"5818":{"*":{"id":"38345","name":"*","chunks":[],"async":false}},"5948":{"*":{"id":"4006","name":"*","chunks":[],"async":false}},"6188":{"*":{"id":"44826","name":"*","chunks":[],"async":false}},"6191":{"*":{"id":"81373","name":"*","chunks":[],"async":false}},"6317":{"*":{"id":"78251","name":"*","chunks":[],"async":false}},"6658":{"*":{"id":"67034","name":"*","chunks":[],"async":false}},"6892":{"*":{"id":"70350","name":"*","chunks":[],"async":false}},"7099":{"*":{"id":"21747","name":"*","chunks":[],"async":false}},"7102":{"*":{"id":"31579","name":"*","chunks":[],"async":false}},"7623":{"*":{"id":"48357","name":"*","chunks":[],"async":false}},"7698":{"*":{"id":"20576","name":"*","chunks":[],"async":false}},"7704":{"*":{"id":"38100","name":"*","chunks":[],"async":false}},"7778":{"*":{"id":"53261","name":"*","chunks":[],"async":false}},"7970":{"*":{"id":"30289","name":"*","chunks":[],"async":false}},"8065":{"*":{"id":"44207","name":"*","chunks":[],"async":false}},"8325":{"*":{"id":"49294","name":"*","chunks":[],"async":false}},"8535":{"*":{"id":"90856","name":"*","chunks":[],"async":false}},"8554":{"*":{"id":"55555","name":"*","chunks":[],"async":false}},"8570":{"*":{"id":"56520","name":"*","chunks":[],"async":false}},"8703":{"*":{"id":"26715","name":"*","chunks":[],"async":false}},"8877":{"*":{"id":"99433","name":"*","chunks":[],"async":false}},"8935":{"*":{"id":"71034","name":"*","chunks":[],"async":false}},"8954":{"*":{"id":"56358","name":"*","chunks":[],"async":false}},"9297":{"*":{"id":"13271","name":"*","chunks":[],"async":false}},"9686":{"*":{"id":"67756","name":"*","chunks":[],"async":false}},"9857":{"*":{"id":"69109","name":"*","chunks":[],"async":false}},"9896":{"*":{"id":"12481","name":"*","chunks":[],"async":false}},"9947":{"*":{"id":"4504","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/Users/ciprian/work_cip/ulpi/hooks/node_modules/.pnpm/next@15.5.12_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/client/components/builtin/global-error.js":{"id":7698,"name":"*","chunks":[],"async":false},"/Users/ciprian/work_cip/ulpi/hooks/node_modules/.pnpm/next@15.5.12_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/esm/client/components/builtin/global-error.js":{"id":7698,"name":"*","chunks":[],"async":false},"/Users/ciprian/work_cip/ulpi/hooks/node_modules/.pnpm/next@15.5.12_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/client/components/client-page.js":{"id":3339,"name":"*","chunks":[],"async":false},"/Users/ciprian/work_cip/ulpi/hooks/node_modules/.pnpm/next@15.5.12_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/esm/client/components/client-page.js":{"id":3339,"name":"*","chunks":[],"async":false},"/Users/ciprian/work_cip/ulpi/hooks/node_modules/.pnpm/next@15.5.12_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/client/components/client-segment.js":{"id":4033,"name":"*","chunks":[],"async":false},"/Users/ciprian/work_cip/ulpi/hooks/node_modules/.pnpm/next@15.5.12_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/esm/client/components/client-segment.js":{"id":4033,"name":"*","chunks":[],"async":false},"/Users/ciprian/work_cip/ulpi/hooks/node_modules/.pnpm/next@15.5.12_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":5754,"name":"*","chunks":[],"async":false},"/Users/ciprian/work_cip/ulpi/hooks/node_modules/.pnpm/next@15.5.12_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":5754,"name":"*","chunks":[],"async":false},"/Users/ciprian/work_cip/ulpi/hooks/node_modules/.pnpm/next@15.5.12_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/client/components/layout-router.js":{"id":8954,"name":"*","chunks":[],"async":false},"/Users/ciprian/work_cip/ulpi/hooks/node_modules/.pnpm/next@15.5.12_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/esm/client/components/layout-router.js":{"id":8954,"name":"*","chunks":[],"async":false},"/Users/ciprian/work_cip/ulpi/hooks/node_modules/.pnpm/next@15.5.12_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/client/components/metadata/async-metadata.js":{"id":6658,"name":"*","chunks":[],"async":false},"/Users/ciprian/work_cip/ulpi/hooks/node_modules/.pnpm/next@15.5.12_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/esm/client/components/metadata/async-metadata.js":{"id":6658,"name":"*","chunks":[],"async":false},"/Users/ciprian/work_cip/ulpi/hooks/node_modules/.pnpm/next@15.5.12_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/client/components/render-from-template-context.js":{"id":5640,"name":"*","chunks":[],"async":false},"/Users/ciprian/work_cip/ulpi/hooks/node_modules/.pnpm/next@15.5.12_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":5640,"name":"*","chunks":[],"async":false},"/Users/ciprian/work_cip/ulpi/hooks/node_modules/.pnpm/next@15.5.12_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/lib/framework/boundary-components.js":{"id":2051,"name":"*","chunks":[],"async":false},"/Users/ciprian/work_cip/ulpi/hooks/node_modules/.pnpm/next@15.5.12_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/esm/lib/framework/boundary-components.js":{"id":2051,"name":"*","chunks":[],"async":false},"/Users/ciprian/work_cip/ulpi/hooks/node_modules/.pnpm/next@15.5.12_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/lib/metadata/generate/icon-mark.js":{"id":4970,"name":"*","chunks":[],"async":false},"/Users/ciprian/work_cip/ulpi/hooks/node_modules/.pnpm/next@15.5.12_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/esm/lib/metadata/generate/icon-mark.js":{"id":4970,"name":"*","chunks":[],"async":false},"/Users/ciprian/work_cip/ulpi/hooks/node_modules/.pnpm/next@15.5.12_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/font/google/target.css?{\"path\":\"src/app/layout.tsx\",\"import\":\"Inter\",\"arguments\":[{\"subsets\":[\"latin\"],\"variable\":\"--font-inter\",\"display\":\"swap\"}],\"variableName\":\"inter\"}":{"id":4338,"name":"*","chunks":["7177","static/chunks/app/layout-8d56830e207ce21d.js"],"async":false},"/Users/ciprian/work_cip/ulpi/hooks/node_modules/.pnpm/next@15.5.12_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/font/google/target.css?{\"path\":\"src/app/layout.tsx\",\"import\":\"JetBrains_Mono\",\"arguments\":[{\"subsets\":[\"latin\"],\"variable\":\"--font-jetbrains\"}],\"variableName\":\"jetbrainsMono\"}":{"id":3220,"name":"*","chunks":["7177","static/chunks/app/layout-8d56830e207ce21d.js"],"async":false},"/Users/ciprian/work_cip/ulpi/hooks/apps/portal/src/app/globals.css":{"id":9469,"name":"*","chunks":["7177","static/chunks/app/layout-8d56830e207ce21d.js"],"async":false},"/Users/ciprian/work_cip/ulpi/hooks/apps/portal/src/app/error.tsx":{"id":7704,"name":"*","chunks":["8039","static/chunks/app/error-78a7677dcd24ca1b.js"],"async":false},"/Users/ciprian/work_cip/ulpi/hooks/apps/portal/src/app/auth/callback/page.tsx":{"id":4116,"name":"*","chunks":[],"async":false},"/Users/ciprian/work_cip/ulpi/hooks/apps/portal/src/app/(dashboard)/layout.tsx":{"id":8535,"name":"*","chunks":["5935","static/chunks/5935-a39f44cf0cbaf28b.js","8934","static/chunks/8934-bb365eb647fb2d5a.js","9305","static/chunks/app/(dashboard)/layout-05fc9732a636a609.js"],"async":false},"/Users/ciprian/work_cip/ulpi/hooks/apps/portal/src/app/(dashboard)/codemap/page.tsx":{"id":5282,"name":"*","chunks":[],"async":false},"/Users/ciprian/work_cip/ulpi/hooks/apps/portal/src/app/(dashboard)/dashboard/page.tsx":{"id":6188,"name":"*","chunks":[],"async":false},"/Users/ciprian/work_cip/ulpi/hooks/apps/portal/src/app/(dashboard)/billing/page.tsx":{"id":7778,"name":"*","chunks":[],"async":false},"/Users/ciprian/work_cip/ulpi/hooks/apps/portal/src/app/(dashboard)/history/[sha]/transcript/page.tsx":{"id":8325,"name":"*","chunks":[],"async":false},"/Users/ciprian/work_cip/ulpi/hooks/apps/portal/src/app/(dashboard)/jobs/[id]/page.tsx":{"id":7102,"name":"*","chunks":[],"async":false},"/Users/ciprian/work_cip/ulpi/hooks/apps/portal/src/app/(dashboard)/history/page.tsx":{"id":9896,"name":"*","chunks":[],"async":false},"/Users/ciprian/work_cip/ulpi/hooks/apps/portal/src/app/(dashboard)/jobs/page.tsx":{"id":8554,"name":"*","chunks":[],"async":false},"/Users/ciprian/work_cip/ulpi/hooks/apps/portal/src/app/(dashboard)/loop/page.tsx":{"id":1452,"name":"*","chunks":[],"async":false},"/Users/ciprian/work_cip/ulpi/hooks/apps/portal/src/app/(dashboard)/mcps/[name]/page.tsx":{"id":6191,"name":"*","chunks":[],"async":false},"/Users/ciprian/work_cip/ulpi/hooks/apps/portal/src/app/(dashboard)/mcps/catalog/page.tsx":{"id":1131,"name":"*","chunks":[],"async":false},"/Users/ciprian/work_cip/ulpi/hooks/apps/portal/src/app/(dashboard)/mcps/page.tsx":{"id":3381,"name":"*","chunks":[],"async":false},"/Users/ciprian/work_cip/ulpi/hooks/apps/portal/src/app/(dashboard)/mcps/submissions/page.tsx":{"id":8877,"name":"*","chunks":[],"async":false},"/Users/ciprian/work_cip/ulpi/hooks/apps/portal/src/app/(dashboard)/mcps/secrets/page.tsx":{"id":4003,"name":"*","chunks":[],"async":false},"/Users/ciprian/work_cip/ulpi/hooks/apps/portal/src/app/(dashboard)/mcps/usage/page.tsx":{"id":9686,"name":"*","chunks":[],"async":false},"/Users/ciprian/work_cip/ulpi/hooks/apps/portal/src/app/(dashboard)/memory/page.tsx":{"id":7099,"name":"*","chunks":[],"async":false},"/Users/ciprian/work_cip/ulpi/hooks/apps/portal/src/app/(dashboard)/memory/settings/page.tsx":{"id":6317,"name":"*","chunks":[],"async":false},"/Users/ciprian/work_cip/ulpi/hooks/apps/portal/src/app/(dashboard)/memory/timeline/page.tsx":{"id":2603,"name":"*","chunks":[],"async":false},"/Users/ciprian/work_cip/ulpi/hooks/apps/portal/src/app/(dashboard)/notifications/page.tsx":{"id":6892,"name":"*","chunks":[],"async":false},"/Users/ciprian/work_cip/ulpi/hooks/apps/portal/src/app/(dashboard)/prd/page.tsx":{"id":5948,"name":"*","chunks":[],"async":false},"/Users/ciprian/work_cip/ulpi/hooks/apps/portal/src/app/(dashboard)/parallel/page.tsx":{"id":4196,"name":"*","chunks":["7889","static/chunks/7889-a3331988a8344d05.js","1600","static/chunks/app/(dashboard)/parallel/page-85690140ff82dd58.js"],"async":false},"/Users/ciprian/work_cip/ulpi/hooks/apps/portal/src/app/(dashboard)/repos/[id]/page.tsx":{"id":9857,"name":"*","chunks":[],"async":false},"/Users/ciprian/work_cip/ulpi/hooks/apps/portal/src/app/(dashboard)/review/config/page.tsx":{"id":5708,"name":"*","chunks":[],"async":false},"/Users/ciprian/work_cip/ulpi/hooks/apps/portal/src/app/(dashboard)/repos/page.tsx":{"id":1208,"name":"*","chunks":[],"async":false},"/Users/ciprian/work_cip/ulpi/hooks/apps/portal/src/app/(dashboard)/review/plan/page.tsx":{"id":5204,"name":"*","chunks":[],"async":false},"/Users/ciprian/work_cip/ulpi/hooks/apps/portal/src/app/(dashboard)/review/queue/page.tsx":{"id":3604,"name":"*","chunks":[],"async":false},"/Users/ciprian/work_cip/ulpi/hooks/apps/portal/src/app/(dashboard)/rules/[id]/page.tsx":{"id":8703,"name":"*","chunks":[],"async":false},"/Users/ciprian/work_cip/ulpi/hooks/apps/portal/src/app/(dashboard)/rules/new/page.tsx":{"id":2094,"name":"*","chunks":[],"async":false},"/Users/ciprian/work_cip/ulpi/hooks/apps/portal/src/app/(dashboard)/rules/page.tsx":{"id":7970,"name":"*","chunks":[],"async":false},"/Users/ciprian/work_cip/ulpi/hooks/apps/portal/src/app/(dashboard)/rules/pipelines/page.tsx":{"id":3747,"name":"*","chunks":[],"async":false},"/Users/ciprian/work_cip/ulpi/hooks/apps/portal/src/app/(dashboard)/settings/github/page.tsx":{"id":9297,"name":"*","chunks":[],"async":false},"/Users/ciprian/work_cip/ulpi/hooks/apps/portal/src/app/(dashboard)/sessions/[sessionId]/page.tsx":{"id":4951,"name":"*","chunks":[],"async":false},"/Users/ciprian/work_cip/ulpi/hooks/apps/portal/src/app/(dashboard)/settings/installations/page.tsx":{"id":5283,"name":"*","chunks":[],"async":false},"/Users/ciprian/work_cip/ulpi/hooks/apps/portal/src/app/(dashboard)/sessions/page.tsx":{"id":9947,"name":"*","chunks":[],"async":false},"/Users/ciprian/work_cip/ulpi/hooks/apps/portal/src/app/(dashboard)/settings/keys/page.tsx":{"id":8570,"name":"*","chunks":[],"async":false},"/Users/ciprian/work_cip/ulpi/hooks/apps/portal/src/app/(dashboard)/settings/orgs/new/page.tsx":{"id":2664,"name":"*","chunks":[],"async":false},"/Users/ciprian/work_cip/ulpi/hooks/apps/portal/src/app/(dashboard)/settings/page.tsx":{"id":27,"name":"*","chunks":[],"async":false},"/Users/ciprian/work_cip/ulpi/hooks/apps/portal/src/app/(dashboard)/settings/members/page.tsx":{"id":5818,"name":"*","chunks":[],"async":false},"/Users/ciprian/work_cip/ulpi/hooks/apps/portal/src/app/(dashboard)/skills/page.tsx":{"id":714,"name":"*","chunks":[],"async":false},"/Users/ciprian/work_cip/ulpi/hooks/apps/portal/src/app/(dashboard)/sprints/[batchId]/page.tsx":{"id":7623,"name":"*","chunks":[],"async":false},"/Users/ciprian/work_cip/ulpi/hooks/apps/portal/src/app/(dashboard)/sprints/page.tsx":{"id":8065,"name":"*","chunks":[],"async":false},"/Users/ciprian/work_cip/ulpi/hooks/apps/portal/src/app/(dashboard)/repos/[id]/guards/page.tsx":{"id":8935,"name":"*","chunks":[],"async":false},"/Users/ciprian/work_cip/ulpi/hooks/apps/portal/src/app/(dashboard)/templates/page.tsx":{"id":4295,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/Users/ciprian/work_cip/ulpi/hooks/apps/portal/src/":[],"/Users/ciprian/work_cip/ulpi/hooks/apps/portal/src/app/layout":[{"inlined":false,"path":"static/css/cf8a94d8f0136ff9.css"},{"inlined":false,"path":"static/css/d8d33dd99ab06e3d.css"}],"/Users/ciprian/work_cip/ulpi/hooks/apps/portal/src/app/error":[],"/Users/ciprian/work_cip/ulpi/hooks/apps/portal/src/app/(dashboard)/layout":[],"/Users/ciprian/work_cip/ulpi/hooks/apps/portal/src/app/(dashboard)/parallel/page":[]},"rscModuleMapping":{"27":{"*":{"id":"68099","name":"*","chunks":[],"async":false}},"714":{"*":{"id":"83540","name":"*","chunks":[],"async":false}},"1131":{"*":{"id":"74883","name":"*","chunks":[],"async":false}},"1208":{"*":{"id":"88441","name":"*","chunks":[],"async":false}},"1452":{"*":{"id":"88932","name":"*","chunks":[],"async":false}},"2051":{"*":{"id":"55273","name":"*","chunks":[],"async":false}},"2094":{"*":{"id":"85014","name":"*","chunks":[],"async":false}},"2603":{"*":{"id":"31191","name":"*","chunks":[],"async":false}},"2664":{"*":{"id":"60624","name":"*","chunks":[],"async":false}},"3339":{"*":{"id":"65701","name":"*","chunks":[],"async":false}},"3381":{"*":{"id":"76811","name":"*","chunks":[],"async":false}},"3604":{"*":{"id":"13986","name":"*","chunks":[],"async":false}},"3747":{"*":{"id":"73811","name":"*","chunks":[],"async":false}},"4003":{"*":{"id":"11449","name":"*","chunks":[],"async":false}},"4033":{"*":{"id":"68709","name":"*","chunks":[],"async":false}},"4116":{"*":{"id":"6664","name":"*","chunks":[],"async":false}},"4196":{"*":{"id":"38021","name":"*","chunks":[],"async":false}},"4295":{"*":{"id":"10299","name":"*","chunks":[],"async":false}},"4951":{"*":{"id":"47225","name":"*","chunks":[],"async":false}},"4970":{"*":{"id":"61824","name":"*","chunks":[],"async":false}},"5204":{"*":{"id":"61526","name":"*","chunks":[],"async":false}},"5282":{"*":{"id":"70325","name":"*","chunks":[],"async":false}},"5283":{"*":{"id":"79921","name":"*","chunks":[],"async":false}},"5640":{"*":{"id":"11968","name":"*","chunks":[],"async":false}},"5708":{"*":{"id":"31495","name":"*","chunks":[],"async":false}},"5754":{"*":{"id":"60492","name":"*","chunks":[],"async":false}},"5818":{"*":{"id":"67603","name":"*","chunks":[],"async":false}},"5948":{"*":{"id":"73094","name":"*","chunks":[],"async":false}},"6188":{"*":{"id":"1528","name":"*","chunks":[],"async":false}},"6191":{"*":{"id":"49647","name":"*","chunks":[],"async":false}},"6317":{"*":{"id":"19301","name":"*","chunks":[],"async":false}},"6658":{"*":{"id":"65800","name":"*","chunks":[],"async":false}},"6892":{"*":{"id":"1880","name":"*","chunks":[],"async":false}},"7099":{"*":{"id":"10501","name":"*","chunks":[],"async":false}},"7102":{"*":{"id":"27414","name":"*","chunks":[],"async":false}},"7623":{"*":{"id":"17323","name":"*","chunks":[],"async":false}},"7698":{"*":{"id":"2714","name":"*","chunks":[],"async":false}},"7704":{"*":{"id":"10538","name":"*","chunks":[],"async":false}},"7778":{"*":{"id":"90071","name":"*","chunks":[],"async":false}},"7970":{"*":{"id":"69799","name":"*","chunks":[],"async":false}},"8065":{"*":{"id":"65549","name":"*","chunks":[],"async":false}},"8325":{"*":{"id":"60896","name":"*","chunks":[],"async":false}},"8535":{"*":{"id":"45460","name":"*","chunks":[],"async":false}},"8554":{"*":{"id":"34362","name":"*","chunks":[],"async":false}},"8570":{"*":{"id":"23906","name":"*","chunks":[],"async":false}},"8703":{"*":{"id":"83085","name":"*","chunks":[],"async":false}},"8877":{"*":{"id":"92429","name":"*","chunks":[],"async":false}},"8935":{"*":{"id":"33972","name":"*","chunks":[],"async":false}},"8954":{"*":{"id":"13012","name":"*","chunks":[],"async":false}},"9297":{"*":{"id":"91121","name":"*","chunks":[],"async":false}},"9469":{"*":{"id":"44267","name":"*","chunks":[],"async":false}},"9686":{"*":{"id":"11727","name":"*","chunks":[],"async":false}},"9857":{"*":{"id":"51891","name":"*","chunks":[],"async":false}},"9896":{"*":{"id":"39536","name":"*","chunks":[],"async":false}},"9947":{"*":{"id":"17279","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{"2051":{"*":{"id":"2455","name":"*","chunks":[],"async":false}},"3339":{"*":{"id":"60611","name":"*","chunks":[],"async":false}},"4033":{"*":{"id":"55519","name":"*","chunks":[],"async":false}},"4970":{"*":{"id":"84978","name":"*","chunks":[],"async":false}},"5640":{"*":{"id":"25506","name":"*","chunks":[],"async":false}},"5754":{"*":{"id":"54450","name":"*","chunks":[],"async":false}},"6658":{"*":{"id":"67034","name":"*","chunks":[],"async":false}},"7698":{"*":{"id":"20576","name":"*","chunks":[],"async":false}},"8954":{"*":{"id":"56358","name":"*","chunks":[],"async":false}}}}
|
|
1
|
+
globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/(dashboard)/parallel/page"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"27":{"*":{"id":"64619","name":"*","chunks":[],"async":false}},"714":{"*":{"id":"54878","name":"*","chunks":[],"async":false}},"1131":{"*":{"id":"18061","name":"*","chunks":[],"async":false}},"1208":{"*":{"id":"76957","name":"*","chunks":[],"async":false}},"1452":{"*":{"id":"27579","name":"*","chunks":[],"async":false}},"2051":{"*":{"id":"2455","name":"*","chunks":[],"async":false}},"2094":{"*":{"id":"22164","name":"*","chunks":[],"async":false}},"2603":{"*":{"id":"81905","name":"*","chunks":[],"async":false}},"2664":{"*":{"id":"10810","name":"*","chunks":[],"async":false}},"3339":{"*":{"id":"60611","name":"*","chunks":[],"async":false}},"3381":{"*":{"id":"47770","name":"*","chunks":[],"async":false}},"3604":{"*":{"id":"95616","name":"*","chunks":[],"async":false}},"3747":{"*":{"id":"4153","name":"*","chunks":[],"async":false}},"4003":{"*":{"id":"59083","name":"*","chunks":[],"async":false}},"4033":{"*":{"id":"55519","name":"*","chunks":[],"async":false}},"4116":{"*":{"id":"79898","name":"*","chunks":[],"async":false}},"4196":{"*":{"id":"32961","name":"*","chunks":[],"async":false}},"4295":{"*":{"id":"17593","name":"*","chunks":[],"async":false}},"4721":{"*":{"id":"31579","name":"*","chunks":[],"async":false}},"4951":{"*":{"id":"47163","name":"*","chunks":[],"async":false}},"4970":{"*":{"id":"84978","name":"*","chunks":[],"async":false}},"5204":{"*":{"id":"81627","name":"*","chunks":[],"async":false}},"5282":{"*":{"id":"56690","name":"*","chunks":[],"async":false}},"5283":{"*":{"id":"66455","name":"*","chunks":[],"async":false}},"5640":{"*":{"id":"25506","name":"*","chunks":[],"async":false}},"5708":{"*":{"id":"78749","name":"*","chunks":[],"async":false}},"5754":{"*":{"id":"54450","name":"*","chunks":[],"async":false}},"5818":{"*":{"id":"38345","name":"*","chunks":[],"async":false}},"5948":{"*":{"id":"4006","name":"*","chunks":[],"async":false}},"6188":{"*":{"id":"44826","name":"*","chunks":[],"async":false}},"6191":{"*":{"id":"81373","name":"*","chunks":[],"async":false}},"6317":{"*":{"id":"78251","name":"*","chunks":[],"async":false}},"6658":{"*":{"id":"67034","name":"*","chunks":[],"async":false}},"6892":{"*":{"id":"70350","name":"*","chunks":[],"async":false}},"7099":{"*":{"id":"21747","name":"*","chunks":[],"async":false}},"7623":{"*":{"id":"48357","name":"*","chunks":[],"async":false}},"7698":{"*":{"id":"20576","name":"*","chunks":[],"async":false}},"7704":{"*":{"id":"38100","name":"*","chunks":[],"async":false}},"7778":{"*":{"id":"53261","name":"*","chunks":[],"async":false}},"7970":{"*":{"id":"30289","name":"*","chunks":[],"async":false}},"8065":{"*":{"id":"44207","name":"*","chunks":[],"async":false}},"8325":{"*":{"id":"49294","name":"*","chunks":[],"async":false}},"8535":{"*":{"id":"90856","name":"*","chunks":[],"async":false}},"8554":{"*":{"id":"55555","name":"*","chunks":[],"async":false}},"8570":{"*":{"id":"56520","name":"*","chunks":[],"async":false}},"8703":{"*":{"id":"26715","name":"*","chunks":[],"async":false}},"8877":{"*":{"id":"99433","name":"*","chunks":[],"async":false}},"8935":{"*":{"id":"71034","name":"*","chunks":[],"async":false}},"8954":{"*":{"id":"56358","name":"*","chunks":[],"async":false}},"9297":{"*":{"id":"13271","name":"*","chunks":[],"async":false}},"9686":{"*":{"id":"67756","name":"*","chunks":[],"async":false}},"9857":{"*":{"id":"69109","name":"*","chunks":[],"async":false}},"9896":{"*":{"id":"12481","name":"*","chunks":[],"async":false}},"9947":{"*":{"id":"4504","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/Users/ciprian/work_cip/ulpi/hooks/node_modules/.pnpm/next@15.5.12_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/client/components/builtin/global-error.js":{"id":7698,"name":"*","chunks":[],"async":false},"/Users/ciprian/work_cip/ulpi/hooks/node_modules/.pnpm/next@15.5.12_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/esm/client/components/builtin/global-error.js":{"id":7698,"name":"*","chunks":[],"async":false},"/Users/ciprian/work_cip/ulpi/hooks/node_modules/.pnpm/next@15.5.12_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/client/components/client-page.js":{"id":3339,"name":"*","chunks":[],"async":false},"/Users/ciprian/work_cip/ulpi/hooks/node_modules/.pnpm/next@15.5.12_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/esm/client/components/client-page.js":{"id":3339,"name":"*","chunks":[],"async":false},"/Users/ciprian/work_cip/ulpi/hooks/node_modules/.pnpm/next@15.5.12_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/client/components/client-segment.js":{"id":4033,"name":"*","chunks":[],"async":false},"/Users/ciprian/work_cip/ulpi/hooks/node_modules/.pnpm/next@15.5.12_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/esm/client/components/client-segment.js":{"id":4033,"name":"*","chunks":[],"async":false},"/Users/ciprian/work_cip/ulpi/hooks/node_modules/.pnpm/next@15.5.12_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":5754,"name":"*","chunks":[],"async":false},"/Users/ciprian/work_cip/ulpi/hooks/node_modules/.pnpm/next@15.5.12_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":5754,"name":"*","chunks":[],"async":false},"/Users/ciprian/work_cip/ulpi/hooks/node_modules/.pnpm/next@15.5.12_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/client/components/layout-router.js":{"id":8954,"name":"*","chunks":[],"async":false},"/Users/ciprian/work_cip/ulpi/hooks/node_modules/.pnpm/next@15.5.12_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/esm/client/components/layout-router.js":{"id":8954,"name":"*","chunks":[],"async":false},"/Users/ciprian/work_cip/ulpi/hooks/node_modules/.pnpm/next@15.5.12_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/client/components/metadata/async-metadata.js":{"id":6658,"name":"*","chunks":[],"async":false},"/Users/ciprian/work_cip/ulpi/hooks/node_modules/.pnpm/next@15.5.12_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/esm/client/components/metadata/async-metadata.js":{"id":6658,"name":"*","chunks":[],"async":false},"/Users/ciprian/work_cip/ulpi/hooks/node_modules/.pnpm/next@15.5.12_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/client/components/render-from-template-context.js":{"id":5640,"name":"*","chunks":[],"async":false},"/Users/ciprian/work_cip/ulpi/hooks/node_modules/.pnpm/next@15.5.12_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":5640,"name":"*","chunks":[],"async":false},"/Users/ciprian/work_cip/ulpi/hooks/node_modules/.pnpm/next@15.5.12_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/lib/framework/boundary-components.js":{"id":2051,"name":"*","chunks":[],"async":false},"/Users/ciprian/work_cip/ulpi/hooks/node_modules/.pnpm/next@15.5.12_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/esm/lib/framework/boundary-components.js":{"id":2051,"name":"*","chunks":[],"async":false},"/Users/ciprian/work_cip/ulpi/hooks/node_modules/.pnpm/next@15.5.12_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/lib/metadata/generate/icon-mark.js":{"id":4970,"name":"*","chunks":[],"async":false},"/Users/ciprian/work_cip/ulpi/hooks/node_modules/.pnpm/next@15.5.12_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/esm/lib/metadata/generate/icon-mark.js":{"id":4970,"name":"*","chunks":[],"async":false},"/Users/ciprian/work_cip/ulpi/hooks/node_modules/.pnpm/next@15.5.12_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/font/google/target.css?{\"path\":\"src/app/layout.tsx\",\"import\":\"Inter\",\"arguments\":[{\"subsets\":[\"latin\"],\"variable\":\"--font-inter\",\"display\":\"swap\"}],\"variableName\":\"inter\"}":{"id":4338,"name":"*","chunks":["7177","static/chunks/app/layout-8d56830e207ce21d.js"],"async":false},"/Users/ciprian/work_cip/ulpi/hooks/node_modules/.pnpm/next@15.5.12_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/font/google/target.css?{\"path\":\"src/app/layout.tsx\",\"import\":\"JetBrains_Mono\",\"arguments\":[{\"subsets\":[\"latin\"],\"variable\":\"--font-jetbrains\"}],\"variableName\":\"jetbrainsMono\"}":{"id":3220,"name":"*","chunks":["7177","static/chunks/app/layout-8d56830e207ce21d.js"],"async":false},"/Users/ciprian/work_cip/ulpi/hooks/apps/portal/src/app/globals.css":{"id":9469,"name":"*","chunks":["7177","static/chunks/app/layout-8d56830e207ce21d.js"],"async":false},"/Users/ciprian/work_cip/ulpi/hooks/apps/portal/src/app/error.tsx":{"id":7704,"name":"*","chunks":["8039","static/chunks/app/error-78a7677dcd24ca1b.js"],"async":false},"/Users/ciprian/work_cip/ulpi/hooks/apps/portal/src/app/auth/callback/page.tsx":{"id":4116,"name":"*","chunks":[],"async":false},"/Users/ciprian/work_cip/ulpi/hooks/apps/portal/src/app/(dashboard)/layout.tsx":{"id":8535,"name":"*","chunks":["5935","static/chunks/5935-a39f44cf0cbaf28b.js","8934","static/chunks/8934-bb365eb647fb2d5a.js","9305","static/chunks/app/(dashboard)/layout-05fc9732a636a609.js"],"async":false},"/Users/ciprian/work_cip/ulpi/hooks/apps/portal/src/app/(dashboard)/billing/page.tsx":{"id":7778,"name":"*","chunks":[],"async":false},"/Users/ciprian/work_cip/ulpi/hooks/apps/portal/src/app/(dashboard)/history/[sha]/transcript/page.tsx":{"id":8325,"name":"*","chunks":[],"async":false},"/Users/ciprian/work_cip/ulpi/hooks/apps/portal/src/app/(dashboard)/dashboard/page.tsx":{"id":6188,"name":"*","chunks":[],"async":false},"/Users/ciprian/work_cip/ulpi/hooks/apps/portal/src/app/(dashboard)/jobs/page.tsx":{"id":8554,"name":"*","chunks":[],"async":false},"/Users/ciprian/work_cip/ulpi/hooks/apps/portal/src/app/(dashboard)/loop/page.tsx":{"id":1452,"name":"*","chunks":[],"async":false},"/Users/ciprian/work_cip/ulpi/hooks/apps/portal/src/app/(dashboard)/codemap/page.tsx":{"id":5282,"name":"*","chunks":[],"async":false},"/Users/ciprian/work_cip/ulpi/hooks/apps/portal/src/app/(dashboard)/history/page.tsx":{"id":9896,"name":"*","chunks":[],"async":false},"/Users/ciprian/work_cip/ulpi/hooks/apps/portal/src/app/(dashboard)/mcps/secrets/page.tsx":{"id":4003,"name":"*","chunks":[],"async":false},"/Users/ciprian/work_cip/ulpi/hooks/apps/portal/src/app/(dashboard)/mcps/usage/page.tsx":{"id":9686,"name":"*","chunks":[],"async":false},"/Users/ciprian/work_cip/ulpi/hooks/apps/portal/src/app/(dashboard)/mcps/catalog/page.tsx":{"id":1131,"name":"*","chunks":[],"async":false},"/Users/ciprian/work_cip/ulpi/hooks/apps/portal/src/app/(dashboard)/mcps/submissions/page.tsx":{"id":8877,"name":"*","chunks":[],"async":false},"/Users/ciprian/work_cip/ulpi/hooks/apps/portal/src/app/(dashboard)/memory/settings/page.tsx":{"id":6317,"name":"*","chunks":[],"async":false},"/Users/ciprian/work_cip/ulpi/hooks/apps/portal/src/app/(dashboard)/mcps/[name]/page.tsx":{"id":6191,"name":"*","chunks":[],"async":false},"/Users/ciprian/work_cip/ulpi/hooks/apps/portal/src/app/(dashboard)/memory/page.tsx":{"id":7099,"name":"*","chunks":[],"async":false},"/Users/ciprian/work_cip/ulpi/hooks/apps/portal/src/app/(dashboard)/parallel/page.tsx":{"id":4196,"name":"*","chunks":["7889","static/chunks/7889-a3331988a8344d05.js","1600","static/chunks/app/(dashboard)/parallel/page-49a26690ced20482.js"],"async":false},"/Users/ciprian/work_cip/ulpi/hooks/apps/portal/src/app/(dashboard)/memory/timeline/page.tsx":{"id":2603,"name":"*","chunks":[],"async":false},"/Users/ciprian/work_cip/ulpi/hooks/apps/portal/src/app/(dashboard)/repos/[id]/page.tsx":{"id":9857,"name":"*","chunks":[],"async":false},"/Users/ciprian/work_cip/ulpi/hooks/apps/portal/src/app/(dashboard)/review/config/page.tsx":{"id":5708,"name":"*","chunks":[],"async":false},"/Users/ciprian/work_cip/ulpi/hooks/apps/portal/src/app/(dashboard)/review/plan/page.tsx":{"id":5204,"name":"*","chunks":[],"async":false},"/Users/ciprian/work_cip/ulpi/hooks/apps/portal/src/app/(dashboard)/rules/[id]/page.tsx":{"id":8703,"name":"*","chunks":[],"async":false},"/Users/ciprian/work_cip/ulpi/hooks/apps/portal/src/app/(dashboard)/prd/page.tsx":{"id":5948,"name":"*","chunks":[],"async":false},"/Users/ciprian/work_cip/ulpi/hooks/apps/portal/src/app/(dashboard)/rules/new/page.tsx":{"id":2094,"name":"*","chunks":[],"async":false},"/Users/ciprian/work_cip/ulpi/hooks/apps/portal/src/app/(dashboard)/review/queue/page.tsx":{"id":3604,"name":"*","chunks":[],"async":false},"/Users/ciprian/work_cip/ulpi/hooks/apps/portal/src/app/(dashboard)/repos/page.tsx":{"id":1208,"name":"*","chunks":[],"async":false},"/Users/ciprian/work_cip/ulpi/hooks/apps/portal/src/app/(dashboard)/sessions/[sessionId]/page.tsx":{"id":4951,"name":"*","chunks":[],"async":false},"/Users/ciprian/work_cip/ulpi/hooks/apps/portal/src/app/(dashboard)/jobs/[id]/page.tsx":{"id":4721,"name":"*","chunks":[],"async":false},"/Users/ciprian/work_cip/ulpi/hooks/apps/portal/src/app/(dashboard)/settings/installations/page.tsx":{"id":5283,"name":"*","chunks":[],"async":false},"/Users/ciprian/work_cip/ulpi/hooks/apps/portal/src/app/(dashboard)/notifications/page.tsx":{"id":6892,"name":"*","chunks":[],"async":false},"/Users/ciprian/work_cip/ulpi/hooks/apps/portal/src/app/(dashboard)/settings/keys/page.tsx":{"id":8570,"name":"*","chunks":[],"async":false},"/Users/ciprian/work_cip/ulpi/hooks/apps/portal/src/app/(dashboard)/sessions/page.tsx":{"id":9947,"name":"*","chunks":[],"async":false},"/Users/ciprian/work_cip/ulpi/hooks/apps/portal/src/app/(dashboard)/settings/github/page.tsx":{"id":9297,"name":"*","chunks":[],"async":false},"/Users/ciprian/work_cip/ulpi/hooks/apps/portal/src/app/(dashboard)/rules/page.tsx":{"id":7970,"name":"*","chunks":[],"async":false},"/Users/ciprian/work_cip/ulpi/hooks/apps/portal/src/app/(dashboard)/rules/pipelines/page.tsx":{"id":3747,"name":"*","chunks":[],"async":false},"/Users/ciprian/work_cip/ulpi/hooks/apps/portal/src/app/(dashboard)/skills/page.tsx":{"id":714,"name":"*","chunks":[],"async":false},"/Users/ciprian/work_cip/ulpi/hooks/apps/portal/src/app/(dashboard)/sprints/[batchId]/page.tsx":{"id":7623,"name":"*","chunks":[],"async":false},"/Users/ciprian/work_cip/ulpi/hooks/apps/portal/src/app/(dashboard)/settings/orgs/new/page.tsx":{"id":2664,"name":"*","chunks":[],"async":false},"/Users/ciprian/work_cip/ulpi/hooks/apps/portal/src/app/(dashboard)/sprints/page.tsx":{"id":8065,"name":"*","chunks":[],"async":false},"/Users/ciprian/work_cip/ulpi/hooks/apps/portal/src/app/(dashboard)/settings/page.tsx":{"id":27,"name":"*","chunks":[],"async":false},"/Users/ciprian/work_cip/ulpi/hooks/apps/portal/src/app/(dashboard)/mcps/page.tsx":{"id":3381,"name":"*","chunks":[],"async":false},"/Users/ciprian/work_cip/ulpi/hooks/apps/portal/src/app/(dashboard)/settings/members/page.tsx":{"id":5818,"name":"*","chunks":[],"async":false},"/Users/ciprian/work_cip/ulpi/hooks/apps/portal/src/app/(dashboard)/repos/[id]/guards/page.tsx":{"id":8935,"name":"*","chunks":[],"async":false},"/Users/ciprian/work_cip/ulpi/hooks/apps/portal/src/app/(dashboard)/templates/page.tsx":{"id":4295,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/Users/ciprian/work_cip/ulpi/hooks/apps/portal/src/":[],"/Users/ciprian/work_cip/ulpi/hooks/apps/portal/src/app/layout":[{"inlined":false,"path":"static/css/cf8a94d8f0136ff9.css"},{"inlined":false,"path":"static/css/d8d33dd99ab06e3d.css"}],"/Users/ciprian/work_cip/ulpi/hooks/apps/portal/src/app/error":[],"/Users/ciprian/work_cip/ulpi/hooks/apps/portal/src/app/(dashboard)/layout":[],"/Users/ciprian/work_cip/ulpi/hooks/apps/portal/src/app/(dashboard)/parallel/page":[]},"rscModuleMapping":{"27":{"*":{"id":"68099","name":"*","chunks":[],"async":false}},"714":{"*":{"id":"83540","name":"*","chunks":[],"async":false}},"1131":{"*":{"id":"74883","name":"*","chunks":[],"async":false}},"1208":{"*":{"id":"88441","name":"*","chunks":[],"async":false}},"1452":{"*":{"id":"88932","name":"*","chunks":[],"async":false}},"2051":{"*":{"id":"55273","name":"*","chunks":[],"async":false}},"2094":{"*":{"id":"85014","name":"*","chunks":[],"async":false}},"2603":{"*":{"id":"31191","name":"*","chunks":[],"async":false}},"2664":{"*":{"id":"60624","name":"*","chunks":[],"async":false}},"3339":{"*":{"id":"65701","name":"*","chunks":[],"async":false}},"3381":{"*":{"id":"76811","name":"*","chunks":[],"async":false}},"3604":{"*":{"id":"13986","name":"*","chunks":[],"async":false}},"3747":{"*":{"id":"73811","name":"*","chunks":[],"async":false}},"4003":{"*":{"id":"11449","name":"*","chunks":[],"async":false}},"4033":{"*":{"id":"68709","name":"*","chunks":[],"async":false}},"4116":{"*":{"id":"6664","name":"*","chunks":[],"async":false}},"4196":{"*":{"id":"38021","name":"*","chunks":[],"async":false}},"4295":{"*":{"id":"10299","name":"*","chunks":[],"async":false}},"4721":{"*":{"id":"27414","name":"*","chunks":[],"async":false}},"4951":{"*":{"id":"47225","name":"*","chunks":[],"async":false}},"4970":{"*":{"id":"61824","name":"*","chunks":[],"async":false}},"5204":{"*":{"id":"61526","name":"*","chunks":[],"async":false}},"5282":{"*":{"id":"70325","name":"*","chunks":[],"async":false}},"5283":{"*":{"id":"79921","name":"*","chunks":[],"async":false}},"5640":{"*":{"id":"11968","name":"*","chunks":[],"async":false}},"5708":{"*":{"id":"31495","name":"*","chunks":[],"async":false}},"5754":{"*":{"id":"60492","name":"*","chunks":[],"async":false}},"5818":{"*":{"id":"67603","name":"*","chunks":[],"async":false}},"5948":{"*":{"id":"73094","name":"*","chunks":[],"async":false}},"6188":{"*":{"id":"1528","name":"*","chunks":[],"async":false}},"6191":{"*":{"id":"49647","name":"*","chunks":[],"async":false}},"6317":{"*":{"id":"19301","name":"*","chunks":[],"async":false}},"6658":{"*":{"id":"65800","name":"*","chunks":[],"async":false}},"6892":{"*":{"id":"1880","name":"*","chunks":[],"async":false}},"7099":{"*":{"id":"10501","name":"*","chunks":[],"async":false}},"7623":{"*":{"id":"17323","name":"*","chunks":[],"async":false}},"7698":{"*":{"id":"2714","name":"*","chunks":[],"async":false}},"7704":{"*":{"id":"10538","name":"*","chunks":[],"async":false}},"7778":{"*":{"id":"90071","name":"*","chunks":[],"async":false}},"7970":{"*":{"id":"69799","name":"*","chunks":[],"async":false}},"8065":{"*":{"id":"65549","name":"*","chunks":[],"async":false}},"8325":{"*":{"id":"60896","name":"*","chunks":[],"async":false}},"8535":{"*":{"id":"45460","name":"*","chunks":[],"async":false}},"8554":{"*":{"id":"34362","name":"*","chunks":[],"async":false}},"8570":{"*":{"id":"23906","name":"*","chunks":[],"async":false}},"8703":{"*":{"id":"83085","name":"*","chunks":[],"async":false}},"8877":{"*":{"id":"92429","name":"*","chunks":[],"async":false}},"8935":{"*":{"id":"33972","name":"*","chunks":[],"async":false}},"8954":{"*":{"id":"13012","name":"*","chunks":[],"async":false}},"9297":{"*":{"id":"91121","name":"*","chunks":[],"async":false}},"9469":{"*":{"id":"44267","name":"*","chunks":[],"async":false}},"9686":{"*":{"id":"11727","name":"*","chunks":[],"async":false}},"9857":{"*":{"id":"51891","name":"*","chunks":[],"async":false}},"9896":{"*":{"id":"39536","name":"*","chunks":[],"async":false}},"9947":{"*":{"id":"17279","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{"2051":{"*":{"id":"2455","name":"*","chunks":[],"async":false}},"3339":{"*":{"id":"60611","name":"*","chunks":[],"async":false}},"4033":{"*":{"id":"55519","name":"*","chunks":[],"async":false}},"4970":{"*":{"id":"84978","name":"*","chunks":[],"async":false}},"5640":{"*":{"id":"25506","name":"*","chunks":[],"async":false}},"5754":{"*":{"id":"54450","name":"*","chunks":[],"async":false}},"6658":{"*":{"id":"67034","name":"*","chunks":[],"async":false}},"7698":{"*":{"id":"20576","name":"*","chunks":[],"async":false}},"8954":{"*":{"id":"56358","name":"*","chunks":[],"async":false}}}}
|