@ai-development-environment/server 0.0.73 → 0.0.74
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 → YQIuXmWQUbKsutRkPFwhf}/_buildManifest.js +0 -0
- /package/standalone/.next/static/{nbE1-Qv1XUnoSNBEo7ZK8 → YQIuXmWQUbKsutRkPFwhf}/_clientMiddlewareManifest.js +0 -0
- /package/standalone/.next/static/{nbE1-Qv1XUnoSNBEo7ZK8 → YQIuXmWQUbKsutRkPFwhf}/_ssgManifest.js +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
0:{"tree":{"name":"","param":null,"prefetchHints":16,"slots":{"children":{"name":"/_not-found","param":null,"prefetchHints":0,"slots":{"children":{"name":"__PAGE__","param":null,"prefetchHints":0,"slots":null}}}}},"staleTime":300,"buildId":"
|
|
1
|
+
0:{"tree":{"name":"","param":null,"prefetchHints":16,"slots":{"children":{"name":"/_not-found","param":null,"prefetchHints":0,"slots":{"children":{"name":"__PAGE__","param":null,"prefetchHints":0,"slots":null}}}}},"staleTime":300,"buildId":"YQIuXmWQUbKsutRkPFwhf"}
|
|
@@ -47,7 +47,7 @@ module.exports=[750227,(a,b,c)=>{b.exports=a.x("node:path",()=>require("node:pat
|
|
|
47
47
|
files { path previousPath changeType additions deletions binary image }
|
|
48
48
|
patch image binary truncated beforeAvailable afterAvailable
|
|
49
49
|
}
|
|
50
|
-
}`;a.s(["CODEBASE_FIELDS",0,d,"INSPECT_WORKTREE_DIFF_MUTATION",0,f,"INSPECT_WORKTREE_MUTATION",0,e,"WORKTREE_FIELDS",0,c],532055)},372567,a=>{"use strict";var b=a.i(187924),c=a.i(600729),d=a.i(638168),e=a.i(786304),f=a.i(591119),g=a.i(46524),h=a.i(206015),i=a.i(555027),j=a.i(112613),k=a.i(415925);a.s(["WorktreeRunQueueCard",0,function({currentEntryId:a,entries:l,scope:m}){let n=(0,k.useTranslations)("workflows"),o=(0,k.useTranslations)("actionCenter.kinds"),p=(0,d.useRunLabels)(),q="WORKFLOW"===m;return(0,b.jsxs)(f.Card,{className:"min-w-0 gap-0 overflow-hidden py-0",children:[(0,b.jsxs)(f.CardHeader,{children:[(0,b.jsx)(f.CardTitle,{children:"WORKTREE"===m?n("worktreeQueue"):n("workflowQueue")}),(0,b.jsx)(f.CardDescription,{children:"WORKTREE"===m?n("worktreeQueueDescription"):"RUN"===m?n("runQueueDescription"):n("workflowQueueDescription")})]}),l.length?(0,b.jsx)("div",{className:"overflow-x-auto border-t",children:(0,b.jsxs)(h.Table,{children:[(0,b.jsx)(h.TableHeader,{children:(0,b.jsxs)(h.TableRow,{children:[(0,b.jsx)(h.TableHead,{className:"w-20",children:n("queuePosition")}),(0,b.jsx)(h.TableHead,{children:n("queueItem")}),(0,b.jsx)(h.TableHead,{children:n("queueState")}),q&&(0,b.jsx)(h.TableHead,{children:n("queueWorktree")}),(0,b.jsx)(h.TableHead,{children:n("queuedAt")})]})}),(0,b.jsx)(h.TableBody,{children:l.map(d=>{let f=d.id===a;return(0,b.jsxs)(h.TableRow,{className:f?"bg-primary/5":void 0,children:[(0,b.jsxs)(h.TableCell,{className:"font-mono font-semibold",children:["#",d.position]}),(0,b.jsxs)(h.TableCell,{children:[(0,b.jsxs)(i.Link,{className:"font-medium hover:underline",href:"WORKFLOW"===d.kind?`/workflows/runs/${d.id}`:`/${"PLAN"===d.kind?"plans":"sessions"}/${d.id}`,children:[o(d.kind)," #",d.displayNumber]}),(0,b.jsx)("p",{className:"max-w-72 truncate text-xs text-muted-foreground",children:d.name})]}),(0,b.jsx)(h.TableCell,{children:(0,b.jsxs)("div",{className:"flex flex-wrap gap-1",children:[(0,b.jsx)(e.Badge,{variant:"outline",children:"WORKFLOW"===d.kind?(0,j.formatEnumLabel)(d.phase):p.phase(d.phase)}),d.exclusiveWorktree&&(0,b.jsx)(e.Badge,{variant:"secondary",children:n("exclusive")}),f&&(0,b.jsx)(e.Badge,{variant:"secondary",children:n("currentRun")})]})}),q&&(0,b.jsx)(h.TableCell,{children:d.worktree?(0,b.jsx)(i.Link,{className:"font-mono text-xs hover:underline",href:`/worktrees/${d.worktree.id}`,children:d.worktree.branch??d.worktree.folder}):"—"}),(0,b.jsx)(h.TableCell,{className:"text-muted-foreground",children:(0,b.jsx)(c.DateTime,{kind:"relative",value:d.queuedAt})})]},`${d.kind}:${d.id}`)})})]})}):(0,b.jsx)(f.CardContent,{className:"
|
|
50
|
+
}`;a.s(["CODEBASE_FIELDS",0,d,"INSPECT_WORKTREE_DIFF_MUTATION",0,f,"INSPECT_WORKTREE_MUTATION",0,e,"WORKTREE_FIELDS",0,c],532055)},372567,a=>{"use strict";var b=a.i(187924),c=a.i(600729),d=a.i(638168),e=a.i(786304),f=a.i(591119),g=a.i(46524),h=a.i(206015),i=a.i(555027),j=a.i(112613),k=a.i(415925);a.s(["WorktreeRunQueueCard",0,function({currentEntryId:a,entries:l,scope:m}){let n=(0,k.useTranslations)("workflows"),o=(0,k.useTranslations)("actionCenter.kinds"),p=(0,d.useRunLabels)(),q="WORKFLOW"===m;return(0,b.jsxs)(f.Card,{className:"min-w-0 gap-0 overflow-hidden py-0",children:[(0,b.jsxs)(f.CardHeader,{children:[(0,b.jsx)(f.CardTitle,{children:"WORKTREE"===m?n("worktreeQueue"):n("workflowQueue")}),(0,b.jsx)(f.CardDescription,{children:"WORKTREE"===m?n("worktreeQueueDescription"):"RUN"===m?n("runQueueDescription"):n("workflowQueueDescription")})]}),l.length?(0,b.jsx)("div",{className:"overflow-x-auto border-t",children:(0,b.jsxs)(h.Table,{children:[(0,b.jsx)(h.TableHeader,{children:(0,b.jsxs)(h.TableRow,{children:[(0,b.jsx)(h.TableHead,{className:"w-20",children:n("queuePosition")}),(0,b.jsx)(h.TableHead,{children:n("queueItem")}),(0,b.jsx)(h.TableHead,{children:n("queueState")}),q&&(0,b.jsx)(h.TableHead,{children:n("queueWorktree")}),(0,b.jsx)(h.TableHead,{children:n("queuedAt")})]})}),(0,b.jsx)(h.TableBody,{children:l.map(d=>{let f=d.id===a;return(0,b.jsxs)(h.TableRow,{className:f?"bg-primary/5":void 0,children:[(0,b.jsxs)(h.TableCell,{className:"font-mono font-semibold",children:["#",d.position]}),(0,b.jsxs)(h.TableCell,{children:[(0,b.jsxs)(i.Link,{className:"font-medium hover:underline",href:"WORKFLOW"===d.kind?`/workflows/runs/${d.id}`:`/${"PLAN"===d.kind?"plans":"sessions"}/${d.id}`,children:[o(d.kind)," #",d.displayNumber]}),(0,b.jsx)("p",{className:"max-w-72 truncate text-xs text-muted-foreground",children:d.name})]}),(0,b.jsx)(h.TableCell,{children:(0,b.jsxs)("div",{className:"flex flex-wrap gap-1",children:[(0,b.jsx)(e.Badge,{variant:"outline",children:"WORKFLOW"===d.kind?(0,j.formatEnumLabel)(d.phase):p.phase(d.phase)}),d.exclusiveWorktree&&(0,b.jsx)(e.Badge,{variant:"secondary",children:n("exclusive")}),f&&(0,b.jsx)(e.Badge,{variant:"secondary",children:n("currentRun")})]})}),q&&(0,b.jsx)(h.TableCell,{children:d.worktree?(0,b.jsx)(i.Link,{className:"font-mono text-xs hover:underline",href:`/worktrees/${d.worktree.id}`,children:d.worktree.branch??d.worktree.folder}):"—"}),(0,b.jsx)(h.TableCell,{className:"text-muted-foreground",children:(0,b.jsx)(c.DateTime,{kind:"relative",value:d.queuedAt})})]},`${d.kind}:${d.id}`)})})]})}):(0,b.jsx)(f.CardContent,{className:"py-6",children:(0,b.jsx)(g.Empty,{className:"border py-8",children:(0,b.jsxs)(g.EmptyHeader,{children:[(0,b.jsx)(g.EmptyTitle,{children:n("queueEmpty")}),(0,b.jsx)(g.EmptyDescription,{children:n("queueEmptyDescription")})]})})})]})}])},1360,123031,a=>{"use strict";let b=`
|
|
51
51
|
id requestId jobId status action destinationType destination snapshot commandSummary artifactDirectory errorCode error outOfDate
|
|
52
52
|
createdAt startedAt finishedAt durationMs updatedAt
|
|
53
53
|
worktree { id highlightColor }
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
module.exports=[46524,a=>{"use strict";var b=a.i(187924),c=a.i(400187),d=a.i(368114);let e=(0,c.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"}});a.s(["Empty",0,function({className:a,...c}){return(0,b.jsx)("div",{"data-slot":"empty",className:(0,d.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",a),...c})},"EmptyDescription",0,function({className:a,...c}){return(0,b.jsx)("div",{"data-slot":"empty-description",className:(0,d.cn)("text-sm/relaxed text-muted-foreground [&>a]:underline [&>a]:underline-offset-4 [&>a:hover]:text-primary",a),...c})},"EmptyHeader",0,function({className:a,...c}){return(0,b.jsx)("div",{"data-slot":"empty-header",className:(0,d.cn)("flex max-w-sm flex-col items-center gap-2",a),...c})},"EmptyMedia",0,function({className:a,variant:c="default",...f}){return(0,b.jsx)("div",{"data-slot":"empty-icon","data-variant":c,className:(0,d.cn)(e({variant:c,className:a})),...f})},"EmptyTitle",0,function({className:a,...c}){return(0,b.jsx)("div",{"data-slot":"empty-title",className:(0,d.cn)("font-heading text-sm font-medium tracking-tight",a),...c})}])},206015,a=>{"use strict";var b=a.i(187924),c=a.i(368114);a.s(["Table",0,function({className:a,...d}){return(0,b.jsx)("div",{"data-slot":"table-container",className:"relative w-full overflow-x-auto",children:(0,b.jsx)("table",{"data-slot":"table",className:(0,c.cn)("w-full caption-bottom text-sm",a),...d})})},"TableBody",0,function({className:a,...d}){return(0,b.jsx)("tbody",{"data-slot":"table-body",className:(0,c.cn)("[&_tr:last-child]:border-0",a),...d})},"TableCell",0,function({className:a,...d}){return(0,b.jsx)("td",{"data-slot":"table-cell",className:(0,c.cn)("p-2 align-middle whitespace-nowrap [&:has([role=checkbox])]:pr-0",a),...d})},"TableFooter",0,function({className:a,...d}){return(0,b.jsx)("tfoot",{"data-slot":"table-footer",className:(0,c.cn)("border-t bg-muted/50 font-medium [&>tr]:last:border-b-0",a),...d})},"TableHead",0,function({className:a,...d}){return(0,b.jsx)("th",{"data-slot":"table-head",className:(0,c.cn)("h-10 px-2 text-left align-middle font-medium whitespace-nowrap text-foreground [&:has([role=checkbox])]:pr-0",a),...d})},"TableHeader",0,function({className:a,...d}){return(0,b.jsx)("thead",{"data-slot":"table-header",className:(0,c.cn)("[&_tr]:border-b",a),...d})},"TableRow",0,function({className:a,...d}){return(0,b.jsx)("tr",{"data-slot":"table-row",className:(0,c.cn)("border-b transition-colors hover:bg-muted/50 has-aria-expanded:bg-muted/50 data-[state=selected]:bg-muted",a),...d})}])},519783,a=>{"use strict";let b=(0,a.i(164831).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"}]]);a.s(["RefreshCw",0,b],519783)},879675,a=>{"use strict";let b=(0,a.i(164831).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"}]]);a.s(["Save",0,b],879675)},979762,a=>{"use strict";let b=(0,a.i(164831).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"}]]);a.s(["Archive",0,b],979762)},617770,a=>{"use strict";let b=(0,a.i(164831).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"}]]);a.s(["Code2",0,b],617770)},235709,a=>{"use strict";let b=(0,a.i(164831).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"}]]);a.s(["Apple",0,b],235709)},67422,206024,a=>{"use strict";var b=a.i(187924);a.i(470828);var c=a.i(235709),d=a.i(164831);let e=(0,d.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 f=a.i(979762);let g=(0,d.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"}]]),h=(0,d.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"}]]),i=(0,d.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 j=a.i(617770);let k=(0,d.default)("gauge",[["path",{d:"m12 14 4-4",key:"9kzdfg"}],["path",{d:"M3.34 19a10 10 0 1 1 17.32 0",key:"19p75a"}]]);a.s(["Gauge",0,k],206024);var l=a.i(933434);let m=(0,d.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"}]]),n=(0,d.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 o=a.i(738835);let p=(0,d.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 q=a.i(336273),r=a.i(180447),s=a.i(986708),t=a.i(357307);let u=(0,d.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 v=a.i(924613);let w={apple:c.Apple,"app-window":e,archive:f.Archive,beaker:g,box:h,bug:i,code:j.Code2,gauge:k,hammer:l.Hammer,layers:m,package:n,play:o.Play,rocket:p,shield:q.ShieldCheck,smartphone:r.Smartphone,sparkles:s.Sparkles,terminal:t.Terminal,"test-tube":u,wrench:v.Wrench};a.s(["ConfigurationIcon",0,function({iconKey:a}){if(!a)return null;let c=w[a];return c?(0,b.jsx)(c,{"aria-hidden":!0,className:"size-4"}):null}],67422)},62438,a=>{"use strict";var b=a.i(567242);a.s(["CirclePlay",()=>b.default])},731415,a=>{"use strict";var b=a.i(187924),c=a.i(415925),d=a.i(572131),e=a.i(335732);a.s(["WorkflowChoiceMenu",0,function({button:a,choices:f,hasPlainTrigger:g=!1,onRun:h}){let i=(0,c.useTranslations)("workflows");return f.length?(0,b.jsxs)(e.DropdownMenu,{children:[(0,b.jsx)(e.DropdownMenuTrigger,{asChild:!0,children:a}),(0,b.jsxs)(e.DropdownMenuContent,{align:"start",className:"max-w-64",children:[g&&(0,b.jsx)(e.DropdownMenuItem,{onSelect:()=>h(null),children:i("fullRun")}),f.map(a=>(0,b.jsx)(e.DropdownMenuItem,{onSelect:()=>h(a.key),children:(0,b.jsxs)("div",{className:"min-w-0",children:[(0,b.jsx)("p",{className:"truncate",children:a.label}),a.description&&(0,b.jsx)("p",{className:"truncate text-xs text-muted-foreground",children:a.description})]})},a.key))]})]}):(0,d.cloneElement)(a,{onClick:()=>h(null)})}])},277470,a=>{"use strict";let b=(0,a.i(164831).default)("chevron-up",[["path",{d:"m18 15-6-6-6 6",key:"153udz"}]]);a.s(["default",0,b])},47349,(a,b,c)=>{"use strict";var d=a.r(572131);d.useState,d.useEffect,d.useLayoutEffect,d.useDebugValue,c.useSyncExternalStore=void 0!==d.useSyncExternalStore?d.useSyncExternalStore:function(a,b){return b()}},487610,(a,b,c)=>{"use strict";b.exports=a.r(47349)},536670,a=>{"use strict";let b=(0,a.i(164831).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"}]]);a.s(["Download",0,b],536670)},707656,a=>{"use strict";let b=(0,a.i(164831).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"}]]);a.s(["CircleOff",0,b],707656)},372567,a=>{"use strict";var b=a.i(187924),c=a.i(600729),d=a.i(638168),e=a.i(786304),f=a.i(591119),g=a.i(46524),h=a.i(206015),i=a.i(555027),j=a.i(112613),k=a.i(415925);a.s(["WorktreeRunQueueCard",0,function({currentEntryId:a,entries:l,scope:m}){let n=(0,k.useTranslations)("workflows"),o=(0,k.useTranslations)("actionCenter.kinds"),p=(0,d.useRunLabels)(),q="WORKFLOW"===m;return(0,b.jsxs)(f.Card,{className:"min-w-0 gap-0 overflow-hidden py-0",children:[(0,b.jsxs)(f.CardHeader,{children:[(0,b.jsx)(f.CardTitle,{children:"WORKTREE"===m?n("worktreeQueue"):n("workflowQueue")}),(0,b.jsx)(f.CardDescription,{children:"WORKTREE"===m?n("worktreeQueueDescription"):"RUN"===m?n("runQueueDescription"):n("workflowQueueDescription")})]}),l.length?(0,b.jsx)("div",{className:"overflow-x-auto border-t",children:(0,b.jsxs)(h.Table,{children:[(0,b.jsx)(h.TableHeader,{children:(0,b.jsxs)(h.TableRow,{children:[(0,b.jsx)(h.TableHead,{className:"w-20",children:n("queuePosition")}),(0,b.jsx)(h.TableHead,{children:n("queueItem")}),(0,b.jsx)(h.TableHead,{children:n("queueState")}),q&&(0,b.jsx)(h.TableHead,{children:n("queueWorktree")}),(0,b.jsx)(h.TableHead,{children:n("queuedAt")})]})}),(0,b.jsx)(h.TableBody,{children:l.map(d=>{let f=d.id===a;return(0,b.jsxs)(h.TableRow,{className:f?"bg-primary/5":void 0,children:[(0,b.jsxs)(h.TableCell,{className:"font-mono font-semibold",children:["#",d.position]}),(0,b.jsxs)(h.TableCell,{children:[(0,b.jsxs)(i.Link,{className:"font-medium hover:underline",href:"WORKFLOW"===d.kind?`/workflows/runs/${d.id}`:`/${"PLAN"===d.kind?"plans":"sessions"}/${d.id}`,children:[o(d.kind)," #",d.displayNumber]}),(0,b.jsx)("p",{className:"max-w-72 truncate text-xs text-muted-foreground",children:d.name})]}),(0,b.jsx)(h.TableCell,{children:(0,b.jsxs)("div",{className:"flex flex-wrap gap-1",children:[(0,b.jsx)(e.Badge,{variant:"outline",children:"WORKFLOW"===d.kind?(0,j.formatEnumLabel)(d.phase):p.phase(d.phase)}),d.exclusiveWorktree&&(0,b.jsx)(e.Badge,{variant:"secondary",children:n("exclusive")}),f&&(0,b.jsx)(e.Badge,{variant:"secondary",children:n("currentRun")})]})}),q&&(0,b.jsx)(h.TableCell,{children:d.worktree?(0,b.jsx)(i.Link,{className:"font-mono text-xs hover:underline",href:`/worktrees/${d.worktree.id}`,children:d.worktree.branch??d.worktree.folder}):"—"}),(0,b.jsx)(h.TableCell,{className:"text-muted-foreground",children:(0,b.jsx)(c.DateTime,{kind:"relative",value:d.queuedAt})})]},`${d.kind}:${d.id}`)})})]})}):(0,b.jsx)(f.CardContent,{className:"pb-6",children:(0,b.jsx)(g.Empty,{className:"border py-8",children:(0,b.jsxs)(g.EmptyHeader,{children:[(0,b.jsx)(g.EmptyTitle,{children:n("queueEmpty")}),(0,b.jsx)(g.EmptyDescription,{children:n("queueEmptyDescription")})]})})})]})}])},167594,a=>{"use strict";let b=(0,a.i(164831).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"}]]);a.s(["CirclePause",0,b],167594)}];
|
|
1
|
+
module.exports=[46524,a=>{"use strict";var b=a.i(187924),c=a.i(400187),d=a.i(368114);let e=(0,c.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"}});a.s(["Empty",0,function({className:a,...c}){return(0,b.jsx)("div",{"data-slot":"empty",className:(0,d.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",a),...c})},"EmptyDescription",0,function({className:a,...c}){return(0,b.jsx)("div",{"data-slot":"empty-description",className:(0,d.cn)("text-sm/relaxed text-muted-foreground [&>a]:underline [&>a]:underline-offset-4 [&>a:hover]:text-primary",a),...c})},"EmptyHeader",0,function({className:a,...c}){return(0,b.jsx)("div",{"data-slot":"empty-header",className:(0,d.cn)("flex max-w-sm flex-col items-center gap-2",a),...c})},"EmptyMedia",0,function({className:a,variant:c="default",...f}){return(0,b.jsx)("div",{"data-slot":"empty-icon","data-variant":c,className:(0,d.cn)(e({variant:c,className:a})),...f})},"EmptyTitle",0,function({className:a,...c}){return(0,b.jsx)("div",{"data-slot":"empty-title",className:(0,d.cn)("font-heading text-sm font-medium tracking-tight",a),...c})}])},206015,a=>{"use strict";var b=a.i(187924),c=a.i(368114);a.s(["Table",0,function({className:a,...d}){return(0,b.jsx)("div",{"data-slot":"table-container",className:"relative w-full overflow-x-auto",children:(0,b.jsx)("table",{"data-slot":"table",className:(0,c.cn)("w-full caption-bottom text-sm",a),...d})})},"TableBody",0,function({className:a,...d}){return(0,b.jsx)("tbody",{"data-slot":"table-body",className:(0,c.cn)("[&_tr:last-child]:border-0",a),...d})},"TableCell",0,function({className:a,...d}){return(0,b.jsx)("td",{"data-slot":"table-cell",className:(0,c.cn)("p-2 align-middle whitespace-nowrap [&:has([role=checkbox])]:pr-0",a),...d})},"TableFooter",0,function({className:a,...d}){return(0,b.jsx)("tfoot",{"data-slot":"table-footer",className:(0,c.cn)("border-t bg-muted/50 font-medium [&>tr]:last:border-b-0",a),...d})},"TableHead",0,function({className:a,...d}){return(0,b.jsx)("th",{"data-slot":"table-head",className:(0,c.cn)("h-10 px-2 text-left align-middle font-medium whitespace-nowrap text-foreground [&:has([role=checkbox])]:pr-0",a),...d})},"TableHeader",0,function({className:a,...d}){return(0,b.jsx)("thead",{"data-slot":"table-header",className:(0,c.cn)("[&_tr]:border-b",a),...d})},"TableRow",0,function({className:a,...d}){return(0,b.jsx)("tr",{"data-slot":"table-row",className:(0,c.cn)("border-b transition-colors hover:bg-muted/50 has-aria-expanded:bg-muted/50 data-[state=selected]:bg-muted",a),...d})}])},519783,a=>{"use strict";let b=(0,a.i(164831).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"}]]);a.s(["RefreshCw",0,b],519783)},879675,a=>{"use strict";let b=(0,a.i(164831).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"}]]);a.s(["Save",0,b],879675)},979762,a=>{"use strict";let b=(0,a.i(164831).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"}]]);a.s(["Archive",0,b],979762)},617770,a=>{"use strict";let b=(0,a.i(164831).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"}]]);a.s(["Code2",0,b],617770)},235709,a=>{"use strict";let b=(0,a.i(164831).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"}]]);a.s(["Apple",0,b],235709)},67422,206024,a=>{"use strict";var b=a.i(187924);a.i(470828);var c=a.i(235709),d=a.i(164831);let e=(0,d.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 f=a.i(979762);let g=(0,d.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"}]]),h=(0,d.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"}]]),i=(0,d.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 j=a.i(617770);let k=(0,d.default)("gauge",[["path",{d:"m12 14 4-4",key:"9kzdfg"}],["path",{d:"M3.34 19a10 10 0 1 1 17.32 0",key:"19p75a"}]]);a.s(["Gauge",0,k],206024);var l=a.i(933434);let m=(0,d.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"}]]),n=(0,d.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 o=a.i(738835);let p=(0,d.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 q=a.i(336273),r=a.i(180447),s=a.i(986708),t=a.i(357307);let u=(0,d.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 v=a.i(924613);let w={apple:c.Apple,"app-window":e,archive:f.Archive,beaker:g,box:h,bug:i,code:j.Code2,gauge:k,hammer:l.Hammer,layers:m,package:n,play:o.Play,rocket:p,shield:q.ShieldCheck,smartphone:r.Smartphone,sparkles:s.Sparkles,terminal:t.Terminal,"test-tube":u,wrench:v.Wrench};a.s(["ConfigurationIcon",0,function({iconKey:a}){if(!a)return null;let c=w[a];return c?(0,b.jsx)(c,{"aria-hidden":!0,className:"size-4"}):null}],67422)},62438,a=>{"use strict";var b=a.i(567242);a.s(["CirclePlay",()=>b.default])},731415,a=>{"use strict";var b=a.i(187924),c=a.i(415925),d=a.i(572131),e=a.i(335732);a.s(["WorkflowChoiceMenu",0,function({button:a,choices:f,hasPlainTrigger:g=!1,onRun:h}){let i=(0,c.useTranslations)("workflows");return f.length?(0,b.jsxs)(e.DropdownMenu,{children:[(0,b.jsx)(e.DropdownMenuTrigger,{asChild:!0,children:a}),(0,b.jsxs)(e.DropdownMenuContent,{align:"start",className:"max-w-64",children:[g&&(0,b.jsx)(e.DropdownMenuItem,{onSelect:()=>h(null),children:i("fullRun")}),f.map(a=>(0,b.jsx)(e.DropdownMenuItem,{onSelect:()=>h(a.key),children:(0,b.jsxs)("div",{className:"min-w-0",children:[(0,b.jsx)("p",{className:"truncate",children:a.label}),a.description&&(0,b.jsx)("p",{className:"truncate text-xs text-muted-foreground",children:a.description})]})},a.key))]})]}):(0,d.cloneElement)(a,{onClick:()=>h(null)})}])},277470,a=>{"use strict";let b=(0,a.i(164831).default)("chevron-up",[["path",{d:"m18 15-6-6-6 6",key:"153udz"}]]);a.s(["default",0,b])},47349,(a,b,c)=>{"use strict";var d=a.r(572131);d.useState,d.useEffect,d.useLayoutEffect,d.useDebugValue,c.useSyncExternalStore=void 0!==d.useSyncExternalStore?d.useSyncExternalStore:function(a,b){return b()}},487610,(a,b,c)=>{"use strict";b.exports=a.r(47349)},536670,a=>{"use strict";let b=(0,a.i(164831).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"}]]);a.s(["Download",0,b],536670)},707656,a=>{"use strict";let b=(0,a.i(164831).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"}]]);a.s(["CircleOff",0,b],707656)},372567,a=>{"use strict";var b=a.i(187924),c=a.i(600729),d=a.i(638168),e=a.i(786304),f=a.i(591119),g=a.i(46524),h=a.i(206015),i=a.i(555027),j=a.i(112613),k=a.i(415925);a.s(["WorktreeRunQueueCard",0,function({currentEntryId:a,entries:l,scope:m}){let n=(0,k.useTranslations)("workflows"),o=(0,k.useTranslations)("actionCenter.kinds"),p=(0,d.useRunLabels)(),q="WORKFLOW"===m;return(0,b.jsxs)(f.Card,{className:"min-w-0 gap-0 overflow-hidden py-0",children:[(0,b.jsxs)(f.CardHeader,{children:[(0,b.jsx)(f.CardTitle,{children:"WORKTREE"===m?n("worktreeQueue"):n("workflowQueue")}),(0,b.jsx)(f.CardDescription,{children:"WORKTREE"===m?n("worktreeQueueDescription"):"RUN"===m?n("runQueueDescription"):n("workflowQueueDescription")})]}),l.length?(0,b.jsx)("div",{className:"overflow-x-auto border-t",children:(0,b.jsxs)(h.Table,{children:[(0,b.jsx)(h.TableHeader,{children:(0,b.jsxs)(h.TableRow,{children:[(0,b.jsx)(h.TableHead,{className:"w-20",children:n("queuePosition")}),(0,b.jsx)(h.TableHead,{children:n("queueItem")}),(0,b.jsx)(h.TableHead,{children:n("queueState")}),q&&(0,b.jsx)(h.TableHead,{children:n("queueWorktree")}),(0,b.jsx)(h.TableHead,{children:n("queuedAt")})]})}),(0,b.jsx)(h.TableBody,{children:l.map(d=>{let f=d.id===a;return(0,b.jsxs)(h.TableRow,{className:f?"bg-primary/5":void 0,children:[(0,b.jsxs)(h.TableCell,{className:"font-mono font-semibold",children:["#",d.position]}),(0,b.jsxs)(h.TableCell,{children:[(0,b.jsxs)(i.Link,{className:"font-medium hover:underline",href:"WORKFLOW"===d.kind?`/workflows/runs/${d.id}`:`/${"PLAN"===d.kind?"plans":"sessions"}/${d.id}`,children:[o(d.kind)," #",d.displayNumber]}),(0,b.jsx)("p",{className:"max-w-72 truncate text-xs text-muted-foreground",children:d.name})]}),(0,b.jsx)(h.TableCell,{children:(0,b.jsxs)("div",{className:"flex flex-wrap gap-1",children:[(0,b.jsx)(e.Badge,{variant:"outline",children:"WORKFLOW"===d.kind?(0,j.formatEnumLabel)(d.phase):p.phase(d.phase)}),d.exclusiveWorktree&&(0,b.jsx)(e.Badge,{variant:"secondary",children:n("exclusive")}),f&&(0,b.jsx)(e.Badge,{variant:"secondary",children:n("currentRun")})]})}),q&&(0,b.jsx)(h.TableCell,{children:d.worktree?(0,b.jsx)(i.Link,{className:"font-mono text-xs hover:underline",href:`/worktrees/${d.worktree.id}`,children:d.worktree.branch??d.worktree.folder}):"—"}),(0,b.jsx)(h.TableCell,{className:"text-muted-foreground",children:(0,b.jsx)(c.DateTime,{kind:"relative",value:d.queuedAt})})]},`${d.kind}:${d.id}`)})})]})}):(0,b.jsx)(f.CardContent,{className:"py-6",children:(0,b.jsx)(g.Empty,{className:"border py-8",children:(0,b.jsxs)(g.EmptyHeader,{children:[(0,b.jsx)(g.EmptyTitle,{children:n("queueEmpty")}),(0,b.jsx)(g.EmptyDescription,{children:n("queueEmptyDescription")})]})})})]})}])},167594,a=>{"use strict";let b=(0,a.i(164831).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"}]]);a.s(["CirclePause",0,b],167594)}];
|
|
2
2
|
|
|
3
3
|
//# sourceMappingURL=_0b1u319._.js.map
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
module.exports=[277470,a=>{"use strict";let b=(0,a.i(164831).default)("chevron-up",[["path",{d:"m18 15-6-6-6 6",key:"153udz"}]]);a.s(["default",0,b])},47349,(a,b,c)=>{"use strict";var d=a.r(572131);d.useState,d.useEffect,d.useLayoutEffect,d.useDebugValue,c.useSyncExternalStore=void 0!==d.useSyncExternalStore?d.useSyncExternalStore:function(a,b){return b()}},487610,(a,b,c)=>{"use strict";b.exports=a.r(47349)},46524,a=>{"use strict";var b=a.i(187924),c=a.i(400187),d=a.i(368114);let e=(0,c.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"}});a.s(["Empty",0,function({className:a,...c}){return(0,b.jsx)("div",{"data-slot":"empty",className:(0,d.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",a),...c})},"EmptyDescription",0,function({className:a,...c}){return(0,b.jsx)("div",{"data-slot":"empty-description",className:(0,d.cn)("text-sm/relaxed text-muted-foreground [&>a]:underline [&>a]:underline-offset-4 [&>a:hover]:text-primary",a),...c})},"EmptyHeader",0,function({className:a,...c}){return(0,b.jsx)("div",{"data-slot":"empty-header",className:(0,d.cn)("flex max-w-sm flex-col items-center gap-2",a),...c})},"EmptyMedia",0,function({className:a,variant:c="default",...f}){return(0,b.jsx)("div",{"data-slot":"empty-icon","data-variant":c,className:(0,d.cn)(e({variant:c,className:a})),...f})},"EmptyTitle",0,function({className:a,...c}){return(0,b.jsx)("div",{"data-slot":"empty-title",className:(0,d.cn)("font-heading text-sm font-medium tracking-tight",a),...c})}])},206015,a=>{"use strict";var b=a.i(187924),c=a.i(368114);a.s(["Table",0,function({className:a,...d}){return(0,b.jsx)("div",{"data-slot":"table-container",className:"relative w-full overflow-x-auto",children:(0,b.jsx)("table",{"data-slot":"table",className:(0,c.cn)("w-full caption-bottom text-sm",a),...d})})},"TableBody",0,function({className:a,...d}){return(0,b.jsx)("tbody",{"data-slot":"table-body",className:(0,c.cn)("[&_tr:last-child]:border-0",a),...d})},"TableCell",0,function({className:a,...d}){return(0,b.jsx)("td",{"data-slot":"table-cell",className:(0,c.cn)("p-2 align-middle whitespace-nowrap [&:has([role=checkbox])]:pr-0",a),...d})},"TableFooter",0,function({className:a,...d}){return(0,b.jsx)("tfoot",{"data-slot":"table-footer",className:(0,c.cn)("border-t bg-muted/50 font-medium [&>tr]:last:border-b-0",a),...d})},"TableHead",0,function({className:a,...d}){return(0,b.jsx)("th",{"data-slot":"table-head",className:(0,c.cn)("h-10 px-2 text-left align-middle font-medium whitespace-nowrap text-foreground [&:has([role=checkbox])]:pr-0",a),...d})},"TableHeader",0,function({className:a,...d}){return(0,b.jsx)("thead",{"data-slot":"table-header",className:(0,c.cn)("[&_tr]:border-b",a),...d})},"TableRow",0,function({className:a,...d}){return(0,b.jsx)("tr",{"data-slot":"table-row",className:(0,c.cn)("border-b transition-colors hover:bg-muted/50 has-aria-expanded:bg-muted/50 data-[state=selected]:bg-muted",a),...d})}])},519783,a=>{"use strict";let b=(0,a.i(164831).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"}]]);a.s(["RefreshCw",0,b],519783)},62438,a=>{"use strict";var b=a.i(567242);a.s(["CirclePlay",()=>b.default])},803683,775966,629336,a=>{"use strict";function b(a){return encodeURIComponent(a.trim())}function c(a){var c;let d=(c=a.url,!c?.startsWith("/")||c.startsWith("//")?null:c);if(d)return{href:d,external:!1};let e=a.kind.trim().toUpperCase(),f=a.resourceId.trim();if(!f)return null;let g="string"==typeof a.metadata?.runKind?a.metadata.runKind.toUpperCase():null,h="BUILD"===e?`/builds/${b(f)}`:"CODEBASE"===e?`/codebases/${b(f)}`:"JIRA_TICKET"===e?`/jira/tickets/${b(f)}`:"WORKTREE"===e?`/worktrees/${b(f)}`:"AGENT_RUN"===e&&"PLAN"===g?`/plans/${b(f)}`:"AGENT_RUN"===e&&"SESSION"===g?`/sessions/${b(f)}`:"PULL_REQUEST"===e?function(a){let c=a.lastIndexOf("#");if(c<1)return null;let d=a.slice(0,c),e=d.indexOf("/");if(e<1||e===d.length-1)return null;let f=Number(a.slice(c+1));return!Number.isInteger(f)||f<1?null:`/pull-requests/${b(d.slice(0,e))}/${b(d.slice(e+1))}/${f}`}(f):"AGENT_JOB"===e?`/jobs/${b(f)}`:"COMMAND_RUN"===e?`/commands/runs/${b(f)}`:"WORKFLOW_RUN"===e?`/workflows/runs/${b(f)}`:"SKILL_SYNC"===e?`/skills/sync/${b(f)}`:"SKILL"===e?`/skills/${b(f)}`:"IOS_DEVICE"===e?`/devices/${b(f)}`:"SIGNING_PROFILE"===e?`/provisioning-profiles/${b(f)}`:"PUSH_NOTIFICATION_BATCH"===e?"/push-notifications":"BUILD_DATA_COLLECTION"===e?"/build-data":"AGENT"===e?`/agents/${b(f)}`:"CODEBASE_REPOSITORY"===e?`/codebases/repositories/${b(f)}`:null;if(h)return{href:h,external:!1};let i=function(a){if(!a)return null;try{let b=new URL(a);return new Set(["http:","https:"]).has(b.protocol)?b.href:null}catch{return null}}(a.url);return i?{href:i,external:!0}:null}function d(a){let b=a.kind.trim().toUpperCase();return"BUILD"===b?0:"AGENT_JOB"===b||"COMMAND_RUN"===b?30:"GITHUB_WORKFLOW_RUN"===b?20:10}function e(a){return a.map((a,b)=>({destination:c(a),index:b,link:a,time:a.createdAt instanceof Date?a.createdAt.getTime():Date.parse(a.createdAt??"")||0})).filter(a=>null!==a.destination).sort((a,b)=>d(a.link)-d(b.link)||b.time-a.time||b.index-a.index)[0]?.destination??null}function f(a){return a&&"object"==typeof a&&!Array.isArray(a)?a:{}}function g(a){return"string"!=typeof a&&"number"!=typeof a?null:String(a).trim()||null}function h(a,b,c){return a.kind.trim().toUpperCase()===b.trim().toUpperCase()&&a.resourceId.trim()===c.trim()}a.i(210070),a.s(["githubJobResourceId",0,function(a,b){let c=a.trim(),d=b.trim();if(!c||!d)throw Error("GitHub job repository and job ID are required");return`${c}:job:${d}`},"githubPipelineResourceId",0,function(a,b,c){let d=a.trim(),e=b?.trim(),f=c.trim();if(!d||!e&&!f)throw Error("GitHub pipeline repository and provider ID are required");return`${d}:${e?"run":"check"}:${e||f}`},"preferredWorkflowResourceDestination",0,e,"workflowResourceDestination",0,c],775966),a.s(["currentPageWorkflowNodeIds",0,function(a,b,c){let d=new Set,e=new Map(a.attempts.map(a=>[a.id,a.nodeId]));for(let e of a.attempts)e.resourceLinks.some(a=>h(a,b,c))&&d.add(e.nodeId);for(let f of a.resourceLinks){if(!h(f,b,c))continue;let g=f.attemptId?e.get(f.attemptId):a.trigger?.nodeId;g&&d.add(g)}return d},"workflowRunNodeDestinations",0,function(a){let b=new Map;for(let c of[...a.attempts].sort((b,c)=>Number(c.generation===a.generation)-Number(b.generation===a.generation)||c.generation-b.generation||c.attempt-b.attempt||Number(!!b.iterationKey)-Number(!!c.iterationKey))){if(b.has(c.nodeId))continue;let a=function(a){let b=a.kind?.trim().toUpperCase()??"",c=f(a.output),d=f(c.value),e={...f(d.sessionPatch),...f(c.sessionPatch)};if(b.startsWith("JIRA_")){let a=g(d.key)??g(f(d.ticket).key)??g(f(e.ticket).key);return a?{kind:"JIRA_TICKET",resourceId:a}:null}if(b.startsWith("RUN_")){let a=g(d.id),b=g(d.kind)?.toUpperCase();return a&&("PLAN"===b||"SESSION"===b)?{kind:"AGENT_RUN",resourceId:a,metadata:{runKind:b}}:null}if(b.startsWith("WORKTREE_")){let a=g(f(e.worktree).id);return a?{kind:"WORKTREE",resourceId:a}:null}if(b.startsWith("CODEBASE_")){let a=g(f(e.codebase).id)??g(d.id);return a?{kind:"CODEBASE",resourceId:a}:null}if(b.startsWith("BUILD_")){let a=g(f(e.build).id)??g(d.id);return a?{kind:"BUILD",resourceId:a}:null}return null}(c),d=e(a?[...c.resourceLinks,a]:c.resourceLinks);d&&b.set(c.nodeId,d)}let c=e(a.resourceLinks.filter(({attemptId:a})=>!a));return a.trigger?.nodeId&&c&&b.set(a.trigger.nodeId,c),b}],803683);var i=a.i(572131),j=a.i(555027);a.s(["useOpenWorkflowDestination",0,function(){let a=(0,j.useRouter)();return(0,i.useCallback)(b=>{if(b){if(b.external)return void window.open(b.href,"_blank","noopener,noreferrer");a.push(b.href)}},[a])}],629336)},846980,a=>{"use strict";let b=(0,a.i(164831).default)("circle-stop",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["rect",{x:"9",y:"9",width:"6",height:"6",rx:"1",key:"1ssd4o"}]]);a.s(["CircleStop",0,b],846980)},372567,a=>{"use strict";var b=a.i(187924),c=a.i(600729),d=a.i(638168),e=a.i(786304),f=a.i(591119),g=a.i(46524),h=a.i(206015),i=a.i(555027),j=a.i(112613),k=a.i(415925);a.s(["WorktreeRunQueueCard",0,function({currentEntryId:a,entries:l,scope:m}){let n=(0,k.useTranslations)("workflows"),o=(0,k.useTranslations)("actionCenter.kinds"),p=(0,d.useRunLabels)(),q="WORKFLOW"===m;return(0,b.jsxs)(f.Card,{className:"min-w-0 gap-0 overflow-hidden py-0",children:[(0,b.jsxs)(f.CardHeader,{children:[(0,b.jsx)(f.CardTitle,{children:"WORKTREE"===m?n("worktreeQueue"):n("workflowQueue")}),(0,b.jsx)(f.CardDescription,{children:"WORKTREE"===m?n("worktreeQueueDescription"):"RUN"===m?n("runQueueDescription"):n("workflowQueueDescription")})]}),l.length?(0,b.jsx)("div",{className:"overflow-x-auto border-t",children:(0,b.jsxs)(h.Table,{children:[(0,b.jsx)(h.TableHeader,{children:(0,b.jsxs)(h.TableRow,{children:[(0,b.jsx)(h.TableHead,{className:"w-20",children:n("queuePosition")}),(0,b.jsx)(h.TableHead,{children:n("queueItem")}),(0,b.jsx)(h.TableHead,{children:n("queueState")}),q&&(0,b.jsx)(h.TableHead,{children:n("queueWorktree")}),(0,b.jsx)(h.TableHead,{children:n("queuedAt")})]})}),(0,b.jsx)(h.TableBody,{children:l.map(d=>{let f=d.id===a;return(0,b.jsxs)(h.TableRow,{className:f?"bg-primary/5":void 0,children:[(0,b.jsxs)(h.TableCell,{className:"font-mono font-semibold",children:["#",d.position]}),(0,b.jsxs)(h.TableCell,{children:[(0,b.jsxs)(i.Link,{className:"font-medium hover:underline",href:"WORKFLOW"===d.kind?`/workflows/runs/${d.id}`:`/${"PLAN"===d.kind?"plans":"sessions"}/${d.id}`,children:[o(d.kind)," #",d.displayNumber]}),(0,b.jsx)("p",{className:"max-w-72 truncate text-xs text-muted-foreground",children:d.name})]}),(0,b.jsx)(h.TableCell,{children:(0,b.jsxs)("div",{className:"flex flex-wrap gap-1",children:[(0,b.jsx)(e.Badge,{variant:"outline",children:"WORKFLOW"===d.kind?(0,j.formatEnumLabel)(d.phase):p.phase(d.phase)}),d.exclusiveWorktree&&(0,b.jsx)(e.Badge,{variant:"secondary",children:n("exclusive")}),f&&(0,b.jsx)(e.Badge,{variant:"secondary",children:n("currentRun")})]})}),q&&(0,b.jsx)(h.TableCell,{children:d.worktree?(0,b.jsx)(i.Link,{className:"font-mono text-xs hover:underline",href:`/worktrees/${d.worktree.id}`,children:d.worktree.branch??d.worktree.folder}):"—"}),(0,b.jsx)(h.TableCell,{className:"text-muted-foreground",children:(0,b.jsx)(c.DateTime,{kind:"relative",value:d.queuedAt})})]},`${d.kind}:${d.id}`)})})]})}):(0,b.jsx)(f.CardContent,{className:"pb-6",children:(0,b.jsx)(g.Empty,{className:"border py-8",children:(0,b.jsxs)(g.EmptyHeader,{children:[(0,b.jsx)(g.EmptyTitle,{children:n("queueEmpty")}),(0,b.jsx)(g.EmptyDescription,{children:n("queueEmptyDescription")})]})})})]})}])},167594,a=>{"use strict";let b=(0,a.i(164831).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"}]]);a.s(["CirclePause",0,b],167594)}];
|
|
1
|
+
module.exports=[277470,a=>{"use strict";let b=(0,a.i(164831).default)("chevron-up",[["path",{d:"m18 15-6-6-6 6",key:"153udz"}]]);a.s(["default",0,b])},47349,(a,b,c)=>{"use strict";var d=a.r(572131);d.useState,d.useEffect,d.useLayoutEffect,d.useDebugValue,c.useSyncExternalStore=void 0!==d.useSyncExternalStore?d.useSyncExternalStore:function(a,b){return b()}},487610,(a,b,c)=>{"use strict";b.exports=a.r(47349)},46524,a=>{"use strict";var b=a.i(187924),c=a.i(400187),d=a.i(368114);let e=(0,c.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"}});a.s(["Empty",0,function({className:a,...c}){return(0,b.jsx)("div",{"data-slot":"empty",className:(0,d.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",a),...c})},"EmptyDescription",0,function({className:a,...c}){return(0,b.jsx)("div",{"data-slot":"empty-description",className:(0,d.cn)("text-sm/relaxed text-muted-foreground [&>a]:underline [&>a]:underline-offset-4 [&>a:hover]:text-primary",a),...c})},"EmptyHeader",0,function({className:a,...c}){return(0,b.jsx)("div",{"data-slot":"empty-header",className:(0,d.cn)("flex max-w-sm flex-col items-center gap-2",a),...c})},"EmptyMedia",0,function({className:a,variant:c="default",...f}){return(0,b.jsx)("div",{"data-slot":"empty-icon","data-variant":c,className:(0,d.cn)(e({variant:c,className:a})),...f})},"EmptyTitle",0,function({className:a,...c}){return(0,b.jsx)("div",{"data-slot":"empty-title",className:(0,d.cn)("font-heading text-sm font-medium tracking-tight",a),...c})}])},206015,a=>{"use strict";var b=a.i(187924),c=a.i(368114);a.s(["Table",0,function({className:a,...d}){return(0,b.jsx)("div",{"data-slot":"table-container",className:"relative w-full overflow-x-auto",children:(0,b.jsx)("table",{"data-slot":"table",className:(0,c.cn)("w-full caption-bottom text-sm",a),...d})})},"TableBody",0,function({className:a,...d}){return(0,b.jsx)("tbody",{"data-slot":"table-body",className:(0,c.cn)("[&_tr:last-child]:border-0",a),...d})},"TableCell",0,function({className:a,...d}){return(0,b.jsx)("td",{"data-slot":"table-cell",className:(0,c.cn)("p-2 align-middle whitespace-nowrap [&:has([role=checkbox])]:pr-0",a),...d})},"TableFooter",0,function({className:a,...d}){return(0,b.jsx)("tfoot",{"data-slot":"table-footer",className:(0,c.cn)("border-t bg-muted/50 font-medium [&>tr]:last:border-b-0",a),...d})},"TableHead",0,function({className:a,...d}){return(0,b.jsx)("th",{"data-slot":"table-head",className:(0,c.cn)("h-10 px-2 text-left align-middle font-medium whitespace-nowrap text-foreground [&:has([role=checkbox])]:pr-0",a),...d})},"TableHeader",0,function({className:a,...d}){return(0,b.jsx)("thead",{"data-slot":"table-header",className:(0,c.cn)("[&_tr]:border-b",a),...d})},"TableRow",0,function({className:a,...d}){return(0,b.jsx)("tr",{"data-slot":"table-row",className:(0,c.cn)("border-b transition-colors hover:bg-muted/50 has-aria-expanded:bg-muted/50 data-[state=selected]:bg-muted",a),...d})}])},519783,a=>{"use strict";let b=(0,a.i(164831).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"}]]);a.s(["RefreshCw",0,b],519783)},62438,a=>{"use strict";var b=a.i(567242);a.s(["CirclePlay",()=>b.default])},803683,775966,629336,a=>{"use strict";function b(a){return encodeURIComponent(a.trim())}function c(a){var c;let d=(c=a.url,!c?.startsWith("/")||c.startsWith("//")?null:c);if(d)return{href:d,external:!1};let e=a.kind.trim().toUpperCase(),f=a.resourceId.trim();if(!f)return null;let g="string"==typeof a.metadata?.runKind?a.metadata.runKind.toUpperCase():null,h="BUILD"===e?`/builds/${b(f)}`:"CODEBASE"===e?`/codebases/${b(f)}`:"JIRA_TICKET"===e?`/jira/tickets/${b(f)}`:"WORKTREE"===e?`/worktrees/${b(f)}`:"AGENT_RUN"===e&&"PLAN"===g?`/plans/${b(f)}`:"AGENT_RUN"===e&&"SESSION"===g?`/sessions/${b(f)}`:"PULL_REQUEST"===e?function(a){let c=a.lastIndexOf("#");if(c<1)return null;let d=a.slice(0,c),e=d.indexOf("/");if(e<1||e===d.length-1)return null;let f=Number(a.slice(c+1));return!Number.isInteger(f)||f<1?null:`/pull-requests/${b(d.slice(0,e))}/${b(d.slice(e+1))}/${f}`}(f):"AGENT_JOB"===e?`/jobs/${b(f)}`:"COMMAND_RUN"===e?`/commands/runs/${b(f)}`:"WORKFLOW_RUN"===e?`/workflows/runs/${b(f)}`:"SKILL_SYNC"===e?`/skills/sync/${b(f)}`:"SKILL"===e?`/skills/${b(f)}`:"IOS_DEVICE"===e?`/devices/${b(f)}`:"SIGNING_PROFILE"===e?`/provisioning-profiles/${b(f)}`:"PUSH_NOTIFICATION_BATCH"===e?"/push-notifications":"BUILD_DATA_COLLECTION"===e?"/build-data":"AGENT"===e?`/agents/${b(f)}`:"CODEBASE_REPOSITORY"===e?`/codebases/repositories/${b(f)}`:null;if(h)return{href:h,external:!1};let i=function(a){if(!a)return null;try{let b=new URL(a);return new Set(["http:","https:"]).has(b.protocol)?b.href:null}catch{return null}}(a.url);return i?{href:i,external:!0}:null}function d(a){let b=a.kind.trim().toUpperCase();return"BUILD"===b?0:"AGENT_JOB"===b||"COMMAND_RUN"===b?30:"GITHUB_WORKFLOW_RUN"===b?20:10}function e(a){return a.map((a,b)=>({destination:c(a),index:b,link:a,time:a.createdAt instanceof Date?a.createdAt.getTime():Date.parse(a.createdAt??"")||0})).filter(a=>null!==a.destination).sort((a,b)=>d(a.link)-d(b.link)||b.time-a.time||b.index-a.index)[0]?.destination??null}function f(a){return a&&"object"==typeof a&&!Array.isArray(a)?a:{}}function g(a){return"string"!=typeof a&&"number"!=typeof a?null:String(a).trim()||null}function h(a,b,c){return a.kind.trim().toUpperCase()===b.trim().toUpperCase()&&a.resourceId.trim()===c.trim()}a.i(210070),a.s(["githubJobResourceId",0,function(a,b){let c=a.trim(),d=b.trim();if(!c||!d)throw Error("GitHub job repository and job ID are required");return`${c}:job:${d}`},"githubPipelineResourceId",0,function(a,b,c){let d=a.trim(),e=b?.trim(),f=c.trim();if(!d||!e&&!f)throw Error("GitHub pipeline repository and provider ID are required");return`${d}:${e?"run":"check"}:${e||f}`},"preferredWorkflowResourceDestination",0,e,"workflowResourceDestination",0,c],775966),a.s(["currentPageWorkflowNodeIds",0,function(a,b,c){let d=new Set,e=new Map(a.attempts.map(a=>[a.id,a.nodeId]));for(let e of a.attempts)e.resourceLinks.some(a=>h(a,b,c))&&d.add(e.nodeId);for(let f of a.resourceLinks){if(!h(f,b,c))continue;let g=f.attemptId?e.get(f.attemptId):a.trigger?.nodeId;g&&d.add(g)}return d},"workflowRunNodeDestinations",0,function(a){let b=new Map;for(let c of[...a.attempts].sort((b,c)=>Number(c.generation===a.generation)-Number(b.generation===a.generation)||c.generation-b.generation||c.attempt-b.attempt||Number(!!b.iterationKey)-Number(!!c.iterationKey))){if(b.has(c.nodeId))continue;let a=function(a){let b=a.kind?.trim().toUpperCase()??"",c=f(a.output),d=f(c.value),e={...f(d.sessionPatch),...f(c.sessionPatch)};if(b.startsWith("JIRA_")){let a=g(d.key)??g(f(d.ticket).key)??g(f(e.ticket).key);return a?{kind:"JIRA_TICKET",resourceId:a}:null}if(b.startsWith("RUN_")){let a=g(d.id),b=g(d.kind)?.toUpperCase();return a&&("PLAN"===b||"SESSION"===b)?{kind:"AGENT_RUN",resourceId:a,metadata:{runKind:b}}:null}if(b.startsWith("WORKTREE_")){let a=g(f(e.worktree).id);return a?{kind:"WORKTREE",resourceId:a}:null}if(b.startsWith("CODEBASE_")){let a=g(f(e.codebase).id)??g(d.id);return a?{kind:"CODEBASE",resourceId:a}:null}if(b.startsWith("BUILD_")){let a=g(f(e.build).id)??g(d.id);return a?{kind:"BUILD",resourceId:a}:null}return null}(c),d=e(a?[...c.resourceLinks,a]:c.resourceLinks);d&&b.set(c.nodeId,d)}let c=e(a.resourceLinks.filter(({attemptId:a})=>!a));return a.trigger?.nodeId&&c&&b.set(a.trigger.nodeId,c),b}],803683);var i=a.i(572131),j=a.i(555027);a.s(["useOpenWorkflowDestination",0,function(){let a=(0,j.useRouter)();return(0,i.useCallback)(b=>{if(b){if(b.external)return void window.open(b.href,"_blank","noopener,noreferrer");a.push(b.href)}},[a])}],629336)},846980,a=>{"use strict";let b=(0,a.i(164831).default)("circle-stop",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["rect",{x:"9",y:"9",width:"6",height:"6",rx:"1",key:"1ssd4o"}]]);a.s(["CircleStop",0,b],846980)},372567,a=>{"use strict";var b=a.i(187924),c=a.i(600729),d=a.i(638168),e=a.i(786304),f=a.i(591119),g=a.i(46524),h=a.i(206015),i=a.i(555027),j=a.i(112613),k=a.i(415925);a.s(["WorktreeRunQueueCard",0,function({currentEntryId:a,entries:l,scope:m}){let n=(0,k.useTranslations)("workflows"),o=(0,k.useTranslations)("actionCenter.kinds"),p=(0,d.useRunLabels)(),q="WORKFLOW"===m;return(0,b.jsxs)(f.Card,{className:"min-w-0 gap-0 overflow-hidden py-0",children:[(0,b.jsxs)(f.CardHeader,{children:[(0,b.jsx)(f.CardTitle,{children:"WORKTREE"===m?n("worktreeQueue"):n("workflowQueue")}),(0,b.jsx)(f.CardDescription,{children:"WORKTREE"===m?n("worktreeQueueDescription"):"RUN"===m?n("runQueueDescription"):n("workflowQueueDescription")})]}),l.length?(0,b.jsx)("div",{className:"overflow-x-auto border-t",children:(0,b.jsxs)(h.Table,{children:[(0,b.jsx)(h.TableHeader,{children:(0,b.jsxs)(h.TableRow,{children:[(0,b.jsx)(h.TableHead,{className:"w-20",children:n("queuePosition")}),(0,b.jsx)(h.TableHead,{children:n("queueItem")}),(0,b.jsx)(h.TableHead,{children:n("queueState")}),q&&(0,b.jsx)(h.TableHead,{children:n("queueWorktree")}),(0,b.jsx)(h.TableHead,{children:n("queuedAt")})]})}),(0,b.jsx)(h.TableBody,{children:l.map(d=>{let f=d.id===a;return(0,b.jsxs)(h.TableRow,{className:f?"bg-primary/5":void 0,children:[(0,b.jsxs)(h.TableCell,{className:"font-mono font-semibold",children:["#",d.position]}),(0,b.jsxs)(h.TableCell,{children:[(0,b.jsxs)(i.Link,{className:"font-medium hover:underline",href:"WORKFLOW"===d.kind?`/workflows/runs/${d.id}`:`/${"PLAN"===d.kind?"plans":"sessions"}/${d.id}`,children:[o(d.kind)," #",d.displayNumber]}),(0,b.jsx)("p",{className:"max-w-72 truncate text-xs text-muted-foreground",children:d.name})]}),(0,b.jsx)(h.TableCell,{children:(0,b.jsxs)("div",{className:"flex flex-wrap gap-1",children:[(0,b.jsx)(e.Badge,{variant:"outline",children:"WORKFLOW"===d.kind?(0,j.formatEnumLabel)(d.phase):p.phase(d.phase)}),d.exclusiveWorktree&&(0,b.jsx)(e.Badge,{variant:"secondary",children:n("exclusive")}),f&&(0,b.jsx)(e.Badge,{variant:"secondary",children:n("currentRun")})]})}),q&&(0,b.jsx)(h.TableCell,{children:d.worktree?(0,b.jsx)(i.Link,{className:"font-mono text-xs hover:underline",href:`/worktrees/${d.worktree.id}`,children:d.worktree.branch??d.worktree.folder}):"—"}),(0,b.jsx)(h.TableCell,{className:"text-muted-foreground",children:(0,b.jsx)(c.DateTime,{kind:"relative",value:d.queuedAt})})]},`${d.kind}:${d.id}`)})})]})}):(0,b.jsx)(f.CardContent,{className:"py-6",children:(0,b.jsx)(g.Empty,{className:"border py-8",children:(0,b.jsxs)(g.EmptyHeader,{children:[(0,b.jsx)(g.EmptyTitle,{children:n("queueEmpty")}),(0,b.jsx)(g.EmptyDescription,{children:n("queueEmptyDescription")})]})})})]})}])},167594,a=>{"use strict";let b=(0,a.i(164831).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"}]]);a.s(["CirclePause",0,b],167594)}];
|
|
2
2
|
|
|
3
3
|
//# sourceMappingURL=_1akze3s._.js.map
|
package/standalone/.next/server/chunks/ssr/src_components_agents_agent-detail_tsx_0lfa4ui._.js
CHANGED
|
@@ -36,6 +36,6 @@ module.exports=[61302,a=>{"use strict";var b=a.i(187924),c=a.i(451262),d=a.i(802
|
|
|
36
36
|
updateAgentBaseRepoDirectory(agentId: $agentId, baseRepoDirectory: $baseRepoDirectory) {
|
|
37
37
|
${O.AGENT_FIELDS}
|
|
38
38
|
}
|
|
39
|
-
}`,{agentId:a,baseRepoDirectory:b});z(c.updateAgentBaseRepoDirectory)}catch(a){am(a instanceof Error?a.message:String(a))}finally{ak(!1)}},ar=(0,o.useCallback)((a,b=!1)=>{L(b=>R(b,a)),b&&ac(a.id)},[]),as=async()=>{ai(!0),ag(null);try{await (0,M.controlPlaneRequest)("mutation DeleteAgent($agentId: ID!) { deleteAgent(agentId: $agentId) }",{agentId:a}),i.push("/agents")}catch(a){ag(a instanceof Error?a.message:String(a)),ai(!1)}};if(ad)return(0,b.jsxs)("p",{className:"mx-auto flex max-w-6xl items-center gap-2 text-sm text-muted-foreground",children:[(0,b.jsx)(G.Spinner,{}),d("loading")]});let at=F?.volumes.find(a=>a.roles.includes("MAIN")),au=F?.volumes.find(a=>a.roles.includes("BASE_REPO")&&a.id!==at?.id);if(af&&!l)return(0,b.jsx)("p",{className:"mx-auto max-w-6xl text-sm text-destructive",children:af});if(!l)return(0,b.jsx)("p",{className:"mx-auto max-w-6xl text-sm text-muted-foreground",children:d("notFound")});let av="ONLINE"===l.connectionStatus&&l.capabilities.includes(c.CODEBASE_BROWSE_JOB_KIND),aw=l.capabilities.filter(a=>"command.run"!==a&&a.toLocaleLowerCase().includes(_.toLocaleLowerCase()));return(0,b.jsxs)("div",{className:"mx-auto flex w-full max-w-[1500px] flex-col gap-6",children:[(0,b.jsxs)("div",{className:"flex flex-wrap items-start justify-between gap-4",children:[(0,b.jsxs)("div",{children:[(0,b.jsxs)("div",{className:"flex flex-wrap items-center gap-2",children:[(0,b.jsx)("h1",{className:"text-2xl font-semibold tracking-tight",children:l.name}),(0,b.jsx)(r.StatusBadge,{status:l.connectionStatus})]}),(0,b.jsxs)("p",{className:"mt-1 text-sm text-muted-foreground",children:[l.hostname," · ",l.osVersion," · ",l.architecture]}),(0,b.jsx)("p",{className:"mt-1 font-mono text-xs text-muted-foreground",children:l.id})]}),(0,b.jsx)("div",{className:"flex flex-wrap gap-2",children:(0,b.jsx)(v.ConfirmationDialog,{actionLabel:d("deleteAgent"),cancelLabel:g("cancel"),description:d("deleteAgentDescription",{name:l.name}),onConfirm:as,title:d("deleteAgentTitle"),trigger:(0,b.jsxs)(A.Button,{disabled:ah,variant:"destructive",children:[ah?(0,b.jsx)(G.Spinner,{}):(0,b.jsx)(k.Trash2,{}),d("deleteAgent")]})})})]}),af&&(0,b.jsx)(y.Alert,{variant:"destructive",children:(0,b.jsx)(y.AlertDescription,{children:af})}),(0,b.jsxs)(B.Card,{children:[(0,b.jsxs)(B.CardHeader,{children:[(0,b.jsx)(B.CardTitle,{children:d("generalInformation")}),(0,b.jsx)(B.CardDescription,{children:d("generalInformationDescription")})]}),(0,b.jsxs)(B.CardContent,{className:"space-y-5",children:[(0,b.jsxs)("dl",{className:"grid gap-4 text-sm sm:grid-cols-2 lg:grid-cols-4",children:[(0,b.jsx)(V,{label:d("version"),value:l.version}),(0,b.jsx)(V,{label:d("cpuModel"),value:l.cpuModel??d("unavailable")}),(0,b.jsx)(V,{label:d("operatingSystem"),value:l.osVersion}),(0,b.jsx)(V,{label:d("architecture"),value:l.architecture}),(0,b.jsx)(V,{label:d("lastSeen"),value:(0,b.jsx)(C.DateTime,{fallback:d("never"),value:l.lastSeenAt})}),(0,b.jsx)(V,{label:d("ipAddress"),value:l.ipAddress??d("unavailable"),mono:!0})]}),(0,b.jsxs)("div",{className:"grid gap-3 md:grid-cols-2",children:[(0,b.jsx)(s.ResourceUsage,{free:l.memoryFreeBytes,label:d("memory"),locale:h,total:l.memoryTotalBytes,unavailable:d("unavailable"),usedLabel:d("used"),freeLabel:d("free")}),(0,b.jsx)("div",{className:"rounded-lg border p-3",children:at?(0,b.jsx)(x.VolumeBar,{volume:at}):(0,b.jsxs)(b.Fragment,{children:[(0,b.jsx)("p",{className:"text-sm font-medium",children:e("mainDisk")}),(0,b.jsx)("p",{className:"mt-2 text-sm text-muted-foreground",children:e(F?.enabled===!1?"disabled":"noReport")})]})})]}),au&&(0,b.jsxs)(B.Card,{className:"gap-3 py-4",children:[(0,b.jsxs)(B.CardHeader,{className:"px-4",children:[(0,b.jsx)(B.CardTitle,{children:e("baseRepoDisk")}),(0,b.jsx)(B.CardDescription,{children:e("baseRepoDiskDescription")})]}),(0,b.jsx)(B.CardContent,{className:"px-4",children:(0,b.jsx)(x.VolumeBar,{volume:au})})]}),F&&(F.lastError||F.warnings.length>0)&&(0,b.jsx)(y.Alert,{variant:F.lastError?"destructive":"default",children:(0,b.jsx)(y.AlertDescription,{children:[F.lastError,...F.warnings??[]].filter(Boolean).join(" · ")})})]})]}),(0,b.jsx)(t.CommandQuickActions,{agentCapabilities:l.capabilities,agentId:l.id,description:f("agentQuickActionsDescription"),title:f("commandQuickActions")}),(0,b.jsx)(u.CommandResourcePanel,{agentCapabilities:l.capabilities,agentId:l.id}),P&&(0,b.jsx)(S,{onSaved:X,settings:P},l.id),(0,b.jsxs)(B.Card,{
|
|
39
|
+
}`,{agentId:a,baseRepoDirectory:b});z(c.updateAgentBaseRepoDirectory)}catch(a){am(a instanceof Error?a.message:String(a))}finally{ak(!1)}},ar=(0,o.useCallback)((a,b=!1)=>{L(b=>R(b,a)),b&&ac(a.id)},[]),as=async()=>{ai(!0),ag(null);try{await (0,M.controlPlaneRequest)("mutation DeleteAgent($agentId: ID!) { deleteAgent(agentId: $agentId) }",{agentId:a}),i.push("/agents")}catch(a){ag(a instanceof Error?a.message:String(a)),ai(!1)}};if(ad)return(0,b.jsxs)("p",{className:"mx-auto flex max-w-6xl items-center gap-2 text-sm text-muted-foreground",children:[(0,b.jsx)(G.Spinner,{}),d("loading")]});let at=F?.volumes.find(a=>a.roles.includes("MAIN")),au=F?.volumes.find(a=>a.roles.includes("BASE_REPO")&&a.id!==at?.id);if(af&&!l)return(0,b.jsx)("p",{className:"mx-auto max-w-6xl text-sm text-destructive",children:af});if(!l)return(0,b.jsx)("p",{className:"mx-auto max-w-6xl text-sm text-muted-foreground",children:d("notFound")});let av="ONLINE"===l.connectionStatus&&l.capabilities.includes(c.CODEBASE_BROWSE_JOB_KIND),aw=l.capabilities.filter(a=>"command.run"!==a&&a.toLocaleLowerCase().includes(_.toLocaleLowerCase()));return(0,b.jsxs)("div",{className:"mx-auto flex w-full max-w-[1500px] flex-col gap-6",children:[(0,b.jsxs)("div",{className:"flex flex-wrap items-start justify-between gap-4",children:[(0,b.jsxs)("div",{children:[(0,b.jsxs)("div",{className:"flex flex-wrap items-center gap-2",children:[(0,b.jsx)("h1",{className:"text-2xl font-semibold tracking-tight",children:l.name}),(0,b.jsx)(r.StatusBadge,{status:l.connectionStatus})]}),(0,b.jsxs)("p",{className:"mt-1 text-sm text-muted-foreground",children:[l.hostname," · ",l.osVersion," · ",l.architecture]}),(0,b.jsx)("p",{className:"mt-1 font-mono text-xs text-muted-foreground",children:l.id})]}),(0,b.jsx)("div",{className:"flex flex-wrap gap-2",children:(0,b.jsx)(v.ConfirmationDialog,{actionLabel:d("deleteAgent"),cancelLabel:g("cancel"),description:d("deleteAgentDescription",{name:l.name}),onConfirm:as,title:d("deleteAgentTitle"),trigger:(0,b.jsxs)(A.Button,{disabled:ah,variant:"destructive",children:[ah?(0,b.jsx)(G.Spinner,{}):(0,b.jsx)(k.Trash2,{}),d("deleteAgent")]})})})]}),af&&(0,b.jsx)(y.Alert,{variant:"destructive",children:(0,b.jsx)(y.AlertDescription,{children:af})}),(0,b.jsxs)(B.Card,{children:[(0,b.jsxs)(B.CardHeader,{children:[(0,b.jsx)(B.CardTitle,{children:d("generalInformation")}),(0,b.jsx)(B.CardDescription,{children:d("generalInformationDescription")})]}),(0,b.jsxs)(B.CardContent,{className:"space-y-5",children:[(0,b.jsxs)("dl",{className:"grid gap-4 text-sm sm:grid-cols-2 lg:grid-cols-4",children:[(0,b.jsx)(V,{label:d("version"),value:l.version}),(0,b.jsx)(V,{label:d("cpuModel"),value:l.cpuModel??d("unavailable")}),(0,b.jsx)(V,{label:d("operatingSystem"),value:l.osVersion}),(0,b.jsx)(V,{label:d("architecture"),value:l.architecture}),(0,b.jsx)(V,{label:d("lastSeen"),value:(0,b.jsx)(C.DateTime,{fallback:d("never"),value:l.lastSeenAt})}),(0,b.jsx)(V,{label:d("ipAddress"),value:l.ipAddress??d("unavailable"),mono:!0})]}),(0,b.jsxs)("div",{className:"grid gap-3 md:grid-cols-2",children:[(0,b.jsx)(s.ResourceUsage,{free:l.memoryFreeBytes,label:d("memory"),locale:h,total:l.memoryTotalBytes,unavailable:d("unavailable"),usedLabel:d("used"),freeLabel:d("free")}),(0,b.jsx)("div",{className:"rounded-lg border p-3",children:at?(0,b.jsx)(x.VolumeBar,{volume:at}):(0,b.jsxs)(b.Fragment,{children:[(0,b.jsx)("p",{className:"text-sm font-medium",children:e("mainDisk")}),(0,b.jsx)("p",{className:"mt-2 text-sm text-muted-foreground",children:e(F?.enabled===!1?"disabled":"noReport")})]})})]}),au&&(0,b.jsxs)(B.Card,{className:"gap-3 py-4",children:[(0,b.jsxs)(B.CardHeader,{className:"px-4",children:[(0,b.jsx)(B.CardTitle,{children:e("baseRepoDisk")}),(0,b.jsx)(B.CardDescription,{children:e("baseRepoDiskDescription")})]}),(0,b.jsx)(B.CardContent,{className:"px-4",children:(0,b.jsx)(x.VolumeBar,{volume:au})})]}),F&&(F.lastError||F.warnings.length>0)&&(0,b.jsx)(y.Alert,{variant:F.lastError?"destructive":"default",children:(0,b.jsx)(y.AlertDescription,{children:[F.lastError,...F.warnings??[]].filter(Boolean).join(" · ")})})]})]}),(0,b.jsx)(t.CommandQuickActions,{agentCapabilities:l.capabilities,agentId:l.id,description:f("agentQuickActionsDescription"),title:f("commandQuickActions")}),(0,b.jsx)(u.CommandResourcePanel,{agentCapabilities:l.capabilities,agentId:l.id}),P&&(0,b.jsx)(S,{onSaved:X,settings:P},l.id),(0,b.jsx)(Y,{codebases:Z}),(0,b.jsxs)(B.Card,{children:[(0,b.jsxs)(B.CardHeader,{children:[(0,b.jsx)(B.CardTitle,{children:d("baseRepoDirectory")}),(0,b.jsx)(B.CardDescription,{children:d("baseRepoDirectoryDescription")})]}),(0,b.jsxs)(B.CardContent,{children:[(0,b.jsxs)("div",{className:"rounded-lg bg-muted p-3",children:[(0,b.jsx)("p",{className:"text-xs text-muted-foreground",children:d("currentDirectory")}),(0,b.jsx)("p",{className:"mt-1 break-all font-mono text-xs",children:l.baseRepoDirectory??d("notConfigured")})]}),al&&(0,b.jsx)(y.Alert,{className:"mt-4",variant:"destructive",children:(0,b.jsx)(y.AlertDescription,{children:al})}),(0,b.jsxs)("div",{className:"mt-4 flex flex-wrap items-start gap-2",children:[(0,b.jsx)("div",{className:"min-w-0 flex-1",children:av?(0,b.jsx)(p.AgentDirectoryBrowser,{agentId:l.id,disabled:aj,onSelect:a=>aq(a),selectLabel:d("useDirectory")},`${l.id}:${l.baseRepoDirectory??""}`):(0,b.jsx)("p",{className:"text-sm text-muted-foreground",children:d("directoryBrowsingUnavailable")})}),l.baseRepoDirectory&&(0,b.jsxs)(A.Button,{disabled:aj,onClick:()=>void aq(null),type:"button",variant:"outline",children:[(0,b.jsx)(k.Trash2,{})," ",d("clearDirectory")]})]})]})]}),(0,b.jsx)(U,{agent:l,canBrowseDirectories:av,onSaved:z},`${l.id}:${l.derivedDataLocationMode??"DEFAULT"}:${l.derivedDataPath??""}`),(0,b.jsx)(T,{agent:l,canBrowseDirectories:av,onSaved:z},`${l.id}:${l.buildsDirectory??"default"}:${l.defaultBuildsDirectory??""}`),(0,b.jsxs)(B.Card,{className:"gap-0 py-0",children:[(0,b.jsxs)(B.CardHeader,{children:[(0,b.jsx)(B.CardTitle,{children:d("capabilities")}),(0,b.jsx)(B.CardDescription,{children:d("capabilitiesDescription")})]}),(0,b.jsx)("div",{className:"border-b p-4",children:(0,b.jsxs)("div",{className:"relative",children:[(0,b.jsx)(j.Search,{className:"pointer-events-none absolute top-1/2 left-3 size-4 -translate-y-1/2 text-muted-foreground"}),(0,b.jsx)(E.Input,{"aria-label":d("searchCapabilities"),className:"pl-9",onChange:a=>aa(a.target.value),placeholder:d("searchCapabilitiesPlaceholder"),type:"search",value:_})]})}),0===aw.length?(0,b.jsx)("p",{className:"p-4 text-sm text-muted-foreground",children:d("noMatchingCapabilities")}):(0,b.jsxs)(I.Table,{children:[(0,b.jsx)(I.TableHeader,{children:(0,b.jsxs)(I.TableRow,{children:[(0,b.jsx)(I.TableHead,{className:"w-10"}),(0,b.jsx)(I.TableHead,{children:d("capability")}),(0,b.jsx)(I.TableHead,{children:d("kind")})]})}),(0,b.jsx)(I.TableBody,{children:aw.map(a=>(0,b.jsx)(W,{agentId:l.id,capability:a,offline:"ONLINE"!==l.connectionStatus,onJobChanged:ar},a))})]})]}),ab&&(0,b.jsx)(q.JobMonitor,{compact:!0,jobId:ab},ab),(0,b.jsxs)("section",{children:[(0,b.jsx)("h2",{className:"mb-3 font-medium",children:d("history")}),0===J.length?(0,b.jsx)(D.Empty,{children:(0,b.jsx)(D.EmptyHeader,{children:(0,b.jsx)(D.EmptyDescription,{children:d("noJobs")})})}):(0,b.jsx)(B.Card,{className:"gap-0 py-0",children:(0,b.jsxs)(I.Table,{children:[(0,b.jsx)(I.TableHeader,{children:(0,b.jsxs)(I.TableRow,{children:[(0,b.jsx)(I.TableHead,{children:d("job")}),(0,b.jsx)(I.TableHead,{children:d("status")}),(0,b.jsx)(I.TableHead,{children:d("created")}),(0,b.jsx)(I.TableHead,{children:d("finished")})]})}),(0,b.jsx)(I.TableBody,{children:J.map(a=>(0,b.jsxs)(I.TableRow,{"aria-current":ab===a.id?"true":void 0,"aria-label":d("selectJob",{kind:a.kind}),className:(0,N.cn)("cursor-pointer focus-visible:bg-muted/40 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-inset",ab===a.id&&"bg-muted/50"),onClick:()=>ac(a.id),onKeyDown:b=>{("Enter"===b.key||" "===b.key)&&(b.preventDefault(),ac(a.id))},role:"button",tabIndex:0,children:[(0,b.jsx)(I.TableCell,{className:"font-mono text-xs font-medium",children:a.kind}),(0,b.jsx)(I.TableCell,{children:(0,b.jsx)(r.StatusBadge,{status:a.status})}),(0,b.jsx)(I.TableCell,{children:(0,b.jsx)(C.DateTime,{value:a.createdAt})}),(0,b.jsx)(I.TableCell,{children:(0,b.jsx)(C.DateTime,{value:a.finishedAt})})]},a.id))})]})})]})]})}],61302)}];
|
|
40
40
|
|
|
41
41
|
//# sourceMappingURL=src_components_agents_agent-detail_tsx_0lfa4ui._.js.map
|
|
@@ -7,9 +7,9 @@ globalThis.__BUILD_MANIFEST = {
|
|
|
7
7
|
"static/chunks/0cz1d0mv5g_q7.js"
|
|
8
8
|
],
|
|
9
9
|
"lowPriorityFiles": [
|
|
10
|
-
"static/
|
|
11
|
-
"static/
|
|
12
|
-
"static/
|
|
10
|
+
"static/YQIuXmWQUbKsutRkPFwhf/_buildManifest.js",
|
|
11
|
+
"static/YQIuXmWQUbKsutRkPFwhf/_ssgManifest.js",
|
|
12
|
+
"static/YQIuXmWQUbKsutRkPFwhf/_clientMiddlewareManifest.js"
|
|
13
13
|
],
|
|
14
14
|
"rootMainFiles": [
|
|
15
15
|
"static/chunks/1oto92aw_9yqi.js",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
<!DOCTYPE html><html><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="preload" as="script" fetchPriority="low" href="/_next/static/chunks/1oto92aw_9yqi.js"/><script src="/_next/static/chunks/2vfwa2oqh6yha.js" async=""></script><script src="/_next/static/chunks/34oyci46fsc5w.js" async=""></script><script src="/_next/static/chunks/turbopack-0q2foqhal-cxp.js" async=""></script><script src="/_next/static/chunks/2yl1jv4w6po1z.js" async=""></script><script src="/_next/static/chunks/1m5ykreap-f2c.js" async=""></script><meta name="robots" content="noindex"/><meta name="next-size-adjust" content=""/><title>404: This page could not be found.</title><link rel="manifest" href="/manifest.webmanifest"/><link rel="icon" href="/icon.svg?icon.2eq-kzgm9x62k.svg" sizes="any" type="image/svg+xml"/><script src="/_next/static/chunks/0cz1d0mv5g_q7.js" noModule=""></script></head><body><div hidden=""><!--$--><!--/$--></div><div style="font-family:system-ui,"Segoe UI",Roboto,Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji";height:100vh;text-align:center;display:flex;flex-direction:column;align-items:center;justify-content:center"><div><style>body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}</style><h1 class="next-error-h1" style="display:inline-block;margin:0 20px 0 0;padding:0 23px 0 0;font-size:24px;font-weight:500;vertical-align:top;line-height:49px">404</h1><div style="display:inline-block"><h2 style="font-size:14px;font-weight:400;line-height:49px;margin:0">This page could not be found.</h2></div></div></div><!--$--><!--/$--><script src="/_next/static/chunks/1oto92aw_9yqi.js" id="_R_" async=""></script><script>(self.__next_f=self.__next_f||[]).push([0])</script><script>self.__next_f.push([1,"1:\"$Sreact.fragment\"\n2:I[339756,[\"/_next/static/chunks/2yl1jv4w6po1z.js\",\"/_next/static/chunks/1m5ykreap-f2c.js\"],\"default\"]\n3:I[837457,[\"/_next/static/chunks/2yl1jv4w6po1z.js\",\"/_next/static/chunks/1m5ykreap-f2c.js\"],\"default\"]\n4:I[897367,[\"/_next/static/chunks/2yl1jv4w6po1z.js\",\"/_next/static/chunks/1m5ykreap-f2c.js\"],\"OutletBoundary\"]\n5:\"$Sreact.suspense\"\n8:I[897367,[\"/_next/static/chunks/2yl1jv4w6po1z.js\",\"/_next/static/chunks/1m5ykreap-f2c.js\"],\"ViewportBoundary\"]\na:I[897367,[\"/_next/static/chunks/2yl1jv4w6po1z.js\",\"/_next/static/chunks/1m5ykreap-f2c.js\"],\"MetadataBoundary\"]\nc:I[168027,[\"/_next/static/chunks/2yl1jv4w6po1z.js\",\"/_next/static/chunks/1m5ykreap-f2c.js\"],\"default\",1]\n"])</script><script>self.__next_f.push([1,"0:{\"P\":null,\"c\":[\"\",\"_not-found\"],\"q\":\"\",\"i\":false,\"f\":[[[\"\",{\"children\":[\"/_not-found\",{\"children\":[\"__PAGE__\",{}]}]},\"$undefined\",\"$undefined\",16],[[\"$\",\"$1\",\"c\",{\"children\":[[[\"$\",\"script\",\"script-0\",{\"src\":\"/_next/static/chunks/2yl1jv4w6po1z.js\",\"async\":true,\"nonce\":\"$undefined\"}],[\"$\",\"script\",\"script-1\",{\"src\":\"/_next/static/chunks/1m5ykreap-f2c.js\",\"async\":true,\"nonce\":\"$undefined\"}]],[\"$\",\"html\",null,{\"children\":[\"$\",\"body\",null,{\"children\":[\"$\",\"$L2\",null,{\"parallelRouterKey\":\"children\",\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L3\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":[[[\"$\",\"title\",null,{\"children\":\"404: This page could not be found.\"}],[\"$\",\"div\",null,{\"style\":{\"fontFamily\":\"system-ui,\\\"Segoe UI\\\",Roboto,Helvetica,Arial,sans-serif,\\\"Apple Color Emoji\\\",\\\"Segoe UI Emoji\\\"\",\"height\":\"100vh\",\"textAlign\":\"center\",\"display\":\"flex\",\"flexDirection\":\"column\",\"alignItems\":\"center\",\"justifyContent\":\"center\"},\"children\":[\"$\",\"div\",null,{\"children\":[[\"$\",\"style\",null,{\"dangerouslySetInnerHTML\":{\"__html\":\"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}\"}}],[\"$\",\"h1\",null,{\"className\":\"next-error-h1\",\"style\":{\"display\":\"inline-block\",\"margin\":\"0 20px 0 0\",\"padding\":\"0 23px 0 0\",\"fontSize\":24,\"fontWeight\":500,\"verticalAlign\":\"top\",\"lineHeight\":\"49px\"},\"children\":404}],[\"$\",\"div\",null,{\"style\":{\"display\":\"inline-block\"},\"children\":[\"$\",\"h2\",null,{\"style\":{\"fontSize\":14,\"fontWeight\":400,\"lineHeight\":\"49px\",\"margin\":0},\"children\":\"This page could not be found.\"}]}]]}]}]],[]],\"forbidden\":\"$undefined\",\"unauthorized\":\"$undefined\"}]}]}]]}],{\"children\":[[\"$\",\"$1\",\"c\",{\"children\":[null,[\"$\",\"$L2\",null,{\"parallelRouterKey\":\"children\",\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L3\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":\"$undefined\",\"forbidden\":\"$undefined\",\"unauthorized\":\"$undefined\"}]]}],{\"children\":[[\"$\",\"$1\",\"c\",{\"children\":[[[\"$\",\"title\",null,{\"children\":\"404: This page could not be found.\"}],[\"$\",\"div\",null,{\"style\":\"$0:f:0:1:0:props:children:1:props:children:props:children:props:notFound:0:1:props:style\",\"children\":[\"$\",\"div\",null,{\"children\":[[\"$\",\"style\",null,{\"dangerouslySetInnerHTML\":{\"__html\":\"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}\"}}],[\"$\",\"h1\",null,{\"className\":\"next-error-h1\",\"style\":\"$0:f:0:1:0:props:children:1:props:children:props:children:props:notFound:0:1:props:children:props:children:1:props:style\",\"children\":404}],[\"$\",\"div\",null,{\"style\":\"$0:f:0:1:0:props:children:1:props:children:props:children:props:notFound:0:1:props:children:props:children:2:props:style\",\"children\":[\"$\",\"h2\",null,{\"style\":\"$0:f:0:1:0:props:children:1:props:children:props:children:props:notFound:0:1:props:children:props:children:2:props:children:props:style\",\"children\":\"This page could not be found.\"}]}]]}]}]],null,[\"$\",\"$L4\",null,{\"children\":[\"$\",\"$5\",null,{\"name\":\"Next.MetadataOutlet\",\"children\":\"$@6\"}]}]]}],{},null,false,null]},null,false,\"$@7\"]},null,false,null],[\"$\",\"$1\",\"h\",{\"children\":[[\"$\",\"meta\",null,{\"name\":\"robots\",\"content\":\"noindex\"}],[\"$\",\"$L8\",null,{\"children\":\"$L9\"}],[\"$\",\"div\",null,{\"hidden\":true,\"children\":[\"$\",\"$La\",null,{\"children\":[\"$\",\"$5\",null,{\"name\":\"Next.Metadata\",\"children\":\"$Lb\"}]}]}],[\"$\",\"meta\",null,{\"name\":\"next-size-adjust\",\"content\":\"\"}]]}],false]],\"m\":\"$undefined\",\"G\":[\"$c\",[]],\"S\":true,\"h\":null,\"s\":\"$undefined\",\"l\":\"$undefined\",\"p\":\"$undefined\",\"d\":\"$undefined\",\"b\":\"
|
|
1
|
+
<!DOCTYPE html><html><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="preload" as="script" fetchPriority="low" href="/_next/static/chunks/1oto92aw_9yqi.js"/><script src="/_next/static/chunks/2vfwa2oqh6yha.js" async=""></script><script src="/_next/static/chunks/34oyci46fsc5w.js" async=""></script><script src="/_next/static/chunks/turbopack-0q2foqhal-cxp.js" async=""></script><script src="/_next/static/chunks/2yl1jv4w6po1z.js" async=""></script><script src="/_next/static/chunks/1m5ykreap-f2c.js" async=""></script><meta name="robots" content="noindex"/><meta name="next-size-adjust" content=""/><title>404: This page could not be found.</title><link rel="manifest" href="/manifest.webmanifest"/><link rel="icon" href="/icon.svg?icon.2eq-kzgm9x62k.svg" sizes="any" type="image/svg+xml"/><script src="/_next/static/chunks/0cz1d0mv5g_q7.js" noModule=""></script></head><body><div hidden=""><!--$--><!--/$--></div><div style="font-family:system-ui,"Segoe UI",Roboto,Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji";height:100vh;text-align:center;display:flex;flex-direction:column;align-items:center;justify-content:center"><div><style>body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}</style><h1 class="next-error-h1" style="display:inline-block;margin:0 20px 0 0;padding:0 23px 0 0;font-size:24px;font-weight:500;vertical-align:top;line-height:49px">404</h1><div style="display:inline-block"><h2 style="font-size:14px;font-weight:400;line-height:49px;margin:0">This page could not be found.</h2></div></div></div><!--$--><!--/$--><script src="/_next/static/chunks/1oto92aw_9yqi.js" id="_R_" async=""></script><script>(self.__next_f=self.__next_f||[]).push([0])</script><script>self.__next_f.push([1,"1:\"$Sreact.fragment\"\n2:I[339756,[\"/_next/static/chunks/2yl1jv4w6po1z.js\",\"/_next/static/chunks/1m5ykreap-f2c.js\"],\"default\"]\n3:I[837457,[\"/_next/static/chunks/2yl1jv4w6po1z.js\",\"/_next/static/chunks/1m5ykreap-f2c.js\"],\"default\"]\n4:I[897367,[\"/_next/static/chunks/2yl1jv4w6po1z.js\",\"/_next/static/chunks/1m5ykreap-f2c.js\"],\"OutletBoundary\"]\n5:\"$Sreact.suspense\"\n8:I[897367,[\"/_next/static/chunks/2yl1jv4w6po1z.js\",\"/_next/static/chunks/1m5ykreap-f2c.js\"],\"ViewportBoundary\"]\na:I[897367,[\"/_next/static/chunks/2yl1jv4w6po1z.js\",\"/_next/static/chunks/1m5ykreap-f2c.js\"],\"MetadataBoundary\"]\nc:I[168027,[\"/_next/static/chunks/2yl1jv4w6po1z.js\",\"/_next/static/chunks/1m5ykreap-f2c.js\"],\"default\",1]\n"])</script><script>self.__next_f.push([1,"0:{\"P\":null,\"c\":[\"\",\"_not-found\"],\"q\":\"\",\"i\":false,\"f\":[[[\"\",{\"children\":[\"/_not-found\",{\"children\":[\"__PAGE__\",{}]}]},\"$undefined\",\"$undefined\",16],[[\"$\",\"$1\",\"c\",{\"children\":[[[\"$\",\"script\",\"script-0\",{\"src\":\"/_next/static/chunks/2yl1jv4w6po1z.js\",\"async\":true,\"nonce\":\"$undefined\"}],[\"$\",\"script\",\"script-1\",{\"src\":\"/_next/static/chunks/1m5ykreap-f2c.js\",\"async\":true,\"nonce\":\"$undefined\"}]],[\"$\",\"html\",null,{\"children\":[\"$\",\"body\",null,{\"children\":[\"$\",\"$L2\",null,{\"parallelRouterKey\":\"children\",\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L3\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":[[[\"$\",\"title\",null,{\"children\":\"404: This page could not be found.\"}],[\"$\",\"div\",null,{\"style\":{\"fontFamily\":\"system-ui,\\\"Segoe UI\\\",Roboto,Helvetica,Arial,sans-serif,\\\"Apple Color Emoji\\\",\\\"Segoe UI Emoji\\\"\",\"height\":\"100vh\",\"textAlign\":\"center\",\"display\":\"flex\",\"flexDirection\":\"column\",\"alignItems\":\"center\",\"justifyContent\":\"center\"},\"children\":[\"$\",\"div\",null,{\"children\":[[\"$\",\"style\",null,{\"dangerouslySetInnerHTML\":{\"__html\":\"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}\"}}],[\"$\",\"h1\",null,{\"className\":\"next-error-h1\",\"style\":{\"display\":\"inline-block\",\"margin\":\"0 20px 0 0\",\"padding\":\"0 23px 0 0\",\"fontSize\":24,\"fontWeight\":500,\"verticalAlign\":\"top\",\"lineHeight\":\"49px\"},\"children\":404}],[\"$\",\"div\",null,{\"style\":{\"display\":\"inline-block\"},\"children\":[\"$\",\"h2\",null,{\"style\":{\"fontSize\":14,\"fontWeight\":400,\"lineHeight\":\"49px\",\"margin\":0},\"children\":\"This page could not be found.\"}]}]]}]}]],[]],\"forbidden\":\"$undefined\",\"unauthorized\":\"$undefined\"}]}]}]]}],{\"children\":[[\"$\",\"$1\",\"c\",{\"children\":[null,[\"$\",\"$L2\",null,{\"parallelRouterKey\":\"children\",\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L3\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":\"$undefined\",\"forbidden\":\"$undefined\",\"unauthorized\":\"$undefined\"}]]}],{\"children\":[[\"$\",\"$1\",\"c\",{\"children\":[[[\"$\",\"title\",null,{\"children\":\"404: This page could not be found.\"}],[\"$\",\"div\",null,{\"style\":\"$0:f:0:1:0:props:children:1:props:children:props:children:props:notFound:0:1:props:style\",\"children\":[\"$\",\"div\",null,{\"children\":[[\"$\",\"style\",null,{\"dangerouslySetInnerHTML\":{\"__html\":\"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}\"}}],[\"$\",\"h1\",null,{\"className\":\"next-error-h1\",\"style\":\"$0:f:0:1:0:props:children:1:props:children:props:children:props:notFound:0:1:props:children:props:children:1:props:style\",\"children\":404}],[\"$\",\"div\",null,{\"style\":\"$0:f:0:1:0:props:children:1:props:children:props:children:props:notFound:0:1:props:children:props:children:2:props:style\",\"children\":[\"$\",\"h2\",null,{\"style\":\"$0:f:0:1:0:props:children:1:props:children:props:children:props:notFound:0:1:props:children:props:children:2:props:children:props:style\",\"children\":\"This page could not be found.\"}]}]]}]}]],null,[\"$\",\"$L4\",null,{\"children\":[\"$\",\"$5\",null,{\"name\":\"Next.MetadataOutlet\",\"children\":\"$@6\"}]}]]}],{},null,false,null]},null,false,\"$@7\"]},null,false,null],[\"$\",\"$1\",\"h\",{\"children\":[[\"$\",\"meta\",null,{\"name\":\"robots\",\"content\":\"noindex\"}],[\"$\",\"$L8\",null,{\"children\":\"$L9\"}],[\"$\",\"div\",null,{\"hidden\":true,\"children\":[\"$\",\"$La\",null,{\"children\":[\"$\",\"$5\",null,{\"name\":\"Next.Metadata\",\"children\":\"$Lb\"}]}]}],[\"$\",\"meta\",null,{\"name\":\"next-size-adjust\",\"content\":\"\"}]]}],false]],\"m\":\"$undefined\",\"G\":[\"$c\",[]],\"S\":true,\"h\":null,\"s\":\"$undefined\",\"l\":\"$undefined\",\"p\":\"$undefined\",\"d\":\"$undefined\",\"b\":\"YQIuXmWQUbKsutRkPFwhf\"}\n"])</script><script>self.__next_f.push([1,"d:[]\n7:\"$Wd\"\n"])</script><script>self.__next_f.push([1,"9:[[\"$\",\"meta\",\"0\",{\"charSet\":\"utf-8\"}],[\"$\",\"meta\",\"1\",{\"name\":\"viewport\",\"content\":\"width=device-width, initial-scale=1\"}]]\n"])</script><script>self.__next_f.push([1,"e:I[154500,[\"/_next/static/chunks/2yl1jv4w6po1z.js\",\"/_next/static/chunks/1m5ykreap-f2c.js\"],\"IconMark\"]\n6:null\nb:[[\"$\",\"link\",\"0\",{\"rel\":\"manifest\",\"href\":\"/manifest.webmanifest\",\"crossOrigin\":\"$undefined\"}],[\"$\",\"link\",\"1\",{\"rel\":\"icon\",\"href\":\"/icon.svg?icon.2eq-kzgm9x62k.svg\",\"sizes\":\"any\",\"type\":\"image/svg+xml\"}],[\"$\",\"$Le\",\"2\",{}]]\n"])</script></body></html>
|
|
@@ -1 +1 @@
|
|
|
1
|
-
<!DOCTYPE html><html id="__next_error__"><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="preload" as="script" fetchPriority="low" href="/_next/static/chunks/1oto92aw_9yqi.js"/><script src="/_next/static/chunks/2vfwa2oqh6yha.js" async=""></script><script src="/_next/static/chunks/34oyci46fsc5w.js" async=""></script><script src="/_next/static/chunks/turbopack-0q2foqhal-cxp.js" async=""></script><script src="/_next/static/chunks/2yl1jv4w6po1z.js" async=""></script><script src="/_next/static/chunks/1m5ykreap-f2c.js" async=""></script><meta name="next-size-adjust" content=""/><title>500: This page couldn’t load</title><link rel="manifest" href="/manifest.webmanifest"/><style>:root {--next-error-bg: #fff;--next-error-text: #171717;--next-error-title: #171717;--next-error-message: #171717;--next-error-digest: #666666;--next-error-btn-text: #fff;--next-error-btn-bg: #171717;--next-error-btn-border: none;--next-error-btn-secondary-text: #171717;--next-error-btn-secondary-bg: transparent;--next-error-btn-secondary-border: 1px solid rgba(0,0,0,0.08);}@media (prefers-color-scheme: dark) {:root {--next-error-bg: #0a0a0a;--next-error-text: #ededed;--next-error-title: #ededed;--next-error-message: #ededed;--next-error-digest: #a0a0a0;--next-error-btn-text: #0a0a0a;--next-error-btn-bg: #ededed;--next-error-btn-border: none;--next-error-btn-secondary-text: #ededed;--next-error-btn-secondary-bg: transparent;--next-error-btn-secondary-border: 1px solid rgba(255,255,255,0.14);}}body { margin: 0; color: var(--next-error-text); background: var(--next-error-bg); }</style><script src="/_next/static/chunks/0cz1d0mv5g_q7.js" noModule=""></script></head><body><div hidden=""><!--$--><!--/$--></div><div style="font-family:system-ui,"Segoe UI",Roboto,Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji";height:100vh;display:flex;align-items:center;justify-content:center"><div style="margin-top:-32px;max-width:325px;padding:32px 28px;text-align:left"><svg width="32" height="32" viewBox="-0.2 -1.5 32 32" fill="none" style="margin-bottom:24px"><path d="M16.9328 0C18.0839 0.000116771 19.1334 0.658832 19.634 1.69531L31.4299 26.1309C32.0708 27.4588 31.1036 28.9999 29.6291 29H2.00215C0.527541 29 -0.439628 27.4588 0.201371 26.1309L11.9973 1.69531C12.4979 0.658823 13.5474 7.75066e-05 14.6984 0H16.9328ZM3.59493 26H28.0363L16.9328 3H14.6984L3.59493 26ZM15.8156 19C16.9202 19.0001 17.8156 19.8955 17.8156 21C17.8156 22.1045 16.9202 22.9999 15.8156 23C14.7111 23 13.8156 22.1046 13.8156 21C13.8156 19.8954 14.7111 19 15.8156 19ZM17.3156 16.5H14.3156V8.5H17.3156V16.5Z" fill="var(--next-error-title)"></path></svg><h1 style="font-size:24px;font-weight:500;letter-spacing:-0.02em;line-height:32px;margin:0 0 12px 0;color:var(--next-error-title)">This page couldn’t load</h1><p style="font-size:14px;font-weight:400;line-height:21px;margin:0 0 20px 0;color:var(--next-error-message)">A server error occurred. Reload to try again.</p><form style="margin:0"><button type="submit" style="display:inline-flex;align-items:center;justify-content:center;height:32px;padding:0 12px;font-size:14px;font-weight:500;line-height:20px;border-radius:6px;cursor:pointer;color:var(--next-error-btn-text);background:var(--next-error-btn-bg);border:var(--next-error-btn-border)">Reload</button></form></div></div><!--$--><!--/$--><script src="/_next/static/chunks/1oto92aw_9yqi.js" id="_R_" async=""></script><script>(self.__next_f=self.__next_f||[]).push([0])</script><script>self.__next_f.push([1,"1:\"$Sreact.fragment\"\n2:I[339756,[\"/_next/static/chunks/2yl1jv4w6po1z.js\",\"/_next/static/chunks/1m5ykreap-f2c.js\"],\"default\"]\n3:I[837457,[\"/_next/static/chunks/2yl1jv4w6po1z.js\",\"/_next/static/chunks/1m5ykreap-f2c.js\"],\"default\"]\n4:I[897367,[\"/_next/static/chunks/2yl1jv4w6po1z.js\",\"/_next/static/chunks/1m5ykreap-f2c.js\"],\"OutletBoundary\"]\n5:\"$Sreact.suspense\"\n8:I[897367,[\"/_next/static/chunks/2yl1jv4w6po1z.js\",\"/_next/static/chunks/1m5ykreap-f2c.js\"],\"ViewportBoundary\"]\na:I[897367,[\"/_next/static/chunks/2yl1jv4w6po1z.js\",\"/_next/static/chunks/1m5ykreap-f2c.js\"],\"MetadataBoundary\"]\nc:I[168027,[\"/_next/static/chunks/2yl1jv4w6po1z.js\",\"/_next/static/chunks/1m5ykreap-f2c.js\"],\"default\",1]\n"])</script><script>self.__next_f.push([1,"0:{\"P\":null,\"c\":[\"\",\"_global-error\"],\"q\":\"\",\"i\":false,\"f\":[[[\"\",{\"children\":[\"__PAGE__\",{}]}],[[\"$\",\"$1\",\"c\",{\"children\":[null,[\"$\",\"$L2\",null,{\"parallelRouterKey\":\"children\",\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L3\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":\"$undefined\",\"forbidden\":\"$undefined\",\"unauthorized\":\"$undefined\"}]]}],{\"children\":[[\"$\",\"$1\",\"c\",{\"children\":[[\"$\",\"html\",null,{\"id\":\"__next_error__\",\"children\":[[\"$\",\"head\",null,{\"children\":[[\"$\",\"title\",null,{\"children\":\"500: This page couldn’t load\"}],[\"$\",\"style\",null,{\"dangerouslySetInnerHTML\":{\"__html\":\":root {--next-error-bg: #fff;--next-error-text: #171717;--next-error-title: #171717;--next-error-message: #171717;--next-error-digest: #666666;--next-error-btn-text: #fff;--next-error-btn-bg: #171717;--next-error-btn-border: none;--next-error-btn-secondary-text: #171717;--next-error-btn-secondary-bg: transparent;--next-error-btn-secondary-border: 1px solid rgba(0,0,0,0.08);}@media (prefers-color-scheme: dark) {:root {--next-error-bg: #0a0a0a;--next-error-text: #ededed;--next-error-title: #ededed;--next-error-message: #ededed;--next-error-digest: #a0a0a0;--next-error-btn-text: #0a0a0a;--next-error-btn-bg: #ededed;--next-error-btn-border: none;--next-error-btn-secondary-text: #ededed;--next-error-btn-secondary-bg: transparent;--next-error-btn-secondary-border: 1px solid rgba(255,255,255,0.14);}}body { margin: 0; color: var(--next-error-text); background: var(--next-error-bg); }\"}}]]}],[\"$\",\"body\",null,{\"children\":[\"$\",\"div\",null,{\"style\":{\"fontFamily\":\"system-ui,\\\"Segoe UI\\\",Roboto,Helvetica,Arial,sans-serif,\\\"Apple Color Emoji\\\",\\\"Segoe UI Emoji\\\"\",\"height\":\"100vh\",\"display\":\"flex\",\"alignItems\":\"center\",\"justifyContent\":\"center\"},\"children\":[\"$\",\"div\",null,{\"style\":{\"marginTop\":\"-32px\",\"maxWidth\":\"325px\",\"padding\":\"32px 28px\",\"textAlign\":\"left\"},\"children\":[[\"$\",\"svg\",null,{\"width\":\"32\",\"height\":\"32\",\"viewBox\":\"-0.2 -1.5 32 32\",\"fill\":\"none\",\"style\":{\"marginBottom\":\"24px\"},\"children\":[\"$\",\"path\",null,{\"d\":\"M16.9328 0C18.0839 0.000116771 19.1334 0.658832 19.634 1.69531L31.4299 26.1309C32.0708 27.4588 31.1036 28.9999 29.6291 29H2.00215C0.527541 29 -0.439628 27.4588 0.201371 26.1309L11.9973 1.69531C12.4979 0.658823 13.5474 7.75066e-05 14.6984 0H16.9328ZM3.59493 26H28.0363L16.9328 3H14.6984L3.59493 26ZM15.8156 19C16.9202 19.0001 17.8156 19.8955 17.8156 21C17.8156 22.1045 16.9202 22.9999 15.8156 23C14.7111 23 13.8156 22.1046 13.8156 21C13.8156 19.8954 14.7111 19 15.8156 19ZM17.3156 16.5H14.3156V8.5H17.3156V16.5Z\",\"fill\":\"var(--next-error-title)\"}]}],[\"$\",\"h1\",null,{\"style\":{\"fontSize\":\"24px\",\"fontWeight\":500,\"letterSpacing\":\"-0.02em\",\"lineHeight\":\"32px\",\"margin\":\"0 0 12px 0\",\"color\":\"var(--next-error-title)\"},\"children\":\"This page couldn’t load\"}],[\"$\",\"p\",null,{\"style\":{\"fontSize\":\"14px\",\"fontWeight\":400,\"lineHeight\":\"21px\",\"margin\":\"0 0 20px 0\",\"color\":\"var(--next-error-message)\"},\"children\":\"A server error occurred. Reload to try again.\"}],[\"$\",\"form\",null,{\"style\":{\"margin\":0},\"children\":[\"$\",\"button\",null,{\"type\":\"submit\",\"style\":{\"display\":\"inline-flex\",\"alignItems\":\"center\",\"justifyContent\":\"center\",\"height\":\"32px\",\"padding\":\"0 12px\",\"fontSize\":\"14px\",\"fontWeight\":500,\"lineHeight\":\"20px\",\"borderRadius\":\"6px\",\"cursor\":\"pointer\",\"color\":\"var(--next-error-btn-text)\",\"background\":\"var(--next-error-btn-bg)\",\"border\":\"var(--next-error-btn-border)\"},\"children\":\"Reload\"}]}]]}]}]}]]}],null,[\"$\",\"$L4\",null,{\"children\":[\"$\",\"$5\",null,{\"name\":\"Next.MetadataOutlet\",\"children\":\"$@6\"}]}]]}],{},null,false,null]},null,false,\"$@7\"],[\"$\",\"$1\",\"h\",{\"children\":[null,[\"$\",\"$L8\",null,{\"children\":\"$L9\"}],[\"$\",\"div\",null,{\"hidden\":true,\"children\":[\"$\",\"$La\",null,{\"children\":[\"$\",\"$5\",null,{\"name\":\"Next.Metadata\",\"children\":\"$Lb\"}]}]}],[\"$\",\"meta\",null,{\"name\":\"next-size-adjust\",\"content\":\"\"}]]}],false]],\"m\":\"$undefined\",\"G\":[\"$c\",[]],\"S\":true,\"h\":null,\"s\":\"$undefined\",\"l\":\"$undefined\",\"p\":\"$undefined\",\"d\":\"$undefined\",\"b\":\"
|
|
1
|
+
<!DOCTYPE html><html id="__next_error__"><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="preload" as="script" fetchPriority="low" href="/_next/static/chunks/1oto92aw_9yqi.js"/><script src="/_next/static/chunks/2vfwa2oqh6yha.js" async=""></script><script src="/_next/static/chunks/34oyci46fsc5w.js" async=""></script><script src="/_next/static/chunks/turbopack-0q2foqhal-cxp.js" async=""></script><script src="/_next/static/chunks/2yl1jv4w6po1z.js" async=""></script><script src="/_next/static/chunks/1m5ykreap-f2c.js" async=""></script><meta name="next-size-adjust" content=""/><title>500: This page couldn’t load</title><link rel="manifest" href="/manifest.webmanifest"/><style>:root {--next-error-bg: #fff;--next-error-text: #171717;--next-error-title: #171717;--next-error-message: #171717;--next-error-digest: #666666;--next-error-btn-text: #fff;--next-error-btn-bg: #171717;--next-error-btn-border: none;--next-error-btn-secondary-text: #171717;--next-error-btn-secondary-bg: transparent;--next-error-btn-secondary-border: 1px solid rgba(0,0,0,0.08);}@media (prefers-color-scheme: dark) {:root {--next-error-bg: #0a0a0a;--next-error-text: #ededed;--next-error-title: #ededed;--next-error-message: #ededed;--next-error-digest: #a0a0a0;--next-error-btn-text: #0a0a0a;--next-error-btn-bg: #ededed;--next-error-btn-border: none;--next-error-btn-secondary-text: #ededed;--next-error-btn-secondary-bg: transparent;--next-error-btn-secondary-border: 1px solid rgba(255,255,255,0.14);}}body { margin: 0; color: var(--next-error-text); background: var(--next-error-bg); }</style><script src="/_next/static/chunks/0cz1d0mv5g_q7.js" noModule=""></script></head><body><div hidden=""><!--$--><!--/$--></div><div style="font-family:system-ui,"Segoe UI",Roboto,Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji";height:100vh;display:flex;align-items:center;justify-content:center"><div style="margin-top:-32px;max-width:325px;padding:32px 28px;text-align:left"><svg width="32" height="32" viewBox="-0.2 -1.5 32 32" fill="none" style="margin-bottom:24px"><path d="M16.9328 0C18.0839 0.000116771 19.1334 0.658832 19.634 1.69531L31.4299 26.1309C32.0708 27.4588 31.1036 28.9999 29.6291 29H2.00215C0.527541 29 -0.439628 27.4588 0.201371 26.1309L11.9973 1.69531C12.4979 0.658823 13.5474 7.75066e-05 14.6984 0H16.9328ZM3.59493 26H28.0363L16.9328 3H14.6984L3.59493 26ZM15.8156 19C16.9202 19.0001 17.8156 19.8955 17.8156 21C17.8156 22.1045 16.9202 22.9999 15.8156 23C14.7111 23 13.8156 22.1046 13.8156 21C13.8156 19.8954 14.7111 19 15.8156 19ZM17.3156 16.5H14.3156V8.5H17.3156V16.5Z" fill="var(--next-error-title)"></path></svg><h1 style="font-size:24px;font-weight:500;letter-spacing:-0.02em;line-height:32px;margin:0 0 12px 0;color:var(--next-error-title)">This page couldn’t load</h1><p style="font-size:14px;font-weight:400;line-height:21px;margin:0 0 20px 0;color:var(--next-error-message)">A server error occurred. Reload to try again.</p><form style="margin:0"><button type="submit" style="display:inline-flex;align-items:center;justify-content:center;height:32px;padding:0 12px;font-size:14px;font-weight:500;line-height:20px;border-radius:6px;cursor:pointer;color:var(--next-error-btn-text);background:var(--next-error-btn-bg);border:var(--next-error-btn-border)">Reload</button></form></div></div><!--$--><!--/$--><script src="/_next/static/chunks/1oto92aw_9yqi.js" id="_R_" async=""></script><script>(self.__next_f=self.__next_f||[]).push([0])</script><script>self.__next_f.push([1,"1:\"$Sreact.fragment\"\n2:I[339756,[\"/_next/static/chunks/2yl1jv4w6po1z.js\",\"/_next/static/chunks/1m5ykreap-f2c.js\"],\"default\"]\n3:I[837457,[\"/_next/static/chunks/2yl1jv4w6po1z.js\",\"/_next/static/chunks/1m5ykreap-f2c.js\"],\"default\"]\n4:I[897367,[\"/_next/static/chunks/2yl1jv4w6po1z.js\",\"/_next/static/chunks/1m5ykreap-f2c.js\"],\"OutletBoundary\"]\n5:\"$Sreact.suspense\"\n8:I[897367,[\"/_next/static/chunks/2yl1jv4w6po1z.js\",\"/_next/static/chunks/1m5ykreap-f2c.js\"],\"ViewportBoundary\"]\na:I[897367,[\"/_next/static/chunks/2yl1jv4w6po1z.js\",\"/_next/static/chunks/1m5ykreap-f2c.js\"],\"MetadataBoundary\"]\nc:I[168027,[\"/_next/static/chunks/2yl1jv4w6po1z.js\",\"/_next/static/chunks/1m5ykreap-f2c.js\"],\"default\",1]\n"])</script><script>self.__next_f.push([1,"0:{\"P\":null,\"c\":[\"\",\"_global-error\"],\"q\":\"\",\"i\":false,\"f\":[[[\"\",{\"children\":[\"__PAGE__\",{}]}],[[\"$\",\"$1\",\"c\",{\"children\":[null,[\"$\",\"$L2\",null,{\"parallelRouterKey\":\"children\",\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L3\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":\"$undefined\",\"forbidden\":\"$undefined\",\"unauthorized\":\"$undefined\"}]]}],{\"children\":[[\"$\",\"$1\",\"c\",{\"children\":[[\"$\",\"html\",null,{\"id\":\"__next_error__\",\"children\":[[\"$\",\"head\",null,{\"children\":[[\"$\",\"title\",null,{\"children\":\"500: This page couldn’t load\"}],[\"$\",\"style\",null,{\"dangerouslySetInnerHTML\":{\"__html\":\":root {--next-error-bg: #fff;--next-error-text: #171717;--next-error-title: #171717;--next-error-message: #171717;--next-error-digest: #666666;--next-error-btn-text: #fff;--next-error-btn-bg: #171717;--next-error-btn-border: none;--next-error-btn-secondary-text: #171717;--next-error-btn-secondary-bg: transparent;--next-error-btn-secondary-border: 1px solid rgba(0,0,0,0.08);}@media (prefers-color-scheme: dark) {:root {--next-error-bg: #0a0a0a;--next-error-text: #ededed;--next-error-title: #ededed;--next-error-message: #ededed;--next-error-digest: #a0a0a0;--next-error-btn-text: #0a0a0a;--next-error-btn-bg: #ededed;--next-error-btn-border: none;--next-error-btn-secondary-text: #ededed;--next-error-btn-secondary-bg: transparent;--next-error-btn-secondary-border: 1px solid rgba(255,255,255,0.14);}}body { margin: 0; color: var(--next-error-text); background: var(--next-error-bg); }\"}}]]}],[\"$\",\"body\",null,{\"children\":[\"$\",\"div\",null,{\"style\":{\"fontFamily\":\"system-ui,\\\"Segoe UI\\\",Roboto,Helvetica,Arial,sans-serif,\\\"Apple Color Emoji\\\",\\\"Segoe UI Emoji\\\"\",\"height\":\"100vh\",\"display\":\"flex\",\"alignItems\":\"center\",\"justifyContent\":\"center\"},\"children\":[\"$\",\"div\",null,{\"style\":{\"marginTop\":\"-32px\",\"maxWidth\":\"325px\",\"padding\":\"32px 28px\",\"textAlign\":\"left\"},\"children\":[[\"$\",\"svg\",null,{\"width\":\"32\",\"height\":\"32\",\"viewBox\":\"-0.2 -1.5 32 32\",\"fill\":\"none\",\"style\":{\"marginBottom\":\"24px\"},\"children\":[\"$\",\"path\",null,{\"d\":\"M16.9328 0C18.0839 0.000116771 19.1334 0.658832 19.634 1.69531L31.4299 26.1309C32.0708 27.4588 31.1036 28.9999 29.6291 29H2.00215C0.527541 29 -0.439628 27.4588 0.201371 26.1309L11.9973 1.69531C12.4979 0.658823 13.5474 7.75066e-05 14.6984 0H16.9328ZM3.59493 26H28.0363L16.9328 3H14.6984L3.59493 26ZM15.8156 19C16.9202 19.0001 17.8156 19.8955 17.8156 21C17.8156 22.1045 16.9202 22.9999 15.8156 23C14.7111 23 13.8156 22.1046 13.8156 21C13.8156 19.8954 14.7111 19 15.8156 19ZM17.3156 16.5H14.3156V8.5H17.3156V16.5Z\",\"fill\":\"var(--next-error-title)\"}]}],[\"$\",\"h1\",null,{\"style\":{\"fontSize\":\"24px\",\"fontWeight\":500,\"letterSpacing\":\"-0.02em\",\"lineHeight\":\"32px\",\"margin\":\"0 0 12px 0\",\"color\":\"var(--next-error-title)\"},\"children\":\"This page couldn’t load\"}],[\"$\",\"p\",null,{\"style\":{\"fontSize\":\"14px\",\"fontWeight\":400,\"lineHeight\":\"21px\",\"margin\":\"0 0 20px 0\",\"color\":\"var(--next-error-message)\"},\"children\":\"A server error occurred. Reload to try again.\"}],[\"$\",\"form\",null,{\"style\":{\"margin\":0},\"children\":[\"$\",\"button\",null,{\"type\":\"submit\",\"style\":{\"display\":\"inline-flex\",\"alignItems\":\"center\",\"justifyContent\":\"center\",\"height\":\"32px\",\"padding\":\"0 12px\",\"fontSize\":\"14px\",\"fontWeight\":500,\"lineHeight\":\"20px\",\"borderRadius\":\"6px\",\"cursor\":\"pointer\",\"color\":\"var(--next-error-btn-text)\",\"background\":\"var(--next-error-btn-bg)\",\"border\":\"var(--next-error-btn-border)\"},\"children\":\"Reload\"}]}]]}]}]}]]}],null,[\"$\",\"$L4\",null,{\"children\":[\"$\",\"$5\",null,{\"name\":\"Next.MetadataOutlet\",\"children\":\"$@6\"}]}]]}],{},null,false,null]},null,false,\"$@7\"],[\"$\",\"$1\",\"h\",{\"children\":[null,[\"$\",\"$L8\",null,{\"children\":\"$L9\"}],[\"$\",\"div\",null,{\"hidden\":true,\"children\":[\"$\",\"$La\",null,{\"children\":[\"$\",\"$5\",null,{\"name\":\"Next.Metadata\",\"children\":\"$Lb\"}]}]}],[\"$\",\"meta\",null,{\"name\":\"next-size-adjust\",\"content\":\"\"}]]}],false]],\"m\":\"$undefined\",\"G\":[\"$c\",[]],\"S\":true,\"h\":null,\"s\":\"$undefined\",\"l\":\"$undefined\",\"p\":\"$undefined\",\"d\":\"$undefined\",\"b\":\"YQIuXmWQUbKsutRkPFwhf\"}\n"])</script><script>self.__next_f.push([1,"d:[]\n7:\"$Wd\"\n"])</script><script>self.__next_f.push([1,"9:[[\"$\",\"meta\",\"0\",{\"charSet\":\"utf-8\"}],[\"$\",\"meta\",\"1\",{\"name\":\"viewport\",\"content\":\"width=device-width, initial-scale=1\"}]]\n"])</script><script>self.__next_f.push([1,"6:null\nb:[[\"$\",\"link\",\"0\",{\"rel\":\"manifest\",\"href\":\"/manifest.webmanifest\",\"crossOrigin\":\"$undefined\"}]]\n"])</script></body></html>
|
|
@@ -1 +1 @@
|
|
|
1
|
-
self.__RSC_SERVER_MANIFEST="{\n \"node\": {},\n \"edge\": {},\n \"encryptionKey\": \"
|
|
1
|
+
self.__RSC_SERVER_MANIFEST="{\n \"node\": {},\n \"edge\": {},\n \"encryptionKey\": \"B8wuMENflHtQebbp4Ly7DYEaM6ZpqagOg2Hdz+/ocHc=\"\n}"
|
|
@@ -69,7 +69,7 @@
|
|
|
69
69
|
files { path previousPath changeType additions deletions binary image }
|
|
70
70
|
patch image binary truncated beforeAvailable afterAvailable
|
|
71
71
|
}
|
|
72
|
-
}`;e.s(["CODEBASE_FIELDS",0,i,"INSPECT_WORKTREE_DIFF_MUTATION",0,s,"INSPECT_WORKTREE_MUTATION",0,a,"WORKTREE_FIELDS",0,r],455329)},930998,e=>{"use strict";var t=e.i(843476),r=e.i(816484),i=e.i(11037),a=e.i(487486),s=e.i(515288),n=e.i(82612),l=e.i(784774),o=e.i(520133),d=e.i(767648),u=e.i(948148);e.s(["WorktreeRunQueueCard",0,function({currentEntryId:e,entries:c,scope:h}){let m=(0,u.useTranslations)("workflows"),p=(0,u.useTranslations)("actionCenter.kinds"),g=(0,i.useRunLabels)(),f="WORKFLOW"===h;return(0,t.jsxs)(s.Card,{className:"min-w-0 gap-0 overflow-hidden py-0",children:[(0,t.jsxs)(s.CardHeader,{children:[(0,t.jsx)(s.CardTitle,{children:"WORKTREE"===h?m("worktreeQueue"):m("workflowQueue")}),(0,t.jsx)(s.CardDescription,{children:"WORKTREE"===h?m("worktreeQueueDescription"):"RUN"===h?m("runQueueDescription"):m("workflowQueueDescription")})]}),c.length?(0,t.jsx)("div",{className:"overflow-x-auto border-t",children:(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-20",children:m("queuePosition")}),(0,t.jsx)(l.TableHead,{children:m("queueItem")}),(0,t.jsx)(l.TableHead,{children:m("queueState")}),f&&(0,t.jsx)(l.TableHead,{children:m("queueWorktree")}),(0,t.jsx)(l.TableHead,{children:m("queuedAt")})]})}),(0,t.jsx)(l.TableBody,{children:c.map(i=>{let s=i.id===e;return(0,t.jsxs)(l.TableRow,{className:s?"bg-primary/5":void 0,children:[(0,t.jsxs)(l.TableCell,{className:"font-mono font-semibold",children:["#",i.position]}),(0,t.jsxs)(l.TableCell,{children:[(0,t.jsxs)(o.Link,{className:"font-medium hover:underline",href:"WORKFLOW"===i.kind?`/workflows/runs/${i.id}`:`/${"PLAN"===i.kind?"plans":"sessions"}/${i.id}`,children:[p(i.kind)," #",i.displayNumber]}),(0,t.jsx)("p",{className:"max-w-72 truncate text-xs text-muted-foreground",children:i.name})]}),(0,t.jsx)(l.TableCell,{children:(0,t.jsxs)("div",{className:"flex flex-wrap gap-1",children:[(0,t.jsx)(a.Badge,{variant:"outline",children:"WORKFLOW"===i.kind?(0,d.formatEnumLabel)(i.phase):g.phase(i.phase)}),i.exclusiveWorktree&&(0,t.jsx)(a.Badge,{variant:"secondary",children:m("exclusive")}),s&&(0,t.jsx)(a.Badge,{variant:"secondary",children:m("currentRun")})]})}),f&&(0,t.jsx)(l.TableCell,{children:i.worktree?(0,t.jsx)(o.Link,{className:"font-mono text-xs hover:underline",href:`/worktrees/${i.worktree.id}`,children:i.worktree.branch??i.worktree.folder}):"—"}),(0,t.jsx)(l.TableCell,{className:"text-muted-foreground",children:(0,t.jsx)(r.DateTime,{kind:"relative",value:i.queuedAt})})]},`${i.kind}:${i.id}`)})})]})}):(0,t.jsx)(s.CardContent,{className:"
|
|
72
|
+
}`;e.s(["CODEBASE_FIELDS",0,i,"INSPECT_WORKTREE_DIFF_MUTATION",0,s,"INSPECT_WORKTREE_MUTATION",0,a,"WORKTREE_FIELDS",0,r],455329)},930998,e=>{"use strict";var t=e.i(843476),r=e.i(816484),i=e.i(11037),a=e.i(487486),s=e.i(515288),n=e.i(82612),l=e.i(784774),o=e.i(520133),d=e.i(767648),u=e.i(948148);e.s(["WorktreeRunQueueCard",0,function({currentEntryId:e,entries:c,scope:h}){let m=(0,u.useTranslations)("workflows"),p=(0,u.useTranslations)("actionCenter.kinds"),g=(0,i.useRunLabels)(),f="WORKFLOW"===h;return(0,t.jsxs)(s.Card,{className:"min-w-0 gap-0 overflow-hidden py-0",children:[(0,t.jsxs)(s.CardHeader,{children:[(0,t.jsx)(s.CardTitle,{children:"WORKTREE"===h?m("worktreeQueue"):m("workflowQueue")}),(0,t.jsx)(s.CardDescription,{children:"WORKTREE"===h?m("worktreeQueueDescription"):"RUN"===h?m("runQueueDescription"):m("workflowQueueDescription")})]}),c.length?(0,t.jsx)("div",{className:"overflow-x-auto border-t",children:(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-20",children:m("queuePosition")}),(0,t.jsx)(l.TableHead,{children:m("queueItem")}),(0,t.jsx)(l.TableHead,{children:m("queueState")}),f&&(0,t.jsx)(l.TableHead,{children:m("queueWorktree")}),(0,t.jsx)(l.TableHead,{children:m("queuedAt")})]})}),(0,t.jsx)(l.TableBody,{children:c.map(i=>{let s=i.id===e;return(0,t.jsxs)(l.TableRow,{className:s?"bg-primary/5":void 0,children:[(0,t.jsxs)(l.TableCell,{className:"font-mono font-semibold",children:["#",i.position]}),(0,t.jsxs)(l.TableCell,{children:[(0,t.jsxs)(o.Link,{className:"font-medium hover:underline",href:"WORKFLOW"===i.kind?`/workflows/runs/${i.id}`:`/${"PLAN"===i.kind?"plans":"sessions"}/${i.id}`,children:[p(i.kind)," #",i.displayNumber]}),(0,t.jsx)("p",{className:"max-w-72 truncate text-xs text-muted-foreground",children:i.name})]}),(0,t.jsx)(l.TableCell,{children:(0,t.jsxs)("div",{className:"flex flex-wrap gap-1",children:[(0,t.jsx)(a.Badge,{variant:"outline",children:"WORKFLOW"===i.kind?(0,d.formatEnumLabel)(i.phase):g.phase(i.phase)}),i.exclusiveWorktree&&(0,t.jsx)(a.Badge,{variant:"secondary",children:m("exclusive")}),s&&(0,t.jsx)(a.Badge,{variant:"secondary",children:m("currentRun")})]})}),f&&(0,t.jsx)(l.TableCell,{children:i.worktree?(0,t.jsx)(o.Link,{className:"font-mono text-xs hover:underline",href:`/worktrees/${i.worktree.id}`,children:i.worktree.branch??i.worktree.folder}):"—"}),(0,t.jsx)(l.TableCell,{className:"text-muted-foreground",children:(0,t.jsx)(r.DateTime,{kind:"relative",value:i.queuedAt})})]},`${i.kind}:${i.id}`)})})]})}):(0,t.jsx)(s.CardContent,{className:"py-6",children:(0,t.jsx)(n.Empty,{className:"border py-8",children:(0,t.jsxs)(n.EmptyHeader,{children:[(0,t.jsx)(n.EmptyTitle,{children:m("queueEmpty")}),(0,t.jsx)(n.EmptyDescription,{children:m("queueEmptyDescription")})]})})})]})}])},52253,e=>{"use strict";var t=e.i(843476),r=e.i(688194),i=e.i(77071),a=e.i(741120);let s=(0,e.i(456420).default)("scan-search",[["path",{d:"M3 7V5a2 2 0 0 1 2-2h2",key:"aa7l1z"}],["path",{d:"M17 3h2a2 2 0 0 1 2 2v2",key:"4qcy5o"}],["path",{d:"M21 17v2a2 2 0 0 1-2 2h-2",key:"6vwrx8"}],["path",{d:"M7 21H5a2 2 0 0 1-2-2v-2",key:"ioqczr"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}],["path",{d:"m16 16-1.9-1.9",key:"1dq9hf"}]]);var n=e.i(573474),l=e.i(861745),o=e.i(948148),d=e.i(271645),u=e.i(929592),c=e.i(519455),h=e.i(257428),m=e.i(793479),p=e.i(110204),g=e.i(967489),f=e.i(987968),x=e.i(637611),b=e.i(360583);let j=new Set(["SUCCEEDED","FAILED","CANCELLED","TIMED_OUT"]);e.s(["DEFAULT_EXPORT_SETTINGS",0,{method:"DEBUGGING",signingStyle:"AUTOMATIC",teamId:null,signingCertificate:null,provisioningProfiles:{},uploadSymbols:!0,manageAppVersionAndBuildNumber:!0,testFlightInternalTestingOnly:!1,stripSwiftSymbols:!0,thinning:null,iCloudContainerEnvironment:null,distributionBundleIdentifier:null},"ExportSettingsForm",0,function({value:e,onChange:y,onParseSigningRequirements:k,disabled:v=!1}){let w=(0,o.useTranslations)("builds"),I=(0,o.useTranslations)("provisioningProfiles"),C=(0,l.useLocale)(),[A,N]=(0,d.useState)(()=>Object.keys(e.provisioningProfiles).map(e=>({bundleId:e,name:e,target:e,platform:null,teamId:null,provisioningProfileSpecifier:null}))),[S,R]=(0,d.useState)(!1),[E,T]=(0,d.useState)(!1),[D,O]=(0,d.useState)(null),[M,L]=(0,d.useState)(""),[P,B]=(0,d.useState)(()=>new Set(Object.keys(e.provisioningProfiles))),$=(0,d.useId)(),[W,q]=(0,d.useState)(null),[U,_]=(0,d.useState)(null),[F,K]=(0,d.useState)([]),[H,z]=(0,d.useState)(!1),G=(0,d.useCallback)(async()=>{try{let e=await (0,x.controlPlaneRequest)(`query ExportSigningInventory {
|
|
73
73
|
signingAgents { supported }
|
|
74
74
|
signingCertificates { sha1 name teamId hasPrivateKey installedAgents { id } }
|
|
75
75
|
signingProfiles {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,741120,e=>{"use strict";let r=(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,r],741120)},82612,e=>{"use strict";var r=e.i(843476),t=e.i(225913),n=e.i(975157);let i=(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,r.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,r.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,r.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",...l}){return(0,r.jsx)("div",{"data-slot":"empty-icon","data-variant":t,className:(0,n.cn)(i({variant:t,className:e})),...l})},"EmptyTitle",0,function({className:e,...t}){return(0,r.jsx)("div",{"data-slot":"empty-title",className:(0,n.cn)("font-heading text-sm font-medium tracking-tight",e),...t})}])},832297,e=>{"use strict";var r=e.i(187921);e.s(["CirclePlay",()=>r.default])},880181,596930,505624,e=>{"use strict";function r(e){return encodeURIComponent(e.trim())}function t(e){var t;let n=(t=e.url,!t?.startsWith("/")||t.startsWith("//")?null:t);if(n)return{href:n,external:!1};let i=e.kind.trim().toUpperCase(),l=e.resourceId.trim();if(!l)return null;let s="string"==typeof e.metadata?.runKind?e.metadata.runKind.toUpperCase():null,a="BUILD"===i?`/builds/${r(l)}`:"CODEBASE"===i?`/codebases/${r(l)}`:"JIRA_TICKET"===i?`/jira/tickets/${r(l)}`:"WORKTREE"===i?`/worktrees/${r(l)}`:"AGENT_RUN"===i&&"PLAN"===s?`/plans/${r(l)}`:"AGENT_RUN"===i&&"SESSION"===s?`/sessions/${r(l)}`:"PULL_REQUEST"===i?function(e){let t=e.lastIndexOf("#");if(t<1)return null;let n=e.slice(0,t),i=n.indexOf("/");if(i<1||i===n.length-1)return null;let l=Number(e.slice(t+1));return!Number.isInteger(l)||l<1?null:`/pull-requests/${r(n.slice(0,i))}/${r(n.slice(i+1))}/${l}`}(l):"AGENT_JOB"===i?`/jobs/${r(l)}`:"COMMAND_RUN"===i?`/commands/runs/${r(l)}`:"WORKFLOW_RUN"===i?`/workflows/runs/${r(l)}`:"SKILL_SYNC"===i?`/skills/sync/${r(l)}`:"SKILL"===i?`/skills/${r(l)}`:"IOS_DEVICE"===i?`/devices/${r(l)}`:"SIGNING_PROFILE"===i?`/provisioning-profiles/${r(l)}`:"PUSH_NOTIFICATION_BATCH"===i?"/push-notifications":"BUILD_DATA_COLLECTION"===i?"/build-data":"AGENT"===i?`/agents/${r(l)}`:"CODEBASE_REPOSITORY"===i?`/codebases/repositories/${r(l)}`:null;if(a)return{href:a,external:!1};let o=function(e){if(!e)return null;try{let r=new URL(e);return new Set(["http:","https:"]).has(r.protocol)?r.href:null}catch{return null}}(e.url);return o?{href:o,external:!0}:null}function n(e){let r=e.kind.trim().toUpperCase();return"BUILD"===r?0:"AGENT_JOB"===r||"COMMAND_RUN"===r?30:"GITHUB_WORKFLOW_RUN"===r?20:10}function i(e){return e.map((e,r)=>({destination:t(e),index:r,link:e,time:e.createdAt instanceof Date?e.createdAt.getTime():Date.parse(e.createdAt??"")||0})).filter(e=>null!==e.destination).sort((e,r)=>n(e.link)-n(r.link)||r.time-e.time||r.index-e.index)[0]?.destination??null}function l(e){return e&&"object"==typeof e&&!Array.isArray(e)?e:{}}function s(e){return"string"!=typeof e&&"number"!=typeof e?null:String(e).trim()||null}function a(e,r,t){return e.kind.trim().toUpperCase()===r.trim().toUpperCase()&&e.resourceId.trim()===t.trim()}e.i(672510),e.s(["githubJobResourceId",0,function(e,r){let t=e.trim(),n=r.trim();if(!t||!n)throw Error("GitHub job repository and job ID are required");return`${t}:job:${n}`},"githubPipelineResourceId",0,function(e,r,t){let n=e.trim(),i=r?.trim(),l=t.trim();if(!n||!i&&!l)throw Error("GitHub pipeline repository and provider ID are required");return`${n}:${i?"run":"check"}:${i||l}`},"preferredWorkflowResourceDestination",0,i,"workflowResourceDestination",0,t],596930),e.s(["currentPageWorkflowNodeIds",0,function(e,r,t){let n=new Set,i=new Map(e.attempts.map(e=>[e.id,e.nodeId]));for(let i of e.attempts)i.resourceLinks.some(e=>a(e,r,t))&&n.add(i.nodeId);for(let l of e.resourceLinks){if(!a(l,r,t))continue;let s=l.attemptId?i.get(l.attemptId):e.trigger?.nodeId;s&&n.add(s)}return n},"workflowRunNodeDestinations",0,function(e){let r=new Map;for(let t of[...e.attempts].sort((r,t)=>Number(t.generation===e.generation)-Number(r.generation===e.generation)||t.generation-r.generation||t.attempt-r.attempt||Number(!!r.iterationKey)-Number(!!t.iterationKey))){if(r.has(t.nodeId))continue;let e=function(e){let r=e.kind?.trim().toUpperCase()??"",t=l(e.output),n=l(t.value),i={...l(n.sessionPatch),...l(t.sessionPatch)};if(r.startsWith("JIRA_")){let e=s(n.key)??s(l(n.ticket).key)??s(l(i.ticket).key);return e?{kind:"JIRA_TICKET",resourceId:e}:null}if(r.startsWith("RUN_")){let e=s(n.id),r=s(n.kind)?.toUpperCase();return e&&("PLAN"===r||"SESSION"===r)?{kind:"AGENT_RUN",resourceId:e,metadata:{runKind:r}}:null}if(r.startsWith("WORKTREE_")){let e=s(l(i.worktree).id);return e?{kind:"WORKTREE",resourceId:e}:null}if(r.startsWith("CODEBASE_")){let e=s(l(i.codebase).id)??s(n.id);return e?{kind:"CODEBASE",resourceId:e}:null}if(r.startsWith("BUILD_")){let e=s(l(i.build).id)??s(n.id);return e?{kind:"BUILD",resourceId:e}:null}return null}(t),n=i(e?[...t.resourceLinks,e]:t.resourceLinks);n&&r.set(t.nodeId,n)}let t=i(e.resourceLinks.filter(({attemptId:e})=>!e));return e.trigger?.nodeId&&t&&r.set(e.trigger.nodeId,t),r}],880181);var o=e.i(271645),d=e.i(520133);e.s(["useOpenWorkflowDestination",0,function(){let e=(0,d.useRouter)();return(0,o.useCallback)(r=>{if(r){if(r.external)return void window.open(r.href,"_blank","noopener,noreferrer");e.push(r.href)}},[e])}],505624)},489002,e=>{"use strict";let r=(0,e.i(456420).default)("circle-stop",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["rect",{x:"9",y:"9",width:"6",height:"6",rx:"1",key:"1ssd4o"}]]);e.s(["CircleStop",0,r],489002)},759684,e=>{"use strict";var r=e.i(843476),t=e.i(271645),n=e.i(248425),i=e.i(296626),l=e.i(30030),s=e.i(820783),a=e.i(30207),o=e.i(586318),d=e.i(934620),c=e.i(470152),u=e.i(981140),h=Object.defineProperty,p=(e,r)=>h(e,"name",{value:r,configurable:!0});function m(e,r){return t.useReducer((e,t)=>r[e][t]??e,e)}p(m,"useStateMachine");var f="ScrollArea",[x,v]=(0,l.createContextScope)(f),[w,b]=x(f),g=t.forwardRef(p(function(e,i){let{__scopeScrollArea:l,type:a="hover",dir:d,scrollHideDelay:c=600,...u}=e,[h,p]=t.useState(null),[m,f]=t.useState(null),[x,v]=t.useState(null),[b,g]=t.useState(null),[j,C]=t.useState(null),[S,k]=t.useState(0),[y,R]=t.useState(0),[E,T]=t.useState(!1),[N,I]=t.useState(!1),A=(0,s.useComposedRefs)(i,p),D=(0,o.useDirection)(d);return(0,r.jsx)(w,{scope:l,type:a,dir:D,scrollHideDelay:c,scrollArea:h,viewport:m,onViewportChange:f,content:x,onContentChange:v,scrollbarX:b,onScrollbarXChange:g,scrollbarXEnabled:E,onScrollbarXEnabledChange:T,scrollbarY:j,onScrollbarYChange:C,scrollbarYEnabled:N,onScrollbarYEnabledChange:I,onCornerWidthChange:k,onCornerHeightChange:R,children:(0,r.jsx)(n.Primitive.div,{dir:D,...u,ref:A,style:{position:"relative","--radix-scroll-area-corner-width":S+"px","--radix-scroll-area-corner-height":y+"px",...e.style}})})},"ScrollArea")),j=t.forwardRef(p(function(e,i){let{__scopeScrollArea:l,children:a,nonce:o,...d}=e,c=b("ScrollAreaViewport",l),u=t.useRef(null),h=(0,s.useComposedRefs)(i,u,c.onViewportChange);return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(C,{nonce:o}),(0,r.jsx)(n.Primitive.div,{"data-radix-scroll-area-viewport":"",...d,ref:h,style:{overflowX:c.scrollbarXEnabled?"scroll":"hidden",overflowY:c.scrollbarYEnabled?"scroll":"hidden",...e.style},children:(0,r.jsx)("div",{ref:c.onContentChange,style:{minWidth:"100%",display:"table"},children:a})})]})},"ScrollAreaViewport")),C=t.memo(p(function({nonce:e}){return(0,r.jsx)("style",{dangerouslySetInnerHTML:{__html:"[data-radix-scroll-area-viewport]{scrollbar-width:none;-ms-overflow-style:none;-webkit-overflow-scrolling:touch;}[data-radix-scroll-area-viewport]::-webkit-scrollbar{display:none}"},nonce:e})},"ScrollAreaViewportStyle"),(e,r)=>e.nonce===r.nonce),S="ScrollAreaScrollbar",k=t.forwardRef(p(function(e,n){let{forceMount:i,...l}=e,s=b(S,e.__scopeScrollArea),{onScrollbarXEnabledChange:a,onScrollbarYEnabledChange:o}=s,d="horizontal"===e.orientation;return t.useEffect(()=>(d?a(!0):o(!0),()=>{d?a(!1):o(!1)}),[d,a,o]),"hover"===s.type?(0,r.jsx)(y,{...l,ref:n,forceMount:i}):"scroll"===s.type?(0,r.jsx)(R,{...l,ref:n,forceMount:i}):"auto"===s.type?(0,r.jsx)(E,{...l,ref:n,forceMount:i}):"always"===s.type?(0,r.jsx)(T,{...l,ref:n,"data-state":"visible"}):null},"ScrollAreaScrollbar")),y=t.forwardRef(p(function(e,n){let{forceMount:l,...s}=e,a=b(S,e.__scopeScrollArea),[o,d]=t.useState(!1);return t.useEffect(()=>{let e=a.scrollArea,r=0;if(e){let t=p(()=>{window.clearTimeout(r),d(!0)},"handlePointerEnter"),n=p(()=>{r=window.setTimeout(()=>d(!1),a.scrollHideDelay)},"handlePointerLeave");return e.addEventListener("pointerenter",t),e.addEventListener("pointerleave",n),()=>{window.clearTimeout(r),e.removeEventListener("pointerenter",t),e.removeEventListener("pointerleave",n)}}},[a.scrollArea,a.scrollHideDelay]),(0,r.jsx)(i.Presence,{present:l||o,children:(0,r.jsx)(E,{"data-state":o?"visible":"hidden",...s,ref:n})})},"ScrollAreaScrollbarHover")),R=t.forwardRef(p(function(e,n){let{forceMount:l,...s}=e,a=b(S,e.__scopeScrollArea),o="horizontal"===e.orientation,d=M(()=>h("SCROLL_END"),100),[c,h]=m("hidden",{hidden:{SCROLL:"scrolling"},scrolling:{SCROLL_END:"idle",POINTER_ENTER:"interacting"},interacting:{SCROLL:"interacting",POINTER_LEAVE:"idle"},idle:{HIDE:"hidden",SCROLL:"scrolling",POINTER_ENTER:"interacting"}});return t.useEffect(()=>{if("idle"===c){let e=window.setTimeout(()=>h("HIDE"),a.scrollHideDelay);return()=>window.clearTimeout(e)}},[c,a.scrollHideDelay,h]),t.useEffect(()=>{let e=a.viewport,r=o?"scrollLeft":"scrollTop";if(e){let t=e[r],n=p(()=>{let n=e[r];t!==n&&(h("SCROLL"),d()),t=n},"handleScroll");return e.addEventListener("scroll",n),()=>e.removeEventListener("scroll",n)}},[a.viewport,o,h,d]),(0,r.jsx)(i.Presence,{present:l||"hidden"!==c,children:(0,r.jsx)(T,{"data-state":"hidden"===c?"hidden":"visible",...s,ref:n,onPointerEnter:(0,u.composeEventHandlers)(e.onPointerEnter,()=>h("POINTER_ENTER")),onPointerLeave:(0,u.composeEventHandlers)(e.onPointerLeave,()=>h("POINTER_LEAVE"))})})},"ScrollAreaScrollbarScroll")),E=t.forwardRef(p(function(e,n){let l=b(S,e.__scopeScrollArea),{forceMount:s,...a}=e,[o,d]=t.useState(!1),c="horizontal"===e.orientation,u=M(()=>{if(l.viewport){let e=l.viewport.offsetWidth<l.viewport.scrollWidth,r=l.viewport.offsetHeight<l.viewport.scrollHeight;d(c?e:r)}},10);return Q(l.viewport,u),Q(l.content,u),(0,r.jsx)(i.Presence,{present:s||o,children:(0,r.jsx)(T,{"data-state":o?"visible":"hidden",...a,ref:n})})},"ScrollAreaScrollbarAuto")),T=t.forwardRef(p(function(e,n){let{orientation:i="vertical",...l}=e,s=b(S,e.__scopeScrollArea),a=t.useRef(null),o=t.useRef(0),[d,c]=t.useState({content:0,viewport:0,scrollbar:{size:0,paddingStart:0,paddingEnd:0}}),u=B(d.viewport,d.content),h={...l,sizes:d,onSizesChange:c,hasThumb:!!(u>0&&u<1),onThumbChange:p(e=>a.current=e,"onThumbChange"),onThumbPointerUp:p(()=>o.current=0,"onThumbPointerUp"),onThumbPointerDown:p(e=>o.current=e,"onThumbPointerDown")};function m(e,r){return K(e,o.current,d,r)}return(p(m,"getScrollPosition"),"horizontal"===i)?(0,r.jsx)(N,{...h,ref:n,onThumbPositionChange:()=>{if(s.viewport&&a.current){let e=z(s.viewport.scrollLeft,d,s.dir);a.current.style.transform=`translate3d(${e}px, 0, 0)`}},onWheelScroll:e=>{s.viewport&&(s.viewport.scrollLeft=e)},onDragScroll:e=>{s.viewport&&(s.viewport.scrollLeft=m(e,s.dir))}}):"vertical"===i?(0,r.jsx)(I,{...h,ref:n,onThumbPositionChange:()=>{if(s.viewport&&a.current){let e=z(s.viewport.scrollTop,d);a.current.style.transform=`translate3d(0, ${e}px, 0)`}},onWheelScroll:e=>{s.viewport&&(s.viewport.scrollTop=e)},onDragScroll:e=>{s.viewport&&(s.viewport.scrollTop=m(e))}}):null},"ScrollAreaScrollbarVisible")),N=t.forwardRef(p(function(e,n){let{sizes:i,onSizesChange:l,...a}=e,o=b(S,e.__scopeScrollArea),[d,c]=t.useState(),u=t.useRef(null),h=(0,s.useComposedRefs)(n,u,o.onScrollbarXChange);return t.useEffect(()=>{u.current&&c(getComputedStyle(u.current))},[u]),(0,r.jsx)(L,{"data-orientation":"horizontal",...a,ref:h,sizes:i,style:{bottom:0,left:"rtl"===o.dir?"var(--radix-scroll-area-corner-width)":0,right:"ltr"===o.dir?"var(--radix-scroll-area-corner-width)":0,"--radix-scroll-area-thumb-width":q(i)+"px",...e.style},onThumbPointerDown:r=>e.onThumbPointerDown(r.x),onDragScroll:r=>e.onDragScroll(r.x),onWheelScroll:(r,t)=>{if(o.viewport){let n=o.viewport.scrollLeft+r.deltaX;e.onWheelScroll(n),V(n,t)&&r.preventDefault()}},onResize:()=>{u.current&&o.viewport&&d&&l({content:o.viewport.scrollWidth,viewport:o.viewport.offsetWidth,scrollbar:{size:u.current.clientWidth,paddingStart:U(d.paddingLeft),paddingEnd:U(d.paddingRight)}})}})},"ScrollAreaScrollbarX")),I=t.forwardRef(p(function(e,n){let{sizes:i,onSizesChange:l,...a}=e,o=b(S,e.__scopeScrollArea),[d,c]=t.useState(),u=t.useRef(null),h=(0,s.useComposedRefs)(n,u,o.onScrollbarYChange);return t.useEffect(()=>{u.current&&c(getComputedStyle(u.current))},[u]),(0,r.jsx)(L,{"data-orientation":"vertical",...a,ref:h,sizes:i,style:{top:0,right:"ltr"===o.dir?0:void 0,left:"rtl"===o.dir?0:void 0,bottom:"var(--radix-scroll-area-corner-height)","--radix-scroll-area-thumb-height":q(i)+"px",...e.style},onThumbPointerDown:r=>e.onThumbPointerDown(r.y),onDragScroll:r=>e.onDragScroll(r.y),onWheelScroll:(r,t)=>{if(o.viewport){let n=o.viewport.scrollTop+r.deltaY;e.onWheelScroll(n),V(n,t)&&r.preventDefault()}},onResize:()=>{u.current&&o.viewport&&d&&l({content:o.viewport.scrollHeight,viewport:o.viewport.offsetHeight,scrollbar:{size:u.current.clientHeight,paddingStart:U(d.paddingTop),paddingEnd:U(d.paddingBottom)}})}})},"ScrollAreaScrollbarY")),[A,D]=x(S),L=t.forwardRef(p(function(e,i){let{__scopeScrollArea:l,sizes:o,hasThumb:d,onThumbChange:c,onThumbPointerUp:h,onThumbPointerDown:m,onThumbPositionChange:f,onDragScroll:x,onWheelScroll:v,onResize:w,...g}=e,j=b(S,l),[C,k]=t.useState(null),y=(0,s.useComposedRefs)(i,k),R=t.useRef(null),E=t.useRef(""),T=j.viewport,N=o.content-o.viewport,I=(0,a.useCallbackRef)(v),D=(0,a.useCallbackRef)(f),L=M(w,10);function P(e){R.current&&x({x:e.clientX-R.current.left,y:e.clientY-R.current.top})}return p(P,"handleDragScroll"),t.useEffect(()=>{let e=p(e=>{let r=e.target;C?.contains(r)&&I(e,N)},"handleWheel");return document.addEventListener("wheel",e,{passive:!1}),()=>document.removeEventListener("wheel",e,{passive:!1})},[T,C,N,I]),t.useEffect(D,[o,D]),Q(C,L),Q(j.content,L),(0,r.jsx)(A,{scope:l,scrollbar:C,hasThumb:d,onThumbChange:(0,a.useCallbackRef)(c),onThumbPointerUp:(0,a.useCallbackRef)(h),onThumbPositionChange:D,onThumbPointerDown:(0,a.useCallbackRef)(m),children:(0,r.jsx)(n.Primitive.div,{...g,ref:y,style:{position:"absolute",...g.style},onPointerDown:(0,u.composeEventHandlers)(e.onPointerDown,e=>{0===e.button&&(e.target.setPointerCapture(e.pointerId),R.current=C.getBoundingClientRect(),E.current=document.body.style.webkitUserSelect,document.body.style.webkitUserSelect="none",j.viewport&&(j.viewport.style.scrollBehavior="auto"),P(e))}),onPointerMove:(0,u.composeEventHandlers)(e.onPointerMove,P),onPointerUp:(0,u.composeEventHandlers)(e.onPointerUp,e=>{let r=e.target;r.hasPointerCapture(e.pointerId)&&r.releasePointerCapture(e.pointerId),document.body.style.webkitUserSelect=E.current,j.viewport&&(j.viewport.style.scrollBehavior=""),R.current=null})})})},"ScrollAreaScrollbarImpl")),P="ScrollAreaThumb",W=t.forwardRef(p(function(e,t){let{forceMount:n,...l}=e,s=D(P,e.__scopeScrollArea);return(0,r.jsx)(i.Presence,{present:n||s.hasThumb,children:(0,r.jsx)($,{ref:t,...l})})},"ScrollAreaThumb")),$=t.forwardRef(p(function(e,i){let{__scopeScrollArea:l,style:a,...o}=e,d=b(P,l),c=D(P,l),{onThumbPositionChange:h}=c,m=(0,s.useComposedRefs)(i,c.onThumbChange),f=t.useRef(void 0),x=M(()=>{f.current&&(f.current(),f.current=void 0)},100);return t.useEffect(()=>{let e=d.viewport;if(e){let r=p(()=>{x(),f.current||(f.current=G(e,h),h())},"handleScroll");return h(),e.addEventListener("scroll",r),()=>e.removeEventListener("scroll",r)}},[d.viewport,x,h]),(0,r.jsx)(n.Primitive.div,{"data-state":c.hasThumb?"visible":"hidden",...o,ref:m,style:{width:"var(--radix-scroll-area-thumb-width)",height:"var(--radix-scroll-area-thumb-height)",...a},onPointerDownCapture:(0,u.composeEventHandlers)(e.onPointerDownCapture,e=>{let r=e.target.getBoundingClientRect(),t=e.clientX-r.left,n=e.clientY-r.top;c.onThumbPointerDown({x:t,y:n})}),onPointerUp:(0,u.composeEventHandlers)(e.onPointerUp,c.onThumbPointerUp)})},"ScrollAreaThumbImpl")),O="ScrollAreaCorner",_=t.forwardRef(p(function(e,t){let n=b(O,e.__scopeScrollArea),i=!!(n.scrollbarX&&n.scrollbarY);return"scroll"!==n.type&&i?(0,r.jsx)(H,{...e,ref:t}):null},"ScrollAreaCorner")),H=t.forwardRef(p(function(e,i){let{__scopeScrollArea:l,...s}=e,a=b(O,l),[o,d]=t.useState(0),[c,u]=t.useState(0),h=!!(o&&c),{onCornerWidthChange:p,onCornerHeightChange:m}=a;return Q(a.scrollbarX,()=>{let e=a.scrollbarX?.offsetHeight||0;a.onCornerHeightChange(e),u(e)}),Q(a.scrollbarY,()=>{let e=a.scrollbarY?.offsetWidth||0;a.onCornerWidthChange(e),d(e)}),t.useEffect(()=>()=>{p(0),m(0)},[p,m]),h?(0,r.jsx)(n.Primitive.div,{...s,ref:i,style:{width:o,height:c,position:"absolute",right:"ltr"===a.dir?0:void 0,left:"rtl"===a.dir?0:void 0,bottom:0,...e.style}}):null},"ScrollAreaCornerImpl"));function U(e){return e?parseInt(e,10):0}function B(e,r){let t=e/r;return isNaN(t)?0:t}function q(e){let r=B(e.viewport,e.content),t=e.scrollbar.paddingStart+e.scrollbar.paddingEnd;return Math.max((e.scrollbar.size-t)*r,18)}function K(e,r,t,n="ltr"){let i=q(t),l=r||i/2,s=t.scrollbar.paddingStart+l,a=t.scrollbar.size-t.scrollbar.paddingEnd-(i-l),o=t.content-t.viewport;return F([s,a],"ltr"===n?[0,o]:[-1*o,0])(e)}function z(e,r,t="ltr"){let n=q(r),i=r.scrollbar.paddingStart+r.scrollbar.paddingEnd,l=r.scrollbar.size-i,s=r.content-r.viewport,a=(0,c.clamp)(e,"ltr"===t?[0,s]:[-1*s,0]);return F([0,s],[0,l-n])(a)}function F(e,r){return t=>{if(e[0]===e[1]||r[0]===r[1])return r[0];let n=(r[1]-r[0])/(e[1]-e[0]);return r[0]+n*(t-e[0])}}function V(e,r){return e>0&&e<r}p(U,"toInt"),p(B,"getThumbRatio"),p(q,"getThumbSize"),p(K,"getScrollPositionFromPointer"),p(z,"getThumbOffsetFromScroll"),p(F,"linearScale"),p(V,"isScrollingWithinScrollbarBounds");var G=p((e,r=()=>{})=>(e.scrollLeft,e.scrollTop,()=>window.cancelAnimationFrame(0)),"addUnlinkedScrollListener");function M(e,r){let n=(0,a.useCallbackRef)(e),i=t.useRef(0);return t.useEffect(()=>()=>window.clearTimeout(i.current),[]),t.useCallback(()=>{window.clearTimeout(i.current),i.current=window.setTimeout(n,r)},[n,r])}function Q(e,r){let t=(0,a.useCallbackRef)(r);(0,d.useLayoutEffect)(()=>{let r=0;if(e){let n=new ResizeObserver(()=>{cancelAnimationFrame(r),r=window.requestAnimationFrame(t)});return n.observe(e),()=>{window.cancelAnimationFrame(r),n.unobserve(e)}}},[e,t])}p(M,"useDebounceCallback"),p(Q,"useResizeObserver"),e.s(["Corner",0,_,"Root",0,g,"ScrollArea",0,g,"ScrollAreaCorner",0,_,"ScrollAreaScrollbar",0,k,"ScrollAreaThumb",0,W,"ScrollAreaViewport",0,j,"Scrollbar",0,k,"Thumb",0,W,"Viewport",0,j,"createScrollAreaScope",0,v],760805);var Y=e.i(760805),Y=Y,X=e.i(975157);function J({className:e,orientation:t="vertical",...n}){return(0,r.jsx)(Y.ScrollAreaScrollbar,{"data-slot":"scroll-area-scrollbar","data-orientation":t,orientation:t,className:(0,X.cn)("flex touch-none p-px transition-colors select-none data-horizontal:h-2.5 data-horizontal:flex-col data-horizontal:border-t data-horizontal:border-t-transparent data-vertical:h-full data-vertical:w-2.5 data-vertical:border-l data-vertical:border-l-transparent",e),...n,children:(0,r.jsx)(Y.ScrollAreaThumb,{"data-slot":"scroll-area-thumb",className:"relative flex-1 rounded-full bg-border"})})}e.s(["ScrollArea",0,function({className:e,children:t,...n}){return(0,r.jsxs)(Y.Root,{"data-slot":"scroll-area",className:(0,X.cn)("relative",e),...n,children:[(0,r.jsx)(Y.Viewport,{"data-slot":"scroll-area-viewport",className:"size-full rounded-[inherit] transition-[color,box-shadow] outline-none focus-visible:ring-[3px] focus-visible:ring-ring/50 focus-visible:outline-1",children:t}),(0,r.jsx)(J,{}),(0,r.jsx)(Y.Corner,{})]})}],759684)},930998,e=>{"use strict";var r=e.i(843476),t=e.i(816484),n=e.i(11037),i=e.i(487486),l=e.i(515288),s=e.i(82612),a=e.i(784774),o=e.i(520133),d=e.i(767648),c=e.i(948148);e.s(["WorktreeRunQueueCard",0,function({currentEntryId:e,entries:u,scope:h}){let p=(0,c.useTranslations)("workflows"),m=(0,c.useTranslations)("actionCenter.kinds"),f=(0,n.useRunLabels)(),x="WORKFLOW"===h;return(0,r.jsxs)(l.Card,{className:"min-w-0 gap-0 overflow-hidden py-0",children:[(0,r.jsxs)(l.CardHeader,{children:[(0,r.jsx)(l.CardTitle,{children:"WORKTREE"===h?p("worktreeQueue"):p("workflowQueue")}),(0,r.jsx)(l.CardDescription,{children:"WORKTREE"===h?p("worktreeQueueDescription"):"RUN"===h?p("runQueueDescription"):p("workflowQueueDescription")})]}),u.length?(0,r.jsx)("div",{className:"overflow-x-auto border-t",children:(0,r.jsxs)(a.Table,{children:[(0,r.jsx)(a.TableHeader,{children:(0,r.jsxs)(a.TableRow,{children:[(0,r.jsx)(a.TableHead,{className:"w-20",children:p("queuePosition")}),(0,r.jsx)(a.TableHead,{children:p("queueItem")}),(0,r.jsx)(a.TableHead,{children:p("queueState")}),x&&(0,r.jsx)(a.TableHead,{children:p("queueWorktree")}),(0,r.jsx)(a.TableHead,{children:p("queuedAt")})]})}),(0,r.jsx)(a.TableBody,{children:u.map(n=>{let l=n.id===e;return(0,r.jsxs)(a.TableRow,{className:l?"bg-primary/5":void 0,children:[(0,r.jsxs)(a.TableCell,{className:"font-mono font-semibold",children:["#",n.position]}),(0,r.jsxs)(a.TableCell,{children:[(0,r.jsxs)(o.Link,{className:"font-medium hover:underline",href:"WORKFLOW"===n.kind?`/workflows/runs/${n.id}`:`/${"PLAN"===n.kind?"plans":"sessions"}/${n.id}`,children:[m(n.kind)," #",n.displayNumber]}),(0,r.jsx)("p",{className:"max-w-72 truncate text-xs text-muted-foreground",children:n.name})]}),(0,r.jsx)(a.TableCell,{children:(0,r.jsxs)("div",{className:"flex flex-wrap gap-1",children:[(0,r.jsx)(i.Badge,{variant:"outline",children:"WORKFLOW"===n.kind?(0,d.formatEnumLabel)(n.phase):f.phase(n.phase)}),n.exclusiveWorktree&&(0,r.jsx)(i.Badge,{variant:"secondary",children:p("exclusive")}),l&&(0,r.jsx)(i.Badge,{variant:"secondary",children:p("currentRun")})]})}),x&&(0,r.jsx)(a.TableCell,{children:n.worktree?(0,r.jsx)(o.Link,{className:"font-mono text-xs hover:underline",href:`/worktrees/${n.worktree.id}`,children:n.worktree.branch??n.worktree.folder}):"—"}),(0,r.jsx)(a.TableCell,{className:"text-muted-foreground",children:(0,r.jsx)(t.DateTime,{kind:"relative",value:n.queuedAt})})]},`${n.kind}:${n.id}`)})})]})}):(0,r.jsx)(l.CardContent,{className:"pb-6",children:(0,r.jsx)(s.Empty,{className:"border py-8",children:(0,r.jsxs)(s.EmptyHeader,{children:[(0,r.jsx)(s.EmptyTitle,{children:p("queueEmpty")}),(0,r.jsx)(s.EmptyDescription,{children:p("queueEmptyDescription")})]})})})]})}])},119002,e=>{"use strict";let r=(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,r],119002)},541623,e=>{"use strict";var r=e.i(843476),t=e.i(119002),n=e.i(832297),i=e.i(489002),l=e.i(482022),s=e.i(741120),a=e.i(395925),o=e.i(747925),d=e.i(948148),c=e.i(271645),u=e.i(816484),h=e.i(929592),p=e.i(487486),m=e.i(519455),f=e.i(515288),x=e.i(257428),v=e.i(82612),w=e.i(542450),b=e.i(906197),g=e.i(629288),j=e.i(759684),C=e.i(967489),S=e.i(302747),k=e.i(784774),y=e.i(677572),R=e.i(624687),E=e.i(746798),T=e.i(520133),N=e.i(637611),I=e.i(975157),A=e.i(171502),D=e.i(880181),L=e.i(596930),P=e.i(505624),W=e.i(349049),$=e.i(399668),O=e.i(930998);let _=`
|
|
1
|
+
(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,741120,e=>{"use strict";let r=(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,r],741120)},82612,e=>{"use strict";var r=e.i(843476),t=e.i(225913),n=e.i(975157);let i=(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,r.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,r.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,r.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",...l}){return(0,r.jsx)("div",{"data-slot":"empty-icon","data-variant":t,className:(0,n.cn)(i({variant:t,className:e})),...l})},"EmptyTitle",0,function({className:e,...t}){return(0,r.jsx)("div",{"data-slot":"empty-title",className:(0,n.cn)("font-heading text-sm font-medium tracking-tight",e),...t})}])},832297,e=>{"use strict";var r=e.i(187921);e.s(["CirclePlay",()=>r.default])},880181,596930,505624,e=>{"use strict";function r(e){return encodeURIComponent(e.trim())}function t(e){var t;let n=(t=e.url,!t?.startsWith("/")||t.startsWith("//")?null:t);if(n)return{href:n,external:!1};let i=e.kind.trim().toUpperCase(),l=e.resourceId.trim();if(!l)return null;let s="string"==typeof e.metadata?.runKind?e.metadata.runKind.toUpperCase():null,a="BUILD"===i?`/builds/${r(l)}`:"CODEBASE"===i?`/codebases/${r(l)}`:"JIRA_TICKET"===i?`/jira/tickets/${r(l)}`:"WORKTREE"===i?`/worktrees/${r(l)}`:"AGENT_RUN"===i&&"PLAN"===s?`/plans/${r(l)}`:"AGENT_RUN"===i&&"SESSION"===s?`/sessions/${r(l)}`:"PULL_REQUEST"===i?function(e){let t=e.lastIndexOf("#");if(t<1)return null;let n=e.slice(0,t),i=n.indexOf("/");if(i<1||i===n.length-1)return null;let l=Number(e.slice(t+1));return!Number.isInteger(l)||l<1?null:`/pull-requests/${r(n.slice(0,i))}/${r(n.slice(i+1))}/${l}`}(l):"AGENT_JOB"===i?`/jobs/${r(l)}`:"COMMAND_RUN"===i?`/commands/runs/${r(l)}`:"WORKFLOW_RUN"===i?`/workflows/runs/${r(l)}`:"SKILL_SYNC"===i?`/skills/sync/${r(l)}`:"SKILL"===i?`/skills/${r(l)}`:"IOS_DEVICE"===i?`/devices/${r(l)}`:"SIGNING_PROFILE"===i?`/provisioning-profiles/${r(l)}`:"PUSH_NOTIFICATION_BATCH"===i?"/push-notifications":"BUILD_DATA_COLLECTION"===i?"/build-data":"AGENT"===i?`/agents/${r(l)}`:"CODEBASE_REPOSITORY"===i?`/codebases/repositories/${r(l)}`:null;if(a)return{href:a,external:!1};let o=function(e){if(!e)return null;try{let r=new URL(e);return new Set(["http:","https:"]).has(r.protocol)?r.href:null}catch{return null}}(e.url);return o?{href:o,external:!0}:null}function n(e){let r=e.kind.trim().toUpperCase();return"BUILD"===r?0:"AGENT_JOB"===r||"COMMAND_RUN"===r?30:"GITHUB_WORKFLOW_RUN"===r?20:10}function i(e){return e.map((e,r)=>({destination:t(e),index:r,link:e,time:e.createdAt instanceof Date?e.createdAt.getTime():Date.parse(e.createdAt??"")||0})).filter(e=>null!==e.destination).sort((e,r)=>n(e.link)-n(r.link)||r.time-e.time||r.index-e.index)[0]?.destination??null}function l(e){return e&&"object"==typeof e&&!Array.isArray(e)?e:{}}function s(e){return"string"!=typeof e&&"number"!=typeof e?null:String(e).trim()||null}function a(e,r,t){return e.kind.trim().toUpperCase()===r.trim().toUpperCase()&&e.resourceId.trim()===t.trim()}e.i(672510),e.s(["githubJobResourceId",0,function(e,r){let t=e.trim(),n=r.trim();if(!t||!n)throw Error("GitHub job repository and job ID are required");return`${t}:job:${n}`},"githubPipelineResourceId",0,function(e,r,t){let n=e.trim(),i=r?.trim(),l=t.trim();if(!n||!i&&!l)throw Error("GitHub pipeline repository and provider ID are required");return`${n}:${i?"run":"check"}:${i||l}`},"preferredWorkflowResourceDestination",0,i,"workflowResourceDestination",0,t],596930),e.s(["currentPageWorkflowNodeIds",0,function(e,r,t){let n=new Set,i=new Map(e.attempts.map(e=>[e.id,e.nodeId]));for(let i of e.attempts)i.resourceLinks.some(e=>a(e,r,t))&&n.add(i.nodeId);for(let l of e.resourceLinks){if(!a(l,r,t))continue;let s=l.attemptId?i.get(l.attemptId):e.trigger?.nodeId;s&&n.add(s)}return n},"workflowRunNodeDestinations",0,function(e){let r=new Map;for(let t of[...e.attempts].sort((r,t)=>Number(t.generation===e.generation)-Number(r.generation===e.generation)||t.generation-r.generation||t.attempt-r.attempt||Number(!!r.iterationKey)-Number(!!t.iterationKey))){if(r.has(t.nodeId))continue;let e=function(e){let r=e.kind?.trim().toUpperCase()??"",t=l(e.output),n=l(t.value),i={...l(n.sessionPatch),...l(t.sessionPatch)};if(r.startsWith("JIRA_")){let e=s(n.key)??s(l(n.ticket).key)??s(l(i.ticket).key);return e?{kind:"JIRA_TICKET",resourceId:e}:null}if(r.startsWith("RUN_")){let e=s(n.id),r=s(n.kind)?.toUpperCase();return e&&("PLAN"===r||"SESSION"===r)?{kind:"AGENT_RUN",resourceId:e,metadata:{runKind:r}}:null}if(r.startsWith("WORKTREE_")){let e=s(l(i.worktree).id);return e?{kind:"WORKTREE",resourceId:e}:null}if(r.startsWith("CODEBASE_")){let e=s(l(i.codebase).id)??s(n.id);return e?{kind:"CODEBASE",resourceId:e}:null}if(r.startsWith("BUILD_")){let e=s(l(i.build).id)??s(n.id);return e?{kind:"BUILD",resourceId:e}:null}return null}(t),n=i(e?[...t.resourceLinks,e]:t.resourceLinks);n&&r.set(t.nodeId,n)}let t=i(e.resourceLinks.filter(({attemptId:e})=>!e));return e.trigger?.nodeId&&t&&r.set(e.trigger.nodeId,t),r}],880181);var o=e.i(271645),d=e.i(520133);e.s(["useOpenWorkflowDestination",0,function(){let e=(0,d.useRouter)();return(0,o.useCallback)(r=>{if(r){if(r.external)return void window.open(r.href,"_blank","noopener,noreferrer");e.push(r.href)}},[e])}],505624)},489002,e=>{"use strict";let r=(0,e.i(456420).default)("circle-stop",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["rect",{x:"9",y:"9",width:"6",height:"6",rx:"1",key:"1ssd4o"}]]);e.s(["CircleStop",0,r],489002)},759684,e=>{"use strict";var r=e.i(843476),t=e.i(271645),n=e.i(248425),i=e.i(296626),l=e.i(30030),s=e.i(820783),a=e.i(30207),o=e.i(586318),d=e.i(934620),c=e.i(470152),u=e.i(981140),h=Object.defineProperty,p=(e,r)=>h(e,"name",{value:r,configurable:!0});function m(e,r){return t.useReducer((e,t)=>r[e][t]??e,e)}p(m,"useStateMachine");var f="ScrollArea",[x,v]=(0,l.createContextScope)(f),[w,b]=x(f),g=t.forwardRef(p(function(e,i){let{__scopeScrollArea:l,type:a="hover",dir:d,scrollHideDelay:c=600,...u}=e,[h,p]=t.useState(null),[m,f]=t.useState(null),[x,v]=t.useState(null),[b,g]=t.useState(null),[j,C]=t.useState(null),[S,k]=t.useState(0),[y,R]=t.useState(0),[E,T]=t.useState(!1),[N,I]=t.useState(!1),A=(0,s.useComposedRefs)(i,p),D=(0,o.useDirection)(d);return(0,r.jsx)(w,{scope:l,type:a,dir:D,scrollHideDelay:c,scrollArea:h,viewport:m,onViewportChange:f,content:x,onContentChange:v,scrollbarX:b,onScrollbarXChange:g,scrollbarXEnabled:E,onScrollbarXEnabledChange:T,scrollbarY:j,onScrollbarYChange:C,scrollbarYEnabled:N,onScrollbarYEnabledChange:I,onCornerWidthChange:k,onCornerHeightChange:R,children:(0,r.jsx)(n.Primitive.div,{dir:D,...u,ref:A,style:{position:"relative","--radix-scroll-area-corner-width":S+"px","--radix-scroll-area-corner-height":y+"px",...e.style}})})},"ScrollArea")),j=t.forwardRef(p(function(e,i){let{__scopeScrollArea:l,children:a,nonce:o,...d}=e,c=b("ScrollAreaViewport",l),u=t.useRef(null),h=(0,s.useComposedRefs)(i,u,c.onViewportChange);return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(C,{nonce:o}),(0,r.jsx)(n.Primitive.div,{"data-radix-scroll-area-viewport":"",...d,ref:h,style:{overflowX:c.scrollbarXEnabled?"scroll":"hidden",overflowY:c.scrollbarYEnabled?"scroll":"hidden",...e.style},children:(0,r.jsx)("div",{ref:c.onContentChange,style:{minWidth:"100%",display:"table"},children:a})})]})},"ScrollAreaViewport")),C=t.memo(p(function({nonce:e}){return(0,r.jsx)("style",{dangerouslySetInnerHTML:{__html:"[data-radix-scroll-area-viewport]{scrollbar-width:none;-ms-overflow-style:none;-webkit-overflow-scrolling:touch;}[data-radix-scroll-area-viewport]::-webkit-scrollbar{display:none}"},nonce:e})},"ScrollAreaViewportStyle"),(e,r)=>e.nonce===r.nonce),S="ScrollAreaScrollbar",k=t.forwardRef(p(function(e,n){let{forceMount:i,...l}=e,s=b(S,e.__scopeScrollArea),{onScrollbarXEnabledChange:a,onScrollbarYEnabledChange:o}=s,d="horizontal"===e.orientation;return t.useEffect(()=>(d?a(!0):o(!0),()=>{d?a(!1):o(!1)}),[d,a,o]),"hover"===s.type?(0,r.jsx)(y,{...l,ref:n,forceMount:i}):"scroll"===s.type?(0,r.jsx)(R,{...l,ref:n,forceMount:i}):"auto"===s.type?(0,r.jsx)(E,{...l,ref:n,forceMount:i}):"always"===s.type?(0,r.jsx)(T,{...l,ref:n,"data-state":"visible"}):null},"ScrollAreaScrollbar")),y=t.forwardRef(p(function(e,n){let{forceMount:l,...s}=e,a=b(S,e.__scopeScrollArea),[o,d]=t.useState(!1);return t.useEffect(()=>{let e=a.scrollArea,r=0;if(e){let t=p(()=>{window.clearTimeout(r),d(!0)},"handlePointerEnter"),n=p(()=>{r=window.setTimeout(()=>d(!1),a.scrollHideDelay)},"handlePointerLeave");return e.addEventListener("pointerenter",t),e.addEventListener("pointerleave",n),()=>{window.clearTimeout(r),e.removeEventListener("pointerenter",t),e.removeEventListener("pointerleave",n)}}},[a.scrollArea,a.scrollHideDelay]),(0,r.jsx)(i.Presence,{present:l||o,children:(0,r.jsx)(E,{"data-state":o?"visible":"hidden",...s,ref:n})})},"ScrollAreaScrollbarHover")),R=t.forwardRef(p(function(e,n){let{forceMount:l,...s}=e,a=b(S,e.__scopeScrollArea),o="horizontal"===e.orientation,d=M(()=>h("SCROLL_END"),100),[c,h]=m("hidden",{hidden:{SCROLL:"scrolling"},scrolling:{SCROLL_END:"idle",POINTER_ENTER:"interacting"},interacting:{SCROLL:"interacting",POINTER_LEAVE:"idle"},idle:{HIDE:"hidden",SCROLL:"scrolling",POINTER_ENTER:"interacting"}});return t.useEffect(()=>{if("idle"===c){let e=window.setTimeout(()=>h("HIDE"),a.scrollHideDelay);return()=>window.clearTimeout(e)}},[c,a.scrollHideDelay,h]),t.useEffect(()=>{let e=a.viewport,r=o?"scrollLeft":"scrollTop";if(e){let t=e[r],n=p(()=>{let n=e[r];t!==n&&(h("SCROLL"),d()),t=n},"handleScroll");return e.addEventListener("scroll",n),()=>e.removeEventListener("scroll",n)}},[a.viewport,o,h,d]),(0,r.jsx)(i.Presence,{present:l||"hidden"!==c,children:(0,r.jsx)(T,{"data-state":"hidden"===c?"hidden":"visible",...s,ref:n,onPointerEnter:(0,u.composeEventHandlers)(e.onPointerEnter,()=>h("POINTER_ENTER")),onPointerLeave:(0,u.composeEventHandlers)(e.onPointerLeave,()=>h("POINTER_LEAVE"))})})},"ScrollAreaScrollbarScroll")),E=t.forwardRef(p(function(e,n){let l=b(S,e.__scopeScrollArea),{forceMount:s,...a}=e,[o,d]=t.useState(!1),c="horizontal"===e.orientation,u=M(()=>{if(l.viewport){let e=l.viewport.offsetWidth<l.viewport.scrollWidth,r=l.viewport.offsetHeight<l.viewport.scrollHeight;d(c?e:r)}},10);return Q(l.viewport,u),Q(l.content,u),(0,r.jsx)(i.Presence,{present:s||o,children:(0,r.jsx)(T,{"data-state":o?"visible":"hidden",...a,ref:n})})},"ScrollAreaScrollbarAuto")),T=t.forwardRef(p(function(e,n){let{orientation:i="vertical",...l}=e,s=b(S,e.__scopeScrollArea),a=t.useRef(null),o=t.useRef(0),[d,c]=t.useState({content:0,viewport:0,scrollbar:{size:0,paddingStart:0,paddingEnd:0}}),u=B(d.viewport,d.content),h={...l,sizes:d,onSizesChange:c,hasThumb:!!(u>0&&u<1),onThumbChange:p(e=>a.current=e,"onThumbChange"),onThumbPointerUp:p(()=>o.current=0,"onThumbPointerUp"),onThumbPointerDown:p(e=>o.current=e,"onThumbPointerDown")};function m(e,r){return K(e,o.current,d,r)}return(p(m,"getScrollPosition"),"horizontal"===i)?(0,r.jsx)(N,{...h,ref:n,onThumbPositionChange:()=>{if(s.viewport&&a.current){let e=z(s.viewport.scrollLeft,d,s.dir);a.current.style.transform=`translate3d(${e}px, 0, 0)`}},onWheelScroll:e=>{s.viewport&&(s.viewport.scrollLeft=e)},onDragScroll:e=>{s.viewport&&(s.viewport.scrollLeft=m(e,s.dir))}}):"vertical"===i?(0,r.jsx)(I,{...h,ref:n,onThumbPositionChange:()=>{if(s.viewport&&a.current){let e=z(s.viewport.scrollTop,d);a.current.style.transform=`translate3d(0, ${e}px, 0)`}},onWheelScroll:e=>{s.viewport&&(s.viewport.scrollTop=e)},onDragScroll:e=>{s.viewport&&(s.viewport.scrollTop=m(e))}}):null},"ScrollAreaScrollbarVisible")),N=t.forwardRef(p(function(e,n){let{sizes:i,onSizesChange:l,...a}=e,o=b(S,e.__scopeScrollArea),[d,c]=t.useState(),u=t.useRef(null),h=(0,s.useComposedRefs)(n,u,o.onScrollbarXChange);return t.useEffect(()=>{u.current&&c(getComputedStyle(u.current))},[u]),(0,r.jsx)(L,{"data-orientation":"horizontal",...a,ref:h,sizes:i,style:{bottom:0,left:"rtl"===o.dir?"var(--radix-scroll-area-corner-width)":0,right:"ltr"===o.dir?"var(--radix-scroll-area-corner-width)":0,"--radix-scroll-area-thumb-width":q(i)+"px",...e.style},onThumbPointerDown:r=>e.onThumbPointerDown(r.x),onDragScroll:r=>e.onDragScroll(r.x),onWheelScroll:(r,t)=>{if(o.viewport){let n=o.viewport.scrollLeft+r.deltaX;e.onWheelScroll(n),V(n,t)&&r.preventDefault()}},onResize:()=>{u.current&&o.viewport&&d&&l({content:o.viewport.scrollWidth,viewport:o.viewport.offsetWidth,scrollbar:{size:u.current.clientWidth,paddingStart:U(d.paddingLeft),paddingEnd:U(d.paddingRight)}})}})},"ScrollAreaScrollbarX")),I=t.forwardRef(p(function(e,n){let{sizes:i,onSizesChange:l,...a}=e,o=b(S,e.__scopeScrollArea),[d,c]=t.useState(),u=t.useRef(null),h=(0,s.useComposedRefs)(n,u,o.onScrollbarYChange);return t.useEffect(()=>{u.current&&c(getComputedStyle(u.current))},[u]),(0,r.jsx)(L,{"data-orientation":"vertical",...a,ref:h,sizes:i,style:{top:0,right:"ltr"===o.dir?0:void 0,left:"rtl"===o.dir?0:void 0,bottom:"var(--radix-scroll-area-corner-height)","--radix-scroll-area-thumb-height":q(i)+"px",...e.style},onThumbPointerDown:r=>e.onThumbPointerDown(r.y),onDragScroll:r=>e.onDragScroll(r.y),onWheelScroll:(r,t)=>{if(o.viewport){let n=o.viewport.scrollTop+r.deltaY;e.onWheelScroll(n),V(n,t)&&r.preventDefault()}},onResize:()=>{u.current&&o.viewport&&d&&l({content:o.viewport.scrollHeight,viewport:o.viewport.offsetHeight,scrollbar:{size:u.current.clientHeight,paddingStart:U(d.paddingTop),paddingEnd:U(d.paddingBottom)}})}})},"ScrollAreaScrollbarY")),[A,D]=x(S),L=t.forwardRef(p(function(e,i){let{__scopeScrollArea:l,sizes:o,hasThumb:d,onThumbChange:c,onThumbPointerUp:h,onThumbPointerDown:m,onThumbPositionChange:f,onDragScroll:x,onWheelScroll:v,onResize:w,...g}=e,j=b(S,l),[C,k]=t.useState(null),y=(0,s.useComposedRefs)(i,k),R=t.useRef(null),E=t.useRef(""),T=j.viewport,N=o.content-o.viewport,I=(0,a.useCallbackRef)(v),D=(0,a.useCallbackRef)(f),L=M(w,10);function P(e){R.current&&x({x:e.clientX-R.current.left,y:e.clientY-R.current.top})}return p(P,"handleDragScroll"),t.useEffect(()=>{let e=p(e=>{let r=e.target;C?.contains(r)&&I(e,N)},"handleWheel");return document.addEventListener("wheel",e,{passive:!1}),()=>document.removeEventListener("wheel",e,{passive:!1})},[T,C,N,I]),t.useEffect(D,[o,D]),Q(C,L),Q(j.content,L),(0,r.jsx)(A,{scope:l,scrollbar:C,hasThumb:d,onThumbChange:(0,a.useCallbackRef)(c),onThumbPointerUp:(0,a.useCallbackRef)(h),onThumbPositionChange:D,onThumbPointerDown:(0,a.useCallbackRef)(m),children:(0,r.jsx)(n.Primitive.div,{...g,ref:y,style:{position:"absolute",...g.style},onPointerDown:(0,u.composeEventHandlers)(e.onPointerDown,e=>{0===e.button&&(e.target.setPointerCapture(e.pointerId),R.current=C.getBoundingClientRect(),E.current=document.body.style.webkitUserSelect,document.body.style.webkitUserSelect="none",j.viewport&&(j.viewport.style.scrollBehavior="auto"),P(e))}),onPointerMove:(0,u.composeEventHandlers)(e.onPointerMove,P),onPointerUp:(0,u.composeEventHandlers)(e.onPointerUp,e=>{let r=e.target;r.hasPointerCapture(e.pointerId)&&r.releasePointerCapture(e.pointerId),document.body.style.webkitUserSelect=E.current,j.viewport&&(j.viewport.style.scrollBehavior=""),R.current=null})})})},"ScrollAreaScrollbarImpl")),P="ScrollAreaThumb",W=t.forwardRef(p(function(e,t){let{forceMount:n,...l}=e,s=D(P,e.__scopeScrollArea);return(0,r.jsx)(i.Presence,{present:n||s.hasThumb,children:(0,r.jsx)($,{ref:t,...l})})},"ScrollAreaThumb")),$=t.forwardRef(p(function(e,i){let{__scopeScrollArea:l,style:a,...o}=e,d=b(P,l),c=D(P,l),{onThumbPositionChange:h}=c,m=(0,s.useComposedRefs)(i,c.onThumbChange),f=t.useRef(void 0),x=M(()=>{f.current&&(f.current(),f.current=void 0)},100);return t.useEffect(()=>{let e=d.viewport;if(e){let r=p(()=>{x(),f.current||(f.current=G(e,h),h())},"handleScroll");return h(),e.addEventListener("scroll",r),()=>e.removeEventListener("scroll",r)}},[d.viewport,x,h]),(0,r.jsx)(n.Primitive.div,{"data-state":c.hasThumb?"visible":"hidden",...o,ref:m,style:{width:"var(--radix-scroll-area-thumb-width)",height:"var(--radix-scroll-area-thumb-height)",...a},onPointerDownCapture:(0,u.composeEventHandlers)(e.onPointerDownCapture,e=>{let r=e.target.getBoundingClientRect(),t=e.clientX-r.left,n=e.clientY-r.top;c.onThumbPointerDown({x:t,y:n})}),onPointerUp:(0,u.composeEventHandlers)(e.onPointerUp,c.onThumbPointerUp)})},"ScrollAreaThumbImpl")),O="ScrollAreaCorner",_=t.forwardRef(p(function(e,t){let n=b(O,e.__scopeScrollArea),i=!!(n.scrollbarX&&n.scrollbarY);return"scroll"!==n.type&&i?(0,r.jsx)(H,{...e,ref:t}):null},"ScrollAreaCorner")),H=t.forwardRef(p(function(e,i){let{__scopeScrollArea:l,...s}=e,a=b(O,l),[o,d]=t.useState(0),[c,u]=t.useState(0),h=!!(o&&c),{onCornerWidthChange:p,onCornerHeightChange:m}=a;return Q(a.scrollbarX,()=>{let e=a.scrollbarX?.offsetHeight||0;a.onCornerHeightChange(e),u(e)}),Q(a.scrollbarY,()=>{let e=a.scrollbarY?.offsetWidth||0;a.onCornerWidthChange(e),d(e)}),t.useEffect(()=>()=>{p(0),m(0)},[p,m]),h?(0,r.jsx)(n.Primitive.div,{...s,ref:i,style:{width:o,height:c,position:"absolute",right:"ltr"===a.dir?0:void 0,left:"rtl"===a.dir?0:void 0,bottom:0,...e.style}}):null},"ScrollAreaCornerImpl"));function U(e){return e?parseInt(e,10):0}function B(e,r){let t=e/r;return isNaN(t)?0:t}function q(e){let r=B(e.viewport,e.content),t=e.scrollbar.paddingStart+e.scrollbar.paddingEnd;return Math.max((e.scrollbar.size-t)*r,18)}function K(e,r,t,n="ltr"){let i=q(t),l=r||i/2,s=t.scrollbar.paddingStart+l,a=t.scrollbar.size-t.scrollbar.paddingEnd-(i-l),o=t.content-t.viewport;return F([s,a],"ltr"===n?[0,o]:[-1*o,0])(e)}function z(e,r,t="ltr"){let n=q(r),i=r.scrollbar.paddingStart+r.scrollbar.paddingEnd,l=r.scrollbar.size-i,s=r.content-r.viewport,a=(0,c.clamp)(e,"ltr"===t?[0,s]:[-1*s,0]);return F([0,s],[0,l-n])(a)}function F(e,r){return t=>{if(e[0]===e[1]||r[0]===r[1])return r[0];let n=(r[1]-r[0])/(e[1]-e[0]);return r[0]+n*(t-e[0])}}function V(e,r){return e>0&&e<r}p(U,"toInt"),p(B,"getThumbRatio"),p(q,"getThumbSize"),p(K,"getScrollPositionFromPointer"),p(z,"getThumbOffsetFromScroll"),p(F,"linearScale"),p(V,"isScrollingWithinScrollbarBounds");var G=p((e,r=()=>{})=>(e.scrollLeft,e.scrollTop,()=>window.cancelAnimationFrame(0)),"addUnlinkedScrollListener");function M(e,r){let n=(0,a.useCallbackRef)(e),i=t.useRef(0);return t.useEffect(()=>()=>window.clearTimeout(i.current),[]),t.useCallback(()=>{window.clearTimeout(i.current),i.current=window.setTimeout(n,r)},[n,r])}function Q(e,r){let t=(0,a.useCallbackRef)(r);(0,d.useLayoutEffect)(()=>{let r=0;if(e){let n=new ResizeObserver(()=>{cancelAnimationFrame(r),r=window.requestAnimationFrame(t)});return n.observe(e),()=>{window.cancelAnimationFrame(r),n.unobserve(e)}}},[e,t])}p(M,"useDebounceCallback"),p(Q,"useResizeObserver"),e.s(["Corner",0,_,"Root",0,g,"ScrollArea",0,g,"ScrollAreaCorner",0,_,"ScrollAreaScrollbar",0,k,"ScrollAreaThumb",0,W,"ScrollAreaViewport",0,j,"Scrollbar",0,k,"Thumb",0,W,"Viewport",0,j,"createScrollAreaScope",0,v],760805);var Y=e.i(760805),Y=Y,X=e.i(975157);function J({className:e,orientation:t="vertical",...n}){return(0,r.jsx)(Y.ScrollAreaScrollbar,{"data-slot":"scroll-area-scrollbar","data-orientation":t,orientation:t,className:(0,X.cn)("flex touch-none p-px transition-colors select-none data-horizontal:h-2.5 data-horizontal:flex-col data-horizontal:border-t data-horizontal:border-t-transparent data-vertical:h-full data-vertical:w-2.5 data-vertical:border-l data-vertical:border-l-transparent",e),...n,children:(0,r.jsx)(Y.ScrollAreaThumb,{"data-slot":"scroll-area-thumb",className:"relative flex-1 rounded-full bg-border"})})}e.s(["ScrollArea",0,function({className:e,children:t,...n}){return(0,r.jsxs)(Y.Root,{"data-slot":"scroll-area",className:(0,X.cn)("relative",e),...n,children:[(0,r.jsx)(Y.Viewport,{"data-slot":"scroll-area-viewport",className:"size-full rounded-[inherit] transition-[color,box-shadow] outline-none focus-visible:ring-[3px] focus-visible:ring-ring/50 focus-visible:outline-1",children:t}),(0,r.jsx)(J,{}),(0,r.jsx)(Y.Corner,{})]})}],759684)},930998,e=>{"use strict";var r=e.i(843476),t=e.i(816484),n=e.i(11037),i=e.i(487486),l=e.i(515288),s=e.i(82612),a=e.i(784774),o=e.i(520133),d=e.i(767648),c=e.i(948148);e.s(["WorktreeRunQueueCard",0,function({currentEntryId:e,entries:u,scope:h}){let p=(0,c.useTranslations)("workflows"),m=(0,c.useTranslations)("actionCenter.kinds"),f=(0,n.useRunLabels)(),x="WORKFLOW"===h;return(0,r.jsxs)(l.Card,{className:"min-w-0 gap-0 overflow-hidden py-0",children:[(0,r.jsxs)(l.CardHeader,{children:[(0,r.jsx)(l.CardTitle,{children:"WORKTREE"===h?p("worktreeQueue"):p("workflowQueue")}),(0,r.jsx)(l.CardDescription,{children:"WORKTREE"===h?p("worktreeQueueDescription"):"RUN"===h?p("runQueueDescription"):p("workflowQueueDescription")})]}),u.length?(0,r.jsx)("div",{className:"overflow-x-auto border-t",children:(0,r.jsxs)(a.Table,{children:[(0,r.jsx)(a.TableHeader,{children:(0,r.jsxs)(a.TableRow,{children:[(0,r.jsx)(a.TableHead,{className:"w-20",children:p("queuePosition")}),(0,r.jsx)(a.TableHead,{children:p("queueItem")}),(0,r.jsx)(a.TableHead,{children:p("queueState")}),x&&(0,r.jsx)(a.TableHead,{children:p("queueWorktree")}),(0,r.jsx)(a.TableHead,{children:p("queuedAt")})]})}),(0,r.jsx)(a.TableBody,{children:u.map(n=>{let l=n.id===e;return(0,r.jsxs)(a.TableRow,{className:l?"bg-primary/5":void 0,children:[(0,r.jsxs)(a.TableCell,{className:"font-mono font-semibold",children:["#",n.position]}),(0,r.jsxs)(a.TableCell,{children:[(0,r.jsxs)(o.Link,{className:"font-medium hover:underline",href:"WORKFLOW"===n.kind?`/workflows/runs/${n.id}`:`/${"PLAN"===n.kind?"plans":"sessions"}/${n.id}`,children:[m(n.kind)," #",n.displayNumber]}),(0,r.jsx)("p",{className:"max-w-72 truncate text-xs text-muted-foreground",children:n.name})]}),(0,r.jsx)(a.TableCell,{children:(0,r.jsxs)("div",{className:"flex flex-wrap gap-1",children:[(0,r.jsx)(i.Badge,{variant:"outline",children:"WORKFLOW"===n.kind?(0,d.formatEnumLabel)(n.phase):f.phase(n.phase)}),n.exclusiveWorktree&&(0,r.jsx)(i.Badge,{variant:"secondary",children:p("exclusive")}),l&&(0,r.jsx)(i.Badge,{variant:"secondary",children:p("currentRun")})]})}),x&&(0,r.jsx)(a.TableCell,{children:n.worktree?(0,r.jsx)(o.Link,{className:"font-mono text-xs hover:underline",href:`/worktrees/${n.worktree.id}`,children:n.worktree.branch??n.worktree.folder}):"—"}),(0,r.jsx)(a.TableCell,{className:"text-muted-foreground",children:(0,r.jsx)(t.DateTime,{kind:"relative",value:n.queuedAt})})]},`${n.kind}:${n.id}`)})})]})}):(0,r.jsx)(l.CardContent,{className:"py-6",children:(0,r.jsx)(s.Empty,{className:"border py-8",children:(0,r.jsxs)(s.EmptyHeader,{children:[(0,r.jsx)(s.EmptyTitle,{children:p("queueEmpty")}),(0,r.jsx)(s.EmptyDescription,{children:p("queueEmptyDescription")})]})})})]})}])},119002,e=>{"use strict";let r=(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,r],119002)},541623,e=>{"use strict";var r=e.i(843476),t=e.i(119002),n=e.i(832297),i=e.i(489002),l=e.i(482022),s=e.i(741120),a=e.i(395925),o=e.i(747925),d=e.i(948148),c=e.i(271645),u=e.i(816484),h=e.i(929592),p=e.i(487486),m=e.i(519455),f=e.i(515288),x=e.i(257428),v=e.i(82612),w=e.i(542450),b=e.i(906197),g=e.i(629288),j=e.i(759684),C=e.i(967489),S=e.i(302747),k=e.i(784774),y=e.i(677572),R=e.i(624687),E=e.i(746798),T=e.i(520133),N=e.i(637611),I=e.i(975157),A=e.i(171502),D=e.i(880181),L=e.i(596930),P=e.i(505624),W=e.i(349049),$=e.i(399668),O=e.i(930998);let _=`
|
|
2
2
|
id displayNumber workflowId versionId triggerKind triggerSubjectKey status phase generation
|
|
3
3
|
sessionData sessionRevision blockedReason error queuedAt startedAt pausedAt finishedAt createdAt updatedAt
|
|
4
4
|
workflow { id name }
|