@hearsay-tools/squawk 0.19.0-dev.9182 → 0.19.0-dev.9185

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 (69) hide show
  1. package/dist/delegation/transport.d.ts +78 -78
  2. package/dist/features/automations/automations-routes.d.ts +150 -150
  3. package/dist/server/project-settings-routes.d.ts +107 -107
  4. package/dist/server/provider-sign-in-routes.d.ts +2 -2
  5. package/dist/server/repo-routes.d.ts +52 -52
  6. package/dist/server/runner-install-routes.d.ts +10 -10
  7. package/dist/server/runs-routes.d.ts +34 -34
  8. package/dist/server/server.d.ts +1170 -1170
  9. package/dist/server/workspace-identity-routes.d.ts +5 -5
  10. package/package.json +4 -4
  11. package/web/dist/assets/{accounts-section-DYQC-wSh.js → accounts-section-rl1VZO3h.js} +1 -1
  12. package/web/dist/assets/{activity-motion-XvrmbNgR.js → activity-motion-z61Fgew-.js} +1 -1
  13. package/web/dist/assets/{activity-route-Dj8ltoqG.js → activity-route-BNDRi4k-.js} +1 -1
  14. package/web/dist/assets/{agent-config-section-D16TRCE_.js → agent-config-section-n-pEsz22.js} +1 -1
  15. package/web/dist/assets/{agent-defaults-section-Dm0khLjs.js → agent-defaults-section-D-HJwVes.js} +1 -1
  16. package/web/dist/assets/{appearance-CP6zVctf.js → appearance-BtRmAcNb.js} +1 -1
  17. package/web/dist/assets/{archive-on-merge-field-BA8aUtRQ.js → archive-on-merge-field-CvMwaqSO.js} +1 -1
  18. package/web/dist/assets/{ask-card-CLdlwd68.js → ask-card-BwUCf0aZ.js} +1 -1
  19. package/web/dist/assets/{automations-route-BVDO_Kai.js → automations-route-DTiAXiUI.js} +1 -1
  20. package/web/dist/assets/{commit-list-Bdekr2K7.js → commit-list-C9Hv9ml6.js} +1 -1
  21. package/web/dist/assets/{diff-Du0FsqAK.js → diff-Cj-x8nqJ.js} +2 -2
  22. package/web/dist/assets/{diff-controls-DTC_6oqk.js → diff-controls-C_ysCTVK.js} +1 -1
  23. package/web/dist/assets/{diff-view-TKooupFV.js → diff-view-f2Zb3Tuc.js} +1 -1
  24. package/web/dist/assets/{discard-changes-dialog-Bg-3Xbox.js → discard-changes-dialog-Db5fnRbe.js} +1 -1
  25. package/web/dist/assets/{file-preview-DMJCprVk.js → file-preview-Cyj25xiD.js} +1 -1
  26. package/web/dist/assets/{git-toolbar-COhBdctn.js → git-toolbar-DasGkLg-.js} +1 -1
  27. package/web/dist/assets/{github-DUTSv2Hs.js → github-DCg3ksYv.js} +1 -1
  28. package/web/dist/assets/{global-activity-route-CypEKUv_.js → global-activity-route-DZtIc9Y6.js} +1 -1
  29. package/web/dist/assets/index-DDSPQb52.css +1 -0
  30. package/web/dist/assets/{index-BV3EQb9T.js → index-DKnr4QWH.js} +5 -5
  31. package/web/dist/assets/{markdown-0uCxcToP.js → markdown-B4JilOS6.js} +1 -1
  32. package/web/dist/assets/{option-select-DQJEHmHf.js → option-select-C7kknSij.js} +1 -1
  33. package/web/dist/assets/{preferences-section-Cvl5vyfN.js → preferences-section-fRAjnH9V.js} +1 -1
  34. package/web/dist/assets/{preview-pane-connected-i3GJtDL3.js → preview-pane-connected-BdBFebn0.js} +1 -1
  35. package/web/dist/assets/{project-location-BcjOhqun.js → project-location-J285aq6e.js} +1 -1
  36. package/web/dist/assets/{projects-section-CAOFPkDQ.js → projects-section-CTJAcTFT.js} +1 -1
  37. package/web/dist/assets/{prompt-templates-section-BXTfLET4.js → prompt-templates-section-Br5uL5GK.js} +1 -1
  38. package/web/dist/assets/{remote-settings-notice-CUK4ZFYF.js → remote-settings-notice-oiFixJ1Q.js} +1 -1
  39. package/web/dist/assets/{repo-git-Dx85MEuK.js → repo-git-BnF9zc0t.js} +1 -1
  40. package/web/dist/assets/{report-reader-BDdY5kpz.js → report-reader-CAKZUxHi.js} +1 -1
  41. package/web/dist/assets/{reports-DWKpm_us.js → reports-DLzhtnVJ.js} +1 -1
  42. package/web/dist/assets/{resources-section-D9tzbv9w.js → resources-section-DEvZicO3.js} +1 -1
  43. package/web/dist/assets/{review-notes-drafts-BSkmq3Nj.js → review-notes-drafts-dS7OB8et.js} +1 -1
  44. package/web/dist/assets/{review-panel-C9UZjWFl.js → review-panel-BRdqkYjE.js} +1 -1
  45. package/web/dist/assets/{review-strip-qTG5JaOw.js → review-strip-BCrYmUm6.js} +1 -1
  46. package/web/dist/assets/{run-header-BrUcSJu6.js → run-header-sCyLqpuL.js} +1 -1
  47. package/web/dist/assets/{select-BUsS7uOZ.js → select-DGNeDPgB.js} +1 -1
  48. package/web/dist/assets/{session-context-section-Bgzou-NG.js → session-context-section-5kleIwBF.js} +1 -1
  49. package/web/dist/assets/{settings-agent-picker-CH3CQhOh.js → settings-agent-picker-BHaCHv3L.js} +1 -1
  50. package/web/dist/assets/{settings-save-bar-cyvALSgW.js → settings-save-bar-BBRySnQz.js} +1 -1
  51. package/web/dist/assets/{settings-shell-Cl-cu4r5.js → settings-shell-NnVky05a.js} +1 -1
  52. package/web/dist/assets/{sidebar-section-Cj2fDrhV.js → sidebar-section-CJttxkBb.js} +1 -1
  53. package/web/dist/assets/{skills-DLMbRR_5.js → skills-BWhCi78k.js} +1 -1
  54. package/web/dist/assets/{task-changes-ito4fOGh.js → task-changes-DxraCwDD.js} +1 -1
  55. package/web/dist/assets/{task-commits-BYOIU9zy.js → task-commits-BT54zRvY.js} +1 -1
  56. package/web/dist/assets/{task-file-scope-B8EEJyHp.js → task-file-scope-DIKRE_b-.js} +1 -1
  57. package/web/dist/assets/{task-files-CF0QKnm-.js → task-files-BzhShCDY.js} +1 -1
  58. package/web/dist/assets/{task-github-item-C6Fu8MvM.js → task-github-item-NuNVjHSM.js} +1 -1
  59. package/web/dist/assets/{task-thread-BWrvepxB.js → task-thread-Kb7rfaii.js} +1 -1
  60. package/web/dist/assets/{thread-state-8E0eYXGu.js → thread-state-BLwCv9hp.js} +1 -1
  61. package/web/dist/assets/{use-finish-run-a2qZy6zr.js → use-finish-run-CfvaMV-b.js} +1 -1
  62. package/web/dist/assets/{use-hand-to-agent-state-DT1ngmHe.js → use-hand-to-agent-state-DykS8SPU.js} +1 -1
  63. package/web/dist/assets/use-path-bases-B7D8PPso.js +1 -0
  64. package/web/dist/assets/{workflows-2e0Sm6F1.js → workflows-tS2KFiN5.js} +1 -1
  65. package/web/dist/assets/{workspace-tools-D4DO9w12.js → workspace-tools-B5wyKj6g.js} +1 -1
  66. package/web/dist/assets/{worktrees-section-8-d6zWQ-.js → worktrees-section-Be49G15q.js} +1 -1
  67. package/web/dist/index.html +2 -2
  68. package/web/dist/assets/index-Bh7COq0B.css +0 -1
  69. package/web/dist/assets/use-path-bases-CZ6F93wt.js +0 -1
@@ -112,10 +112,42 @@ export declare function createUiStateRoutes(): import("hono/hono-base").HonoBase
112
112
  "/ui-state": {
113
113
  $put: {
114
114
  output: {
115
- error: string;
115
+ [x: string]: import("hono/utils/types").JSONValue;
116
+ sidebarLimits?: {
117
+ overall?: number | null | undefined;
118
+ needsYou?: number | null | undefined;
119
+ finished?: number | null | undefined;
120
+ working?: number | null | undefined;
121
+ } | undefined;
122
+ lastTask?: {
123
+ source: "skill" | "workflow";
124
+ ref: string;
125
+ } | null | undefined;
126
+ recentSources?: {
127
+ source: "skill" | "workflow";
128
+ ref: string;
129
+ }[] | undefined;
130
+ lastWorktree?: boolean | undefined;
131
+ lastAutonomous?: boolean | undefined;
132
+ skillUsage?: {
133
+ [x: string]: number;
134
+ } | undefined;
135
+ runsView?: "list" | "table" | undefined;
136
+ githubView?: "issues" | "prs" | undefined;
137
+ appearance?: {
138
+ accent?: "cezarion" | "lime" | "violet" | undefined;
139
+ density?: "comfortable" | "compact" | "ultra" | undefined;
140
+ width?: "narrow" | "wide" | undefined;
141
+ } | undefined;
142
+ promptTemplates?: {
143
+ id: string;
144
+ label: string;
145
+ text: string;
146
+ skills?: string[] | undefined;
147
+ }[] | undefined;
116
148
  };
117
149
  outputFormat: "json";
118
- status: 500;
150
+ status: import("hono/utils/http-status").ContentfulStatusCode;
119
151
  input: {
120
152
  json: {
121
153
  [x: string]: unknown;
@@ -153,42 +185,10 @@ export declare function createUiStateRoutes(): import("hono/hono-base").HonoBase
153
185
  };
154
186
  } | {
155
187
  output: {
156
- [x: string]: import("hono/utils/types").JSONValue;
157
- sidebarLimits?: {
158
- overall?: number | null | undefined;
159
- needsYou?: number | null | undefined;
160
- finished?: number | null | undefined;
161
- working?: number | null | undefined;
162
- } | undefined;
163
- lastTask?: {
164
- source: "skill" | "workflow";
165
- ref: string;
166
- } | null | undefined;
167
- recentSources?: {
168
- source: "skill" | "workflow";
169
- ref: string;
170
- }[] | undefined;
171
- lastWorktree?: boolean | undefined;
172
- lastAutonomous?: boolean | undefined;
173
- skillUsage?: {
174
- [x: string]: number;
175
- } | undefined;
176
- runsView?: "list" | "table" | undefined;
177
- githubView?: "issues" | "prs" | undefined;
178
- appearance?: {
179
- accent?: "cezarion" | "lime" | "violet" | undefined;
180
- density?: "comfortable" | "compact" | "ultra" | undefined;
181
- width?: "narrow" | "wide" | undefined;
182
- } | undefined;
183
- promptTemplates?: {
184
- id: string;
185
- label: string;
186
- text: string;
187
- skills?: string[] | undefined;
188
- }[] | undefined;
188
+ error: string;
189
189
  };
190
190
  outputFormat: "json";
191
- status: import("hono/utils/http-status").ContentfulStatusCode;
191
+ status: 500;
192
192
  input: {
193
193
  json: {
194
194
  [x: string]: unknown;
@@ -274,11 +274,10 @@ export declare function createWorkflowsRoutes(): import("hono/hono-base").HonoBa
274
274
  "/workflows": {
275
275
  $post: {
276
276
  output: {
277
- path: string;
278
- name: string;
277
+ error: string;
279
278
  };
280
279
  outputFormat: "json";
281
- status: 201;
280
+ status: 400;
282
281
  input: {
283
282
  json: {
284
283
  name: string;
@@ -311,9 +310,10 @@ export declare function createWorkflowsRoutes(): import("hono/hono-base").HonoBa
311
310
  } | {
312
311
  output: {
313
312
  error: string;
313
+ exists: true;
314
314
  };
315
315
  outputFormat: "json";
316
- status: 400;
316
+ status: 409;
317
317
  input: {
318
318
  json: {
319
319
  name: string;
@@ -346,10 +346,9 @@ export declare function createWorkflowsRoutes(): import("hono/hono-base").HonoBa
346
346
  } | {
347
347
  output: {
348
348
  error: string;
349
- exists: true;
350
349
  };
351
350
  outputFormat: "json";
352
- status: 409;
351
+ status: 500;
353
352
  input: {
354
353
  json: {
355
354
  name: string;
@@ -381,10 +380,11 @@ export declare function createWorkflowsRoutes(): import("hono/hono-base").HonoBa
381
380
  };
382
381
  } | {
383
382
  output: {
384
- error: string;
383
+ path: string;
384
+ name: string;
385
385
  };
386
386
  outputFormat: "json";
387
- status: 500;
387
+ status: 201;
388
388
  input: {
389
389
  json: {
390
390
  name: string;
@@ -420,11 +420,10 @@ export declare function createWorkflowsRoutes(): import("hono/hono-base").HonoBa
420
420
  "/workflows/:name": {
421
421
  $delete: {
422
422
  output: {
423
- ok: true;
424
- path: string;
423
+ error: string;
425
424
  };
426
425
  outputFormat: "json";
427
- status: import("hono/utils/http-status").ContentfulStatusCode;
426
+ status: 400 | 404 | 409 | 500;
428
427
  input: {
429
428
  param: {
430
429
  name: string;
@@ -432,10 +431,11 @@ export declare function createWorkflowsRoutes(): import("hono/hono-base").HonoBa
432
431
  };
433
432
  } | {
434
433
  output: {
435
- error: string;
434
+ ok: true;
435
+ path: string;
436
436
  };
437
437
  outputFormat: "json";
438
- status: 400 | 404 | 409 | 500;
438
+ status: import("hono/utils/http-status").ContentfulStatusCode;
439
439
  input: {
440
440
  param: {
441
441
  name: string;
@@ -503,6 +503,18 @@ export interface PlanRouteDeps {
503
503
  export declare function createPlanRoutes(deps: PlanRouteDeps): import("hono/hono-base").HonoBase<ProjectApiEnv, {
504
504
  "/plan": {
505
505
  $post: {
506
+ output: {
507
+ error: string;
508
+ };
509
+ outputFormat: "json";
510
+ status: 400 | 404 | 409;
511
+ input: {
512
+ json: {
513
+ task: string;
514
+ agentProfile?: string | undefined;
515
+ };
516
+ };
517
+ } | {
506
518
  output: {
507
519
  name?: string;
508
520
  steps: {
@@ -539,18 +551,6 @@ export declare function createPlanRoutes(deps: PlanRouteDeps): import("hono/hono
539
551
  agentProfile?: string | undefined;
540
552
  };
541
553
  };
542
- } | {
543
- output: {
544
- error: string;
545
- };
546
- outputFormat: "json";
547
- status: 400 | 404 | 409;
548
- input: {
549
- json: {
550
- task: string;
551
- agentProfile?: string | undefined;
552
- };
553
- };
554
554
  };
555
555
  };
556
556
  }, "/", "/plan">;
@@ -598,10 +598,34 @@ export declare function createConfigRoutes(deps: ConfigRouteDeps): import("hono/
598
598
  "/config": {
599
599
  $put: {
600
600
  output: {
601
- error: string;
601
+ archiveOnMerge: boolean | null;
602
+ effectiveArchiveOnMerge: boolean;
603
+ archiveOnMergeSource: "default" | "environment" | "global" | "project";
604
+ baseBranch: string | null;
605
+ defaultRunner: string;
606
+ systemPrompt: string | null;
607
+ defaultModels: {
608
+ [x: string]: string | undefined;
609
+ };
610
+ modelsLocked: boolean;
611
+ maxParallel: number;
612
+ memoryLimitMb: number | null;
613
+ worktreeRetention: number;
614
+ liveTitleUpdates: boolean | null;
615
+ reviewGate: boolean | null;
616
+ worktreeSetup: {
617
+ commands: string[];
618
+ timeoutSeconds: number;
619
+ } | null;
620
+ worktreeSetupIssue: string | null;
621
+ worktreeTeardown: {
622
+ commands: string[];
623
+ timeoutSeconds: number;
624
+ } | null;
625
+ worktreeTeardownIssue: string | null;
602
626
  };
603
627
  outputFormat: "json";
604
- status: 409;
628
+ status: import("hono/utils/http-status").ContentfulStatusCode;
605
629
  input: {
606
630
  json: {
607
631
  archiveOnMerge?: boolean | null | undefined;
@@ -629,7 +653,7 @@ export declare function createConfigRoutes(deps: ConfigRouteDeps): import("hono/
629
653
  error: string;
630
654
  };
631
655
  outputFormat: "json";
632
- status: 500;
656
+ status: 409;
633
657
  input: {
634
658
  json: {
635
659
  archiveOnMerge?: boolean | null | undefined;
@@ -654,34 +678,10 @@ export declare function createConfigRoutes(deps: ConfigRouteDeps): import("hono/
654
678
  };
655
679
  } | {
656
680
  output: {
657
- archiveOnMerge: boolean | null;
658
- effectiveArchiveOnMerge: boolean;
659
- archiveOnMergeSource: "default" | "environment" | "global" | "project";
660
- baseBranch: string | null;
661
- defaultRunner: string;
662
- systemPrompt: string | null;
663
- defaultModels: {
664
- [x: string]: string | undefined;
665
- };
666
- modelsLocked: boolean;
667
- maxParallel: number;
668
- memoryLimitMb: number | null;
669
- worktreeRetention: number;
670
- liveTitleUpdates: boolean | null;
671
- reviewGate: boolean | null;
672
- worktreeSetup: {
673
- commands: string[];
674
- timeoutSeconds: number;
675
- } | null;
676
- worktreeSetupIssue: string | null;
677
- worktreeTeardown: {
678
- commands: string[];
679
- timeoutSeconds: number;
680
- } | null;
681
- worktreeTeardownIssue: string | null;
681
+ error: string;
682
682
  };
683
683
  outputFormat: "json";
684
- status: import("hono/utils/http-status").ContentfulStatusCode;
684
+ status: 500;
685
685
  input: {
686
686
  json: {
687
687
  archiveOnMerge?: boolean | null | undefined;
@@ -795,10 +795,14 @@ export declare function createAgentConfigRoutes(capabilities: ServerCapabilities
795
795
  "/agent-config/:id": {
796
796
  $put: {
797
797
  output: {
798
- error: string;
798
+ id: string;
799
+ path: string;
800
+ exists: boolean;
801
+ content: string;
802
+ version: string | null;
799
803
  };
800
804
  outputFormat: "json";
801
- status: 404;
805
+ status: import("hono/utils/http-status").ContentfulStatusCode;
802
806
  input: {
803
807
  json: {
804
808
  content: string;
@@ -811,14 +815,10 @@ export declare function createAgentConfigRoutes(capabilities: ServerCapabilities
811
815
  };
812
816
  } | {
813
817
  output: {
814
- id: string;
815
- path: string;
816
- exists: boolean;
817
- content: string;
818
- version: string | null;
818
+ error: string;
819
819
  };
820
820
  outputFormat: "json";
821
- status: import("hono/utils/http-status").ContentfulStatusCode;
821
+ status: 404;
822
822
  input: {
823
823
  json: {
824
824
  content: string;
@@ -851,12 +851,9 @@ export declare function createAgentConfigRoutes(capabilities: ServerCapabilities
851
851
  export declare function createSseRoutes(): import("hono/hono-base").HonoBase<ProjectApiEnv, {
852
852
  "/runs/:id/events": {
853
853
  $get: {
854
- output: {
855
- error: string;
856
- code?: "invalid_input" | undefined;
857
- };
858
- outputFormat: "json";
859
- status: 400;
854
+ output: {};
855
+ outputFormat: string;
856
+ status: import("hono/utils/http-status").StatusCode;
860
857
  input: {
861
858
  param: {
862
859
  id: string;
@@ -868,9 +865,12 @@ export declare function createSseRoutes(): import("hono/hono-base").HonoBase<Pro
868
865
  };
869
866
  };
870
867
  } | {
871
- output: {};
872
- outputFormat: string;
873
- status: import("hono/utils/http-status").StatusCode;
868
+ output: {
869
+ error: string;
870
+ code?: "invalid_input" | undefined;
871
+ };
872
+ outputFormat: "json";
873
+ status: 400;
874
874
  input: {
875
875
  param: {
876
876
  id: string;
@@ -18,7 +18,7 @@ export declare function createProviderSignInRoutes(options: {
18
18
  error: string;
19
19
  };
20
20
  outputFormat: "json";
21
- status: 400;
21
+ status: 409;
22
22
  input: {
23
23
  json: {
24
24
  provider: string;
@@ -30,7 +30,7 @@ export declare function createProviderSignInRoutes(options: {
30
30
  error: string;
31
31
  };
32
32
  outputFormat: "json";
33
- status: 409;
33
+ status: 400;
34
34
  input: {
35
35
  json: {
36
36
  provider: 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;
@@ -296,18 +296,14 @@ export declare function createRepoRoutes(deps: RepoRouteDeps): import("hono/hono
296
296
  "/repo/branches/delete": {
297
297
  $post: {
298
298
  output: {
299
- deleted: string[];
299
+ error: string;
300
300
  refused: {
301
301
  name: string;
302
302
  reason: string;
303
303
  }[];
304
- dropped?: {
305
- sha: string;
306
- subject: string;
307
- }[] | undefined;
308
304
  };
309
305
  outputFormat: "json";
310
- status: 200;
306
+ status: 409;
311
307
  input: {
312
308
  json: {
313
309
  names: string[];
@@ -316,14 +312,18 @@ export declare function createRepoRoutes(deps: RepoRouteDeps): import("hono/hono
316
312
  };
317
313
  } | {
318
314
  output: {
319
- error: string;
315
+ deleted: string[];
320
316
  refused: {
321
317
  name: string;
322
318
  reason: string;
323
319
  }[];
320
+ dropped?: {
321
+ sha: string;
322
+ subject: string;
323
+ }[] | undefined;
324
324
  };
325
325
  outputFormat: "json";
326
- status: 409;
326
+ status: 200;
327
327
  input: {
328
328
  json: {
329
329
  names: string[];
@@ -344,6 +344,19 @@ export declare function createRepoRoutes(deps: RepoRouteDeps): import("hono/hono
344
344
  } & {
345
345
  "/repo/commit/:sha": {
346
346
  $get: {
347
+ output: string;
348
+ outputFormat: "text";
349
+ status: import("hono/utils/http-status").ContentfulStatusCode;
350
+ input: {
351
+ query: {
352
+ structured?: string | undefined;
353
+ };
354
+ } & {
355
+ param: {
356
+ sha: string;
357
+ };
358
+ };
359
+ } | {
347
360
  output: {
348
361
  error: string;
349
362
  code?: "invalid_input" | undefined;
@@ -407,19 +420,6 @@ export declare function createRepoRoutes(deps: RepoRouteDeps): import("hono/hono
407
420
  sha: string;
408
421
  };
409
422
  };
410
- } | {
411
- output: string;
412
- outputFormat: "text";
413
- status: import("hono/utils/http-status").ContentfulStatusCode;
414
- input: {
415
- query: {
416
- structured?: string | undefined;
417
- };
418
- } & {
419
- param: {
420
- sha: string;
421
- };
422
- };
423
423
  };
424
424
  };
425
425
  } & {
@@ -442,10 +442,15 @@ export declare function createRepoRoutes(deps: RepoRouteDeps): import("hono/hono
442
442
  };
443
443
  } | {
444
444
  output: {
445
- error: string;
445
+ type: 'file';
446
+ path: string;
447
+ size: number;
448
+ binary: boolean;
449
+ tooLarge: boolean;
450
+ content?: string | undefined;
446
451
  };
447
452
  outputFormat: "json";
448
- status: 409;
453
+ status: import("hono/utils/http-status").ContentfulStatusCode;
449
454
  input: {
450
455
  param: {
451
456
  sha: string;
@@ -457,15 +462,10 @@ export declare function createRepoRoutes(deps: RepoRouteDeps): import("hono/hono
457
462
  };
458
463
  } | {
459
464
  output: {
460
- type: 'file';
461
- path: string;
462
- size: number;
463
- binary: boolean;
464
- tooLarge: boolean;
465
- content?: string | undefined;
465
+ error: string;
466
466
  };
467
467
  outputFormat: "json";
468
- status: import("hono/utils/http-status").ContentfulStatusCode;
468
+ status: 409;
469
469
  input: {
470
470
  param: {
471
471
  sha: string;
@@ -493,10 +493,15 @@ export declare function createRepoRoutes(deps: RepoRouteDeps): import("hono/hono
493
493
  };
494
494
  } | {
495
495
  output: {
496
- error: string;
496
+ type: 'file';
497
+ path: string;
498
+ size: number;
499
+ binary: boolean;
500
+ tooLarge: boolean;
501
+ content?: string | undefined;
497
502
  };
498
503
  outputFormat: "json";
499
- status: 409;
504
+ status: import("hono/utils/http-status").ContentfulStatusCode;
500
505
  input: {
501
506
  query: {
502
507
  path: string | string[];
@@ -504,15 +509,10 @@ export declare function createRepoRoutes(deps: RepoRouteDeps): import("hono/hono
504
509
  };
505
510
  } | {
506
511
  output: {
507
- type: 'file';
508
- path: string;
509
- size: number;
510
- binary: boolean;
511
- tooLarge: boolean;
512
- content?: string | undefined;
512
+ error: string;
513
513
  };
514
514
  outputFormat: "json";
515
- status: import("hono/utils/http-status").ContentfulStatusCode;
515
+ status: 409;
516
516
  input: {
517
517
  query: {
518
518
  path: string | string[];
@@ -578,12 +578,10 @@ export declare function createRepoRoutes(deps: RepoRouteDeps): import("hono/hono
578
578
  "/repo/pull": {
579
579
  $post: {
580
580
  output: {
581
- branch: string;
582
- pulled: true;
583
- summary: string;
581
+ error: string;
584
582
  };
585
583
  outputFormat: "json";
586
- status: 200;
584
+ status: 409;
587
585
  input: {
588
586
  json: {
589
587
  branch?: string | undefined;
@@ -592,10 +590,12 @@ export declare function createRepoRoutes(deps: RepoRouteDeps): import("hono/hono
592
590
  };
593
591
  } | {
594
592
  output: {
595
- error: string;
593
+ branch: string;
594
+ pulled: true;
595
+ summary: string;
596
596
  };
597
597
  outputFormat: "json";
598
- status: 409;
598
+ status: 200;
599
599
  input: {
600
600
  json: {
601
601
  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;