@hearsay-tools/squawk 0.19.0-dev.8999 → 0.19.0-dev.9005
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 +7 -7
- package/dist/delegation/transport.d.ts +65 -65
- package/dist/server/models-routes.d.ts +12 -12
- package/dist/server/projects-routes.d.ts +45 -45
- package/dist/server/repo-routes.d.ts +13 -13
- package/dist/server/reports-api.d.ts +2 -2
- package/dist/server/runs-routes.d.ts +34 -34
- package/dist/server/server.d.ts +58 -58
- package/package.json +4 -4
|
@@ -121,12 +121,9 @@ export declare function ciToolRoutes(capabilities: Map<string, Capability>): imp
|
|
|
121
121
|
} & {
|
|
122
122
|
"/api/v1/tools/:name": {
|
|
123
123
|
$post: {
|
|
124
|
-
output:
|
|
125
|
-
code: string;
|
|
126
|
-
message: string;
|
|
127
|
-
};
|
|
124
|
+
output: never;
|
|
128
125
|
outputFormat: "json";
|
|
129
|
-
status:
|
|
126
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
130
127
|
input: {
|
|
131
128
|
json: unknown;
|
|
132
129
|
} & {
|
|
@@ -149,9 +146,12 @@ export declare function ciToolRoutes(capabilities: Map<string, Capability>): imp
|
|
|
149
146
|
};
|
|
150
147
|
};
|
|
151
148
|
} | {
|
|
152
|
-
output:
|
|
149
|
+
output: {
|
|
150
|
+
code: string;
|
|
151
|
+
message: string;
|
|
152
|
+
};
|
|
153
153
|
outputFormat: "json";
|
|
154
|
-
status:
|
|
154
|
+
status: 401;
|
|
155
155
|
input: {
|
|
156
156
|
json: unknown;
|
|
157
157
|
} & {
|
|
@@ -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;
|
|
@@ -54,18 +66,6 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
|
|
|
54
66
|
offset?: string | undefined;
|
|
55
67
|
};
|
|
56
68
|
};
|
|
57
|
-
} | {
|
|
58
|
-
output: {
|
|
59
|
-
error: string;
|
|
60
|
-
code?: "invalid_input" | undefined;
|
|
61
|
-
};
|
|
62
|
-
outputFormat: "json";
|
|
63
|
-
status: 400;
|
|
64
|
-
input: {
|
|
65
|
-
query: {
|
|
66
|
-
offset?: string | undefined;
|
|
67
|
-
};
|
|
68
|
-
};
|
|
69
69
|
};
|
|
70
70
|
};
|
|
71
71
|
} & {
|
|
@@ -652,6 +652,18 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
|
|
|
652
652
|
} & {
|
|
653
653
|
"/:workerId": {
|
|
654
654
|
$get: {
|
|
655
|
+
output: {
|
|
656
|
+
error: string;
|
|
657
|
+
code?: "invalid_input" | undefined;
|
|
658
|
+
};
|
|
659
|
+
outputFormat: "json";
|
|
660
|
+
status: 400;
|
|
661
|
+
input: {
|
|
662
|
+
param: {
|
|
663
|
+
workerId: string;
|
|
664
|
+
};
|
|
665
|
+
};
|
|
666
|
+
} | {
|
|
655
667
|
output: {
|
|
656
668
|
workerId: string;
|
|
657
669
|
settled: boolean;
|
|
@@ -776,7 +788,11 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
|
|
|
776
788
|
workerId: string;
|
|
777
789
|
};
|
|
778
790
|
};
|
|
779
|
-
}
|
|
791
|
+
};
|
|
792
|
+
};
|
|
793
|
+
} & {
|
|
794
|
+
"/:workerId/collect": {
|
|
795
|
+
$post: {
|
|
780
796
|
output: {
|
|
781
797
|
error: string;
|
|
782
798
|
code?: "invalid_input" | undefined;
|
|
@@ -787,12 +803,10 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
|
|
|
787
803
|
param: {
|
|
788
804
|
workerId: string;
|
|
789
805
|
};
|
|
806
|
+
} & {
|
|
807
|
+
json: Record<string, never>;
|
|
790
808
|
};
|
|
791
|
-
}
|
|
792
|
-
};
|
|
793
|
-
} & {
|
|
794
|
-
"/:workerId/collect": {
|
|
795
|
-
$post: {
|
|
809
|
+
} | {
|
|
796
810
|
output: {
|
|
797
811
|
workerId: string;
|
|
798
812
|
parentRunId: string;
|
|
@@ -915,7 +929,11 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
|
|
|
915
929
|
} & {
|
|
916
930
|
json: Record<string, never>;
|
|
917
931
|
};
|
|
918
|
-
}
|
|
932
|
+
};
|
|
933
|
+
};
|
|
934
|
+
} & {
|
|
935
|
+
"/:workerId/steer": {
|
|
936
|
+
$post: {
|
|
919
937
|
output: {
|
|
920
938
|
error: string;
|
|
921
939
|
code?: "invalid_input" | undefined;
|
|
@@ -927,13 +945,11 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
|
|
|
927
945
|
workerId: string;
|
|
928
946
|
};
|
|
929
947
|
} & {
|
|
930
|
-
json:
|
|
948
|
+
json: {
|
|
949
|
+
text: string;
|
|
950
|
+
};
|
|
931
951
|
};
|
|
932
|
-
}
|
|
933
|
-
};
|
|
934
|
-
} & {
|
|
935
|
-
"/:workerId/steer": {
|
|
936
|
-
$post: {
|
|
952
|
+
} | {
|
|
937
953
|
output: {
|
|
938
954
|
workerId: string;
|
|
939
955
|
state: "delivered" | "queued";
|
|
@@ -949,7 +965,11 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
|
|
|
949
965
|
text: string;
|
|
950
966
|
};
|
|
951
967
|
};
|
|
952
|
-
}
|
|
968
|
+
};
|
|
969
|
+
};
|
|
970
|
+
} & {
|
|
971
|
+
"/:workerId/stop": {
|
|
972
|
+
$post: {
|
|
953
973
|
output: {
|
|
954
974
|
error: string;
|
|
955
975
|
code?: "invalid_input" | undefined;
|
|
@@ -961,15 +981,9 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
|
|
|
961
981
|
workerId: string;
|
|
962
982
|
};
|
|
963
983
|
} & {
|
|
964
|
-
json:
|
|
965
|
-
text: string;
|
|
966
|
-
};
|
|
984
|
+
json: Record<string, never>;
|
|
967
985
|
};
|
|
968
|
-
}
|
|
969
|
-
};
|
|
970
|
-
} & {
|
|
971
|
-
"/:workerId/stop": {
|
|
972
|
-
$post: {
|
|
986
|
+
} | {
|
|
973
987
|
output: {
|
|
974
988
|
workerId: string;
|
|
975
989
|
state: "stopping" | "terminated";
|
|
@@ -983,7 +997,11 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
|
|
|
983
997
|
} & {
|
|
984
998
|
json: Record<string, never>;
|
|
985
999
|
};
|
|
986
|
-
}
|
|
1000
|
+
};
|
|
1001
|
+
};
|
|
1002
|
+
} & {
|
|
1003
|
+
"/:workerId/destroy": {
|
|
1004
|
+
$post: {
|
|
987
1005
|
output: {
|
|
988
1006
|
error: string;
|
|
989
1007
|
code?: "invalid_input" | undefined;
|
|
@@ -995,13 +1013,11 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
|
|
|
995
1013
|
workerId: string;
|
|
996
1014
|
};
|
|
997
1015
|
} & {
|
|
998
|
-
json:
|
|
1016
|
+
json: {
|
|
1017
|
+
discardWork?: true | undefined;
|
|
1018
|
+
};
|
|
999
1019
|
};
|
|
1000
|
-
}
|
|
1001
|
-
};
|
|
1002
|
-
} & {
|
|
1003
|
-
"/:workerId/destroy": {
|
|
1004
|
-
$post: {
|
|
1020
|
+
} | {
|
|
1005
1021
|
output: {
|
|
1006
1022
|
workerId: string;
|
|
1007
1023
|
state: "complete" | "incomplete";
|
|
@@ -1030,22 +1046,6 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
|
|
|
1030
1046
|
discardWork?: true | undefined;
|
|
1031
1047
|
};
|
|
1032
1048
|
};
|
|
1033
|
-
} | {
|
|
1034
|
-
output: {
|
|
1035
|
-
error: string;
|
|
1036
|
-
code?: "invalid_input" | undefined;
|
|
1037
|
-
};
|
|
1038
|
-
outputFormat: "json";
|
|
1039
|
-
status: 400;
|
|
1040
|
-
input: {
|
|
1041
|
-
param: {
|
|
1042
|
-
workerId: string;
|
|
1043
|
-
};
|
|
1044
|
-
} & {
|
|
1045
|
-
json: {
|
|
1046
|
-
discardWork?: true | undefined;
|
|
1047
|
-
};
|
|
1048
|
-
};
|
|
1049
1049
|
} | {
|
|
1050
1050
|
output: {
|
|
1051
1051
|
workerId: string;
|
|
@@ -1081,13 +1081,11 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
|
|
|
1081
1081
|
"/:workerId/diff": {
|
|
1082
1082
|
$get: {
|
|
1083
1083
|
output: {
|
|
1084
|
-
|
|
1085
|
-
|
|
1086
|
-
diff: string;
|
|
1087
|
-
truncated: boolean;
|
|
1084
|
+
error: string;
|
|
1085
|
+
code?: "invalid_input" | undefined;
|
|
1088
1086
|
};
|
|
1089
1087
|
outputFormat: "json";
|
|
1090
|
-
status:
|
|
1088
|
+
status: 400;
|
|
1091
1089
|
input: {
|
|
1092
1090
|
param: {
|
|
1093
1091
|
workerId: string;
|
|
@@ -1095,11 +1093,13 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
|
|
|
1095
1093
|
};
|
|
1096
1094
|
} | {
|
|
1097
1095
|
output: {
|
|
1098
|
-
|
|
1099
|
-
|
|
1096
|
+
workerId: string;
|
|
1097
|
+
baselineSha: string;
|
|
1098
|
+
diff: string;
|
|
1099
|
+
truncated: boolean;
|
|
1100
1100
|
};
|
|
1101
1101
|
outputFormat: "json";
|
|
1102
|
-
status:
|
|
1102
|
+
status: 200;
|
|
1103
1103
|
input: {
|
|
1104
1104
|
param: {
|
|
1105
1105
|
workerId: string;
|
|
@@ -22,18 +22,6 @@ export declare function createModelsRoutes(options: {
|
|
|
22
22
|
profileId?: string | undefined;
|
|
23
23
|
};
|
|
24
24
|
};
|
|
25
|
-
} | {
|
|
26
|
-
output: {
|
|
27
|
-
error: string;
|
|
28
|
-
};
|
|
29
|
-
outputFormat: "json";
|
|
30
|
-
status: 400;
|
|
31
|
-
input: {
|
|
32
|
-
query: {
|
|
33
|
-
runner: string | string[];
|
|
34
|
-
profileId?: string | undefined;
|
|
35
|
-
};
|
|
36
|
-
};
|
|
37
25
|
} | {
|
|
38
26
|
output: {
|
|
39
27
|
runner: string;
|
|
@@ -55,6 +43,18 @@ export declare function createModelsRoutes(options: {
|
|
|
55
43
|
profileId?: string | undefined;
|
|
56
44
|
};
|
|
57
45
|
};
|
|
46
|
+
} | {
|
|
47
|
+
output: {
|
|
48
|
+
error: string;
|
|
49
|
+
};
|
|
50
|
+
outputFormat: "json";
|
|
51
|
+
status: 400;
|
|
52
|
+
input: {
|
|
53
|
+
query: {
|
|
54
|
+
runner: string | string[];
|
|
55
|
+
profileId?: string | undefined;
|
|
56
|
+
};
|
|
57
|
+
};
|
|
58
58
|
};
|
|
59
59
|
};
|
|
60
60
|
}, "/", "/models">;
|
|
@@ -63,6 +63,17 @@ export declare function createProjectsRoutes(deps: ProjectsRouteDeps): import("h
|
|
|
63
63
|
} & {
|
|
64
64
|
"/projects": {
|
|
65
65
|
$post: {
|
|
66
|
+
output: {
|
|
67
|
+
error: string;
|
|
68
|
+
};
|
|
69
|
+
outputFormat: "json";
|
|
70
|
+
status: 400 | 500;
|
|
71
|
+
input: {
|
|
72
|
+
json: {
|
|
73
|
+
root: string;
|
|
74
|
+
};
|
|
75
|
+
};
|
|
76
|
+
} | {
|
|
66
77
|
output: {
|
|
67
78
|
project: {
|
|
68
79
|
id: string;
|
|
@@ -93,10 +104,10 @@ export declare function createProjectsRoutes(deps: ProjectsRouteDeps): import("h
|
|
|
93
104
|
agent: boolean;
|
|
94
105
|
}[] | undefined;
|
|
95
106
|
};
|
|
96
|
-
error
|
|
107
|
+
error: string;
|
|
97
108
|
};
|
|
98
109
|
outputFormat: "json";
|
|
99
|
-
status:
|
|
110
|
+
status: 409;
|
|
100
111
|
input: {
|
|
101
112
|
json: {
|
|
102
113
|
root: string;
|
|
@@ -133,21 +144,10 @@ export declare function createProjectsRoutes(deps: ProjectsRouteDeps): import("h
|
|
|
133
144
|
agent: boolean;
|
|
134
145
|
}[] | undefined;
|
|
135
146
|
};
|
|
136
|
-
error
|
|
137
|
-
};
|
|
138
|
-
outputFormat: "json";
|
|
139
|
-
status: 409;
|
|
140
|
-
input: {
|
|
141
|
-
json: {
|
|
142
|
-
root: string;
|
|
143
|
-
};
|
|
144
|
-
};
|
|
145
|
-
} | {
|
|
146
|
-
output: {
|
|
147
|
-
error: string;
|
|
147
|
+
error?: string | undefined;
|
|
148
148
|
};
|
|
149
149
|
outputFormat: "json";
|
|
150
|
-
status:
|
|
150
|
+
status: 200;
|
|
151
151
|
input: {
|
|
152
152
|
json: {
|
|
153
153
|
root: string;
|
|
@@ -306,7 +306,7 @@ export declare function createProjectsRoutes(deps: ProjectsRouteDeps): import("h
|
|
|
306
306
|
error: string;
|
|
307
307
|
};
|
|
308
308
|
outputFormat: "json";
|
|
309
|
-
status:
|
|
309
|
+
status: 404;
|
|
310
310
|
input: {
|
|
311
311
|
param: {
|
|
312
312
|
projectId: string;
|
|
@@ -317,7 +317,7 @@ export declare function createProjectsRoutes(deps: ProjectsRouteDeps): import("h
|
|
|
317
317
|
error: string;
|
|
318
318
|
};
|
|
319
319
|
outputFormat: "json";
|
|
320
|
-
status:
|
|
320
|
+
status: 400;
|
|
321
321
|
input: {
|
|
322
322
|
param: {
|
|
323
323
|
projectId: string;
|
|
@@ -342,6 +342,27 @@ export declare function createProjectsRoutes(deps: ProjectsRouteDeps): import("h
|
|
|
342
342
|
} & {
|
|
343
343
|
"/projects/:projectId/webhooks": {
|
|
344
344
|
$post: {
|
|
345
|
+
output: {
|
|
346
|
+
error: string;
|
|
347
|
+
};
|
|
348
|
+
outputFormat: "json";
|
|
349
|
+
status: 400 | 404 | 409 | 500;
|
|
350
|
+
input: {
|
|
351
|
+
json: {
|
|
352
|
+
name: string;
|
|
353
|
+
description?: string | undefined;
|
|
354
|
+
url: string;
|
|
355
|
+
token?: string | undefined;
|
|
356
|
+
tasks?: boolean | undefined;
|
|
357
|
+
triggers?: ("cancelled" | "done" | "failed" | "needs-you" | "running" | "waiting-ci" | "waiting-other" | "waiting-timer" | "waiting-workers")[] | undefined;
|
|
358
|
+
agent?: boolean | undefined;
|
|
359
|
+
};
|
|
360
|
+
} & {
|
|
361
|
+
param: {
|
|
362
|
+
projectId: string;
|
|
363
|
+
};
|
|
364
|
+
};
|
|
365
|
+
} | {
|
|
345
366
|
output: {
|
|
346
367
|
project: {
|
|
347
368
|
id: string;
|
|
@@ -400,27 +421,6 @@ export declare function createProjectsRoutes(deps: ProjectsRouteDeps): import("h
|
|
|
400
421
|
projectId: string;
|
|
401
422
|
};
|
|
402
423
|
};
|
|
403
|
-
} | {
|
|
404
|
-
output: {
|
|
405
|
-
error: string;
|
|
406
|
-
};
|
|
407
|
-
outputFormat: "json";
|
|
408
|
-
status: 400 | 404 | 409 | 500;
|
|
409
|
-
input: {
|
|
410
|
-
json: {
|
|
411
|
-
name: string;
|
|
412
|
-
description?: string | undefined;
|
|
413
|
-
url: string;
|
|
414
|
-
token?: string | undefined;
|
|
415
|
-
tasks?: boolean | undefined;
|
|
416
|
-
triggers?: ("cancelled" | "done" | "failed" | "needs-you" | "running" | "waiting-ci" | "waiting-other" | "waiting-timer" | "waiting-workers")[] | undefined;
|
|
417
|
-
agent?: boolean | undefined;
|
|
418
|
-
};
|
|
419
|
-
} & {
|
|
420
|
-
param: {
|
|
421
|
-
projectId: string;
|
|
422
|
-
};
|
|
423
|
-
};
|
|
424
424
|
};
|
|
425
425
|
};
|
|
426
426
|
} & {
|
|
@@ -618,10 +618,13 @@ export declare function createProjectsRoutes(deps: ProjectsRouteDeps): import("h
|
|
|
618
618
|
};
|
|
619
619
|
} | {
|
|
620
620
|
output: {
|
|
621
|
-
|
|
621
|
+
ok: boolean;
|
|
622
|
+
status?: number | undefined;
|
|
623
|
+
error?: string | undefined;
|
|
624
|
+
dryRun?: boolean | undefined;
|
|
622
625
|
};
|
|
623
626
|
outputFormat: "json";
|
|
624
|
-
status:
|
|
627
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
625
628
|
input: {
|
|
626
629
|
param: {
|
|
627
630
|
projectId: string;
|
|
@@ -630,13 +633,10 @@ export declare function createProjectsRoutes(deps: ProjectsRouteDeps): import("h
|
|
|
630
633
|
};
|
|
631
634
|
} | {
|
|
632
635
|
output: {
|
|
633
|
-
|
|
634
|
-
status?: number | undefined;
|
|
635
|
-
error?: string | undefined;
|
|
636
|
-
dryRun?: boolean | undefined;
|
|
636
|
+
error: string;
|
|
637
637
|
};
|
|
638
638
|
outputFormat: "json";
|
|
639
|
-
status:
|
|
639
|
+
status: 404;
|
|
640
640
|
input: {
|
|
641
641
|
param: {
|
|
642
642
|
projectId: string;
|
|
@@ -344,19 +344,6 @@ export declare function createRepoRoutes(deps: RepoRouteDeps): import("hono/hono
|
|
|
344
344
|
} & {
|
|
345
345
|
"/repo/commit/:sha": {
|
|
346
346
|
$get: {
|
|
347
|
-
output: string;
|
|
348
|
-
outputFormat: "text";
|
|
349
|
-
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
350
|
-
input: {
|
|
351
|
-
query: {
|
|
352
|
-
structured?: string | undefined;
|
|
353
|
-
};
|
|
354
|
-
} & {
|
|
355
|
-
param: {
|
|
356
|
-
sha: string;
|
|
357
|
-
};
|
|
358
|
-
};
|
|
359
|
-
} | {
|
|
360
347
|
output: {
|
|
361
348
|
error: string;
|
|
362
349
|
code?: "invalid_input" | undefined;
|
|
@@ -420,6 +407,19 @@ export declare function createRepoRoutes(deps: RepoRouteDeps): import("hono/hono
|
|
|
420
407
|
sha: string;
|
|
421
408
|
};
|
|
422
409
|
};
|
|
410
|
+
} | {
|
|
411
|
+
output: string;
|
|
412
|
+
outputFormat: "text";
|
|
413
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
414
|
+
input: {
|
|
415
|
+
query: {
|
|
416
|
+
structured?: string | undefined;
|
|
417
|
+
};
|
|
418
|
+
} & {
|
|
419
|
+
param: {
|
|
420
|
+
sha: string;
|
|
421
|
+
};
|
|
422
|
+
};
|
|
423
423
|
};
|
|
424
424
|
};
|
|
425
425
|
} & {
|
|
@@ -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: 409;
|
|
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: 400;
|
|
57
57
|
input: {
|
|
58
58
|
query: {
|
|
59
59
|
q?: string | undefined;
|
|
@@ -94,6 +94,8 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
|
|
|
94
94
|
} | undefined;
|
|
95
95
|
invalidAsk?: boolean | undefined;
|
|
96
96
|
delegation?: {
|
|
97
|
+
role: "invalid";
|
|
98
|
+
} | {
|
|
97
99
|
role: "root";
|
|
98
100
|
conversation?: {
|
|
99
101
|
messages: {
|
|
@@ -328,8 +330,6 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
|
|
|
328
330
|
} | undefined;
|
|
329
331
|
executionRevision?: number | undefined;
|
|
330
332
|
executionStartSeq?: number | undefined;
|
|
331
|
-
} | {
|
|
332
|
-
role: "invalid";
|
|
333
333
|
} | undefined;
|
|
334
334
|
agentInputs?: {
|
|
335
335
|
conversation?: {
|
|
@@ -1941,6 +1941,8 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
|
|
|
1941
1941
|
} | undefined;
|
|
1942
1942
|
invalidAsk?: boolean | undefined;
|
|
1943
1943
|
delegation?: {
|
|
1944
|
+
role: "invalid";
|
|
1945
|
+
} | {
|
|
1944
1946
|
role: "root";
|
|
1945
1947
|
conversation?: {
|
|
1946
1948
|
messages: {
|
|
@@ -2175,8 +2177,6 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
|
|
|
2175
2177
|
} | undefined;
|
|
2176
2178
|
executionRevision?: number | undefined;
|
|
2177
2179
|
executionStartSeq?: number | undefined;
|
|
2178
|
-
} | {
|
|
2179
|
-
role: "invalid";
|
|
2180
2180
|
} | undefined;
|
|
2181
2181
|
agentInputs?: {
|
|
2182
2182
|
conversation?: {
|
|
@@ -3156,6 +3156,8 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
|
|
|
3156
3156
|
} | undefined;
|
|
3157
3157
|
invalidAsk?: boolean | undefined;
|
|
3158
3158
|
delegation?: {
|
|
3159
|
+
role: "invalid";
|
|
3160
|
+
} | {
|
|
3159
3161
|
role: "root";
|
|
3160
3162
|
conversation?: {
|
|
3161
3163
|
messages: {
|
|
@@ -3390,8 +3392,6 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
|
|
|
3390
3392
|
} | undefined;
|
|
3391
3393
|
executionRevision?: number | undefined;
|
|
3392
3394
|
executionStartSeq?: number | undefined;
|
|
3393
|
-
} | {
|
|
3394
|
-
role: "invalid";
|
|
3395
3395
|
} | undefined;
|
|
3396
3396
|
agentInputs?: {
|
|
3397
3397
|
conversation?: {
|
|
@@ -5142,6 +5142,8 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
|
|
|
5142
5142
|
currentStepId?: string | undefined;
|
|
5143
5143
|
error?: string | undefined;
|
|
5144
5144
|
delegation?: {
|
|
5145
|
+
role: "invalid";
|
|
5146
|
+
} | {
|
|
5145
5147
|
role: "root";
|
|
5146
5148
|
conversation?: {
|
|
5147
5149
|
messages: {
|
|
@@ -5376,8 +5378,6 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
|
|
|
5376
5378
|
} | undefined;
|
|
5377
5379
|
executionRevision?: number | undefined;
|
|
5378
5380
|
executionStartSeq?: number | undefined;
|
|
5379
|
-
} | {
|
|
5380
|
-
role: "invalid";
|
|
5381
5381
|
} | undefined;
|
|
5382
5382
|
lastWaitsError?: string | undefined;
|
|
5383
5383
|
automaticWakes?: number | undefined;
|
|
@@ -5615,6 +5615,8 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
|
|
|
5615
5615
|
} | undefined;
|
|
5616
5616
|
invalidAsk?: boolean | undefined;
|
|
5617
5617
|
delegation?: {
|
|
5618
|
+
role: "invalid";
|
|
5619
|
+
} | {
|
|
5618
5620
|
role: "root";
|
|
5619
5621
|
conversation?: {
|
|
5620
5622
|
messages: {
|
|
@@ -5849,8 +5851,6 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
|
|
|
5849
5851
|
} | undefined;
|
|
5850
5852
|
executionRevision?: number | undefined;
|
|
5851
5853
|
executionStartSeq?: number | undefined;
|
|
5852
|
-
} | {
|
|
5853
|
-
role: "invalid";
|
|
5854
5854
|
} | undefined;
|
|
5855
5855
|
agentInputs?: {
|
|
5856
5856
|
conversation?: {
|
|
@@ -6806,6 +6806,8 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
|
|
|
6806
6806
|
} | undefined;
|
|
6807
6807
|
invalidAsk?: boolean | undefined;
|
|
6808
6808
|
delegation?: {
|
|
6809
|
+
role: "invalid";
|
|
6810
|
+
} | {
|
|
6809
6811
|
role: "root";
|
|
6810
6812
|
conversation?: {
|
|
6811
6813
|
messages: {
|
|
@@ -7040,8 +7042,6 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
|
|
|
7040
7042
|
} | undefined;
|
|
7041
7043
|
executionRevision?: number | undefined;
|
|
7042
7044
|
executionStartSeq?: number | undefined;
|
|
7043
|
-
} | {
|
|
7044
|
-
role: "invalid";
|
|
7045
7045
|
} | undefined;
|
|
7046
7046
|
agentInputs?: {
|
|
7047
7047
|
conversation?: {
|
|
@@ -8735,6 +8735,8 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
|
|
|
8735
8735
|
currentStepId?: string | undefined;
|
|
8736
8736
|
error?: string | undefined;
|
|
8737
8737
|
delegation?: {
|
|
8738
|
+
role: "invalid";
|
|
8739
|
+
} | {
|
|
8738
8740
|
role: "root";
|
|
8739
8741
|
conversation?: {
|
|
8740
8742
|
messages: {
|
|
@@ -8969,8 +8971,6 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
|
|
|
8969
8971
|
} | undefined;
|
|
8970
8972
|
executionRevision?: number | undefined;
|
|
8971
8973
|
executionStartSeq?: number | undefined;
|
|
8972
|
-
} | {
|
|
8973
|
-
role: "invalid";
|
|
8974
8974
|
} | undefined;
|
|
8975
8975
|
lastWaitsError?: string | undefined;
|
|
8976
8976
|
automaticWakes?: number | undefined;
|
|
@@ -9268,6 +9268,8 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
|
|
|
9268
9268
|
} | undefined;
|
|
9269
9269
|
invalidAsk?: boolean | undefined;
|
|
9270
9270
|
delegation?: {
|
|
9271
|
+
role: "invalid";
|
|
9272
|
+
} | {
|
|
9271
9273
|
role: "root";
|
|
9272
9274
|
conversation?: {
|
|
9273
9275
|
messages: {
|
|
@@ -9502,8 +9504,6 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
|
|
|
9502
9504
|
} | undefined;
|
|
9503
9505
|
executionRevision?: number | undefined;
|
|
9504
9506
|
executionStartSeq?: number | undefined;
|
|
9505
|
-
} | {
|
|
9506
|
-
role: "invalid";
|
|
9507
9507
|
} | undefined;
|
|
9508
9508
|
agentInputs?: {
|
|
9509
9509
|
conversation?: {
|
|
@@ -11327,6 +11327,8 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
|
|
|
11327
11327
|
currentStepId?: string | undefined;
|
|
11328
11328
|
error?: string | undefined;
|
|
11329
11329
|
delegation?: {
|
|
11330
|
+
role: "invalid";
|
|
11331
|
+
} | {
|
|
11330
11332
|
role: "root";
|
|
11331
11333
|
conversation?: {
|
|
11332
11334
|
messages: {
|
|
@@ -11561,8 +11563,6 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
|
|
|
11561
11563
|
} | undefined;
|
|
11562
11564
|
executionRevision?: number | undefined;
|
|
11563
11565
|
executionStartSeq?: number | undefined;
|
|
11564
|
-
} | {
|
|
11565
|
-
role: "invalid";
|
|
11566
11566
|
} | undefined;
|
|
11567
11567
|
lastWaitsError?: string | undefined;
|
|
11568
11568
|
automaticWakes?: number | undefined;
|
|
@@ -12321,20 +12321,20 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
|
|
|
12321
12321
|
} & {
|
|
12322
12322
|
"/runs/:id/handoff": {
|
|
12323
12323
|
$get: {
|
|
12324
|
-
output:
|
|
12325
|
-
|
|
12326
|
-
|
|
12324
|
+
output: {
|
|
12325
|
+
error: string;
|
|
12326
|
+
};
|
|
12327
|
+
outputFormat: "json";
|
|
12328
|
+
status: 404;
|
|
12327
12329
|
input: {
|
|
12328
12330
|
param: {
|
|
12329
12331
|
id: string;
|
|
12330
12332
|
};
|
|
12331
12333
|
};
|
|
12332
12334
|
} | {
|
|
12333
|
-
output:
|
|
12334
|
-
|
|
12335
|
-
|
|
12336
|
-
outputFormat: "json";
|
|
12337
|
-
status: 404;
|
|
12335
|
+
output: string;
|
|
12336
|
+
outputFormat: "text";
|
|
12337
|
+
status: 200;
|
|
12338
12338
|
input: {
|
|
12339
12339
|
param: {
|
|
12340
12340
|
id: string;
|
|
@@ -12372,20 +12372,20 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
|
|
|
12372
12372
|
} & {
|
|
12373
12373
|
"/runs/:id/diff": {
|
|
12374
12374
|
$get: {
|
|
12375
|
-
output:
|
|
12376
|
-
|
|
12377
|
-
|
|
12375
|
+
output: {
|
|
12376
|
+
error: string;
|
|
12377
|
+
};
|
|
12378
|
+
outputFormat: "json";
|
|
12379
|
+
status: 404 | 409;
|
|
12378
12380
|
input: {
|
|
12379
12381
|
param: {
|
|
12380
12382
|
id: string;
|
|
12381
12383
|
};
|
|
12382
12384
|
};
|
|
12383
12385
|
} | {
|
|
12384
|
-
output:
|
|
12385
|
-
|
|
12386
|
-
|
|
12387
|
-
outputFormat: "json";
|
|
12388
|
-
status: 404 | 409;
|
|
12386
|
+
output: string;
|
|
12387
|
+
outputFormat: "text";
|
|
12388
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
12389
12389
|
input: {
|
|
12390
12390
|
param: {
|
|
12391
12391
|
id: string;
|
package/dist/server/server.d.ts
CHANGED
|
@@ -5489,19 +5489,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
5489
5489
|
} & {
|
|
5490
5490
|
"/repo/commit/:sha": {
|
|
5491
5491
|
$get: {
|
|
5492
|
-
output: string;
|
|
5493
|
-
outputFormat: "text";
|
|
5494
|
-
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
5495
|
-
input: {
|
|
5496
|
-
query: {
|
|
5497
|
-
structured?: string | undefined;
|
|
5498
|
-
};
|
|
5499
|
-
} & {
|
|
5500
|
-
param: {
|
|
5501
|
-
sha: string;
|
|
5502
|
-
};
|
|
5503
|
-
};
|
|
5504
|
-
} | {
|
|
5505
5492
|
output: {
|
|
5506
5493
|
error: string;
|
|
5507
5494
|
code?: "invalid_input" | undefined;
|
|
@@ -5565,6 +5552,19 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
5565
5552
|
sha: string;
|
|
5566
5553
|
};
|
|
5567
5554
|
};
|
|
5555
|
+
} | {
|
|
5556
|
+
output: string;
|
|
5557
|
+
outputFormat: "text";
|
|
5558
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
5559
|
+
input: {
|
|
5560
|
+
query: {
|
|
5561
|
+
structured?: string | undefined;
|
|
5562
|
+
};
|
|
5563
|
+
} & {
|
|
5564
|
+
param: {
|
|
5565
|
+
sha: string;
|
|
5566
|
+
};
|
|
5567
|
+
};
|
|
5568
5568
|
};
|
|
5569
5569
|
};
|
|
5570
5570
|
} & {
|
|
@@ -18069,20 +18069,20 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
18069
18069
|
} & {
|
|
18070
18070
|
"/runs/:id/handoff": {
|
|
18071
18071
|
$get: {
|
|
18072
|
-
output:
|
|
18073
|
-
|
|
18074
|
-
|
|
18072
|
+
output: {
|
|
18073
|
+
error: string;
|
|
18074
|
+
};
|
|
18075
|
+
outputFormat: "json";
|
|
18076
|
+
status: 404;
|
|
18075
18077
|
input: {
|
|
18076
18078
|
param: {
|
|
18077
18079
|
id: string;
|
|
18078
18080
|
};
|
|
18079
18081
|
};
|
|
18080
18082
|
} | {
|
|
18081
|
-
output:
|
|
18082
|
-
|
|
18083
|
-
|
|
18084
|
-
outputFormat: "json";
|
|
18085
|
-
status: 404;
|
|
18083
|
+
output: string;
|
|
18084
|
+
outputFormat: "text";
|
|
18085
|
+
status: 200;
|
|
18086
18086
|
input: {
|
|
18087
18087
|
param: {
|
|
18088
18088
|
id: string;
|
|
@@ -18120,20 +18120,20 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
18120
18120
|
} & {
|
|
18121
18121
|
"/runs/:id/diff": {
|
|
18122
18122
|
$get: {
|
|
18123
|
-
output:
|
|
18124
|
-
|
|
18125
|
-
|
|
18123
|
+
output: {
|
|
18124
|
+
error: string;
|
|
18125
|
+
};
|
|
18126
|
+
outputFormat: "json";
|
|
18127
|
+
status: 404 | 409;
|
|
18126
18128
|
input: {
|
|
18127
18129
|
param: {
|
|
18128
18130
|
id: string;
|
|
18129
18131
|
};
|
|
18130
18132
|
};
|
|
18131
18133
|
} | {
|
|
18132
|
-
output:
|
|
18133
|
-
|
|
18134
|
-
|
|
18135
|
-
outputFormat: "json";
|
|
18136
|
-
status: 404 | 409;
|
|
18134
|
+
output: string;
|
|
18135
|
+
outputFormat: "text";
|
|
18136
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
18137
18137
|
input: {
|
|
18138
18138
|
param: {
|
|
18139
18139
|
id: string;
|
|
@@ -21118,19 +21118,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
21118
21118
|
} & {
|
|
21119
21119
|
"/repo/commit/:sha": {
|
|
21120
21120
|
$get: {
|
|
21121
|
-
output: string;
|
|
21122
|
-
outputFormat: "text";
|
|
21123
|
-
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
21124
|
-
input: {
|
|
21125
|
-
query: {
|
|
21126
|
-
structured?: string | undefined;
|
|
21127
|
-
};
|
|
21128
|
-
} & {
|
|
21129
|
-
param: {
|
|
21130
|
-
sha: string;
|
|
21131
|
-
};
|
|
21132
|
-
};
|
|
21133
|
-
} | {
|
|
21134
21121
|
output: {
|
|
21135
21122
|
error: string;
|
|
21136
21123
|
code?: "invalid_input" | undefined;
|
|
@@ -21194,6 +21181,19 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
21194
21181
|
sha: string;
|
|
21195
21182
|
};
|
|
21196
21183
|
};
|
|
21184
|
+
} | {
|
|
21185
|
+
output: string;
|
|
21186
|
+
outputFormat: "text";
|
|
21187
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
21188
|
+
input: {
|
|
21189
|
+
query: {
|
|
21190
|
+
structured?: string | undefined;
|
|
21191
|
+
};
|
|
21192
|
+
} & {
|
|
21193
|
+
param: {
|
|
21194
|
+
sha: string;
|
|
21195
|
+
};
|
|
21196
|
+
};
|
|
21197
21197
|
};
|
|
21198
21198
|
};
|
|
21199
21199
|
} & {
|
|
@@ -33698,20 +33698,20 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
33698
33698
|
} & {
|
|
33699
33699
|
"/runs/:id/handoff": {
|
|
33700
33700
|
$get: {
|
|
33701
|
-
output:
|
|
33702
|
-
|
|
33703
|
-
|
|
33701
|
+
output: {
|
|
33702
|
+
error: string;
|
|
33703
|
+
};
|
|
33704
|
+
outputFormat: "json";
|
|
33705
|
+
status: 404;
|
|
33704
33706
|
input: {
|
|
33705
33707
|
param: {
|
|
33706
33708
|
id: string;
|
|
33707
33709
|
};
|
|
33708
33710
|
};
|
|
33709
33711
|
} | {
|
|
33710
|
-
output:
|
|
33711
|
-
|
|
33712
|
-
|
|
33713
|
-
outputFormat: "json";
|
|
33714
|
-
status: 404;
|
|
33712
|
+
output: string;
|
|
33713
|
+
outputFormat: "text";
|
|
33714
|
+
status: 200;
|
|
33715
33715
|
input: {
|
|
33716
33716
|
param: {
|
|
33717
33717
|
id: string;
|
|
@@ -33749,20 +33749,20 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
33749
33749
|
} & {
|
|
33750
33750
|
"/runs/:id/diff": {
|
|
33751
33751
|
$get: {
|
|
33752
|
-
output:
|
|
33753
|
-
|
|
33754
|
-
|
|
33752
|
+
output: {
|
|
33753
|
+
error: string;
|
|
33754
|
+
};
|
|
33755
|
+
outputFormat: "json";
|
|
33756
|
+
status: 404 | 409;
|
|
33755
33757
|
input: {
|
|
33756
33758
|
param: {
|
|
33757
33759
|
id: string;
|
|
33758
33760
|
};
|
|
33759
33761
|
};
|
|
33760
33762
|
} | {
|
|
33761
|
-
output:
|
|
33762
|
-
|
|
33763
|
-
|
|
33764
|
-
outputFormat: "json";
|
|
33765
|
-
status: 404 | 409;
|
|
33763
|
+
output: string;
|
|
33764
|
+
outputFormat: "text";
|
|
33765
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
33766
33766
|
input: {
|
|
33767
33767
|
param: {
|
|
33768
33768
|
id: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hearsay-tools/squawk",
|
|
3
|
-
"version": "0.19.0-dev.
|
|
3
|
+
"version": "0.19.0-dev.9005",
|
|
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",
|
|
@@ -69,8 +69,8 @@
|
|
|
69
69
|
"devDependencies": {
|
|
70
70
|
"@babel/parser": "^8.0.8",
|
|
71
71
|
"@babel/types": "^8.0.8",
|
|
72
|
-
"@open-mercato/cezar-api-client": "0.19.0-dev.
|
|
73
|
-
"@open-mercato/cezar-contract": "0.19.0-dev.
|
|
72
|
+
"@open-mercato/cezar-api-client": "0.19.0-dev.9005",
|
|
73
|
+
"@open-mercato/cezar-contract": "0.19.0-dev.9005",
|
|
74
74
|
"@types/node": "^24.19.1",
|
|
75
75
|
"@types/ws": "^8.18.1",
|
|
76
76
|
"esbuild": "^0.28.1",
|
|
@@ -87,5 +87,5 @@
|
|
|
87
87
|
"publishConfig": {
|
|
88
88
|
"access": "public"
|
|
89
89
|
},
|
|
90
|
-
"gitHead": "
|
|
90
|
+
"gitHead": "a5216e22190f8870365c43376f92b7ee6bad196f"
|
|
91
91
|
}
|