@wjarka/cezarion 0.14.2-pr420.648 → 0.14.2-pr420.649
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
|
@@ -300,6 +300,18 @@ 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
|
+
} | {
|
|
303
315
|
output: {
|
|
304
316
|
workerId: string;
|
|
305
317
|
parentRunId: string;
|
|
@@ -376,7 +388,11 @@ export declare function createDelegationRoutes(service: DelegationService, crede
|
|
|
376
388
|
workerId: string;
|
|
377
389
|
};
|
|
378
390
|
};
|
|
379
|
-
}
|
|
391
|
+
};
|
|
392
|
+
};
|
|
393
|
+
} & {
|
|
394
|
+
"/:workerId/collect": {
|
|
395
|
+
$post: {
|
|
380
396
|
output: {
|
|
381
397
|
error: string;
|
|
382
398
|
code?: "invalid_input" | undefined;
|
|
@@ -387,12 +403,10 @@ export declare function createDelegationRoutes(service: DelegationService, crede
|
|
|
387
403
|
param: {
|
|
388
404
|
workerId: string;
|
|
389
405
|
};
|
|
406
|
+
} & {
|
|
407
|
+
json: Record<string, never>;
|
|
390
408
|
};
|
|
391
|
-
}
|
|
392
|
-
};
|
|
393
|
-
} & {
|
|
394
|
-
"/:workerId/collect": {
|
|
395
|
-
$post: {
|
|
409
|
+
} | {
|
|
396
410
|
output: {
|
|
397
411
|
workerId: string;
|
|
398
412
|
parentRunId: string;
|
|
@@ -494,7 +508,11 @@ export declare function createDelegationRoutes(service: DelegationService, crede
|
|
|
494
508
|
} & {
|
|
495
509
|
json: Record<string, never>;
|
|
496
510
|
};
|
|
497
|
-
}
|
|
511
|
+
};
|
|
512
|
+
};
|
|
513
|
+
} & {
|
|
514
|
+
"/:workerId/steer": {
|
|
515
|
+
$post: {
|
|
498
516
|
output: {
|
|
499
517
|
error: string;
|
|
500
518
|
code?: "invalid_input" | undefined;
|
|
@@ -506,13 +524,11 @@ export declare function createDelegationRoutes(service: DelegationService, crede
|
|
|
506
524
|
workerId: string;
|
|
507
525
|
};
|
|
508
526
|
} & {
|
|
509
|
-
json:
|
|
527
|
+
json: {
|
|
528
|
+
text: string;
|
|
529
|
+
};
|
|
510
530
|
};
|
|
511
|
-
}
|
|
512
|
-
};
|
|
513
|
-
} & {
|
|
514
|
-
"/:workerId/steer": {
|
|
515
|
-
$post: {
|
|
531
|
+
} | {
|
|
516
532
|
output: {
|
|
517
533
|
workerId: string;
|
|
518
534
|
state: "delivered" | "queued";
|
|
@@ -528,7 +544,11 @@ export declare function createDelegationRoutes(service: DelegationService, crede
|
|
|
528
544
|
text: string;
|
|
529
545
|
};
|
|
530
546
|
};
|
|
531
|
-
}
|
|
547
|
+
};
|
|
548
|
+
};
|
|
549
|
+
} & {
|
|
550
|
+
"/:workerId/stop": {
|
|
551
|
+
$post: {
|
|
532
552
|
output: {
|
|
533
553
|
error: string;
|
|
534
554
|
code?: "invalid_input" | undefined;
|
|
@@ -540,15 +560,9 @@ export declare function createDelegationRoutes(service: DelegationService, crede
|
|
|
540
560
|
workerId: string;
|
|
541
561
|
};
|
|
542
562
|
} & {
|
|
543
|
-
json:
|
|
544
|
-
text: string;
|
|
545
|
-
};
|
|
563
|
+
json: Record<string, never>;
|
|
546
564
|
};
|
|
547
|
-
}
|
|
548
|
-
};
|
|
549
|
-
} & {
|
|
550
|
-
"/:workerId/stop": {
|
|
551
|
-
$post: {
|
|
565
|
+
} | {
|
|
552
566
|
output: {
|
|
553
567
|
workerId: string;
|
|
554
568
|
state: "stopping" | "terminated";
|
|
@@ -562,7 +576,11 @@ export declare function createDelegationRoutes(service: DelegationService, crede
|
|
|
562
576
|
} & {
|
|
563
577
|
json: Record<string, never>;
|
|
564
578
|
};
|
|
565
|
-
}
|
|
579
|
+
};
|
|
580
|
+
};
|
|
581
|
+
} & {
|
|
582
|
+
"/:workerId/destroy": {
|
|
583
|
+
$post: {
|
|
566
584
|
output: {
|
|
567
585
|
error: string;
|
|
568
586
|
code?: "invalid_input" | undefined;
|
|
@@ -576,11 +594,7 @@ export declare function createDelegationRoutes(service: DelegationService, crede
|
|
|
576
594
|
} & {
|
|
577
595
|
json: Record<string, never>;
|
|
578
596
|
};
|
|
579
|
-
}
|
|
580
|
-
};
|
|
581
|
-
} & {
|
|
582
|
-
"/:workerId/destroy": {
|
|
583
|
-
$post: {
|
|
597
|
+
} | {
|
|
584
598
|
output: {
|
|
585
599
|
workerId: string;
|
|
586
600
|
state: "complete" | "incomplete";
|
|
@@ -603,20 +617,6 @@ export declare function createDelegationRoutes(service: DelegationService, crede
|
|
|
603
617
|
} & {
|
|
604
618
|
json: Record<string, never>;
|
|
605
619
|
};
|
|
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,13 +646,11 @@ export declare function createDelegationRoutes(service: DelegationService, crede
|
|
|
646
646
|
"/:workerId/diff": {
|
|
647
647
|
$get: {
|
|
648
648
|
output: {
|
|
649
|
-
|
|
650
|
-
|
|
651
|
-
diff: string;
|
|
652
|
-
truncated: boolean;
|
|
649
|
+
error: string;
|
|
650
|
+
code?: "invalid_input" | undefined;
|
|
653
651
|
};
|
|
654
652
|
outputFormat: "json";
|
|
655
|
-
status:
|
|
653
|
+
status: 400;
|
|
656
654
|
input: {
|
|
657
655
|
param: {
|
|
658
656
|
workerId: string;
|
|
@@ -660,11 +658,13 @@ export declare function createDelegationRoutes(service: DelegationService, crede
|
|
|
660
658
|
};
|
|
661
659
|
} | {
|
|
662
660
|
output: {
|
|
663
|
-
|
|
664
|
-
|
|
661
|
+
workerId: string;
|
|
662
|
+
baselineSha: string;
|
|
663
|
+
diff: string;
|
|
664
|
+
truncated: boolean;
|
|
665
665
|
};
|
|
666
666
|
outputFormat: "json";
|
|
667
|
-
status:
|
|
667
|
+
status: 200;
|
|
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-pr420.
|
|
3
|
+
"version": "0.14.2-pr420.649",
|
|
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-pr420.
|
|
54
|
-
"@open-mercato/cezar-contract": "0.14.2-pr420.
|
|
53
|
+
"@open-mercato/cezar-api-client": "0.14.2-pr420.649",
|
|
54
|
+
"@open-mercato/cezar-contract": "0.14.2-pr420.649",
|
|
55
55
|
"@types/node": "^20.14.0",
|
|
56
56
|
"@types/ws": "^8.18.1",
|
|
57
57
|
"esbuild": "^0.28.1",
|