@wjarka/cezarion 0.11.1 → 0.11.2-pr50.83
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/automations/task-template.js +1 -0
- package/dist/automations/task-template.js.map +1 -1
- package/dist/automations/types.d.ts +2 -0
- package/dist/automations/types.js +1 -0
- package/dist/automations/types.js.map +1 -1
- package/dist/contract/automations.d.ts +8 -0
- package/dist/contract/effort.d.ts +18 -0
- package/dist/contract/index.d.ts +1 -0
- package/dist/contract/index.js +919 -898
- package/dist/contract/runs.d.ts +7 -0
- package/dist/contract/skills.d.ts +1 -0
- package/dist/core/agent-runner.d.ts +4 -0
- package/dist/core/agent-runner.js.map +1 -1
- package/dist/core/claude-cli-runner.js +4 -0
- package/dist/core/claude-cli-runner.js.map +1 -1
- package/dist/core/codex-app-server-runner.d.ts +9 -0
- package/dist/core/codex-app-server-runner.js +14 -1
- package/dist/core/codex-app-server-runner.js.map +1 -1
- package/dist/core/opencode-server-runner.js +4 -0
- package/dist/core/opencode-server-runner.js.map +1 -1
- package/dist/core/pi-runner.js +4 -0
- package/dist/core/pi-runner.js.map +1 -1
- package/dist/runs/store.d.ts +3 -0
- package/dist/runs/store.js +4 -0
- package/dist/runs/store.js.map +1 -1
- package/dist/server/server.d.ts +68 -0
- package/dist/server/server.js +14 -3
- package/dist/server/server.js.map +1 -1
- package/dist/workflows/run.d.ts +7 -0
- package/dist/workflows/run.js +109 -52
- package/dist/workflows/run.js.map +1 -1
- package/package.json +3 -3
- package/scripts/mock-claude.mjs +72 -2
- package/web/dist/assets/{alert-dialog-B4Ofsgv7.js → alert-dialog-g-GVThSw.js} +1 -1
- package/web/dist/assets/arrow-down-BzmL0uj0.js +1 -0
- package/web/dist/assets/arrow-left-DtUM7GFU.js +1 -0
- package/web/dist/assets/{centered-state-duPW0phQ.js → centered-state-DdbE_pNl.js} +2 -2
- package/web/dist/assets/chevron-right-DnLh0uM2.js +1 -0
- package/web/dist/assets/{collapsible-DdcNBdSk.js → collapsible-R1r7zUOB.js} +1 -1
- package/web/dist/assets/{commit-list-CgvN9vec.js → commit-list-Bgb1DHBX.js} +1 -1
- package/web/dist/assets/{compare-variants-CQA2nd65.js → compare-variants-UA_0n_5a.js} +1 -1
- package/web/dist/assets/{diff-B6Agp5Hl.js → diff-Cv3z9esx.js} +2 -2
- package/web/dist/assets/{diff-stat-BoXuGkgq.js → diff-stat-ydfu0_5T.js} +1 -1
- package/web/dist/assets/{diff-view-CD8XI-fj.js → diff-view-DnPdkmk2.js} +1 -1
- package/web/dist/assets/{dropdown-menu-B3SYw-k5.js → dropdown-menu-CPP9gEmn.js} +1 -1
- package/web/dist/assets/{editable-title-B-hjp5wl.js → editable-title-D_bWdmY0.js} +1 -1
- package/web/dist/assets/{ellipsis-vertical-BYwzw0xl.js → ellipsis-vertical-WNkaehnw.js} +1 -1
- package/web/dist/assets/{file-BRj5eISx.js → file-RvhJlchx.js} +1 -1
- package/web/dist/assets/{folder-z4oT5981.js → folder-Dz-weqBo.js} +1 -1
- package/web/dist/assets/{git-toolbar-owSEkYld.js → git-toolbar-BEKuAjHk.js} +1 -1
- package/web/dist/assets/github-CmFHDNje.js +1 -0
- package/web/dist/assets/{image-preview-h3WFluuy.js → image-preview-DYiOSYoY.js} +1 -1
- package/web/dist/assets/index-BQTfjxFm.js +7 -0
- package/web/dist/assets/{markdown-DqBKYPiB.js → markdown-DQHRRO9e.js} +1 -1
- package/web/dist/assets/new-task-form-D2KlpqYC.js +1 -0
- package/web/dist/assets/{pill-BQfmfpYp.js → pill-FAFXjmY6.js} +1 -1
- package/web/dist/assets/{project-router-DxgFZY1l.js → project-router-Dzc0JK2j.js} +1 -1
- package/web/dist/assets/{prompt-templates-B6m16gq-.js → prompt-templates-DmqtzSPL.js} +1 -1
- package/web/dist/assets/{refresh-cw-mhSpxf2a.js → refresh-cw-BP4TkA4M.js} +1 -1
- package/web/dist/assets/{repo-git-CUNRxR3_.js → repo-git-C20pc5tT.js} +1 -1
- package/web/dist/assets/{run-diff-DsmmDVfx.js → run-diff-CvcsWwew.js} +1 -1
- package/web/dist/assets/run-header-xFlbebSJ.js +1 -0
- package/web/dist/assets/{search-x-BqDMB2g8.js → search-x-Drnmsmd0.js} +1 -1
- package/web/dist/assets/{skill-empty-hint-BWEvTggc.js → skill-empty-hint-D2l_OqZ5.js} +1 -1
- package/web/dist/assets/{skills-DwIxnnWO.js → skills-Cn2ppPow.js} +1 -1
- package/web/dist/assets/{sparkles-DIoTQpyx.js → sparkles-B9ja4FHw.js} +1 -1
- package/web/dist/assets/{square-terminal-Cc7CuQxc.js → square-terminal-CB2du-YG.js} +1 -1
- package/web/dist/assets/{tab-link-D1fQgpmO.js → tab-link-C5FWJ66Y.js} +1 -1
- package/web/dist/assets/{task-changes-BKeLlDpK.js → task-changes-CuUmQArS.js} +1 -1
- package/web/dist/assets/{task-commits-gcEFZIa5.js → task-commits-DgIWIhW9.js} +1 -1
- package/web/dist/assets/{task-files-BGAqoXTW.js → task-files-BeDXPyz5.js} +1 -1
- package/web/dist/assets/task-thread-2nmi0vcz.js +9 -0
- package/web/dist/assets/{textarea-BOVbfy5C.js → textarea-Sm6doUPO.js} +1 -1
- package/web/dist/assets/{thread-loading-CypW73KD.js → thread-loading-DojNeADh.js} +1 -1
- package/web/dist/assets/{trash-2-CJq6LHWn.js → trash-2-C_lGBXG2.js} +1 -1
- package/web/dist/assets/{triangle-alert-CjDFvU27.js → triangle-alert-Brk_ldFl.js} +1 -1
- package/web/dist/assets/{upload-CPDZlJeK.js → upload-Cxs1UROt.js} +1 -1
- package/web/dist/assets/{use-desktop-5JsLmi0a.js → use-desktop-Cmrz3npD.js} +1 -1
- package/web/dist/assets/{use-submit-shortcut-CHVFevty.js → use-submit-shortcut-DzeqN3GK.js} +1 -1
- package/web/dist/assets/{utils-DiO6zyJd.js → utils-Unt0mZvU.js} +1 -1
- package/web/dist/assets/{workflows-rQDFzWRt.js → workflows-D_GyBbup.js} +1 -1
- package/web/dist/assets/{zoomable-image-COWqb11v.js → zoomable-image-ByySCppM.js} +1 -1
- package/web/dist/index.html +22 -22
- package/web/dist/assets/arrow-down-Dy8dup7j.js +0 -1
- package/web/dist/assets/arrow-left-BJaucbhn.js +0 -1
- package/web/dist/assets/chevron-right-Be4A5TCS.js +0 -1
- package/web/dist/assets/github-Bz2VgRX3.js +0 -1
- package/web/dist/assets/index-EtQQQ6Kj.js +0 -7
- package/web/dist/assets/new-task-form-BdJKRBJX.js +0 -1
- package/web/dist/assets/run-header-BkhrseLJ.js +0 -1
- package/web/dist/assets/task-thread-DT8aUYTS.js +0 -9
package/scripts/mock-claude.mjs
CHANGED
|
@@ -77,6 +77,14 @@ function writeHandoffAndTodo() {
|
|
|
77
77
|
async function respond(userText, imageCount) {
|
|
78
78
|
turn += 1;
|
|
79
79
|
await sleep(250);
|
|
80
|
+
// `mock:mid-work` → use a tool, then end markerless with progress prose and
|
|
81
|
+
// no question. This reproduces an agent stopping between implementation
|
|
82
|
+
// steps while keeping the session open (#48).
|
|
83
|
+
const rhetoricalMidWork = userText.includes('mock:rhetorical-mid-work');
|
|
84
|
+
const midWork = rhetoricalMidWork || userText.includes('mock:mid-work');
|
|
85
|
+
const noToolMidWork = userText.includes('mock:no-tool-mid-work');
|
|
86
|
+
const questionOptions = userText.includes('mock:question-options');
|
|
87
|
+
const questionMarkdown = userText.includes('mock:question-markdown');
|
|
80
88
|
// `mock:done` anywhere in the message → the reply ends with the CEZ:DONE
|
|
81
89
|
// completion marker (#347), so the auto-close path is testable dry.
|
|
82
90
|
const doneMarker = userText.includes('mock:done') ? '\n\nCEZ:DONE' : '';
|
|
@@ -380,6 +388,68 @@ async function respond(userText, imageCount) {
|
|
|
380
388
|
return;
|
|
381
389
|
}
|
|
382
390
|
|
|
391
|
+
// `mock:schedule-wakeup` → Claude's native park tool, without also emitting
|
|
392
|
+
// CEZ:MONITORING. The workflow engine must recognize the completed turn's
|
|
393
|
+
// tool use rather than depending on the textual agent contract marker (#46).
|
|
394
|
+
if (userText.includes('mock:schedule-wakeup')) {
|
|
395
|
+
const id = `toolu_schedule_wakeup_${turn}`;
|
|
396
|
+
emit({
|
|
397
|
+
type: 'assistant',
|
|
398
|
+
message: {
|
|
399
|
+
role: 'assistant',
|
|
400
|
+
content: [{ type: 'tool_use', id, name: 'ScheduleWakeup', input: { delay: '5m' } }],
|
|
401
|
+
usage: { input_tokens: 40, output_tokens: 20 },
|
|
402
|
+
},
|
|
403
|
+
});
|
|
404
|
+
await sleep(100);
|
|
405
|
+
emit({
|
|
406
|
+
type: 'user',
|
|
407
|
+
message: {
|
|
408
|
+
role: 'user',
|
|
409
|
+
content: [{ type: 'tool_result', tool_use_id: id, content: 'Wakeup scheduled.' }],
|
|
410
|
+
},
|
|
411
|
+
});
|
|
412
|
+
await sleep(100);
|
|
413
|
+
}
|
|
414
|
+
|
|
415
|
+
if (midWork && turn > 1) {
|
|
416
|
+
const id = `toolu_mid_work_${turn}`;
|
|
417
|
+
emit({
|
|
418
|
+
type: 'assistant',
|
|
419
|
+
message: {
|
|
420
|
+
role: 'assistant',
|
|
421
|
+
content: [{ type: 'tool_use', id, name: 'Read', input: { file_path: 'src/example.ts' } }],
|
|
422
|
+
usage: { input_tokens: 40, output_tokens: 20 },
|
|
423
|
+
},
|
|
424
|
+
});
|
|
425
|
+
await sleep(100);
|
|
426
|
+
emit({
|
|
427
|
+
type: 'user',
|
|
428
|
+
message: { role: 'user', content: [{ type: 'tool_result', tool_use_id: id, content: 'example source' }] },
|
|
429
|
+
});
|
|
430
|
+
await sleep(100);
|
|
431
|
+
}
|
|
432
|
+
|
|
433
|
+
if (turn === 1 && noToolMidWork) {
|
|
434
|
+
emit({
|
|
435
|
+
type: 'assistant',
|
|
436
|
+
message: {
|
|
437
|
+
role: 'assistant',
|
|
438
|
+
content: [{ type: 'text', text: `The implementation is in progress; tests are next.${refsMarkers}` }],
|
|
439
|
+
usage: { input_tokens: 300, output_tokens: 40 },
|
|
440
|
+
},
|
|
441
|
+
});
|
|
442
|
+
await sleep(150);
|
|
443
|
+
emit({
|
|
444
|
+
type: 'result',
|
|
445
|
+
subtype: 'success',
|
|
446
|
+
result: 'Implementation in progress (dry run).',
|
|
447
|
+
usage: { input_tokens: 900, output_tokens: 90 },
|
|
448
|
+
total_cost_usd: 0.01,
|
|
449
|
+
});
|
|
450
|
+
return;
|
|
451
|
+
}
|
|
452
|
+
|
|
383
453
|
if (turn === 1) {
|
|
384
454
|
// Leave a visible trace in the cwd (the task worktree under spec 006) so
|
|
385
455
|
// the Diff view has something real to show in dry runs. Exactly one line
|
|
@@ -451,7 +521,7 @@ async function respond(userText, imageCount) {
|
|
|
451
521
|
type: 'assistant',
|
|
452
522
|
message: {
|
|
453
523
|
role: 'assistant',
|
|
454
|
-
content: [{ type: 'text', text:
|
|
524
|
+
content: [{ type: 'text', text: `${questionOptions ? 'Which implementation should I use?\n\n- Minimal\n- Expanded' : questionMarkdown ? '**Should I use the minimal implementation?**' : rhetoricalMidWork ? 'Why did the test fail? I found the cause and will implement the fix.' : midWork ? "I'll write failing tests first, then implement the fix." : 'Done with the first pass — opened a draft PR: https://github.com/open-mercato/demo/pull/123. Anything to adjust? (dry-run mock)'}${refsMarkers}${doneMarker}${monitoringMarker}${askMarker}` }],
|
|
455
525
|
usage: { input_tokens: 300, output_tokens: 90 },
|
|
456
526
|
},
|
|
457
527
|
});
|
|
@@ -471,7 +541,7 @@ async function respond(userText, imageCount) {
|
|
|
471
541
|
type: 'assistant',
|
|
472
542
|
message: {
|
|
473
543
|
role: 'assistant',
|
|
474
|
-
content: [{ type: 'text', text: `Follow-up #${turn - 1} received: "${userText.slice(0, 100)}".${imgNote} Applied (dry run)
|
|
544
|
+
content: [{ type: 'text', text: `${midWork ? 'The implementation is in progress; tests are next.' : `Follow-up #${turn - 1} received: "${userText.slice(0, 100)}".${imgNote} Applied (dry run).`}${refsMarkers}${doneMarker}${monitoringMarker}${askMarker}` }],
|
|
475
545
|
usage: { input_tokens: 200, output_tokens: 60 },
|
|
476
546
|
},
|
|
477
547
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as e}from"./rolldown-runtime-QTnfLwEv.js";import{i as t,t as n}from"./react-runtime-CCIEwYL0.js";import{D as r,_ as i,b as a,c as o,d as s,f as c,g as l,h as u,l as d,o as f,p as ee,s as te,u as ne,w as re,x as p,y as m}from"./centered-state-
|
|
1
|
+
import{r as e}from"./rolldown-runtime-QTnfLwEv.js";import{i as t,t as n}from"./react-runtime-CCIEwYL0.js";import{D as r,_ as i,b as a,c as o,d as s,f as c,g as l,h as u,l as d,o as f,p as ee,s as te,u as ne,w as re,x as p,y as m}from"./centered-state-DdbE_pNl.js";import{t as h}from"./utils-Unt0mZvU.js";var g=e(t(),1),_=n(),v=`Dialog`,[y,b]=a(v),[ie,x]=y(v),S=e=>{let{__scopeDialog:t,children:n,open:r,defaultOpen:a,onOpenChange:o,modal:s=!0}=e,c=g.useRef(null),l=g.useRef(null),[d,f]=i({prop:r,defaultProp:a??!1,onChange:o,caller:v});return(0,_.jsx)(ie,{scope:t,triggerRef:c,contentRef:l,contentId:u(),titleId:u(),descriptionId:u(),open:d,onOpenChange:f,onOpenToggle:g.useCallback(()=>f(e=>!e),[f]),modal:s,children:n})};S.displayName=v;var C=`DialogTrigger`,w=g.forwardRef((e,t)=>{let{__scopeDialog:n,...i}=e,a=x(C,n),o=r(t,a.triggerRef);return(0,_.jsx)(p.button,{type:`button`,"aria-haspopup":`dialog`,"aria-expanded":a.open,"aria-controls":a.open?a.contentId:void 0,"data-state":B(a.open),...i,ref:o,onClick:m(e.onClick,a.onOpenToggle)})});w.displayName=C;var T=`DialogPortal`,[E,D]=y(T,{forceMount:void 0}),O=e=>{let{__scopeDialog:t,forceMount:n,children:r,container:i}=e,a=x(T,t);return(0,_.jsx)(E,{scope:t,forceMount:n,children:g.Children.map(r,e=>(0,_.jsx)(l,{present:n||a.open,children:(0,_.jsx)(ne,{asChild:!0,container:i,children:e})}))})};O.displayName=T;var k=`DialogOverlay`,A=g.forwardRef((e,t)=>{let n=D(k,e.__scopeDialog),{forceMount:r=n.forceMount,...i}=e,a=x(k,e.__scopeDialog);return a.modal?(0,_.jsx)(l,{present:r||a.open,children:(0,_.jsx)(oe,{...i,ref:t})}):null});A.displayName=k;var ae=re(`DialogOverlay.RemoveScroll`),oe=g.forwardRef((e,t)=>{let{__scopeDialog:n,...i}=e,a=x(k,n),s=r(t,ee());return(0,_.jsx)(o,{as:ae,allowPinchZoom:!0,shards:[a.contentRef],children:(0,_.jsx)(p.div,{"data-state":B(a.open),...i,ref:s,style:{pointerEvents:`auto`,...i.style}})})}),j=`DialogContent`,M=g.forwardRef((e,t)=>{let n=D(j,e.__scopeDialog),{forceMount:r=n.forceMount,...i}=e,a=x(j,e.__scopeDialog);return(0,_.jsx)(l,{present:r||a.open,children:a.modal?(0,_.jsx)(se,{...i,ref:t}):(0,_.jsx)(ce,{...i,ref:t})})});M.displayName=j;var se=g.forwardRef((e,t)=>{let n=x(j,e.__scopeDialog),i=g.useRef(null),a=r(t,n.contentRef,i);return g.useEffect(()=>{let e=i.current;if(e)return te(e)},[]),(0,_.jsx)(N,{...e,ref:a,trapFocus:n.open,disableOutsidePointerEvents:n.open,onCloseAutoFocus:m(e.onCloseAutoFocus,e=>{e.preventDefault(),n.triggerRef.current?.focus()}),onPointerDownOutside:m(e.onPointerDownOutside,e=>{let t=e.detail.originalEvent,n=t.button===0&&t.ctrlKey===!0;(t.button===2||n)&&e.preventDefault()}),onFocusOutside:m(e.onFocusOutside,e=>e.preventDefault())})}),ce=g.forwardRef((e,t)=>{let n=x(j,e.__scopeDialog),r=g.useRef(!1),i=g.useRef(!1);return(0,_.jsx)(N,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:t=>{e.onCloseAutoFocus?.(t),t.defaultPrevented||(r.current||n.triggerRef.current?.focus(),t.preventDefault()),r.current=!1,i.current=!1},onInteractOutside:t=>{e.onInteractOutside?.(t),t.defaultPrevented||(r.current=!0,t.detail.originalEvent.type===`pointerdown`&&(i.current=!0));let a=t.target;n.triggerRef.current?.contains(a)&&t.preventDefault(),t.detail.originalEvent.type===`focusin`&&i.current&&t.preventDefault()}})}),N=g.forwardRef((e,t)=>{let{__scopeDialog:n,trapFocus:r,onOpenAutoFocus:i,onCloseAutoFocus:a,...o}=e,l=x(j,n);return d(),(0,_.jsx)(_.Fragment,{children:(0,_.jsx)(s,{asChild:!0,loop:!0,trapped:r,onMountAutoFocus:i,onUnmountAutoFocus:a,children:(0,_.jsx)(c,{role:`dialog`,id:l.contentId,"aria-describedby":l.descriptionId,"aria-labelledby":l.titleId,"data-state":B(l.open),...o,ref:t,deferPointerDownOutside:!0,onDismiss:()=>l.onOpenChange(!1)})})})}),P=`DialogTitle`,F=g.forwardRef((e,t)=>{let{__scopeDialog:n,...r}=e,i=x(P,n);return(0,_.jsx)(p.h2,{id:i.titleId,...r,ref:t})});F.displayName=P;var I=`DialogDescription`,L=g.forwardRef((e,t)=>{let{__scopeDialog:n,...r}=e,i=x(I,n);return(0,_.jsx)(p.p,{id:i.descriptionId,...r,ref:t})});L.displayName=I;var R=`DialogClose`,z=g.forwardRef((e,t)=>{let{__scopeDialog:n,...r}=e,i=x(R,n);return(0,_.jsx)(p.button,{type:`button`,...r,ref:t,onClick:m(e.onClick,()=>i.onOpenChange(!1))})});z.displayName=R;function B(e){return e?`open`:`closed`}var V=`AlertDialog`,[le,ue]=a(V,[b]),H=b(),U=e=>{let{__scopeAlertDialog:t,...n}=e,r=H(t);return(0,_.jsx)(S,{...r,...n,modal:!0})};U.displayName=V;var de=`AlertDialogTrigger`,fe=g.forwardRef((e,t)=>{let{__scopeAlertDialog:n,...r}=e,i=H(n);return(0,_.jsx)(w,{...i,...r,ref:t})});fe.displayName=de;var pe=`AlertDialogPortal`,W=e=>{let{__scopeAlertDialog:t,...n}=e,r=H(t);return(0,_.jsx)(O,{...r,...n})};W.displayName=pe;var me=`AlertDialogOverlay`,G=g.forwardRef((e,t)=>{let{__scopeAlertDialog:n,...r}=e,i=H(n);return(0,_.jsx)(A,{...i,...r,ref:t})});G.displayName=me;var K=`AlertDialogContent`,[he,ge]=le(K),q=g.forwardRef((e,t)=>{let{__scopeAlertDialog:n,children:i,...a}=e,o=H(n),s=r(t,g.useRef(null)),c=g.useRef(null);return(0,_.jsx)(he,{scope:n,cancelRef:c,children:(0,_.jsx)(M,{role:`alertdialog`,...o,...a,ref:s,onOpenAutoFocus:m(a.onOpenAutoFocus,e=>{e.preventDefault(),c.current?.focus({preventScroll:!0})}),onPointerDownOutside:e=>e.preventDefault(),onInteractOutside:e=>e.preventDefault(),children:i})})});q.displayName=K;var _e=`AlertDialogTitle`,J=g.forwardRef((e,t)=>{let{__scopeAlertDialog:n,...r}=e,i=H(n);return(0,_.jsx)(F,{...i,...r,ref:t})});J.displayName=_e;var ve=`AlertDialogDescription`,Y=g.forwardRef((e,t)=>{let{__scopeAlertDialog:n,...r}=e,i=H(n);return(0,_.jsx)(L,{...i,...r,ref:t})});Y.displayName=ve;var ye=`AlertDialogAction`,X=g.forwardRef((e,t)=>{let{__scopeAlertDialog:n,...r}=e,i=H(n);return(0,_.jsx)(z,{...i,...r,ref:t})});X.displayName=ye;var Z=`AlertDialogCancel`,Q=g.forwardRef((e,t)=>{let{__scopeAlertDialog:n,...i}=e,{cancelRef:a}=ge(Z,n),o=H(n),s=r(t,a);return(0,_.jsx)(z,{...o,...i,ref:s})});Q.displayName=Z;var be=U,xe=W,Se=G,Ce=q,we=X,Te=Q,Ee=J,De=Y;function Oe({...e}){return(0,_.jsx)(be,{"data-slot":`alert-dialog`,...e})}function ke({...e}){return(0,_.jsx)(xe,{"data-slot":`alert-dialog-portal`,...e})}function $({className:e,...t}){return(0,_.jsx)(Se,{"data-slot":`alert-dialog-overlay`,className:h(`fixed inset-0 z-50 bg-black/50 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:animate-in data-[state=open]:fade-in-0`,e),...t})}function Ae({className:e,...t}){return(0,_.jsxs)(ke,{children:[(0,_.jsx)($,{}),(0,_.jsx)(Ce,{"data-slot":`alert-dialog-content`,className:h(`fixed top-[50%] left-[50%] z-50 grid w-full max-w-[calc(100%-2rem)] translate-x-[-50%] translate-y-[-50%] gap-4 rounded-lg border bg-card p-6 shadow-modal duration-200 outline-none data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[state=open]:animate-in data-[state=open]:fade-in-0 data-[state=open]:zoom-in-95 sm:max-w-md`,e),...t})]})}function je({className:e,...t}){return(0,_.jsx)(`div`,{"data-slot":`alert-dialog-header`,className:h(`flex flex-col gap-2 text-center sm:text-left`,e),...t})}function Me({className:e,...t}){return(0,_.jsx)(`div`,{"data-slot":`alert-dialog-footer`,className:h(`flex flex-col-reverse gap-2 sm:flex-row sm:justify-end`,e),...t})}function Ne({className:e,...t}){return(0,_.jsx)(Ee,{"data-slot":`alert-dialog-title`,className:h(`text-lg leading-none font-semibold`,e),...t})}function Pe({className:e,...t}){return(0,_.jsx)(De,{"data-slot":`alert-dialog-description`,className:h(`text-sm text-muted-foreground`,e),...t})}function Fe({className:e,...t}){return(0,_.jsx)(we,{"data-slot":`alert-dialog-action`,className:h(f({variant:`contrast`}),e),...t})}function Ie({className:e,...t}){return(0,_.jsx)(Te,{"data-slot":`alert-dialog-cancel`,className:h(f({variant:`outline`}),e),...t})}export{Pe as a,Ne as c,M as d,L as f,w as g,F as h,Ae as i,S as l,O as m,Fe as n,Me as o,A as p,Ie as r,je as s,Oe as t,z as u};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as e}from"./utils-Unt0mZvU.js";var t=e(`arrow-down`,[[`path`,{d:`M12 5v14`,key:`s699le`}],[`path`,{d:`m19 12-7 7-7-7`,key:`1idqje`}]]);export{t};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as e}from"./utils-Unt0mZvU.js";var t=e(`arrow-left`,[[`path`,{d:`m12 19-7-7 7-7`,key:`1l729n`}],[`path`,{d:`M19 12H5`,key:`x3x0zl`}]]);export{t};
|