@hearsay-tools/squawk 0.19.0-pr4422.8666 → 0.19.0-pr4422.8710

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 (124) hide show
  1. package/dist/automations/tools.d.ts +8 -8
  2. package/dist/ci-wait/controller.d.ts +7 -7
  3. package/dist/contract/index.js +55 -14
  4. package/dist/contract/runs.d.ts +50 -0
  5. package/dist/contract/workspace-events.d.ts +18 -0
  6. package/dist/delegation/transport.d.ts +14 -14
  7. package/dist/preview/chromium.d.ts +3 -2
  8. package/dist/preview/chromium.js +5 -1
  9. package/dist/preview/chromium.js.map +1 -1
  10. package/dist/runs/run-database.d.ts +5 -0
  11. package/dist/runs/run-database.js +5 -0
  12. package/dist/runs/run-database.js.map +1 -1
  13. package/dist/runs/run-queries.d.ts +9 -0
  14. package/dist/runs/run-queries.js +43 -6
  15. package/dist/runs/run-queries.js.map +1 -1
  16. package/dist/runs/store.js +1 -0
  17. package/dist/runs/store.js.map +1 -1
  18. package/dist/runs/transcript-facts-queue.d.ts +9 -1
  19. package/dist/runs/transcript-facts-queue.js +43 -10
  20. package/dist/runs/transcript-facts-queue.js.map +1 -1
  21. package/dist/runs/transcript-facts-sidecar.d.ts +22 -0
  22. package/dist/runs/transcript-facts-sidecar.js +58 -0
  23. package/dist/runs/transcript-facts-sidecar.js.map +1 -0
  24. package/dist/runs/transcript-facts-topic.d.ts +2 -0
  25. package/dist/runs/transcript-facts-topic.js +8 -10
  26. package/dist/runs/transcript-facts-topic.js.map +1 -1
  27. package/dist/runs/transcript-facts-worker.d.ts +7 -2
  28. package/dist/runs/transcript-facts-worker.js +8 -5
  29. package/dist/runs/transcript-facts-worker.js.map +1 -1
  30. package/dist/runs/transcript-facts.d.ts +4 -0
  31. package/dist/runs/transcript-facts.js +36 -16
  32. package/dist/runs/transcript-facts.js.map +1 -1
  33. package/dist/server/live-routes.d.ts +6 -6
  34. package/dist/server/models-routes.d.ts +12 -12
  35. package/dist/server/providers-routes.d.ts +57 -57
  36. package/dist/server/repo-routes.d.ts +34 -34
  37. package/dist/server/runner-install-routes.d.ts +10 -10
  38. package/dist/server/runs-routes.d.ts +24 -16
  39. package/dist/server/server.d.ts +1622 -1598
  40. package/dist/server/workspace-live-routes.d.ts +6 -6
  41. package/dist/server/workspace-routes.d.ts +92 -84
  42. package/package.json +4 -4
  43. package/scripts/measure-transcript-facts-health.mjs +10 -5
  44. package/scripts/measure-transcript-facts-lag.mjs +11 -2
  45. package/scripts/mock-ci-tool.mjs +4 -5
  46. package/scripts/transcript-facts-timing.mjs +10 -0
  47. package/web/dist/assets/{accounts-section-DrBRvg0M.js → accounts-section-CQAZjNMH.js} +1 -1
  48. package/web/dist/assets/activity-motion-Cjk0Ozs9.js +1 -0
  49. package/web/dist/assets/{activity-route-CRu58Zj9.js → activity-route-DQ2vQVUG.js} +1 -1
  50. package/web/dist/assets/{agent-config-section-DXLXyPzF.js → agent-config-section-6tcXGdqh.js} +1 -1
  51. package/web/dist/assets/{agent-defaults-section-MHwKLUxx.js → agent-defaults-section-DHdrzX19.js} +1 -1
  52. package/web/dist/assets/{appearance-Dk8ikc1j.js → appearance-CxkUoLLY.js} +1 -1
  53. package/web/dist/assets/{archive-on-merge-field-CRGCTE05.js → archive-on-merge-field-D7-FuLiL.js} +1 -1
  54. package/web/dist/assets/attention--Y0CyzCN.js +1 -0
  55. package/web/dist/assets/{automations-route-2Z1J6aVz.js → automations-route-BFaRgLxq.js} +2 -2
  56. package/web/dist/assets/commit-list-Ca61W21s.js +1 -0
  57. package/web/dist/assets/diff-B5yQN9UD.js +3 -0
  58. package/web/dist/assets/{diff-controls-U3q_bktr.js → diff-controls-_6OoQImc.js} +1 -1
  59. package/web/dist/assets/diff-stat-U7DT4Ilj.js +1 -0
  60. package/web/dist/assets/{diff-view-BaEIMlyb.js → diff-view-DFiA3y5a.js} +1 -1
  61. package/web/dist/assets/{file-preview-LgaV6Wwo.js → file-preview-v5_F5k3C.js} +1 -1
  62. package/web/dist/assets/{folder-browser-D_V807qp.js → folder-browser-CZiaPNK7.js} +1 -1
  63. package/web/dist/assets/git-toolbar-C33icZYQ.js +1 -0
  64. package/web/dist/assets/github-DAftYTLP.js +1 -0
  65. package/web/dist/assets/{global-activity-route-CrRAIAo1.js → global-activity-route-Dc0oqViK.js} +2 -2
  66. package/web/dist/assets/image-preview-2S3PEy8S.js +1 -0
  67. package/web/dist/assets/index-1TLdjVro.css +1 -0
  68. package/web/dist/assets/index-7M_Uae0m.js +21 -0
  69. package/web/dist/assets/{label-C6BpWk0J.js → label-BKUl84DF.js} +1 -1
  70. package/web/dist/assets/{markdown-BVqO9ORd.js → markdown-nyVMLqM-.js} +1 -1
  71. package/web/dist/assets/{notifications-section-CliGeYkh.js → notifications-section-oiF-HLRZ.js} +1 -1
  72. package/web/dist/assets/{open-in-menu-BkmmqWdB.js → open-in-menu-N8rXgYSG.js} +1 -1
  73. package/web/dist/assets/{preview-pane-connected-Bg56dRpV.js → preview-pane-connected-DgRQbaVm.js} +2 -2
  74. package/web/dist/assets/{project-location-Z28U6-d1.js → project-location-CcmuGA5W.js} +1 -1
  75. package/web/dist/assets/{project-router-B8blqSVo.js → project-router-CT6gVIcC.js} +1 -1
  76. package/web/dist/assets/{projects-section-DSNxCSOR.js → projects-section-DtL1VsXT.js} +1 -1
  77. package/web/dist/assets/{prompt-templates-section-BBGVLRbE.js → prompt-templates-section-qK5TH9GX.js} +1 -1
  78. package/web/dist/assets/{queries-BwJVP1so.js → queries-ClkIgWFx.js} +1 -1
  79. package/web/dist/assets/{reference-chip-uLQTF-sm.js → reference-chip-bAUYx-Fl.js} +1 -1
  80. package/web/dist/assets/{remote-settings-notice-7BteeZ5o.js → remote-settings-notice-KN0zBmre.js} +1 -1
  81. package/web/dist/assets/repo-git-BY2jC4L2.js +1 -0
  82. package/web/dist/assets/{report-reader-Be9J9B79.js → report-reader-CeBbC_Jy.js} +1 -1
  83. package/web/dist/assets/{report-selection-DBM7S3ha.js → report-selection-D9xJZoKb.js} +1 -1
  84. package/web/dist/assets/{reports-BOiZGsQR.js → reports-B-hz_AlB.js} +1 -1
  85. package/web/dist/assets/{resources-section-B3kPFCJY.js → resources-section-BywQtsIL.js} +1 -1
  86. package/web/dist/assets/review-panel-DV9yD5Zl.js +8 -0
  87. package/web/dist/assets/{run-detail-refresh-YR2-iM4z.js → run-detail-refresh-Bo51TspT.js} +1 -1
  88. package/web/dist/assets/{run-header-BG-RicJl.js → run-header-CZjnjsNk.js} +2 -2
  89. package/web/dist/assets/{select-Be4wVHHG.js → select-ETUx1MVz.js} +1 -1
  90. package/web/dist/assets/{session-context-section-DdCeADhA.js → session-context-section-2B1lqgAc.js} +2 -2
  91. package/web/dist/assets/{settings-agent-picker-C4hz36AY.js → settings-agent-picker-BdoxLNMP.js} +1 -1
  92. package/web/dist/assets/{settings-shell-BluR2G4L.js → settings-shell-BIhAcEF4.js} +1 -1
  93. package/web/dist/assets/{sidebar-section-Bo1FJw3L.js → sidebar-section-Bamq8P_D.js} +1 -1
  94. package/web/dist/assets/{skills-DWVky-g5.js → skills-BIhWfWYY.js} +1 -1
  95. package/web/dist/assets/{tab-link-BkHBgpdC.js → tab-link-DE6t7XkG.js} +1 -1
  96. package/web/dist/assets/task-changes-CBuihPwR.js +1 -0
  97. package/web/dist/assets/task-commits-BKHSmTUJ.js +1 -0
  98. package/web/dist/assets/{task-files-BtAxAAcl.js → task-files-CAPgay7C.js} +1 -1
  99. package/web/dist/assets/{task-github-item-DFD4xHYk.js → task-github-item-BhIl0YRe.js} +1 -1
  100. package/web/dist/assets/{task-groups-BSovus2j.js → task-groups-aquji1Kv.js} +1 -1
  101. package/web/dist/assets/task-thread-DwqQN87Q.js +2 -0
  102. package/web/dist/assets/{tasks-table-C-wxALy6.js → tasks-table-BkjZYg2J.js} +1 -1
  103. package/web/dist/assets/{thread-state-DyYOz-Ad.js → thread-state-C8v4gnTh.js} +1 -1
  104. package/web/dist/assets/{toaster-UvSCLhYx.js → toaster-C-xqAWVX.js} +2 -2
  105. package/web/dist/assets/use-hand-to-agent-state-P0PYtQDy.js +1 -0
  106. package/web/dist/assets/{workflows-C4UY4ka5.js → workflows-Cp5n5AnS.js} +3 -3
  107. package/web/dist/assets/{workspace-tools-BMtjV-oC.js → workspace-tools-CsubVxbO.js} +1 -1
  108. package/web/dist/assets/{worktrees-section-Bntdbzrl.js → worktrees-section-w7yDtBtW.js} +1 -1
  109. package/web/dist/index.html +16 -15
  110. package/web/dist/assets/activity-motion-DyczKxjj.js +0 -1
  111. package/web/dist/assets/attention-CXG_AzDe.js +0 -1
  112. package/web/dist/assets/commit-list-CjmYvVCK.js +0 -1
  113. package/web/dist/assets/diff-B1RHxCxU.js +0 -3
  114. package/web/dist/assets/git-toolbar-DyQaOcLy.js +0 -1
  115. package/web/dist/assets/github-DYLq16Wk.js +0 -1
  116. package/web/dist/assets/image-preview-OjGspLQY.js +0 -1
  117. package/web/dist/assets/index-AgYIT7cV.js +0 -21
  118. package/web/dist/assets/index-DTMSoiHJ.css +0 -1
  119. package/web/dist/assets/repo-git-DiNgzGWX.js +0 -1
  120. package/web/dist/assets/review-panel-CQp83gYh.js +0 -8
  121. package/web/dist/assets/task-changes-2yAaEJQ_.js +0 -1
  122. package/web/dist/assets/task-commits-02w8Ivwi.js +0 -1
  123. package/web/dist/assets/task-thread-Ck75x2Rd.js +0 -2
  124. package/web/dist/assets/use-hand-to-agent-state-BfQx2nM5.js +0 -1
@@ -22,18 +22,6 @@ export declare function createModelsRoutes(options: {
22
22
  profileId?: string | undefined;
23
23
  };
24
24
  };
25
- } | {
26
- output: {
27
- error: string;
28
- };
29
- outputFormat: "json";
30
- status: 400;
31
- input: {
32
- query: {
33
- runner: string | string[];
34
- profileId?: string | undefined;
35
- };
36
- };
37
25
  } | {
38
26
  output: {
39
27
  runner: string;
@@ -55,6 +43,18 @@ export declare function createModelsRoutes(options: {
55
43
  profileId?: string | undefined;
56
44
  };
57
45
  };
46
+ } | {
47
+ output: {
48
+ error: string;
49
+ };
50
+ outputFormat: "json";
51
+ status: 400;
52
+ input: {
53
+ query: {
54
+ runner: string | string[];
55
+ profileId?: string | undefined;
56
+ };
57
+ };
58
58
  };
59
59
  };
60
60
  }, "/", "/models">;
@@ -70,10 +70,18 @@ export declare function createProvidersRoutes(deps: ProvidersRouteDeps): import(
70
70
  };
71
71
  } | {
72
72
  output: {
73
- error: string;
73
+ providers: {
74
+ requiresAccountHome?: boolean | undefined;
75
+ provider: string;
76
+ status: "connected" | "disconnected" | "not-installed" | "unknown";
77
+ enabled?: boolean | undefined;
78
+ hint?: string | undefined;
79
+ authFailureId?: string | undefined;
80
+ profileId?: string | undefined;
81
+ }[];
74
82
  };
75
83
  outputFormat: "json";
76
- status: 500;
84
+ status: import("hono/utils/http-status").ContentfulStatusCode;
77
85
  input: {
78
86
  param: {
79
87
  provider: string;
@@ -85,18 +93,10 @@ export declare function createProvidersRoutes(deps: ProvidersRouteDeps): import(
85
93
  };
86
94
  } | {
87
95
  output: {
88
- providers: {
89
- requiresAccountHome?: boolean | undefined;
90
- provider: string;
91
- status: "connected" | "disconnected" | "not-installed" | "unknown";
92
- enabled?: boolean | undefined;
93
- hint?: string | undefined;
94
- authFailureId?: string | undefined;
95
- profileId?: string | undefined;
96
- }[];
96
+ error: string;
97
97
  };
98
98
  outputFormat: "json";
99
- status: import("hono/utils/http-status").ContentfulStatusCode;
99
+ status: 500;
100
100
  input: {
101
101
  param: {
102
102
  provider: string;
@@ -128,10 +128,18 @@ export declare function createProvidersRoutes(deps: ProvidersRouteDeps): import(
128
128
  };
129
129
  } | {
130
130
  output: {
131
- error: string;
131
+ providers: {
132
+ requiresAccountHome?: boolean | undefined;
133
+ provider: string;
134
+ status: "connected" | "disconnected" | "not-installed" | "unknown";
135
+ enabled?: boolean | undefined;
136
+ hint?: string | undefined;
137
+ authFailureId?: string | undefined;
138
+ profileId?: string | undefined;
139
+ }[];
132
140
  };
133
141
  outputFormat: "json";
134
- status: 409;
142
+ status: import("hono/utils/http-status").ContentfulStatusCode;
135
143
  input: {
136
144
  param: {
137
145
  provider: string;
@@ -143,18 +151,10 @@ export declare function createProvidersRoutes(deps: ProvidersRouteDeps): import(
143
151
  };
144
152
  } | {
145
153
  output: {
146
- providers: {
147
- requiresAccountHome?: boolean | undefined;
148
- provider: string;
149
- status: "connected" | "disconnected" | "not-installed" | "unknown";
150
- enabled?: boolean | undefined;
151
- hint?: string | undefined;
152
- authFailureId?: string | undefined;
153
- profileId?: string | undefined;
154
- }[];
154
+ error: string;
155
155
  };
156
156
  outputFormat: "json";
157
- status: import("hono/utils/http-status").ContentfulStatusCode;
157
+ status: 409;
158
158
  input: {
159
159
  param: {
160
160
  provider: string;
@@ -173,7 +173,7 @@ export declare function createProvidersRoutes(deps: ProvidersRouteDeps): import(
173
173
  error: string;
174
174
  };
175
175
  outputFormat: "json";
176
- status: 400;
176
+ status: 409;
177
177
  input: {
178
178
  json: {
179
179
  provider: string;
@@ -185,7 +185,7 @@ export declare function createProvidersRoutes(deps: ProvidersRouteDeps): import(
185
185
  error: string;
186
186
  };
187
187
  outputFormat: "json";
188
- status: 409;
188
+ status: 400;
189
189
  input: {
190
190
  json: {
191
191
  provider: string;
@@ -290,28 +290,10 @@ export declare function createAgentProfilesRoutes(deps: AgentProfilesRouteDeps):
290
290
  "/workspace/agent-profiles": {
291
291
  $post: {
292
292
  output: {
293
- profile: {
294
- id: string;
295
- provider: string;
296
- label: string;
297
- configDir?: string | undefined;
298
- path?: string | undefined;
299
- exists: boolean;
300
- looksValid: boolean;
301
- isDefault: boolean;
302
- status?: {
303
- requiresAccountHome?: boolean | undefined;
304
- provider: string;
305
- status: "connected" | "disconnected" | "not-installed" | "unknown";
306
- enabled?: boolean | undefined;
307
- hint?: string | undefined;
308
- authFailureId?: string | undefined;
309
- profileId?: string | undefined;
310
- } | undefined;
311
- };
293
+ error: string;
312
294
  };
313
295
  outputFormat: "json";
314
- status: 201;
296
+ status: 409;
315
297
  input: {
316
298
  json: {
317
299
  provider: string;
@@ -337,7 +319,7 @@ export declare function createAgentProfilesRoutes(deps: AgentProfilesRouteDeps):
337
319
  error: string;
338
320
  };
339
321
  outputFormat: "json";
340
- status: 409;
322
+ status: 500;
341
323
  input: {
342
324
  json: {
343
325
  provider: string;
@@ -347,10 +329,28 @@ export declare function createAgentProfilesRoutes(deps: AgentProfilesRouteDeps):
347
329
  };
348
330
  } | {
349
331
  output: {
350
- error: string;
332
+ profile: {
333
+ id: string;
334
+ provider: string;
335
+ label: string;
336
+ configDir?: string | undefined;
337
+ path?: string | undefined;
338
+ exists: boolean;
339
+ looksValid: boolean;
340
+ isDefault: boolean;
341
+ status?: {
342
+ requiresAccountHome?: boolean | undefined;
343
+ provider: string;
344
+ status: "connected" | "disconnected" | "not-installed" | "unknown";
345
+ enabled?: boolean | undefined;
346
+ hint?: string | undefined;
347
+ authFailureId?: string | undefined;
348
+ profileId?: string | undefined;
349
+ } | undefined;
350
+ };
351
351
  };
352
352
  outputFormat: "json";
353
- status: 500;
353
+ status: 201;
354
354
  input: {
355
355
  json: {
356
356
  provider: string;
@@ -384,7 +384,7 @@ export declare function createAgentProfilesRoutes(deps: AgentProfilesRouteDeps):
384
384
  error: string;
385
385
  };
386
386
  outputFormat: "json";
387
- status: 400;
387
+ status: 409;
388
388
  input: {
389
389
  param: {
390
390
  id: string;
@@ -400,7 +400,7 @@ export declare function createAgentProfilesRoutes(deps: AgentProfilesRouteDeps):
400
400
  error: string;
401
401
  };
402
402
  outputFormat: "json";
403
- status: 404;
403
+ status: 400;
404
404
  input: {
405
405
  param: {
406
406
  id: string;
@@ -416,7 +416,7 @@ export declare function createAgentProfilesRoutes(deps: AgentProfilesRouteDeps):
416
416
  error: string;
417
417
  };
418
418
  outputFormat: "json";
419
- status: 409;
419
+ status: 404;
420
420
  input: {
421
421
  param: {
422
422
  id: string;
@@ -544,7 +544,7 @@ export declare function createAgentProfilesRoutes(deps: AgentProfilesRouteDeps):
544
544
  error: string;
545
545
  };
546
546
  outputFormat: "json";
547
- status: 400;
547
+ status: 404;
548
548
  input: {
549
549
  json: {
550
550
  projectId: string;
@@ -557,7 +557,7 @@ export declare function createAgentProfilesRoutes(deps: AgentProfilesRouteDeps):
557
557
  error: string;
558
558
  };
559
559
  outputFormat: "json";
560
- status: 404;
560
+ status: 400;
561
561
  input: {
562
562
  json: {
563
563
  projectId: string;
@@ -621,7 +621,7 @@ export declare function createAgentProfilesRoutes(deps: AgentProfilesRouteDeps):
621
621
  error: string;
622
622
  };
623
623
  outputFormat: "json";
624
- status: 404;
624
+ status: 409;
625
625
  input: {
626
626
  param: {
627
627
  id: string;
@@ -632,7 +632,7 @@ export declare function createAgentProfilesRoutes(deps: AgentProfilesRouteDeps):
632
632
  error: string;
633
633
  };
634
634
  outputFormat: "json";
635
- status: 409;
635
+ status: 500;
636
636
  input: {
637
637
  param: {
638
638
  id: string;
@@ -643,7 +643,7 @@ export declare function createAgentProfilesRoutes(deps: AgentProfilesRouteDeps):
643
643
  error: string;
644
644
  };
645
645
  outputFormat: "json";
646
- status: 500;
646
+ status: 404;
647
647
  input: {
648
648
  param: {
649
649
  id: string;
@@ -31,7 +31,7 @@ export declare function createOpenTargetsRoutes(deps: OpenTargetsRouteDeps): imp
31
31
  error: string;
32
32
  };
33
33
  outputFormat: "json";
34
- status: 400;
34
+ status: 409;
35
35
  input: {
36
36
  json: {
37
37
  target: string;
@@ -42,7 +42,7 @@ export declare function createOpenTargetsRoutes(deps: OpenTargetsRouteDeps): imp
42
42
  error: string;
43
43
  };
44
44
  outputFormat: "json";
45
- status: 409;
45
+ status: 400;
46
46
  input: {
47
47
  json: {
48
48
  target: string;
@@ -120,11 +120,10 @@ export declare function createWorktreesRoutes(deps: WorktreesRouteDeps): import(
120
120
  };
121
121
  } | {
122
122
  output: {
123
- runId: string;
124
- worktreeReclaimedAt: string;
123
+ error: string;
125
124
  };
126
125
  outputFormat: "json";
127
- status: import("hono/utils/http-status").ContentfulStatusCode;
126
+ status: 404 | 409;
128
127
  input: {
129
128
  param: {
130
129
  runId: string;
@@ -132,10 +131,11 @@ export declare function createWorktreesRoutes(deps: WorktreesRouteDeps): import(
132
131
  };
133
132
  } | {
134
133
  output: {
135
- error: string;
134
+ runId: string;
135
+ worktreeReclaimedAt: string;
136
136
  };
137
137
  outputFormat: "json";
138
- status: 404 | 409;
138
+ status: import("hono/utils/http-status").ContentfulStatusCode;
139
139
  input: {
140
140
  param: {
141
141
  runId: string;
@@ -267,18 +267,14 @@ export declare function createRepoRoutes(deps: RepoRouteDeps): import("hono/hono
267
267
  "/repo/branches/delete": {
268
268
  $post: {
269
269
  output: {
270
- deleted: string[];
270
+ error: string;
271
271
  refused: {
272
272
  name: string;
273
273
  reason: string;
274
274
  }[];
275
- dropped?: {
276
- sha: string;
277
- subject: string;
278
- }[] | undefined;
279
275
  };
280
276
  outputFormat: "json";
281
- status: 200;
277
+ status: 409;
282
278
  input: {
283
279
  json: {
284
280
  names: string[];
@@ -287,14 +283,18 @@ export declare function createRepoRoutes(deps: RepoRouteDeps): import("hono/hono
287
283
  };
288
284
  } | {
289
285
  output: {
290
- error: string;
286
+ deleted: string[];
291
287
  refused: {
292
288
  name: string;
293
289
  reason: string;
294
290
  }[];
291
+ dropped?: {
292
+ sha: string;
293
+ subject: string;
294
+ }[] | undefined;
295
295
  };
296
296
  outputFormat: "json";
297
- status: 409;
297
+ status: 200;
298
298
  input: {
299
299
  json: {
300
300
  names: string[];
@@ -315,6 +315,19 @@ export declare function createRepoRoutes(deps: RepoRouteDeps): import("hono/hono
315
315
  } & {
316
316
  "/repo/commit/:sha": {
317
317
  $get: {
318
+ output: string;
319
+ outputFormat: "text";
320
+ status: import("hono/utils/http-status").ContentfulStatusCode;
321
+ input: {
322
+ query: {
323
+ structured?: string | undefined;
324
+ };
325
+ } & {
326
+ param: {
327
+ sha: string;
328
+ };
329
+ };
330
+ } | {
318
331
  output: {
319
332
  error: string;
320
333
  code?: "invalid_input" | undefined;
@@ -378,19 +391,6 @@ export declare function createRepoRoutes(deps: RepoRouteDeps): import("hono/hono
378
391
  sha: string;
379
392
  };
380
393
  };
381
- } | {
382
- output: string;
383
- outputFormat: "text";
384
- status: import("hono/utils/http-status").ContentfulStatusCode;
385
- input: {
386
- query: {
387
- structured?: string | undefined;
388
- };
389
- } & {
390
- param: {
391
- sha: string;
392
- };
393
- };
394
394
  };
395
395
  };
396
396
  } & {
@@ -451,12 +451,10 @@ export declare function createRepoRoutes(deps: RepoRouteDeps): import("hono/hono
451
451
  "/repo/pull": {
452
452
  $post: {
453
453
  output: {
454
- branch: string;
455
- pulled: true;
456
- summary: string;
454
+ error: string;
457
455
  };
458
456
  outputFormat: "json";
459
- status: 200;
457
+ status: 409;
460
458
  input: {
461
459
  json: {
462
460
  branch?: string | undefined;
@@ -465,10 +463,12 @@ export declare function createRepoRoutes(deps: RepoRouteDeps): import("hono/hono
465
463
  };
466
464
  } | {
467
465
  output: {
468
- error: string;
466
+ branch: string;
467
+ pulled: true;
468
+ summary: string;
469
469
  };
470
470
  outputFormat: "json";
471
- status: 409;
471
+ status: 200;
472
472
  input: {
473
473
  json: {
474
474
  branch?: string | undefined;
@@ -52,15 +52,11 @@ export declare function createRunnerInstallRoutes(options: {
52
52
  "/runner-install/:runner": {
53
53
  $post: {
54
54
  output: {
55
- supported: boolean;
56
- installedVersion: string | null;
57
- latestVersion: string | null;
58
- updateAvailable: boolean;
59
- phase: "activating" | "checking" | "downloading" | "extracting" | "failed" | "idle" | "removing" | "verifying";
60
- error: string | null;
55
+ error: string;
56
+ code?: "invalid_input" | undefined;
61
57
  };
62
58
  outputFormat: "json";
63
- status: 202;
59
+ status: 400;
64
60
  input: {
65
61
  param: {
66
62
  runner: string;
@@ -72,11 +68,15 @@ export declare function createRunnerInstallRoutes(options: {
72
68
  };
73
69
  } | {
74
70
  output: {
75
- error: string;
76
- code?: "invalid_input" | undefined;
71
+ supported: boolean;
72
+ installedVersion: string | null;
73
+ latestVersion: string | null;
74
+ updateAvailable: boolean;
75
+ phase: "activating" | "checking" | "downloading" | "extracting" | "failed" | "idle" | "removing" | "verifying";
76
+ error: string | null;
77
77
  };
78
78
  outputFormat: "json";
79
- status: 400;
79
+ status: 202;
80
80
  input: {
81
81
  param: {
82
82
  runner: string;
@@ -1336,6 +1336,10 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
1336
1336
  currentStepId?: string | undefined;
1337
1337
  currentStepBackend?: string | undefined;
1338
1338
  error?: string | undefined;
1339
+ statePreview?: {
1340
+ kind: "ask" | "error" | "permission" | "review";
1341
+ text: string;
1342
+ } | undefined;
1339
1343
  worktreePath?: string | undefined;
1340
1344
  }[];
1341
1345
  outputFormat: "json";
@@ -1514,6 +1518,10 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
1514
1518
  currentStepId?: string | undefined;
1515
1519
  currentStepBackend?: string | undefined;
1516
1520
  error?: string | undefined;
1521
+ statePreview?: {
1522
+ kind: "ask" | "error" | "permission" | "review";
1523
+ text: string;
1524
+ } | undefined;
1517
1525
  worktreePath?: string | undefined;
1518
1526
  }[];
1519
1527
  nextCursor: string | null;
@@ -12300,20 +12308,20 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
12300
12308
  } & {
12301
12309
  "/runs/:id/handoff": {
12302
12310
  $get: {
12303
- output: {
12304
- error: string;
12305
- };
12306
- outputFormat: "json";
12307
- status: 404;
12311
+ output: string;
12312
+ outputFormat: "text";
12313
+ status: 200;
12308
12314
  input: {
12309
12315
  param: {
12310
12316
  id: string;
12311
12317
  };
12312
12318
  };
12313
12319
  } | {
12314
- output: string;
12315
- outputFormat: "text";
12316
- status: 200;
12320
+ output: {
12321
+ error: string;
12322
+ };
12323
+ outputFormat: "json";
12324
+ status: 404;
12317
12325
  input: {
12318
12326
  param: {
12319
12327
  id: string;
@@ -12351,20 +12359,20 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
12351
12359
  } & {
12352
12360
  "/runs/:id/diff": {
12353
12361
  $get: {
12354
- output: {
12355
- error: string;
12356
- };
12357
- outputFormat: "json";
12358
- status: 404 | 409;
12362
+ output: string;
12363
+ outputFormat: "text";
12364
+ status: import("hono/utils/http-status").ContentfulStatusCode;
12359
12365
  input: {
12360
12366
  param: {
12361
12367
  id: string;
12362
12368
  };
12363
12369
  };
12364
12370
  } | {
12365
- output: string;
12366
- outputFormat: "text";
12367
- status: import("hono/utils/http-status").ContentfulStatusCode;
12371
+ output: {
12372
+ error: string;
12373
+ };
12374
+ outputFormat: "json";
12375
+ status: 404 | 409;
12368
12376
  input: {
12369
12377
  param: {
12370
12378
  id: string;