@hearsay-tools/squawk 0.19.0-dev.9065 → 0.19.0-dev.9071

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 (104) hide show
  1. package/dist/features/automations/automations-routes.d.ts +150 -150
  2. package/dist/server/models-routes.d.ts +12 -12
  3. package/dist/server/project-settings-routes.d.ts +107 -107
  4. package/dist/server/projects-routes.d.ts +73 -73
  5. package/dist/server/server.d.ts +1190 -1190
  6. package/package.json +4 -4
  7. package/web/dist/assets/accounts-section-DrA0kndh.js +1 -0
  8. package/web/dist/assets/activity-motion-C23PnhhH.js +1 -0
  9. package/web/dist/assets/{activity-route-CGRkPwJP.js → activity-route-CWGPbwtG.js} +1 -1
  10. package/web/dist/assets/{agent-config-section-C6I_sRta.js → agent-config-section-DWZQ2DSW.js} +1 -1
  11. package/web/dist/assets/{agent-defaults-section-CiOFMcep.js → agent-defaults-section-Da4tKbp7.js} +1 -1
  12. package/web/dist/assets/{appearance-CBX1qOwx.js → appearance-Bm4ePfiH.js} +1 -1
  13. package/web/dist/assets/{archive-on-merge-field-BzxW7NJS.js → archive-on-merge-field-DuRmMR6k.js} +1 -1
  14. package/web/dist/assets/ask-card-vM_Z-WAg.js +9 -0
  15. package/web/dist/assets/automations-route-B8zD3wux.js +2 -0
  16. package/web/dist/assets/{badge-B6B-xYQQ.js → badge-DVxxThpb.js} +1 -1
  17. package/web/dist/assets/{button-C8jUIs8Q.js → button-B22ANdCY.js} +1 -1
  18. package/web/dist/assets/{command-BiBq24zL.js → command-B2Y0By1v.js} +1 -1
  19. package/web/dist/assets/{commit-list-CCgF6z16.js → commit-list-lwVhwbS8.js} +1 -1
  20. package/web/dist/assets/{dialog-DRZuXvul.js → dialog-rpNyAWGb.js} +1 -1
  21. package/web/dist/assets/{diff-BcseHLlM.js → diff-CC5UqjNZ.js} +2 -2
  22. package/web/dist/assets/diff-controls-C8KWZ5S-.js +1 -0
  23. package/web/dist/assets/{diff-view--Nv4Px8F.js → diff-view-DiuQQoKq.js} +2 -2
  24. package/web/dist/assets/{discard-changes-dialog-CD2HMH7E.js → discard-changes-dialog-CX7M4k9n.js} +1 -1
  25. package/web/dist/assets/{file-preview-BwrymAy7.js → file-preview-C_0CRYAr.js} +1 -1
  26. package/web/dist/assets/{git-toolbar-CYgIbgOf.js → git-toolbar-PM540i_A.js} +1 -1
  27. package/web/dist/assets/github-CeBvZzjo.js +1 -0
  28. package/web/dist/assets/{global-activity-route-BXAhhLrt.js → global-activity-route-CiTt7W6o.js} +2 -2
  29. package/web/dist/assets/index-CSgBel_0.css +1 -0
  30. package/web/dist/assets/index-UFO7Bk2I.js +21 -0
  31. package/web/dist/assets/{markdown-BAmUNyiK.js → markdown-CqzDs1kO.js} +1 -1
  32. package/web/dist/assets/{open-in-menu-Bzca0KPF.js → open-in-menu-CbQWVBD0.js} +1 -1
  33. package/web/dist/assets/{option-select-BxFrlK_-.js → option-select-CDOKbUov.js} +1 -1
  34. package/web/dist/assets/page-shell-BgabWJ3w.js +1 -0
  35. package/web/dist/assets/{page-shell-DQPYcKyL.css → page-shell-CEIoW56O.css} +1 -1
  36. package/web/dist/assets/{preferences-section-ByeO0I87.js → preferences-section-cdbIMfEU.js} +1 -1
  37. package/web/dist/assets/preview-pane-connected-BcU9ryyW.js +3 -0
  38. package/web/dist/assets/{project-location-Cq1K7hXN.js → project-location-BpBbcl3v.js} +1 -1
  39. package/web/dist/assets/{projects-section-P0RuBn2c.js → projects-section-CX1WJq4d.js} +1 -1
  40. package/web/dist/assets/{prompt-templates-section-ChqZ2Gl4.js → prompt-templates-section-DrQthAY7.js} +1 -1
  41. package/web/dist/assets/{remote-settings-notice-DYOP5Yxe.js → remote-settings-notice-_MtFnktv.js} +1 -1
  42. package/web/dist/assets/repo-git-5JS3oL12.js +1 -0
  43. package/web/dist/assets/{report-reader-D0ud2uIA.js → report-reader-iboN3k6l.js} +1 -1
  44. package/web/dist/assets/{reports-BNO0jrQI.js → reports-Cn3kWlK7.js} +1 -1
  45. package/web/dist/assets/{resources-section-CQkpzv63.js → resources-section-BmDbIpaO.js} +1 -1
  46. package/web/dist/assets/{review-notes-drafts-B_Mb82AK.js → review-notes-drafts-DXxIudVB.js} +1 -1
  47. package/web/dist/assets/{review-panel-DcEmHodb.js → review-panel-BjWbFGev.js} +1 -1
  48. package/web/dist/assets/review-strip-QIghY88F.js +1 -0
  49. package/web/dist/assets/{run-diff-BvGvPk3g.js → run-diff-BDMdnSv7.js} +1 -1
  50. package/web/dist/assets/run-header-788Dmvef.css +1 -0
  51. package/web/dist/assets/run-header-BWLcG57S.js +2 -0
  52. package/web/dist/assets/{select--dGOlrzM.js → select-BxuV2GlN.js} +1 -1
  53. package/web/dist/assets/{session-context-section-b4-i_DSE.js → session-context-section-OLW5UTvx.js} +2 -2
  54. package/web/dist/assets/{settings-agent-picker-BhyVKLRu.js → settings-agent-picker-Dasyc6Qo.js} +1 -1
  55. package/web/dist/assets/{settings-list-detail-Dn5CWzHj.js → settings-list-detail-D3ibaYUj.js} +1 -1
  56. package/web/dist/assets/{settings-save-bar-9D1QPg_P.js → settings-save-bar-Mrc6Vm7P.js} +1 -1
  57. package/web/dist/assets/settings-shell-Bvje3VDf.css +1 -0
  58. package/web/dist/assets/settings-shell-DWRk12-i.js +1 -0
  59. package/web/dist/assets/sidebar-section-CVNvjM29.js +1 -0
  60. package/web/dist/assets/{skills-BizIiogS.js → skills-7MwCp2i_.js} +1 -1
  61. package/web/dist/assets/{status-dot-BXf-Ubd0.js → status-dot-Drd4-nfa.js} +1 -1
  62. package/web/dist/assets/{task-changes-DjB5jujp.js → task-changes-DSZjztX7.js} +1 -1
  63. package/web/dist/assets/{task-commits-cDkfIAvD.js → task-commits-P_ElCQ4M.js} +1 -1
  64. package/web/dist/assets/{task-file-scope-DLVI8zBp.js → task-file-scope-B63NmSov.js} +1 -1
  65. package/web/dist/assets/{task-files-BVbjuEaL.js → task-files-CSFB6sG7.js} +1 -1
  66. package/web/dist/assets/{task-github-item-DW5Rl7Me.js → task-github-item-BJ1rGyc6.js} +1 -1
  67. package/web/dist/assets/task-thread-C0DbAGi_.js +2 -0
  68. package/web/dist/assets/task-thread-i16nxSQv.css +1 -0
  69. package/web/dist/assets/thread-state-B7pyjJYO.js +4 -0
  70. package/web/dist/assets/{use-finish-run-BK7gmbXh.js → use-finish-run-B1Gy5JPt.js} +1 -1
  71. package/web/dist/assets/use-hand-to-agent-state-BSM9EGsW.css +1 -0
  72. package/web/dist/assets/use-hand-to-agent-state-CMyKCFeb.js +1 -0
  73. package/web/dist/assets/use-path-bases-wGc__G57.js +1 -0
  74. package/web/dist/assets/workflows-D7bXUmGa.css +1 -0
  75. package/web/dist/assets/workflows-seQiL2pi.js +7 -0
  76. package/web/dist/assets/workspace-tools-BDf7nsE5.js +1 -0
  77. package/web/dist/assets/{worktrees-section-Cm1pcQ9g.js → worktrees-section-x7r5wRhx.js} +1 -1
  78. package/web/dist/index.html +10 -10
  79. package/web/dist/assets/accounts-section-CdmTsc7W.js +0 -1
  80. package/web/dist/assets/activity-motion-CrFzRrI5.js +0 -1
  81. package/web/dist/assets/ask-card-CKD_gFDN.js +0 -9
  82. package/web/dist/assets/automations-route-CoSNUId5.js +0 -2
  83. package/web/dist/assets/diff-controls-DhD4a7Z4.js +0 -1
  84. package/web/dist/assets/github-CtYRNNDH.js +0 -1
  85. package/web/dist/assets/index-BUmO8olN.css +0 -1
  86. package/web/dist/assets/index-CXvWnyZg.js +0 -21
  87. package/web/dist/assets/page-shell-Dky5crRl.js +0 -1
  88. package/web/dist/assets/preview-pane-connected-CJy9Miri.js +0 -3
  89. package/web/dist/assets/repo-git-DcZTZ70-.js +0 -1
  90. package/web/dist/assets/review-strip-En21aXDx.js +0 -1
  91. package/web/dist/assets/run-header-DE0wTSnO.js +0 -2
  92. package/web/dist/assets/run-header-V9BxPSvn.css +0 -1
  93. package/web/dist/assets/settings-shell-Ct4CWWvw.js +0 -1
  94. package/web/dist/assets/settings-shell-Ct_qn_MM.css +0 -1
  95. package/web/dist/assets/sidebar-section-azclPE--.js +0 -1
  96. package/web/dist/assets/task-thread-DTLhAQbe.js +0 -2
  97. package/web/dist/assets/task-thread-DxVehGLy.css +0 -1
  98. package/web/dist/assets/thread-state-VRKiUyJj.js +0 -4
  99. package/web/dist/assets/use-hand-to-agent-state-DZZUsUAd.css +0 -1
  100. package/web/dist/assets/use-hand-to-agent-state-pINTYkY9.js +0 -1
  101. package/web/dist/assets/use-path-bases-D1yBeTzY.js +0 -1
  102. package/web/dist/assets/workflows-B2Sw8qQa.css +0 -1
  103. package/web/dist/assets/workflows-D2h67tAS.js +0 -7
  104. package/web/dist/assets/workspace-tools-uIbmvTfR.js +0 -1
@@ -220,18 +220,20 @@ export declare function createAutomationsRouteBundles(deps: AutomationsRouteDeps
220
220
  "/automations": {
221
221
  $post: {
222
222
  output: {
223
- automation: {
224
- [x: string]: import("hono/utils/types").JSONValue;
225
- id: string;
226
- revision: number;
223
+ error: string;
224
+ };
225
+ outputFormat: "json";
226
+ status: 400 | 404 | 409;
227
+ input: {
228
+ json: {
227
229
  name: string;
228
230
  description?: string | undefined;
229
- enabled: boolean;
230
- kind: "github" | "schedule";
231
+ enabled?: boolean | undefined;
232
+ kind?: "github" | "schedule" | undefined;
231
233
  events?: ("issue.labeled" | "issue.opened" | "issue.unlabeled" | "pull_request.opened")[] | undefined;
232
234
  intervalSeconds?: number | undefined;
233
235
  filters?: {
234
- [x: string]: import("hono/utils/types").JSONValue;
236
+ [x: string]: unknown;
235
237
  includeExisting?: boolean | undefined;
236
238
  requireCurrentLabels?: boolean | undefined;
237
239
  authors?: string[] | undefined;
@@ -240,11 +242,10 @@ export declare function createAutomationsRouteBundles(deps: AutomationsRouteDeps
240
242
  anyLabels?: string[] | undefined;
241
243
  excludeLabels?: string[] | undefined;
242
244
  changedLabels?: string[] | undefined;
243
- lookbackDays: number;
244
- maxRecords: number;
245
+ lookbackDays?: number | undefined;
246
+ maxRecords?: number | undefined;
245
247
  } | undefined;
246
248
  schedule?: {
247
- [x: string]: import("hono/utils/types").JSONValue;
248
249
  type: "daily" | "hours" | "once" | "weekdays" | "weekly";
249
250
  hour?: number | undefined;
250
251
  minute?: number | undefined;
@@ -255,7 +256,6 @@ export declare function createAutomationsRouteBundles(deps: AutomationsRouteDeps
255
256
  latestStartMinutes?: number | undefined;
256
257
  } | undefined;
257
258
  task: {
258
- [x: string]: import("hono/utils/types").JSONValue;
259
259
  archiveWhenDone?: boolean | undefined;
260
260
  autoMergePr?: boolean | undefined;
261
261
  allowWorkers?: boolean | undefined;
@@ -276,53 +276,37 @@ export declare function createAutomationsRouteBundles(deps: AutomationsRouteDeps
276
276
  bashAllowlist?: string[] | undefined;
277
277
  kind?: "plugin" | undefined;
278
278
  pluginKind?: string | undefined;
279
- config?: {
280
- [x: string]: import("hono/utils/types").JSONValue;
281
- } | undefined;
279
+ config?: Record<string, unknown> | undefined;
282
280
  command?: string | undefined;
283
281
  onFail?: {
284
282
  retry: string;
285
- max: number;
283
+ max?: number | undefined;
286
284
  } | undefined;
287
285
  }[] | undefined;
288
286
  runner?: string | undefined;
289
287
  model?: string | undefined;
290
288
  effort?: string | undefined;
291
- variants?: 1 | 2 | 3 | undefined;
292
289
  worktree?: boolean | undefined;
293
290
  autonomous?: boolean | undefined;
294
291
  systemPrompt?: string | undefined;
295
292
  };
296
- archived?: {
297
- [x: string]: import("hono/utils/types").JSONValue;
298
- at: string;
299
- outcome: "cancelled" | "launched";
300
- runId?: string | undefined;
301
- receiptId?: string | undefined;
302
- trigger?: "late" | "manual" | "retry" | "schedule" | undefined;
303
- } | undefined;
304
- createdAt: string;
305
- updatedAt: string;
293
+ enable?: boolean | undefined;
306
294
  };
307
- once?: {
308
- dueAt: string;
309
- timeZone: string;
310
- resolvedInstant: string;
311
- note: string;
312
- } | undefined;
313
295
  };
314
- outputFormat: "json";
315
- status: 201;
316
- input: {
317
- json: {
296
+ } | {
297
+ output: {
298
+ automation: {
299
+ [x: string]: import("hono/utils/types").JSONValue;
300
+ id: string;
301
+ revision: number;
318
302
  name: string;
319
303
  description?: string | undefined;
320
- enabled?: boolean | undefined;
321
- kind?: "github" | "schedule" | undefined;
304
+ enabled: boolean;
305
+ kind: "github" | "schedule";
322
306
  events?: ("issue.labeled" | "issue.opened" | "issue.unlabeled" | "pull_request.opened")[] | undefined;
323
307
  intervalSeconds?: number | undefined;
324
308
  filters?: {
325
- [x: string]: unknown;
309
+ [x: string]: import("hono/utils/types").JSONValue;
326
310
  includeExisting?: boolean | undefined;
327
311
  requireCurrentLabels?: boolean | undefined;
328
312
  authors?: string[] | undefined;
@@ -331,10 +315,11 @@ export declare function createAutomationsRouteBundles(deps: AutomationsRouteDeps
331
315
  anyLabels?: string[] | undefined;
332
316
  excludeLabels?: string[] | undefined;
333
317
  changedLabels?: string[] | undefined;
334
- lookbackDays?: number | undefined;
335
- maxRecords?: number | undefined;
318
+ lookbackDays: number;
319
+ maxRecords: number;
336
320
  } | undefined;
337
321
  schedule?: {
322
+ [x: string]: import("hono/utils/types").JSONValue;
338
323
  type: "daily" | "hours" | "once" | "weekdays" | "weekly";
339
324
  hour?: number | undefined;
340
325
  minute?: number | undefined;
@@ -345,6 +330,7 @@ export declare function createAutomationsRouteBundles(deps: AutomationsRouteDeps
345
330
  latestStartMinutes?: number | undefined;
346
331
  } | undefined;
347
332
  task: {
333
+ [x: string]: import("hono/utils/types").JSONValue;
348
334
  archiveWhenDone?: boolean | undefined;
349
335
  autoMergePr?: boolean | undefined;
350
336
  allowWorkers?: boolean | undefined;
@@ -365,29 +351,43 @@ export declare function createAutomationsRouteBundles(deps: AutomationsRouteDeps
365
351
  bashAllowlist?: string[] | undefined;
366
352
  kind?: "plugin" | undefined;
367
353
  pluginKind?: string | undefined;
368
- config?: Record<string, unknown> | undefined;
354
+ config?: {
355
+ [x: string]: import("hono/utils/types").JSONValue;
356
+ } | undefined;
369
357
  command?: string | undefined;
370
358
  onFail?: {
371
359
  retry: string;
372
- max?: number | undefined;
360
+ max: number;
373
361
  } | undefined;
374
362
  }[] | undefined;
375
363
  runner?: string | undefined;
376
364
  model?: string | undefined;
377
365
  effort?: string | undefined;
366
+ variants?: 1 | 2 | 3 | undefined;
378
367
  worktree?: boolean | undefined;
379
368
  autonomous?: boolean | undefined;
380
369
  systemPrompt?: string | undefined;
381
370
  };
382
- enable?: boolean | undefined;
371
+ archived?: {
372
+ [x: string]: import("hono/utils/types").JSONValue;
373
+ at: string;
374
+ outcome: "cancelled" | "launched";
375
+ runId?: string | undefined;
376
+ receiptId?: string | undefined;
377
+ trigger?: "late" | "manual" | "retry" | "schedule" | undefined;
378
+ } | undefined;
379
+ createdAt: string;
380
+ updatedAt: string;
383
381
  };
384
- };
385
- } | {
386
- output: {
387
- error: string;
382
+ once?: {
383
+ dueAt: string;
384
+ timeZone: string;
385
+ resolvedInstant: string;
386
+ note: string;
387
+ } | undefined;
388
388
  };
389
389
  outputFormat: "json";
390
- status: 400 | 404 | 409;
390
+ status: 201;
391
391
  input: {
392
392
  json: {
393
393
  name: string;
@@ -462,6 +462,17 @@ export declare function createAutomationsRouteBundles(deps: AutomationsRouteDeps
462
462
  } & {
463
463
  "/automations/:id": {
464
464
  $get: {
465
+ output: {
466
+ error: string;
467
+ };
468
+ outputFormat: "json";
469
+ status: 400 | 404 | 409;
470
+ input: {
471
+ param: {
472
+ id: string;
473
+ };
474
+ };
475
+ } | {
465
476
  output: {
466
477
  automation: {
467
478
  [x: string]: import("hono/utils/types").JSONValue;
@@ -624,35 +635,26 @@ export declare function createAutomationsRouteBundles(deps: AutomationsRouteDeps
624
635
  id: string;
625
636
  };
626
637
  };
627
- } | {
628
- output: {
629
- error: string;
630
- };
631
- outputFormat: "json";
632
- status: 400 | 404 | 409;
633
- input: {
634
- param: {
635
- id: string;
636
- };
637
- };
638
638
  };
639
639
  };
640
640
  } & {
641
641
  "/automations/:id": {
642
642
  $put: {
643
643
  output: {
644
- automation: {
645
- [x: string]: import("hono/utils/types").JSONValue;
646
- id: string;
647
- revision: number;
644
+ error: string;
645
+ };
646
+ outputFormat: "json";
647
+ status: 400 | 404 | 409;
648
+ input: {
649
+ json: {
648
650
  name: string;
649
651
  description?: string | undefined;
650
- enabled: boolean;
651
- kind: "github" | "schedule";
652
+ enabled?: boolean | undefined;
653
+ kind?: "github" | "schedule" | undefined;
652
654
  events?: ("issue.labeled" | "issue.opened" | "issue.unlabeled" | "pull_request.opened")[] | undefined;
653
655
  intervalSeconds?: number | undefined;
654
656
  filters?: {
655
- [x: string]: import("hono/utils/types").JSONValue;
657
+ [x: string]: unknown;
656
658
  includeExisting?: boolean | undefined;
657
659
  requireCurrentLabels?: boolean | undefined;
658
660
  authors?: string[] | undefined;
@@ -661,11 +663,10 @@ export declare function createAutomationsRouteBundles(deps: AutomationsRouteDeps
661
663
  anyLabels?: string[] | undefined;
662
664
  excludeLabels?: string[] | undefined;
663
665
  changedLabels?: string[] | undefined;
664
- lookbackDays: number;
665
- maxRecords: number;
666
+ lookbackDays?: number | undefined;
667
+ maxRecords?: number | undefined;
666
668
  } | undefined;
667
669
  schedule?: {
668
- [x: string]: import("hono/utils/types").JSONValue;
669
670
  type: "daily" | "hours" | "once" | "weekdays" | "weekly";
670
671
  hour?: number | undefined;
671
672
  minute?: number | undefined;
@@ -676,7 +677,6 @@ export declare function createAutomationsRouteBundles(deps: AutomationsRouteDeps
676
677
  latestStartMinutes?: number | undefined;
677
678
  } | undefined;
678
679
  task: {
679
- [x: string]: import("hono/utils/types").JSONValue;
680
680
  archiveWhenDone?: boolean | undefined;
681
681
  autoMergePr?: boolean | undefined;
682
682
  allowWorkers?: boolean | undefined;
@@ -697,47 +697,41 @@ export declare function createAutomationsRouteBundles(deps: AutomationsRouteDeps
697
697
  bashAllowlist?: string[] | undefined;
698
698
  kind?: "plugin" | undefined;
699
699
  pluginKind?: string | undefined;
700
- config?: {
701
- [x: string]: import("hono/utils/types").JSONValue;
702
- } | undefined;
700
+ config?: Record<string, unknown> | undefined;
703
701
  command?: string | undefined;
704
702
  onFail?: {
705
703
  retry: string;
706
- max: number;
704
+ max?: number | undefined;
707
705
  } | undefined;
708
706
  }[] | undefined;
709
707
  runner?: string | undefined;
710
708
  model?: string | undefined;
711
709
  effort?: string | undefined;
712
- variants?: 1 | 2 | 3 | undefined;
713
710
  worktree?: boolean | undefined;
714
711
  autonomous?: boolean | undefined;
715
712
  systemPrompt?: string | undefined;
716
713
  };
717
- archived?: {
718
- [x: string]: import("hono/utils/types").JSONValue;
719
- at: string;
720
- outcome: "cancelled" | "launched";
721
- runId?: string | undefined;
722
- receiptId?: string | undefined;
723
- trigger?: "late" | "manual" | "retry" | "schedule" | undefined;
724
- } | undefined;
725
- createdAt: string;
726
- updatedAt: string;
714
+ expectedRevision: number;
715
+ };
716
+ } & {
717
+ param: {
718
+ id: string;
727
719
  };
728
720
  };
729
- outputFormat: "json";
730
- status: import("hono/utils/http-status").ContentfulStatusCode;
731
- input: {
732
- json: {
721
+ } | {
722
+ output: {
723
+ automation: {
724
+ [x: string]: import("hono/utils/types").JSONValue;
725
+ id: string;
726
+ revision: number;
733
727
  name: string;
734
728
  description?: string | undefined;
735
- enabled?: boolean | undefined;
736
- kind?: "github" | "schedule" | undefined;
729
+ enabled: boolean;
730
+ kind: "github" | "schedule";
737
731
  events?: ("issue.labeled" | "issue.opened" | "issue.unlabeled" | "pull_request.opened")[] | undefined;
738
732
  intervalSeconds?: number | undefined;
739
733
  filters?: {
740
- [x: string]: unknown;
734
+ [x: string]: import("hono/utils/types").JSONValue;
741
735
  includeExisting?: boolean | undefined;
742
736
  requireCurrentLabels?: boolean | undefined;
743
737
  authors?: string[] | undefined;
@@ -746,10 +740,11 @@ export declare function createAutomationsRouteBundles(deps: AutomationsRouteDeps
746
740
  anyLabels?: string[] | undefined;
747
741
  excludeLabels?: string[] | undefined;
748
742
  changedLabels?: string[] | undefined;
749
- lookbackDays?: number | undefined;
750
- maxRecords?: number | undefined;
743
+ lookbackDays: number;
744
+ maxRecords: number;
751
745
  } | undefined;
752
746
  schedule?: {
747
+ [x: string]: import("hono/utils/types").JSONValue;
753
748
  type: "daily" | "hours" | "once" | "weekdays" | "weekly";
754
749
  hour?: number | undefined;
755
750
  minute?: number | undefined;
@@ -760,6 +755,7 @@ export declare function createAutomationsRouteBundles(deps: AutomationsRouteDeps
760
755
  latestStartMinutes?: number | undefined;
761
756
  } | undefined;
762
757
  task: {
758
+ [x: string]: import("hono/utils/types").JSONValue;
763
759
  archiveWhenDone?: boolean | undefined;
764
760
  autoMergePr?: boolean | undefined;
765
761
  allowWorkers?: boolean | undefined;
@@ -780,33 +776,37 @@ export declare function createAutomationsRouteBundles(deps: AutomationsRouteDeps
780
776
  bashAllowlist?: string[] | undefined;
781
777
  kind?: "plugin" | undefined;
782
778
  pluginKind?: string | undefined;
783
- config?: Record<string, unknown> | undefined;
779
+ config?: {
780
+ [x: string]: import("hono/utils/types").JSONValue;
781
+ } | undefined;
784
782
  command?: string | undefined;
785
783
  onFail?: {
786
784
  retry: string;
787
- max?: number | undefined;
785
+ max: number;
788
786
  } | undefined;
789
787
  }[] | undefined;
790
788
  runner?: string | undefined;
791
789
  model?: string | undefined;
792
790
  effort?: string | undefined;
791
+ variants?: 1 | 2 | 3 | undefined;
793
792
  worktree?: boolean | undefined;
794
793
  autonomous?: boolean | undefined;
795
794
  systemPrompt?: string | undefined;
796
795
  };
797
- expectedRevision: number;
798
- };
799
- } & {
800
- param: {
801
- id: string;
796
+ archived?: {
797
+ [x: string]: import("hono/utils/types").JSONValue;
798
+ at: string;
799
+ outcome: "cancelled" | "launched";
800
+ runId?: string | undefined;
801
+ receiptId?: string | undefined;
802
+ trigger?: "late" | "manual" | "retry" | "schedule" | undefined;
803
+ } | undefined;
804
+ createdAt: string;
805
+ updatedAt: string;
802
806
  };
803
807
  };
804
- } | {
805
- output: {
806
- error: string;
807
- };
808
808
  outputFormat: "json";
809
- status: 400 | 404 | 409;
809
+ status: import("hono/utils/http-status").ContentfulStatusCode;
810
810
  input: {
811
811
  json: {
812
812
  name: string;
@@ -909,6 +909,17 @@ export declare function createAutomationsRouteBundles(deps: AutomationsRouteDeps
909
909
  } & {
910
910
  "/automations/:id/enable": {
911
911
  $post: {
912
+ output: {
913
+ error: string;
914
+ };
915
+ outputFormat: "json";
916
+ status: 400 | 404 | 409;
917
+ input: {
918
+ param: {
919
+ id: string;
920
+ };
921
+ };
922
+ } | {
912
923
  output: {
913
924
  automation: {
914
925
  [x: string]: import("hono/utils/types").JSONValue;
@@ -1002,7 +1013,11 @@ export declare function createAutomationsRouteBundles(deps: AutomationsRouteDeps
1002
1013
  id: string;
1003
1014
  };
1004
1015
  };
1005
- } | {
1016
+ };
1017
+ };
1018
+ } & {
1019
+ "/automations/:id/pause": {
1020
+ $post: {
1006
1021
  output: {
1007
1022
  error: string;
1008
1023
  };
@@ -1013,11 +1028,7 @@ export declare function createAutomationsRouteBundles(deps: AutomationsRouteDeps
1013
1028
  id: string;
1014
1029
  };
1015
1030
  };
1016
- };
1017
- };
1018
- } & {
1019
- "/automations/:id/pause": {
1020
- $post: {
1031
+ } | {
1021
1032
  output: {
1022
1033
  automation: {
1023
1034
  [x: string]: import("hono/utils/types").JSONValue;
@@ -1111,7 +1122,11 @@ export declare function createAutomationsRouteBundles(deps: AutomationsRouteDeps
1111
1122
  id: string;
1112
1123
  };
1113
1124
  };
1114
- } | {
1125
+ };
1126
+ };
1127
+ } & {
1128
+ "/automations/:id/cancel": {
1129
+ $post: {
1115
1130
  output: {
1116
1131
  error: string;
1117
1132
  };
@@ -1122,11 +1137,7 @@ export declare function createAutomationsRouteBundles(deps: AutomationsRouteDeps
1122
1137
  id: string;
1123
1138
  };
1124
1139
  };
1125
- };
1126
- };
1127
- } & {
1128
- "/automations/:id/cancel": {
1129
- $post: {
1140
+ } | {
1130
1141
  output: {
1131
1142
  automation: {
1132
1143
  [x: string]: import("hono/utils/types").JSONValue;
@@ -1220,27 +1231,16 @@ export declare function createAutomationsRouteBundles(deps: AutomationsRouteDeps
1220
1231
  id: string;
1221
1232
  };
1222
1233
  };
1223
- } | {
1224
- output: {
1225
- error: string;
1226
- };
1227
- outputFormat: "json";
1228
- status: 400 | 404 | 409;
1229
- input: {
1230
- param: {
1231
- id: string;
1232
- };
1233
- };
1234
1234
  };
1235
1235
  };
1236
1236
  } & {
1237
1237
  "/automations/:id/run": {
1238
1238
  $post: {
1239
1239
  output: {
1240
- runId: string;
1240
+ error: string;
1241
1241
  };
1242
1242
  outputFormat: "json";
1243
- status: 202;
1243
+ status: 400 | 404 | 409;
1244
1244
  input: {
1245
1245
  param: {
1246
1246
  id: string;
@@ -1248,10 +1248,10 @@ export declare function createAutomationsRouteBundles(deps: AutomationsRouteDeps
1248
1248
  };
1249
1249
  } | {
1250
1250
  output: {
1251
- error: string;
1251
+ runId: string;
1252
1252
  };
1253
1253
  outputFormat: "json";
1254
- status: 400 | 404 | 409;
1254
+ status: 202;
1255
1255
  input: {
1256
1256
  param: {
1257
1257
  id: string;
@@ -1263,10 +1263,10 @@ export declare function createAutomationsRouteBundles(deps: AutomationsRouteDeps
1263
1263
  "/automations/:id/check": {
1264
1264
  $post: {
1265
1265
  output: {
1266
- checkId: string;
1266
+ error: string;
1267
1267
  };
1268
1268
  outputFormat: "json";
1269
- status: 202;
1269
+ status: 404;
1270
1270
  input: {
1271
1271
  json: {
1272
1272
  mode: "execute" | "preview";
@@ -1281,7 +1281,7 @@ export declare function createAutomationsRouteBundles(deps: AutomationsRouteDeps
1281
1281
  error: string;
1282
1282
  };
1283
1283
  outputFormat: "json";
1284
- status: 404;
1284
+ status: 409;
1285
1285
  input: {
1286
1286
  json: {
1287
1287
  mode: "execute" | "preview";
@@ -1293,10 +1293,10 @@ export declare function createAutomationsRouteBundles(deps: AutomationsRouteDeps
1293
1293
  };
1294
1294
  } | {
1295
1295
  output: {
1296
- error: string;
1296
+ checkId: string;
1297
1297
  };
1298
1298
  outputFormat: "json";
1299
- status: 409;
1299
+ status: 202;
1300
1300
  input: {
1301
1301
  json: {
1302
1302
  mode: "execute" | "preview";
@@ -1408,17 +1408,6 @@ export declare function createAutomationsRouteBundles(deps: AutomationsRouteDeps
1408
1408
  automationChecksRoutes: import("hono/hono-base").HonoBase<{}, {
1409
1409
  "/automation-checks/:checkId": {
1410
1410
  $get: {
1411
- output: {
1412
- error: string;
1413
- };
1414
- outputFormat: "json";
1415
- status: 404;
1416
- input: {
1417
- param: {
1418
- checkId: string;
1419
- };
1420
- };
1421
- } | {
1422
1411
  output: {
1423
1412
  id: string;
1424
1413
  automationId: string;
@@ -1437,6 +1426,17 @@ export declare function createAutomationsRouteBundles(deps: AutomationsRouteDeps
1437
1426
  checkId: string;
1438
1427
  };
1439
1428
  };
1429
+ } | {
1430
+ output: {
1431
+ error: string;
1432
+ };
1433
+ outputFormat: "json";
1434
+ status: 404;
1435
+ input: {
1436
+ param: {
1437
+ checkId: string;
1438
+ };
1439
+ };
1440
1440
  };
1441
1441
  };
1442
1442
  }, "/", "/automation-checks/:checkId">;
@@ -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">;