@hearsay-tools/squawk 0.18.0-dev.8539 → 0.18.0-dev.8547
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/delegation/routes.d.ts +65 -65
- package/dist/server/projects-routes.d.ts +45 -45
- package/dist/server/repo-routes.d.ts +13 -13
- package/dist/server/runners-routes.d.ts +10 -10
- package/dist/server/runs-routes.d.ts +16 -16
- package/dist/server/server.d.ts +66 -66
- package/package.json +4 -4
|
@@ -27,18 +27,6 @@ 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
|
-
} | {
|
|
42
30
|
output: {
|
|
43
31
|
workers: {
|
|
44
32
|
workerId: string;
|
|
@@ -91,6 +79,18 @@ export declare function createDelegationRoutes(service: DelegationService, crede
|
|
|
91
79
|
offset?: string | undefined;
|
|
92
80
|
};
|
|
93
81
|
};
|
|
82
|
+
} | {
|
|
83
|
+
output: {
|
|
84
|
+
error: string;
|
|
85
|
+
code?: "invalid_input" | undefined;
|
|
86
|
+
};
|
|
87
|
+
outputFormat: "json";
|
|
88
|
+
status: 400;
|
|
89
|
+
input: {
|
|
90
|
+
query: {
|
|
91
|
+
offset?: string | undefined;
|
|
92
|
+
};
|
|
93
|
+
};
|
|
94
94
|
};
|
|
95
95
|
};
|
|
96
96
|
} & {
|
|
@@ -677,18 +677,6 @@ export declare function createDelegationRoutes(service: DelegationService, crede
|
|
|
677
677
|
} & {
|
|
678
678
|
"/:workerId": {
|
|
679
679
|
$get: {
|
|
680
|
-
output: {
|
|
681
|
-
error: string;
|
|
682
|
-
code?: "invalid_input" | undefined;
|
|
683
|
-
};
|
|
684
|
-
outputFormat: "json";
|
|
685
|
-
status: 400;
|
|
686
|
-
input: {
|
|
687
|
-
param: {
|
|
688
|
-
workerId: string;
|
|
689
|
-
};
|
|
690
|
-
};
|
|
691
|
-
} | {
|
|
692
680
|
output: {
|
|
693
681
|
workerId: string;
|
|
694
682
|
settled: boolean;
|
|
@@ -813,11 +801,7 @@ export declare function createDelegationRoutes(service: DelegationService, crede
|
|
|
813
801
|
workerId: string;
|
|
814
802
|
};
|
|
815
803
|
};
|
|
816
|
-
}
|
|
817
|
-
};
|
|
818
|
-
} & {
|
|
819
|
-
"/:workerId/collect": {
|
|
820
|
-
$post: {
|
|
804
|
+
} | {
|
|
821
805
|
output: {
|
|
822
806
|
error: string;
|
|
823
807
|
code?: "invalid_input" | undefined;
|
|
@@ -828,10 +812,12 @@ export declare function createDelegationRoutes(service: DelegationService, crede
|
|
|
828
812
|
param: {
|
|
829
813
|
workerId: string;
|
|
830
814
|
};
|
|
831
|
-
} & {
|
|
832
|
-
json: Record<string, never>;
|
|
833
815
|
};
|
|
834
|
-
}
|
|
816
|
+
};
|
|
817
|
+
};
|
|
818
|
+
} & {
|
|
819
|
+
"/:workerId/collect": {
|
|
820
|
+
$post: {
|
|
835
821
|
output: {
|
|
836
822
|
workerId: string;
|
|
837
823
|
parentRunId: string;
|
|
@@ -954,11 +940,7 @@ export declare function createDelegationRoutes(service: DelegationService, crede
|
|
|
954
940
|
} & {
|
|
955
941
|
json: Record<string, never>;
|
|
956
942
|
};
|
|
957
|
-
}
|
|
958
|
-
};
|
|
959
|
-
} & {
|
|
960
|
-
"/:workerId/steer": {
|
|
961
|
-
$post: {
|
|
943
|
+
} | {
|
|
962
944
|
output: {
|
|
963
945
|
error: string;
|
|
964
946
|
code?: "invalid_input" | undefined;
|
|
@@ -970,11 +952,13 @@ export declare function createDelegationRoutes(service: DelegationService, crede
|
|
|
970
952
|
workerId: string;
|
|
971
953
|
};
|
|
972
954
|
} & {
|
|
973
|
-
json:
|
|
974
|
-
text: string;
|
|
975
|
-
};
|
|
955
|
+
json: Record<string, never>;
|
|
976
956
|
};
|
|
977
|
-
}
|
|
957
|
+
};
|
|
958
|
+
};
|
|
959
|
+
} & {
|
|
960
|
+
"/:workerId/steer": {
|
|
961
|
+
$post: {
|
|
978
962
|
output: {
|
|
979
963
|
workerId: string;
|
|
980
964
|
state: "delivered" | "queued";
|
|
@@ -990,11 +974,7 @@ export declare function createDelegationRoutes(service: DelegationService, crede
|
|
|
990
974
|
text: string;
|
|
991
975
|
};
|
|
992
976
|
};
|
|
993
|
-
}
|
|
994
|
-
};
|
|
995
|
-
} & {
|
|
996
|
-
"/:workerId/stop": {
|
|
997
|
-
$post: {
|
|
977
|
+
} | {
|
|
998
978
|
output: {
|
|
999
979
|
error: string;
|
|
1000
980
|
code?: "invalid_input" | undefined;
|
|
@@ -1006,9 +986,15 @@ export declare function createDelegationRoutes(service: DelegationService, crede
|
|
|
1006
986
|
workerId: string;
|
|
1007
987
|
};
|
|
1008
988
|
} & {
|
|
1009
|
-
json:
|
|
989
|
+
json: {
|
|
990
|
+
text: string;
|
|
991
|
+
};
|
|
1010
992
|
};
|
|
1011
|
-
}
|
|
993
|
+
};
|
|
994
|
+
};
|
|
995
|
+
} & {
|
|
996
|
+
"/:workerId/stop": {
|
|
997
|
+
$post: {
|
|
1012
998
|
output: {
|
|
1013
999
|
workerId: string;
|
|
1014
1000
|
state: "stopping" | "terminated";
|
|
@@ -1022,11 +1008,7 @@ export declare function createDelegationRoutes(service: DelegationService, crede
|
|
|
1022
1008
|
} & {
|
|
1023
1009
|
json: Record<string, never>;
|
|
1024
1010
|
};
|
|
1025
|
-
}
|
|
1026
|
-
};
|
|
1027
|
-
} & {
|
|
1028
|
-
"/:workerId/destroy": {
|
|
1029
|
-
$post: {
|
|
1011
|
+
} | {
|
|
1030
1012
|
output: {
|
|
1031
1013
|
error: string;
|
|
1032
1014
|
code?: "invalid_input" | undefined;
|
|
@@ -1038,11 +1020,13 @@ export declare function createDelegationRoutes(service: DelegationService, crede
|
|
|
1038
1020
|
workerId: string;
|
|
1039
1021
|
};
|
|
1040
1022
|
} & {
|
|
1041
|
-
json:
|
|
1042
|
-
discardWork?: true | undefined;
|
|
1043
|
-
};
|
|
1023
|
+
json: Record<string, never>;
|
|
1044
1024
|
};
|
|
1045
|
-
}
|
|
1025
|
+
};
|
|
1026
|
+
};
|
|
1027
|
+
} & {
|
|
1028
|
+
"/:workerId/destroy": {
|
|
1029
|
+
$post: {
|
|
1046
1030
|
output: {
|
|
1047
1031
|
workerId: string;
|
|
1048
1032
|
state: "complete" | "incomplete";
|
|
@@ -1071,6 +1055,22 @@ export declare function createDelegationRoutes(service: DelegationService, crede
|
|
|
1071
1055
|
discardWork?: true | undefined;
|
|
1072
1056
|
};
|
|
1073
1057
|
};
|
|
1058
|
+
} | {
|
|
1059
|
+
output: {
|
|
1060
|
+
error: string;
|
|
1061
|
+
code?: "invalid_input" | undefined;
|
|
1062
|
+
};
|
|
1063
|
+
outputFormat: "json";
|
|
1064
|
+
status: 400;
|
|
1065
|
+
input: {
|
|
1066
|
+
param: {
|
|
1067
|
+
workerId: string;
|
|
1068
|
+
};
|
|
1069
|
+
} & {
|
|
1070
|
+
json: {
|
|
1071
|
+
discardWork?: true | undefined;
|
|
1072
|
+
};
|
|
1073
|
+
};
|
|
1074
1074
|
} | {
|
|
1075
1075
|
output: {
|
|
1076
1076
|
workerId: string;
|
|
@@ -1106,11 +1106,13 @@ export declare function createDelegationRoutes(service: DelegationService, crede
|
|
|
1106
1106
|
"/:workerId/diff": {
|
|
1107
1107
|
$get: {
|
|
1108
1108
|
output: {
|
|
1109
|
-
|
|
1110
|
-
|
|
1109
|
+
workerId: string;
|
|
1110
|
+
baselineSha: string;
|
|
1111
|
+
diff: string;
|
|
1112
|
+
truncated: boolean;
|
|
1111
1113
|
};
|
|
1112
1114
|
outputFormat: "json";
|
|
1113
|
-
status:
|
|
1115
|
+
status: 200;
|
|
1114
1116
|
input: {
|
|
1115
1117
|
param: {
|
|
1116
1118
|
workerId: string;
|
|
@@ -1118,13 +1120,11 @@ export declare function createDelegationRoutes(service: DelegationService, crede
|
|
|
1118
1120
|
};
|
|
1119
1121
|
} | {
|
|
1120
1122
|
output: {
|
|
1121
|
-
|
|
1122
|
-
|
|
1123
|
-
diff: string;
|
|
1124
|
-
truncated: boolean;
|
|
1123
|
+
error: string;
|
|
1124
|
+
code?: "invalid_input" | undefined;
|
|
1125
1125
|
};
|
|
1126
1126
|
outputFormat: "json";
|
|
1127
|
-
status:
|
|
1127
|
+
status: 400;
|
|
1128
1128
|
input: {
|
|
1129
1129
|
param: {
|
|
1130
1130
|
workerId: string;
|
|
@@ -63,17 +63,6 @@ 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
|
-
} | {
|
|
77
66
|
output: {
|
|
78
67
|
project: {
|
|
79
68
|
id: string;
|
|
@@ -104,10 +93,10 @@ export declare function createProjectsRoutes(deps: ProjectsRouteDeps): import("h
|
|
|
104
93
|
agent: boolean;
|
|
105
94
|
}[] | undefined;
|
|
106
95
|
};
|
|
107
|
-
error
|
|
96
|
+
error?: string | undefined;
|
|
108
97
|
};
|
|
109
98
|
outputFormat: "json";
|
|
110
|
-
status:
|
|
99
|
+
status: 200;
|
|
111
100
|
input: {
|
|
112
101
|
json: {
|
|
113
102
|
root: string;
|
|
@@ -144,10 +133,21 @@ export declare function createProjectsRoutes(deps: ProjectsRouteDeps): import("h
|
|
|
144
133
|
agent: boolean;
|
|
145
134
|
}[] | undefined;
|
|
146
135
|
};
|
|
147
|
-
error
|
|
136
|
+
error: string;
|
|
148
137
|
};
|
|
149
138
|
outputFormat: "json";
|
|
150
|
-
status:
|
|
139
|
+
status: 409;
|
|
140
|
+
input: {
|
|
141
|
+
json: {
|
|
142
|
+
root: string;
|
|
143
|
+
};
|
|
144
|
+
};
|
|
145
|
+
} | {
|
|
146
|
+
output: {
|
|
147
|
+
error: string;
|
|
148
|
+
};
|
|
149
|
+
outputFormat: "json";
|
|
150
|
+
status: 400 | 500;
|
|
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: 400;
|
|
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: 404;
|
|
321
321
|
input: {
|
|
322
322
|
param: {
|
|
323
323
|
projectId: string;
|
|
@@ -342,27 +342,6 @@ 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
|
-
} | {
|
|
366
345
|
output: {
|
|
367
346
|
project: {
|
|
368
347
|
id: string;
|
|
@@ -421,6 +400,27 @@ export declare function createProjectsRoutes(deps: ProjectsRouteDeps): import("h
|
|
|
421
400
|
projectId: string;
|
|
422
401
|
};
|
|
423
402
|
};
|
|
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,13 +618,10 @@ export declare function createProjectsRoutes(deps: ProjectsRouteDeps): import("h
|
|
|
618
618
|
};
|
|
619
619
|
} | {
|
|
620
620
|
output: {
|
|
621
|
-
|
|
622
|
-
status?: number | undefined;
|
|
623
|
-
error?: string | undefined;
|
|
624
|
-
dryRun?: boolean | undefined;
|
|
621
|
+
error: string;
|
|
625
622
|
};
|
|
626
623
|
outputFormat: "json";
|
|
627
|
-
status:
|
|
624
|
+
status: 404;
|
|
628
625
|
input: {
|
|
629
626
|
param: {
|
|
630
627
|
projectId: string;
|
|
@@ -633,10 +630,13 @@ export declare function createProjectsRoutes(deps: ProjectsRouteDeps): import("h
|
|
|
633
630
|
};
|
|
634
631
|
} | {
|
|
635
632
|
output: {
|
|
636
|
-
|
|
633
|
+
ok: boolean;
|
|
634
|
+
status?: number | undefined;
|
|
635
|
+
error?: string | undefined;
|
|
636
|
+
dryRun?: boolean | undefined;
|
|
637
637
|
};
|
|
638
638
|
outputFormat: "json";
|
|
639
|
-
status:
|
|
639
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
640
640
|
input: {
|
|
641
641
|
param: {
|
|
642
642
|
projectId: string;
|
|
@@ -315,6 +315,19 @@ export declare function createRepoRoutes(deps: RepoRouteDeps): import("hono/hono
|
|
|
315
315
|
} & {
|
|
316
316
|
"/repo/commit/:sha": {
|
|
317
317
|
$get: {
|
|
318
|
+
output: string;
|
|
319
|
+
outputFormat: "text";
|
|
320
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
321
|
+
input: {
|
|
322
|
+
query: {
|
|
323
|
+
structured?: string | undefined;
|
|
324
|
+
};
|
|
325
|
+
} & {
|
|
326
|
+
param: {
|
|
327
|
+
sha: string;
|
|
328
|
+
};
|
|
329
|
+
};
|
|
330
|
+
} | {
|
|
318
331
|
output: {
|
|
319
332
|
error: string;
|
|
320
333
|
code?: "invalid_input" | undefined;
|
|
@@ -378,19 +391,6 @@ export declare function createRepoRoutes(deps: RepoRouteDeps): import("hono/hono
|
|
|
378
391
|
sha: string;
|
|
379
392
|
};
|
|
380
393
|
};
|
|
381
|
-
} | {
|
|
382
|
-
output: string;
|
|
383
|
-
outputFormat: "text";
|
|
384
|
-
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
385
|
-
input: {
|
|
386
|
-
query: {
|
|
387
|
-
structured?: string | undefined;
|
|
388
|
-
};
|
|
389
|
-
} & {
|
|
390
|
-
param: {
|
|
391
|
-
sha: string;
|
|
392
|
-
};
|
|
393
|
-
};
|
|
394
394
|
};
|
|
395
395
|
};
|
|
396
396
|
} & {
|
|
@@ -58,11 +58,15 @@ export declare function createRunnersRoutes(options: {
|
|
|
58
58
|
"/runner-install/:runner": {
|
|
59
59
|
$post: {
|
|
60
60
|
output: {
|
|
61
|
-
|
|
62
|
-
|
|
61
|
+
supported: boolean;
|
|
62
|
+
installedVersion: string | null;
|
|
63
|
+
latestVersion: string | null;
|
|
64
|
+
updateAvailable: boolean;
|
|
65
|
+
phase: "activating" | "checking" | "downloading" | "extracting" | "failed" | "idle" | "removing" | "verifying";
|
|
66
|
+
error: string | null;
|
|
63
67
|
};
|
|
64
68
|
outputFormat: "json";
|
|
65
|
-
status:
|
|
69
|
+
status: 202;
|
|
66
70
|
input: {
|
|
67
71
|
param: {
|
|
68
72
|
runner: string;
|
|
@@ -74,15 +78,11 @@ export declare function createRunnersRoutes(options: {
|
|
|
74
78
|
};
|
|
75
79
|
} | {
|
|
76
80
|
output: {
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
latestVersion: string | null;
|
|
80
|
-
updateAvailable: boolean;
|
|
81
|
-
phase: "activating" | "checking" | "downloading" | "extracting" | "failed" | "idle" | "removing" | "verifying";
|
|
82
|
-
error: string | null;
|
|
81
|
+
error: string;
|
|
82
|
+
code?: "invalid_input" | undefined;
|
|
83
83
|
};
|
|
84
84
|
outputFormat: "json";
|
|
85
|
-
status:
|
|
85
|
+
status: 400;
|
|
86
86
|
input: {
|
|
87
87
|
param: {
|
|
88
88
|
runner: string;
|
|
@@ -12273,20 +12273,20 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
|
|
|
12273
12273
|
} & {
|
|
12274
12274
|
"/runs/:id/handoff": {
|
|
12275
12275
|
$get: {
|
|
12276
|
-
output:
|
|
12277
|
-
|
|
12278
|
-
|
|
12279
|
-
outputFormat: "json";
|
|
12280
|
-
status: 404;
|
|
12276
|
+
output: string;
|
|
12277
|
+
outputFormat: "text";
|
|
12278
|
+
status: 200;
|
|
12281
12279
|
input: {
|
|
12282
12280
|
param: {
|
|
12283
12281
|
id: string;
|
|
12284
12282
|
};
|
|
12285
12283
|
};
|
|
12286
12284
|
} | {
|
|
12287
|
-
output:
|
|
12288
|
-
|
|
12289
|
-
|
|
12285
|
+
output: {
|
|
12286
|
+
error: string;
|
|
12287
|
+
};
|
|
12288
|
+
outputFormat: "json";
|
|
12289
|
+
status: 404;
|
|
12290
12290
|
input: {
|
|
12291
12291
|
param: {
|
|
12292
12292
|
id: string;
|
|
@@ -12324,20 +12324,20 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
|
|
|
12324
12324
|
} & {
|
|
12325
12325
|
"/runs/:id/diff": {
|
|
12326
12326
|
$get: {
|
|
12327
|
-
output:
|
|
12328
|
-
|
|
12329
|
-
|
|
12330
|
-
outputFormat: "json";
|
|
12331
|
-
status: 404 | 409;
|
|
12327
|
+
output: string;
|
|
12328
|
+
outputFormat: "text";
|
|
12329
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
12332
12330
|
input: {
|
|
12333
12331
|
param: {
|
|
12334
12332
|
id: string;
|
|
12335
12333
|
};
|
|
12336
12334
|
};
|
|
12337
12335
|
} | {
|
|
12338
|
-
output:
|
|
12339
|
-
|
|
12340
|
-
|
|
12336
|
+
output: {
|
|
12337
|
+
error: string;
|
|
12338
|
+
};
|
|
12339
|
+
outputFormat: "json";
|
|
12340
|
+
status: 404 | 409;
|
|
12341
12341
|
input: {
|
|
12342
12342
|
param: {
|
|
12343
12343
|
id: string;
|
package/dist/server/server.d.ts
CHANGED
|
@@ -4697,6 +4697,19 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
4697
4697
|
} & {
|
|
4698
4698
|
"/repo/commit/:sha": {
|
|
4699
4699
|
$get: {
|
|
4700
|
+
output: string;
|
|
4701
|
+
outputFormat: "text";
|
|
4702
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
4703
|
+
input: {
|
|
4704
|
+
query: {
|
|
4705
|
+
structured?: string | undefined;
|
|
4706
|
+
};
|
|
4707
|
+
} & {
|
|
4708
|
+
param: {
|
|
4709
|
+
sha: string;
|
|
4710
|
+
};
|
|
4711
|
+
};
|
|
4712
|
+
} | {
|
|
4700
4713
|
output: {
|
|
4701
4714
|
error: string;
|
|
4702
4715
|
code?: "invalid_input" | undefined;
|
|
@@ -4760,19 +4773,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
4760
4773
|
sha: string;
|
|
4761
4774
|
};
|
|
4762
4775
|
};
|
|
4763
|
-
} | {
|
|
4764
|
-
output: string;
|
|
4765
|
-
outputFormat: "text";
|
|
4766
|
-
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
4767
|
-
input: {
|
|
4768
|
-
query: {
|
|
4769
|
-
structured?: string | undefined;
|
|
4770
|
-
};
|
|
4771
|
-
} & {
|
|
4772
|
-
param: {
|
|
4773
|
-
sha: string;
|
|
4774
|
-
};
|
|
4775
|
-
};
|
|
4776
4776
|
};
|
|
4777
4777
|
};
|
|
4778
4778
|
} & {
|
|
@@ -19240,20 +19240,20 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
19240
19240
|
} & {
|
|
19241
19241
|
"/runs/:id/handoff": {
|
|
19242
19242
|
$get: {
|
|
19243
|
-
output:
|
|
19244
|
-
|
|
19245
|
-
|
|
19246
|
-
outputFormat: "json";
|
|
19247
|
-
status: 404;
|
|
19243
|
+
output: string;
|
|
19244
|
+
outputFormat: "text";
|
|
19245
|
+
status: 200;
|
|
19248
19246
|
input: {
|
|
19249
19247
|
param: {
|
|
19250
19248
|
id: string;
|
|
19251
19249
|
};
|
|
19252
19250
|
};
|
|
19253
19251
|
} | {
|
|
19254
|
-
output:
|
|
19255
|
-
|
|
19256
|
-
|
|
19252
|
+
output: {
|
|
19253
|
+
error: string;
|
|
19254
|
+
};
|
|
19255
|
+
outputFormat: "json";
|
|
19256
|
+
status: 404;
|
|
19257
19257
|
input: {
|
|
19258
19258
|
param: {
|
|
19259
19259
|
id: string;
|
|
@@ -19291,20 +19291,20 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
19291
19291
|
} & {
|
|
19292
19292
|
"/runs/:id/diff": {
|
|
19293
19293
|
$get: {
|
|
19294
|
-
output:
|
|
19295
|
-
|
|
19296
|
-
|
|
19297
|
-
outputFormat: "json";
|
|
19298
|
-
status: 404 | 409;
|
|
19294
|
+
output: string;
|
|
19295
|
+
outputFormat: "text";
|
|
19296
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
19299
19297
|
input: {
|
|
19300
19298
|
param: {
|
|
19301
19299
|
id: string;
|
|
19302
19300
|
};
|
|
19303
19301
|
};
|
|
19304
19302
|
} | {
|
|
19305
|
-
output:
|
|
19306
|
-
|
|
19307
|
-
|
|
19303
|
+
output: {
|
|
19304
|
+
error: string;
|
|
19305
|
+
};
|
|
19306
|
+
outputFormat: "json";
|
|
19307
|
+
status: 404 | 409;
|
|
19308
19308
|
input: {
|
|
19309
19309
|
param: {
|
|
19310
19310
|
id: string;
|
|
@@ -19397,9 +19397,9 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
19397
19397
|
status: 404 | 409;
|
|
19398
19398
|
input: {
|
|
19399
19399
|
param: {
|
|
19400
|
-
id: string;
|
|
19401
|
-
} & {
|
|
19402
19400
|
sha: string;
|
|
19401
|
+
} & {
|
|
19402
|
+
id: string;
|
|
19403
19403
|
};
|
|
19404
19404
|
};
|
|
19405
19405
|
} | {
|
|
@@ -19428,9 +19428,9 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
19428
19428
|
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
19429
19429
|
input: {
|
|
19430
19430
|
param: {
|
|
19431
|
-
id: string;
|
|
19432
|
-
} & {
|
|
19433
19431
|
sha: string;
|
|
19432
|
+
} & {
|
|
19433
|
+
id: string;
|
|
19434
19434
|
};
|
|
19435
19435
|
};
|
|
19436
19436
|
};
|
|
@@ -21419,6 +21419,19 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
21419
21419
|
} & {
|
|
21420
21420
|
"/repo/commit/:sha": {
|
|
21421
21421
|
$get: {
|
|
21422
|
+
output: string;
|
|
21423
|
+
outputFormat: "text";
|
|
21424
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
21425
|
+
input: {
|
|
21426
|
+
query: {
|
|
21427
|
+
structured?: string | undefined;
|
|
21428
|
+
};
|
|
21429
|
+
} & {
|
|
21430
|
+
param: {
|
|
21431
|
+
sha: string;
|
|
21432
|
+
};
|
|
21433
|
+
};
|
|
21434
|
+
} | {
|
|
21422
21435
|
output: {
|
|
21423
21436
|
error: string;
|
|
21424
21437
|
code?: "invalid_input" | undefined;
|
|
@@ -21482,19 +21495,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
21482
21495
|
sha: string;
|
|
21483
21496
|
};
|
|
21484
21497
|
};
|
|
21485
|
-
} | {
|
|
21486
|
-
output: string;
|
|
21487
|
-
outputFormat: "text";
|
|
21488
|
-
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
21489
|
-
input: {
|
|
21490
|
-
query: {
|
|
21491
|
-
structured?: string | undefined;
|
|
21492
|
-
};
|
|
21493
|
-
} & {
|
|
21494
|
-
param: {
|
|
21495
|
-
sha: string;
|
|
21496
|
-
};
|
|
21497
|
-
};
|
|
21498
21498
|
};
|
|
21499
21499
|
};
|
|
21500
21500
|
} & {
|
|
@@ -35962,20 +35962,20 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
35962
35962
|
} & {
|
|
35963
35963
|
"/runs/:id/handoff": {
|
|
35964
35964
|
$get: {
|
|
35965
|
-
output:
|
|
35966
|
-
|
|
35967
|
-
|
|
35968
|
-
outputFormat: "json";
|
|
35969
|
-
status: 404;
|
|
35965
|
+
output: string;
|
|
35966
|
+
outputFormat: "text";
|
|
35967
|
+
status: 200;
|
|
35970
35968
|
input: {
|
|
35971
35969
|
param: {
|
|
35972
35970
|
id: string;
|
|
35973
35971
|
};
|
|
35974
35972
|
};
|
|
35975
35973
|
} | {
|
|
35976
|
-
output:
|
|
35977
|
-
|
|
35978
|
-
|
|
35974
|
+
output: {
|
|
35975
|
+
error: string;
|
|
35976
|
+
};
|
|
35977
|
+
outputFormat: "json";
|
|
35978
|
+
status: 404;
|
|
35979
35979
|
input: {
|
|
35980
35980
|
param: {
|
|
35981
35981
|
id: string;
|
|
@@ -36013,20 +36013,20 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
36013
36013
|
} & {
|
|
36014
36014
|
"/runs/:id/diff": {
|
|
36015
36015
|
$get: {
|
|
36016
|
-
output:
|
|
36017
|
-
|
|
36018
|
-
|
|
36019
|
-
outputFormat: "json";
|
|
36020
|
-
status: 404 | 409;
|
|
36016
|
+
output: string;
|
|
36017
|
+
outputFormat: "text";
|
|
36018
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
36021
36019
|
input: {
|
|
36022
36020
|
param: {
|
|
36023
36021
|
id: string;
|
|
36024
36022
|
};
|
|
36025
36023
|
};
|
|
36026
36024
|
} | {
|
|
36027
|
-
output:
|
|
36028
|
-
|
|
36029
|
-
|
|
36025
|
+
output: {
|
|
36026
|
+
error: string;
|
|
36027
|
+
};
|
|
36028
|
+
outputFormat: "json";
|
|
36029
|
+
status: 404 | 409;
|
|
36030
36030
|
input: {
|
|
36031
36031
|
param: {
|
|
36032
36032
|
id: string;
|
|
@@ -36119,9 +36119,9 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
36119
36119
|
status: 404 | 409;
|
|
36120
36120
|
input: {
|
|
36121
36121
|
param: {
|
|
36122
|
-
id: string;
|
|
36123
|
-
} & {
|
|
36124
36122
|
sha: string;
|
|
36123
|
+
} & {
|
|
36124
|
+
id: string;
|
|
36125
36125
|
};
|
|
36126
36126
|
};
|
|
36127
36127
|
} | {
|
|
@@ -36150,9 +36150,9 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
36150
36150
|
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
36151
36151
|
input: {
|
|
36152
36152
|
param: {
|
|
36153
|
-
id: string;
|
|
36154
|
-
} & {
|
|
36155
36153
|
sha: string;
|
|
36154
|
+
} & {
|
|
36155
|
+
id: string;
|
|
36156
36156
|
};
|
|
36157
36157
|
};
|
|
36158
36158
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hearsay-tools/squawk",
|
|
3
|
-
"version": "0.18.0-dev.
|
|
3
|
+
"version": "0.18.0-dev.8547",
|
|
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",
|
|
@@ -68,8 +68,8 @@
|
|
|
68
68
|
"devDependencies": {
|
|
69
69
|
"@babel/parser": "^8.0.8",
|
|
70
70
|
"@babel/types": "^8.0.8",
|
|
71
|
-
"@open-mercato/cezar-api-client": "0.18.0-dev.
|
|
72
|
-
"@open-mercato/cezar-contract": "0.18.0-dev.
|
|
71
|
+
"@open-mercato/cezar-api-client": "0.18.0-dev.8547",
|
|
72
|
+
"@open-mercato/cezar-contract": "0.18.0-dev.8547",
|
|
73
73
|
"@types/node": "^24.19.1",
|
|
74
74
|
"@types/ws": "^8.18.1",
|
|
75
75
|
"esbuild": "^0.28.1",
|
|
@@ -86,5 +86,5 @@
|
|
|
86
86
|
"publishConfig": {
|
|
87
87
|
"access": "public"
|
|
88
88
|
},
|
|
89
|
-
"gitHead": "
|
|
89
|
+
"gitHead": "292846f35866bf0f6e19c5f27ce7375b0e447e46"
|
|
90
90
|
}
|