@hearsay-tools/squawk 0.19.0-dev.8999 → 0.19.0-dev.9008

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,6 +156,56 @@ 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
+ "/models": {
160
+ $get: {
161
+ output: {
162
+ error: string;
163
+ code?: "invalid_input" | undefined;
164
+ };
165
+ outputFormat: "json";
166
+ status: 400;
167
+ input: {
168
+ query: {
169
+ runner: string | string[];
170
+ profileId?: string | undefined;
171
+ };
172
+ };
173
+ } | {
174
+ output: {
175
+ runner: string;
176
+ models: {
177
+ id: string;
178
+ label: string;
179
+ description: string;
180
+ effortLevels?: import('../contract/index.js').EffortLevel[];
181
+ }[];
182
+ source: import("../core/runner-model-catalog.ts").ModelCatalogSource;
183
+ stale: boolean;
184
+ reason?: string;
185
+ };
186
+ outputFormat: "json";
187
+ status: import("hono/utils/http-status").ContentfulStatusCode;
188
+ input: {
189
+ query: {
190
+ runner: string | string[];
191
+ profileId?: string | undefined;
192
+ };
193
+ };
194
+ } | {
195
+ output: {
196
+ error: string;
197
+ };
198
+ outputFormat: "json";
199
+ status: 400;
200
+ input: {
201
+ query: {
202
+ runner: string | string[];
203
+ profileId?: string | undefined;
204
+ };
205
+ };
206
+ };
207
+ };
208
+ }, "/"> | import("hono/types").MergeSchemaPath<{
159
209
  "/health": {
160
210
  $get: {
161
211
  output: {
@@ -287,56 +337,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
287
337
  };
288
338
  };
289
339
  };
290
- }, "/"> | import("hono/types").MergeSchemaPath<{
291
- "/models": {
292
- $get: {
293
- output: {
294
- error: string;
295
- code?: "invalid_input" | undefined;
296
- };
297
- outputFormat: "json";
298
- status: 400;
299
- input: {
300
- query: {
301
- runner: string | string[];
302
- profileId?: string | undefined;
303
- };
304
- };
305
- } | {
306
- output: {
307
- runner: string;
308
- models: {
309
- id: string;
310
- label: string;
311
- description: string;
312
- effortLevels?: import('../contract/index.js').EffortLevel[];
313
- }[];
314
- source: import("../core/runner-model-catalog.ts").ModelCatalogSource;
315
- stale: boolean;
316
- reason?: string;
317
- };
318
- outputFormat: "json";
319
- status: import("hono/utils/http-status").ContentfulStatusCode;
320
- input: {
321
- query: {
322
- runner: string | string[];
323
- profileId?: string | undefined;
324
- };
325
- };
326
- } | {
327
- output: {
328
- error: string;
329
- };
330
- outputFormat: "json";
331
- status: 400;
332
- input: {
333
- query: {
334
- runner: string | string[];
335
- profileId?: string | undefined;
336
- };
337
- };
338
- };
339
- };
340
340
  }, "/"> | import("hono/types").MergeSchemaPath<{
341
341
  "/workspace/activity": {
342
342
  $get: {
@@ -931,57 +931,43 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
931
931
  };
932
932
  };
933
933
  }, "/"> | import("hono/types").MergeSchemaPath<{
934
- "/providers/sign-in/start": {
935
- $post: {
934
+ "/providers/status": {
935
+ $get: {
936
936
  output: {
937
937
  error: string;
938
+ code?: "invalid_input" | undefined;
938
939
  };
939
940
  outputFormat: "json";
940
- status: 409;
941
+ status: 400;
941
942
  input: {
942
- json: {
943
- provider: string;
944
- profileId?: string | undefined;
943
+ query: {
944
+ refresh?: "1" | undefined;
945
945
  };
946
946
  };
947
947
  } | {
948
948
  output: {
949
- error: string;
950
- };
951
- outputFormat: "json";
952
- status: 400;
953
- input: {
954
- json: {
949
+ providers: {
950
+ requiresAccountHome?: boolean | undefined;
955
951
  provider: string;
952
+ status: "connected" | "disconnected" | "not-installed" | "unknown";
953
+ enabled?: boolean | undefined;
954
+ hint?: string | undefined;
955
+ authFailureId?: string | undefined;
956
956
  profileId?: string | undefined;
957
- };
958
- };
959
- } | {
960
- output: {
961
- id: string;
962
- state: "waiting";
963
- url: string;
964
- } | {
965
- id: string;
966
- state: "cancelled" | "connected";
967
- } | {
968
- id: string;
969
- state: "failed";
970
- error: string;
957
+ }[];
971
958
  };
972
959
  outputFormat: "json";
973
960
  status: import("hono/utils/http-status").ContentfulStatusCode;
974
961
  input: {
975
- json: {
976
- provider: string;
977
- profileId?: string | undefined;
962
+ query: {
963
+ refresh?: "1" | undefined;
978
964
  };
979
965
  };
980
966
  };
981
967
  };
982
968
  } & {
983
- "/providers/sign-in/:id": {
984
- $get: {
969
+ "/providers/:provider/enabled": {
970
+ $put: {
985
971
  output: {
986
972
  error: string;
987
973
  code?: "invalid_input" | undefined;
@@ -990,44 +976,55 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
990
976
  status: 400;
991
977
  input: {
992
978
  param: {
993
- id: string;
979
+ provider: string;
980
+ };
981
+ } & {
982
+ json: {
983
+ enabled: boolean;
994
984
  };
995
985
  };
996
986
  } | {
997
987
  output: {
998
- error: string;
988
+ providers: {
989
+ requiresAccountHome?: boolean | undefined;
990
+ provider: string;
991
+ status: "connected" | "disconnected" | "not-installed" | "unknown";
992
+ enabled?: boolean | undefined;
993
+ hint?: string | undefined;
994
+ authFailureId?: string | undefined;
995
+ profileId?: string | undefined;
996
+ }[];
999
997
  };
1000
998
  outputFormat: "json";
1001
- status: 404;
999
+ status: import("hono/utils/http-status").ContentfulStatusCode;
1002
1000
  input: {
1003
1001
  param: {
1004
- id: string;
1002
+ provider: string;
1003
+ };
1004
+ } & {
1005
+ json: {
1006
+ enabled: boolean;
1005
1007
  };
1006
1008
  };
1007
1009
  } | {
1008
1010
  output: {
1009
- id: string;
1010
- state: "waiting";
1011
- url: string;
1012
- } | {
1013
- id: string;
1014
- state: "cancelled" | "connected";
1015
- } | {
1016
- id: string;
1017
- state: "failed";
1018
1011
  error: string;
1019
1012
  };
1020
1013
  outputFormat: "json";
1021
- status: import("hono/utils/http-status").ContentfulStatusCode;
1014
+ status: 500;
1022
1015
  input: {
1023
1016
  param: {
1024
- id: string;
1017
+ provider: string;
1018
+ };
1019
+ } & {
1020
+ json: {
1021
+ enabled: boolean;
1025
1022
  };
1026
1023
  };
1027
1024
  };
1028
1025
  };
1029
1026
  } & {
1030
- "/providers/sign-in/:id/redirect": {
1027
+ "/providers/:provider/retry": {
1031
1028
  $post: {
1032
1029
  output: {
1033
1030
  error: string;
@@ -1037,26 +1034,34 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1037
1034
  status: 400;
1038
1035
  input: {
1039
1036
  param: {
1040
- id: string;
1037
+ provider: string;
1041
1038
  };
1042
1039
  } & {
1043
1040
  json: {
1044
- redirectUrl: string;
1041
+ authFailureId: string;
1045
1042
  };
1046
1043
  };
1047
1044
  } | {
1048
1045
  output: {
1049
- error: string;
1046
+ providers: {
1047
+ requiresAccountHome?: boolean | undefined;
1048
+ provider: string;
1049
+ status: "connected" | "disconnected" | "not-installed" | "unknown";
1050
+ enabled?: boolean | undefined;
1051
+ hint?: string | undefined;
1052
+ authFailureId?: string | undefined;
1053
+ profileId?: string | undefined;
1054
+ }[];
1050
1055
  };
1051
1056
  outputFormat: "json";
1052
- status: 404;
1057
+ status: import("hono/utils/http-status").ContentfulStatusCode;
1053
1058
  input: {
1054
1059
  param: {
1055
- id: string;
1060
+ provider: string;
1056
1061
  };
1057
1062
  } & {
1058
1063
  json: {
1059
- redirectUrl: string;
1064
+ authFailureId: string;
1060
1065
  };
1061
1066
  };
1062
1067
  } | {
@@ -1067,51 +1072,39 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1067
1072
  status: 409;
1068
1073
  input: {
1069
1074
  param: {
1070
- id: string;
1075
+ provider: string;
1071
1076
  };
1072
1077
  } & {
1073
1078
  json: {
1074
- redirectUrl: string;
1079
+ authFailureId: string;
1075
1080
  };
1076
1081
  };
1077
- } | {
1082
+ };
1083
+ };
1084
+ } & {
1085
+ "/providers/connect": {
1086
+ $post: {
1078
1087
  output: {
1079
- id: string;
1080
- state: "waiting";
1081
- url: string;
1082
- } | {
1083
- id: string;
1084
- state: "cancelled" | "connected";
1085
- } | {
1086
- id: string;
1087
- state: "failed";
1088
1088
  error: string;
1089
1089
  };
1090
1090
  outputFormat: "json";
1091
- status: import("hono/utils/http-status").ContentfulStatusCode;
1091
+ status: 409;
1092
1092
  input: {
1093
- param: {
1094
- id: string;
1095
- };
1096
- } & {
1097
1093
  json: {
1098
- redirectUrl: string;
1094
+ provider: string;
1095
+ profileId?: string | undefined;
1099
1096
  };
1100
1097
  };
1101
- };
1102
- };
1103
- } & {
1104
- "/providers/sign-in/:id": {
1105
- $delete: {
1098
+ } | {
1106
1099
  output: {
1107
1100
  error: string;
1108
- code?: "invalid_input" | undefined;
1109
1101
  };
1110
1102
  outputFormat: "json";
1111
1103
  status: 400;
1112
1104
  input: {
1113
- param: {
1114
- id: string;
1105
+ json: {
1106
+ provider: string;
1107
+ profileId?: string | undefined;
1115
1108
  };
1116
1109
  };
1117
1110
  } | {
@@ -1119,217 +1112,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1119
1112
  error: string;
1120
1113
  };
1121
1114
  outputFormat: "json";
1122
- status: 404;
1123
- input: {
1124
- param: {
1125
- id: string;
1126
- };
1127
- };
1128
- } | {
1129
- output: {
1130
- id: string;
1131
- state: "waiting";
1132
- url: string;
1133
- } | {
1134
- id: string;
1135
- state: "cancelled" | "connected";
1136
- } | {
1137
- id: string;
1138
- state: "failed";
1139
- error: string;
1140
- };
1141
- outputFormat: "json";
1142
- status: import("hono/utils/http-status").ContentfulStatusCode;
1143
- input: {
1144
- param: {
1145
- id: string;
1146
- };
1147
- };
1148
- };
1149
- };
1150
- }, "/"> | import("hono/types").MergeSchemaPath<{
1151
- "/providers/status": {
1152
- $get: {
1153
- output: {
1154
- error: string;
1155
- code?: "invalid_input" | undefined;
1156
- };
1157
- outputFormat: "json";
1158
- status: 400;
1159
- input: {
1160
- query: {
1161
- refresh?: "1" | undefined;
1162
- };
1163
- };
1164
- } | {
1165
- output: {
1166
- providers: {
1167
- requiresAccountHome?: boolean | undefined;
1168
- provider: string;
1169
- status: "connected" | "disconnected" | "not-installed" | "unknown";
1170
- enabled?: boolean | undefined;
1171
- hint?: string | undefined;
1172
- authFailureId?: string | undefined;
1173
- profileId?: string | undefined;
1174
- }[];
1175
- };
1176
- outputFormat: "json";
1177
- status: import("hono/utils/http-status").ContentfulStatusCode;
1178
- input: {
1179
- query: {
1180
- refresh?: "1" | undefined;
1181
- };
1182
- };
1183
- };
1184
- };
1185
- } & {
1186
- "/providers/:provider/enabled": {
1187
- $put: {
1188
- output: {
1189
- error: string;
1190
- code?: "invalid_input" | undefined;
1191
- };
1192
- outputFormat: "json";
1193
- status: 400;
1194
- input: {
1195
- param: {
1196
- provider: string;
1197
- };
1198
- } & {
1199
- json: {
1200
- enabled: boolean;
1201
- };
1202
- };
1203
- } | {
1204
- output: {
1205
- providers: {
1206
- requiresAccountHome?: boolean | undefined;
1207
- provider: string;
1208
- status: "connected" | "disconnected" | "not-installed" | "unknown";
1209
- enabled?: boolean | undefined;
1210
- hint?: string | undefined;
1211
- authFailureId?: string | undefined;
1212
- profileId?: string | undefined;
1213
- }[];
1214
- };
1215
- outputFormat: "json";
1216
- status: import("hono/utils/http-status").ContentfulStatusCode;
1217
- input: {
1218
- param: {
1219
- provider: string;
1220
- };
1221
- } & {
1222
- json: {
1223
- enabled: boolean;
1224
- };
1225
- };
1226
- } | {
1227
- output: {
1228
- error: string;
1229
- };
1230
- outputFormat: "json";
1231
- status: 500;
1232
- input: {
1233
- param: {
1234
- provider: string;
1235
- };
1236
- } & {
1237
- json: {
1238
- enabled: boolean;
1239
- };
1240
- };
1241
- };
1242
- };
1243
- } & {
1244
- "/providers/:provider/retry": {
1245
- $post: {
1246
- output: {
1247
- error: string;
1248
- code?: "invalid_input" | undefined;
1249
- };
1250
- outputFormat: "json";
1251
- status: 400;
1252
- input: {
1253
- param: {
1254
- provider: string;
1255
- };
1256
- } & {
1257
- json: {
1258
- authFailureId: string;
1259
- };
1260
- };
1261
- } | {
1262
- output: {
1263
- providers: {
1264
- requiresAccountHome?: boolean | undefined;
1265
- provider: string;
1266
- status: "connected" | "disconnected" | "not-installed" | "unknown";
1267
- enabled?: boolean | undefined;
1268
- hint?: string | undefined;
1269
- authFailureId?: string | undefined;
1270
- profileId?: string | undefined;
1271
- }[];
1272
- };
1273
- outputFormat: "json";
1274
- status: import("hono/utils/http-status").ContentfulStatusCode;
1275
- input: {
1276
- param: {
1277
- provider: string;
1278
- };
1279
- } & {
1280
- json: {
1281
- authFailureId: string;
1282
- };
1283
- };
1284
- } | {
1285
- output: {
1286
- error: string;
1287
- };
1288
- outputFormat: "json";
1289
- status: 409;
1290
- input: {
1291
- param: {
1292
- provider: string;
1293
- };
1294
- } & {
1295
- json: {
1296
- authFailureId: string;
1297
- };
1298
- };
1299
- };
1300
- };
1301
- } & {
1302
- "/providers/connect": {
1303
- $post: {
1304
- output: {
1305
- error: string;
1306
- };
1307
- outputFormat: "json";
1308
- status: 409;
1309
- input: {
1310
- json: {
1311
- provider: string;
1312
- profileId?: string | undefined;
1313
- };
1314
- };
1315
- } | {
1316
- output: {
1317
- error: string;
1318
- };
1319
- outputFormat: "json";
1320
- status: 400;
1321
- input: {
1322
- json: {
1323
- provider: string;
1324
- profileId?: string | undefined;
1325
- };
1326
- };
1327
- } | {
1328
- output: {
1329
- error: string;
1330
- };
1331
- outputFormat: "json";
1332
- status: 500;
1115
+ status: 500;
1333
1116
  input: {
1334
1117
  json: {
1335
1118
  provider: string;
@@ -1633,35 +1416,252 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1633
1416
  error: string;
1634
1417
  };
1635
1418
  outputFormat: "json";
1636
- status: 500;
1419
+ status: 500;
1420
+ input: {
1421
+ json: {
1422
+ [x: string]: unknown;
1423
+ appearance?: {
1424
+ accent?: "cezarion" | "lime" | "violet" | undefined;
1425
+ density?: "comfortable" | "compact" | "ultra" | undefined;
1426
+ width?: "narrow" | "wide" | undefined;
1427
+ } | undefined;
1428
+ notifications?: {
1429
+ [x: string]: unknown;
1430
+ enabled?: boolean | undefined;
1431
+ } | undefined;
1432
+ lastLocation?: {
1433
+ projectId: string;
1434
+ pathname: string;
1435
+ search?: string | undefined;
1436
+ hash?: string | undefined;
1437
+ } | undefined;
1438
+ sidebar?: {
1439
+ [x: string]: unknown;
1440
+ collapsed?: Record<string, boolean> | undefined;
1441
+ projectOrder?: string[] | undefined;
1442
+ } | undefined;
1443
+ dismissedProviderAuthFailures?: Record<string, string | undefined> | undefined;
1444
+ taskTable?: {
1445
+ [x: string]: unknown;
1446
+ expandedColumns?: Record<string, boolean> | undefined;
1447
+ } | undefined;
1448
+ };
1449
+ };
1450
+ };
1451
+ };
1452
+ }, "/"> | import("hono/types").MergeSchemaPath<{
1453
+ "/providers/sign-in/start": {
1454
+ $post: {
1455
+ output: {
1456
+ error: string;
1457
+ };
1458
+ outputFormat: "json";
1459
+ status: 409;
1460
+ input: {
1461
+ json: {
1462
+ provider: string;
1463
+ profileId?: string | undefined;
1464
+ };
1465
+ };
1466
+ } | {
1467
+ output: {
1468
+ error: string;
1469
+ };
1470
+ outputFormat: "json";
1471
+ status: 400;
1472
+ input: {
1473
+ json: {
1474
+ provider: string;
1475
+ profileId?: string | undefined;
1476
+ };
1477
+ };
1478
+ } | {
1479
+ output: {
1480
+ id: string;
1481
+ state: "waiting";
1482
+ url: string;
1483
+ } | {
1484
+ id: string;
1485
+ state: "cancelled" | "connected";
1486
+ } | {
1487
+ id: string;
1488
+ state: "failed";
1489
+ error: string;
1490
+ };
1491
+ outputFormat: "json";
1492
+ status: import("hono/utils/http-status").ContentfulStatusCode;
1493
+ input: {
1494
+ json: {
1495
+ provider: string;
1496
+ profileId?: string | undefined;
1497
+ };
1498
+ };
1499
+ };
1500
+ };
1501
+ } & {
1502
+ "/providers/sign-in/:id": {
1503
+ $get: {
1504
+ output: {
1505
+ error: string;
1506
+ code?: "invalid_input" | undefined;
1507
+ };
1508
+ outputFormat: "json";
1509
+ status: 400;
1510
+ input: {
1511
+ param: {
1512
+ id: string;
1513
+ };
1514
+ };
1515
+ } | {
1516
+ output: {
1517
+ error: string;
1518
+ };
1519
+ outputFormat: "json";
1520
+ status: 404;
1521
+ input: {
1522
+ param: {
1523
+ id: string;
1524
+ };
1525
+ };
1526
+ } | {
1527
+ output: {
1528
+ id: string;
1529
+ state: "waiting";
1530
+ url: string;
1531
+ } | {
1532
+ id: string;
1533
+ state: "cancelled" | "connected";
1534
+ } | {
1535
+ id: string;
1536
+ state: "failed";
1537
+ error: string;
1538
+ };
1539
+ outputFormat: "json";
1540
+ status: import("hono/utils/http-status").ContentfulStatusCode;
1541
+ input: {
1542
+ param: {
1543
+ id: string;
1544
+ };
1545
+ };
1546
+ };
1547
+ };
1548
+ } & {
1549
+ "/providers/sign-in/:id/redirect": {
1550
+ $post: {
1551
+ output: {
1552
+ error: string;
1553
+ code?: "invalid_input" | undefined;
1554
+ };
1555
+ outputFormat: "json";
1556
+ status: 400;
1557
+ input: {
1558
+ param: {
1559
+ id: string;
1560
+ };
1561
+ } & {
1562
+ json: {
1563
+ redirectUrl: string;
1564
+ };
1565
+ };
1566
+ } | {
1567
+ output: {
1568
+ error: string;
1569
+ };
1570
+ outputFormat: "json";
1571
+ status: 404;
1572
+ input: {
1573
+ param: {
1574
+ id: string;
1575
+ };
1576
+ } & {
1577
+ json: {
1578
+ redirectUrl: string;
1579
+ };
1580
+ };
1581
+ } | {
1582
+ output: {
1583
+ error: string;
1584
+ };
1585
+ outputFormat: "json";
1586
+ status: 409;
1587
+ input: {
1588
+ param: {
1589
+ id: string;
1590
+ };
1591
+ } & {
1592
+ json: {
1593
+ redirectUrl: string;
1594
+ };
1595
+ };
1596
+ } | {
1597
+ output: {
1598
+ id: string;
1599
+ state: "waiting";
1600
+ url: string;
1601
+ } | {
1602
+ id: string;
1603
+ state: "cancelled" | "connected";
1604
+ } | {
1605
+ id: string;
1606
+ state: "failed";
1607
+ error: string;
1608
+ };
1609
+ outputFormat: "json";
1610
+ status: import("hono/utils/http-status").ContentfulStatusCode;
1611
+ input: {
1612
+ param: {
1613
+ id: string;
1614
+ };
1615
+ } & {
1616
+ json: {
1617
+ redirectUrl: string;
1618
+ };
1619
+ };
1620
+ };
1621
+ };
1622
+ } & {
1623
+ "/providers/sign-in/:id": {
1624
+ $delete: {
1625
+ output: {
1626
+ error: string;
1627
+ code?: "invalid_input" | undefined;
1628
+ };
1629
+ outputFormat: "json";
1630
+ status: 400;
1631
+ input: {
1632
+ param: {
1633
+ id: string;
1634
+ };
1635
+ };
1636
+ } | {
1637
+ output: {
1638
+ error: string;
1639
+ };
1640
+ outputFormat: "json";
1641
+ status: 404;
1637
1642
  input: {
1638
- json: {
1639
- [x: string]: unknown;
1640
- appearance?: {
1641
- accent?: "cezarion" | "lime" | "violet" | undefined;
1642
- density?: "comfortable" | "compact" | "ultra" | undefined;
1643
- width?: "narrow" | "wide" | undefined;
1644
- } | undefined;
1645
- notifications?: {
1646
- [x: string]: unknown;
1647
- enabled?: boolean | undefined;
1648
- } | undefined;
1649
- lastLocation?: {
1650
- projectId: string;
1651
- pathname: string;
1652
- search?: string | undefined;
1653
- hash?: string | undefined;
1654
- } | undefined;
1655
- sidebar?: {
1656
- [x: string]: unknown;
1657
- collapsed?: Record<string, boolean> | undefined;
1658
- projectOrder?: string[] | undefined;
1659
- } | undefined;
1660
- dismissedProviderAuthFailures?: Record<string, string | undefined> | undefined;
1661
- taskTable?: {
1662
- [x: string]: unknown;
1663
- expandedColumns?: Record<string, boolean> | undefined;
1664
- } | undefined;
1643
+ param: {
1644
+ id: string;
1645
+ };
1646
+ };
1647
+ } | {
1648
+ output: {
1649
+ id: string;
1650
+ state: "waiting";
1651
+ url: string;
1652
+ } | {
1653
+ id: string;
1654
+ state: "cancelled" | "connected";
1655
+ } | {
1656
+ id: string;
1657
+ state: "failed";
1658
+ error: string;
1659
+ };
1660
+ outputFormat: "json";
1661
+ status: import("hono/utils/http-status").ContentfulStatusCode;
1662
+ input: {
1663
+ param: {
1664
+ id: string;
1665
1665
  };
1666
1666
  };
1667
1667
  };
@@ -3043,12 +3043,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3043
3043
  output: {
3044
3044
  generation: string;
3045
3045
  results: ({
3046
- projectId: string;
3047
- runId: string;
3048
- type: "error" | "reset";
3049
- status: 400 | 404 | 409 | 413 | 503;
3050
- error: string;
3051
- } | {
3052
3046
  projectId: string;
3053
3047
  runId: string;
3054
3048
  type: "batch";
@@ -3069,6 +3063,12 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3069
3063
  cursor: string;
3070
3064
  afterSeq: number;
3071
3065
  hasMore: boolean;
3066
+ } | {
3067
+ projectId: string;
3068
+ runId: string;
3069
+ type: "error" | "reset";
3070
+ status: 400 | 404 | 409 | 413 | 503;
3071
+ error: string;
3072
3072
  })[];
3073
3073
  };
3074
3074
  outputFormat: "json";
@@ -3373,6 +3373,94 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3373
3373
  };
3374
3374
  };
3375
3375
  };
3376
+ }, "/"> | import("hono/types").MergeSchemaPath<{
3377
+ "/reports/state": {
3378
+ $get: {
3379
+ output: {
3380
+ error: string;
3381
+ };
3382
+ outputFormat: "json";
3383
+ status: 409;
3384
+ input: {};
3385
+ } | {
3386
+ output: {
3387
+ epoch: string;
3388
+ generation: number;
3389
+ metadataGeneration: number;
3390
+ };
3391
+ outputFormat: "json";
3392
+ status: import("hono/utils/http-status").ContentfulStatusCode;
3393
+ input: {};
3394
+ };
3395
+ };
3396
+ } & {
3397
+ "/reports": {
3398
+ $get: {
3399
+ output: {
3400
+ error: string;
3401
+ code?: "invalid_input" | undefined;
3402
+ };
3403
+ outputFormat: "json";
3404
+ status: 400;
3405
+ input: {
3406
+ query: {
3407
+ q?: string | undefined;
3408
+ before?: string | undefined;
3409
+ limit?: number | undefined;
3410
+ };
3411
+ };
3412
+ } | {
3413
+ output: {
3414
+ error: string;
3415
+ };
3416
+ outputFormat: "json";
3417
+ status: 409;
3418
+ input: {
3419
+ query: {
3420
+ q?: string | undefined;
3421
+ before?: string | undefined;
3422
+ limit?: number | undefined;
3423
+ };
3424
+ };
3425
+ } | {
3426
+ output: {
3427
+ error: string;
3428
+ };
3429
+ outputFormat: "json";
3430
+ status: 400;
3431
+ input: {
3432
+ query: {
3433
+ q?: string | undefined;
3434
+ before?: string | undefined;
3435
+ limit?: number | undefined;
3436
+ };
3437
+ };
3438
+ } | {
3439
+ output: {
3440
+ reports: {
3441
+ id: string;
3442
+ runId: string;
3443
+ name: string;
3444
+ title: string;
3445
+ createdAt: string;
3446
+ size: number;
3447
+ taskTitle: string;
3448
+ taskStatus: "cancelled" | "done" | "failed" | "queued" | "review" | "running" | "waiting";
3449
+ }[];
3450
+ nextCursor: string | null;
3451
+ total: number;
3452
+ };
3453
+ outputFormat: "json";
3454
+ status: import("hono/utils/http-status").ContentfulStatusCode;
3455
+ input: {
3456
+ query: {
3457
+ q?: string | undefined;
3458
+ before?: string | undefined;
3459
+ limit?: number | undefined;
3460
+ };
3461
+ };
3462
+ };
3463
+ };
3376
3464
  }, "/"> | import("hono/types").MergeSchemaPath<{
3377
3465
  "/ui-state": {
3378
3466
  $get: {
@@ -3845,106 +3933,18 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3845
3933
  input: {
3846
3934
  json: {
3847
3935
  target: string;
3848
- };
3849
- };
3850
- } | {
3851
- output: {
3852
- opened: true;
3853
- path: string;
3854
- };
3855
- outputFormat: "json";
3856
- status: import("hono/utils/http-status").ContentfulStatusCode;
3857
- input: {
3858
- json: {
3859
- target: string;
3860
- };
3861
- };
3862
- };
3863
- };
3864
- }, "/"> | import("hono/types").MergeSchemaPath<{
3865
- "/reports/state": {
3866
- $get: {
3867
- output: {
3868
- error: string;
3869
- };
3870
- outputFormat: "json";
3871
- status: 409;
3872
- input: {};
3873
- } | {
3874
- output: {
3875
- epoch: string;
3876
- generation: number;
3877
- metadataGeneration: number;
3878
- };
3879
- outputFormat: "json";
3880
- status: import("hono/utils/http-status").ContentfulStatusCode;
3881
- input: {};
3882
- };
3883
- };
3884
- } & {
3885
- "/reports": {
3886
- $get: {
3887
- output: {
3888
- error: string;
3889
- code?: "invalid_input" | undefined;
3890
- };
3891
- outputFormat: "json";
3892
- status: 400;
3893
- input: {
3894
- query: {
3895
- q?: string | undefined;
3896
- before?: string | undefined;
3897
- limit?: number | undefined;
3898
- };
3899
- };
3900
- } | {
3901
- output: {
3902
- error: string;
3903
- };
3904
- outputFormat: "json";
3905
- status: 409;
3906
- input: {
3907
- query: {
3908
- q?: string | undefined;
3909
- before?: string | undefined;
3910
- limit?: number | undefined;
3911
- };
3912
- };
3913
- } | {
3914
- output: {
3915
- error: string;
3916
- };
3917
- outputFormat: "json";
3918
- status: 400;
3919
- input: {
3920
- query: {
3921
- q?: string | undefined;
3922
- before?: string | undefined;
3923
- limit?: number | undefined;
3924
- };
3925
- };
3926
- } | {
3927
- output: {
3928
- reports: {
3929
- id: string;
3930
- runId: string;
3931
- name: string;
3932
- title: string;
3933
- createdAt: string;
3934
- size: number;
3935
- taskTitle: string;
3936
- taskStatus: "cancelled" | "done" | "failed" | "queued" | "review" | "running" | "waiting";
3937
- }[];
3938
- nextCursor: string | null;
3939
- total: number;
3936
+ };
3937
+ };
3938
+ } | {
3939
+ output: {
3940
+ opened: true;
3941
+ path: string;
3940
3942
  };
3941
3943
  outputFormat: "json";
3942
3944
  status: import("hono/utils/http-status").ContentfulStatusCode;
3943
3945
  input: {
3944
- query: {
3945
- q?: string | undefined;
3946
- before?: string | undefined;
3947
- limit?: number | undefined;
3946
+ json: {
3947
+ target: string;
3948
3948
  };
3949
3949
  };
3950
3950
  };
@@ -7475,11 +7475,22 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
7475
7475
  "/runs/:id/worker-destroy": {
7476
7476
  $post: {
7477
7477
  output: {
7478
- error: string;
7479
- code?: "invalid_input" | undefined;
7478
+ readonly code: "capacity_limit" | "denied_scope" | "incompatible_state" | "incomplete_cleanup" | "invalid_baseline" | "invalid_input" | "unauthenticated" | "unavailable_diff" | "unavailable_transport";
7479
+ readonly error: string;
7480
+ readonly modelChoices?: {
7481
+ runner: string;
7482
+ requestedModel: string;
7483
+ availableModels: {
7484
+ id: string;
7485
+ label: string;
7486
+ description: string;
7487
+ effortLevels?: ("high" | "low" | "max" | "medium" | "xhigh")[] | undefined;
7488
+ }[];
7489
+ otherRunners: string[];
7490
+ } | undefined;
7480
7491
  };
7481
7492
  outputFormat: "json";
7482
- status: 400;
7493
+ status: 400 | 401 | 403 | 409 | 503;
7483
7494
  input: {
7484
7495
  query: {
7485
7496
  [x: string]: string | string[];
@@ -7495,22 +7506,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
7495
7506
  };
7496
7507
  } | {
7497
7508
  output: {
7498
- readonly code: "capacity_limit" | "denied_scope" | "incompatible_state" | "incomplete_cleanup" | "invalid_baseline" | "invalid_input" | "unauthenticated" | "unavailable_diff" | "unavailable_transport";
7499
- readonly error: string;
7500
- readonly modelChoices?: {
7501
- runner: string;
7502
- requestedModel: string;
7503
- availableModels: {
7504
- id: string;
7505
- label: string;
7506
- description: string;
7507
- effortLevels?: ("high" | "low" | "max" | "medium" | "xhigh")[] | undefined;
7508
- }[];
7509
- otherRunners: string[];
7510
- } | undefined;
7509
+ error: string;
7510
+ code?: "invalid_input" | undefined;
7511
7511
  };
7512
7512
  outputFormat: "json";
7513
- status: 400 | 401 | 403 | 409 | 503;
7513
+ status: 400;
7514
7514
  input: {
7515
7515
  query: {
7516
7516
  [x: string]: string | string[];
@@ -19002,6 +19002,94 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19002
19002
  };
19003
19003
  };
19004
19004
  };
19005
+ }, "/"> | import("hono/types").MergeSchemaPath<{
19006
+ "/reports/state": {
19007
+ $get: {
19008
+ output: {
19009
+ error: string;
19010
+ };
19011
+ outputFormat: "json";
19012
+ status: 409;
19013
+ input: {};
19014
+ } | {
19015
+ output: {
19016
+ epoch: string;
19017
+ generation: number;
19018
+ metadataGeneration: number;
19019
+ };
19020
+ outputFormat: "json";
19021
+ status: import("hono/utils/http-status").ContentfulStatusCode;
19022
+ input: {};
19023
+ };
19024
+ };
19025
+ } & {
19026
+ "/reports": {
19027
+ $get: {
19028
+ output: {
19029
+ error: string;
19030
+ code?: "invalid_input" | undefined;
19031
+ };
19032
+ outputFormat: "json";
19033
+ status: 400;
19034
+ input: {
19035
+ query: {
19036
+ q?: string | undefined;
19037
+ before?: string | undefined;
19038
+ limit?: number | undefined;
19039
+ };
19040
+ };
19041
+ } | {
19042
+ output: {
19043
+ error: string;
19044
+ };
19045
+ outputFormat: "json";
19046
+ status: 409;
19047
+ input: {
19048
+ query: {
19049
+ q?: string | undefined;
19050
+ before?: string | undefined;
19051
+ limit?: number | undefined;
19052
+ };
19053
+ };
19054
+ } | {
19055
+ output: {
19056
+ error: string;
19057
+ };
19058
+ outputFormat: "json";
19059
+ status: 400;
19060
+ input: {
19061
+ query: {
19062
+ q?: string | undefined;
19063
+ before?: string | undefined;
19064
+ limit?: number | undefined;
19065
+ };
19066
+ };
19067
+ } | {
19068
+ output: {
19069
+ reports: {
19070
+ id: string;
19071
+ runId: string;
19072
+ name: string;
19073
+ title: string;
19074
+ createdAt: string;
19075
+ size: number;
19076
+ taskTitle: string;
19077
+ taskStatus: "cancelled" | "done" | "failed" | "queued" | "review" | "running" | "waiting";
19078
+ }[];
19079
+ nextCursor: string | null;
19080
+ total: number;
19081
+ };
19082
+ outputFormat: "json";
19083
+ status: import("hono/utils/http-status").ContentfulStatusCode;
19084
+ input: {
19085
+ query: {
19086
+ q?: string | undefined;
19087
+ before?: string | undefined;
19088
+ limit?: number | undefined;
19089
+ };
19090
+ };
19091
+ };
19092
+ };
19005
19093
  }, "/"> | import("hono/types").MergeSchemaPath<{
19006
19094
  "/ui-state": {
19007
19095
  $get: {
@@ -19490,94 +19578,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19490
19578
  };
19491
19579
  };
19492
19580
  };
19493
- }, "/"> | import("hono/types").MergeSchemaPath<{
19494
- "/reports/state": {
19495
- $get: {
19496
- output: {
19497
- error: string;
19498
- };
19499
- outputFormat: "json";
19500
- status: 409;
19501
- input: {};
19502
- } | {
19503
- output: {
19504
- epoch: string;
19505
- generation: number;
19506
- metadataGeneration: number;
19507
- };
19508
- outputFormat: "json";
19509
- status: import("hono/utils/http-status").ContentfulStatusCode;
19510
- input: {};
19511
- };
19512
- };
19513
- } & {
19514
- "/reports": {
19515
- $get: {
19516
- output: {
19517
- error: string;
19518
- code?: "invalid_input" | undefined;
19519
- };
19520
- outputFormat: "json";
19521
- status: 400;
19522
- input: {
19523
- query: {
19524
- q?: string | undefined;
19525
- before?: string | undefined;
19526
- limit?: number | undefined;
19527
- };
19528
- };
19529
- } | {
19530
- output: {
19531
- error: string;
19532
- };
19533
- outputFormat: "json";
19534
- status: 409;
19535
- input: {
19536
- query: {
19537
- q?: string | undefined;
19538
- before?: string | undefined;
19539
- limit?: number | undefined;
19540
- };
19541
- };
19542
- } | {
19543
- output: {
19544
- error: string;
19545
- };
19546
- outputFormat: "json";
19547
- status: 400;
19548
- input: {
19549
- query: {
19550
- q?: string | undefined;
19551
- before?: string | undefined;
19552
- limit?: number | undefined;
19553
- };
19554
- };
19555
- } | {
19556
- output: {
19557
- reports: {
19558
- id: string;
19559
- runId: string;
19560
- name: string;
19561
- title: string;
19562
- createdAt: string;
19563
- size: number;
19564
- taskTitle: string;
19565
- taskStatus: "cancelled" | "done" | "failed" | "queued" | "review" | "running" | "waiting";
19566
- }[];
19567
- nextCursor: string | null;
19568
- total: number;
19569
- };
19570
- outputFormat: "json";
19571
- status: import("hono/utils/http-status").ContentfulStatusCode;
19572
- input: {
19573
- query: {
19574
- q?: string | undefined;
19575
- before?: string | undefined;
19576
- limit?: number | undefined;
19577
- };
19578
- };
19579
- };
19580
- };
19581
19581
  }, "/"> | import("hono/types").MergeSchemaPath<{
19582
19582
  "/agent-config": {
19583
19583
  $get: {
@@ -23104,11 +23104,22 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
23104
23104
  "/runs/:id/worker-destroy": {
23105
23105
  $post: {
23106
23106
  output: {
23107
- error: string;
23108
- code?: "invalid_input" | undefined;
23107
+ readonly code: "capacity_limit" | "denied_scope" | "incompatible_state" | "incomplete_cleanup" | "invalid_baseline" | "invalid_input" | "unauthenticated" | "unavailable_diff" | "unavailable_transport";
23108
+ readonly error: string;
23109
+ readonly modelChoices?: {
23110
+ runner: string;
23111
+ requestedModel: string;
23112
+ availableModels: {
23113
+ id: string;
23114
+ label: string;
23115
+ description: string;
23116
+ effortLevels?: ("high" | "low" | "max" | "medium" | "xhigh")[] | undefined;
23117
+ }[];
23118
+ otherRunners: string[];
23119
+ } | undefined;
23109
23120
  };
23110
23121
  outputFormat: "json";
23111
- status: 400;
23122
+ status: 400 | 401 | 403 | 409 | 503;
23112
23123
  input: {
23113
23124
  query: {
23114
23125
  [x: string]: string | string[];
@@ -23124,22 +23135,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
23124
23135
  };
23125
23136
  } | {
23126
23137
  output: {
23127
- readonly code: "capacity_limit" | "denied_scope" | "incompatible_state" | "incomplete_cleanup" | "invalid_baseline" | "invalid_input" | "unauthenticated" | "unavailable_diff" | "unavailable_transport";
23128
- readonly error: string;
23129
- readonly modelChoices?: {
23130
- runner: string;
23131
- requestedModel: string;
23132
- availableModels: {
23133
- id: string;
23134
- label: string;
23135
- description: string;
23136
- effortLevels?: ("high" | "low" | "max" | "medium" | "xhigh")[] | undefined;
23137
- }[];
23138
- otherRunners: string[];
23139
- } | undefined;
23138
+ error: string;
23139
+ code?: "invalid_input" | undefined;
23140
23140
  };
23141
23141
  outputFormat: "json";
23142
- status: 400 | 401 | 403 | 409 | 503;
23142
+ status: 400;
23143
23143
  input: {
23144
23144
  query: {
23145
23145
  [x: string]: string | string[];