@hearsay-tools/squawk 0.19.0-pr4514.8939 → 0.19.0-pr4517.8948

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 (103) hide show
  1. package/dist/ci-wait/controller.d.ts +7 -7
  2. package/dist/contract/index.js +4 -1
  3. package/dist/contract/repo.d.ts +2 -0
  4. package/dist/delegation/transport.d.ts +65 -65
  5. package/dist/features/automations/automations-routes.d.ts +150 -150
  6. package/dist/server/activity-routes.d.ts +23 -23
  7. package/dist/server/{github-routes.d.ts → forge-routes.d.ts} +9 -6
  8. package/dist/server/{github-routes.js → forge-routes.js} +9 -6
  9. package/dist/server/forge-routes.js.map +1 -0
  10. package/dist/server/git-changes.d.ts +5 -0
  11. package/dist/server/git-changes.js +17 -1
  12. package/dist/server/git-changes.js.map +1 -1
  13. package/dist/server/project-settings-routes.d.ts +107 -107
  14. package/dist/server/provider-sign-in-routes.d.ts +2 -2
  15. package/dist/server/providers-routes.d.ts +57 -57
  16. package/dist/server/repo-routes.d.ts +34 -34
  17. package/dist/server/runner-install-routes.d.ts +10 -10
  18. package/dist/server/runners-routes.d.ts +10 -10
  19. package/dist/server/runs-routes.d.ts +307 -306
  20. package/dist/server/server.d.ts +1210 -1208
  21. package/dist/server/server.js +3 -3
  22. package/dist/server/server.js.map +1 -1
  23. package/dist/server/workspace-routes.d.ts +85 -85
  24. package/package.json +4 -4
  25. package/web/dist/assets/{accounts-section-BWs_Op4q.js → accounts-section-CaxmZTt5.js} +1 -1
  26. package/web/dist/assets/{activity-motion-D_lzlbol.js → activity-motion-CbrUkQTd.js} +1 -1
  27. package/web/dist/assets/{activity-route-npBjTy91.js → activity-route-CadJy7vi.js} +1 -1
  28. package/web/dist/assets/{agent-config-section-CBwn34fV.js → agent-config-section-VRb4FLFD.js} +1 -1
  29. package/web/dist/assets/{agent-defaults-section-BLeHBg4E.js → agent-defaults-section-DkHcYJIf.js} +1 -1
  30. package/web/dist/assets/{appearance-LEzL_45W.js → appearance-BJIHxYbs.js} +1 -1
  31. package/web/dist/assets/{archive-on-merge-field-ave6eYwU.js → archive-on-merge-field-CU4_trJk.js} +1 -1
  32. package/web/dist/assets/attention-C9zoC-gL.js +1 -0
  33. package/web/dist/assets/automations-route-XUZUpXQ5.js +2 -0
  34. package/web/dist/assets/{automations-route-CzqZXK0W.css → automations-route-mn5aFSDU.css} +1 -1
  35. package/web/dist/assets/{commit-list-BpFn0yy-.js → commit-list-CErY8XX8.js} +1 -1
  36. package/web/dist/assets/{diff-C9prkoMN.js → diff-CceWqUDd.js} +2 -2
  37. package/web/dist/assets/{diff-controls-BlMnNuV4.js → diff-controls-DfCDXi9N.js} +1 -1
  38. package/web/dist/assets/{diff-view-B4HIRvi0.js → diff-view-CR6FPxJL.js} +1 -1
  39. package/web/dist/assets/{discard-changes-dialog-DSEAPMnA.js → discard-changes-dialog-DuFz1hmp.js} +1 -1
  40. package/web/dist/assets/{file-preview-BT_5H3ms.js → file-preview-kFFGzNc5.js} +1 -1
  41. package/web/dist/assets/{folder-browser-BSGB9hhQ.js → folder-browser-DiQGbqCN.js} +1 -1
  42. package/web/dist/assets/git-toolbar-C62biT4w.js +1 -0
  43. package/web/dist/assets/{github-NIisNx1G.js → github-5vuhHVRU.js} +1 -1
  44. package/web/dist/assets/{global-activity-route-E8K9u2n2.js → global-activity-route-CZmgudQQ.js} +1 -1
  45. package/web/dist/assets/index-BBQaXbpc.css +1 -0
  46. package/web/dist/assets/{index-DCiyvOmJ.js → index-bs9cMtXe.js} +5 -5
  47. package/web/dist/assets/{label-CV8tuTOO.js → label-B1zf-eXb.js} +1 -1
  48. package/web/dist/assets/{markdown-BUeamWrQ.js → markdown-Bj-PaWay.js} +1 -1
  49. package/web/dist/assets/middle-truncated-name-CFKiVLF5.js +1 -0
  50. package/web/dist/assets/{open-in-menu-Uw-sJhbG.js → open-in-menu-DCAALDG-.js} +1 -1
  51. package/web/dist/assets/{option-select-Cdd2UPAV.js → option-select-BkYWQoJr.js} +1 -1
  52. package/web/dist/assets/{preferences-section-XoysgB81.js → preferences-section-MzNXmTGy.js} +1 -1
  53. package/web/dist/assets/{preview-pane-connected-Dgx7IuKI.js → preview-pane-connected-CVmxGajb.js} +1 -1
  54. package/web/dist/assets/{project-location-BGsUFEoZ.js → project-location-C8aQlPwO.js} +1 -1
  55. package/web/dist/assets/{project-router-BHFXTx5l.js → project-router-onKnSy5a.js} +1 -1
  56. package/web/dist/assets/{projects-section-DImMzOUS.js → projects-section-CMLqvSxl.js} +1 -1
  57. package/web/dist/assets/{prompt-templates-section-DmEZQQiJ.js → prompt-templates-section-CjPFTpLk.js} +1 -1
  58. package/web/dist/assets/{queries-CIeJg62Y.js → queries-CII6fTHH.js} +1 -1
  59. package/web/dist/assets/{reference-chip-Dk69XD7Q.js → reference-chip-DS4MThmV.js} +1 -1
  60. package/web/dist/assets/{remote-settings-notice-De6tIJ-L.js → remote-settings-notice-4U3UwRJT.js} +1 -1
  61. package/web/dist/assets/repo-git-Bot1fcAC.js +1 -0
  62. package/web/dist/assets/{report-reader-DTgtThoF.js → report-reader-CyF6nudi.js} +1 -1
  63. package/web/dist/assets/{report-selection-BH0M_8bk.js → report-selection-DEA-7JTb.js} +1 -1
  64. package/web/dist/assets/{reports-BcNh-ewR.js → reports-Pl0nV_O2.js} +1 -1
  65. package/web/dist/assets/{resources-section-CLGNYsEI.js → resources-section-BkwpbFpC.js} +1 -1
  66. package/web/dist/assets/{review-panel-DJrz0DKA.js → review-panel-DWef76ZV.js} +1 -1
  67. package/web/dist/assets/{run-detail-refresh-DTnwaDy2.js → run-detail-refresh-Caj4BPPd.js} +1 -1
  68. package/web/dist/assets/{run-header-rOZ7Bfbt.js → run-header-DoNH-rZo.js} +1 -1
  69. package/web/dist/assets/{select-BRh3a5hj.js → select-BW2zjOcv.js} +1 -1
  70. package/web/dist/assets/{session-context-section-Cx7XfXh7.js → session-context-section-OVFScyl5.js} +1 -1
  71. package/web/dist/assets/{settings-agent-picker-BJ4aWg6X.js → settings-agent-picker-D-qjtUIC.js} +1 -1
  72. package/web/dist/assets/{settings-save-bar-CoztcQSE.js → settings-save-bar-DCLb4LnC.js} +1 -1
  73. package/web/dist/assets/{settings-shell-D9jjYoK8.js → settings-shell-BGoQDXtL.js} +1 -1
  74. package/web/dist/assets/{sidebar-section-YRmC93zR.js → sidebar-section-CsQbyixg.js} +1 -1
  75. package/web/dist/assets/{skills-7RaRLcTg.js → skills-BsAEL--O.js} +1 -1
  76. package/web/dist/assets/{tab-link-BYYXdpLn.js → tab-link-B2k-zaeP.js} +1 -1
  77. package/web/dist/assets/task-changes-DVG2ZAtj.js +1 -0
  78. package/web/dist/assets/{task-commits-oONZqAkn.js → task-commits-DdO0EE1M.js} +1 -1
  79. package/web/dist/assets/{task-file-scope-DkIxyIoZ.js → task-file-scope-_--iGnmN.js} +1 -1
  80. package/web/dist/assets/task-files-CwdiBpAM.js +1 -0
  81. package/web/dist/assets/{task-github-item-DRFTfSWl.js → task-github-item-C5-V9WYI.js} +1 -1
  82. package/web/dist/assets/{task-groups-C9pTQm-2.js → task-groups-dEzH1nMg.js} +1 -1
  83. package/web/dist/assets/{task-thread-hcPcygid.js → task-thread-B3lhaQy8.js} +1 -1
  84. package/web/dist/assets/{tasks-table-CvZ2ZyCa.js → tasks-table-CPAY1N-E.js} +1 -1
  85. package/web/dist/assets/{thread-state-DDyUg5uH.js → thread-state-DncSPvjE.js} +1 -1
  86. package/web/dist/assets/{toaster-D0HMoto5.js → toaster-Bs1mVYf9.js} +1 -1
  87. package/web/dist/assets/{use-hand-to-agent-state-BvvZrw7O.js → use-hand-to-agent-state-XS92Zdva.js} +1 -1
  88. package/web/dist/assets/use-path-bases-Dwb5siyK.js +1 -0
  89. package/web/dist/assets/use-workspace-config-save-0Mtdwfrd.js +1 -0
  90. package/web/dist/assets/{workflows-DhW8Xvde.js → workflows-le48G5Li.js} +1 -1
  91. package/web/dist/assets/{workspace-tools-DzOGYPoN.js → workspace-tools-DFmvcYzq.js} +1 -1
  92. package/web/dist/assets/{worktrees-section-CfyXCPMF.js → worktrees-section-D5BwHxP8.js} +1 -1
  93. package/web/dist/index.html +14 -14
  94. package/dist/server/github-routes.js.map +0 -1
  95. package/web/dist/assets/attention-V1gJ7gKo.js +0 -1
  96. package/web/dist/assets/automations-route-BxEJmAn2.js +0 -2
  97. package/web/dist/assets/git-toolbar-DK4_0Ylw.js +0 -1
  98. package/web/dist/assets/index-DfudDolc.css +0 -1
  99. package/web/dist/assets/repo-git-DRAJhkDz.js +0 -1
  100. package/web/dist/assets/task-changes-CHfNtrjT.js +0 -1
  101. package/web/dist/assets/task-files-BRdhOHRY.js +0 -1
  102. package/web/dist/assets/use-path-bases-DuMOLy3W.js +0 -1
  103. package/web/dist/assets/use-workspace-config-save-bZksgjRK.js +0 -1
@@ -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;
@@ -138,11 +138,10 @@ export declare function createWorktreesRoutes(deps: WorktreesRouteDeps): import(
138
138
  };
139
139
  } | {
140
140
  output: {
141
- runId: string;
142
- worktreeReclaimedAt: string;
141
+ error: string;
143
142
  };
144
143
  outputFormat: "json";
145
- status: import("hono/utils/http-status").ContentfulStatusCode;
144
+ status: 404 | 409;
146
145
  input: {
147
146
  param: {
148
147
  runId: string;
@@ -154,10 +153,11 @@ export declare function createWorktreesRoutes(deps: WorktreesRouteDeps): import(
154
153
  };
155
154
  } | {
156
155
  output: {
157
- error: string;
156
+ runId: string;
157
+ worktreeReclaimedAt: string;
158
158
  };
159
159
  outputFormat: "json";
160
- status: 404 | 409;
160
+ status: import("hono/utils/http-status").ContentfulStatusCode;
161
161
  input: {
162
162
  param: {
163
163
  runId: string;
@@ -294,18 +294,14 @@ export declare function createRepoRoutes(deps: RepoRouteDeps): import("hono/hono
294
294
  "/repo/branches/delete": {
295
295
  $post: {
296
296
  output: {
297
- deleted: string[];
297
+ error: string;
298
298
  refused: {
299
299
  name: string;
300
300
  reason: string;
301
301
  }[];
302
- dropped?: {
303
- sha: string;
304
- subject: string;
305
- }[] | undefined;
306
302
  };
307
303
  outputFormat: "json";
308
- status: 200;
304
+ status: 409;
309
305
  input: {
310
306
  json: {
311
307
  names: string[];
@@ -314,14 +310,18 @@ export declare function createRepoRoutes(deps: RepoRouteDeps): import("hono/hono
314
310
  };
315
311
  } | {
316
312
  output: {
317
- error: string;
313
+ deleted: string[];
318
314
  refused: {
319
315
  name: string;
320
316
  reason: string;
321
317
  }[];
318
+ dropped?: {
319
+ sha: string;
320
+ subject: string;
321
+ }[] | undefined;
322
322
  };
323
323
  outputFormat: "json";
324
- status: 409;
324
+ status: 200;
325
325
  input: {
326
326
  json: {
327
327
  names: string[];
@@ -342,6 +342,19 @@ export declare function createRepoRoutes(deps: RepoRouteDeps): import("hono/hono
342
342
  } & {
343
343
  "/repo/commit/:sha": {
344
344
  $get: {
345
+ output: string;
346
+ outputFormat: "text";
347
+ status: import("hono/utils/http-status").ContentfulStatusCode;
348
+ input: {
349
+ query: {
350
+ structured?: string | undefined;
351
+ };
352
+ } & {
353
+ param: {
354
+ sha: string;
355
+ };
356
+ };
357
+ } | {
345
358
  output: {
346
359
  error: string;
347
360
  code?: "invalid_input" | undefined;
@@ -405,19 +418,6 @@ export declare function createRepoRoutes(deps: RepoRouteDeps): import("hono/hono
405
418
  sha: string;
406
419
  };
407
420
  };
408
- } | {
409
- output: string;
410
- outputFormat: "text";
411
- status: import("hono/utils/http-status").ContentfulStatusCode;
412
- input: {
413
- query: {
414
- structured?: string | undefined;
415
- };
416
- } & {
417
- param: {
418
- sha: string;
419
- };
420
- };
421
421
  };
422
422
  };
423
423
  } & {
@@ -478,12 +478,10 @@ export declare function createRepoRoutes(deps: RepoRouteDeps): import("hono/hono
478
478
  "/repo/pull": {
479
479
  $post: {
480
480
  output: {
481
- branch: string;
482
- pulled: true;
483
- summary: string;
481
+ error: string;
484
482
  };
485
483
  outputFormat: "json";
486
- status: 200;
484
+ status: 409;
487
485
  input: {
488
486
  json: {
489
487
  branch?: string | undefined;
@@ -492,10 +490,12 @@ export declare function createRepoRoutes(deps: RepoRouteDeps): import("hono/hono
492
490
  };
493
491
  } | {
494
492
  output: {
495
- error: string;
493
+ branch: string;
494
+ pulled: true;
495
+ summary: string;
496
496
  };
497
497
  outputFormat: "json";
498
- status: 409;
498
+ status: 200;
499
499
  input: {
500
500
  json: {
501
501
  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;
@@ -58,11 +58,15 @@ export declare function createRunnersRoutes(options: {
58
58
  "/runner-install/:runner": {
59
59
  $post: {
60
60
  output: {
61
- error: string;
62
- code?: "invalid_input" | undefined;
61
+ supported: boolean;
62
+ installedVersion: string | null;
63
+ latestVersion: string | null;
64
+ updateAvailable: boolean;
65
+ phase: "activating" | "checking" | "downloading" | "extracting" | "failed" | "idle" | "removing" | "verifying";
66
+ error: string | null;
63
67
  };
64
68
  outputFormat: "json";
65
- status: 400;
69
+ status: 202;
66
70
  input: {
67
71
  param: {
68
72
  runner: string;
@@ -74,15 +78,11 @@ export declare function createRunnersRoutes(options: {
74
78
  };
75
79
  } | {
76
80
  output: {
77
- supported: boolean;
78
- installedVersion: string | null;
79
- latestVersion: string | null;
80
- updateAvailable: boolean;
81
- phase: "activating" | "checking" | "downloading" | "extracting" | "failed" | "idle" | "removing" | "verifying";
82
- error: string | null;
81
+ error: string;
82
+ code?: "invalid_input" | undefined;
83
83
  };
84
84
  outputFormat: "json";
85
- status: 202;
85
+ status: 400;
86
86
  input: {
87
87
  param: {
88
88
  runner: string;