@hearsay-tools/squawk 0.18.0-pr3982.7562 → 0.18.0-pr3983.7560
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.
|
@@ -285,11 +285,12 @@ export declare function ciToolRoutes(capabilities: Map<string, Capability>): imp
|
|
|
285
285
|
"/api/v1/tools/ask": {
|
|
286
286
|
$post: {
|
|
287
287
|
output: {
|
|
288
|
-
|
|
288
|
+
ok: false;
|
|
289
|
+
code: 'unavailable';
|
|
289
290
|
message: string;
|
|
290
291
|
};
|
|
291
292
|
outputFormat: "json";
|
|
292
|
-
status:
|
|
293
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
293
294
|
input: {
|
|
294
295
|
json: {
|
|
295
296
|
questions: {
|
|
@@ -307,12 +308,11 @@ export declare function ciToolRoutes(capabilities: Map<string, Capability>): imp
|
|
|
307
308
|
};
|
|
308
309
|
} | {
|
|
309
310
|
output: {
|
|
310
|
-
|
|
311
|
-
code: 'unavailable';
|
|
311
|
+
code: 'capability_revoked';
|
|
312
312
|
message: string;
|
|
313
313
|
};
|
|
314
314
|
outputFormat: "json";
|
|
315
|
-
status:
|
|
315
|
+
status: 401;
|
|
316
316
|
input: {
|
|
317
317
|
json: {
|
|
318
318
|
questions: {
|
|
@@ -380,11 +380,12 @@ export declare function ciToolRoutes(capabilities: Map<string, Capability>): imp
|
|
|
380
380
|
"/api/v1/tools/cancel-wait": {
|
|
381
381
|
$post: {
|
|
382
382
|
output: {
|
|
383
|
-
|
|
383
|
+
cancelled: false;
|
|
384
|
+
code: 'unavailable';
|
|
384
385
|
message: string;
|
|
385
386
|
};
|
|
386
387
|
outputFormat: "json";
|
|
387
|
-
status:
|
|
388
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
388
389
|
input: {
|
|
389
390
|
json: {
|
|
390
391
|
wait_id: string;
|
|
@@ -392,12 +393,11 @@ export declare function ciToolRoutes(capabilities: Map<string, Capability>): imp
|
|
|
392
393
|
};
|
|
393
394
|
} | {
|
|
394
395
|
output: {
|
|
395
|
-
|
|
396
|
-
code: 'unavailable';
|
|
396
|
+
code: 'capability_revoked';
|
|
397
397
|
message: string;
|
|
398
398
|
};
|
|
399
399
|
outputFormat: "json";
|
|
400
|
-
status:
|
|
400
|
+
status: 401;
|
|
401
401
|
input: {
|
|
402
402
|
json: {
|
|
403
403
|
wait_id: string;
|
|
@@ -445,11 +445,12 @@ export declare function ciToolRoutes(capabilities: Map<string, Capability>): imp
|
|
|
445
445
|
"/api/v1/tools/done": {
|
|
446
446
|
$post: {
|
|
447
447
|
output: {
|
|
448
|
-
|
|
448
|
+
ok: false;
|
|
449
|
+
code: 'unavailable';
|
|
449
450
|
message: string;
|
|
450
451
|
};
|
|
451
452
|
outputFormat: "json";
|
|
452
|
-
status:
|
|
453
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
453
454
|
input: {
|
|
454
455
|
json: {
|
|
455
456
|
summary?: string | undefined;
|
|
@@ -457,12 +458,11 @@ export declare function ciToolRoutes(capabilities: Map<string, Capability>): imp
|
|
|
457
458
|
};
|
|
458
459
|
} | {
|
|
459
460
|
output: {
|
|
460
|
-
|
|
461
|
-
code: 'unavailable';
|
|
461
|
+
code: 'capability_revoked';
|
|
462
462
|
message: string;
|
|
463
463
|
};
|
|
464
464
|
outputFormat: "json";
|
|
465
|
-
status:
|
|
465
|
+
status: 401;
|
|
466
466
|
input: {
|
|
467
467
|
json: {
|
|
468
468
|
summary?: string | undefined;
|
|
@@ -545,11 +545,13 @@ export declare function ciToolRoutes(capabilities: Map<string, Capability>): imp
|
|
|
545
545
|
"/api/v1/tools/preview-stop": {
|
|
546
546
|
$post: {
|
|
547
547
|
output: {
|
|
548
|
-
|
|
548
|
+
ok: boolean;
|
|
549
|
+
code: "adopted" | "approval_required" | "headless" | "invalid_input" | "not_registered" | "port_held" | "port_in_use" | "preview_disabled" | "restarted" | "stopped" | "unavailable" | "worktree_missing";
|
|
549
550
|
message: string;
|
|
551
|
+
hint: string;
|
|
550
552
|
};
|
|
551
553
|
outputFormat: "json";
|
|
552
|
-
status:
|
|
554
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
553
555
|
input: {
|
|
554
556
|
json: {
|
|
555
557
|
port: number;
|
|
@@ -558,13 +560,11 @@ export declare function ciToolRoutes(capabilities: Map<string, Capability>): imp
|
|
|
558
560
|
};
|
|
559
561
|
} | {
|
|
560
562
|
output: {
|
|
561
|
-
|
|
562
|
-
code: "adopted" | "approval_required" | "headless" | "invalid_input" | "not_registered" | "port_held" | "port_in_use" | "preview_disabled" | "restarted" | "stopped" | "unavailable" | "worktree_missing";
|
|
563
|
+
code: 'capability_revoked';
|
|
563
564
|
message: string;
|
|
564
|
-
hint: string;
|
|
565
565
|
};
|
|
566
566
|
outputFormat: "json";
|
|
567
|
-
status:
|
|
567
|
+
status: 401;
|
|
568
568
|
input: {
|
|
569
569
|
json: {
|
|
570
570
|
port: number;
|
|
@@ -577,11 +577,13 @@ export declare function ciToolRoutes(capabilities: Map<string, Capability>): imp
|
|
|
577
577
|
"/api/v1/tools/preview-serve": {
|
|
578
578
|
$post: {
|
|
579
579
|
output: {
|
|
580
|
-
|
|
580
|
+
ok: boolean;
|
|
581
|
+
code: "cezar_port" | "cwd_outside_worktree" | "headless" | "invalid_input" | "port_held" | "preview_disabled" | "registered" | "replaced" | "too_many" | "unavailable" | "worktree_missing";
|
|
581
582
|
message: string;
|
|
583
|
+
hint: string;
|
|
582
584
|
};
|
|
583
585
|
outputFormat: "json";
|
|
584
|
-
status:
|
|
586
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
585
587
|
input: {
|
|
586
588
|
json: {
|
|
587
589
|
command: string;
|
|
@@ -593,13 +595,11 @@ export declare function ciToolRoutes(capabilities: Map<string, Capability>): imp
|
|
|
593
595
|
};
|
|
594
596
|
} | {
|
|
595
597
|
output: {
|
|
596
|
-
|
|
597
|
-
code: "cezar_port" | "cwd_outside_worktree" | "headless" | "invalid_input" | "port_held" | "preview_disabled" | "registered" | "replaced" | "too_many" | "unavailable" | "worktree_missing";
|
|
598
|
+
code: 'capability_revoked';
|
|
598
599
|
message: string;
|
|
599
|
-
hint: string;
|
|
600
600
|
};
|
|
601
601
|
outputFormat: "json";
|
|
602
|
-
status:
|
|
602
|
+
status: 401;
|
|
603
603
|
input: {
|
|
604
604
|
json: {
|
|
605
605
|
command: string;
|
|
@@ -615,11 +615,12 @@ export declare function ciToolRoutes(capabilities: Map<string, Capability>): imp
|
|
|
615
615
|
"/api/v1/tools/automation": {
|
|
616
616
|
$post: {
|
|
617
617
|
output: {
|
|
618
|
-
|
|
618
|
+
ok: false;
|
|
619
|
+
code: import('../contract/index.js').ScheduledTaskRefusalCode;
|
|
619
620
|
message: string;
|
|
620
621
|
};
|
|
621
622
|
outputFormat: "json";
|
|
622
|
-
status:
|
|
623
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
623
624
|
input: {
|
|
624
625
|
json: {
|
|
625
626
|
action: "create";
|
|
@@ -699,12 +700,11 @@ export declare function ciToolRoutes(capabilities: Map<string, Capability>): imp
|
|
|
699
700
|
};
|
|
700
701
|
} | {
|
|
701
702
|
output: {
|
|
702
|
-
|
|
703
|
-
code: import('../contract/index.js').ScheduledTaskRefusalCode;
|
|
703
|
+
code: 'capability_revoked';
|
|
704
704
|
message: string;
|
|
705
705
|
};
|
|
706
706
|
outputFormat: "json";
|
|
707
|
-
status:
|
|
707
|
+
status: 401;
|
|
708
708
|
input: {
|
|
709
709
|
json: {
|
|
710
710
|
action: "create";
|
|
@@ -960,11 +960,12 @@ export declare function ciToolRoutes(capabilities: Map<string, Capability>): imp
|
|
|
960
960
|
"/api/v1/tools/schedule-task": {
|
|
961
961
|
$post: {
|
|
962
962
|
output: {
|
|
963
|
-
|
|
963
|
+
ok: false;
|
|
964
|
+
code: import('../contract/index.js').ScheduledTaskRefusalCode;
|
|
964
965
|
message: string;
|
|
965
966
|
};
|
|
966
967
|
outputFormat: "json";
|
|
967
|
-
status:
|
|
968
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
968
969
|
input: {
|
|
969
970
|
json: {
|
|
970
971
|
at?: string | undefined;
|
|
@@ -981,12 +982,11 @@ export declare function ciToolRoutes(capabilities: Map<string, Capability>): imp
|
|
|
981
982
|
};
|
|
982
983
|
} | {
|
|
983
984
|
output: {
|
|
984
|
-
|
|
985
|
-
code: import('../contract/index.js').ScheduledTaskRefusalCode;
|
|
985
|
+
code: 'capability_revoked';
|
|
986
986
|
message: string;
|
|
987
987
|
};
|
|
988
988
|
outputFormat: "json";
|
|
989
|
-
status:
|
|
989
|
+
status: 401;
|
|
990
990
|
input: {
|
|
991
991
|
json: {
|
|
992
992
|
at?: string | undefined;
|
|
@@ -1041,11 +1041,12 @@ export declare function ciToolRoutes(capabilities: Map<string, Capability>): imp
|
|
|
1041
1041
|
"/api/v1/tools/scheduled-tasks": {
|
|
1042
1042
|
$post: {
|
|
1043
1043
|
output: {
|
|
1044
|
-
|
|
1044
|
+
ok: false;
|
|
1045
|
+
code: import('../contract/index.js').ScheduledTaskRefusalCode;
|
|
1045
1046
|
message: string;
|
|
1046
1047
|
};
|
|
1047
1048
|
outputFormat: "json";
|
|
1048
|
-
status:
|
|
1049
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
1049
1050
|
input: {
|
|
1050
1051
|
json: {
|
|
1051
1052
|
at?: string | undefined;
|
|
@@ -1078,12 +1079,11 @@ export declare function ciToolRoutes(capabilities: Map<string, Capability>): imp
|
|
|
1078
1079
|
};
|
|
1079
1080
|
} | {
|
|
1080
1081
|
output: {
|
|
1081
|
-
|
|
1082
|
-
code: import('../contract/index.js').ScheduledTaskRefusalCode;
|
|
1082
|
+
code: 'capability_revoked';
|
|
1083
1083
|
message: string;
|
|
1084
1084
|
};
|
|
1085
1085
|
outputFormat: "json";
|
|
1086
|
-
status:
|
|
1086
|
+
status: 401;
|
|
1087
1087
|
input: {
|
|
1088
1088
|
json: {
|
|
1089
1089
|
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;
|
|
@@ -73,18 +85,6 @@ export declare function createDelegationRoutes(service: DelegationService, crede
|
|
|
73
85
|
offset?: string | undefined;
|
|
74
86
|
};
|
|
75
87
|
};
|
|
76
|
-
} | {
|
|
77
|
-
output: {
|
|
78
|
-
error: string;
|
|
79
|
-
code?: "invalid_input" | undefined;
|
|
80
|
-
};
|
|
81
|
-
outputFormat: "json";
|
|
82
|
-
status: 400;
|
|
83
|
-
input: {
|
|
84
|
-
query: {
|
|
85
|
-
offset?: string | undefined;
|
|
86
|
-
};
|
|
87
|
-
};
|
|
88
88
|
};
|
|
89
89
|
};
|
|
90
90
|
} & {
|
|
@@ -623,6 +623,18 @@ export declare function createDelegationRoutes(service: DelegationService, crede
|
|
|
623
623
|
} & {
|
|
624
624
|
"/:workerId": {
|
|
625
625
|
$get: {
|
|
626
|
+
output: {
|
|
627
|
+
error: string;
|
|
628
|
+
code?: "invalid_input" | undefined;
|
|
629
|
+
};
|
|
630
|
+
outputFormat: "json";
|
|
631
|
+
status: 400;
|
|
632
|
+
input: {
|
|
633
|
+
param: {
|
|
634
|
+
workerId: string;
|
|
635
|
+
};
|
|
636
|
+
};
|
|
637
|
+
} | {
|
|
626
638
|
output: {
|
|
627
639
|
workerId: string;
|
|
628
640
|
settled: boolean;
|
|
@@ -740,7 +752,11 @@ export declare function createDelegationRoutes(service: DelegationService, crede
|
|
|
740
752
|
workerId: string;
|
|
741
753
|
};
|
|
742
754
|
};
|
|
743
|
-
}
|
|
755
|
+
};
|
|
756
|
+
};
|
|
757
|
+
} & {
|
|
758
|
+
"/:workerId/collect": {
|
|
759
|
+
$post: {
|
|
744
760
|
output: {
|
|
745
761
|
error: string;
|
|
746
762
|
code?: "invalid_input" | undefined;
|
|
@@ -751,12 +767,10 @@ export declare function createDelegationRoutes(service: DelegationService, crede
|
|
|
751
767
|
param: {
|
|
752
768
|
workerId: string;
|
|
753
769
|
};
|
|
770
|
+
} & {
|
|
771
|
+
json: Record<string, never>;
|
|
754
772
|
};
|
|
755
|
-
}
|
|
756
|
-
};
|
|
757
|
-
} & {
|
|
758
|
-
"/:workerId/collect": {
|
|
759
|
-
$post: {
|
|
773
|
+
} | {
|
|
760
774
|
output: {
|
|
761
775
|
workerId: string;
|
|
762
776
|
parentRunId: string;
|
|
@@ -879,7 +893,11 @@ export declare function createDelegationRoutes(service: DelegationService, crede
|
|
|
879
893
|
} & {
|
|
880
894
|
json: Record<string, never>;
|
|
881
895
|
};
|
|
882
|
-
}
|
|
896
|
+
};
|
|
897
|
+
};
|
|
898
|
+
} & {
|
|
899
|
+
"/:workerId/steer": {
|
|
900
|
+
$post: {
|
|
883
901
|
output: {
|
|
884
902
|
error: string;
|
|
885
903
|
code?: "invalid_input" | undefined;
|
|
@@ -891,13 +909,11 @@ export declare function createDelegationRoutes(service: DelegationService, crede
|
|
|
891
909
|
workerId: string;
|
|
892
910
|
};
|
|
893
911
|
} & {
|
|
894
|
-
json:
|
|
912
|
+
json: {
|
|
913
|
+
text: string;
|
|
914
|
+
};
|
|
895
915
|
};
|
|
896
|
-
}
|
|
897
|
-
};
|
|
898
|
-
} & {
|
|
899
|
-
"/:workerId/steer": {
|
|
900
|
-
$post: {
|
|
916
|
+
} | {
|
|
901
917
|
output: {
|
|
902
918
|
workerId: string;
|
|
903
919
|
state: "delivered" | "queued";
|
|
@@ -913,7 +929,11 @@ export declare function createDelegationRoutes(service: DelegationService, crede
|
|
|
913
929
|
text: string;
|
|
914
930
|
};
|
|
915
931
|
};
|
|
916
|
-
}
|
|
932
|
+
};
|
|
933
|
+
};
|
|
934
|
+
} & {
|
|
935
|
+
"/:workerId/stop": {
|
|
936
|
+
$post: {
|
|
917
937
|
output: {
|
|
918
938
|
error: string;
|
|
919
939
|
code?: "invalid_input" | undefined;
|
|
@@ -925,15 +945,9 @@ export declare function createDelegationRoutes(service: DelegationService, crede
|
|
|
925
945
|
workerId: string;
|
|
926
946
|
};
|
|
927
947
|
} & {
|
|
928
|
-
json:
|
|
929
|
-
text: string;
|
|
930
|
-
};
|
|
948
|
+
json: Record<string, never>;
|
|
931
949
|
};
|
|
932
|
-
}
|
|
933
|
-
};
|
|
934
|
-
} & {
|
|
935
|
-
"/:workerId/stop": {
|
|
936
|
-
$post: {
|
|
950
|
+
} | {
|
|
937
951
|
output: {
|
|
938
952
|
workerId: string;
|
|
939
953
|
state: "stopping" | "terminated";
|
|
@@ -947,7 +961,11 @@ export declare function createDelegationRoutes(service: DelegationService, crede
|
|
|
947
961
|
} & {
|
|
948
962
|
json: Record<string, never>;
|
|
949
963
|
};
|
|
950
|
-
}
|
|
964
|
+
};
|
|
965
|
+
};
|
|
966
|
+
} & {
|
|
967
|
+
"/:workerId/destroy": {
|
|
968
|
+
$post: {
|
|
951
969
|
output: {
|
|
952
970
|
error: string;
|
|
953
971
|
code?: "invalid_input" | undefined;
|
|
@@ -959,13 +977,11 @@ export declare function createDelegationRoutes(service: DelegationService, crede
|
|
|
959
977
|
workerId: string;
|
|
960
978
|
};
|
|
961
979
|
} & {
|
|
962
|
-
json:
|
|
980
|
+
json: {
|
|
981
|
+
discardWork?: true | undefined;
|
|
982
|
+
};
|
|
963
983
|
};
|
|
964
|
-
}
|
|
965
|
-
};
|
|
966
|
-
} & {
|
|
967
|
-
"/:workerId/destroy": {
|
|
968
|
-
$post: {
|
|
984
|
+
} | {
|
|
969
985
|
output: {
|
|
970
986
|
workerId: string;
|
|
971
987
|
state: "complete" | "incomplete";
|
|
@@ -994,22 +1010,6 @@ export declare function createDelegationRoutes(service: DelegationService, crede
|
|
|
994
1010
|
discardWork?: true | undefined;
|
|
995
1011
|
};
|
|
996
1012
|
};
|
|
997
|
-
} | {
|
|
998
|
-
output: {
|
|
999
|
-
error: string;
|
|
1000
|
-
code?: "invalid_input" | undefined;
|
|
1001
|
-
};
|
|
1002
|
-
outputFormat: "json";
|
|
1003
|
-
status: 400;
|
|
1004
|
-
input: {
|
|
1005
|
-
param: {
|
|
1006
|
-
workerId: string;
|
|
1007
|
-
};
|
|
1008
|
-
} & {
|
|
1009
|
-
json: {
|
|
1010
|
-
discardWork?: true | undefined;
|
|
1011
|
-
};
|
|
1012
|
-
};
|
|
1013
1013
|
} | {
|
|
1014
1014
|
output: {
|
|
1015
1015
|
workerId: string;
|
|
@@ -1045,13 +1045,11 @@ export declare function createDelegationRoutes(service: DelegationService, crede
|
|
|
1045
1045
|
"/:workerId/diff": {
|
|
1046
1046
|
$get: {
|
|
1047
1047
|
output: {
|
|
1048
|
-
|
|
1049
|
-
|
|
1050
|
-
diff: string;
|
|
1051
|
-
truncated: boolean;
|
|
1048
|
+
error: string;
|
|
1049
|
+
code?: "invalid_input" | undefined;
|
|
1052
1050
|
};
|
|
1053
1051
|
outputFormat: "json";
|
|
1054
|
-
status:
|
|
1052
|
+
status: 400;
|
|
1055
1053
|
input: {
|
|
1056
1054
|
param: {
|
|
1057
1055
|
workerId: string;
|
|
@@ -1059,11 +1057,13 @@ export declare function createDelegationRoutes(service: DelegationService, crede
|
|
|
1059
1057
|
};
|
|
1060
1058
|
} | {
|
|
1061
1059
|
output: {
|
|
1062
|
-
|
|
1063
|
-
|
|
1060
|
+
workerId: string;
|
|
1061
|
+
baselineSha: string;
|
|
1062
|
+
diff: string;
|
|
1063
|
+
truncated: boolean;
|
|
1064
1064
|
};
|
|
1065
1065
|
outputFormat: "json";
|
|
1066
|
-
status:
|
|
1066
|
+
status: 200;
|
|
1067
1067
|
input: {
|
|
1068
1068
|
param: {
|
|
1069
1069
|
workerId: string;
|
|
@@ -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;
|
|
@@ -48,18 +60,6 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
|
|
|
48
60
|
offset?: string | undefined;
|
|
49
61
|
};
|
|
50
62
|
};
|
|
51
|
-
} | {
|
|
52
|
-
output: {
|
|
53
|
-
error: string;
|
|
54
|
-
code?: "invalid_input" | undefined;
|
|
55
|
-
};
|
|
56
|
-
outputFormat: "json";
|
|
57
|
-
status: 400;
|
|
58
|
-
input: {
|
|
59
|
-
query: {
|
|
60
|
-
offset?: string | undefined;
|
|
61
|
-
};
|
|
62
|
-
};
|
|
63
63
|
};
|
|
64
64
|
};
|
|
65
65
|
} & {
|
|
@@ -598,6 +598,18 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
|
|
|
598
598
|
} & {
|
|
599
599
|
"/:workerId": {
|
|
600
600
|
$get: {
|
|
601
|
+
output: {
|
|
602
|
+
error: string;
|
|
603
|
+
code?: "invalid_input" | undefined;
|
|
604
|
+
};
|
|
605
|
+
outputFormat: "json";
|
|
606
|
+
status: 400;
|
|
607
|
+
input: {
|
|
608
|
+
param: {
|
|
609
|
+
workerId: string;
|
|
610
|
+
};
|
|
611
|
+
};
|
|
612
|
+
} | {
|
|
601
613
|
output: {
|
|
602
614
|
workerId: string;
|
|
603
615
|
settled: boolean;
|
|
@@ -715,7 +727,11 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
|
|
|
715
727
|
workerId: string;
|
|
716
728
|
};
|
|
717
729
|
};
|
|
718
|
-
}
|
|
730
|
+
};
|
|
731
|
+
};
|
|
732
|
+
} & {
|
|
733
|
+
"/:workerId/collect": {
|
|
734
|
+
$post: {
|
|
719
735
|
output: {
|
|
720
736
|
error: string;
|
|
721
737
|
code?: "invalid_input" | undefined;
|
|
@@ -726,12 +742,10 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
|
|
|
726
742
|
param: {
|
|
727
743
|
workerId: string;
|
|
728
744
|
};
|
|
745
|
+
} & {
|
|
746
|
+
json: Record<string, never>;
|
|
729
747
|
};
|
|
730
|
-
}
|
|
731
|
-
};
|
|
732
|
-
} & {
|
|
733
|
-
"/:workerId/collect": {
|
|
734
|
-
$post: {
|
|
748
|
+
} | {
|
|
735
749
|
output: {
|
|
736
750
|
workerId: string;
|
|
737
751
|
parentRunId: string;
|
|
@@ -854,7 +868,11 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
|
|
|
854
868
|
} & {
|
|
855
869
|
json: Record<string, never>;
|
|
856
870
|
};
|
|
857
|
-
}
|
|
871
|
+
};
|
|
872
|
+
};
|
|
873
|
+
} & {
|
|
874
|
+
"/:workerId/steer": {
|
|
875
|
+
$post: {
|
|
858
876
|
output: {
|
|
859
877
|
error: string;
|
|
860
878
|
code?: "invalid_input" | undefined;
|
|
@@ -866,13 +884,11 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
|
|
|
866
884
|
workerId: string;
|
|
867
885
|
};
|
|
868
886
|
} & {
|
|
869
|
-
json:
|
|
887
|
+
json: {
|
|
888
|
+
text: string;
|
|
889
|
+
};
|
|
870
890
|
};
|
|
871
|
-
}
|
|
872
|
-
};
|
|
873
|
-
} & {
|
|
874
|
-
"/:workerId/steer": {
|
|
875
|
-
$post: {
|
|
891
|
+
} | {
|
|
876
892
|
output: {
|
|
877
893
|
workerId: string;
|
|
878
894
|
state: "delivered" | "queued";
|
|
@@ -888,7 +904,11 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
|
|
|
888
904
|
text: string;
|
|
889
905
|
};
|
|
890
906
|
};
|
|
891
|
-
}
|
|
907
|
+
};
|
|
908
|
+
};
|
|
909
|
+
} & {
|
|
910
|
+
"/:workerId/stop": {
|
|
911
|
+
$post: {
|
|
892
912
|
output: {
|
|
893
913
|
error: string;
|
|
894
914
|
code?: "invalid_input" | undefined;
|
|
@@ -900,15 +920,9 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
|
|
|
900
920
|
workerId: string;
|
|
901
921
|
};
|
|
902
922
|
} & {
|
|
903
|
-
json:
|
|
904
|
-
text: string;
|
|
905
|
-
};
|
|
923
|
+
json: Record<string, never>;
|
|
906
924
|
};
|
|
907
|
-
}
|
|
908
|
-
};
|
|
909
|
-
} & {
|
|
910
|
-
"/:workerId/stop": {
|
|
911
|
-
$post: {
|
|
925
|
+
} | {
|
|
912
926
|
output: {
|
|
913
927
|
workerId: string;
|
|
914
928
|
state: "stopping" | "terminated";
|
|
@@ -922,7 +936,11 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
|
|
|
922
936
|
} & {
|
|
923
937
|
json: Record<string, never>;
|
|
924
938
|
};
|
|
925
|
-
}
|
|
939
|
+
};
|
|
940
|
+
};
|
|
941
|
+
} & {
|
|
942
|
+
"/:workerId/destroy": {
|
|
943
|
+
$post: {
|
|
926
944
|
output: {
|
|
927
945
|
error: string;
|
|
928
946
|
code?: "invalid_input" | undefined;
|
|
@@ -934,13 +952,11 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
|
|
|
934
952
|
workerId: string;
|
|
935
953
|
};
|
|
936
954
|
} & {
|
|
937
|
-
json:
|
|
955
|
+
json: {
|
|
956
|
+
discardWork?: true | undefined;
|
|
957
|
+
};
|
|
938
958
|
};
|
|
939
|
-
}
|
|
940
|
-
};
|
|
941
|
-
} & {
|
|
942
|
-
"/:workerId/destroy": {
|
|
943
|
-
$post: {
|
|
959
|
+
} | {
|
|
944
960
|
output: {
|
|
945
961
|
workerId: string;
|
|
946
962
|
state: "complete" | "incomplete";
|
|
@@ -969,22 +985,6 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
|
|
|
969
985
|
discardWork?: true | undefined;
|
|
970
986
|
};
|
|
971
987
|
};
|
|
972
|
-
} | {
|
|
973
|
-
output: {
|
|
974
|
-
error: string;
|
|
975
|
-
code?: "invalid_input" | undefined;
|
|
976
|
-
};
|
|
977
|
-
outputFormat: "json";
|
|
978
|
-
status: 400;
|
|
979
|
-
input: {
|
|
980
|
-
param: {
|
|
981
|
-
workerId: string;
|
|
982
|
-
};
|
|
983
|
-
} & {
|
|
984
|
-
json: {
|
|
985
|
-
discardWork?: true | undefined;
|
|
986
|
-
};
|
|
987
|
-
};
|
|
988
988
|
} | {
|
|
989
989
|
output: {
|
|
990
990
|
workerId: string;
|
|
@@ -1020,13 +1020,11 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
|
|
|
1020
1020
|
"/:workerId/diff": {
|
|
1021
1021
|
$get: {
|
|
1022
1022
|
output: {
|
|
1023
|
-
|
|
1024
|
-
|
|
1025
|
-
diff: string;
|
|
1026
|
-
truncated: boolean;
|
|
1023
|
+
error: string;
|
|
1024
|
+
code?: "invalid_input" | undefined;
|
|
1027
1025
|
};
|
|
1028
1026
|
outputFormat: "json";
|
|
1029
|
-
status:
|
|
1027
|
+
status: 400;
|
|
1030
1028
|
input: {
|
|
1031
1029
|
param: {
|
|
1032
1030
|
workerId: string;
|
|
@@ -1034,11 +1032,13 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
|
|
|
1034
1032
|
};
|
|
1035
1033
|
} | {
|
|
1036
1034
|
output: {
|
|
1037
|
-
|
|
1038
|
-
|
|
1035
|
+
workerId: string;
|
|
1036
|
+
baselineSha: string;
|
|
1037
|
+
diff: string;
|
|
1038
|
+
truncated: boolean;
|
|
1039
1039
|
};
|
|
1040
1040
|
outputFormat: "json";
|
|
1041
|
-
status:
|
|
1041
|
+
status: 200;
|
|
1042
1042
|
input: {
|
|
1043
1043
|
param: {
|
|
1044
1044
|
workerId: string;
|
|
@@ -58,6 +58,29 @@ export declare function ciProgressPlugs(): {
|
|
|
58
58
|
export declare function createActivityRoutes(routeDeps: ActivityRouteDeps): import("hono/hono-base").HonoBase<import("hono/types").BlankEnv, {
|
|
59
59
|
"/workspace/activity": {
|
|
60
60
|
$get: {
|
|
61
|
+
output: {
|
|
62
|
+
error: string;
|
|
63
|
+
code?: "invalid_input" | undefined;
|
|
64
|
+
};
|
|
65
|
+
outputFormat: "json";
|
|
66
|
+
status: 400;
|
|
67
|
+
input: {
|
|
68
|
+
query: {
|
|
69
|
+
project?: string | undefined;
|
|
70
|
+
};
|
|
71
|
+
};
|
|
72
|
+
} | {
|
|
73
|
+
output: {
|
|
74
|
+
error: string;
|
|
75
|
+
};
|
|
76
|
+
outputFormat: "json";
|
|
77
|
+
status: 404 | 409 | 503;
|
|
78
|
+
input: {
|
|
79
|
+
query: {
|
|
80
|
+
project?: string | undefined;
|
|
81
|
+
};
|
|
82
|
+
};
|
|
83
|
+
} | {
|
|
61
84
|
output: {
|
|
62
85
|
generatedAt: string;
|
|
63
86
|
projects: {
|
|
@@ -288,29 +311,6 @@ export declare function createActivityRoutes(routeDeps: ActivityRouteDeps): impo
|
|
|
288
311
|
project?: string | undefined;
|
|
289
312
|
};
|
|
290
313
|
};
|
|
291
|
-
} | {
|
|
292
|
-
output: {
|
|
293
|
-
error: string;
|
|
294
|
-
code?: "invalid_input" | undefined;
|
|
295
|
-
};
|
|
296
|
-
outputFormat: "json";
|
|
297
|
-
status: 400;
|
|
298
|
-
input: {
|
|
299
|
-
query: {
|
|
300
|
-
project?: string | undefined;
|
|
301
|
-
};
|
|
302
|
-
};
|
|
303
|
-
} | {
|
|
304
|
-
output: {
|
|
305
|
-
error: string;
|
|
306
|
-
};
|
|
307
|
-
outputFormat: "json";
|
|
308
|
-
status: 404 | 409 | 503;
|
|
309
|
-
input: {
|
|
310
|
-
query: {
|
|
311
|
-
project?: string | undefined;
|
|
312
|
-
};
|
|
313
|
-
};
|
|
314
314
|
};
|
|
315
315
|
};
|
|
316
316
|
}, "/", "/workspace/activity">;
|
|
@@ -40,7 +40,7 @@ export declare const reportsRoutes: import("hono/hono-base").HonoBase<ProjectApi
|
|
|
40
40
|
error: string;
|
|
41
41
|
};
|
|
42
42
|
outputFormat: "json";
|
|
43
|
-
status:
|
|
43
|
+
status: 400;
|
|
44
44
|
input: {
|
|
45
45
|
query: {
|
|
46
46
|
q?: string | undefined;
|
|
@@ -53,7 +53,7 @@ export declare const reportsRoutes: import("hono/hono-base").HonoBase<ProjectApi
|
|
|
53
53
|
error: string;
|
|
54
54
|
};
|
|
55
55
|
outputFormat: "json";
|
|
56
|
-
status:
|
|
56
|
+
status: 409;
|
|
57
57
|
input: {
|
|
58
58
|
query: {
|
|
59
59
|
q?: string | undefined;
|
package/dist/server/server.d.ts
CHANGED
|
@@ -4257,19 +4257,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
4257
4257
|
} & {
|
|
4258
4258
|
"/repo/commit/:sha": {
|
|
4259
4259
|
$get: {
|
|
4260
|
-
output: string;
|
|
4261
|
-
outputFormat: "text";
|
|
4262
|
-
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
4263
|
-
input: {
|
|
4264
|
-
query: {
|
|
4265
|
-
structured?: string | undefined;
|
|
4266
|
-
};
|
|
4267
|
-
} & {
|
|
4268
|
-
param: {
|
|
4269
|
-
sha: string;
|
|
4270
|
-
};
|
|
4271
|
-
};
|
|
4272
|
-
} | {
|
|
4273
4260
|
output: {
|
|
4274
4261
|
error: string;
|
|
4275
4262
|
code?: "invalid_input" | undefined;
|
|
@@ -4333,6 +4320,19 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
4333
4320
|
sha: string;
|
|
4334
4321
|
};
|
|
4335
4322
|
};
|
|
4323
|
+
} | {
|
|
4324
|
+
output: string;
|
|
4325
|
+
outputFormat: "text";
|
|
4326
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
4327
|
+
input: {
|
|
4328
|
+
query: {
|
|
4329
|
+
structured?: string | undefined;
|
|
4330
|
+
};
|
|
4331
|
+
} & {
|
|
4332
|
+
param: {
|
|
4333
|
+
sha: string;
|
|
4334
|
+
};
|
|
4335
|
+
};
|
|
4336
4336
|
};
|
|
4337
4337
|
};
|
|
4338
4338
|
} & {
|
|
@@ -18096,20 +18096,20 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
18096
18096
|
} & {
|
|
18097
18097
|
"/runs/:id/handoff": {
|
|
18098
18098
|
$get: {
|
|
18099
|
-
output:
|
|
18100
|
-
|
|
18101
|
-
|
|
18099
|
+
output: {
|
|
18100
|
+
error: string;
|
|
18101
|
+
};
|
|
18102
|
+
outputFormat: "json";
|
|
18103
|
+
status: 404;
|
|
18102
18104
|
input: {
|
|
18103
18105
|
param: {
|
|
18104
18106
|
id: string;
|
|
18105
18107
|
};
|
|
18106
18108
|
};
|
|
18107
18109
|
} | {
|
|
18108
|
-
output:
|
|
18109
|
-
|
|
18110
|
-
|
|
18111
|
-
outputFormat: "json";
|
|
18112
|
-
status: 404;
|
|
18110
|
+
output: string;
|
|
18111
|
+
outputFormat: "text";
|
|
18112
|
+
status: 200;
|
|
18113
18113
|
input: {
|
|
18114
18114
|
param: {
|
|
18115
18115
|
id: string;
|
|
@@ -18147,20 +18147,20 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
18147
18147
|
} & {
|
|
18148
18148
|
"/runs/:id/diff": {
|
|
18149
18149
|
$get: {
|
|
18150
|
-
output:
|
|
18151
|
-
|
|
18152
|
-
|
|
18150
|
+
output: {
|
|
18151
|
+
error: string;
|
|
18152
|
+
};
|
|
18153
|
+
outputFormat: "json";
|
|
18154
|
+
status: 404 | 409;
|
|
18153
18155
|
input: {
|
|
18154
18156
|
param: {
|
|
18155
18157
|
id: string;
|
|
18156
18158
|
};
|
|
18157
18159
|
};
|
|
18158
18160
|
} | {
|
|
18159
|
-
output:
|
|
18160
|
-
|
|
18161
|
-
|
|
18162
|
-
outputFormat: "json";
|
|
18163
|
-
status: 404 | 409;
|
|
18161
|
+
output: string;
|
|
18162
|
+
outputFormat: "text";
|
|
18163
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
18164
18164
|
input: {
|
|
18165
18165
|
param: {
|
|
18166
18166
|
id: string;
|
|
@@ -20178,19 +20178,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
20178
20178
|
} & {
|
|
20179
20179
|
"/repo/commit/:sha": {
|
|
20180
20180
|
$get: {
|
|
20181
|
-
output: string;
|
|
20182
|
-
outputFormat: "text";
|
|
20183
|
-
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
20184
|
-
input: {
|
|
20185
|
-
query: {
|
|
20186
|
-
structured?: string | undefined;
|
|
20187
|
-
};
|
|
20188
|
-
} & {
|
|
20189
|
-
param: {
|
|
20190
|
-
sha: string;
|
|
20191
|
-
};
|
|
20192
|
-
};
|
|
20193
|
-
} | {
|
|
20194
20181
|
output: {
|
|
20195
20182
|
error: string;
|
|
20196
20183
|
code?: "invalid_input" | undefined;
|
|
@@ -20254,6 +20241,19 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
20254
20241
|
sha: string;
|
|
20255
20242
|
};
|
|
20256
20243
|
};
|
|
20244
|
+
} | {
|
|
20245
|
+
output: string;
|
|
20246
|
+
outputFormat: "text";
|
|
20247
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
20248
|
+
input: {
|
|
20249
|
+
query: {
|
|
20250
|
+
structured?: string | undefined;
|
|
20251
|
+
};
|
|
20252
|
+
} & {
|
|
20253
|
+
param: {
|
|
20254
|
+
sha: string;
|
|
20255
|
+
};
|
|
20256
|
+
};
|
|
20257
20257
|
};
|
|
20258
20258
|
};
|
|
20259
20259
|
} & {
|
|
@@ -34017,20 +34017,20 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
34017
34017
|
} & {
|
|
34018
34018
|
"/runs/:id/handoff": {
|
|
34019
34019
|
$get: {
|
|
34020
|
-
output:
|
|
34021
|
-
|
|
34022
|
-
|
|
34020
|
+
output: {
|
|
34021
|
+
error: string;
|
|
34022
|
+
};
|
|
34023
|
+
outputFormat: "json";
|
|
34024
|
+
status: 404;
|
|
34023
34025
|
input: {
|
|
34024
34026
|
param: {
|
|
34025
34027
|
id: string;
|
|
34026
34028
|
};
|
|
34027
34029
|
};
|
|
34028
34030
|
} | {
|
|
34029
|
-
output:
|
|
34030
|
-
|
|
34031
|
-
|
|
34032
|
-
outputFormat: "json";
|
|
34033
|
-
status: 404;
|
|
34031
|
+
output: string;
|
|
34032
|
+
outputFormat: "text";
|
|
34033
|
+
status: 200;
|
|
34034
34034
|
input: {
|
|
34035
34035
|
param: {
|
|
34036
34036
|
id: string;
|
|
@@ -34068,20 +34068,20 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
34068
34068
|
} & {
|
|
34069
34069
|
"/runs/:id/diff": {
|
|
34070
34070
|
$get: {
|
|
34071
|
-
output:
|
|
34072
|
-
|
|
34073
|
-
|
|
34071
|
+
output: {
|
|
34072
|
+
error: string;
|
|
34073
|
+
};
|
|
34074
|
+
outputFormat: "json";
|
|
34075
|
+
status: 404 | 409;
|
|
34074
34076
|
input: {
|
|
34075
34077
|
param: {
|
|
34076
34078
|
id: string;
|
|
34077
34079
|
};
|
|
34078
34080
|
};
|
|
34079
34081
|
} | {
|
|
34080
|
-
output:
|
|
34081
|
-
|
|
34082
|
-
|
|
34083
|
-
outputFormat: "json";
|
|
34084
|
-
status: 404 | 409;
|
|
34082
|
+
output: string;
|
|
34083
|
+
outputFormat: "text";
|
|
34084
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
34085
34085
|
input: {
|
|
34086
34086
|
param: {
|
|
34087
34087
|
id: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hearsay-tools/squawk",
|
|
3
|
-
"version": "0.18.0-
|
|
3
|
+
"version": "0.18.0-pr3983.7560",
|
|
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-
|
|
67
|
-
"@open-mercato/cezar-contract": "0.18.0-
|
|
66
|
+
"@open-mercato/cezar-api-client": "0.18.0-pr3983.7560",
|
|
67
|
+
"@open-mercato/cezar-contract": "0.18.0-pr3983.7560",
|
|
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": "b36ffe03abc26610d110b450cd0ad348afe58959"
|
|
85
85
|
}
|