@hearsay-tools/squawk 0.19.0-dev.8807 → 0.19.0-dev.8823

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 (147) hide show
  1. package/dist/boot.js +0 -6
  2. package/dist/boot.js.map +1 -1
  3. package/dist/built-in-cli-commands.js +0 -4
  4. package/dist/built-in-cli-commands.js.map +1 -1
  5. package/dist/built-in-launch-parts.d.ts +0 -2
  6. package/dist/built-in-launch-parts.js +1 -9
  7. package/dist/built-in-launch-parts.js.map +1 -1
  8. package/dist/built-in-tools.js +1 -2
  9. package/dist/built-in-tools.js.map +1 -1
  10. package/dist/features/automations/agent-tools.d.ts +2 -0
  11. package/dist/{automations → features/automations}/agent-tools.js +5 -5
  12. package/dist/features/automations/agent-tools.js.map +1 -0
  13. package/dist/{automations → features/automations}/automation-cli.d.ts +3 -3
  14. package/dist/{automations → features/automations}/automation-cli.js +9 -9
  15. package/dist/features/automations/automation-cli.js.map +1 -0
  16. package/dist/{server → features/automations}/automation-log-retry.d.ts +2 -2
  17. package/dist/{server → features/automations}/automation-log-retry.js +4 -4
  18. package/dist/features/automations/automation-log-retry.js.map +1 -0
  19. package/dist/{server → features/automations}/automations-routes.d.ts +15 -15
  20. package/dist/{server → features/automations}/automations-routes.js +17 -17
  21. package/dist/features/automations/automations-routes.js.map +1 -0
  22. package/dist/features/automations/capability.d.ts +3 -0
  23. package/dist/features/automations/capability.js +7 -0
  24. package/dist/features/automations/capability.js.map +1 -0
  25. package/dist/features/automations/cli-command.d.ts +3 -0
  26. package/dist/features/automations/cli-command.js +10 -0
  27. package/dist/features/automations/cli-command.js.map +1 -0
  28. package/dist/{automations → features/automations}/coordinator.js +3 -3
  29. package/dist/features/automations/coordinator.js.map +1 -0
  30. package/dist/{automations → features/automations}/enabled.js +1 -1
  31. package/dist/features/automations/enabled.js.map +1 -0
  32. package/dist/features/automations/github-baseline.js.map +1 -0
  33. package/dist/{automations → features/automations}/github-poller.d.ts +1 -1
  34. package/dist/{automations → features/automations}/github-poller.js +2 -2
  35. package/dist/features/automations/github-poller.js.map +1 -0
  36. package/dist/{automations → features/automations}/github-repository.d.ts +1 -1
  37. package/dist/{automations → features/automations}/github-repository.js +3 -3
  38. package/dist/features/automations/github-repository.js.map +1 -0
  39. package/dist/features/automations/index.d.ts +14 -0
  40. package/dist/features/automations/index.js +17 -0
  41. package/dist/features/automations/index.js.map +1 -0
  42. package/dist/features/automations/launch-part.d.ts +3 -0
  43. package/dist/features/automations/launch-part.js +9 -0
  44. package/dist/features/automations/launch-part.js.map +1 -0
  45. package/dist/{automations → features/automations}/project-files.js +1 -1
  46. package/dist/features/automations/project-files.js.map +1 -0
  47. package/dist/{automations → features/automations}/prompts.js +2 -2
  48. package/dist/features/automations/prompts.js.map +1 -0
  49. package/dist/{automations → features/automations}/schedule-runner.js +1 -1
  50. package/dist/features/automations/schedule-runner.js.map +1 -0
  51. package/dist/{automations → features/automations}/scheduler.js +4 -4
  52. package/dist/features/automations/scheduler.js.map +1 -0
  53. package/dist/features/automations/server-plugin.d.ts +7 -0
  54. package/dist/features/automations/server-plugin.js +31 -0
  55. package/dist/features/automations/server-plugin.js.map +1 -0
  56. package/dist/{automations → features/automations}/service.d.ts +7 -7
  57. package/dist/{automations → features/automations}/service.js +6 -6
  58. package/dist/features/automations/service.js.map +1 -0
  59. package/dist/{automations → features/automations}/store.js +5 -5
  60. package/dist/features/automations/store.js.map +1 -0
  61. package/dist/{automations → features/automations}/task-template.d.ts +2 -2
  62. package/dist/{automations → features/automations}/task-template.js +7 -7
  63. package/dist/features/automations/task-template.js.map +1 -0
  64. package/dist/{automations → features/automations}/tool-adapter.d.ts +4 -4
  65. package/dist/{automations → features/automations}/tool-adapter.js +12 -12
  66. package/dist/features/automations/tool-adapter.js.map +1 -0
  67. package/dist/{automations → features/automations}/tool-catalog.js +2 -2
  68. package/dist/features/automations/tool-catalog.js.map +1 -0
  69. package/dist/{automations → features/automations}/tool-client.d.ts +2 -2
  70. package/dist/{automations → features/automations}/tool-client.js +4 -4
  71. package/dist/features/automations/tool-client.js.map +1 -0
  72. package/dist/features/automations/tool-env.d.ts +3 -0
  73. package/dist/features/automations/tool-env.js +5 -0
  74. package/dist/features/automations/tool-env.js.map +1 -0
  75. package/dist/{automations → features/automations}/tool-errors.d.ts +1 -1
  76. package/dist/features/automations/tool-errors.js.map +1 -0
  77. package/dist/{automations → features/automations}/tool-github.js +1 -1
  78. package/dist/features/automations/tool-github.js.map +1 -0
  79. package/dist/{automations → features/automations}/tool-session.d.ts +1 -1
  80. package/dist/{automations → features/automations}/tool-session.js +1 -1
  81. package/dist/features/automations/tool-session.js.map +1 -0
  82. package/dist/{automations → features/automations}/tool-timeout.js +1 -1
  83. package/dist/features/automations/tool-timeout.js.map +1 -0
  84. package/dist/{automations → features/automations}/tools.d.ts +1 -1
  85. package/dist/features/automations/tools.js.map +1 -0
  86. package/dist/{automations → features/automations}/types.d.ts +1 -1
  87. package/dist/{automations → features/automations}/types.js +1 -1
  88. package/dist/features/automations/types.js.map +1 -0
  89. package/dist/server/live-routes.d.ts +6 -6
  90. package/dist/server/project-settings-routes.d.ts +107 -107
  91. package/dist/server/providers-routes.d.ts +7 -7
  92. package/dist/server/repo-routes.d.ts +34 -34
  93. package/dist/server/server.d.ts +359 -359
  94. package/dist/server/workspace-live-routes.d.ts +6 -6
  95. package/package.json +4 -4
  96. package/dist/automations/agent-tools.d.ts +0 -2
  97. package/dist/automations/agent-tools.js.map +0 -1
  98. package/dist/automations/automation-cli.js.map +0 -1
  99. package/dist/automations/coordinator.js.map +0 -1
  100. package/dist/automations/enabled.js.map +0 -1
  101. package/dist/automations/github-baseline.js.map +0 -1
  102. package/dist/automations/github-poller.js.map +0 -1
  103. package/dist/automations/github-repository.js.map +0 -1
  104. package/dist/automations/project-files.js.map +0 -1
  105. package/dist/automations/prompts.js.map +0 -1
  106. package/dist/automations/schedule-runner.js.map +0 -1
  107. package/dist/automations/scheduler.js.map +0 -1
  108. package/dist/automations/service.js.map +0 -1
  109. package/dist/automations/store.js.map +0 -1
  110. package/dist/automations/task-template.js.map +0 -1
  111. package/dist/automations/tool-adapter.js.map +0 -1
  112. package/dist/automations/tool-catalog.js.map +0 -1
  113. package/dist/automations/tool-client.js.map +0 -1
  114. package/dist/automations/tool-env.d.ts +0 -1
  115. package/dist/automations/tool-env.js +0 -3
  116. package/dist/automations/tool-env.js.map +0 -1
  117. package/dist/automations/tool-errors.js.map +0 -1
  118. package/dist/automations/tool-github.js.map +0 -1
  119. package/dist/automations/tool-session.js.map +0 -1
  120. package/dist/automations/tool-timeout.js.map +0 -1
  121. package/dist/automations/tools.js.map +0 -1
  122. package/dist/automations/types.js.map +0 -1
  123. package/dist/built-in-capabilities.d.ts +0 -3
  124. package/dist/built-in-capabilities.js +0 -14
  125. package/dist/built-in-capabilities.js.map +0 -1
  126. package/dist/built-in-http-routes.d.ts +0 -10
  127. package/dist/built-in-http-routes.js +0 -33
  128. package/dist/built-in-http-routes.js.map +0 -1
  129. package/dist/built-in-server-hooks.d.ts +0 -9
  130. package/dist/built-in-server-hooks.js +0 -24
  131. package/dist/built-in-server-hooks.js.map +0 -1
  132. package/dist/server/automation-log-retry.js.map +0 -1
  133. package/dist/server/automations-routes.js.map +0 -1
  134. package/dist/{automations → features/automations}/coordinator.d.ts +1 -1
  135. package/dist/{automations → features/automations}/enabled.d.ts +0 -0
  136. package/dist/{automations → features/automations}/github-baseline.d.ts +0 -0
  137. package/dist/{automations → features/automations}/github-baseline.js +0 -0
  138. package/dist/{automations → features/automations}/project-files.d.ts +0 -0
  139. package/dist/{automations → features/automations}/prompts.d.ts +0 -0
  140. package/dist/{automations → features/automations}/schedule-runner.d.ts +0 -0
  141. package/dist/{automations → features/automations}/scheduler.d.ts +1 -1
  142. /package/dist/{automations → features/automations}/store.d.ts +0 -0
  143. /package/dist/{automations → features/automations}/tool-catalog.d.ts +0 -0
  144. /package/dist/{automations → features/automations}/tool-errors.js +0 -0
  145. /package/dist/{automations → features/automations}/tool-github.d.ts +0 -0
  146. /package/dist/{automations → features/automations}/tool-timeout.d.ts +0 -0
  147. /package/dist/{automations → features/automations}/tools.js +0 -0
@@ -113,10 +113,42 @@ export declare function createUiStateRoutes(): import("hono/hono-base").HonoBase
113
113
  "/ui-state": {
114
114
  $put: {
115
115
  output: {
116
- error: string;
116
+ [x: string]: import("hono/utils/types").JSONValue;
117
+ sidebarLimits?: {
118
+ overall?: number | null | undefined;
119
+ needsYou?: number | null | undefined;
120
+ finished?: number | null | undefined;
121
+ working?: number | null | undefined;
122
+ } | undefined;
123
+ lastTask?: {
124
+ source: "skill" | "workflow";
125
+ ref: string;
126
+ } | null | undefined;
127
+ recentSources?: {
128
+ source: "skill" | "workflow";
129
+ ref: string;
130
+ }[] | undefined;
131
+ lastWorktree?: boolean | undefined;
132
+ lastAutonomous?: boolean | undefined;
133
+ skillUsage?: {
134
+ [x: string]: number;
135
+ } | undefined;
136
+ runsView?: "list" | "table" | undefined;
137
+ githubView?: "issues" | "prs" | undefined;
138
+ appearance?: {
139
+ accent?: "cezarion" | "lime" | "violet" | undefined;
140
+ density?: "comfortable" | "compact" | "ultra" | undefined;
141
+ width?: "narrow" | "wide" | undefined;
142
+ } | undefined;
143
+ promptTemplates?: {
144
+ id: string;
145
+ label: string;
146
+ text: string;
147
+ skills?: string[] | undefined;
148
+ }[] | undefined;
117
149
  };
118
150
  outputFormat: "json";
119
- status: 500;
151
+ status: import("hono/utils/http-status").ContentfulStatusCode;
120
152
  input: {
121
153
  json: {
122
154
  [x: string]: unknown;
@@ -154,42 +186,10 @@ export declare function createUiStateRoutes(): import("hono/hono-base").HonoBase
154
186
  };
155
187
  } | {
156
188
  output: {
157
- [x: string]: import("hono/utils/types").JSONValue;
158
- sidebarLimits?: {
159
- overall?: number | null | undefined;
160
- needsYou?: number | null | undefined;
161
- finished?: number | null | undefined;
162
- working?: number | null | undefined;
163
- } | undefined;
164
- lastTask?: {
165
- source: "skill" | "workflow";
166
- ref: string;
167
- } | null | undefined;
168
- recentSources?: {
169
- source: "skill" | "workflow";
170
- ref: string;
171
- }[] | undefined;
172
- lastWorktree?: boolean | undefined;
173
- lastAutonomous?: boolean | undefined;
174
- skillUsage?: {
175
- [x: string]: number;
176
- } | undefined;
177
- runsView?: "list" | "table" | undefined;
178
- githubView?: "issues" | "prs" | undefined;
179
- appearance?: {
180
- accent?: "cezarion" | "lime" | "violet" | undefined;
181
- density?: "comfortable" | "compact" | "ultra" | undefined;
182
- width?: "narrow" | "wide" | undefined;
183
- } | undefined;
184
- promptTemplates?: {
185
- id: string;
186
- label: string;
187
- text: string;
188
- skills?: string[] | undefined;
189
- }[] | undefined;
189
+ error: string;
190
190
  };
191
191
  outputFormat: "json";
192
- status: import("hono/utils/http-status").ContentfulStatusCode;
192
+ status: 500;
193
193
  input: {
194
194
  json: {
195
195
  [x: string]: unknown;
@@ -275,11 +275,10 @@ export declare function createWorkflowsRoutes(): import("hono/hono-base").HonoBa
275
275
  "/workflows": {
276
276
  $post: {
277
277
  output: {
278
- path: string;
279
- name: string;
278
+ error: string;
280
279
  };
281
280
  outputFormat: "json";
282
- status: 201;
281
+ status: 400;
283
282
  input: {
284
283
  json: {
285
284
  name: string;
@@ -312,9 +311,10 @@ export declare function createWorkflowsRoutes(): import("hono/hono-base").HonoBa
312
311
  } | {
313
312
  output: {
314
313
  error: string;
314
+ exists: true;
315
315
  };
316
316
  outputFormat: "json";
317
- status: 400;
317
+ status: 409;
318
318
  input: {
319
319
  json: {
320
320
  name: string;
@@ -347,10 +347,9 @@ export declare function createWorkflowsRoutes(): import("hono/hono-base").HonoBa
347
347
  } | {
348
348
  output: {
349
349
  error: string;
350
- exists: true;
351
350
  };
352
351
  outputFormat: "json";
353
- status: 409;
352
+ status: 500;
354
353
  input: {
355
354
  json: {
356
355
  name: string;
@@ -382,10 +381,11 @@ export declare function createWorkflowsRoutes(): import("hono/hono-base").HonoBa
382
381
  };
383
382
  } | {
384
383
  output: {
385
- error: string;
384
+ path: string;
385
+ name: string;
386
386
  };
387
387
  outputFormat: "json";
388
- status: 500;
388
+ status: 201;
389
389
  input: {
390
390
  json: {
391
391
  name: string;
@@ -421,11 +421,10 @@ export declare function createWorkflowsRoutes(): import("hono/hono-base").HonoBa
421
421
  "/workflows/:name": {
422
422
  $delete: {
423
423
  output: {
424
- ok: true;
425
- path: string;
424
+ error: string;
426
425
  };
427
426
  outputFormat: "json";
428
- status: import("hono/utils/http-status").ContentfulStatusCode;
427
+ status: 400 | 404 | 409 | 500;
429
428
  input: {
430
429
  param: {
431
430
  name: string;
@@ -433,10 +432,11 @@ export declare function createWorkflowsRoutes(): import("hono/hono-base").HonoBa
433
432
  };
434
433
  } | {
435
434
  output: {
436
- error: string;
435
+ ok: true;
436
+ path: string;
437
437
  };
438
438
  outputFormat: "json";
439
- status: 400 | 404 | 409 | 500;
439
+ status: import("hono/utils/http-status").ContentfulStatusCode;
440
440
  input: {
441
441
  param: {
442
442
  name: string;
@@ -504,6 +504,18 @@ export interface PlanRouteDeps {
504
504
  export declare function createPlanRoutes(deps: PlanRouteDeps): import("hono/hono-base").HonoBase<ProjectApiEnv, {
505
505
  "/plan": {
506
506
  $post: {
507
+ output: {
508
+ error: string;
509
+ };
510
+ outputFormat: "json";
511
+ status: 400 | 404 | 409;
512
+ input: {
513
+ json: {
514
+ task: string;
515
+ agentProfile?: string | undefined;
516
+ };
517
+ };
518
+ } | {
507
519
  output: {
508
520
  name?: string;
509
521
  steps: {
@@ -540,18 +552,6 @@ export declare function createPlanRoutes(deps: PlanRouteDeps): import("hono/hono
540
552
  agentProfile?: string | undefined;
541
553
  };
542
554
  };
543
- } | {
544
- output: {
545
- error: string;
546
- };
547
- outputFormat: "json";
548
- status: 400 | 404 | 409;
549
- input: {
550
- json: {
551
- task: string;
552
- agentProfile?: string | undefined;
553
- };
554
- };
555
555
  };
556
556
  };
557
557
  }, "/", "/plan">;
@@ -599,10 +599,34 @@ export declare function createConfigRoutes(deps: ConfigRouteDeps): import("hono/
599
599
  "/config": {
600
600
  $put: {
601
601
  output: {
602
- error: string;
602
+ archiveOnMerge: boolean | null;
603
+ effectiveArchiveOnMerge: boolean;
604
+ archiveOnMergeSource: "default" | "environment" | "global" | "project";
605
+ baseBranch: string | null;
606
+ defaultRunner: string;
607
+ systemPrompt: string | null;
608
+ defaultModels: {
609
+ [x: string]: string | undefined;
610
+ };
611
+ modelsLocked: boolean;
612
+ maxParallel: number;
613
+ memoryLimitMb: number | null;
614
+ worktreeRetention: number;
615
+ liveTitleUpdates: boolean | null;
616
+ reviewGate: boolean | null;
617
+ worktreeSetup: {
618
+ commands: string[];
619
+ timeoutSeconds: number;
620
+ } | null;
621
+ worktreeSetupIssue: string | null;
622
+ worktreeTeardown: {
623
+ commands: string[];
624
+ timeoutSeconds: number;
625
+ } | null;
626
+ worktreeTeardownIssue: string | null;
603
627
  };
604
628
  outputFormat: "json";
605
- status: 409;
629
+ status: import("hono/utils/http-status").ContentfulStatusCode;
606
630
  input: {
607
631
  json: {
608
632
  archiveOnMerge?: boolean | null | undefined;
@@ -630,7 +654,7 @@ export declare function createConfigRoutes(deps: ConfigRouteDeps): import("hono/
630
654
  error: string;
631
655
  };
632
656
  outputFormat: "json";
633
- status: 500;
657
+ status: 409;
634
658
  input: {
635
659
  json: {
636
660
  archiveOnMerge?: boolean | null | undefined;
@@ -655,34 +679,10 @@ export declare function createConfigRoutes(deps: ConfigRouteDeps): import("hono/
655
679
  };
656
680
  } | {
657
681
  output: {
658
- archiveOnMerge: boolean | null;
659
- effectiveArchiveOnMerge: boolean;
660
- archiveOnMergeSource: "default" | "environment" | "global" | "project";
661
- baseBranch: string | null;
662
- defaultRunner: string;
663
- systemPrompt: string | null;
664
- defaultModels: {
665
- [x: string]: string | undefined;
666
- };
667
- modelsLocked: boolean;
668
- maxParallel: number;
669
- memoryLimitMb: number | null;
670
- worktreeRetention: number;
671
- liveTitleUpdates: boolean | null;
672
- reviewGate: boolean | null;
673
- worktreeSetup: {
674
- commands: string[];
675
- timeoutSeconds: number;
676
- } | null;
677
- worktreeSetupIssue: string | null;
678
- worktreeTeardown: {
679
- commands: string[];
680
- timeoutSeconds: number;
681
- } | null;
682
- worktreeTeardownIssue: string | null;
682
+ error: string;
683
683
  };
684
684
  outputFormat: "json";
685
- status: import("hono/utils/http-status").ContentfulStatusCode;
685
+ status: 500;
686
686
  input: {
687
687
  json: {
688
688
  archiveOnMerge?: boolean | null | undefined;
@@ -796,10 +796,14 @@ export declare function createAgentConfigRoutes(capabilities: ServerCapabilities
796
796
  "/agent-config/:id": {
797
797
  $put: {
798
798
  output: {
799
- error: string;
799
+ id: string;
800
+ path: string;
801
+ exists: boolean;
802
+ content: string;
803
+ version: string | null;
800
804
  };
801
805
  outputFormat: "json";
802
- status: 404;
806
+ status: import("hono/utils/http-status").ContentfulStatusCode;
803
807
  input: {
804
808
  json: {
805
809
  content: string;
@@ -812,14 +816,10 @@ export declare function createAgentConfigRoutes(capabilities: ServerCapabilities
812
816
  };
813
817
  } | {
814
818
  output: {
815
- id: string;
816
- path: string;
817
- exists: boolean;
818
- content: string;
819
- version: string | null;
819
+ error: string;
820
820
  };
821
821
  outputFormat: "json";
822
- status: import("hono/utils/http-status").ContentfulStatusCode;
822
+ status: 404;
823
823
  input: {
824
824
  json: {
825
825
  content: string;
@@ -941,12 +941,9 @@ export declare function createAgentWebhooksRoutes(deps: AgentWebhooksRouteDeps):
941
941
  export declare function createSseRoutes(): import("hono/hono-base").HonoBase<ProjectApiEnv, {
942
942
  "/runs/:id/events": {
943
943
  $get: {
944
- output: {
945
- error: string;
946
- code?: "invalid_input" | undefined;
947
- };
948
- outputFormat: "json";
949
- status: 400;
944
+ output: {};
945
+ outputFormat: string;
946
+ status: import("hono/utils/http-status").StatusCode;
950
947
  input: {
951
948
  param: {
952
949
  id: string;
@@ -958,9 +955,12 @@ export declare function createSseRoutes(): import("hono/hono-base").HonoBase<Pro
958
955
  };
959
956
  };
960
957
  } | {
961
- output: {};
962
- outputFormat: string;
963
- status: import("hono/utils/http-status").StatusCode;
958
+ output: {
959
+ error: string;
960
+ code?: "invalid_input" | undefined;
961
+ };
962
+ outputFormat: "json";
963
+ status: 400;
964
964
  input: {
965
965
  param: {
966
966
  id: 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;
@@ -293,7 +293,7 @@ export declare function createAgentProfilesRoutes(deps: AgentProfilesRouteDeps):
293
293
  error: string;
294
294
  };
295
295
  outputFormat: "json";
296
- status: 400;
296
+ status: 409;
297
297
  input: {
298
298
  json: {
299
299
  provider: string;
@@ -306,7 +306,7 @@ export declare function createAgentProfilesRoutes(deps: AgentProfilesRouteDeps):
306
306
  error: string;
307
307
  };
308
308
  outputFormat: "json";
309
- status: 409;
309
+ status: 400;
310
310
  input: {
311
311
  json: {
312
312
  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;
@@ -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;
@@ -293,18 +293,14 @@ export declare function createRepoRoutes(deps: RepoRouteDeps): import("hono/hono
293
293
  "/repo/branches/delete": {
294
294
  $post: {
295
295
  output: {
296
- deleted: string[];
296
+ error: string;
297
297
  refused: {
298
298
  name: string;
299
299
  reason: string;
300
300
  }[];
301
- dropped?: {
302
- sha: string;
303
- subject: string;
304
- }[] | undefined;
305
301
  };
306
302
  outputFormat: "json";
307
- status: 200;
303
+ status: 409;
308
304
  input: {
309
305
  json: {
310
306
  names: string[];
@@ -313,14 +309,18 @@ export declare function createRepoRoutes(deps: RepoRouteDeps): import("hono/hono
313
309
  };
314
310
  } | {
315
311
  output: {
316
- error: string;
312
+ deleted: string[];
317
313
  refused: {
318
314
  name: string;
319
315
  reason: string;
320
316
  }[];
317
+ dropped?: {
318
+ sha: string;
319
+ subject: string;
320
+ }[] | undefined;
321
321
  };
322
322
  outputFormat: "json";
323
- status: 409;
323
+ status: 200;
324
324
  input: {
325
325
  json: {
326
326
  names: string[];
@@ -341,6 +341,19 @@ export declare function createRepoRoutes(deps: RepoRouteDeps): import("hono/hono
341
341
  } & {
342
342
  "/repo/commit/:sha": {
343
343
  $get: {
344
+ output: string;
345
+ outputFormat: "text";
346
+ status: import("hono/utils/http-status").ContentfulStatusCode;
347
+ input: {
348
+ query: {
349
+ structured?: string | undefined;
350
+ };
351
+ } & {
352
+ param: {
353
+ sha: string;
354
+ };
355
+ };
356
+ } | {
344
357
  output: {
345
358
  error: string;
346
359
  code?: "invalid_input" | undefined;
@@ -404,19 +417,6 @@ export declare function createRepoRoutes(deps: RepoRouteDeps): import("hono/hono
404
417
  sha: string;
405
418
  };
406
419
  };
407
- } | {
408
- output: string;
409
- outputFormat: "text";
410
- status: import("hono/utils/http-status").ContentfulStatusCode;
411
- input: {
412
- query: {
413
- structured?: string | undefined;
414
- };
415
- } & {
416
- param: {
417
- sha: string;
418
- };
419
- };
420
420
  };
421
421
  };
422
422
  } & {
@@ -477,12 +477,10 @@ export declare function createRepoRoutes(deps: RepoRouteDeps): import("hono/hono
477
477
  "/repo/pull": {
478
478
  $post: {
479
479
  output: {
480
- branch: string;
481
- pulled: true;
482
- summary: string;
480
+ error: string;
483
481
  };
484
482
  outputFormat: "json";
485
- status: 200;
483
+ status: 409;
486
484
  input: {
487
485
  json: {
488
486
  branch?: string | undefined;
@@ -491,10 +489,12 @@ export declare function createRepoRoutes(deps: RepoRouteDeps): import("hono/hono
491
489
  };
492
490
  } | {
493
491
  output: {
494
- error: string;
492
+ branch: string;
493
+ pulled: true;
494
+ summary: string;
495
495
  };
496
496
  outputFormat: "json";
497
- status: 409;
497
+ status: 200;
498
498
  input: {
499
499
  json: {
500
500
  branch?: string | undefined;