@wjarka/cezarion 0.17.0-pr2155.3291 → 0.17.0-pr2158.3294
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/ci-wait/controller.d.ts +22 -22
- package/dist/delegation/transport.d.ts +62 -62
- package/dist/voice/routes.d.ts +19 -19
- package/package.json +3 -3
|
@@ -477,11 +477,13 @@ export declare function ciToolRoutes(capabilities: Map<string, Capability>): imp
|
|
|
477
477
|
"/api/v1/tools/preview-stop": {
|
|
478
478
|
$post: {
|
|
479
479
|
output: {
|
|
480
|
-
|
|
480
|
+
ok: boolean;
|
|
481
|
+
code: "adopted" | "approval_required" | "headless" | "invalid_input" | "not_registered" | "port_held" | "port_in_use" | "preview_disabled" | "restarted" | "stopped" | "unavailable" | "worktree_missing";
|
|
481
482
|
message: string;
|
|
483
|
+
hint: string;
|
|
482
484
|
};
|
|
483
485
|
outputFormat: "json";
|
|
484
|
-
status:
|
|
486
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
485
487
|
input: {
|
|
486
488
|
json: {
|
|
487
489
|
port: number;
|
|
@@ -490,13 +492,11 @@ export declare function ciToolRoutes(capabilities: Map<string, Capability>): imp
|
|
|
490
492
|
};
|
|
491
493
|
} | {
|
|
492
494
|
output: {
|
|
493
|
-
|
|
494
|
-
code: "adopted" | "approval_required" | "headless" | "invalid_input" | "not_registered" | "port_held" | "port_in_use" | "preview_disabled" | "restarted" | "stopped" | "unavailable" | "worktree_missing";
|
|
495
|
+
code: 'capability_revoked';
|
|
495
496
|
message: string;
|
|
496
|
-
hint: string;
|
|
497
497
|
};
|
|
498
498
|
outputFormat: "json";
|
|
499
|
-
status:
|
|
499
|
+
status: 401;
|
|
500
500
|
input: {
|
|
501
501
|
json: {
|
|
502
502
|
port: number;
|
|
@@ -509,11 +509,13 @@ export declare function ciToolRoutes(capabilities: Map<string, Capability>): imp
|
|
|
509
509
|
"/api/v1/tools/preview-serve": {
|
|
510
510
|
$post: {
|
|
511
511
|
output: {
|
|
512
|
-
|
|
512
|
+
ok: boolean;
|
|
513
|
+
code: "cezar_port" | "cwd_outside_worktree" | "headless" | "invalid_input" | "port_held" | "preview_disabled" | "registered" | "replaced" | "too_many" | "unavailable" | "worktree_missing";
|
|
513
514
|
message: string;
|
|
515
|
+
hint: string;
|
|
514
516
|
};
|
|
515
517
|
outputFormat: "json";
|
|
516
|
-
status:
|
|
518
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
517
519
|
input: {
|
|
518
520
|
json: {
|
|
519
521
|
command: string;
|
|
@@ -525,13 +527,11 @@ export declare function ciToolRoutes(capabilities: Map<string, Capability>): imp
|
|
|
525
527
|
};
|
|
526
528
|
} | {
|
|
527
529
|
output: {
|
|
528
|
-
|
|
529
|
-
code: "cezar_port" | "cwd_outside_worktree" | "headless" | "invalid_input" | "port_held" | "preview_disabled" | "registered" | "replaced" | "too_many" | "unavailable" | "worktree_missing";
|
|
530
|
+
code: 'capability_revoked';
|
|
530
531
|
message: string;
|
|
531
|
-
hint: string;
|
|
532
532
|
};
|
|
533
533
|
outputFormat: "json";
|
|
534
|
-
status:
|
|
534
|
+
status: 401;
|
|
535
535
|
input: {
|
|
536
536
|
json: {
|
|
537
537
|
command: string;
|
|
@@ -547,11 +547,12 @@ export declare function ciToolRoutes(capabilities: Map<string, Capability>): imp
|
|
|
547
547
|
"/api/v1/tools/schedule-task": {
|
|
548
548
|
$post: {
|
|
549
549
|
output: {
|
|
550
|
-
|
|
550
|
+
ok: false;
|
|
551
|
+
code: import('../contract/index.js').ScheduledTaskRefusalCode;
|
|
551
552
|
message: string;
|
|
552
553
|
};
|
|
553
554
|
outputFormat: "json";
|
|
554
|
-
status:
|
|
555
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
555
556
|
input: {
|
|
556
557
|
json: {
|
|
557
558
|
at?: string | undefined;
|
|
@@ -569,12 +570,11 @@ export declare function ciToolRoutes(capabilities: Map<string, Capability>): imp
|
|
|
569
570
|
};
|
|
570
571
|
} | {
|
|
571
572
|
output: {
|
|
572
|
-
|
|
573
|
-
code: import('../contract/index.js').ScheduledTaskRefusalCode;
|
|
573
|
+
code: 'capability_revoked';
|
|
574
574
|
message: string;
|
|
575
575
|
};
|
|
576
576
|
outputFormat: "json";
|
|
577
|
-
status:
|
|
577
|
+
status: 401;
|
|
578
578
|
input: {
|
|
579
579
|
json: {
|
|
580
580
|
at?: string | undefined;
|
|
@@ -633,11 +633,12 @@ export declare function ciToolRoutes(capabilities: Map<string, Capability>): imp
|
|
|
633
633
|
"/api/v1/tools/scheduled-tasks": {
|
|
634
634
|
$post: {
|
|
635
635
|
output: {
|
|
636
|
-
|
|
636
|
+
ok: false;
|
|
637
|
+
code: import('../contract/index.js').ScheduledTaskRefusalCode;
|
|
637
638
|
message: string;
|
|
638
639
|
};
|
|
639
640
|
outputFormat: "json";
|
|
640
|
-
status:
|
|
641
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
641
642
|
input: {
|
|
642
643
|
json: {
|
|
643
644
|
at?: string | undefined;
|
|
@@ -671,12 +672,11 @@ export declare function ciToolRoutes(capabilities: Map<string, Capability>): imp
|
|
|
671
672
|
};
|
|
672
673
|
} | {
|
|
673
674
|
output: {
|
|
674
|
-
|
|
675
|
-
code: import('../contract/index.js').ScheduledTaskRefusalCode;
|
|
675
|
+
code: 'capability_revoked';
|
|
676
676
|
message: string;
|
|
677
677
|
};
|
|
678
678
|
outputFormat: "json";
|
|
679
|
-
status:
|
|
679
|
+
status: 401;
|
|
680
680
|
input: {
|
|
681
681
|
json: {
|
|
682
682
|
at?: string | undefined;
|
|
@@ -2,6 +2,18 @@ import type { DelegationRoutes } from './routes.ts';
|
|
|
2
2
|
export declare function createDelegationApp(routes: DelegationRoutes): import("hono/hono-base").HonoBase<import("hono/types").BlankEnv, import("hono/types").BlankSchema | import("hono/types").MergeSchemaPath<{
|
|
3
3
|
"/list": {
|
|
4
4
|
$get: {
|
|
5
|
+
output: {
|
|
6
|
+
error: string;
|
|
7
|
+
code?: "invalid_input" | undefined;
|
|
8
|
+
};
|
|
9
|
+
outputFormat: "json";
|
|
10
|
+
status: 400;
|
|
11
|
+
input: {
|
|
12
|
+
query: {
|
|
13
|
+
offset?: string | undefined;
|
|
14
|
+
};
|
|
15
|
+
};
|
|
16
|
+
} | {
|
|
5
17
|
output: {
|
|
6
18
|
workers: {
|
|
7
19
|
workerId: string;
|
|
@@ -39,18 +51,6 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
|
|
|
39
51
|
offset?: string | undefined;
|
|
40
52
|
};
|
|
41
53
|
};
|
|
42
|
-
} | {
|
|
43
|
-
output: {
|
|
44
|
-
error: string;
|
|
45
|
-
code?: "invalid_input" | undefined;
|
|
46
|
-
};
|
|
47
|
-
outputFormat: "json";
|
|
48
|
-
status: 400;
|
|
49
|
-
input: {
|
|
50
|
-
query: {
|
|
51
|
-
offset?: string | undefined;
|
|
52
|
-
};
|
|
53
|
-
};
|
|
54
54
|
};
|
|
55
55
|
};
|
|
56
56
|
} & {
|
|
@@ -585,6 +585,18 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
|
|
|
585
585
|
} & {
|
|
586
586
|
"/:workerId": {
|
|
587
587
|
$get: {
|
|
588
|
+
output: {
|
|
589
|
+
error: string;
|
|
590
|
+
code?: "invalid_input" | undefined;
|
|
591
|
+
};
|
|
592
|
+
outputFormat: "json";
|
|
593
|
+
status: 400;
|
|
594
|
+
input: {
|
|
595
|
+
param: {
|
|
596
|
+
workerId: string;
|
|
597
|
+
};
|
|
598
|
+
};
|
|
599
|
+
} | {
|
|
588
600
|
output: {
|
|
589
601
|
workerId: string;
|
|
590
602
|
parentRunId: string;
|
|
@@ -688,7 +700,11 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
|
|
|
688
700
|
workerId: string;
|
|
689
701
|
};
|
|
690
702
|
};
|
|
691
|
-
}
|
|
703
|
+
};
|
|
704
|
+
};
|
|
705
|
+
} & {
|
|
706
|
+
"/:workerId/collect": {
|
|
707
|
+
$post: {
|
|
692
708
|
output: {
|
|
693
709
|
error: string;
|
|
694
710
|
code?: "invalid_input" | undefined;
|
|
@@ -699,12 +715,10 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
|
|
|
699
715
|
param: {
|
|
700
716
|
workerId: string;
|
|
701
717
|
};
|
|
718
|
+
} & {
|
|
719
|
+
json: Record<string, never>;
|
|
702
720
|
};
|
|
703
|
-
}
|
|
704
|
-
};
|
|
705
|
-
} & {
|
|
706
|
-
"/:workerId/collect": {
|
|
707
|
-
$post: {
|
|
721
|
+
} | {
|
|
708
722
|
output: {
|
|
709
723
|
workerId: string;
|
|
710
724
|
parentRunId: string;
|
|
@@ -806,7 +820,11 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
|
|
|
806
820
|
} & {
|
|
807
821
|
json: Record<string, never>;
|
|
808
822
|
};
|
|
809
|
-
}
|
|
823
|
+
};
|
|
824
|
+
};
|
|
825
|
+
} & {
|
|
826
|
+
"/:workerId/steer": {
|
|
827
|
+
$post: {
|
|
810
828
|
output: {
|
|
811
829
|
error: string;
|
|
812
830
|
code?: "invalid_input" | undefined;
|
|
@@ -818,13 +836,11 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
|
|
|
818
836
|
workerId: string;
|
|
819
837
|
};
|
|
820
838
|
} & {
|
|
821
|
-
json:
|
|
839
|
+
json: {
|
|
840
|
+
text: string;
|
|
841
|
+
};
|
|
822
842
|
};
|
|
823
|
-
}
|
|
824
|
-
};
|
|
825
|
-
} & {
|
|
826
|
-
"/:workerId/steer": {
|
|
827
|
-
$post: {
|
|
843
|
+
} | {
|
|
828
844
|
output: {
|
|
829
845
|
workerId: string;
|
|
830
846
|
state: "delivered" | "queued";
|
|
@@ -840,7 +856,11 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
|
|
|
840
856
|
text: string;
|
|
841
857
|
};
|
|
842
858
|
};
|
|
843
|
-
}
|
|
859
|
+
};
|
|
860
|
+
};
|
|
861
|
+
} & {
|
|
862
|
+
"/:workerId/stop": {
|
|
863
|
+
$post: {
|
|
844
864
|
output: {
|
|
845
865
|
error: string;
|
|
846
866
|
code?: "invalid_input" | undefined;
|
|
@@ -852,15 +872,9 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
|
|
|
852
872
|
workerId: string;
|
|
853
873
|
};
|
|
854
874
|
} & {
|
|
855
|
-
json:
|
|
856
|
-
text: string;
|
|
857
|
-
};
|
|
875
|
+
json: Record<string, never>;
|
|
858
876
|
};
|
|
859
|
-
}
|
|
860
|
-
};
|
|
861
|
-
} & {
|
|
862
|
-
"/:workerId/stop": {
|
|
863
|
-
$post: {
|
|
877
|
+
} | {
|
|
864
878
|
output: {
|
|
865
879
|
workerId: string;
|
|
866
880
|
state: "stopping" | "terminated";
|
|
@@ -874,7 +888,11 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
|
|
|
874
888
|
} & {
|
|
875
889
|
json: Record<string, never>;
|
|
876
890
|
};
|
|
877
|
-
}
|
|
891
|
+
};
|
|
892
|
+
};
|
|
893
|
+
} & {
|
|
894
|
+
"/:workerId/destroy": {
|
|
895
|
+
$post: {
|
|
878
896
|
output: {
|
|
879
897
|
error: string;
|
|
880
898
|
code?: "invalid_input" | undefined;
|
|
@@ -888,11 +906,7 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
|
|
|
888
906
|
} & {
|
|
889
907
|
json: Record<string, never>;
|
|
890
908
|
};
|
|
891
|
-
}
|
|
892
|
-
};
|
|
893
|
-
} & {
|
|
894
|
-
"/:workerId/destroy": {
|
|
895
|
-
$post: {
|
|
909
|
+
} | {
|
|
896
910
|
output: {
|
|
897
911
|
workerId: string;
|
|
898
912
|
state: "complete" | "incomplete";
|
|
@@ -915,20 +929,6 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
|
|
|
915
929
|
} & {
|
|
916
930
|
json: Record<string, never>;
|
|
917
931
|
};
|
|
918
|
-
} | {
|
|
919
|
-
output: {
|
|
920
|
-
error: string;
|
|
921
|
-
code?: "invalid_input" | undefined;
|
|
922
|
-
};
|
|
923
|
-
outputFormat: "json";
|
|
924
|
-
status: 400;
|
|
925
|
-
input: {
|
|
926
|
-
param: {
|
|
927
|
-
workerId: string;
|
|
928
|
-
};
|
|
929
|
-
} & {
|
|
930
|
-
json: Record<string, never>;
|
|
931
|
-
};
|
|
932
932
|
} | {
|
|
933
933
|
output: {
|
|
934
934
|
workerId: string;
|
|
@@ -958,13 +958,11 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
|
|
|
958
958
|
"/:workerId/diff": {
|
|
959
959
|
$get: {
|
|
960
960
|
output: {
|
|
961
|
-
|
|
962
|
-
|
|
963
|
-
diff: string;
|
|
964
|
-
truncated: boolean;
|
|
961
|
+
error: string;
|
|
962
|
+
code?: "invalid_input" | undefined;
|
|
965
963
|
};
|
|
966
964
|
outputFormat: "json";
|
|
967
|
-
status:
|
|
965
|
+
status: 400;
|
|
968
966
|
input: {
|
|
969
967
|
param: {
|
|
970
968
|
workerId: string;
|
|
@@ -972,11 +970,13 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
|
|
|
972
970
|
};
|
|
973
971
|
} | {
|
|
974
972
|
output: {
|
|
975
|
-
|
|
976
|
-
|
|
973
|
+
workerId: string;
|
|
974
|
+
baselineSha: string;
|
|
975
|
+
diff: string;
|
|
976
|
+
truncated: boolean;
|
|
977
977
|
};
|
|
978
978
|
outputFormat: "json";
|
|
979
|
-
status:
|
|
979
|
+
status: 200;
|
|
980
980
|
input: {
|
|
981
981
|
param: {
|
|
982
982
|
workerId: string;
|
package/dist/voice/routes.d.ts
CHANGED
|
@@ -18,6 +18,25 @@ export interface VoiceRouteDeps {
|
|
|
18
18
|
export declare function createVoiceRoutes(deps: VoiceRouteDeps): import("hono/hono-base").HonoBase<ProjectApiEnv, {
|
|
19
19
|
"/voice/decide": {
|
|
20
20
|
$post: {
|
|
21
|
+
output: {
|
|
22
|
+
error: string;
|
|
23
|
+
};
|
|
24
|
+
outputFormat: "json";
|
|
25
|
+
status: 503;
|
|
26
|
+
input: {
|
|
27
|
+
json: {
|
|
28
|
+
text: string;
|
|
29
|
+
sidebarView: "active" | "automations";
|
|
30
|
+
openRunId?: string | undefined;
|
|
31
|
+
view?: "automations" | "git" | "github" | "inbox" | "new-task" | "other" | "settings" | "task" | undefined;
|
|
32
|
+
askRequestId?: string | null | undefined;
|
|
33
|
+
proposal?: {
|
|
34
|
+
decisionId: string;
|
|
35
|
+
action: "answer" | "tell";
|
|
36
|
+
} | undefined;
|
|
37
|
+
};
|
|
38
|
+
};
|
|
39
|
+
} | {
|
|
21
40
|
output: {
|
|
22
41
|
action: "open";
|
|
23
42
|
decisionId: string;
|
|
@@ -75,25 +94,6 @@ export declare function createVoiceRoutes(deps: VoiceRouteDeps): import("hono/ho
|
|
|
75
94
|
} | undefined;
|
|
76
95
|
};
|
|
77
96
|
};
|
|
78
|
-
} | {
|
|
79
|
-
output: {
|
|
80
|
-
error: string;
|
|
81
|
-
};
|
|
82
|
-
outputFormat: "json";
|
|
83
|
-
status: 503;
|
|
84
|
-
input: {
|
|
85
|
-
json: {
|
|
86
|
-
text: string;
|
|
87
|
-
sidebarView: "active" | "automations";
|
|
88
|
-
openRunId?: string | undefined;
|
|
89
|
-
view?: "automations" | "git" | "github" | "inbox" | "new-task" | "other" | "settings" | "task" | undefined;
|
|
90
|
-
askRequestId?: string | null | undefined;
|
|
91
|
-
proposal?: {
|
|
92
|
-
decisionId: string;
|
|
93
|
-
action: "answer" | "tell";
|
|
94
|
-
} | undefined;
|
|
95
|
-
};
|
|
96
|
-
};
|
|
97
97
|
};
|
|
98
98
|
};
|
|
99
99
|
} & {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wjarka/cezarion",
|
|
3
|
-
"version": "0.17.0-
|
|
3
|
+
"version": "0.17.0-pr2158.3294",
|
|
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",
|
|
@@ -53,8 +53,8 @@
|
|
|
53
53
|
"zod": "^4.4.3"
|
|
54
54
|
},
|
|
55
55
|
"devDependencies": {
|
|
56
|
-
"@open-mercato/cezar-api-client": "0.17.0-
|
|
57
|
-
"@open-mercato/cezar-contract": "0.17.0-
|
|
56
|
+
"@open-mercato/cezar-api-client": "0.17.0-pr2158.3294",
|
|
57
|
+
"@open-mercato/cezar-contract": "0.17.0-pr2158.3294",
|
|
58
58
|
"@types/node": "^24.19.1",
|
|
59
59
|
"@types/ws": "^8.18.1",
|
|
60
60
|
"esbuild": "^0.28.1",
|