@ai-development-environment/server 0.0.73 → 0.0.75
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/package.json +1 -1
- package/standalone/.next/BUILD_ID +1 -1
- package/standalone/.next/build-manifest.json +3 -3
- package/standalone/.next/prerender-manifest.json +3 -3
- package/standalone/.next/server/app/[locale]/agents/[id]/page_client-reference-manifest.js +1 -1
- package/standalone/.next/server/app/[locale]/workflows/[workflowId]/page_client-reference-manifest.js +1 -1
- package/standalone/.next/server/app/[locale]/workflows/runs/[runId]/page_client-reference-manifest.js +1 -1
- package/standalone/.next/server/app/[locale]/worktrees/[worktreeId]/page_client-reference-manifest.js +1 -1
- package/standalone/.next/server/app/_global-error.html +1 -1
- package/standalone/.next/server/app/_global-error.rsc +1 -1
- package/standalone/.next/server/app/_global-error.segments/__PAGE__.segment.rsc +1 -1
- package/standalone/.next/server/app/_global-error.segments/_full.segment.rsc +1 -1
- package/standalone/.next/server/app/_global-error.segments/_head.segment.rsc +1 -1
- package/standalone/.next/server/app/_global-error.segments/_index.segment.rsc +1 -1
- package/standalone/.next/server/app/_global-error.segments/_tree.segment.rsc +1 -1
- package/standalone/.next/server/app/_not-found.html +1 -1
- package/standalone/.next/server/app/_not-found.rsc +1 -1
- package/standalone/.next/server/app/_not-found.segments/_full.segment.rsc +1 -1
- package/standalone/.next/server/app/_not-found.segments/_head.segment.rsc +1 -1
- package/standalone/.next/server/app/_not-found.segments/_index.segment.rsc +1 -1
- package/standalone/.next/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc +1 -1
- package/standalone/.next/server/app/_not-found.segments/_not-found.segment.rsc +1 -1
- package/standalone/.next/server/app/_not-found.segments/_tree.segment.rsc +1 -1
- package/standalone/.next/server/chunks/ssr/[root-of-the-server]__1sgvu-z._.js +1 -1
- package/standalone/.next/server/chunks/ssr/_0b1u319._.js +1 -1
- package/standalone/.next/server/chunks/ssr/_1akze3s._.js +1 -1
- package/standalone/.next/server/chunks/ssr/src_components_agents_agent-detail_tsx_0lfa4ui._.js +1 -1
- package/standalone/.next/server/middleware-build-manifest.js +3 -3
- package/standalone/.next/server/pages/404.html +1 -1
- package/standalone/.next/server/pages/500.html +1 -1
- package/standalone/.next/server/server-reference-manifest.js +1 -1
- package/standalone/.next/server/server-reference-manifest.json +1 -1
- package/standalone/.next/static/chunks/{0rbaf8cfwgthk.js → 0h0npndwya18t.js} +1 -1
- package/standalone/.next/static/chunks/{0c1y05nsk3zkr.js → 1hunlri0o0jqq.js} +1 -1
- package/standalone/.next/static/chunks/{06tyjb620cbtm.js → 2mw337-dmyuok.js} +1 -1
- package/standalone/.next/static/chunks/{3ys8oeximgif6.js → 42gfgjx-jd2c1.js} +1 -1
- /package/standalone/.next/static/{nbE1-Qv1XUnoSNBEo7ZK8 → IdLHkgVgnALInrGzq6zeW}/_buildManifest.js +0 -0
- /package/standalone/.next/static/{nbE1-Qv1XUnoSNBEo7ZK8 → IdLHkgVgnALInrGzq6zeW}/_clientMiddlewareManifest.js +0 -0
- /package/standalone/.next/static/{nbE1-Qv1XUnoSNBEo7ZK8 → IdLHkgVgnALInrGzq6zeW}/_ssgManifest.js +0 -0
|
@@ -36,4 +36,4 @@
|
|
|
36
36
|
updateAgentBaseRepoDirectory(agentId: $agentId, baseRepoDirectory: $baseRepoDirectory) {
|
|
37
37
|
${F.AGENT_FIELDS}
|
|
38
38
|
}
|
|
39
|
-
}`,{agentId:e,baseRepoDirectory:t});N(a.updateAgentBaseRepoDirectory)}catch(e){ex(e instanceof Error?e.message:String(e))}finally{eo(!1)}},ep=(0,m.useCallback)((e,t=!1)=>{k(t=>U(t,e)),t&&ea(e.id)},[]),ej=async()=>{ed(!0),er(null);try{await (0,H.controlPlaneRequest)("mutation DeleteAgent($agentId: ID!) { deleteAgent(agentId: $agentId) }",{agentId:e}),d.push("/agents")}catch(e){er(e instanceof Error?e.message:String(e)),ed(!1)}};if(es)return(0,t.jsxs)("p",{className:"mx-auto flex max-w-6xl items-center gap-2 text-sm text-muted-foreground",children:[(0,t.jsx)(R.Spinner,{}),s("loading")]});let ev=O?.volumes.find(e=>e.roles.includes("MAIN")),eC=O?.volumes.find(e=>e.roles.includes("BASE_REPO")&&e.id!==ev?.id);if(en&&!u)return(0,t.jsx)("p",{className:"mx-auto max-w-6xl text-sm text-destructive",children:en});if(!u)return(0,t.jsx)("p",{className:"mx-auto max-w-6xl text-sm text-muted-foreground",children:s("notFound")});let eS="ONLINE"===u.connectionStatus&&u.capabilities.includes(a.CODEBASE_BROWSE_JOB_KIND),eD=u.capabilities.filter(e=>"command.run"!==e&&e.toLocaleLowerCase().includes(Z.toLocaleLowerCase()));return(0,t.jsxs)("div",{className:"mx-auto flex w-full max-w-[1500px] flex-col gap-6",children:[(0,t.jsxs)("div",{className:"flex flex-wrap items-start justify-between gap-4",children:[(0,t.jsxs)("div",{children:[(0,t.jsxs)("div",{className:"flex flex-wrap items-center gap-2",children:[(0,t.jsx)("h1",{className:"text-2xl font-semibold tracking-tight",children:u.name}),(0,t.jsx)(p.StatusBadge,{status:u.connectionStatus})]}),(0,t.jsxs)("p",{className:"mt-1 text-sm text-muted-foreground",children:[u.hostname," · ",u.osVersion," · ",u.architecture]}),(0,t.jsx)("p",{className:"mt-1 font-mono text-xs text-muted-foreground",children:u.id})]}),(0,t.jsx)("div",{className:"flex flex-wrap gap-2",children:(0,t.jsx)(S.ConfirmationDialog,{actionLabel:s("deleteAgent"),cancelLabel:r("cancel"),description:s("deleteAgentDescription",{name:u.name}),onConfirm:ej,title:s("deleteAgentTitle"),trigger:(0,t.jsxs)(f.Button,{disabled:el,variant:"destructive",children:[el?(0,t.jsx)(R.Spinner,{}):(0,t.jsx)(o.Trash2,{}),s("deleteAgent")]})})})]}),en&&(0,t.jsx)(I.Alert,{variant:"destructive",children:(0,t.jsx)(I.AlertDescription,{children:en})}),(0,t.jsxs)(T.Card,{children:[(0,t.jsxs)(T.CardHeader,{children:[(0,t.jsx)(T.CardTitle,{children:s("generalInformation")}),(0,t.jsx)(T.CardDescription,{children:s("generalInformationDescription")})]}),(0,t.jsxs)(T.CardContent,{className:"space-y-5",children:[(0,t.jsxs)("dl",{className:"grid gap-4 text-sm sm:grid-cols-2 lg:grid-cols-4",children:[(0,t.jsx)(G,{label:s("version"),value:u.version}),(0,t.jsx)(G,{label:s("cpuModel"),value:u.cpuModel??s("unavailable")}),(0,t.jsx)(G,{label:s("operatingSystem"),value:u.osVersion}),(0,t.jsx)(G,{label:s("architecture"),value:u.architecture}),(0,t.jsx)(G,{label:s("lastSeen"),value:(0,t.jsx)(y.DateTime,{fallback:s("never"),value:u.lastSeenAt})}),(0,t.jsx)(G,{label:s("ipAddress"),value:u.ipAddress??s("unavailable"),mono:!0})]}),(0,t.jsxs)("div",{className:"grid gap-3 md:grid-cols-2",children:[(0,t.jsx)(j.ResourceUsage,{free:u.memoryFreeBytes,label:s("memory"),locale:l,total:u.memoryTotalBytes,unavailable:s("unavailable"),usedLabel:s("used"),freeLabel:s("free")}),(0,t.jsx)("div",{className:"rounded-lg border p-3",children:ev?(0,t.jsx)(E.VolumeBar,{volume:ev}):(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("p",{className:"text-sm font-medium",children:i("mainDisk")}),(0,t.jsx)("p",{className:"mt-2 text-sm text-muted-foreground",children:i(O?.enabled===!1?"disabled":"noReport")})]})})]}),eC&&(0,t.jsxs)(T.Card,{className:"gap-3 py-4",children:[(0,t.jsxs)(T.CardHeader,{className:"px-4",children:[(0,t.jsx)(T.CardTitle,{children:i("baseRepoDisk")}),(0,t.jsx)(T.CardDescription,{children:i("baseRepoDiskDescription")})]}),(0,t.jsx)(T.CardContent,{className:"px-4",children:(0,t.jsx)(E.VolumeBar,{volume:eC})})]}),O&&(O.lastError||O.warnings.length>0)&&(0,t.jsx)(I.Alert,{variant:O.lastError?"destructive":"default",children:(0,t.jsx)(I.AlertDescription,{children:[O.lastError,...O.warnings??[]].filter(Boolean).join(" · ")})})]})]}),(0,t.jsx)(v.CommandQuickActions,{agentCapabilities:u.capabilities,agentId:u.id,description:n("agentQuickActionsDescription"),title:n("commandQuickActions")}),(0,t.jsx)(C.CommandResourcePanel,{agentCapabilities:u.capabilities,agentId:u.id}),K&&(0,t.jsx)(M,{onSaved:X,settings:K},u.id),(0,t.jsxs)(T.Card,{
|
|
39
|
+
}`,{agentId:e,baseRepoDirectory:t});N(a.updateAgentBaseRepoDirectory)}catch(e){ex(e instanceof Error?e.message:String(e))}finally{eo(!1)}},ep=(0,m.useCallback)((e,t=!1)=>{k(t=>U(t,e)),t&&ea(e.id)},[]),ej=async()=>{ed(!0),er(null);try{await (0,H.controlPlaneRequest)("mutation DeleteAgent($agentId: ID!) { deleteAgent(agentId: $agentId) }",{agentId:e}),d.push("/agents")}catch(e){er(e instanceof Error?e.message:String(e)),ed(!1)}};if(es)return(0,t.jsxs)("p",{className:"mx-auto flex max-w-6xl items-center gap-2 text-sm text-muted-foreground",children:[(0,t.jsx)(R.Spinner,{}),s("loading")]});let ev=O?.volumes.find(e=>e.roles.includes("MAIN")),eC=O?.volumes.find(e=>e.roles.includes("BASE_REPO")&&e.id!==ev?.id);if(en&&!u)return(0,t.jsx)("p",{className:"mx-auto max-w-6xl text-sm text-destructive",children:en});if(!u)return(0,t.jsx)("p",{className:"mx-auto max-w-6xl text-sm text-muted-foreground",children:s("notFound")});let eS="ONLINE"===u.connectionStatus&&u.capabilities.includes(a.CODEBASE_BROWSE_JOB_KIND),eD=u.capabilities.filter(e=>"command.run"!==e&&e.toLocaleLowerCase().includes(Z.toLocaleLowerCase()));return(0,t.jsxs)("div",{className:"mx-auto flex w-full max-w-[1500px] flex-col gap-6",children:[(0,t.jsxs)("div",{className:"flex flex-wrap items-start justify-between gap-4",children:[(0,t.jsxs)("div",{children:[(0,t.jsxs)("div",{className:"flex flex-wrap items-center gap-2",children:[(0,t.jsx)("h1",{className:"text-2xl font-semibold tracking-tight",children:u.name}),(0,t.jsx)(p.StatusBadge,{status:u.connectionStatus})]}),(0,t.jsxs)("p",{className:"mt-1 text-sm text-muted-foreground",children:[u.hostname," · ",u.osVersion," · ",u.architecture]}),(0,t.jsx)("p",{className:"mt-1 font-mono text-xs text-muted-foreground",children:u.id})]}),(0,t.jsx)("div",{className:"flex flex-wrap gap-2",children:(0,t.jsx)(S.ConfirmationDialog,{actionLabel:s("deleteAgent"),cancelLabel:r("cancel"),description:s("deleteAgentDescription",{name:u.name}),onConfirm:ej,title:s("deleteAgentTitle"),trigger:(0,t.jsxs)(f.Button,{disabled:el,variant:"destructive",children:[el?(0,t.jsx)(R.Spinner,{}):(0,t.jsx)(o.Trash2,{}),s("deleteAgent")]})})})]}),en&&(0,t.jsx)(I.Alert,{variant:"destructive",children:(0,t.jsx)(I.AlertDescription,{children:en})}),(0,t.jsxs)(T.Card,{children:[(0,t.jsxs)(T.CardHeader,{children:[(0,t.jsx)(T.CardTitle,{children:s("generalInformation")}),(0,t.jsx)(T.CardDescription,{children:s("generalInformationDescription")})]}),(0,t.jsxs)(T.CardContent,{className:"space-y-5",children:[(0,t.jsxs)("dl",{className:"grid gap-4 text-sm sm:grid-cols-2 lg:grid-cols-4",children:[(0,t.jsx)(G,{label:s("version"),value:u.version}),(0,t.jsx)(G,{label:s("cpuModel"),value:u.cpuModel??s("unavailable")}),(0,t.jsx)(G,{label:s("operatingSystem"),value:u.osVersion}),(0,t.jsx)(G,{label:s("architecture"),value:u.architecture}),(0,t.jsx)(G,{label:s("lastSeen"),value:(0,t.jsx)(y.DateTime,{fallback:s("never"),value:u.lastSeenAt})}),(0,t.jsx)(G,{label:s("ipAddress"),value:u.ipAddress??s("unavailable"),mono:!0})]}),(0,t.jsxs)("div",{className:"grid gap-3 md:grid-cols-2",children:[(0,t.jsx)(j.ResourceUsage,{free:u.memoryFreeBytes,label:s("memory"),locale:l,total:u.memoryTotalBytes,unavailable:s("unavailable"),usedLabel:s("used"),freeLabel:s("free")}),(0,t.jsx)("div",{className:"rounded-lg border p-3",children:ev?(0,t.jsx)(E.VolumeBar,{volume:ev}):(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("p",{className:"text-sm font-medium",children:i("mainDisk")}),(0,t.jsx)("p",{className:"mt-2 text-sm text-muted-foreground",children:i(O?.enabled===!1?"disabled":"noReport")})]})})]}),eC&&(0,t.jsxs)(T.Card,{className:"gap-3 py-4",children:[(0,t.jsxs)(T.CardHeader,{className:"px-4",children:[(0,t.jsx)(T.CardTitle,{children:i("baseRepoDisk")}),(0,t.jsx)(T.CardDescription,{children:i("baseRepoDiskDescription")})]}),(0,t.jsx)(T.CardContent,{className:"px-4",children:(0,t.jsx)(E.VolumeBar,{volume:eC})})]}),O&&(O.lastError||O.warnings.length>0)&&(0,t.jsx)(I.Alert,{variant:O.lastError?"destructive":"default",children:(0,t.jsx)(I.AlertDescription,{children:[O.lastError,...O.warnings??[]].filter(Boolean).join(" · ")})})]})]}),(0,t.jsx)(v.CommandQuickActions,{agentCapabilities:u.capabilities,agentId:u.id,description:n("agentQuickActionsDescription"),title:n("commandQuickActions")}),(0,t.jsx)(C.CommandResourcePanel,{agentCapabilities:u.capabilities,agentId:u.id}),K&&(0,t.jsx)(M,{onSaved:X,settings:K},u.id),(0,t.jsx)(z,{codebases:Q}),(0,t.jsxs)(T.Card,{children:[(0,t.jsxs)(T.CardHeader,{children:[(0,t.jsx)(T.CardTitle,{children:s("baseRepoDirectory")}),(0,t.jsx)(T.CardDescription,{children:s("baseRepoDirectoryDescription")})]}),(0,t.jsxs)(T.CardContent,{children:[(0,t.jsxs)("div",{className:"rounded-lg bg-muted p-3",children:[(0,t.jsx)("p",{className:"text-xs text-muted-foreground",children:s("currentDirectory")}),(0,t.jsx)("p",{className:"mt-1 break-all font-mono text-xs",children:u.baseRepoDirectory??s("notConfigured")})]}),eu&&(0,t.jsx)(I.Alert,{className:"mt-4",variant:"destructive",children:(0,t.jsx)(I.AlertDescription,{children:eu})}),(0,t.jsxs)("div",{className:"mt-4 flex flex-wrap items-start gap-2",children:[(0,t.jsx)("div",{className:"min-w-0 flex-1",children:eS?(0,t.jsx)(b.AgentDirectoryBrowser,{agentId:u.id,disabled:ec,onSelect:e=>eg(e),selectLabel:s("useDirectory")},`${u.id}:${u.baseRepoDirectory??""}`):(0,t.jsx)("p",{className:"text-sm text-muted-foreground",children:s("directoryBrowsingUnavailable")})}),u.baseRepoDirectory&&(0,t.jsxs)(f.Button,{disabled:ec,onClick:()=>void eg(null),type:"button",variant:"outline",children:[(0,t.jsx)(o.Trash2,{})," ",s("clearDirectory")]})]})]})]}),(0,t.jsx)(W,{agent:u,canBrowseDirectories:eS,onSaved:N},`${u.id}:${u.derivedDataLocationMode??"DEFAULT"}:${u.derivedDataPath??""}`),(0,t.jsx)(V,{agent:u,canBrowseDirectories:eS,onSaved:N},`${u.id}:${u.buildsDirectory??"default"}:${u.defaultBuildsDirectory??""}`),(0,t.jsxs)(T.Card,{className:"gap-0 py-0",children:[(0,t.jsxs)(T.CardHeader,{children:[(0,t.jsx)(T.CardTitle,{children:s("capabilities")}),(0,t.jsx)(T.CardDescription,{children:s("capabilitiesDescription")})]}),(0,t.jsx)("div",{className:"border-b p-4",children:(0,t.jsxs)("div",{className:"relative",children:[(0,t.jsx)(c.Search,{className:"pointer-events-none absolute top-1/2 left-3 size-4 -translate-y-1/2 text-muted-foreground"}),(0,t.jsx)(_.Input,{"aria-label":s("searchCapabilities"),className:"pl-9",onChange:e=>ee(e.target.value),placeholder:s("searchCapabilitiesPlaceholder"),type:"search",value:Z})]})}),0===eD.length?(0,t.jsx)("p",{className:"p-4 text-sm text-muted-foreground",children:s("noMatchingCapabilities")}):(0,t.jsxs)(L.Table,{children:[(0,t.jsx)(L.TableHeader,{children:(0,t.jsxs)(L.TableRow,{children:[(0,t.jsx)(L.TableHead,{className:"w-10"}),(0,t.jsx)(L.TableHead,{children:s("capability")}),(0,t.jsx)(L.TableHead,{children:s("kind")})]})}),(0,t.jsx)(L.TableBody,{children:eD.map(e=>(0,t.jsx)(q,{agentId:u.id,capability:e,offline:"ONLINE"!==u.connectionStatus,onJobChanged:ep},e))})]})]}),et&&(0,t.jsx)(g.JobMonitor,{compact:!0,jobId:et},et),(0,t.jsxs)("section",{children:[(0,t.jsx)("h2",{className:"mb-3 font-medium",children:s("history")}),0===w.length?(0,t.jsx)(A.Empty,{children:(0,t.jsx)(A.EmptyHeader,{children:(0,t.jsx)(A.EmptyDescription,{children:s("noJobs")})})}):(0,t.jsx)(T.Card,{className:"gap-0 py-0",children:(0,t.jsxs)(L.Table,{children:[(0,t.jsx)(L.TableHeader,{children:(0,t.jsxs)(L.TableRow,{children:[(0,t.jsx)(L.TableHead,{children:s("job")}),(0,t.jsx)(L.TableHead,{children:s("status")}),(0,t.jsx)(L.TableHead,{children:s("created")}),(0,t.jsx)(L.TableHead,{children:s("finished")})]})}),(0,t.jsx)(L.TableBody,{children:w.map(e=>(0,t.jsxs)(L.TableRow,{"aria-current":et===e.id?"true":void 0,"aria-label":s("selectJob",{kind:e.kind}),className:(0,J.cn)("cursor-pointer focus-visible:bg-muted/40 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-inset",et===e.id&&"bg-muted/50"),onClick:()=>ea(e.id),onKeyDown:t=>{("Enter"===t.key||" "===t.key)&&(t.preventDefault(),ea(e.id))},role:"button",tabIndex:0,children:[(0,t.jsx)(L.TableCell,{className:"font-mono text-xs font-medium",children:e.kind}),(0,t.jsx)(L.TableCell,{children:(0,t.jsx)(p.StatusBadge,{status:e.status})}),(0,t.jsx)(L.TableCell,{children:(0,t.jsx)(y.DateTime,{value:e.createdAt})}),(0,t.jsx)(L.TableCell,{children:(0,t.jsx)(y.DateTime,{value:e.finishedAt})})]},e.id))})]})})]})]})}],354576)}]);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,741120,e=>{"use strict";let i=(0,e.i(456420).default)("refresh-cw",[["path",{d:"M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8",key:"v9h5vc"}],["path",{d:"M21 3v5h-5",key:"1q7to0"}],["path",{d:"M21 12a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16",key:"3uifl3"}],["path",{d:"M8 16H3v5",key:"1cv678"}]]);e.s(["RefreshCw",0,i],741120)},82612,e=>{"use strict";var i=e.i(843476),t=e.i(225913),n=e.i(975157);let s=(0,t.cva)("mb-2 flex shrink-0 items-center justify-center [&_svg]:pointer-events-none [&_svg]:shrink-0",{variants:{variant:{default:"bg-transparent",icon:"flex size-8 shrink-0 items-center justify-center rounded-lg bg-muted text-foreground [&_svg:not([class*='size-'])]:size-4"}},defaultVariants:{variant:"default"}});e.s(["Empty",0,function({className:e,...t}){return(0,i.jsx)("div",{"data-slot":"empty",className:(0,n.cn)("flex w-full min-w-0 flex-1 flex-col items-center justify-center gap-4 rounded-xl border-dashed p-6 text-center text-balance",e),...t})},"EmptyDescription",0,function({className:e,...t}){return(0,i.jsx)("div",{"data-slot":"empty-description",className:(0,n.cn)("text-sm/relaxed text-muted-foreground [&>a]:underline [&>a]:underline-offset-4 [&>a:hover]:text-primary",e),...t})},"EmptyHeader",0,function({className:e,...t}){return(0,i.jsx)("div",{"data-slot":"empty-header",className:(0,n.cn)("flex max-w-sm flex-col items-center gap-2",e),...t})},"EmptyMedia",0,function({className:e,variant:t="default",...r}){return(0,i.jsx)("div",{"data-slot":"empty-icon","data-variant":t,className:(0,n.cn)(s({variant:t,className:e})),...r})},"EmptyTitle",0,function({className:e,...t}){return(0,i.jsx)("div",{"data-slot":"empty-title",className:(0,n.cn)("font-heading text-sm font-medium tracking-tight",e),...t})}])},856522,e=>{"use strict";let i=(0,e.i(456420).default)("save",[["path",{d:"M15.2 3a2 2 0 0 1 1.4.6l3.8 3.8a2 2 0 0 1 .6 1.4V19a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2z",key:"1c8476"}],["path",{d:"M17 21v-7a1 1 0 0 0-1-1H8a1 1 0 0 0-1 1v7",key:"1ydtos"}],["path",{d:"M7 3v4a1 1 0 0 0 1 1h7",key:"t51u73"}]]);e.s(["Save",0,i],856522)},876561,e=>{"use strict";let i=(0,e.i(456420).default)("archive",[["rect",{width:"20",height:"5",x:"2",y:"3",rx:"1",key:"1wp1u1"}],["path",{d:"M4 8v11a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8",key:"1s80jp"}],["path",{d:"M10 12h4",key:"a56b0p"}]]);e.s(["Archive",0,i],876561)},636162,e=>{"use strict";let i=(0,e.i(456420).default)("apple",[["path",{d:"M12 6.528V3a1 1 0 0 1 1-1h0",key:"11qiee"}],["path",{d:"M18.237 21A15 15 0 0 0 22 11a6 6 0 0 0-10-4.472A6 6 0 0 0 2 11a15.1 15.1 0 0 0 3.763 10 3 3 0 0 0 3.648.648 5.5 5.5 0 0 1 5.178 0A3 3 0 0 0 18.237 21",key:"110c12"}]]);e.s(["Apple",0,i],636162)},452330,e=>{"use strict";let i=(0,e.i(456420).default)("code-xml",[["path",{d:"m18 16 4-4-4-4",key:"1inbqp"}],["path",{d:"m6 8-4 4 4 4",key:"15zrgr"}],["path",{d:"m14.5 4-5 16",key:"e7oirm"}]]);e.s(["Code2",0,i],452330)},687862,671028,e=>{"use strict";var i=e.i(843476);e.i(688194);var t=e.i(636162),n=e.i(456420);let s=(0,n.default)("app-window",[["rect",{x:"2",y:"4",width:"20",height:"16",rx:"2",key:"izxlao"}],["path",{d:"M10 4v4",key:"pp8u80"}],["path",{d:"M2 8h20",key:"d11cs7"}],["path",{d:"M6 4v4",key:"1svtjw"}]]);var r=e.i(876561);let a=(0,n.default)("beaker",[["path",{d:"M4.5 3h15",key:"c7n0jr"}],["path",{d:"M6 3v16a2 2 0 0 0 2 2h8a2 2 0 0 0 2-2V3",key:"m1uhx7"}],["path",{d:"M6 14h12",key:"4cwo0f"}]]),o=(0,n.default)("box",[["path",{d:"M21 8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73l7 4a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16Z",key:"hh9hay"}],["path",{d:"m3.3 7 8.7 5 8.7-5",key:"g66t2b"}],["path",{d:"M12 22V12",key:"d0xqtd"}]]),d=(0,n.default)("bug",[["path",{d:"M12 20v-9",key:"1qisl0"}],["path",{d:"M14 7a4 4 0 0 1 4 4v3a6 6 0 0 1-12 0v-3a4 4 0 0 1 4-4z",key:"uouzyp"}],["path",{d:"M14.12 3.88 16 2",key:"qol33r"}],["path",{d:"M21 21a4 4 0 0 0-3.81-4",key:"1b0z45"}],["path",{d:"M21 5a4 4 0 0 1-3.55 3.97",key:"5cxbf6"}],["path",{d:"M22 13h-4",key:"1jl80f"}],["path",{d:"M3 21a4 4 0 0 1 3.81-4",key:"1fjd4g"}],["path",{d:"M3 5a4 4 0 0 0 3.55 3.97",key:"1d7oge"}],["path",{d:"M6 13H2",key:"82j7cp"}],["path",{d:"m8 2 1.88 1.88",key:"fmnt4t"}],["path",{d:"M9 7.13V6a3 3 0 1 1 6 0v1.13",key:"1vgav8"}]]);var l=e.i(452330);let c=(0,n.default)("gauge",[["path",{d:"m12 14 4-4",key:"9kzdfg"}],["path",{d:"M3.34 19a10 10 0 1 1 17.32 0",key:"19p75a"}]]);e.s(["Gauge",0,c],671028);var u=e.i(93384);let p=(0,n.default)("layers",[["path",{d:"M12.83 2.18a2 2 0 0 0-1.66 0L2.6 6.08a1 1 0 0 0 0 1.83l8.58 3.91a2 2 0 0 0 1.66 0l8.58-3.9a1 1 0 0 0 0-1.83z",key:"zw3jo"}],["path",{d:"M2 12a1 1 0 0 0 .58.91l8.6 3.91a2 2 0 0 0 1.65 0l8.58-3.9A1 1 0 0 0 22 12",key:"1wduqc"}],["path",{d:"M2 17a1 1 0 0 0 .58.91l8.6 3.91a2 2 0 0 0 1.65 0l8.58-3.9A1 1 0 0 0 22 17",key:"kqbvx6"}]]),m=(0,n.default)("package",[["path",{d:"M11 21.73a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16V8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73z",key:"1a0edw"}],["path",{d:"M12 22V12",key:"d0xqtd"}],["polyline",{points:"3.29 7 12 12 20.71 7",key:"ousv84"}],["path",{d:"m7.5 4.27 9 5.15",key:"1c824w"}]]);var h=e.i(21357);let x=(0,n.default)("rocket",[["path",{d:"M12 15v5s3.03-.55 4-2c1.08-1.62 0-5 0-5",key:"qeys4"}],["path",{d:"M4.5 16.5c-1.5 1.26-2 5-2 5s3.74-.5 5-2c.71-.84.7-2.13-.09-2.91a2.18 2.18 0 0 0-2.91-.09",key:"u4xsad"}],["path",{d:"M9 12a22 22 0 0 1 2-3.95A12.88 12.88 0 0 1 22 2c0 2.72-.78 7.5-6 11a22.4 22.4 0 0 1-4 2z",key:"676m9"}],["path",{d:"M9 12H4s.55-3.03 2-4c1.62-1.08 5 .05 5 .05",key:"92ym6u"}]]);var f=e.i(584026),g=e.i(986206),y=e.i(328623),k=e.i(604139);let j=(0,n.default)("test-tube",[["path",{d:"M14.5 2v17.5c0 1.4-1.1 2.5-2.5 2.5c-1.4 0-2.5-1.1-2.5-2.5V2",key:"125lnx"}],["path",{d:"M8.5 2h7",key:"csnxdl"}],["path",{d:"M14.5 16h-5",key:"1ox875"}]]);var b=e.i(747925);let v={apple:t.Apple,"app-window":s,archive:r.Archive,beaker:a,box:o,bug:d,code:l.Code2,gauge:c,hammer:u.Hammer,layers:p,package:m,play:h.Play,rocket:x,shield:f.ShieldCheck,smartphone:g.Smartphone,sparkles:y.Sparkles,terminal:k.Terminal,"test-tube":j,wrench:b.Wrench};e.s(["ConfigurationIcon",0,function({iconKey:e}){if(!e)return null;let t=v[e];return t?(0,i.jsx)(t,{"aria-hidden":!0,className:"size-4"}):null}],687862)},832297,e=>{"use strict";var i=e.i(187921);e.s(["CirclePlay",()=>i.default])},997778,e=>{"use strict";var i=e.i(843476),t=e.i(948148),n=e.i(271645),s=e.i(755146);e.s(["WorkflowChoiceMenu",0,function({button:e,choices:r,hasPlainTrigger:a=!1,onRun:o}){let d=(0,t.useTranslations)("workflows");return r.length?(0,i.jsxs)(s.DropdownMenu,{children:[(0,i.jsx)(s.DropdownMenuTrigger,{asChild:!0,children:e}),(0,i.jsxs)(s.DropdownMenuContent,{align:"start",className:"max-w-64",children:[a&&(0,i.jsx)(s.DropdownMenuItem,{onSelect:()=>o(null),children:d("fullRun")}),r.map(e=>(0,i.jsx)(s.DropdownMenuItem,{onSelect:()=>o(e.key),children:(0,i.jsxs)("div",{className:"min-w-0",children:[(0,i.jsx)("p",{className:"truncate",children:e.label}),e.description&&(0,i.jsx)("p",{className:"truncate text-xs text-muted-foreground",children:e.description})]})},e.key))]})]}):(0,n.cloneElement)(e,{onClick:()=>o(null)})}])},762368,e=>{"use strict";let i=(0,e.i(456420).default)("download",[["path",{d:"M12 15V3",key:"m9g1x1"}],["path",{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4",key:"ih7n3h"}],["path",{d:"m7 10 5 5 5-5",key:"brsn70"}]]);e.s(["Download",0,i],762368)},955370,e=>{"use strict";let i=(0,e.i(456420).default)("circle-off",[["path",{d:"m2 2 20 20",key:"1ooewy"}],["path",{d:"M8.35 2.69A10 10 0 0 1 21.3 15.65",key:"1pfsoa"}],["path",{d:"M19.08 19.08A10 10 0 1 1 4.92 4.92",key:"1ablyi"}]]);e.s(["CircleOff",0,i],955370)},18718,274757,681735,e=>{"use strict";var i=e.i(843476),t=e.i(948148),n=e.i(271645),s=e.i(82612),r=e.i(542450),a=e.i(906197),o=e.i(980376),d=e.i(450220),l=e.i(672510);let c={workflow:[{name:"id",description:"Workflow definition id"},{name:"name",description:"Workflow name"},{name:"runId",description:"Current run id"},{name:"startedAt",description:"Run start timestamp"},{name:"trigger",description:"Trigger that started the run"}],repo:[{name:"id",description:"Repository id"},{name:"githubId",description:"GitHub repository id"},{name:"owner",description:"Repository owner / organization"},{name:"name",description:"Repository name"},{name:"url",description:"Repository URL"},{name:"canonicalOrigin",description:"Normalized repository origin"},{name:"displayOrigin",description:"Human-readable repository origin"},{name:"defaultBranch",description:"Repository default branch"}],codebase:[{name:"id",description:"Codebase id"},{name:"agentId",description:"Owning agent id"},{name:"folder",description:"Codebase filesystem path"},{name:"branch",description:"Current branch"},{name:"headSha",description:"HEAD commit SHA"},{name:"dirty",description:"Whether the working tree has changes"},{name:"branches",description:"Local and remote Git branches"},{name:"branchesTruncated",description:"Whether branch results were truncated"},{name:"stashes",description:"Git stashes"},{name:"stashesTruncated",description:"Whether stash results were truncated"},{name:"remoteBranches",description:"Known remote branches"}],agent:[{name:"id",description:"Owning agent id"},{name:"name",description:"Agent display name"},{name:"hostname",description:"Agent hostname"},{name:"connected",description:"Whether the agent is connected"},{name:"diskTotalBytes",description:"Root disk capacity in bytes"},{name:"diskFreeBytes",description:"Available disk space in bytes"},{name:"memoryFreeBytes",description:"Available memory in bytes"}],disk:[{name:"enabled",description:"Whether disk monitoring is enabled"},{name:"status",description:"Current disk monitor status"},{name:"pressureMode",description:"Normal, manual, or automatic pressure mode"},{name:"manualPressureMode",description:"Whether manual pressure mode is enabled"},{name:"automaticPressureMode",description:"Whether automatic pressure mode is active"},{name:"lastReportedAt",description:"Timestamp of the latest accepted disk report"},{name:"lastError",description:"Latest monitor or cleanup error"},{name:"warnings",description:"Current disk report warnings"},{name:"monitoredVolumeId",description:"Least-free monitored Derived Data volume id"},{name:"freeBytes",description:"Monitored Derived Data free bytes"},{name:"totalBytes",description:"Monitored Derived Data total bytes"},{name:"freeGiB",description:"Monitored Derived Data free space in GiB"},{name:"freePercent",description:"Monitored Derived Data free percentage"},{name:"usedPercent",description:"Monitored Derived Data used percentage"},{name:"effectiveThresholdBytes",description:"Current cleanup threshold in bytes"},{name:"normalThresholdGiB",description:"Global normal threshold in GiB"},{name:"pressureThresholdGiB",description:"Global pressure threshold in GiB"},{name:"pollIntervalSeconds",description:"Agent disk report cadence"},{name:"staleAfterSeconds",description:"Age at which a report is stale"},{name:"changeReason",description:"Internal reason for the monitor event"},{name:"volumes",description:"All reported volumes and their monitor status"}],cleanup:[{name:"jobId",description:"Automatic cleanup agent job id"},{name:"status",description:"Automatic cleanup terminal status"},{name:"source",description:"Cleanup source"},{name:"error",description:"Cleanup error, if any"},{name:"targets",description:"Derived Data entries selected for cleanup"},{name:"deleted",description:"Derived Data entries reported deleted"}],command:[{name:"id",description:"Command run id"},{name:"commandId",description:"Saved command definition id"},{name:"name",description:"Command display name"},{name:"status",description:"Command run status"},{name:"exitCode",description:"Command process exit code"},{name:"signal",description:"Command termination signal"},{name:"error",description:"Command failure reason"},{name:"finishedAt",description:"Command completion timestamp"}],skill:[{name:"id",description:"Skill id"},{name:"groupId",description:"Skill group id"}],skillSync:[{name:"id",description:"Skill sync run id"},{name:"kind",description:"Skill sync kind"},{name:"status",description:"Skill sync status"},{name:"error",description:"Skill sync failure reason"},{name:"conflictCount",description:"Unresolved conflict count"},{name:"conflicts",description:"Unresolved skill conflicts"},{name:"updatedAt",description:"Skill sync update timestamp"},{name:"finishedAt",description:"Skill sync completion timestamp"}],buildData:[{name:"id",description:"Build-data collection id"},{name:"status",description:"Collection status"},{name:"finishedAt",description:"Collection completion timestamp"},{name:"totalBytes",description:"Total discovered bytes"},{name:"entryCount",description:"Discovered entry count"},{name:"successfulAgentCount",description:"Agents that completed collection successfully"}],signingProfile:[{name:"id",description:"Signing profile id"},{name:"uuid",description:"Provisioning profile UUID"},{name:"name",description:"Provisioning profile name"},{name:"expiresAt",description:"Provisioning profile expiry"},{name:"expired",description:"Whether the profile is expired"}],device:[{name:"id",description:"iOS device id"},{name:"udid",description:"Device UDID"},{name:"name",description:"Device display name"},{name:"product",description:"Device product identifier"},{name:"osVersion",description:"Device OS version"},{name:"status",description:"Device registration status"},{name:"error",description:"Device registration failure reason"},{name:"updatedAt",description:"Device update timestamp"}],pushBatch:[{name:"id",description:"Push-notification batch id"},{name:"status",description:"Push batch status"},{name:"targetMode",description:"Push batch target mode"},{name:"deliveryCount",description:"Push delivery count"},{name:"updatedAt",description:"Push batch update timestamp"}],ticket:[{name:"key",description:"Jira issue key (e.g. AIDE-42)"},{name:"projectKey",description:"Jira project key"},{name:"title",description:"Issue summary / title"},{name:"type",description:"Issue type (Bug, Story, …)"},{name:"status",description:"Workflow status name"},{name:"statusId",description:"Workflow status id"},{name:"statusCategory",description:"Status category (To Do, Done, …)"},{name:"assignee",description:"Assigned user"},{name:"assigneeAccountId",description:"Assigned Jira account id"},{name:"labels",description:"Issue labels"},{name:"sprintNames",description:"Sprints containing the issue"},{name:"url",description:"Jira issue URL"}],changelog:[{name:"id",description:"Jira webhook changelog id"},{name:"items",description:"Fields changed in the Jira update"}],pr:[{name:"id",description:"Pull request id"},{name:"number",description:"Pull request number"},{name:"state",description:"Open / closed / merged state"},{name:"merged",description:"Whether the pull request was merged"},{name:"title",description:"Pull request title"},{name:"url",description:"Pull request URL"},{name:"labels",description:"Pull request labels"},{name:"isDraft",description:"Whether the pull request is a draft"},{name:"headBranch",description:"Pull request head branch"},{name:"headRefName",description:"Pull request head ref"},{name:"headSha",description:"Pull request head commit SHA"},{name:"baseBranch",description:"Pull request base branch"},{name:"reviewDecision",description:"Latest review decision"},{name:"pipelineStatus",description:"Combined pull request check status"},{name:"unresolvedReviewThreadCount",description:"Number of unresolved pull request review threads"},{name:"pipelines",description:"CI pipelines linked to the pull request"},{name:"reviewThreads",description:"Pull request review threads"},{name:"mergeable",description:"Pull request mergeability"},{name:"repositoryGithubId",description:"GitHub repository id"},{name:"repositoryNameWithOwner",description:"GitHub owner and repository name"},{name:"jiraKey",description:"Jira key linked to the pull request"},{name:"unresolvedThreads",description:"Unresolved review threads"}],worktree:[{name:"id",description:"Worktree id"},{name:"branch",description:"Worktree branch"},{name:"baseBranch",description:"Base branch the work targets"},{name:"path",description:"Filesystem path"},{name:"headSha",description:"Worktree HEAD commit SHA"},{name:"pushStatus",description:"Push readiness status"},{name:"upstream",description:"Tracked upstream branch"},{name:"syncState",description:"Relationship to the tracked branch"},{name:"ahead",description:"Commits ahead of upstream"},{name:"behind",description:"Commits behind upstream"},{name:"baseAhead",description:"Commits ahead of the base branch"},{name:"baseBehind",description:"Commits behind the base branch"},{name:"commits",description:"Commits on the branch"},{name:"changes",description:"Pending file changes"},{name:"branchChanges",description:"Files changed from the base branch"},{name:"commitsTruncated",description:"Whether commit results were truncated"},{name:"changesTruncated",description:"Whether pending changes were truncated"},{name:"branchChangesTruncated",description:"Whether branch change results were truncated"},{name:"dirty",description:"Whether the working tree has changes"},{name:"branches",description:"Local and remote Git branches"},{name:"branchesTruncated",description:"Whether branch results were truncated"},{name:"stashes",description:"Git stashes"},{name:"stashesTruncated",description:"Whether stash results were truncated"},{name:"rebaseInProgress",description:"Whether a rebase is in progress"},{name:"hasConflicts",description:"Whether Git reports conflicts"},{name:"conflicted",description:"Whether an inspection found conflicts"},{name:"conflicts",description:"Conflicting files"},{name:"missingAt",description:"When the worktree was found missing"},{name:"dirtySince",description:"When the worktree became dirty"},{name:"autoSync",description:"Persistent Auto Sync configuration and current state"},{name:"autoMerge",description:"Persistent Auto Merge configuration and current state"}],pipeline:[{name:"id",description:"CI pipeline id"},{name:"runId",description:"CI run id"},{name:"workflowId",description:"CI workflow id"},{name:"name",description:"CI workflow name"},{name:"displayTitle",description:"CI run display title"},{name:"status",description:"Run status"},{name:"conclusion",description:"Run conclusion"},{name:"headBranch",description:"Branch built by the CI run"},{name:"headSha",description:"Commit built by the CI run"},{name:"pullRequests",description:"Pull requests linked to the CI run"},{name:"url",description:"CI run URL"},{name:"failedJobs",description:"Failed jobs"},{name:"jobs",description:"Jobs in the CI run"},{name:"checkSuiteId",description:"GitHub check suite id"},{name:"runNumber",description:"GitHub Actions run number"},{name:"runAttempt",description:"GitHub Actions run attempt"},{name:"jiraKey",description:"Jira key inferred from the run"}],build:[{name:"id",description:"Build id"},{name:"status",description:"Build status"},{name:"action",description:"Build action"},{name:"error",description:"Build error, if any"},{name:"artifactDirectory",description:"Build artifact directory"},{name:"testSummary",description:"Test result summary"},{name:"tests",description:"Individual test results"},{name:"coverageSummary",description:"Coverage summary"},{name:"coverageFiles",description:"Per-file coverage results"},{name:"changedCoverageFiles",description:"Coverage for files changed on the branch"},{name:"artifacts",description:"Exported build artifacts"},{name:"exportId",description:"Build export id"}],run:[{name:"id",description:"Agent run id"},{name:"kind",description:"Run kind (PLAN / SESSION)"},{name:"status",description:"Run status"},{name:"phase",description:"Run phase"},{name:"origin",description:"Run origin"},{name:"provider",description:"AI provider"},{name:"model",description:"AI model"},{name:"branch",description:"Branch used by the run"},{name:"finalOutput",description:"Final output text"},{name:"error",description:"Run error, if any"},{name:"usage",description:"Token usage and cost"},{name:"questions",description:"Questions asked by the run"},{name:"events",description:"Run events"},{name:"links",description:"Resources linked to the run"}],steps:[{name:"status",description:"Step completion status"},{name:"output",description:"Step output payload"},{name:"answer",description:"Human answer for the step"},{name:"snapshotId",description:"Captured snapshot id"},{name:"items",description:"Items produced for iteration"},{name:"commandRunId",description:"Command run id"},{name:"displayNumber",description:"Resource display number"}],comment:[{name:"id",description:"Comment id"},{name:"body",description:"Comment body"},{name:"author",description:"Comment author"}],push:[{name:"ref",description:"Pushed Git ref"},{name:"before",description:"Commit before the push"},{name:"after",description:"Commit after the push"}],job:[{name:"id",description:"Job id"},{name:"name",description:"Job name"},{name:"status",description:"Job status"},{name:"url",description:"Job URL"},{name:"runAttempt",description:"Workflow run attempt"}]},u=new Map(Object.entries(c).flatMap(([e,i])=>i.map(i=>[`${e}.${i.name}`,i.description])));function p(e){return e.split(".")[0]??e}function m(e){let i=new Map,t=e=>{i.has(e.path)||i.set(e.path,e)};for(let i of e){let e=i.trim();if(e&&"*"!==e){if(e.endsWith(".*")){let i=e.slice(0,-2),n=c[p(i)];if(n)for(let e of n)t({path:`${i}.${e.name}`,description:e.description});else t({path:e});continue}t({path:e,description:function(e){let i=e.split(".");if(i.length<2)return;let t=i[i.length-1];return u.get(`${p(e)}.${t}`)}(e)})}}return[...i.values()].sort((e,i)=>e.path.localeCompare(i.path))}e.s(["expandSessionPaths",0,m],274757);var h=e.i(399668);function x(e){let i=new Map(e?.steps.map(e=>[e.kind,e])??[]),t=new Map(e?.triggers.map(e=>[e.kind,e])??[]);return{stepPaths:e=>{let t=i.get(e);return{requiredPaths:t?.requiredPaths??[],providedPaths:t?.providedPaths??[]}},triggerSeedPaths:e=>t.get(e)?.seedPaths??[]}}function f(e,i){let t=i.get(e)??[],n=t.filter(i=>i!==`steps.${e}.*`);return m(n.length?n:t)}function g({value:e,notSet:t}){let n;return n=null==e||""===e?t:"boolean"==typeof e?e?"Yes":"No":e&&"object"==typeof e&&!Array.isArray(e)&&"SESSION"===e.source?(0,i.jsx)("code",{children:String(e.path??t)}):Array.isArray(e)&&e.every(e=>"object"!=typeof e)?e.length?e.join(", "):t:"object"==typeof e?(0,i.jsx)("pre",{className:"overflow-x-auto whitespace-pre-wrap rounded-lg bg-muted p-2 font-mono text-[11px]",children:JSON.stringify(e,null,2)}):String(e),(0,i.jsx)(i.Fragment,{children:n})}function y({empty:e,paths:t}){return t.length?(0,i.jsx)(a.ItemGroup,{className:"gap-1 rounded-lg border bg-muted/30 p-2",children:t.map(({path:e,description:t})=>(0,i.jsx)(a.Item,{className:"px-1 py-0",size:"xs",children:(0,i.jsxs)(a.ItemContent,{children:[(0,i.jsx)(a.ItemTitle,{children:(0,i.jsx)("code",{className:"text-[11px]",children:e})}),t&&(0,i.jsx)(a.ItemDescription,{className:"text-[10px]",children:t})]})},e))}):(0,i.jsx)(s.Empty,{className:"py-5",children:(0,i.jsx)(s.EmptyHeader,{children:(0,i.jsx)(s.EmptyDescription,{children:e})})})}e.s(["buildPathLookup",0,x,"displayProvidedPaths",0,f,"providesByNodeMap",0,function(e){return new Map([...e.provides.keys()].map(i=>[i,f(i,e.provides).map(e=>e.path)]))}],681735),e.s(["WorkflowReadonlyInspector",0,function({catalog:e,definition:a,onOpenChange:c,selectedId:u}){let p=(0,t.useTranslations)("workflows"),k=(0,h.useWorkflowLabels)(),j=a.nodes.find(({id:e})=>e===u)??null,b=a.triggers.find(({id:e})=>e===u)??null,v=j??b,w=j?e?.steps.find(({kind:e})=>e===j.kind):e?.triggers.find(({kind:e})=>e===b?.kind),C=(0,n.useMemo)(()=>(0,l.computeWorkflowPathAvailability)(a,x(e)),[e,a]),N=(0,n.useMemo)(()=>j?f(j.id,C.provides):b?m([...e?.triggers.find(({kind:e})=>e===b.kind)?.seedPaths??[],...(0,l.resourceManualSeedPaths)(b.kind,b.config)]):[],[C,e,j,b]),T=(0,n.useMemo)(()=>j?m([...new Set([...e?.steps.find(({kind:e})=>e===j.kind)?.requiredPaths??[],...j.requiredPaths])]):[],[e,j]),A=v?function(e,i){let t=(0,d.getConfigDescriptor)(e.kind,i);if(!t)return Object.entries(e.config).map(([e,i])=>({key:e,label:e,value:i}));let n=new Set,s=[];for(let i of t.fields){if(i.visibleWhen&&e.config[i.visibleWhen.key]!==i.visibleWhen.equals)continue;if("model"===i.control&&i.modelKeys){let t=[i.modelKeys.provider,i.modelKeys.model,i.modelKeys.effort];t.forEach(e=>n.add(e)),s.push({key:i.key,label:i.label,value:Object.fromEntries(t.map(i=>[i,e.config[i]??null]))});continue}n.add(i.key);let t=e.config[i.key]??i.default,r=(i.options?.kind==="static"?i.options.options:[]).find(({value:e})=>e===t);s.push({key:i.key,label:i.label,value:r?.label??t})}for(let[i,t]of Object.entries(e.config))n.has(i)||s.push({key:i,label:i,value:t});return s}(v,j?"step":"trigger"):[];return(0,i.jsx)(o.Sheet,{onOpenChange:c,open:!!v,children:(0,i.jsx)(o.SheetContent,{className:"overflow-y-auto sm:max-w-lg",children:v?(0,i.jsxs)(i.Fragment,{children:[(0,i.jsxs)(o.SheetHeader,{children:[(0,i.jsx)(o.SheetTitle,{children:v.name??k.kind(v.kind)}),(0,i.jsx)(o.SheetDescription,{children:w?.description??k.kind(v.kind)})]}),(0,i.jsxs)(r.FieldGroup,{className:"gap-4 px-4 pb-4",children:[w?.details&&(0,i.jsx)("p",{className:"rounded-lg border bg-muted/30 p-3 text-xs leading-relaxed text-muted-foreground",children:w.details}),(0,i.jsxs)(r.Field,{children:[(0,i.jsx)(r.FieldTitle,{children:p("configuration")}),A.length?(0,i.jsx)("dl",{className:"space-y-3 rounded-lg border bg-muted/20 p-3",children:A.map(e=>(0,i.jsxs)("div",{className:"space-y-1",children:[(0,i.jsx)("dt",{className:"text-xs font-medium",children:e.label}),(0,i.jsx)("dd",{className:"m-0 text-xs text-muted-foreground",children:(0,i.jsx)(g,{value:e.value,notSet:p("notSet")})})]},e.key))}):(0,i.jsx)(s.Empty,{className:"py-5",children:(0,i.jsx)(s.EmptyHeader,{children:(0,i.jsx)(s.EmptyTitle,{children:p("noConfiguration")})})})]}),(0,i.jsxs)(r.Field,{children:[(0,i.jsx)(r.FieldTitle,{children:j?p("addsToSession"):p("seedsSession")}),(0,i.jsx)(y,{empty:p("addsToSessionEmpty"),paths:N})]}),j&&(0,i.jsxs)(i.Fragment,{children:[(0,i.jsxs)(r.Field,{children:[(0,i.jsx)(r.FieldTitle,{children:p("requiredPaths")}),(0,i.jsx)(y,{empty:p("noRequiredPaths"),paths:T})]}),(0,i.jsxs)("dl",{className:"grid grid-cols-2 gap-3 rounded-lg border bg-muted/20 p-3",children:[(0,i.jsxs)("div",{children:[(0,i.jsx)("dt",{className:"text-xs font-medium",children:p("maxAttempts")}),(0,i.jsx)("dd",{className:"m-0 text-xs text-muted-foreground",children:j.retry.maxAttempts})]}),(0,i.jsxs)("div",{children:[(0,i.jsx)("dt",{className:"text-xs font-medium",children:p("retryStrategy")}),(0,i.jsx)("dd",{className:"m-0 text-xs text-muted-foreground",children:p(`retryStrategies.${j.retry.strategy}`)})]}),(0,i.jsxs)("div",{children:[(0,i.jsx)("dt",{className:"text-xs font-medium",children:p("retryDelay")}),(0,i.jsx)("dd",{className:"m-0 text-xs text-muted-foreground",children:p("seconds",{count:j.retry.delaySeconds})})]}),(0,i.jsxs)("div",{children:[(0,i.jsx)("dt",{className:"text-xs font-medium",children:p("failurePolicy")}),(0,i.jsx)("dd",{className:"m-0 text-xs text-muted-foreground",children:p(`failure.${j.failurePolicy}`)})]})]})]})]})]}):null})})}],18718)},930998,e=>{"use strict";var i=e.i(843476),t=e.i(816484),n=e.i(11037),s=e.i(487486),r=e.i(515288),a=e.i(82612),o=e.i(784774),d=e.i(520133),l=e.i(767648),c=e.i(948148);e.s(["WorktreeRunQueueCard",0,function({currentEntryId:e,entries:u,scope:p}){let m=(0,c.useTranslations)("workflows"),h=(0,c.useTranslations)("actionCenter.kinds"),x=(0,n.useRunLabels)(),f="WORKFLOW"===p;return(0,i.jsxs)(r.Card,{className:"min-w-0 gap-0 overflow-hidden py-0",children:[(0,i.jsxs)(r.CardHeader,{children:[(0,i.jsx)(r.CardTitle,{children:"WORKTREE"===p?m("worktreeQueue"):m("workflowQueue")}),(0,i.jsx)(r.CardDescription,{children:"WORKTREE"===p?m("worktreeQueueDescription"):"RUN"===p?m("runQueueDescription"):m("workflowQueueDescription")})]}),u.length?(0,i.jsx)("div",{className:"overflow-x-auto border-t",children:(0,i.jsxs)(o.Table,{children:[(0,i.jsx)(o.TableHeader,{children:(0,i.jsxs)(o.TableRow,{children:[(0,i.jsx)(o.TableHead,{className:"w-20",children:m("queuePosition")}),(0,i.jsx)(o.TableHead,{children:m("queueItem")}),(0,i.jsx)(o.TableHead,{children:m("queueState")}),f&&(0,i.jsx)(o.TableHead,{children:m("queueWorktree")}),(0,i.jsx)(o.TableHead,{children:m("queuedAt")})]})}),(0,i.jsx)(o.TableBody,{children:u.map(n=>{let r=n.id===e;return(0,i.jsxs)(o.TableRow,{className:r?"bg-primary/5":void 0,children:[(0,i.jsxs)(o.TableCell,{className:"font-mono font-semibold",children:["#",n.position]}),(0,i.jsxs)(o.TableCell,{children:[(0,i.jsxs)(d.Link,{className:"font-medium hover:underline",href:"WORKFLOW"===n.kind?`/workflows/runs/${n.id}`:`/${"PLAN"===n.kind?"plans":"sessions"}/${n.id}`,children:[h(n.kind)," #",n.displayNumber]}),(0,i.jsx)("p",{className:"max-w-72 truncate text-xs text-muted-foreground",children:n.name})]}),(0,i.jsx)(o.TableCell,{children:(0,i.jsxs)("div",{className:"flex flex-wrap gap-1",children:[(0,i.jsx)(s.Badge,{variant:"outline",children:"WORKFLOW"===n.kind?(0,l.formatEnumLabel)(n.phase):x.phase(n.phase)}),n.exclusiveWorktree&&(0,i.jsx)(s.Badge,{variant:"secondary",children:m("exclusive")}),r&&(0,i.jsx)(s.Badge,{variant:"secondary",children:m("currentRun")})]})}),f&&(0,i.jsx)(o.TableCell,{children:n.worktree?(0,i.jsx)(d.Link,{className:"font-mono text-xs hover:underline",href:`/worktrees/${n.worktree.id}`,children:n.worktree.branch??n.worktree.folder}):"—"}),(0,i.jsx)(o.TableCell,{className:"text-muted-foreground",children:(0,i.jsx)(t.DateTime,{kind:"relative",value:n.queuedAt})})]},`${n.kind}:${n.id}`)})})]})}):(0,i.jsx)(r.CardContent,{className:"pb-6",children:(0,i.jsx)(a.Empty,{className:"border py-8",children:(0,i.jsxs)(a.EmptyHeader,{children:[(0,i.jsx)(a.EmptyTitle,{children:m("queueEmpty")}),(0,i.jsx)(a.EmptyDescription,{children:m("queueEmptyDescription")})]})})})]})}])},119002,e=>{"use strict";let i=(0,e.i(456420).default)("circle-pause",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["line",{x1:"10",x2:"10",y1:"15",y2:"9",key:"c1nkhi"}],["line",{x1:"14",x2:"14",y1:"15",y2:"9",key:"h65svq"}]]);e.s(["CirclePause",0,i],119002)},848950,e=>{"use strict";var i=e.i(843476),t=e.i(716327),n=e.i(955370),s=e.i(119002),r=e.i(832297),a=e.i(762368),o=e.i(515281),d=e.i(741120),l=e.i(856522),c=e.i(948148),u=e.i(271645),p=e.i(816484),m=e.i(929592),h=e.i(487486),x=e.i(519455),f=e.i(515288),g=e.i(257428),y=e.i(755146),k=e.i(82612),j=e.i(302747),b=e.i(987968),v=e.i(110204),w=e.i(967489),C=e.i(784774),N=e.i(746798),T=e.i(520133),A=e.i(637611),S=e.i(997778),I=e.i(349049),R=e.i(18718),q=e.i(930998),D=e.i(687862),M=e.i(688194),P=e.i(399668);let W=`
|
|
1
|
+
(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,741120,e=>{"use strict";let i=(0,e.i(456420).default)("refresh-cw",[["path",{d:"M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8",key:"v9h5vc"}],["path",{d:"M21 3v5h-5",key:"1q7to0"}],["path",{d:"M21 12a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16",key:"3uifl3"}],["path",{d:"M8 16H3v5",key:"1cv678"}]]);e.s(["RefreshCw",0,i],741120)},82612,e=>{"use strict";var i=e.i(843476),t=e.i(225913),n=e.i(975157);let s=(0,t.cva)("mb-2 flex shrink-0 items-center justify-center [&_svg]:pointer-events-none [&_svg]:shrink-0",{variants:{variant:{default:"bg-transparent",icon:"flex size-8 shrink-0 items-center justify-center rounded-lg bg-muted text-foreground [&_svg:not([class*='size-'])]:size-4"}},defaultVariants:{variant:"default"}});e.s(["Empty",0,function({className:e,...t}){return(0,i.jsx)("div",{"data-slot":"empty",className:(0,n.cn)("flex w-full min-w-0 flex-1 flex-col items-center justify-center gap-4 rounded-xl border-dashed p-6 text-center text-balance",e),...t})},"EmptyDescription",0,function({className:e,...t}){return(0,i.jsx)("div",{"data-slot":"empty-description",className:(0,n.cn)("text-sm/relaxed text-muted-foreground [&>a]:underline [&>a]:underline-offset-4 [&>a:hover]:text-primary",e),...t})},"EmptyHeader",0,function({className:e,...t}){return(0,i.jsx)("div",{"data-slot":"empty-header",className:(0,n.cn)("flex max-w-sm flex-col items-center gap-2",e),...t})},"EmptyMedia",0,function({className:e,variant:t="default",...r}){return(0,i.jsx)("div",{"data-slot":"empty-icon","data-variant":t,className:(0,n.cn)(s({variant:t,className:e})),...r})},"EmptyTitle",0,function({className:e,...t}){return(0,i.jsx)("div",{"data-slot":"empty-title",className:(0,n.cn)("font-heading text-sm font-medium tracking-tight",e),...t})}])},856522,e=>{"use strict";let i=(0,e.i(456420).default)("save",[["path",{d:"M15.2 3a2 2 0 0 1 1.4.6l3.8 3.8a2 2 0 0 1 .6 1.4V19a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2z",key:"1c8476"}],["path",{d:"M17 21v-7a1 1 0 0 0-1-1H8a1 1 0 0 0-1 1v7",key:"1ydtos"}],["path",{d:"M7 3v4a1 1 0 0 0 1 1h7",key:"t51u73"}]]);e.s(["Save",0,i],856522)},876561,e=>{"use strict";let i=(0,e.i(456420).default)("archive",[["rect",{width:"20",height:"5",x:"2",y:"3",rx:"1",key:"1wp1u1"}],["path",{d:"M4 8v11a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8",key:"1s80jp"}],["path",{d:"M10 12h4",key:"a56b0p"}]]);e.s(["Archive",0,i],876561)},636162,e=>{"use strict";let i=(0,e.i(456420).default)("apple",[["path",{d:"M12 6.528V3a1 1 0 0 1 1-1h0",key:"11qiee"}],["path",{d:"M18.237 21A15 15 0 0 0 22 11a6 6 0 0 0-10-4.472A6 6 0 0 0 2 11a15.1 15.1 0 0 0 3.763 10 3 3 0 0 0 3.648.648 5.5 5.5 0 0 1 5.178 0A3 3 0 0 0 18.237 21",key:"110c12"}]]);e.s(["Apple",0,i],636162)},452330,e=>{"use strict";let i=(0,e.i(456420).default)("code-xml",[["path",{d:"m18 16 4-4-4-4",key:"1inbqp"}],["path",{d:"m6 8-4 4 4 4",key:"15zrgr"}],["path",{d:"m14.5 4-5 16",key:"e7oirm"}]]);e.s(["Code2",0,i],452330)},687862,671028,e=>{"use strict";var i=e.i(843476);e.i(688194);var t=e.i(636162),n=e.i(456420);let s=(0,n.default)("app-window",[["rect",{x:"2",y:"4",width:"20",height:"16",rx:"2",key:"izxlao"}],["path",{d:"M10 4v4",key:"pp8u80"}],["path",{d:"M2 8h20",key:"d11cs7"}],["path",{d:"M6 4v4",key:"1svtjw"}]]);var r=e.i(876561);let a=(0,n.default)("beaker",[["path",{d:"M4.5 3h15",key:"c7n0jr"}],["path",{d:"M6 3v16a2 2 0 0 0 2 2h8a2 2 0 0 0 2-2V3",key:"m1uhx7"}],["path",{d:"M6 14h12",key:"4cwo0f"}]]),o=(0,n.default)("box",[["path",{d:"M21 8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73l7 4a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16Z",key:"hh9hay"}],["path",{d:"m3.3 7 8.7 5 8.7-5",key:"g66t2b"}],["path",{d:"M12 22V12",key:"d0xqtd"}]]),d=(0,n.default)("bug",[["path",{d:"M12 20v-9",key:"1qisl0"}],["path",{d:"M14 7a4 4 0 0 1 4 4v3a6 6 0 0 1-12 0v-3a4 4 0 0 1 4-4z",key:"uouzyp"}],["path",{d:"M14.12 3.88 16 2",key:"qol33r"}],["path",{d:"M21 21a4 4 0 0 0-3.81-4",key:"1b0z45"}],["path",{d:"M21 5a4 4 0 0 1-3.55 3.97",key:"5cxbf6"}],["path",{d:"M22 13h-4",key:"1jl80f"}],["path",{d:"M3 21a4 4 0 0 1 3.81-4",key:"1fjd4g"}],["path",{d:"M3 5a4 4 0 0 0 3.55 3.97",key:"1d7oge"}],["path",{d:"M6 13H2",key:"82j7cp"}],["path",{d:"m8 2 1.88 1.88",key:"fmnt4t"}],["path",{d:"M9 7.13V6a3 3 0 1 1 6 0v1.13",key:"1vgav8"}]]);var l=e.i(452330);let c=(0,n.default)("gauge",[["path",{d:"m12 14 4-4",key:"9kzdfg"}],["path",{d:"M3.34 19a10 10 0 1 1 17.32 0",key:"19p75a"}]]);e.s(["Gauge",0,c],671028);var u=e.i(93384);let p=(0,n.default)("layers",[["path",{d:"M12.83 2.18a2 2 0 0 0-1.66 0L2.6 6.08a1 1 0 0 0 0 1.83l8.58 3.91a2 2 0 0 0 1.66 0l8.58-3.9a1 1 0 0 0 0-1.83z",key:"zw3jo"}],["path",{d:"M2 12a1 1 0 0 0 .58.91l8.6 3.91a2 2 0 0 0 1.65 0l8.58-3.9A1 1 0 0 0 22 12",key:"1wduqc"}],["path",{d:"M2 17a1 1 0 0 0 .58.91l8.6 3.91a2 2 0 0 0 1.65 0l8.58-3.9A1 1 0 0 0 22 17",key:"kqbvx6"}]]),m=(0,n.default)("package",[["path",{d:"M11 21.73a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16V8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73z",key:"1a0edw"}],["path",{d:"M12 22V12",key:"d0xqtd"}],["polyline",{points:"3.29 7 12 12 20.71 7",key:"ousv84"}],["path",{d:"m7.5 4.27 9 5.15",key:"1c824w"}]]);var h=e.i(21357);let x=(0,n.default)("rocket",[["path",{d:"M12 15v5s3.03-.55 4-2c1.08-1.62 0-5 0-5",key:"qeys4"}],["path",{d:"M4.5 16.5c-1.5 1.26-2 5-2 5s3.74-.5 5-2c.71-.84.7-2.13-.09-2.91a2.18 2.18 0 0 0-2.91-.09",key:"u4xsad"}],["path",{d:"M9 12a22 22 0 0 1 2-3.95A12.88 12.88 0 0 1 22 2c0 2.72-.78 7.5-6 11a22.4 22.4 0 0 1-4 2z",key:"676m9"}],["path",{d:"M9 12H4s.55-3.03 2-4c1.62-1.08 5 .05 5 .05",key:"92ym6u"}]]);var f=e.i(584026),g=e.i(986206),y=e.i(328623),k=e.i(604139);let j=(0,n.default)("test-tube",[["path",{d:"M14.5 2v17.5c0 1.4-1.1 2.5-2.5 2.5c-1.4 0-2.5-1.1-2.5-2.5V2",key:"125lnx"}],["path",{d:"M8.5 2h7",key:"csnxdl"}],["path",{d:"M14.5 16h-5",key:"1ox875"}]]);var b=e.i(747925);let v={apple:t.Apple,"app-window":s,archive:r.Archive,beaker:a,box:o,bug:d,code:l.Code2,gauge:c,hammer:u.Hammer,layers:p,package:m,play:h.Play,rocket:x,shield:f.ShieldCheck,smartphone:g.Smartphone,sparkles:y.Sparkles,terminal:k.Terminal,"test-tube":j,wrench:b.Wrench};e.s(["ConfigurationIcon",0,function({iconKey:e}){if(!e)return null;let t=v[e];return t?(0,i.jsx)(t,{"aria-hidden":!0,className:"size-4"}):null}],687862)},832297,e=>{"use strict";var i=e.i(187921);e.s(["CirclePlay",()=>i.default])},997778,e=>{"use strict";var i=e.i(843476),t=e.i(948148),n=e.i(271645),s=e.i(755146);e.s(["WorkflowChoiceMenu",0,function({button:e,choices:r,hasPlainTrigger:a=!1,onRun:o}){let d=(0,t.useTranslations)("workflows");return r.length?(0,i.jsxs)(s.DropdownMenu,{children:[(0,i.jsx)(s.DropdownMenuTrigger,{asChild:!0,children:e}),(0,i.jsxs)(s.DropdownMenuContent,{align:"start",className:"max-w-64",children:[a&&(0,i.jsx)(s.DropdownMenuItem,{onSelect:()=>o(null),children:d("fullRun")}),r.map(e=>(0,i.jsx)(s.DropdownMenuItem,{onSelect:()=>o(e.key),children:(0,i.jsxs)("div",{className:"min-w-0",children:[(0,i.jsx)("p",{className:"truncate",children:e.label}),e.description&&(0,i.jsx)("p",{className:"truncate text-xs text-muted-foreground",children:e.description})]})},e.key))]})]}):(0,n.cloneElement)(e,{onClick:()=>o(null)})}])},762368,e=>{"use strict";let i=(0,e.i(456420).default)("download",[["path",{d:"M12 15V3",key:"m9g1x1"}],["path",{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4",key:"ih7n3h"}],["path",{d:"m7 10 5 5 5-5",key:"brsn70"}]]);e.s(["Download",0,i],762368)},955370,e=>{"use strict";let i=(0,e.i(456420).default)("circle-off",[["path",{d:"m2 2 20 20",key:"1ooewy"}],["path",{d:"M8.35 2.69A10 10 0 0 1 21.3 15.65",key:"1pfsoa"}],["path",{d:"M19.08 19.08A10 10 0 1 1 4.92 4.92",key:"1ablyi"}]]);e.s(["CircleOff",0,i],955370)},18718,274757,681735,e=>{"use strict";var i=e.i(843476),t=e.i(948148),n=e.i(271645),s=e.i(82612),r=e.i(542450),a=e.i(906197),o=e.i(980376),d=e.i(450220),l=e.i(672510);let c={workflow:[{name:"id",description:"Workflow definition id"},{name:"name",description:"Workflow name"},{name:"runId",description:"Current run id"},{name:"startedAt",description:"Run start timestamp"},{name:"trigger",description:"Trigger that started the run"}],repo:[{name:"id",description:"Repository id"},{name:"githubId",description:"GitHub repository id"},{name:"owner",description:"Repository owner / organization"},{name:"name",description:"Repository name"},{name:"url",description:"Repository URL"},{name:"canonicalOrigin",description:"Normalized repository origin"},{name:"displayOrigin",description:"Human-readable repository origin"},{name:"defaultBranch",description:"Repository default branch"}],codebase:[{name:"id",description:"Codebase id"},{name:"agentId",description:"Owning agent id"},{name:"folder",description:"Codebase filesystem path"},{name:"branch",description:"Current branch"},{name:"headSha",description:"HEAD commit SHA"},{name:"dirty",description:"Whether the working tree has changes"},{name:"branches",description:"Local and remote Git branches"},{name:"branchesTruncated",description:"Whether branch results were truncated"},{name:"stashes",description:"Git stashes"},{name:"stashesTruncated",description:"Whether stash results were truncated"},{name:"remoteBranches",description:"Known remote branches"}],agent:[{name:"id",description:"Owning agent id"},{name:"name",description:"Agent display name"},{name:"hostname",description:"Agent hostname"},{name:"connected",description:"Whether the agent is connected"},{name:"diskTotalBytes",description:"Root disk capacity in bytes"},{name:"diskFreeBytes",description:"Available disk space in bytes"},{name:"memoryFreeBytes",description:"Available memory in bytes"}],disk:[{name:"enabled",description:"Whether disk monitoring is enabled"},{name:"status",description:"Current disk monitor status"},{name:"pressureMode",description:"Normal, manual, or automatic pressure mode"},{name:"manualPressureMode",description:"Whether manual pressure mode is enabled"},{name:"automaticPressureMode",description:"Whether automatic pressure mode is active"},{name:"lastReportedAt",description:"Timestamp of the latest accepted disk report"},{name:"lastError",description:"Latest monitor or cleanup error"},{name:"warnings",description:"Current disk report warnings"},{name:"monitoredVolumeId",description:"Least-free monitored Derived Data volume id"},{name:"freeBytes",description:"Monitored Derived Data free bytes"},{name:"totalBytes",description:"Monitored Derived Data total bytes"},{name:"freeGiB",description:"Monitored Derived Data free space in GiB"},{name:"freePercent",description:"Monitored Derived Data free percentage"},{name:"usedPercent",description:"Monitored Derived Data used percentage"},{name:"effectiveThresholdBytes",description:"Current cleanup threshold in bytes"},{name:"normalThresholdGiB",description:"Global normal threshold in GiB"},{name:"pressureThresholdGiB",description:"Global pressure threshold in GiB"},{name:"pollIntervalSeconds",description:"Agent disk report cadence"},{name:"staleAfterSeconds",description:"Age at which a report is stale"},{name:"changeReason",description:"Internal reason for the monitor event"},{name:"volumes",description:"All reported volumes and their monitor status"}],cleanup:[{name:"jobId",description:"Automatic cleanup agent job id"},{name:"status",description:"Automatic cleanup terminal status"},{name:"source",description:"Cleanup source"},{name:"error",description:"Cleanup error, if any"},{name:"targets",description:"Derived Data entries selected for cleanup"},{name:"deleted",description:"Derived Data entries reported deleted"}],command:[{name:"id",description:"Command run id"},{name:"commandId",description:"Saved command definition id"},{name:"name",description:"Command display name"},{name:"status",description:"Command run status"},{name:"exitCode",description:"Command process exit code"},{name:"signal",description:"Command termination signal"},{name:"error",description:"Command failure reason"},{name:"finishedAt",description:"Command completion timestamp"}],skill:[{name:"id",description:"Skill id"},{name:"groupId",description:"Skill group id"}],skillSync:[{name:"id",description:"Skill sync run id"},{name:"kind",description:"Skill sync kind"},{name:"status",description:"Skill sync status"},{name:"error",description:"Skill sync failure reason"},{name:"conflictCount",description:"Unresolved conflict count"},{name:"conflicts",description:"Unresolved skill conflicts"},{name:"updatedAt",description:"Skill sync update timestamp"},{name:"finishedAt",description:"Skill sync completion timestamp"}],buildData:[{name:"id",description:"Build-data collection id"},{name:"status",description:"Collection status"},{name:"finishedAt",description:"Collection completion timestamp"},{name:"totalBytes",description:"Total discovered bytes"},{name:"entryCount",description:"Discovered entry count"},{name:"successfulAgentCount",description:"Agents that completed collection successfully"}],signingProfile:[{name:"id",description:"Signing profile id"},{name:"uuid",description:"Provisioning profile UUID"},{name:"name",description:"Provisioning profile name"},{name:"expiresAt",description:"Provisioning profile expiry"},{name:"expired",description:"Whether the profile is expired"}],device:[{name:"id",description:"iOS device id"},{name:"udid",description:"Device UDID"},{name:"name",description:"Device display name"},{name:"product",description:"Device product identifier"},{name:"osVersion",description:"Device OS version"},{name:"status",description:"Device registration status"},{name:"error",description:"Device registration failure reason"},{name:"updatedAt",description:"Device update timestamp"}],pushBatch:[{name:"id",description:"Push-notification batch id"},{name:"status",description:"Push batch status"},{name:"targetMode",description:"Push batch target mode"},{name:"deliveryCount",description:"Push delivery count"},{name:"updatedAt",description:"Push batch update timestamp"}],ticket:[{name:"key",description:"Jira issue key (e.g. AIDE-42)"},{name:"projectKey",description:"Jira project key"},{name:"title",description:"Issue summary / title"},{name:"type",description:"Issue type (Bug, Story, …)"},{name:"status",description:"Workflow status name"},{name:"statusId",description:"Workflow status id"},{name:"statusCategory",description:"Status category (To Do, Done, …)"},{name:"assignee",description:"Assigned user"},{name:"assigneeAccountId",description:"Assigned Jira account id"},{name:"labels",description:"Issue labels"},{name:"sprintNames",description:"Sprints containing the issue"},{name:"url",description:"Jira issue URL"}],changelog:[{name:"id",description:"Jira webhook changelog id"},{name:"items",description:"Fields changed in the Jira update"}],pr:[{name:"id",description:"Pull request id"},{name:"number",description:"Pull request number"},{name:"state",description:"Open / closed / merged state"},{name:"merged",description:"Whether the pull request was merged"},{name:"title",description:"Pull request title"},{name:"url",description:"Pull request URL"},{name:"labels",description:"Pull request labels"},{name:"isDraft",description:"Whether the pull request is a draft"},{name:"headBranch",description:"Pull request head branch"},{name:"headRefName",description:"Pull request head ref"},{name:"headSha",description:"Pull request head commit SHA"},{name:"baseBranch",description:"Pull request base branch"},{name:"reviewDecision",description:"Latest review decision"},{name:"pipelineStatus",description:"Combined pull request check status"},{name:"unresolvedReviewThreadCount",description:"Number of unresolved pull request review threads"},{name:"pipelines",description:"CI pipelines linked to the pull request"},{name:"reviewThreads",description:"Pull request review threads"},{name:"mergeable",description:"Pull request mergeability"},{name:"repositoryGithubId",description:"GitHub repository id"},{name:"repositoryNameWithOwner",description:"GitHub owner and repository name"},{name:"jiraKey",description:"Jira key linked to the pull request"},{name:"unresolvedThreads",description:"Unresolved review threads"}],worktree:[{name:"id",description:"Worktree id"},{name:"branch",description:"Worktree branch"},{name:"baseBranch",description:"Base branch the work targets"},{name:"path",description:"Filesystem path"},{name:"headSha",description:"Worktree HEAD commit SHA"},{name:"pushStatus",description:"Push readiness status"},{name:"upstream",description:"Tracked upstream branch"},{name:"syncState",description:"Relationship to the tracked branch"},{name:"ahead",description:"Commits ahead of upstream"},{name:"behind",description:"Commits behind upstream"},{name:"baseAhead",description:"Commits ahead of the base branch"},{name:"baseBehind",description:"Commits behind the base branch"},{name:"commits",description:"Commits on the branch"},{name:"changes",description:"Pending file changes"},{name:"branchChanges",description:"Files changed from the base branch"},{name:"commitsTruncated",description:"Whether commit results were truncated"},{name:"changesTruncated",description:"Whether pending changes were truncated"},{name:"branchChangesTruncated",description:"Whether branch change results were truncated"},{name:"dirty",description:"Whether the working tree has changes"},{name:"branches",description:"Local and remote Git branches"},{name:"branchesTruncated",description:"Whether branch results were truncated"},{name:"stashes",description:"Git stashes"},{name:"stashesTruncated",description:"Whether stash results were truncated"},{name:"rebaseInProgress",description:"Whether a rebase is in progress"},{name:"hasConflicts",description:"Whether Git reports conflicts"},{name:"conflicted",description:"Whether an inspection found conflicts"},{name:"conflicts",description:"Conflicting files"},{name:"missingAt",description:"When the worktree was found missing"},{name:"dirtySince",description:"When the worktree became dirty"},{name:"autoSync",description:"Persistent Auto Sync configuration and current state"},{name:"autoMerge",description:"Persistent Auto Merge configuration and current state"}],pipeline:[{name:"id",description:"CI pipeline id"},{name:"runId",description:"CI run id"},{name:"workflowId",description:"CI workflow id"},{name:"name",description:"CI workflow name"},{name:"displayTitle",description:"CI run display title"},{name:"status",description:"Run status"},{name:"conclusion",description:"Run conclusion"},{name:"headBranch",description:"Branch built by the CI run"},{name:"headSha",description:"Commit built by the CI run"},{name:"pullRequests",description:"Pull requests linked to the CI run"},{name:"url",description:"CI run URL"},{name:"failedJobs",description:"Failed jobs"},{name:"jobs",description:"Jobs in the CI run"},{name:"checkSuiteId",description:"GitHub check suite id"},{name:"runNumber",description:"GitHub Actions run number"},{name:"runAttempt",description:"GitHub Actions run attempt"},{name:"jiraKey",description:"Jira key inferred from the run"}],build:[{name:"id",description:"Build id"},{name:"status",description:"Build status"},{name:"action",description:"Build action"},{name:"error",description:"Build error, if any"},{name:"artifactDirectory",description:"Build artifact directory"},{name:"testSummary",description:"Test result summary"},{name:"tests",description:"Individual test results"},{name:"coverageSummary",description:"Coverage summary"},{name:"coverageFiles",description:"Per-file coverage results"},{name:"changedCoverageFiles",description:"Coverage for files changed on the branch"},{name:"artifacts",description:"Exported build artifacts"},{name:"exportId",description:"Build export id"}],run:[{name:"id",description:"Agent run id"},{name:"kind",description:"Run kind (PLAN / SESSION)"},{name:"status",description:"Run status"},{name:"phase",description:"Run phase"},{name:"origin",description:"Run origin"},{name:"provider",description:"AI provider"},{name:"model",description:"AI model"},{name:"branch",description:"Branch used by the run"},{name:"finalOutput",description:"Final output text"},{name:"error",description:"Run error, if any"},{name:"usage",description:"Token usage and cost"},{name:"questions",description:"Questions asked by the run"},{name:"events",description:"Run events"},{name:"links",description:"Resources linked to the run"}],steps:[{name:"status",description:"Step completion status"},{name:"output",description:"Step output payload"},{name:"answer",description:"Human answer for the step"},{name:"snapshotId",description:"Captured snapshot id"},{name:"items",description:"Items produced for iteration"},{name:"commandRunId",description:"Command run id"},{name:"displayNumber",description:"Resource display number"}],comment:[{name:"id",description:"Comment id"},{name:"body",description:"Comment body"},{name:"author",description:"Comment author"}],push:[{name:"ref",description:"Pushed Git ref"},{name:"before",description:"Commit before the push"},{name:"after",description:"Commit after the push"}],job:[{name:"id",description:"Job id"},{name:"name",description:"Job name"},{name:"status",description:"Job status"},{name:"url",description:"Job URL"},{name:"runAttempt",description:"Workflow run attempt"}]},u=new Map(Object.entries(c).flatMap(([e,i])=>i.map(i=>[`${e}.${i.name}`,i.description])));function p(e){return e.split(".")[0]??e}function m(e){let i=new Map,t=e=>{i.has(e.path)||i.set(e.path,e)};for(let i of e){let e=i.trim();if(e&&"*"!==e){if(e.endsWith(".*")){let i=e.slice(0,-2),n=c[p(i)];if(n)for(let e of n)t({path:`${i}.${e.name}`,description:e.description});else t({path:e});continue}t({path:e,description:function(e){let i=e.split(".");if(i.length<2)return;let t=i[i.length-1];return u.get(`${p(e)}.${t}`)}(e)})}}return[...i.values()].sort((e,i)=>e.path.localeCompare(i.path))}e.s(["expandSessionPaths",0,m],274757);var h=e.i(399668);function x(e){let i=new Map(e?.steps.map(e=>[e.kind,e])??[]),t=new Map(e?.triggers.map(e=>[e.kind,e])??[]);return{stepPaths:e=>{let t=i.get(e);return{requiredPaths:t?.requiredPaths??[],providedPaths:t?.providedPaths??[]}},triggerSeedPaths:e=>t.get(e)?.seedPaths??[]}}function f(e,i){let t=i.get(e)??[],n=t.filter(i=>i!==`steps.${e}.*`);return m(n.length?n:t)}function g({value:e,notSet:t}){let n;return n=null==e||""===e?t:"boolean"==typeof e?e?"Yes":"No":e&&"object"==typeof e&&!Array.isArray(e)&&"SESSION"===e.source?(0,i.jsx)("code",{children:String(e.path??t)}):Array.isArray(e)&&e.every(e=>"object"!=typeof e)?e.length?e.join(", "):t:"object"==typeof e?(0,i.jsx)("pre",{className:"overflow-x-auto whitespace-pre-wrap rounded-lg bg-muted p-2 font-mono text-[11px]",children:JSON.stringify(e,null,2)}):String(e),(0,i.jsx)(i.Fragment,{children:n})}function y({empty:e,paths:t}){return t.length?(0,i.jsx)(a.ItemGroup,{className:"gap-1 rounded-lg border bg-muted/30 p-2",children:t.map(({path:e,description:t})=>(0,i.jsx)(a.Item,{className:"px-1 py-0",size:"xs",children:(0,i.jsxs)(a.ItemContent,{children:[(0,i.jsx)(a.ItemTitle,{children:(0,i.jsx)("code",{className:"text-[11px]",children:e})}),t&&(0,i.jsx)(a.ItemDescription,{className:"text-[10px]",children:t})]})},e))}):(0,i.jsx)(s.Empty,{className:"py-5",children:(0,i.jsx)(s.EmptyHeader,{children:(0,i.jsx)(s.EmptyDescription,{children:e})})})}e.s(["buildPathLookup",0,x,"displayProvidedPaths",0,f,"providesByNodeMap",0,function(e){return new Map([...e.provides.keys()].map(i=>[i,f(i,e.provides).map(e=>e.path)]))}],681735),e.s(["WorkflowReadonlyInspector",0,function({catalog:e,definition:a,onOpenChange:c,selectedId:u}){let p=(0,t.useTranslations)("workflows"),k=(0,h.useWorkflowLabels)(),j=a.nodes.find(({id:e})=>e===u)??null,b=a.triggers.find(({id:e})=>e===u)??null,v=j??b,w=j?e?.steps.find(({kind:e})=>e===j.kind):e?.triggers.find(({kind:e})=>e===b?.kind),C=(0,n.useMemo)(()=>(0,l.computeWorkflowPathAvailability)(a,x(e)),[e,a]),N=(0,n.useMemo)(()=>j?f(j.id,C.provides):b?m([...e?.triggers.find(({kind:e})=>e===b.kind)?.seedPaths??[],...(0,l.resourceManualSeedPaths)(b.kind,b.config)]):[],[C,e,j,b]),T=(0,n.useMemo)(()=>j?m([...new Set([...e?.steps.find(({kind:e})=>e===j.kind)?.requiredPaths??[],...j.requiredPaths])]):[],[e,j]),A=v?function(e,i){let t=(0,d.getConfigDescriptor)(e.kind,i);if(!t)return Object.entries(e.config).map(([e,i])=>({key:e,label:e,value:i}));let n=new Set,s=[];for(let i of t.fields){if(i.visibleWhen&&e.config[i.visibleWhen.key]!==i.visibleWhen.equals)continue;if("model"===i.control&&i.modelKeys){let t=[i.modelKeys.provider,i.modelKeys.model,i.modelKeys.effort];t.forEach(e=>n.add(e)),s.push({key:i.key,label:i.label,value:Object.fromEntries(t.map(i=>[i,e.config[i]??null]))});continue}n.add(i.key);let t=e.config[i.key]??i.default,r=(i.options?.kind==="static"?i.options.options:[]).find(({value:e})=>e===t);s.push({key:i.key,label:i.label,value:r?.label??t})}for(let[i,t]of Object.entries(e.config))n.has(i)||s.push({key:i,label:i,value:t});return s}(v,j?"step":"trigger"):[];return(0,i.jsx)(o.Sheet,{onOpenChange:c,open:!!v,children:(0,i.jsx)(o.SheetContent,{className:"overflow-y-auto sm:max-w-lg",children:v?(0,i.jsxs)(i.Fragment,{children:[(0,i.jsxs)(o.SheetHeader,{children:[(0,i.jsx)(o.SheetTitle,{children:v.name??k.kind(v.kind)}),(0,i.jsx)(o.SheetDescription,{children:w?.description??k.kind(v.kind)})]}),(0,i.jsxs)(r.FieldGroup,{className:"gap-4 px-4 pb-4",children:[w?.details&&(0,i.jsx)("p",{className:"rounded-lg border bg-muted/30 p-3 text-xs leading-relaxed text-muted-foreground",children:w.details}),(0,i.jsxs)(r.Field,{children:[(0,i.jsx)(r.FieldTitle,{children:p("configuration")}),A.length?(0,i.jsx)("dl",{className:"space-y-3 rounded-lg border bg-muted/20 p-3",children:A.map(e=>(0,i.jsxs)("div",{className:"space-y-1",children:[(0,i.jsx)("dt",{className:"text-xs font-medium",children:e.label}),(0,i.jsx)("dd",{className:"m-0 text-xs text-muted-foreground",children:(0,i.jsx)(g,{value:e.value,notSet:p("notSet")})})]},e.key))}):(0,i.jsx)(s.Empty,{className:"py-5",children:(0,i.jsx)(s.EmptyHeader,{children:(0,i.jsx)(s.EmptyTitle,{children:p("noConfiguration")})})})]}),(0,i.jsxs)(r.Field,{children:[(0,i.jsx)(r.FieldTitle,{children:j?p("addsToSession"):p("seedsSession")}),(0,i.jsx)(y,{empty:p("addsToSessionEmpty"),paths:N})]}),j&&(0,i.jsxs)(i.Fragment,{children:[(0,i.jsxs)(r.Field,{children:[(0,i.jsx)(r.FieldTitle,{children:p("requiredPaths")}),(0,i.jsx)(y,{empty:p("noRequiredPaths"),paths:T})]}),(0,i.jsxs)("dl",{className:"grid grid-cols-2 gap-3 rounded-lg border bg-muted/20 p-3",children:[(0,i.jsxs)("div",{children:[(0,i.jsx)("dt",{className:"text-xs font-medium",children:p("maxAttempts")}),(0,i.jsx)("dd",{className:"m-0 text-xs text-muted-foreground",children:j.retry.maxAttempts})]}),(0,i.jsxs)("div",{children:[(0,i.jsx)("dt",{className:"text-xs font-medium",children:p("retryStrategy")}),(0,i.jsx)("dd",{className:"m-0 text-xs text-muted-foreground",children:p(`retryStrategies.${j.retry.strategy}`)})]}),(0,i.jsxs)("div",{children:[(0,i.jsx)("dt",{className:"text-xs font-medium",children:p("retryDelay")}),(0,i.jsx)("dd",{className:"m-0 text-xs text-muted-foreground",children:p("seconds",{count:j.retry.delaySeconds})})]}),(0,i.jsxs)("div",{children:[(0,i.jsx)("dt",{className:"text-xs font-medium",children:p("failurePolicy")}),(0,i.jsx)("dd",{className:"m-0 text-xs text-muted-foreground",children:p(`failure.${j.failurePolicy}`)})]})]})]})]})]}):null})})}],18718)},930998,e=>{"use strict";var i=e.i(843476),t=e.i(816484),n=e.i(11037),s=e.i(487486),r=e.i(515288),a=e.i(82612),o=e.i(784774),d=e.i(520133),l=e.i(767648),c=e.i(948148);e.s(["WorktreeRunQueueCard",0,function({currentEntryId:e,entries:u,scope:p}){let m=(0,c.useTranslations)("workflows"),h=(0,c.useTranslations)("actionCenter.kinds"),x=(0,n.useRunLabels)(),f="WORKFLOW"===p;return(0,i.jsxs)(r.Card,{className:"min-w-0 gap-0 overflow-hidden py-0",children:[(0,i.jsxs)(r.CardHeader,{children:[(0,i.jsx)(r.CardTitle,{children:"WORKTREE"===p?m("worktreeQueue"):m("workflowQueue")}),(0,i.jsx)(r.CardDescription,{children:"WORKTREE"===p?m("worktreeQueueDescription"):"RUN"===p?m("runQueueDescription"):m("workflowQueueDescription")})]}),u.length?(0,i.jsx)("div",{className:"overflow-x-auto border-t",children:(0,i.jsxs)(o.Table,{children:[(0,i.jsx)(o.TableHeader,{children:(0,i.jsxs)(o.TableRow,{children:[(0,i.jsx)(o.TableHead,{className:"w-20",children:m("queuePosition")}),(0,i.jsx)(o.TableHead,{children:m("queueItem")}),(0,i.jsx)(o.TableHead,{children:m("queueState")}),f&&(0,i.jsx)(o.TableHead,{children:m("queueWorktree")}),(0,i.jsx)(o.TableHead,{children:m("queuedAt")})]})}),(0,i.jsx)(o.TableBody,{children:u.map(n=>{let r=n.id===e;return(0,i.jsxs)(o.TableRow,{className:r?"bg-primary/5":void 0,children:[(0,i.jsxs)(o.TableCell,{className:"font-mono font-semibold",children:["#",n.position]}),(0,i.jsxs)(o.TableCell,{children:[(0,i.jsxs)(d.Link,{className:"font-medium hover:underline",href:"WORKFLOW"===n.kind?`/workflows/runs/${n.id}`:`/${"PLAN"===n.kind?"plans":"sessions"}/${n.id}`,children:[h(n.kind)," #",n.displayNumber]}),(0,i.jsx)("p",{className:"max-w-72 truncate text-xs text-muted-foreground",children:n.name})]}),(0,i.jsx)(o.TableCell,{children:(0,i.jsxs)("div",{className:"flex flex-wrap gap-1",children:[(0,i.jsx)(s.Badge,{variant:"outline",children:"WORKFLOW"===n.kind?(0,l.formatEnumLabel)(n.phase):x.phase(n.phase)}),n.exclusiveWorktree&&(0,i.jsx)(s.Badge,{variant:"secondary",children:m("exclusive")}),r&&(0,i.jsx)(s.Badge,{variant:"secondary",children:m("currentRun")})]})}),f&&(0,i.jsx)(o.TableCell,{children:n.worktree?(0,i.jsx)(d.Link,{className:"font-mono text-xs hover:underline",href:`/worktrees/${n.worktree.id}`,children:n.worktree.branch??n.worktree.folder}):"—"}),(0,i.jsx)(o.TableCell,{className:"text-muted-foreground",children:(0,i.jsx)(t.DateTime,{kind:"relative",value:n.queuedAt})})]},`${n.kind}:${n.id}`)})})]})}):(0,i.jsx)(r.CardContent,{className:"py-6",children:(0,i.jsx)(a.Empty,{className:"border py-8",children:(0,i.jsxs)(a.EmptyHeader,{children:[(0,i.jsx)(a.EmptyTitle,{children:m("queueEmpty")}),(0,i.jsx)(a.EmptyDescription,{children:m("queueEmptyDescription")})]})})})]})}])},119002,e=>{"use strict";let i=(0,e.i(456420).default)("circle-pause",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["line",{x1:"10",x2:"10",y1:"15",y2:"9",key:"c1nkhi"}],["line",{x1:"14",x2:"14",y1:"15",y2:"9",key:"h65svq"}]]);e.s(["CirclePause",0,i],119002)},848950,e=>{"use strict";var i=e.i(843476),t=e.i(716327),n=e.i(955370),s=e.i(119002),r=e.i(832297),a=e.i(762368),o=e.i(515281),d=e.i(741120),l=e.i(856522),c=e.i(948148),u=e.i(271645),p=e.i(816484),m=e.i(929592),h=e.i(487486),x=e.i(519455),f=e.i(515288),g=e.i(257428),y=e.i(755146),k=e.i(82612),j=e.i(302747),b=e.i(987968),v=e.i(110204),w=e.i(967489),C=e.i(784774),N=e.i(746798),T=e.i(520133),A=e.i(637611),S=e.i(997778),I=e.i(349049),R=e.i(18718),q=e.i(930998),D=e.i(687862),M=e.i(688194),P=e.i(399668);let W=`
|
|
2
2
|
id name description draftDefinition activeVersionId enabled overlapPolicy maxConcurrentRuns completionNotificationsEnabled exclusiveWorktree archivedAt quickActionKind quickActionIconKey quickActionButtonVariant
|
|
3
3
|
hasPlainTrigger
|
|
4
4
|
triggerChoices { key label description }
|
/package/standalone/.next/static/{nbE1-Qv1XUnoSNBEo7ZK8 → IdLHkgVgnALInrGzq6zeW}/_buildManifest.js
RENAMED
|
File without changes
|
|
File without changes
|
/package/standalone/.next/static/{nbE1-Qv1XUnoSNBEo7ZK8 → IdLHkgVgnALInrGzq6zeW}/_ssgManifest.js
RENAMED
|
File without changes
|