@hearsay-tools/squawk 0.18.0-dev.8318 → 0.18.0-dev.8321

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.
@@ -156,61 +156,37 @@ export interface ProjectRouteInfo {
156
156
  export declare function projectRouteManifest(app: Hono): ProjectRouteInfo[];
157
157
  export type { ProjectsResponse, RegisterProjectResponse, RemoveProjectResponse, UpdateProjectResponse } from '../contract/index.js';
158
158
  export declare function createApp(deps: ServerDeps): import("hono/hono-base").HonoBase<import("hono/types").BlankEnv, import("hono/types").BlankSchema | import("hono/types").MergeSchemaPath<import("hono/types").BlankSchema | import("hono/types").MergeSchemaPath<{
159
- "/health": {
159
+ "/automation-checks/:checkId": {
160
160
  $get: {
161
161
  output: {
162
- version: string;
163
- latestVersion?: string | undefined;
164
- repoRoot: string;
165
- repo: {
166
- root: string;
167
- branch: string;
168
- remote?: string | undefined;
169
- } | null;
170
- checks: {
171
- name: string;
172
- available: boolean;
173
- version?: string;
174
- hint?: string;
175
- }[];
176
- defaultRunner: string;
177
- forge: {
178
- available?: boolean | undefined;
179
- reason?: string;
180
- kind: "github";
181
- } | null;
182
- capabilities: {
183
- localHandoff: boolean;
184
- settingsAdmin: boolean;
185
- remoteSettingsAdmin: boolean;
186
- automations: boolean;
187
- preview: boolean;
188
- tokenMetrics: boolean;
189
- tokenUsageMetrics: boolean;
190
- costMetrics: boolean;
191
- };
192
- projects: {
193
- id: string;
194
- name: string;
195
- }[];
196
- bootProject: string;
197
- plugins: {
198
- loaded: {
199
- name: string;
200
- source: "bundled" | "host";
201
- path?: string | undefined;
202
- }[];
203
- failed: {
204
- name: string;
205
- source: "bundled" | "host";
206
- path?: string | undefined;
207
- error: string;
208
- }[];
209
- };
162
+ id: string;
163
+ automationId: string;
164
+ mode: 'preview' | 'execute';
165
+ status: 'queued' | 'running' | 'complete' | 'error';
166
+ createdAt: string;
167
+ completedAt?: string;
168
+ matches?: number;
169
+ truncated?: boolean;
170
+ error?: string;
210
171
  };
211
172
  outputFormat: "json";
212
173
  status: import("hono/utils/http-status").ContentfulStatusCode;
213
- input: {};
174
+ input: {
175
+ param: {
176
+ checkId: string;
177
+ };
178
+ };
179
+ } | {
180
+ output: {
181
+ error: string;
182
+ };
183
+ outputFormat: "json";
184
+ status: 404;
185
+ input: {
186
+ param: {
187
+ checkId: string;
188
+ };
189
+ };
214
190
  };
215
191
  };
216
192
  }, "/"> | import("hono/types").MergeSchemaPath<{
@@ -261,40 +237,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
261
237
  };
262
238
  };
263
239
  };
264
- }, "/"> | import("hono/types").MergeSchemaPath<{
265
- "/automation-checks/:checkId": {
266
- $get: {
267
- output: {
268
- id: string;
269
- automationId: string;
270
- mode: 'preview' | 'execute';
271
- status: 'queued' | 'running' | 'complete' | 'error';
272
- createdAt: string;
273
- completedAt?: string;
274
- matches?: number;
275
- truncated?: boolean;
276
- error?: string;
277
- };
278
- outputFormat: "json";
279
- status: import("hono/utils/http-status").ContentfulStatusCode;
280
- input: {
281
- param: {
282
- checkId: string;
283
- };
284
- };
285
- } | {
286
- output: {
287
- error: string;
288
- };
289
- outputFormat: "json";
290
- status: 404;
291
- input: {
292
- param: {
293
- checkId: string;
294
- };
295
- };
296
- };
297
- };
298
240
  }, "/"> | import("hono/types").MergeSchemaPath<{
299
241
  "/workspace/events": {
300
242
  $get: {
@@ -320,6 +262,64 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
320
262
  };
321
263
  };
322
264
  };
265
+ }, "/"> | import("hono/types").MergeSchemaPath<{
266
+ "/health": {
267
+ $get: {
268
+ output: {
269
+ version: string;
270
+ latestVersion?: string | undefined;
271
+ repoRoot: string;
272
+ repo: {
273
+ root: string;
274
+ branch: string;
275
+ remote?: string | undefined;
276
+ } | null;
277
+ checks: {
278
+ name: string;
279
+ available: boolean;
280
+ version?: string;
281
+ hint?: string;
282
+ }[];
283
+ defaultRunner: string;
284
+ forge: {
285
+ available?: boolean | undefined;
286
+ reason?: string;
287
+ kind: "github";
288
+ } | null;
289
+ capabilities: {
290
+ localHandoff: boolean;
291
+ settingsAdmin: boolean;
292
+ remoteSettingsAdmin: boolean;
293
+ automations: boolean;
294
+ preview: boolean;
295
+ tokenMetrics: boolean;
296
+ tokenUsageMetrics: boolean;
297
+ costMetrics: boolean;
298
+ };
299
+ projects: {
300
+ id: string;
301
+ name: string;
302
+ }[];
303
+ bootProject: string;
304
+ plugins: {
305
+ loaded: {
306
+ name: string;
307
+ source: "bundled" | "host";
308
+ path?: string | undefined;
309
+ }[];
310
+ failed: {
311
+ name: string;
312
+ source: "bundled" | "host";
313
+ path?: string | undefined;
314
+ error: string;
315
+ }[];
316
+ };
317
+ };
318
+ outputFormat: "json";
319
+ status: import("hono/utils/http-status").ContentfulStatusCode;
320
+ input: {};
321
+ };
322
+ };
323
323
  }, "/"> | import("hono/types").MergeSchemaPath<{
324
324
  "/models": {
325
325
  $get: {
@@ -963,224 +963,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
963
963
  };
964
964
  };
965
965
  };
966
- }, "/"> | import("hono/types").MergeSchemaPath<{
967
- "/providers/status": {
968
- $get: {
969
- output: {
970
- error: string;
971
- code?: "invalid_input" | undefined;
972
- };
973
- outputFormat: "json";
974
- status: 400;
975
- input: {
976
- query: {
977
- refresh?: "1" | undefined;
978
- };
979
- };
980
- } | {
981
- output: {
982
- providers: {
983
- requiresAccountHome?: boolean | undefined;
984
- provider: string;
985
- status: "connected" | "disconnected" | "not-installed" | "unknown";
986
- enabled?: boolean | undefined;
987
- hint?: string | undefined;
988
- authFailureId?: string | undefined;
989
- profileId?: string | undefined;
990
- }[];
991
- };
992
- outputFormat: "json";
993
- status: import("hono/utils/http-status").ContentfulStatusCode;
994
- input: {
995
- query: {
996
- refresh?: "1" | undefined;
997
- };
998
- };
999
- };
1000
- };
1001
- } & {
1002
- "/providers/:provider/enabled": {
1003
- $put: {
1004
- output: {
1005
- error: string;
1006
- code?: "invalid_input" | undefined;
1007
- };
1008
- outputFormat: "json";
1009
- status: 400;
1010
- input: {
1011
- param: {
1012
- provider: string;
1013
- };
1014
- } & {
1015
- json: {
1016
- enabled: boolean;
1017
- };
1018
- };
1019
- } | {
1020
- output: {
1021
- providers: {
1022
- requiresAccountHome?: boolean | undefined;
1023
- provider: string;
1024
- status: "connected" | "disconnected" | "not-installed" | "unknown";
1025
- enabled?: boolean | undefined;
1026
- hint?: string | undefined;
1027
- authFailureId?: string | undefined;
1028
- profileId?: string | undefined;
1029
- }[];
1030
- };
1031
- outputFormat: "json";
1032
- status: import("hono/utils/http-status").ContentfulStatusCode;
1033
- input: {
1034
- param: {
1035
- provider: string;
1036
- };
1037
- } & {
1038
- json: {
1039
- enabled: boolean;
1040
- };
1041
- };
1042
- } | {
1043
- output: {
1044
- error: string;
1045
- };
1046
- outputFormat: "json";
1047
- status: 500;
1048
- input: {
1049
- param: {
1050
- provider: string;
1051
- };
1052
- } & {
1053
- json: {
1054
- enabled: boolean;
1055
- };
1056
- };
1057
- };
1058
- };
1059
- } & {
1060
- "/providers/:provider/retry": {
1061
- $post: {
1062
- output: {
1063
- error: string;
1064
- code?: "invalid_input" | undefined;
1065
- };
1066
- outputFormat: "json";
1067
- status: 400;
1068
- input: {
1069
- param: {
1070
- provider: string;
1071
- };
1072
- } & {
1073
- json: {
1074
- authFailureId: string;
1075
- };
1076
- };
1077
- } | {
1078
- output: {
1079
- providers: {
1080
- requiresAccountHome?: boolean | undefined;
1081
- provider: string;
1082
- status: "connected" | "disconnected" | "not-installed" | "unknown";
1083
- enabled?: boolean | undefined;
1084
- hint?: string | undefined;
1085
- authFailureId?: string | undefined;
1086
- profileId?: string | undefined;
1087
- }[];
1088
- };
1089
- outputFormat: "json";
1090
- status: import("hono/utils/http-status").ContentfulStatusCode;
1091
- input: {
1092
- param: {
1093
- provider: string;
1094
- };
1095
- } & {
1096
- json: {
1097
- authFailureId: string;
1098
- };
1099
- };
1100
- } | {
1101
- output: {
1102
- error: string;
1103
- };
1104
- outputFormat: "json";
1105
- status: 409;
1106
- input: {
1107
- param: {
1108
- provider: string;
1109
- };
1110
- } & {
1111
- json: {
1112
- authFailureId: string;
1113
- };
1114
- };
1115
- };
1116
- };
1117
- } & {
1118
- "/providers/connect": {
1119
- $post: {
1120
- output: {
1121
- error: string;
1122
- };
1123
- outputFormat: "json";
1124
- status: 409;
1125
- input: {
1126
- json: {
1127
- provider: string;
1128
- profileId?: string | undefined;
1129
- };
1130
- };
1131
- } | {
1132
- output: {
1133
- error: string;
1134
- };
1135
- outputFormat: "json";
1136
- status: 400;
1137
- input: {
1138
- json: {
1139
- provider: string;
1140
- profileId?: string | undefined;
1141
- };
1142
- };
1143
- } | {
1144
- output: {
1145
- error: string;
1146
- };
1147
- outputFormat: "json";
1148
- status: 500;
1149
- input: {
1150
- json: {
1151
- provider: string;
1152
- profileId?: string | undefined;
1153
- };
1154
- };
1155
- } | {
1156
- output: {
1157
- opened: false;
1158
- connected: true;
1159
- command: string;
1160
- };
1161
- outputFormat: "json";
1162
- status: import("hono/utils/http-status").ContentfulStatusCode;
1163
- input: {
1164
- json: {
1165
- provider: string;
1166
- profileId?: string | undefined;
1167
- };
1168
- };
1169
- } | {
1170
- output: {
1171
- opened: true;
1172
- command: string;
1173
- };
1174
- outputFormat: "json";
1175
- status: import("hono/utils/http-status").ContentfulStatusCode;
1176
- input: {
1177
- json: {
1178
- provider: string;
1179
- profileId?: string | undefined;
1180
- };
1181
- };
1182
- };
1183
- };
1184
966
  }, "/"> | import("hono/types").MergeSchemaPath<{
1185
967
  "/workspace/config": {
1186
968
  $get: {
@@ -1480,6 +1262,224 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1480
1262
  };
1481
1263
  };
1482
1264
  };
1265
+ }, "/"> | import("hono/types").MergeSchemaPath<{
1266
+ "/providers/status": {
1267
+ $get: {
1268
+ output: {
1269
+ error: string;
1270
+ code?: "invalid_input" | undefined;
1271
+ };
1272
+ outputFormat: "json";
1273
+ status: 400;
1274
+ input: {
1275
+ query: {
1276
+ refresh?: "1" | undefined;
1277
+ };
1278
+ };
1279
+ } | {
1280
+ output: {
1281
+ providers: {
1282
+ requiresAccountHome?: boolean | undefined;
1283
+ provider: string;
1284
+ status: "connected" | "disconnected" | "not-installed" | "unknown";
1285
+ enabled?: boolean | undefined;
1286
+ hint?: string | undefined;
1287
+ authFailureId?: string | undefined;
1288
+ profileId?: string | undefined;
1289
+ }[];
1290
+ };
1291
+ outputFormat: "json";
1292
+ status: import("hono/utils/http-status").ContentfulStatusCode;
1293
+ input: {
1294
+ query: {
1295
+ refresh?: "1" | undefined;
1296
+ };
1297
+ };
1298
+ };
1299
+ };
1300
+ } & {
1301
+ "/providers/:provider/enabled": {
1302
+ $put: {
1303
+ output: {
1304
+ error: string;
1305
+ code?: "invalid_input" | undefined;
1306
+ };
1307
+ outputFormat: "json";
1308
+ status: 400;
1309
+ input: {
1310
+ param: {
1311
+ provider: string;
1312
+ };
1313
+ } & {
1314
+ json: {
1315
+ enabled: boolean;
1316
+ };
1317
+ };
1318
+ } | {
1319
+ output: {
1320
+ providers: {
1321
+ requiresAccountHome?: boolean | undefined;
1322
+ provider: string;
1323
+ status: "connected" | "disconnected" | "not-installed" | "unknown";
1324
+ enabled?: boolean | undefined;
1325
+ hint?: string | undefined;
1326
+ authFailureId?: string | undefined;
1327
+ profileId?: string | undefined;
1328
+ }[];
1329
+ };
1330
+ outputFormat: "json";
1331
+ status: import("hono/utils/http-status").ContentfulStatusCode;
1332
+ input: {
1333
+ param: {
1334
+ provider: string;
1335
+ };
1336
+ } & {
1337
+ json: {
1338
+ enabled: boolean;
1339
+ };
1340
+ };
1341
+ } | {
1342
+ output: {
1343
+ error: string;
1344
+ };
1345
+ outputFormat: "json";
1346
+ status: 500;
1347
+ input: {
1348
+ param: {
1349
+ provider: string;
1350
+ };
1351
+ } & {
1352
+ json: {
1353
+ enabled: boolean;
1354
+ };
1355
+ };
1356
+ };
1357
+ };
1358
+ } & {
1359
+ "/providers/:provider/retry": {
1360
+ $post: {
1361
+ output: {
1362
+ error: string;
1363
+ code?: "invalid_input" | undefined;
1364
+ };
1365
+ outputFormat: "json";
1366
+ status: 400;
1367
+ input: {
1368
+ param: {
1369
+ provider: string;
1370
+ };
1371
+ } & {
1372
+ json: {
1373
+ authFailureId: string;
1374
+ };
1375
+ };
1376
+ } | {
1377
+ output: {
1378
+ providers: {
1379
+ requiresAccountHome?: boolean | undefined;
1380
+ provider: string;
1381
+ status: "connected" | "disconnected" | "not-installed" | "unknown";
1382
+ enabled?: boolean | undefined;
1383
+ hint?: string | undefined;
1384
+ authFailureId?: string | undefined;
1385
+ profileId?: string | undefined;
1386
+ }[];
1387
+ };
1388
+ outputFormat: "json";
1389
+ status: import("hono/utils/http-status").ContentfulStatusCode;
1390
+ input: {
1391
+ param: {
1392
+ provider: string;
1393
+ };
1394
+ } & {
1395
+ json: {
1396
+ authFailureId: string;
1397
+ };
1398
+ };
1399
+ } | {
1400
+ output: {
1401
+ error: string;
1402
+ };
1403
+ outputFormat: "json";
1404
+ status: 409;
1405
+ input: {
1406
+ param: {
1407
+ provider: string;
1408
+ };
1409
+ } & {
1410
+ json: {
1411
+ authFailureId: string;
1412
+ };
1413
+ };
1414
+ };
1415
+ };
1416
+ } & {
1417
+ "/providers/connect": {
1418
+ $post: {
1419
+ output: {
1420
+ error: string;
1421
+ };
1422
+ outputFormat: "json";
1423
+ status: 409;
1424
+ input: {
1425
+ json: {
1426
+ provider: string;
1427
+ profileId?: string | undefined;
1428
+ };
1429
+ };
1430
+ } | {
1431
+ output: {
1432
+ error: string;
1433
+ };
1434
+ outputFormat: "json";
1435
+ status: 400;
1436
+ input: {
1437
+ json: {
1438
+ provider: string;
1439
+ profileId?: string | undefined;
1440
+ };
1441
+ };
1442
+ } | {
1443
+ output: {
1444
+ error: string;
1445
+ };
1446
+ outputFormat: "json";
1447
+ status: 500;
1448
+ input: {
1449
+ json: {
1450
+ provider: string;
1451
+ profileId?: string | undefined;
1452
+ };
1453
+ };
1454
+ } | {
1455
+ output: {
1456
+ opened: false;
1457
+ connected: true;
1458
+ command: string;
1459
+ };
1460
+ outputFormat: "json";
1461
+ status: import("hono/utils/http-status").ContentfulStatusCode;
1462
+ input: {
1463
+ json: {
1464
+ provider: string;
1465
+ profileId?: string | undefined;
1466
+ };
1467
+ };
1468
+ } | {
1469
+ output: {
1470
+ opened: true;
1471
+ command: string;
1472
+ };
1473
+ outputFormat: "json";
1474
+ status: import("hono/utils/http-status").ContentfulStatusCode;
1475
+ input: {
1476
+ json: {
1477
+ provider: string;
1478
+ profileId?: string | undefined;
1479
+ };
1480
+ };
1481
+ };
1482
+ };
1483
1483
  }, "/"> | import("hono/types").MergeSchemaPath<{
1484
1484
  "/providers/sign-in/start": {
1485
1485
  $post: {
@@ -3092,12 +3092,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3092
3092
  output: {
3093
3093
  generation: string;
3094
3094
  results: ({
3095
- projectId: string;
3096
- runId: string;
3097
- type: "error" | "reset";
3098
- status: 400 | 404 | 409 | 413 | 503;
3099
- error: string;
3100
- } | {
3101
3095
  projectId: string;
3102
3096
  runId: string;
3103
3097
  type: "batch";
@@ -3111,6 +3105,12 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3111
3105
  cursor: string;
3112
3106
  afterSeq: number;
3113
3107
  hasMore: boolean;
3108
+ } | {
3109
+ projectId: string;
3110
+ runId: string;
3111
+ type: "error" | "reset";
3112
+ status: 400 | 404 | 409 | 413 | 503;
3113
+ error: string;
3114
3114
  })[];
3115
3115
  };
3116
3116
  outputFormat: "json";
@@ -3428,6 +3428,59 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3428
3428
  };
3429
3429
  };
3430
3430
  };
3431
+ }, "/"> | import("hono/types").MergeSchemaPath<{
3432
+ "/open-targets": {
3433
+ $get: {
3434
+ output: {
3435
+ targets: {
3436
+ id: string;
3437
+ label: string;
3438
+ icon?: string;
3439
+ }[];
3440
+ };
3441
+ outputFormat: "json";
3442
+ status: import("hono/utils/http-status").ContentfulStatusCode;
3443
+ input: {};
3444
+ };
3445
+ };
3446
+ } & {
3447
+ "/open-in": {
3448
+ $post: {
3449
+ output: {
3450
+ error: string;
3451
+ };
3452
+ outputFormat: "json";
3453
+ status: 409;
3454
+ input: {
3455
+ json: {
3456
+ target: string;
3457
+ };
3458
+ };
3459
+ } | {
3460
+ output: {
3461
+ error: string;
3462
+ };
3463
+ outputFormat: "json";
3464
+ status: 400;
3465
+ input: {
3466
+ json: {
3467
+ target: string;
3468
+ };
3469
+ };
3470
+ } | {
3471
+ output: {
3472
+ opened: true;
3473
+ path: string;
3474
+ };
3475
+ outputFormat: "json";
3476
+ status: import("hono/utils/http-status").ContentfulStatusCode;
3477
+ input: {
3478
+ json: {
3479
+ target: string;
3480
+ };
3481
+ };
3482
+ };
3483
+ };
3431
3484
  }, "/"> | import("hono/types").MergeSchemaPath<{
3432
3485
  "/ui-state": {
3433
3486
  $get: {
@@ -3589,59 +3642,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3589
3642
  };
3590
3643
  };
3591
3644
  };
3592
- }, "/"> | import("hono/types").MergeSchemaPath<{
3593
- "/open-targets": {
3594
- $get: {
3595
- output: {
3596
- targets: {
3597
- id: string;
3598
- label: string;
3599
- icon?: string;
3600
- }[];
3601
- };
3602
- outputFormat: "json";
3603
- status: import("hono/utils/http-status").ContentfulStatusCode;
3604
- input: {};
3605
- };
3606
- };
3607
- } & {
3608
- "/open-in": {
3609
- $post: {
3610
- output: {
3611
- error: string;
3612
- };
3613
- outputFormat: "json";
3614
- status: 409;
3615
- input: {
3616
- json: {
3617
- target: string;
3618
- };
3619
- };
3620
- } | {
3621
- output: {
3622
- error: string;
3623
- };
3624
- outputFormat: "json";
3625
- status: 400;
3626
- input: {
3627
- json: {
3628
- target: string;
3629
- };
3630
- };
3631
- } | {
3632
- output: {
3633
- opened: true;
3634
- path: string;
3635
- };
3636
- outputFormat: "json";
3637
- status: import("hono/utils/http-status").ContentfulStatusCode;
3638
- input: {
3639
- json: {
3640
- target: string;
3641
- };
3642
- };
3643
- };
3644
- };
3645
3645
  }, "/"> | import("hono/types").MergeSchemaPath<{
3646
3646
  "/runs/:id/events": {
3647
3647
  $get: {
@@ -4652,6 +4652,19 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4652
4652
  } & {
4653
4653
  "/repo/commit/:sha": {
4654
4654
  $get: {
4655
+ output: string;
4656
+ outputFormat: "text";
4657
+ status: import("hono/utils/http-status").ContentfulStatusCode;
4658
+ input: {
4659
+ query: {
4660
+ structured?: string | undefined;
4661
+ };
4662
+ } & {
4663
+ param: {
4664
+ sha: string;
4665
+ };
4666
+ };
4667
+ } | {
4655
4668
  output: {
4656
4669
  error: string;
4657
4670
  code?: "invalid_input" | undefined;
@@ -4667,6 +4680,21 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4667
4680
  sha: string;
4668
4681
  };
4669
4682
  };
4683
+ } | {
4684
+ output: {
4685
+ error: string;
4686
+ };
4687
+ outputFormat: "json";
4688
+ status: 409;
4689
+ input: {
4690
+ query: {
4691
+ structured?: string | undefined;
4692
+ };
4693
+ } & {
4694
+ param: {
4695
+ sha: string;
4696
+ };
4697
+ };
4670
4698
  } | {
4671
4699
  output: {
4672
4700
  sha: string;
@@ -4700,39 +4728,18 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4700
4728
  sha: string;
4701
4729
  };
4702
4730
  };
4703
- } | {
4731
+ };
4732
+ };
4733
+ } & {
4734
+ "/repo/changes": {
4735
+ $get: {
4704
4736
  output: {
4705
4737
  error: string;
4706
4738
  };
4707
4739
  outputFormat: "json";
4708
4740
  status: 409;
4709
- input: {
4710
- query: {
4711
- structured?: string | undefined;
4712
- };
4713
- } & {
4714
- param: {
4715
- sha: string;
4716
- };
4717
- };
4741
+ input: {};
4718
4742
  } | {
4719
- output: string;
4720
- outputFormat: "text";
4721
- status: import("hono/utils/http-status").ContentfulStatusCode;
4722
- input: {
4723
- query: {
4724
- structured?: string | undefined;
4725
- };
4726
- } & {
4727
- param: {
4728
- sha: string;
4729
- };
4730
- };
4731
- };
4732
- };
4733
- } & {
4734
- "/repo/changes": {
4735
- $get: {
4736
4743
  output: {
4737
4744
  files: {
4738
4745
  path: string;
@@ -4757,13 +4764,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4757
4764
  outputFormat: "json";
4758
4765
  status: import("hono/utils/http-status").ContentfulStatusCode;
4759
4766
  input: {};
4760
- } | {
4761
- output: {
4762
- error: string;
4763
- };
4764
- outputFormat: "json";
4765
- status: 409;
4766
- input: {};
4767
4767
  };
4768
4768
  };
4769
4769
  } & {
@@ -8632,37 +8632,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
8632
8632
  } & {
8633
8633
  "/runs/:id/worker-destroy": {
8634
8634
  $post: {
8635
- output: {
8636
- readonly code: "capacity_limit" | "denied_scope" | "incompatible_state" | "incomplete_cleanup" | "invalid_baseline" | "invalid_input" | "unauthenticated" | "unavailable_diff" | "unavailable_transport";
8637
- readonly error: string;
8638
- readonly modelChoices?: {
8639
- runner: string;
8640
- requestedModel: string;
8641
- availableModels: {
8642
- id: string;
8643
- label: string;
8644
- description: string;
8645
- effortLevels?: ("high" | "low" | "max" | "medium" | "xhigh")[] | undefined;
8646
- }[];
8647
- otherRunners: string[];
8648
- } | undefined;
8649
- };
8650
- outputFormat: "json";
8651
- status: 400 | 401 | 403 | 409 | 503;
8652
- input: {
8653
- query: {
8654
- [x: string]: string | string[];
8655
- };
8656
- } & {
8657
- param: {
8658
- id: string;
8659
- };
8660
- } & {
8661
- json: {
8662
- discardWork?: true | undefined;
8663
- };
8664
- };
8665
- } | {
8666
8635
  output: {
8667
8636
  error: string;
8668
8637
  code?: "invalid_input" | undefined;
@@ -8748,6 +8717,37 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
8748
8717
  discardWork?: true | undefined;
8749
8718
  };
8750
8719
  };
8720
+ } | {
8721
+ output: {
8722
+ readonly code: "capacity_limit" | "denied_scope" | "incompatible_state" | "incomplete_cleanup" | "invalid_baseline" | "invalid_input" | "unauthenticated" | "unavailable_diff" | "unavailable_transport";
8723
+ readonly error: string;
8724
+ readonly modelChoices?: {
8725
+ runner: string;
8726
+ requestedModel: string;
8727
+ availableModels: {
8728
+ id: string;
8729
+ label: string;
8730
+ description: string;
8731
+ effortLevels?: ("high" | "low" | "max" | "medium" | "xhigh")[] | undefined;
8732
+ }[];
8733
+ otherRunners: string[];
8734
+ } | undefined;
8735
+ };
8736
+ outputFormat: "json";
8737
+ status: 400 | 401 | 403 | 409 | 503;
8738
+ input: {
8739
+ query: {
8740
+ [x: string]: string | string[];
8741
+ };
8742
+ } & {
8743
+ param: {
8744
+ id: string;
8745
+ };
8746
+ } & {
8747
+ json: {
8748
+ discardWork?: true | undefined;
8749
+ };
8750
+ };
8751
8751
  };
8752
8752
  };
8753
8753
  } & {
@@ -19146,7 +19146,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19146
19146
  error: string;
19147
19147
  };
19148
19148
  outputFormat: "json";
19149
- status: 400;
19149
+ status: 404 | 409;
19150
19150
  input: {
19151
19151
  json: {
19152
19152
  target: string;
@@ -19159,11 +19159,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19159
19159
  };
19160
19160
  } | {
19161
19161
  output: {
19162
- opened: true;
19163
- path: string;
19162
+ error: string;
19164
19163
  };
19165
19164
  outputFormat: "json";
19166
- status: import("hono/utils/http-status").ContentfulStatusCode;
19165
+ status: 400;
19167
19166
  input: {
19168
19167
  json: {
19169
19168
  target: string;
@@ -19176,10 +19175,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19176
19175
  };
19177
19176
  } | {
19178
19177
  output: {
19179
- error: string;
19178
+ opened: true;
19179
+ path: string;
19180
19180
  };
19181
19181
  outputFormat: "json";
19182
- status: 404 | 409;
19182
+ status: import("hono/utils/http-status").ContentfulStatusCode;
19183
19183
  input: {
19184
19184
  json: {
19185
19185
  target: string;
@@ -19195,20 +19195,20 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19195
19195
  } & {
19196
19196
  "/runs/:id/handoff": {
19197
19197
  $get: {
19198
- output: {
19199
- error: string;
19200
- };
19201
- outputFormat: "json";
19202
- status: 404;
19198
+ output: string;
19199
+ outputFormat: "text";
19200
+ status: 200;
19203
19201
  input: {
19204
19202
  param: {
19205
19203
  id: string;
19206
19204
  };
19207
19205
  };
19208
19206
  } | {
19209
- output: string;
19210
- outputFormat: "text";
19211
- status: 200;
19207
+ output: {
19208
+ error: string;
19209
+ };
19210
+ outputFormat: "json";
19211
+ status: 404;
19212
19212
  input: {
19213
19213
  param: {
19214
19214
  id: string;
@@ -19246,20 +19246,20 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19246
19246
  } & {
19247
19247
  "/runs/:id/diff": {
19248
19248
  $get: {
19249
- output: {
19250
- error: string;
19251
- };
19252
- outputFormat: "json";
19253
- status: 404 | 409;
19249
+ output: string;
19250
+ outputFormat: "text";
19251
+ status: import("hono/utils/http-status").ContentfulStatusCode;
19254
19252
  input: {
19255
19253
  param: {
19256
19254
  id: string;
19257
19255
  };
19258
19256
  };
19259
19257
  } | {
19260
- output: string;
19261
- outputFormat: "text";
19262
- status: import("hono/utils/http-status").ContentfulStatusCode;
19258
+ output: {
19259
+ error: string;
19260
+ };
19261
+ outputFormat: "json";
19262
+ status: 404 | 409;
19263
19263
  input: {
19264
19264
  param: {
19265
19265
  id: string;
@@ -20082,6 +20082,59 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
20082
20082
  };
20083
20083
  };
20084
20084
  };
20085
+ }, "/"> | import("hono/types").MergeSchemaPath<{
20086
+ "/open-targets": {
20087
+ $get: {
20088
+ output: {
20089
+ targets: {
20090
+ id: string;
20091
+ label: string;
20092
+ icon?: string;
20093
+ }[];
20094
+ };
20095
+ outputFormat: "json";
20096
+ status: import("hono/utils/http-status").ContentfulStatusCode;
20097
+ input: {};
20098
+ };
20099
+ };
20100
+ } & {
20101
+ "/open-in": {
20102
+ $post: {
20103
+ output: {
20104
+ error: string;
20105
+ };
20106
+ outputFormat: "json";
20107
+ status: 409;
20108
+ input: {
20109
+ json: {
20110
+ target: string;
20111
+ };
20112
+ };
20113
+ } | {
20114
+ output: {
20115
+ error: string;
20116
+ };
20117
+ outputFormat: "json";
20118
+ status: 400;
20119
+ input: {
20120
+ json: {
20121
+ target: string;
20122
+ };
20123
+ };
20124
+ } | {
20125
+ output: {
20126
+ opened: true;
20127
+ path: string;
20128
+ };
20129
+ outputFormat: "json";
20130
+ status: import("hono/utils/http-status").ContentfulStatusCode;
20131
+ input: {
20132
+ json: {
20133
+ target: string;
20134
+ };
20135
+ };
20136
+ };
20137
+ };
20085
20138
  }, "/"> | import("hono/types").MergeSchemaPath<{
20086
20139
  "/ui-state": {
20087
20140
  $get: {
@@ -20243,59 +20296,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
20243
20296
  };
20244
20297
  };
20245
20298
  };
20246
- }, "/"> | import("hono/types").MergeSchemaPath<{
20247
- "/open-targets": {
20248
- $get: {
20249
- output: {
20250
- targets: {
20251
- id: string;
20252
- label: string;
20253
- icon?: string;
20254
- }[];
20255
- };
20256
- outputFormat: "json";
20257
- status: import("hono/utils/http-status").ContentfulStatusCode;
20258
- input: {};
20259
- };
20260
- };
20261
- } & {
20262
- "/open-in": {
20263
- $post: {
20264
- output: {
20265
- error: string;
20266
- };
20267
- outputFormat: "json";
20268
- status: 409;
20269
- input: {
20270
- json: {
20271
- target: string;
20272
- };
20273
- };
20274
- } | {
20275
- output: {
20276
- error: string;
20277
- };
20278
- outputFormat: "json";
20279
- status: 400;
20280
- input: {
20281
- json: {
20282
- target: string;
20283
- };
20284
- };
20285
- } | {
20286
- output: {
20287
- opened: true;
20288
- path: string;
20289
- };
20290
- outputFormat: "json";
20291
- status: import("hono/utils/http-status").ContentfulStatusCode;
20292
- input: {
20293
- json: {
20294
- target: string;
20295
- };
20296
- };
20297
- };
20298
- };
20299
20299
  }, "/"> | import("hono/types").MergeSchemaPath<{
20300
20300
  "/runs/:id/events": {
20301
20301
  $get: {
@@ -21306,6 +21306,19 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
21306
21306
  } & {
21307
21307
  "/repo/commit/:sha": {
21308
21308
  $get: {
21309
+ output: string;
21310
+ outputFormat: "text";
21311
+ status: import("hono/utils/http-status").ContentfulStatusCode;
21312
+ input: {
21313
+ query: {
21314
+ structured?: string | undefined;
21315
+ };
21316
+ } & {
21317
+ param: {
21318
+ sha: string;
21319
+ };
21320
+ };
21321
+ } | {
21309
21322
  output: {
21310
21323
  error: string;
21311
21324
  code?: "invalid_input" | undefined;
@@ -21321,6 +21334,21 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
21321
21334
  sha: string;
21322
21335
  };
21323
21336
  };
21337
+ } | {
21338
+ output: {
21339
+ error: string;
21340
+ };
21341
+ outputFormat: "json";
21342
+ status: 409;
21343
+ input: {
21344
+ query: {
21345
+ structured?: string | undefined;
21346
+ };
21347
+ } & {
21348
+ param: {
21349
+ sha: string;
21350
+ };
21351
+ };
21324
21352
  } | {
21325
21353
  output: {
21326
21354
  sha: string;
@@ -21354,39 +21382,18 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
21354
21382
  sha: string;
21355
21383
  };
21356
21384
  };
21357
- } | {
21385
+ };
21386
+ };
21387
+ } & {
21388
+ "/repo/changes": {
21389
+ $get: {
21358
21390
  output: {
21359
21391
  error: string;
21360
21392
  };
21361
21393
  outputFormat: "json";
21362
21394
  status: 409;
21363
- input: {
21364
- query: {
21365
- structured?: string | undefined;
21366
- };
21367
- } & {
21368
- param: {
21369
- sha: string;
21370
- };
21371
- };
21395
+ input: {};
21372
21396
  } | {
21373
- output: string;
21374
- outputFormat: "text";
21375
- status: import("hono/utils/http-status").ContentfulStatusCode;
21376
- input: {
21377
- query: {
21378
- structured?: string | undefined;
21379
- };
21380
- } & {
21381
- param: {
21382
- sha: string;
21383
- };
21384
- };
21385
- };
21386
- };
21387
- } & {
21388
- "/repo/changes": {
21389
- $get: {
21390
21397
  output: {
21391
21398
  files: {
21392
21399
  path: string;
@@ -21411,13 +21418,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
21411
21418
  outputFormat: "json";
21412
21419
  status: import("hono/utils/http-status").ContentfulStatusCode;
21413
21420
  input: {};
21414
- } | {
21415
- output: {
21416
- error: string;
21417
- };
21418
- outputFormat: "json";
21419
- status: 409;
21420
- input: {};
21421
21421
  };
21422
21422
  };
21423
21423
  } & {
@@ -25286,37 +25286,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
25286
25286
  } & {
25287
25287
  "/runs/:id/worker-destroy": {
25288
25288
  $post: {
25289
- output: {
25290
- readonly code: "capacity_limit" | "denied_scope" | "incompatible_state" | "incomplete_cleanup" | "invalid_baseline" | "invalid_input" | "unauthenticated" | "unavailable_diff" | "unavailable_transport";
25291
- readonly error: string;
25292
- readonly modelChoices?: {
25293
- runner: string;
25294
- requestedModel: string;
25295
- availableModels: {
25296
- id: string;
25297
- label: string;
25298
- description: string;
25299
- effortLevels?: ("high" | "low" | "max" | "medium" | "xhigh")[] | undefined;
25300
- }[];
25301
- otherRunners: string[];
25302
- } | undefined;
25303
- };
25304
- outputFormat: "json";
25305
- status: 400 | 401 | 403 | 409 | 503;
25306
- input: {
25307
- query: {
25308
- [x: string]: string | string[];
25309
- };
25310
- } & {
25311
- param: {
25312
- id: string;
25313
- };
25314
- } & {
25315
- json: {
25316
- discardWork?: true | undefined;
25317
- };
25318
- };
25319
- } | {
25320
25289
  output: {
25321
25290
  error: string;
25322
25291
  code?: "invalid_input" | undefined;
@@ -25402,6 +25371,37 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
25402
25371
  discardWork?: true | undefined;
25403
25372
  };
25404
25373
  };
25374
+ } | {
25375
+ output: {
25376
+ readonly code: "capacity_limit" | "denied_scope" | "incompatible_state" | "incomplete_cleanup" | "invalid_baseline" | "invalid_input" | "unauthenticated" | "unavailable_diff" | "unavailable_transport";
25377
+ readonly error: string;
25378
+ readonly modelChoices?: {
25379
+ runner: string;
25380
+ requestedModel: string;
25381
+ availableModels: {
25382
+ id: string;
25383
+ label: string;
25384
+ description: string;
25385
+ effortLevels?: ("high" | "low" | "max" | "medium" | "xhigh")[] | undefined;
25386
+ }[];
25387
+ otherRunners: string[];
25388
+ } | undefined;
25389
+ };
25390
+ outputFormat: "json";
25391
+ status: 400 | 401 | 403 | 409 | 503;
25392
+ input: {
25393
+ query: {
25394
+ [x: string]: string | string[];
25395
+ };
25396
+ } & {
25397
+ param: {
25398
+ id: string;
25399
+ };
25400
+ } & {
25401
+ json: {
25402
+ discardWork?: true | undefined;
25403
+ };
25404
+ };
25405
25405
  };
25406
25406
  };
25407
25407
  } & {
@@ -35800,7 +35800,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
35800
35800
  error: string;
35801
35801
  };
35802
35802
  outputFormat: "json";
35803
- status: 400;
35803
+ status: 404 | 409;
35804
35804
  input: {
35805
35805
  json: {
35806
35806
  target: string;
@@ -35813,11 +35813,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
35813
35813
  };
35814
35814
  } | {
35815
35815
  output: {
35816
- opened: true;
35817
- path: string;
35816
+ error: string;
35818
35817
  };
35819
35818
  outputFormat: "json";
35820
- status: import("hono/utils/http-status").ContentfulStatusCode;
35819
+ status: 400;
35821
35820
  input: {
35822
35821
  json: {
35823
35822
  target: string;
@@ -35830,10 +35829,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
35830
35829
  };
35831
35830
  } | {
35832
35831
  output: {
35833
- error: string;
35832
+ opened: true;
35833
+ path: string;
35834
35834
  };
35835
35835
  outputFormat: "json";
35836
- status: 404 | 409;
35836
+ status: import("hono/utils/http-status").ContentfulStatusCode;
35837
35837
  input: {
35838
35838
  json: {
35839
35839
  target: string;
@@ -35849,20 +35849,20 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
35849
35849
  } & {
35850
35850
  "/runs/:id/handoff": {
35851
35851
  $get: {
35852
- output: {
35853
- error: string;
35854
- };
35855
- outputFormat: "json";
35856
- status: 404;
35852
+ output: string;
35853
+ outputFormat: "text";
35854
+ status: 200;
35857
35855
  input: {
35858
35856
  param: {
35859
35857
  id: string;
35860
35858
  };
35861
35859
  };
35862
35860
  } | {
35863
- output: string;
35864
- outputFormat: "text";
35865
- status: 200;
35861
+ output: {
35862
+ error: string;
35863
+ };
35864
+ outputFormat: "json";
35865
+ status: 404;
35866
35866
  input: {
35867
35867
  param: {
35868
35868
  id: string;
@@ -35900,20 +35900,20 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
35900
35900
  } & {
35901
35901
  "/runs/:id/diff": {
35902
35902
  $get: {
35903
- output: {
35904
- error: string;
35905
- };
35906
- outputFormat: "json";
35907
- status: 404 | 409;
35903
+ output: string;
35904
+ outputFormat: "text";
35905
+ status: import("hono/utils/http-status").ContentfulStatusCode;
35908
35906
  input: {
35909
35907
  param: {
35910
35908
  id: string;
35911
35909
  };
35912
35910
  };
35913
35911
  } | {
35914
- output: string;
35915
- outputFormat: "text";
35916
- status: import("hono/utils/http-status").ContentfulStatusCode;
35912
+ output: {
35913
+ error: string;
35914
+ };
35915
+ outputFormat: "json";
35916
+ status: 404 | 409;
35917
35917
  input: {
35918
35918
  param: {
35919
35919
  id: string;