@hearsay-tools/squawk 0.19.0-pr4543.9002 → 0.19.0-pr4549.9009

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.
Files changed (97) hide show
  1. package/dist/core/forge-registry.d.ts +11 -0
  2. package/dist/core/forge-registry.js.map +1 -1
  3. package/dist/features/automations/tools.d.ts +8 -8
  4. package/dist/features/github/github-branch-forge.d.ts +16 -6
  5. package/dist/features/github/github-branch-forge.js +128 -59
  6. package/dist/features/github/github-branch-forge.js.map +1 -1
  7. package/dist/features/github/github-forge.js +1 -0
  8. package/dist/features/github/github-forge.js.map +1 -1
  9. package/dist/server/repo-branch-forge.d.ts +7 -2
  10. package/dist/server/repo-branch-forge.js +6 -1
  11. package/dist/server/repo-branch-forge.js.map +1 -1
  12. package/dist/server/repo-branches.d.ts +3 -13
  13. package/dist/server/repo-branches.js +58 -90
  14. package/dist/server/repo-branches.js.map +1 -1
  15. package/dist/server/repo-log-attribution.d.ts +14 -0
  16. package/dist/server/repo-log-attribution.js +79 -0
  17. package/dist/server/repo-log-attribution.js.map +1 -0
  18. package/dist/server/repo-read-cache.d.ts +1 -1
  19. package/dist/server/repo-read-cache.js +1 -1
  20. package/dist/server/repo-read-cache.js.map +1 -1
  21. package/dist/server/runs-routes.d.ts +17 -17
  22. package/dist/server/server.d.ts +541 -541
  23. package/package.json +4 -4
  24. package/web/dist/assets/{accounts-section-C_QnLX6N.js → accounts-section-D-u_DtWB.js} +1 -1
  25. package/web/dist/assets/{activity-motion-rKFPFRvk.js → activity-motion-BJfuRs4_.js} +1 -1
  26. package/web/dist/assets/{activity-route-K2ZAKyOc.js → activity-route-DF823sRF.js} +1 -1
  27. package/web/dist/assets/{agent-config-section-CSJ8ASHu.js → agent-config-section-yVOSPvAV.js} +1 -1
  28. package/web/dist/assets/agent-defaults-section-B-708nZo.js +1 -0
  29. package/web/dist/assets/{appearance-Be2bW15h.js → appearance-C7JR8yQP.js} +1 -1
  30. package/web/dist/assets/{archive-on-merge-field-BKHI2T3s.js → archive-on-merge-field-cQjB3JXw.js} +1 -1
  31. package/web/dist/assets/{automations-route-ukupzTDL.js → automations-route-DetdA_Wc.js} +2 -2
  32. package/web/dist/assets/commit-list-IUPBn3_p.js +1 -0
  33. package/web/dist/assets/{diff-DYxPunyH.js → diff-D0D2diRo.js} +2 -2
  34. package/web/dist/assets/{diff-controls-BdfWJmNM.js → diff-controls-DkFuXR8H.js} +1 -1
  35. package/web/dist/assets/{diff-view-DBTDxo57.js → diff-view-DrTNcOGt.js} +1 -1
  36. package/web/dist/assets/discard-changes-dialog-DrTzz2nL.js +1 -0
  37. package/web/dist/assets/{file-preview-SOIk_PH0.js → file-preview-ClyNkz3w.js} +1 -1
  38. package/web/dist/assets/{git-toolbar-CqWXQnFd.js → git-toolbar-CD0tW_Gt.js} +1 -1
  39. package/web/dist/assets/github-CsAOfbST.js +1 -0
  40. package/web/dist/assets/{global-activity-route-BGvoNYDr.js → global-activity-route-DMnQf57X.js} +1 -1
  41. package/web/dist/assets/index-CYqlQ5WX.js +21 -0
  42. package/web/dist/assets/index-HPYKV4O4.css +1 -0
  43. package/web/dist/assets/{markdown-CiWKjopy.js → markdown-DnIKFUxT.js} +1 -1
  44. package/web/dist/assets/{option-select-CdY1rB1x.js → option-select-V5vwaidf.js} +1 -1
  45. package/web/dist/assets/{preferences-section-D8jL-9hG.js → preferences-section-LrJJ31lo.js} +1 -1
  46. package/web/dist/assets/preview-pane-connected-BhKZY7hG.js +3 -0
  47. package/web/dist/assets/{project-location-DKOqYVyP.js → project-location-Dw4amAdN.js} +1 -1
  48. package/web/dist/assets/{projects-section-C1W7Hasz.js → projects-section-C9KK1G2b.js} +1 -1
  49. package/web/dist/assets/{prompt-templates-section-DFXqV8TR.js → prompt-templates-section-B3wv3JAi.js} +2 -2
  50. package/web/dist/assets/reference-chip-BkfQoMvT.js +1 -0
  51. package/web/dist/assets/{remote-settings-notice-DfgdcIfD.js → remote-settings-notice-CpjMzKFN.js} +1 -1
  52. package/web/dist/assets/repo-git--v40vCDa.js +1 -0
  53. package/web/dist/assets/{report-reader-B-uJpS4a.js → report-reader-DxSIaXe4.js} +1 -1
  54. package/web/dist/assets/{reports-COPIytLU.js → reports-D0dz0axR.js} +1 -1
  55. package/web/dist/assets/{resources-section-D8qMya0U.js → resources-section-IJzlERj6.js} +1 -1
  56. package/web/dist/assets/{review-panel-D-bDi48m.js → review-panel-BnLJGW1r.js} +4 -4
  57. package/web/dist/assets/run-header-BlKWDX-U.js +2 -0
  58. package/web/dist/assets/search-x-I9Q8pgUa.js +1 -0
  59. package/web/dist/assets/{select-B27amFsE.js → select-m657sHqH.js} +1 -1
  60. package/web/dist/assets/{session-context-section-Ws_K5zmI.js → session-context-section-CvCu7yz8.js} +1 -1
  61. package/web/dist/assets/{settings-agent-picker-D8SLzhIg.js → settings-agent-picker-DuWFrVrA.js} +1 -1
  62. package/web/dist/assets/{settings-save-bar-CwMFlv_U.js → settings-save-bar-Bvkdir6u.js} +1 -1
  63. package/web/dist/assets/{settings-shell-CDEgqoql.js → settings-shell-CGeDojd8.js} +1 -1
  64. package/web/dist/assets/{sidebar-section-sgVglrtK.js → sidebar-section-DBzwaGy3.js} +1 -1
  65. package/web/dist/assets/{skills-BdUNA_WG.js → skills-Dfqyyc4k.js} +1 -1
  66. package/web/dist/assets/{task-changes-B7xspQ98.js → task-changes-BHSGF2AK.js} +1 -1
  67. package/web/dist/assets/task-commits-C_BRO9JL.js +1 -0
  68. package/web/dist/assets/{task-file-scope-CvLuxpi4.js → task-file-scope-BE6TmhVD.js} +1 -1
  69. package/web/dist/assets/{task-files-BwQVO9Jc.js → task-files-BWI76Ik0.js} +1 -1
  70. package/web/dist/assets/task-github-item-BNOov7bL.js +1 -0
  71. package/web/dist/assets/task-thread-DHDl0QzP.js +2 -0
  72. package/web/dist/assets/thread-state-BQPkuxv2.js +4 -0
  73. package/web/dist/assets/use-hand-to-agent-state-DZZUsUAd.css +1 -0
  74. package/web/dist/assets/use-hand-to-agent-state-nIZYH880.js +1 -0
  75. package/web/dist/assets/use-path-bases-BdKhEYST.js +1 -0
  76. package/web/dist/assets/{workflows-BJHvZ7G4.js → workflows-DgYKv-8m.js} +2 -2
  77. package/web/dist/assets/{workspace-tools-DtdDi369.js → workspace-tools-CXNsi4Df.js} +1 -1
  78. package/web/dist/assets/{worktrees-section-jmJugevp.js → worktrees-section-y-fzp7im.js} +1 -1
  79. package/web/dist/index.html +8 -8
  80. package/web/dist/assets/agent-defaults-section-CMCpZ7hZ.js +0 -1
  81. package/web/dist/assets/commit-list-Cf0x1qOz.js +0 -1
  82. package/web/dist/assets/discard-changes-dialog-CcVp1Cu8.js +0 -1
  83. package/web/dist/assets/github-pASZ8oMj.js +0 -1
  84. package/web/dist/assets/index-CzyjmihQ.css +0 -1
  85. package/web/dist/assets/index-DdN1zBQ0.js +0 -21
  86. package/web/dist/assets/preview-pane-connected-BEOa9WCZ.js +0 -3
  87. package/web/dist/assets/reference-chip-DDv209Ry.js +0 -1
  88. package/web/dist/assets/repo-git-C0-1xrBN.js +0 -1
  89. package/web/dist/assets/run-header-CgD5yNgy.js +0 -2
  90. package/web/dist/assets/task-commits-BCi7CKoE.js +0 -1
  91. package/web/dist/assets/task-github-item-Bpys4CTO.js +0 -1
  92. package/web/dist/assets/task-thread-BERX6vrL.js +0 -2
  93. package/web/dist/assets/tasks-table-CyUTCD9k.js +0 -1
  94. package/web/dist/assets/thread-state-B6JqvI7V.js +0 -4
  95. package/web/dist/assets/use-hand-to-agent-state-CqiCI37V.css +0 -1
  96. package/web/dist/assets/use-hand-to-agent-state-CvkdAvTh.js +0 -1
  97. package/web/dist/assets/use-path-bases-CGAbJheM.js +0 -1
@@ -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: {
@@ -930,223 +930,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
930
930
  };
931
931
  };
932
932
  };
933
- }, "/"> | import("hono/types").MergeSchemaPath<{
934
- "/providers/sign-in/start": {
935
- $post: {
936
- output: {
937
- error: string;
938
- };
939
- outputFormat: "json";
940
- status: 409;
941
- input: {
942
- json: {
943
- provider: string;
944
- profileId?: string | undefined;
945
- };
946
- };
947
- } | {
948
- output: {
949
- error: string;
950
- };
951
- outputFormat: "json";
952
- status: 400;
953
- input: {
954
- json: {
955
- provider: string;
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;
971
- };
972
- outputFormat: "json";
973
- status: import("hono/utils/http-status").ContentfulStatusCode;
974
- input: {
975
- json: {
976
- provider: string;
977
- profileId?: string | undefined;
978
- };
979
- };
980
- };
981
- };
982
- } & {
983
- "/providers/sign-in/:id": {
984
- $get: {
985
- output: {
986
- error: string;
987
- code?: "invalid_input" | undefined;
988
- };
989
- outputFormat: "json";
990
- status: 400;
991
- input: {
992
- param: {
993
- id: string;
994
- };
995
- };
996
- } | {
997
- output: {
998
- error: string;
999
- };
1000
- outputFormat: "json";
1001
- status: 404;
1002
- input: {
1003
- param: {
1004
- id: string;
1005
- };
1006
- };
1007
- } | {
1008
- 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
- error: string;
1019
- };
1020
- outputFormat: "json";
1021
- status: import("hono/utils/http-status").ContentfulStatusCode;
1022
- input: {
1023
- param: {
1024
- id: string;
1025
- };
1026
- };
1027
- };
1028
- };
1029
- } & {
1030
- "/providers/sign-in/:id/redirect": {
1031
- $post: {
1032
- output: {
1033
- error: string;
1034
- code?: "invalid_input" | undefined;
1035
- };
1036
- outputFormat: "json";
1037
- status: 400;
1038
- input: {
1039
- param: {
1040
- id: string;
1041
- };
1042
- } & {
1043
- json: {
1044
- redirectUrl: string;
1045
- };
1046
- };
1047
- } | {
1048
- output: {
1049
- error: string;
1050
- };
1051
- outputFormat: "json";
1052
- status: 404;
1053
- input: {
1054
- param: {
1055
- id: string;
1056
- };
1057
- } & {
1058
- json: {
1059
- redirectUrl: string;
1060
- };
1061
- };
1062
- } | {
1063
- output: {
1064
- error: string;
1065
- };
1066
- outputFormat: "json";
1067
- status: 409;
1068
- input: {
1069
- param: {
1070
- id: string;
1071
- };
1072
- } & {
1073
- json: {
1074
- redirectUrl: string;
1075
- };
1076
- };
1077
- } | {
1078
- 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
- error: string;
1089
- };
1090
- outputFormat: "json";
1091
- status: import("hono/utils/http-status").ContentfulStatusCode;
1092
- input: {
1093
- param: {
1094
- id: string;
1095
- };
1096
- } & {
1097
- json: {
1098
- redirectUrl: string;
1099
- };
1100
- };
1101
- };
1102
- };
1103
- } & {
1104
- "/providers/sign-in/:id": {
1105
- $delete: {
1106
- output: {
1107
- error: string;
1108
- code?: "invalid_input" | undefined;
1109
- };
1110
- outputFormat: "json";
1111
- status: 400;
1112
- input: {
1113
- param: {
1114
- id: string;
1115
- };
1116
- };
1117
- } | {
1118
- output: {
1119
- error: string;
1120
- };
1121
- 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
933
  }, "/"> | import("hono/types").MergeSchemaPath<{
1151
934
  "/providers/status": {
1152
935
  $get: {
@@ -1666,6 +1449,223 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1666
1449
  };
1667
1450
  };
1668
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;
1642
+ input: {
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
+ };
1666
+ };
1667
+ };
1668
+ };
1669
1669
  }, "/"> | import("hono/types").MergeSchemaPath<{
1670
1670
  "/workspace/agent-profiles": {
1671
1671
  $get: {
@@ -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: {
@@ -3861,94 +3949,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3861
3949
  };
3862
3950
  };
3863
3951
  };
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;
3940
- };
3941
- outputFormat: "json";
3942
- status: import("hono/utils/http-status").ContentfulStatusCode;
3943
- input: {
3944
- query: {
3945
- q?: string | undefined;
3946
- before?: string | undefined;
3947
- limit?: number | undefined;
3948
- };
3949
- };
3950
- };
3951
- };
3952
3952
  }, "/"> | import("hono/types").MergeSchemaPath<{
3953
3953
  "/agent-config": {
3954
3954
  $get: {
@@ -5489,19 +5489,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
5489
5489
  } & {
5490
5490
  "/repo/commit/:sha": {
5491
5491
  $get: {
5492
- output: string;
5493
- outputFormat: "text";
5494
- status: import("hono/utils/http-status").ContentfulStatusCode;
5495
- input: {
5496
- query: {
5497
- structured?: string | undefined;
5498
- };
5499
- } & {
5500
- param: {
5501
- sha: string;
5502
- };
5503
- };
5504
- } | {
5505
5492
  output: {
5506
5493
  error: string;
5507
5494
  code?: "invalid_input" | undefined;
@@ -5565,6 +5552,19 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
5565
5552
  sha: string;
5566
5553
  };
5567
5554
  };
5555
+ } | {
5556
+ output: string;
5557
+ outputFormat: "text";
5558
+ status: import("hono/utils/http-status").ContentfulStatusCode;
5559
+ input: {
5560
+ query: {
5561
+ structured?: string | undefined;
5562
+ };
5563
+ } & {
5564
+ param: {
5565
+ sha: string;
5566
+ };
5567
+ };
5568
5568
  };
5569
5569
  };
5570
5570
  } & {
@@ -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[];
@@ -18069,20 +18069,20 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18069
18069
  } & {
18070
18070
  "/runs/:id/handoff": {
18071
18071
  $get: {
18072
- output: string;
18073
- outputFormat: "text";
18074
- status: 200;
18072
+ output: {
18073
+ error: string;
18074
+ };
18075
+ outputFormat: "json";
18076
+ status: 404;
18075
18077
  input: {
18076
18078
  param: {
18077
18079
  id: string;
18078
18080
  };
18079
18081
  };
18080
18082
  } | {
18081
- output: {
18082
- error: string;
18083
- };
18084
- outputFormat: "json";
18085
- status: 404;
18083
+ output: string;
18084
+ outputFormat: "text";
18085
+ status: 200;
18086
18086
  input: {
18087
18087
  param: {
18088
18088
  id: string;
@@ -18120,20 +18120,20 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18120
18120
  } & {
18121
18121
  "/runs/:id/diff": {
18122
18122
  $get: {
18123
- output: string;
18124
- outputFormat: "text";
18125
- status: import("hono/utils/http-status").ContentfulStatusCode;
18123
+ output: {
18124
+ error: string;
18125
+ };
18126
+ outputFormat: "json";
18127
+ status: 404 | 409;
18126
18128
  input: {
18127
18129
  param: {
18128
18130
  id: string;
18129
18131
  };
18130
18132
  };
18131
18133
  } | {
18132
- output: {
18133
- error: string;
18134
- };
18135
- outputFormat: "json";
18136
- status: 404 | 409;
18134
+ output: string;
18135
+ outputFormat: "text";
18136
+ status: import("hono/utils/http-status").ContentfulStatusCode;
18137
18137
  input: {
18138
18138
  param: {
18139
18139
  id: string;
@@ -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: {
@@ -21118,19 +21118,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
21118
21118
  } & {
21119
21119
  "/repo/commit/:sha": {
21120
21120
  $get: {
21121
- output: string;
21122
- outputFormat: "text";
21123
- status: import("hono/utils/http-status").ContentfulStatusCode;
21124
- input: {
21125
- query: {
21126
- structured?: string | undefined;
21127
- };
21128
- } & {
21129
- param: {
21130
- sha: string;
21131
- };
21132
- };
21133
- } | {
21134
21121
  output: {
21135
21122
  error: string;
21136
21123
  code?: "invalid_input" | undefined;
@@ -21194,6 +21181,19 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
21194
21181
  sha: string;
21195
21182
  };
21196
21183
  };
21184
+ } | {
21185
+ output: string;
21186
+ outputFormat: "text";
21187
+ status: import("hono/utils/http-status").ContentfulStatusCode;
21188
+ input: {
21189
+ query: {
21190
+ structured?: string | undefined;
21191
+ };
21192
+ } & {
21193
+ param: {
21194
+ sha: string;
21195
+ };
21196
+ };
21197
21197
  };
21198
21198
  };
21199
21199
  } & {
@@ -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[];
@@ -33698,20 +33698,20 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
33698
33698
  } & {
33699
33699
  "/runs/:id/handoff": {
33700
33700
  $get: {
33701
- output: string;
33702
- outputFormat: "text";
33703
- status: 200;
33701
+ output: {
33702
+ error: string;
33703
+ };
33704
+ outputFormat: "json";
33705
+ status: 404;
33704
33706
  input: {
33705
33707
  param: {
33706
33708
  id: string;
33707
33709
  };
33708
33710
  };
33709
33711
  } | {
33710
- output: {
33711
- error: string;
33712
- };
33713
- outputFormat: "json";
33714
- status: 404;
33712
+ output: string;
33713
+ outputFormat: "text";
33714
+ status: 200;
33715
33715
  input: {
33716
33716
  param: {
33717
33717
  id: string;
@@ -33749,20 +33749,20 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
33749
33749
  } & {
33750
33750
  "/runs/:id/diff": {
33751
33751
  $get: {
33752
- output: string;
33753
- outputFormat: "text";
33754
- status: import("hono/utils/http-status").ContentfulStatusCode;
33752
+ output: {
33753
+ error: string;
33754
+ };
33755
+ outputFormat: "json";
33756
+ status: 404 | 409;
33755
33757
  input: {
33756
33758
  param: {
33757
33759
  id: string;
33758
33760
  };
33759
33761
  };
33760
33762
  } | {
33761
- output: {
33762
- error: string;
33763
- };
33764
- outputFormat: "json";
33765
- status: 404 | 409;
33763
+ output: string;
33764
+ outputFormat: "text";
33765
+ status: import("hono/utils/http-status").ContentfulStatusCode;
33766
33766
  input: {
33767
33767
  param: {
33768
33768
  id: string;