@wjarka/cezarion 0.14.2-pr414.641 → 0.14.2-pr420.648
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/delegation/routes.d.ts +50 -50
- package/package.json +3 -3
- package/web/dist/assets/agent-accounts-BxBsIXGa.js +1 -0
- package/web/dist/assets/alert-dialog-BOp2HnnL.js +43 -0
- package/web/dist/assets/{collapsible-CnnwtcIx.js → collapsible-bb0csfMs.js} +1 -1
- package/web/dist/assets/{commit-list-Cfa0qNJH.js → commit-list-CEVhJoCF.js} +1 -1
- package/web/dist/assets/{compare-variants-C0tkqHWA.js → compare-variants-CZqdiqvW.js} +1 -1
- package/web/dist/assets/{diff-controls-BytucirW.js → diff-controls-DaO836o4.js} +1 -1
- package/web/dist/assets/dropdown-menu-DAmCVaLJ.js +1 -0
- package/web/dist/assets/{git-toolbar-BtyvMcSw.js → git-toolbar-rk3doc2w.js} +1 -1
- package/web/dist/assets/github-BPfdr6aa.js +1 -0
- package/web/dist/assets/index-C4iEPAUV.js +7 -0
- package/web/dist/assets/index-DPOGn7D5.css +1 -0
- package/web/dist/assets/{markdown-CiblnXIm.js → markdown-Ir62-VMS.js} +1 -1
- package/web/dist/assets/pill-Dvvq0Otw.js +1 -0
- package/web/dist/assets/{project-router-CGCiwPxm.js → project-router-CvFAMDcP.js} +1 -1
- package/web/dist/assets/{prompt-templates-BQthKse9.js → prompt-templates-BGGpAIzb.js} +1 -1
- package/web/dist/assets/repo-git-C1Qv1JmM.js +1 -0
- package/web/dist/assets/{run-diff-BmyuiI9l.js → run-diff-DrQsmf3-.js} +2 -2
- package/web/dist/assets/run-header-C9Aeh27u.js +1 -0
- package/web/dist/assets/skills-_ZVZxmKz.js +1 -0
- package/web/dist/assets/{tab-link-CVVHvUYC.js → tab-link-CkIV8ixq.js} +1 -1
- package/web/dist/assets/task-changes-BU9upwUw.js +1 -0
- package/web/dist/assets/{task-commits-Bz1l5GUY.js → task-commits-CbJutMBx.js} +1 -1
- package/web/dist/assets/{task-files-ETb1FM_W.js → task-files-_hQyxAc7.js} +2 -2
- package/web/dist/assets/task-thread-Yo52ML6l.js +9 -0
- package/web/dist/assets/{textarea-DLwc8cdo.js → textarea-DfvlPIgO.js} +1 -1
- package/web/dist/assets/thread-loading-B9uTF0dX.js +1 -0
- package/web/dist/assets/{token-metrics-HEJ_HYHI.js → token-metrics-BLzFUb8F.js} +1 -1
- package/web/dist/assets/workflows-B6Er16t0.js +11 -0
- package/web/dist/index.html +12 -12
- package/web/dist/assets/agent-accounts-CAvfK32A.js +0 -1
- package/web/dist/assets/alert-dialog-D462fSLz.js +0 -43
- package/web/dist/assets/dropdown-menu-CaZoVoYa.js +0 -1
- package/web/dist/assets/github-CgbX4Imb.js +0 -1
- package/web/dist/assets/index-CG0CPeOx.css +0 -1
- package/web/dist/assets/index-CKlTZ-5K.js +0 -7
- package/web/dist/assets/pill-BCqO0w_C.js +0 -1
- package/web/dist/assets/repo-git-DM50xrWt.js +0 -1
- package/web/dist/assets/run-header-B_6-8qQH.js +0 -1
- package/web/dist/assets/skills-RTULzDBG.js +0 -1
- package/web/dist/assets/task-changes-BW5bo3YA.js +0 -1
- package/web/dist/assets/task-thread-Dh6fWv0Y.js +0 -9
- package/web/dist/assets/thread-loading-7xLQnmXV.js +0 -1
- package/web/dist/assets/workflows-G6kC_597.js +0 -11
|
@@ -300,18 +300,6 @@ export declare function createDelegationRoutes(service: DelegationService, crede
|
|
|
300
300
|
} & {
|
|
301
301
|
"/:workerId": {
|
|
302
302
|
$get: {
|
|
303
|
-
output: {
|
|
304
|
-
error: string;
|
|
305
|
-
code?: "invalid_input" | undefined;
|
|
306
|
-
};
|
|
307
|
-
outputFormat: "json";
|
|
308
|
-
status: 400;
|
|
309
|
-
input: {
|
|
310
|
-
param: {
|
|
311
|
-
workerId: string;
|
|
312
|
-
};
|
|
313
|
-
};
|
|
314
|
-
} | {
|
|
315
303
|
output: {
|
|
316
304
|
workerId: string;
|
|
317
305
|
parentRunId: string;
|
|
@@ -388,11 +376,7 @@ export declare function createDelegationRoutes(service: DelegationService, crede
|
|
|
388
376
|
workerId: string;
|
|
389
377
|
};
|
|
390
378
|
};
|
|
391
|
-
}
|
|
392
|
-
};
|
|
393
|
-
} & {
|
|
394
|
-
"/:workerId/collect": {
|
|
395
|
-
$post: {
|
|
379
|
+
} | {
|
|
396
380
|
output: {
|
|
397
381
|
error: string;
|
|
398
382
|
code?: "invalid_input" | undefined;
|
|
@@ -403,10 +387,12 @@ export declare function createDelegationRoutes(service: DelegationService, crede
|
|
|
403
387
|
param: {
|
|
404
388
|
workerId: string;
|
|
405
389
|
};
|
|
406
|
-
} & {
|
|
407
|
-
json: Record<string, never>;
|
|
408
390
|
};
|
|
409
|
-
}
|
|
391
|
+
};
|
|
392
|
+
};
|
|
393
|
+
} & {
|
|
394
|
+
"/:workerId/collect": {
|
|
395
|
+
$post: {
|
|
410
396
|
output: {
|
|
411
397
|
workerId: string;
|
|
412
398
|
parentRunId: string;
|
|
@@ -508,11 +494,7 @@ export declare function createDelegationRoutes(service: DelegationService, crede
|
|
|
508
494
|
} & {
|
|
509
495
|
json: Record<string, never>;
|
|
510
496
|
};
|
|
511
|
-
}
|
|
512
|
-
};
|
|
513
|
-
} & {
|
|
514
|
-
"/:workerId/steer": {
|
|
515
|
-
$post: {
|
|
497
|
+
} | {
|
|
516
498
|
output: {
|
|
517
499
|
error: string;
|
|
518
500
|
code?: "invalid_input" | undefined;
|
|
@@ -524,11 +506,13 @@ export declare function createDelegationRoutes(service: DelegationService, crede
|
|
|
524
506
|
workerId: string;
|
|
525
507
|
};
|
|
526
508
|
} & {
|
|
527
|
-
json:
|
|
528
|
-
text: string;
|
|
529
|
-
};
|
|
509
|
+
json: Record<string, never>;
|
|
530
510
|
};
|
|
531
|
-
}
|
|
511
|
+
};
|
|
512
|
+
};
|
|
513
|
+
} & {
|
|
514
|
+
"/:workerId/steer": {
|
|
515
|
+
$post: {
|
|
532
516
|
output: {
|
|
533
517
|
workerId: string;
|
|
534
518
|
state: "delivered" | "queued";
|
|
@@ -544,11 +528,7 @@ export declare function createDelegationRoutes(service: DelegationService, crede
|
|
|
544
528
|
text: string;
|
|
545
529
|
};
|
|
546
530
|
};
|
|
547
|
-
}
|
|
548
|
-
};
|
|
549
|
-
} & {
|
|
550
|
-
"/:workerId/stop": {
|
|
551
|
-
$post: {
|
|
531
|
+
} | {
|
|
552
532
|
output: {
|
|
553
533
|
error: string;
|
|
554
534
|
code?: "invalid_input" | undefined;
|
|
@@ -560,9 +540,15 @@ export declare function createDelegationRoutes(service: DelegationService, crede
|
|
|
560
540
|
workerId: string;
|
|
561
541
|
};
|
|
562
542
|
} & {
|
|
563
|
-
json:
|
|
543
|
+
json: {
|
|
544
|
+
text: string;
|
|
545
|
+
};
|
|
564
546
|
};
|
|
565
|
-
}
|
|
547
|
+
};
|
|
548
|
+
};
|
|
549
|
+
} & {
|
|
550
|
+
"/:workerId/stop": {
|
|
551
|
+
$post: {
|
|
566
552
|
output: {
|
|
567
553
|
workerId: string;
|
|
568
554
|
state: "stopping" | "terminated";
|
|
@@ -576,11 +562,7 @@ export declare function createDelegationRoutes(service: DelegationService, crede
|
|
|
576
562
|
} & {
|
|
577
563
|
json: Record<string, never>;
|
|
578
564
|
};
|
|
579
|
-
}
|
|
580
|
-
};
|
|
581
|
-
} & {
|
|
582
|
-
"/:workerId/destroy": {
|
|
583
|
-
$post: {
|
|
565
|
+
} | {
|
|
584
566
|
output: {
|
|
585
567
|
error: string;
|
|
586
568
|
code?: "invalid_input" | undefined;
|
|
@@ -594,7 +576,11 @@ export declare function createDelegationRoutes(service: DelegationService, crede
|
|
|
594
576
|
} & {
|
|
595
577
|
json: Record<string, never>;
|
|
596
578
|
};
|
|
597
|
-
}
|
|
579
|
+
};
|
|
580
|
+
};
|
|
581
|
+
} & {
|
|
582
|
+
"/:workerId/destroy": {
|
|
583
|
+
$post: {
|
|
598
584
|
output: {
|
|
599
585
|
workerId: string;
|
|
600
586
|
state: "complete" | "incomplete";
|
|
@@ -617,6 +603,20 @@ export declare function createDelegationRoutes(service: DelegationService, crede
|
|
|
617
603
|
} & {
|
|
618
604
|
json: Record<string, never>;
|
|
619
605
|
};
|
|
606
|
+
} | {
|
|
607
|
+
output: {
|
|
608
|
+
error: string;
|
|
609
|
+
code?: "invalid_input" | undefined;
|
|
610
|
+
};
|
|
611
|
+
outputFormat: "json";
|
|
612
|
+
status: 400;
|
|
613
|
+
input: {
|
|
614
|
+
param: {
|
|
615
|
+
workerId: string;
|
|
616
|
+
};
|
|
617
|
+
} & {
|
|
618
|
+
json: Record<string, never>;
|
|
619
|
+
};
|
|
620
620
|
} | {
|
|
621
621
|
output: {
|
|
622
622
|
workerId: string;
|
|
@@ -646,11 +646,13 @@ export declare function createDelegationRoutes(service: DelegationService, crede
|
|
|
646
646
|
"/:workerId/diff": {
|
|
647
647
|
$get: {
|
|
648
648
|
output: {
|
|
649
|
-
|
|
650
|
-
|
|
649
|
+
workerId: string;
|
|
650
|
+
baselineSha: string;
|
|
651
|
+
diff: string;
|
|
652
|
+
truncated: boolean;
|
|
651
653
|
};
|
|
652
654
|
outputFormat: "json";
|
|
653
|
-
status:
|
|
655
|
+
status: 200;
|
|
654
656
|
input: {
|
|
655
657
|
param: {
|
|
656
658
|
workerId: string;
|
|
@@ -658,13 +660,11 @@ export declare function createDelegationRoutes(service: DelegationService, crede
|
|
|
658
660
|
};
|
|
659
661
|
} | {
|
|
660
662
|
output: {
|
|
661
|
-
|
|
662
|
-
|
|
663
|
-
diff: string;
|
|
664
|
-
truncated: boolean;
|
|
663
|
+
error: string;
|
|
664
|
+
code?: "invalid_input" | undefined;
|
|
665
665
|
};
|
|
666
666
|
outputFormat: "json";
|
|
667
|
-
status:
|
|
667
|
+
status: 400;
|
|
668
668
|
input: {
|
|
669
669
|
param: {
|
|
670
670
|
workerId: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wjarka/cezarion",
|
|
3
|
-
"version": "0.14.2-
|
|
3
|
+
"version": "0.14.2-pr420.648",
|
|
4
4
|
"description": "Local cockpit for running and tracking AI agent tasks in your repo. Uses your logged-in `claude` CLI and `gh` — zero config, zero database.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -50,8 +50,8 @@
|
|
|
50
50
|
"zod": "^4.4.3"
|
|
51
51
|
},
|
|
52
52
|
"devDependencies": {
|
|
53
|
-
"@open-mercato/cezar-api-client": "0.14.2-
|
|
54
|
-
"@open-mercato/cezar-contract": "0.14.2-
|
|
53
|
+
"@open-mercato/cezar-api-client": "0.14.2-pr420.648",
|
|
54
|
+
"@open-mercato/cezar-contract": "0.14.2-pr420.648",
|
|
55
55
|
"@types/node": "^20.14.0",
|
|
56
56
|
"@types/ws": "^8.18.1",
|
|
57
57
|
"esbuild": "^0.28.1",
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as e}from"./rolldown-runtime-QTnfLwEv.js";import{i as t,t as n}from"./react-runtime-CCIEwYL0.js";import{C as r,D as i,I as a,Jn as o,M as s,N as c,O as l,S as u,T as d,b as f,j as p,k as m,un as h,w as g,x as _,z as v}from"./alert-dialog-BOp2HnnL.js";import{t as y}from"./utils-GZNjgma4.js";import{_ as b,g as x,h as ee,m as te,p as S}from"./dropdown-menu-DAmCVaLJ.js";var C=e(t(),1),w=n(),T=`Popover`,[E,ne]=s(T,[b]),D=b(),[O,k]=E(T),A=e=>{let{__scopePopover:t,children:n,open:r,defaultOpen:a,onOpenChange:o,modal:s=!1}=e,c=D(t),l=C.useRef(null),[u,d]=C.useState(!1),[f,p]=m({prop:r,defaultProp:a??!1,onChange:o,caller:T});return(0,w.jsx)(x,{...c,children:(0,w.jsx)(O,{scope:t,contentId:i(),triggerRef:l,open:f,onOpenChange:p,onOpenToggle:C.useCallback(()=>p(e=>!e),[p]),hasCustomAnchor:u,onCustomAnchorAdd:C.useCallback(()=>d(!0),[]),onCustomAnchorRemove:C.useCallback(()=>d(!1),[]),modal:s,children:n})})};A.displayName=T;var j=`PopoverAnchor`,M=C.forwardRef((e,t)=>{let{__scopePopover:n,...r}=e,i=k(j,n),a=D(n),{onCustomAnchorAdd:o,onCustomAnchorRemove:s}=i;return C.useEffect(()=>(o(),()=>s()),[o,s]),(0,w.jsx)(S,{...a,...r,ref:t})});M.displayName=j;var N=`PopoverTrigger`,P=C.forwardRef((e,t)=>{let{__scopePopover:n,...r}=e,i=k(N,n),a=D(n),o=v(t,i.triggerRef),s=(0,w.jsx)(c.button,{type:`button`,"aria-haspopup":`dialog`,"aria-expanded":i.open,"aria-controls":i.open?i.contentId:void 0,"data-state":J(i.open),...r,ref:o,onClick:p(e.onClick,i.onOpenToggle)});return i.hasCustomAnchor?s:(0,w.jsx)(S,{asChild:!0,...a,children:s})});P.displayName=N;var F=`PopoverPortal`,[re,I]=E(F,{forceMount:void 0}),L=e=>{let{__scopePopover:t,forceMount:n,children:i,container:a}=e,o=k(F,t);return(0,w.jsx)(re,{scope:t,forceMount:n,children:(0,w.jsx)(l,{present:n||o.open,children:(0,w.jsx)(r,{asChild:!0,container:a,children:i})})})};L.displayName=F;var R=`PopoverContent`,z=C.forwardRef((e,t)=>{let n=I(R,e.__scopePopover),{forceMount:r=n.forceMount,...i}=e,a=k(R,e.__scopePopover);return(0,w.jsx)(l,{present:r||a.open,children:a.modal?(0,w.jsx)(V,{...i,ref:t}):(0,w.jsx)(H,{...i,ref:t})})});z.displayName=R;var B=a(`PopoverContent.RemoveScroll`),V=C.forwardRef((e,t)=>{let n=k(R,e.__scopePopover),r=C.useRef(null),i=v(t,r),a=C.useRef(!1);return C.useEffect(()=>{let e=r.current;if(e)return f(e)},[]),(0,w.jsx)(_,{as:B,allowPinchZoom:!0,children:(0,w.jsx)(U,{...e,ref:i,trapFocus:n.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:p(e.onCloseAutoFocus,e=>{e.preventDefault(),a.current||n.triggerRef.current?.focus()}),onPointerDownOutside:p(e.onPointerDownOutside,e=>{let t=e.detail.originalEvent,n=t.button===0&&t.ctrlKey===!0,r=t.button===2||n;a.current=r},{checkForDefaultPrevented:!1}),onFocusOutside:p(e.onFocusOutside,e=>e.preventDefault(),{checkForDefaultPrevented:!1})})})}),H=C.forwardRef((e,t)=>{let n=k(R,e.__scopePopover),r=C.useRef(!1),i=C.useRef(!1);return(0,w.jsx)(U,{...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()}})}),U=C.forwardRef((e,t)=>{let{__scopePopover:n,trapFocus:r,onOpenAutoFocus:i,onCloseAutoFocus:a,disableOutsidePointerEvents:o,onEscapeKeyDown:s,onPointerDownOutside:c,onFocusOutside:l,onInteractOutside:f,...p}=e,m=k(R,n),h=D(n);return u(),(0,w.jsx)(g,{asChild:!0,loop:!0,trapped:r,onMountAutoFocus:i,onUnmountAutoFocus:a,children:(0,w.jsx)(d,{asChild:!0,disableOutsidePointerEvents:o,onInteractOutside:f,onEscapeKeyDown:s,onPointerDownOutside:c,onFocusOutside:l,onDismiss:()=>m.onOpenChange(!1),deferPointerDownOutside:!0,children:(0,w.jsx)(ee,{"data-state":J(m.open),role:`dialog`,id:m.contentId,...h,...p,ref:t,style:{...p.style,"--radix-popover-content-transform-origin":`var(--radix-popper-transform-origin)`,"--radix-popover-content-available-width":`var(--radix-popper-available-width)`,"--radix-popover-content-available-height":`var(--radix-popper-available-height)`,"--radix-popover-trigger-width":`var(--radix-popper-anchor-width)`,"--radix-popover-trigger-height":`var(--radix-popper-anchor-height)`}})})})}),W=`PopoverClose`,G=C.forwardRef((e,t)=>{let{__scopePopover:n,...r}=e,i=k(W,n);return(0,w.jsx)(c.button,{type:`button`,...r,ref:t,onClick:p(e.onClick,()=>i.onOpenChange(!1))})});G.displayName=W;var K=`PopoverArrow`,q=C.forwardRef((e,t)=>{let{__scopePopover:n,...r}=e,i=D(n);return(0,w.jsx)(te,{...i,...r,ref:t})});q.displayName=K;function J(e){return e?`open`:`closed`}var Y=A,X=M,Z=P,ie=L,ae=z;function Q(e){let t=e.visualViewport;return t?Math.max(0,Math.round(e.innerHeight-t.height-t.offsetTop)):0}function oe(e,t,n,r=250){let i=e.visualViewport;if(!i)return t(0),()=>{};let a,o=()=>{let i=Q(e);t(i),n&&(clearTimeout(a),a=setTimeout(()=>n(i),r))};return t(Q(e)),i.addEventListener(`resize`,o),i.addEventListener(`scroll`,o),()=>{clearTimeout(a),i.removeEventListener(`resize`,o),i.removeEventListener(`scroll`,o),t(0)}}function se(e){let t=e.visualViewport;return t?{top:Math.max(0,Math.round(t.offsetTop)),bottom:Q(e)}:{top:0,bottom:0}}function ce(e,t=0){let n=typeof t==`number`?{top:t,right:t,bottom:t,left:t}:t;return{top:(n.top??0)+e.top,right:n.right??0,bottom:(n.bottom??0)+e.bottom,left:n.left??0}}function le(e,t){let n=e.visualViewport;if(!n)return t({top:0,bottom:0}),()=>{};let r=()=>t(se(e));return r(),n.addEventListener(`resize`,r),n.addEventListener(`scroll`,r),()=>{n.removeEventListener(`resize`,r),n.removeEventListener(`scroll`,r)}}function ue(){let[e,t]=(0,C.useState)({top:0,bottom:0});return(0,C.useEffect)(()=>le(window,e=>t(t=>t.top===e.top&&t.bottom===e.bottom?t:e)),[]),e}function de(e){let t=(0,C.useRef)(e);t.current=e,(0,C.useEffect)(()=>{let e=document.documentElement;return oe(window,t=>e.style.setProperty(`--kb`,`${t}px`),e=>t.current?.(e))},[])}var $=C.createContext(null);function fe({...e}){let t=C.useRef(!1);return(0,w.jsx)($,{value:t,children:(0,w.jsx)(Y,{"data-slot":`popover`,...e})})}function pe({onPointerDownCapture:e,onKeyDownCapture:t,...n}){let r=C.useContext($);return(0,w.jsx)(Z,{"data-slot":`popover-trigger`,...n,onPointerDownCapture:t=>{r&&(r.current=t.pointerType===`touch`),e?.(t)},onKeyDownCapture:e=>{r&&(r.current=!1),t?.(e)}})}function me({className:e,align:t=`center`,sideOffset:n=4,collisionPadding:r,onOpenAutoFocus:i,...a}){let o=ue(),s=C.useContext($);return(0,w.jsx)(ie,{children:(0,w.jsx)(ae,{"data-slot":`popover-content`,align:t,sideOffset:n,onOpenAutoFocus:e=>{let t=s?.current;if(s&&(s.current=!1),i?.(e),e.defaultPrevented||!t)return;let n=e.target;n instanceof HTMLElement&&n.querySelector(`[cmdk-input]`)&&(e.preventDefault(),n.focus({preventScroll:!0}))},collisionPadding:ce(o,r),className:y(`z-50 w-72 max-w-(--radix-popover-content-available-width) [overflow-wrap:anywhere] origin-(--radix-popover-content-transform-origin) rounded-md border bg-popover p-4 text-popover-foreground shadow-md outline-hidden data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 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`,e),...a})})}function he({...e}){return(0,w.jsx)(X,{"data-slot":`popover-anchor`,...e})}function ge(){let e=h(),t=o(),n=(e.data?.profiles??[]).map(e=>({provider:e.provider,id:e.id,label:e.label,configDir:e.configDir})),r=t.data?.info?.root;return{accounts:n,repoAccount:r?e.data?.selections?.[r]:void 0}}function _e(e,t){return e.filter(e=>e.provider===t).length>1}export{me as a,he as i,ge as n,pe as o,fe as r,de as s,_e as t};
|