@hearsay-tools/squawk 0.18.0-pr3931.7429 → 0.18.0-pr3931.7430
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.
|
@@ -282,12 +282,11 @@ export declare function ciToolRoutes(capabilities: Map<string, Capability>): imp
|
|
|
282
282
|
"/api/v1/tools/ask": {
|
|
283
283
|
$post: {
|
|
284
284
|
output: {
|
|
285
|
-
|
|
286
|
-
code: 'unavailable';
|
|
285
|
+
code: 'capability_revoked';
|
|
287
286
|
message: string;
|
|
288
287
|
};
|
|
289
288
|
outputFormat: "json";
|
|
290
|
-
status:
|
|
289
|
+
status: 401;
|
|
291
290
|
input: {
|
|
292
291
|
json: {
|
|
293
292
|
questions: {
|
|
@@ -305,11 +304,12 @@ export declare function ciToolRoutes(capabilities: Map<string, Capability>): imp
|
|
|
305
304
|
};
|
|
306
305
|
} | {
|
|
307
306
|
output: {
|
|
308
|
-
|
|
307
|
+
ok: false;
|
|
308
|
+
code: 'unavailable';
|
|
309
309
|
message: string;
|
|
310
310
|
};
|
|
311
311
|
outputFormat: "json";
|
|
312
|
-
status:
|
|
312
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
313
313
|
input: {
|
|
314
314
|
json: {
|
|
315
315
|
questions: {
|
|
@@ -377,12 +377,11 @@ export declare function ciToolRoutes(capabilities: Map<string, Capability>): imp
|
|
|
377
377
|
"/api/v1/tools/cancel-wait": {
|
|
378
378
|
$post: {
|
|
379
379
|
output: {
|
|
380
|
-
|
|
381
|
-
code: 'unavailable';
|
|
380
|
+
code: 'capability_revoked';
|
|
382
381
|
message: string;
|
|
383
382
|
};
|
|
384
383
|
outputFormat: "json";
|
|
385
|
-
status:
|
|
384
|
+
status: 401;
|
|
386
385
|
input: {
|
|
387
386
|
json: {
|
|
388
387
|
wait_id: string;
|
|
@@ -390,11 +389,12 @@ export declare function ciToolRoutes(capabilities: Map<string, Capability>): imp
|
|
|
390
389
|
};
|
|
391
390
|
} | {
|
|
392
391
|
output: {
|
|
393
|
-
|
|
392
|
+
cancelled: false;
|
|
393
|
+
code: 'unavailable';
|
|
394
394
|
message: string;
|
|
395
395
|
};
|
|
396
396
|
outputFormat: "json";
|
|
397
|
-
status:
|
|
397
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
398
398
|
input: {
|
|
399
399
|
json: {
|
|
400
400
|
wait_id: string;
|
|
@@ -442,12 +442,11 @@ export declare function ciToolRoutes(capabilities: Map<string, Capability>): imp
|
|
|
442
442
|
"/api/v1/tools/done": {
|
|
443
443
|
$post: {
|
|
444
444
|
output: {
|
|
445
|
-
|
|
446
|
-
code: 'unavailable';
|
|
445
|
+
code: 'capability_revoked';
|
|
447
446
|
message: string;
|
|
448
447
|
};
|
|
449
448
|
outputFormat: "json";
|
|
450
|
-
status:
|
|
449
|
+
status: 401;
|
|
451
450
|
input: {
|
|
452
451
|
json: {
|
|
453
452
|
summary?: string | undefined;
|
|
@@ -455,11 +454,12 @@ export declare function ciToolRoutes(capabilities: Map<string, Capability>): imp
|
|
|
455
454
|
};
|
|
456
455
|
} | {
|
|
457
456
|
output: {
|
|
458
|
-
|
|
457
|
+
ok: false;
|
|
458
|
+
code: 'unavailable';
|
|
459
459
|
message: string;
|
|
460
460
|
};
|
|
461
461
|
outputFormat: "json";
|
|
462
|
-
status:
|
|
462
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
463
463
|
input: {
|
|
464
464
|
json: {
|
|
465
465
|
summary?: string | undefined;
|
|
@@ -542,13 +542,11 @@ export declare function ciToolRoutes(capabilities: Map<string, Capability>): imp
|
|
|
542
542
|
"/api/v1/tools/preview-stop": {
|
|
543
543
|
$post: {
|
|
544
544
|
output: {
|
|
545
|
-
|
|
546
|
-
code: "adopted" | "approval_required" | "headless" | "invalid_input" | "not_registered" | "port_held" | "port_in_use" | "preview_disabled" | "restarted" | "stopped" | "unavailable" | "worktree_missing";
|
|
545
|
+
code: 'capability_revoked';
|
|
547
546
|
message: string;
|
|
548
|
-
hint: string;
|
|
549
547
|
};
|
|
550
548
|
outputFormat: "json";
|
|
551
|
-
status:
|
|
549
|
+
status: 401;
|
|
552
550
|
input: {
|
|
553
551
|
json: {
|
|
554
552
|
port: number;
|
|
@@ -557,11 +555,13 @@ export declare function ciToolRoutes(capabilities: Map<string, Capability>): imp
|
|
|
557
555
|
};
|
|
558
556
|
} | {
|
|
559
557
|
output: {
|
|
560
|
-
|
|
558
|
+
ok: boolean;
|
|
559
|
+
code: "adopted" | "approval_required" | "headless" | "invalid_input" | "not_registered" | "port_held" | "port_in_use" | "preview_disabled" | "restarted" | "stopped" | "unavailable" | "worktree_missing";
|
|
561
560
|
message: string;
|
|
561
|
+
hint: string;
|
|
562
562
|
};
|
|
563
563
|
outputFormat: "json";
|
|
564
|
-
status:
|
|
564
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
565
565
|
input: {
|
|
566
566
|
json: {
|
|
567
567
|
port: number;
|
|
@@ -574,13 +574,11 @@ export declare function ciToolRoutes(capabilities: Map<string, Capability>): imp
|
|
|
574
574
|
"/api/v1/tools/preview-serve": {
|
|
575
575
|
$post: {
|
|
576
576
|
output: {
|
|
577
|
-
|
|
578
|
-
code: "cezar_port" | "cwd_outside_worktree" | "headless" | "invalid_input" | "port_held" | "preview_disabled" | "registered" | "replaced" | "too_many" | "unavailable" | "worktree_missing";
|
|
577
|
+
code: 'capability_revoked';
|
|
579
578
|
message: string;
|
|
580
|
-
hint: string;
|
|
581
579
|
};
|
|
582
580
|
outputFormat: "json";
|
|
583
|
-
status:
|
|
581
|
+
status: 401;
|
|
584
582
|
input: {
|
|
585
583
|
json: {
|
|
586
584
|
command: string;
|
|
@@ -592,11 +590,13 @@ export declare function ciToolRoutes(capabilities: Map<string, Capability>): imp
|
|
|
592
590
|
};
|
|
593
591
|
} | {
|
|
594
592
|
output: {
|
|
595
|
-
|
|
593
|
+
ok: boolean;
|
|
594
|
+
code: "cezar_port" | "cwd_outside_worktree" | "headless" | "invalid_input" | "port_held" | "preview_disabled" | "registered" | "replaced" | "too_many" | "unavailable" | "worktree_missing";
|
|
596
595
|
message: string;
|
|
596
|
+
hint: string;
|
|
597
597
|
};
|
|
598
598
|
outputFormat: "json";
|
|
599
|
-
status:
|
|
599
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
600
600
|
input: {
|
|
601
601
|
json: {
|
|
602
602
|
command: string;
|
|
@@ -612,12 +612,11 @@ export declare function ciToolRoutes(capabilities: Map<string, Capability>): imp
|
|
|
612
612
|
"/api/v1/tools/automation": {
|
|
613
613
|
$post: {
|
|
614
614
|
output: {
|
|
615
|
-
|
|
616
|
-
code: import('../contract/index.js').ScheduledTaskRefusalCode;
|
|
615
|
+
code: 'capability_revoked';
|
|
617
616
|
message: string;
|
|
618
617
|
};
|
|
619
618
|
outputFormat: "json";
|
|
620
|
-
status:
|
|
619
|
+
status: 401;
|
|
621
620
|
input: {
|
|
622
621
|
json: {
|
|
623
622
|
action: "create";
|
|
@@ -697,11 +696,12 @@ export declare function ciToolRoutes(capabilities: Map<string, Capability>): imp
|
|
|
697
696
|
};
|
|
698
697
|
} | {
|
|
699
698
|
output: {
|
|
700
|
-
|
|
699
|
+
ok: false;
|
|
700
|
+
code: import('../contract/index.js').ScheduledTaskRefusalCode;
|
|
701
701
|
message: string;
|
|
702
702
|
};
|
|
703
703
|
outputFormat: "json";
|
|
704
|
-
status:
|
|
704
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
705
705
|
input: {
|
|
706
706
|
json: {
|
|
707
707
|
action: "create";
|
|
@@ -957,12 +957,11 @@ export declare function ciToolRoutes(capabilities: Map<string, Capability>): imp
|
|
|
957
957
|
"/api/v1/tools/schedule-task": {
|
|
958
958
|
$post: {
|
|
959
959
|
output: {
|
|
960
|
-
|
|
961
|
-
code: import('../contract/index.js').ScheduledTaskRefusalCode;
|
|
960
|
+
code: 'capability_revoked';
|
|
962
961
|
message: string;
|
|
963
962
|
};
|
|
964
963
|
outputFormat: "json";
|
|
965
|
-
status:
|
|
964
|
+
status: 401;
|
|
966
965
|
input: {
|
|
967
966
|
json: {
|
|
968
967
|
at?: string | undefined;
|
|
@@ -979,11 +978,12 @@ export declare function ciToolRoutes(capabilities: Map<string, Capability>): imp
|
|
|
979
978
|
};
|
|
980
979
|
} | {
|
|
981
980
|
output: {
|
|
982
|
-
|
|
981
|
+
ok: false;
|
|
982
|
+
code: import('../contract/index.js').ScheduledTaskRefusalCode;
|
|
983
983
|
message: string;
|
|
984
984
|
};
|
|
985
985
|
outputFormat: "json";
|
|
986
|
-
status:
|
|
986
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
987
987
|
input: {
|
|
988
988
|
json: {
|
|
989
989
|
at?: string | undefined;
|
|
@@ -1038,12 +1038,11 @@ export declare function ciToolRoutes(capabilities: Map<string, Capability>): imp
|
|
|
1038
1038
|
"/api/v1/tools/scheduled-tasks": {
|
|
1039
1039
|
$post: {
|
|
1040
1040
|
output: {
|
|
1041
|
-
|
|
1042
|
-
code: import('../contract/index.js').ScheduledTaskRefusalCode;
|
|
1041
|
+
code: 'capability_revoked';
|
|
1043
1042
|
message: string;
|
|
1044
1043
|
};
|
|
1045
1044
|
outputFormat: "json";
|
|
1046
|
-
status:
|
|
1045
|
+
status: 401;
|
|
1047
1046
|
input: {
|
|
1048
1047
|
json: {
|
|
1049
1048
|
at?: string | undefined;
|
|
@@ -1076,11 +1075,12 @@ export declare function ciToolRoutes(capabilities: Map<string, Capability>): imp
|
|
|
1076
1075
|
};
|
|
1077
1076
|
} | {
|
|
1078
1077
|
output: {
|
|
1079
|
-
|
|
1078
|
+
ok: false;
|
|
1079
|
+
code: import('../contract/index.js').ScheduledTaskRefusalCode;
|
|
1080
1080
|
message: string;
|
|
1081
1081
|
};
|
|
1082
1082
|
outputFormat: "json";
|
|
1083
|
-
status:
|
|
1083
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
1084
1084
|
input: {
|
|
1085
1085
|
json: {
|
|
1086
1086
|
at?: string | undefined;
|
|
@@ -27,6 +27,18 @@ export declare function delegationFailure(error: unknown): {
|
|
|
27
27
|
export declare function createDelegationRoutes(service: DelegationService, credentials: CredentialRegistry): import("hono/hono-base").HonoBase<Env, {
|
|
28
28
|
"/list": {
|
|
29
29
|
$get: {
|
|
30
|
+
output: {
|
|
31
|
+
error: string;
|
|
32
|
+
code?: "invalid_input" | undefined;
|
|
33
|
+
};
|
|
34
|
+
outputFormat: "json";
|
|
35
|
+
status: 400;
|
|
36
|
+
input: {
|
|
37
|
+
query: {
|
|
38
|
+
offset?: string | undefined;
|
|
39
|
+
};
|
|
40
|
+
};
|
|
41
|
+
} | {
|
|
30
42
|
output: {
|
|
31
43
|
workers: {
|
|
32
44
|
workerId: string;
|
|
@@ -72,18 +84,6 @@ export declare function createDelegationRoutes(service: DelegationService, crede
|
|
|
72
84
|
offset?: string | undefined;
|
|
73
85
|
};
|
|
74
86
|
};
|
|
75
|
-
} | {
|
|
76
|
-
output: {
|
|
77
|
-
error: string;
|
|
78
|
-
code?: "invalid_input" | undefined;
|
|
79
|
-
};
|
|
80
|
-
outputFormat: "json";
|
|
81
|
-
status: 400;
|
|
82
|
-
input: {
|
|
83
|
-
query: {
|
|
84
|
-
offset?: string | undefined;
|
|
85
|
-
};
|
|
86
|
-
};
|
|
87
87
|
};
|
|
88
88
|
};
|
|
89
89
|
} & {
|
|
@@ -622,6 +622,18 @@ export declare function createDelegationRoutes(service: DelegationService, crede
|
|
|
622
622
|
} & {
|
|
623
623
|
"/:workerId": {
|
|
624
624
|
$get: {
|
|
625
|
+
output: {
|
|
626
|
+
error: string;
|
|
627
|
+
code?: "invalid_input" | undefined;
|
|
628
|
+
};
|
|
629
|
+
outputFormat: "json";
|
|
630
|
+
status: 400;
|
|
631
|
+
input: {
|
|
632
|
+
param: {
|
|
633
|
+
workerId: string;
|
|
634
|
+
};
|
|
635
|
+
};
|
|
636
|
+
} | {
|
|
625
637
|
output: {
|
|
626
638
|
workerId: string;
|
|
627
639
|
settled: boolean;
|
|
@@ -738,7 +750,11 @@ export declare function createDelegationRoutes(service: DelegationService, crede
|
|
|
738
750
|
workerId: string;
|
|
739
751
|
};
|
|
740
752
|
};
|
|
741
|
-
}
|
|
753
|
+
};
|
|
754
|
+
};
|
|
755
|
+
} & {
|
|
756
|
+
"/:workerId/collect": {
|
|
757
|
+
$post: {
|
|
742
758
|
output: {
|
|
743
759
|
error: string;
|
|
744
760
|
code?: "invalid_input" | undefined;
|
|
@@ -749,12 +765,10 @@ export declare function createDelegationRoutes(service: DelegationService, crede
|
|
|
749
765
|
param: {
|
|
750
766
|
workerId: string;
|
|
751
767
|
};
|
|
768
|
+
} & {
|
|
769
|
+
json: Record<string, never>;
|
|
752
770
|
};
|
|
753
|
-
}
|
|
754
|
-
};
|
|
755
|
-
} & {
|
|
756
|
-
"/:workerId/collect": {
|
|
757
|
-
$post: {
|
|
771
|
+
} | {
|
|
758
772
|
output: {
|
|
759
773
|
workerId: string;
|
|
760
774
|
parentRunId: string;
|
|
@@ -877,7 +891,11 @@ export declare function createDelegationRoutes(service: DelegationService, crede
|
|
|
877
891
|
} & {
|
|
878
892
|
json: Record<string, never>;
|
|
879
893
|
};
|
|
880
|
-
}
|
|
894
|
+
};
|
|
895
|
+
};
|
|
896
|
+
} & {
|
|
897
|
+
"/:workerId/steer": {
|
|
898
|
+
$post: {
|
|
881
899
|
output: {
|
|
882
900
|
error: string;
|
|
883
901
|
code?: "invalid_input" | undefined;
|
|
@@ -889,13 +907,11 @@ export declare function createDelegationRoutes(service: DelegationService, crede
|
|
|
889
907
|
workerId: string;
|
|
890
908
|
};
|
|
891
909
|
} & {
|
|
892
|
-
json:
|
|
910
|
+
json: {
|
|
911
|
+
text: string;
|
|
912
|
+
};
|
|
893
913
|
};
|
|
894
|
-
}
|
|
895
|
-
};
|
|
896
|
-
} & {
|
|
897
|
-
"/:workerId/steer": {
|
|
898
|
-
$post: {
|
|
914
|
+
} | {
|
|
899
915
|
output: {
|
|
900
916
|
workerId: string;
|
|
901
917
|
state: "delivered" | "queued";
|
|
@@ -911,7 +927,11 @@ export declare function createDelegationRoutes(service: DelegationService, crede
|
|
|
911
927
|
text: string;
|
|
912
928
|
};
|
|
913
929
|
};
|
|
914
|
-
}
|
|
930
|
+
};
|
|
931
|
+
};
|
|
932
|
+
} & {
|
|
933
|
+
"/:workerId/stop": {
|
|
934
|
+
$post: {
|
|
915
935
|
output: {
|
|
916
936
|
error: string;
|
|
917
937
|
code?: "invalid_input" | undefined;
|
|
@@ -923,15 +943,9 @@ export declare function createDelegationRoutes(service: DelegationService, crede
|
|
|
923
943
|
workerId: string;
|
|
924
944
|
};
|
|
925
945
|
} & {
|
|
926
|
-
json:
|
|
927
|
-
text: string;
|
|
928
|
-
};
|
|
946
|
+
json: Record<string, never>;
|
|
929
947
|
};
|
|
930
|
-
}
|
|
931
|
-
};
|
|
932
|
-
} & {
|
|
933
|
-
"/:workerId/stop": {
|
|
934
|
-
$post: {
|
|
948
|
+
} | {
|
|
935
949
|
output: {
|
|
936
950
|
workerId: string;
|
|
937
951
|
state: "stopping" | "terminated";
|
|
@@ -945,7 +959,11 @@ export declare function createDelegationRoutes(service: DelegationService, crede
|
|
|
945
959
|
} & {
|
|
946
960
|
json: Record<string, never>;
|
|
947
961
|
};
|
|
948
|
-
}
|
|
962
|
+
};
|
|
963
|
+
};
|
|
964
|
+
} & {
|
|
965
|
+
"/:workerId/destroy": {
|
|
966
|
+
$post: {
|
|
949
967
|
output: {
|
|
950
968
|
error: string;
|
|
951
969
|
code?: "invalid_input" | undefined;
|
|
@@ -959,11 +977,7 @@ export declare function createDelegationRoutes(service: DelegationService, crede
|
|
|
959
977
|
} & {
|
|
960
978
|
json: Record<string, never>;
|
|
961
979
|
};
|
|
962
|
-
}
|
|
963
|
-
};
|
|
964
|
-
} & {
|
|
965
|
-
"/:workerId/destroy": {
|
|
966
|
-
$post: {
|
|
980
|
+
} | {
|
|
967
981
|
output: {
|
|
968
982
|
workerId: string;
|
|
969
983
|
state: "complete" | "incomplete";
|
|
@@ -986,20 +1000,6 @@ export declare function createDelegationRoutes(service: DelegationService, crede
|
|
|
986
1000
|
} & {
|
|
987
1001
|
json: Record<string, never>;
|
|
988
1002
|
};
|
|
989
|
-
} | {
|
|
990
|
-
output: {
|
|
991
|
-
error: string;
|
|
992
|
-
code?: "invalid_input" | undefined;
|
|
993
|
-
};
|
|
994
|
-
outputFormat: "json";
|
|
995
|
-
status: 400;
|
|
996
|
-
input: {
|
|
997
|
-
param: {
|
|
998
|
-
workerId: string;
|
|
999
|
-
};
|
|
1000
|
-
} & {
|
|
1001
|
-
json: Record<string, never>;
|
|
1002
|
-
};
|
|
1003
1003
|
} | {
|
|
1004
1004
|
output: {
|
|
1005
1005
|
workerId: string;
|
|
@@ -1029,13 +1029,11 @@ export declare function createDelegationRoutes(service: DelegationService, crede
|
|
|
1029
1029
|
"/:workerId/diff": {
|
|
1030
1030
|
$get: {
|
|
1031
1031
|
output: {
|
|
1032
|
-
|
|
1033
|
-
|
|
1034
|
-
diff: string;
|
|
1035
|
-
truncated: boolean;
|
|
1032
|
+
error: string;
|
|
1033
|
+
code?: "invalid_input" | undefined;
|
|
1036
1034
|
};
|
|
1037
1035
|
outputFormat: "json";
|
|
1038
|
-
status:
|
|
1036
|
+
status: 400;
|
|
1039
1037
|
input: {
|
|
1040
1038
|
param: {
|
|
1041
1039
|
workerId: string;
|
|
@@ -1043,11 +1041,13 @@ export declare function createDelegationRoutes(service: DelegationService, crede
|
|
|
1043
1041
|
};
|
|
1044
1042
|
} | {
|
|
1045
1043
|
output: {
|
|
1046
|
-
|
|
1047
|
-
|
|
1044
|
+
workerId: string;
|
|
1045
|
+
baselineSha: string;
|
|
1046
|
+
diff: string;
|
|
1047
|
+
truncated: boolean;
|
|
1048
1048
|
};
|
|
1049
1049
|
outputFormat: "json";
|
|
1050
|
-
status:
|
|
1050
|
+
status: 200;
|
|
1051
1051
|
input: {
|
|
1052
1052
|
param: {
|
|
1053
1053
|
workerId: string;
|
|
@@ -2,18 +2,6 @@ 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
|
-
} | {
|
|
17
5
|
output: {
|
|
18
6
|
workers: {
|
|
19
7
|
workerId: string;
|
|
@@ -59,6 +47,18 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
|
|
|
59
47
|
offset?: string | undefined;
|
|
60
48
|
};
|
|
61
49
|
};
|
|
50
|
+
} | {
|
|
51
|
+
output: {
|
|
52
|
+
error: string;
|
|
53
|
+
code?: "invalid_input" | undefined;
|
|
54
|
+
};
|
|
55
|
+
outputFormat: "json";
|
|
56
|
+
status: 400;
|
|
57
|
+
input: {
|
|
58
|
+
query: {
|
|
59
|
+
offset?: string | undefined;
|
|
60
|
+
};
|
|
61
|
+
};
|
|
62
62
|
};
|
|
63
63
|
};
|
|
64
64
|
} & {
|
|
@@ -597,18 +597,6 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
|
|
|
597
597
|
} & {
|
|
598
598
|
"/:workerId": {
|
|
599
599
|
$get: {
|
|
600
|
-
output: {
|
|
601
|
-
error: string;
|
|
602
|
-
code?: "invalid_input" | undefined;
|
|
603
|
-
};
|
|
604
|
-
outputFormat: "json";
|
|
605
|
-
status: 400;
|
|
606
|
-
input: {
|
|
607
|
-
param: {
|
|
608
|
-
workerId: string;
|
|
609
|
-
};
|
|
610
|
-
};
|
|
611
|
-
} | {
|
|
612
600
|
output: {
|
|
613
601
|
workerId: string;
|
|
614
602
|
settled: boolean;
|
|
@@ -725,11 +713,7 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
|
|
|
725
713
|
workerId: string;
|
|
726
714
|
};
|
|
727
715
|
};
|
|
728
|
-
}
|
|
729
|
-
};
|
|
730
|
-
} & {
|
|
731
|
-
"/:workerId/collect": {
|
|
732
|
-
$post: {
|
|
716
|
+
} | {
|
|
733
717
|
output: {
|
|
734
718
|
error: string;
|
|
735
719
|
code?: "invalid_input" | undefined;
|
|
@@ -740,10 +724,12 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
|
|
|
740
724
|
param: {
|
|
741
725
|
workerId: string;
|
|
742
726
|
};
|
|
743
|
-
} & {
|
|
744
|
-
json: Record<string, never>;
|
|
745
727
|
};
|
|
746
|
-
}
|
|
728
|
+
};
|
|
729
|
+
};
|
|
730
|
+
} & {
|
|
731
|
+
"/:workerId/collect": {
|
|
732
|
+
$post: {
|
|
747
733
|
output: {
|
|
748
734
|
workerId: string;
|
|
749
735
|
parentRunId: string;
|
|
@@ -866,11 +852,7 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
|
|
|
866
852
|
} & {
|
|
867
853
|
json: Record<string, never>;
|
|
868
854
|
};
|
|
869
|
-
}
|
|
870
|
-
};
|
|
871
|
-
} & {
|
|
872
|
-
"/:workerId/steer": {
|
|
873
|
-
$post: {
|
|
855
|
+
} | {
|
|
874
856
|
output: {
|
|
875
857
|
error: string;
|
|
876
858
|
code?: "invalid_input" | undefined;
|
|
@@ -882,11 +864,13 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
|
|
|
882
864
|
workerId: string;
|
|
883
865
|
};
|
|
884
866
|
} & {
|
|
885
|
-
json:
|
|
886
|
-
text: string;
|
|
887
|
-
};
|
|
867
|
+
json: Record<string, never>;
|
|
888
868
|
};
|
|
889
|
-
}
|
|
869
|
+
};
|
|
870
|
+
};
|
|
871
|
+
} & {
|
|
872
|
+
"/:workerId/steer": {
|
|
873
|
+
$post: {
|
|
890
874
|
output: {
|
|
891
875
|
workerId: string;
|
|
892
876
|
state: "delivered" | "queued";
|
|
@@ -902,11 +886,7 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
|
|
|
902
886
|
text: string;
|
|
903
887
|
};
|
|
904
888
|
};
|
|
905
|
-
}
|
|
906
|
-
};
|
|
907
|
-
} & {
|
|
908
|
-
"/:workerId/stop": {
|
|
909
|
-
$post: {
|
|
889
|
+
} | {
|
|
910
890
|
output: {
|
|
911
891
|
error: string;
|
|
912
892
|
code?: "invalid_input" | undefined;
|
|
@@ -918,9 +898,15 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
|
|
|
918
898
|
workerId: string;
|
|
919
899
|
};
|
|
920
900
|
} & {
|
|
921
|
-
json:
|
|
901
|
+
json: {
|
|
902
|
+
text: string;
|
|
903
|
+
};
|
|
922
904
|
};
|
|
923
|
-
}
|
|
905
|
+
};
|
|
906
|
+
};
|
|
907
|
+
} & {
|
|
908
|
+
"/:workerId/stop": {
|
|
909
|
+
$post: {
|
|
924
910
|
output: {
|
|
925
911
|
workerId: string;
|
|
926
912
|
state: "stopping" | "terminated";
|
|
@@ -934,11 +920,7 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
|
|
|
934
920
|
} & {
|
|
935
921
|
json: Record<string, never>;
|
|
936
922
|
};
|
|
937
|
-
}
|
|
938
|
-
};
|
|
939
|
-
} & {
|
|
940
|
-
"/:workerId/destroy": {
|
|
941
|
-
$post: {
|
|
923
|
+
} | {
|
|
942
924
|
output: {
|
|
943
925
|
error: string;
|
|
944
926
|
code?: "invalid_input" | undefined;
|
|
@@ -952,7 +934,11 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
|
|
|
952
934
|
} & {
|
|
953
935
|
json: Record<string, never>;
|
|
954
936
|
};
|
|
955
|
-
}
|
|
937
|
+
};
|
|
938
|
+
};
|
|
939
|
+
} & {
|
|
940
|
+
"/:workerId/destroy": {
|
|
941
|
+
$post: {
|
|
956
942
|
output: {
|
|
957
943
|
workerId: string;
|
|
958
944
|
state: "complete" | "incomplete";
|
|
@@ -975,6 +961,20 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
|
|
|
975
961
|
} & {
|
|
976
962
|
json: Record<string, never>;
|
|
977
963
|
};
|
|
964
|
+
} | {
|
|
965
|
+
output: {
|
|
966
|
+
error: string;
|
|
967
|
+
code?: "invalid_input" | undefined;
|
|
968
|
+
};
|
|
969
|
+
outputFormat: "json";
|
|
970
|
+
status: 400;
|
|
971
|
+
input: {
|
|
972
|
+
param: {
|
|
973
|
+
workerId: string;
|
|
974
|
+
};
|
|
975
|
+
} & {
|
|
976
|
+
json: Record<string, never>;
|
|
977
|
+
};
|
|
978
978
|
} | {
|
|
979
979
|
output: {
|
|
980
980
|
workerId: string;
|
|
@@ -1004,11 +1004,13 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
|
|
|
1004
1004
|
"/:workerId/diff": {
|
|
1005
1005
|
$get: {
|
|
1006
1006
|
output: {
|
|
1007
|
-
|
|
1008
|
-
|
|
1007
|
+
workerId: string;
|
|
1008
|
+
baselineSha: string;
|
|
1009
|
+
diff: string;
|
|
1010
|
+
truncated: boolean;
|
|
1009
1011
|
};
|
|
1010
1012
|
outputFormat: "json";
|
|
1011
|
-
status:
|
|
1013
|
+
status: 200;
|
|
1012
1014
|
input: {
|
|
1013
1015
|
param: {
|
|
1014
1016
|
workerId: string;
|
|
@@ -1016,13 +1018,11 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
|
|
|
1016
1018
|
};
|
|
1017
1019
|
} | {
|
|
1018
1020
|
output: {
|
|
1019
|
-
|
|
1020
|
-
|
|
1021
|
-
diff: string;
|
|
1022
|
-
truncated: boolean;
|
|
1021
|
+
error: string;
|
|
1022
|
+
code?: "invalid_input" | undefined;
|
|
1023
1023
|
};
|
|
1024
1024
|
outputFormat: "json";
|
|
1025
|
-
status:
|
|
1025
|
+
status: 400;
|
|
1026
1026
|
input: {
|
|
1027
1027
|
param: {
|
|
1028
1028
|
workerId: string;
|
|
@@ -59,29 +59,6 @@ export declare function ciProgressPlugs(demand: ActivityDemand): {
|
|
|
59
59
|
export declare function createActivityRoutes(routeDeps: ActivityRouteDeps): import("hono/hono-base").HonoBase<import("hono/types").BlankEnv, {
|
|
60
60
|
"/workspace/activity": {
|
|
61
61
|
$get: {
|
|
62
|
-
output: {
|
|
63
|
-
error: string;
|
|
64
|
-
code?: "invalid_input" | undefined;
|
|
65
|
-
};
|
|
66
|
-
outputFormat: "json";
|
|
67
|
-
status: 400;
|
|
68
|
-
input: {
|
|
69
|
-
query: {
|
|
70
|
-
project?: string | undefined;
|
|
71
|
-
};
|
|
72
|
-
};
|
|
73
|
-
} | {
|
|
74
|
-
output: {
|
|
75
|
-
error: string;
|
|
76
|
-
};
|
|
77
|
-
outputFormat: "json";
|
|
78
|
-
status: 404 | 409 | 503;
|
|
79
|
-
input: {
|
|
80
|
-
query: {
|
|
81
|
-
project?: string | undefined;
|
|
82
|
-
};
|
|
83
|
-
};
|
|
84
|
-
} | {
|
|
85
62
|
output: {
|
|
86
63
|
generatedAt: string;
|
|
87
64
|
projects: {
|
|
@@ -312,6 +289,29 @@ export declare function createActivityRoutes(routeDeps: ActivityRouteDeps): impo
|
|
|
312
289
|
project?: string | undefined;
|
|
313
290
|
};
|
|
314
291
|
};
|
|
292
|
+
} | {
|
|
293
|
+
output: {
|
|
294
|
+
error: string;
|
|
295
|
+
code?: "invalid_input" | undefined;
|
|
296
|
+
};
|
|
297
|
+
outputFormat: "json";
|
|
298
|
+
status: 400;
|
|
299
|
+
input: {
|
|
300
|
+
query: {
|
|
301
|
+
project?: string | undefined;
|
|
302
|
+
};
|
|
303
|
+
};
|
|
304
|
+
} | {
|
|
305
|
+
output: {
|
|
306
|
+
error: string;
|
|
307
|
+
};
|
|
308
|
+
outputFormat: "json";
|
|
309
|
+
status: 404 | 409 | 503;
|
|
310
|
+
input: {
|
|
311
|
+
query: {
|
|
312
|
+
project?: string | undefined;
|
|
313
|
+
};
|
|
314
|
+
};
|
|
315
315
|
};
|
|
316
316
|
};
|
|
317
317
|
}, "/", "/workspace/activity">;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hearsay-tools/squawk",
|
|
3
|
-
"version": "0.18.0-pr3931.
|
|
3
|
+
"version": "0.18.0-pr3931.7430",
|
|
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",
|
|
@@ -63,8 +63,8 @@
|
|
|
63
63
|
"devDependencies": {
|
|
64
64
|
"@babel/parser": "^8.0.8",
|
|
65
65
|
"@babel/types": "^8.0.8",
|
|
66
|
-
"@open-mercato/cezar-api-client": "0.18.0-pr3931.
|
|
67
|
-
"@open-mercato/cezar-contract": "0.18.0-pr3931.
|
|
66
|
+
"@open-mercato/cezar-api-client": "0.18.0-pr3931.7430",
|
|
67
|
+
"@open-mercato/cezar-contract": "0.18.0-pr3931.7430",
|
|
68
68
|
"@types/node": "^24.19.1",
|
|
69
69
|
"@types/ws": "^8.18.1",
|
|
70
70
|
"esbuild": "^0.28.1",
|
|
@@ -81,5 +81,5 @@
|
|
|
81
81
|
"publishConfig": {
|
|
82
82
|
"access": "public"
|
|
83
83
|
},
|
|
84
|
-
"gitHead": "
|
|
84
|
+
"gitHead": "529133ebdd931a9ac3a0bbfe4f9bdcee2392c69a"
|
|
85
85
|
}
|