@hearsay-tools/squawk 0.18.0-pr3437.6021 → 0.18.0-pr3437.6066

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 (114) hide show
  1. package/dist/automations/enabled.d.ts +2 -0
  2. package/dist/automations/enabled.js +6 -0
  3. package/dist/automations/enabled.js.map +1 -0
  4. package/dist/ci-wait/tool-catalog.js +2 -1
  5. package/dist/ci-wait/tool-catalog.js.map +1 -1
  6. package/dist/ci-wait/tools.d.ts +4 -4
  7. package/dist/core/structured-output.d.ts +9 -0
  8. package/dist/core/structured-output.js +64 -0
  9. package/dist/core/structured-output.js.map +1 -0
  10. package/dist/delegation/transport.d.ts +62 -62
  11. package/dist/home/recovery.d.ts +0 -1
  12. package/dist/home/recovery.js +0 -1
  13. package/dist/home/recovery.js.map +1 -1
  14. package/dist/planner.d.ts +1 -8
  15. package/dist/planner.js +2 -63
  16. package/dist/planner.js.map +1 -1
  17. package/dist/runs/auto-name.js +1 -1
  18. package/dist/runs/auto-name.js.map +1 -1
  19. package/dist/runs/webhook.d.ts +1 -3
  20. package/dist/runs/webhook.js +2 -10
  21. package/dist/runs/webhook.js.map +1 -1
  22. package/dist/serve-command.js +1 -0
  23. package/dist/serve-command.js.map +1 -1
  24. package/dist/server/capabilities.js +2 -1
  25. package/dist/server/capabilities.js.map +1 -1
  26. package/dist/server/home-recovery-routes.js +2 -1
  27. package/dist/server/home-recovery-routes.js.map +1 -1
  28. package/dist/server/live-routes.d.ts +6 -6
  29. package/dist/server/project-context.d.ts +5 -1
  30. package/dist/server/project-context.js +7 -4
  31. package/dist/server/project-context.js.map +1 -1
  32. package/dist/server/server.d.ts +452 -450
  33. package/dist/server/server.js +4 -5
  34. package/dist/server/server.js.map +1 -1
  35. package/dist/server/start-run-options.d.ts +2 -1
  36. package/dist/server/start-run-options.js +1 -1
  37. package/dist/server/start-run-options.js.map +1 -1
  38. package/dist/server/workspace-projects.d.ts +1 -1
  39. package/dist/server/workspace-projects.js +1 -0
  40. package/dist/server/workspace-projects.js.map +1 -1
  41. package/dist/workflows/run/input-delivery.d.ts +1 -1
  42. package/dist/workflows/run/input-delivery.js +3 -4
  43. package/dist/workflows/run/input-delivery.js.map +1 -1
  44. package/dist/workflows/run/launch-context.js +3 -3
  45. package/dist/workflows/run/launch-context.js.map +1 -1
  46. package/dist/workspace/registry-entry.d.ts +4 -0
  47. package/dist/workspace/registry-entry.js +11 -0
  48. package/dist/workspace/registry-entry.js.map +1 -0
  49. package/package.json +4 -4
  50. package/scripts/benchmark-run-store.ts +2 -1
  51. package/scripts/benchmark-workspace-events.ts +2 -1
  52. package/scripts/measure-transcript-facts-health.mjs +2 -1
  53. package/web/dist/assets/activity-motion-uhQPLbuu.js +2 -0
  54. package/web/dist/assets/activity-route-Dkulydc2.js +1 -0
  55. package/web/dist/assets/agent-accounts-BNlpWTOY.js +18 -0
  56. package/web/dist/assets/attention-VmnPpwJx.js +1 -0
  57. package/web/dist/assets/commit-diff-panel-C9GL2tao.js +1 -0
  58. package/web/dist/assets/diff-BbT6HX3u.js +3 -0
  59. package/web/dist/assets/{diff-view-B9kgeZTm.js → diff-view-oyOw4umg.js} +4 -4
  60. package/web/dist/assets/file-preview-BQ0R19La.js +2 -0
  61. package/web/dist/assets/git-toolbar-PeaVnT03.js +1 -0
  62. package/web/dist/assets/github-5L2qkK1k.js +1 -0
  63. package/web/dist/assets/global-activity-route-DLfuJ7Lw.js +1 -0
  64. package/web/dist/assets/index-CFbFtL5O.js +17 -0
  65. package/web/dist/assets/index-DI_O8V74.css +1 -0
  66. package/web/dist/assets/live-refetch-CZb2VOyu.js +1 -0
  67. package/web/dist/assets/popover-G6KGT-qq.js +1 -0
  68. package/web/dist/assets/preview-pane-connected-ClnZeK7_.js +3 -0
  69. package/web/dist/assets/prompt-template-menu-D4-inlE4.js +1 -0
  70. package/web/dist/assets/queries-D2MPDhtr.js +1 -0
  71. package/web/dist/assets/reference-chip-Drpbf-MP.js +1 -0
  72. package/web/dist/assets/repo-git-C5kdJUtx.js +1 -0
  73. package/web/dist/assets/report-reader-C9f7Zevx.js +1 -0
  74. package/web/dist/assets/reports-DLozsIav.js +1 -0
  75. package/web/dist/assets/run-header-gKKxDTom.js +2 -0
  76. package/web/dist/assets/skills-nbFjA9HV.js +1 -0
  77. package/web/dist/assets/task-changes-DcgY25bB.js +1 -0
  78. package/web/dist/assets/task-commits-amSX-bTC.js +1 -0
  79. package/web/dist/assets/task-files-BW4uOVGM.js +1 -0
  80. package/web/dist/assets/task-github-item-CG8dVePG.js +1 -0
  81. package/web/dist/assets/task-thread-BJRqzTFi.js +9 -0
  82. package/web/dist/assets/{thread-state-BtmIMbkZ.js → thread-state-CtFtvKUi.js} +1 -1
  83. package/web/dist/assets/use-hand-to-agent-state-DWLpzA5t.js +1 -0
  84. package/web/dist/assets/workflows-DDM-LFxD.js +7 -0
  85. package/web/dist/index.html +12 -11
  86. package/web/dist/assets/activity-motion-Bqd8S9Xy.js +0 -2
  87. package/web/dist/assets/activity-route-DQI_8J09.js +0 -1
  88. package/web/dist/assets/agent-accounts-C6eyz75V.js +0 -18
  89. package/web/dist/assets/commit-diff-panel-C7BUSPzE.js +0 -1
  90. package/web/dist/assets/control-locations-DlrUP5vD.js +0 -1
  91. package/web/dist/assets/diff-Bwy0qFul.js +0 -3
  92. package/web/dist/assets/file-preview-DrXgM1-S.js +0 -2
  93. package/web/dist/assets/git-toolbar-B1gOn_1U.js +0 -1
  94. package/web/dist/assets/github-g-ZOTwHQ.js +0 -1
  95. package/web/dist/assets/github-sidebar-model-BdoLA7qT.js +0 -1
  96. package/web/dist/assets/global-activity-route-CZ_xwiz3.js +0 -1
  97. package/web/dist/assets/index-75IttVLX.js +0 -17
  98. package/web/dist/assets/index-9YmaiQ1k.css +0 -1
  99. package/web/dist/assets/live-refetch-pzhdhNS_.js +0 -1
  100. package/web/dist/assets/popover-N-u5z2xh.js +0 -1
  101. package/web/dist/assets/preview-pane-connected-Cx8q-Yrh.js +0 -3
  102. package/web/dist/assets/queries-BtScxiQP.js +0 -1
  103. package/web/dist/assets/repo-git-DgZuI4FP.js +0 -1
  104. package/web/dist/assets/report-reader-CeBtx_Sf.js +0 -1
  105. package/web/dist/assets/reports-CRPxIRMM.js +0 -1
  106. package/web/dist/assets/run-header-C8Eeonkx.js +0 -2
  107. package/web/dist/assets/skills-DDoJCcmD.js +0 -1
  108. package/web/dist/assets/task-changes-XAcKfebn.js +0 -1
  109. package/web/dist/assets/task-commits-D5V0Q0au.js +0 -1
  110. package/web/dist/assets/task-files-CkPJZE0w.js +0 -1
  111. package/web/dist/assets/task-github-item-CbCOKkvp.js +0 -1
  112. package/web/dist/assets/task-thread-DyR8HsDz.js +0 -9
  113. package/web/dist/assets/use-hand-to-agent-state-BUpbMYM9.js +0 -1
  114. package/web/dist/assets/workflows-CEFtJj_h.js +0 -7
@@ -11,13 +11,13 @@ import { TaskWebhooks } from '../runs/webhook.ts';
11
11
  import { ProviderAuthService, type ProviderId } from '../core/provider-auth.ts';
12
12
  import { RunnerModelCatalog } from '../core/runner-model-catalog.ts';
13
13
  import { type RunStore } from '../runs/store.ts';
14
- import { type RunManager } from '../workflows/run.ts';
14
+ import type { RunManager } from '../workflows/run.ts';
15
15
  import { type BranchForge } from './repo-branches.ts';
16
16
  import { loadWorkspaceConfig, mergeWriteWorkspaceConfig } from '../workspace/config.ts';
17
17
  import { WorkspaceSemaphore } from '../workspace/semaphore.ts';
18
18
  import { type CloneRunner } from './checkout.ts';
19
19
  import { type CommandRunner } from './create-project.ts';
20
- import { ProjectContexts, type ProjectContext } from './project-context.ts';
20
+ import { ProjectContexts, type ProjectContext, type RunManagerFactory } from './project-context.ts';
21
21
  import { type SocketHub, type WsUpgradeVerdict } from './ws.ts';
22
22
  import type { PreviewHost } from '../preview/host.ts';
23
23
  import { type ForgeFactory } from './forge/index.ts';
@@ -66,6 +66,8 @@ export interface ServerDeps extends ActivityServerDeps {
66
66
  * context is seeded from `deps.{store,manager}` (which src/index.ts already
67
67
  * recovered/pruned at startup) and the resolver short-circuits to it. */
68
68
  contexts?: ProjectContexts | undefined;
69
+ /** Builds each non-boot project's manager for the default `contexts`; `serve` passes the real one. */
70
+ createManager?: RunManagerFactory | undefined;
69
71
  /** Boot project's shared automation store. `startServer` injects the
70
72
  * coordinator-owned instance so HTTP routes and the scheduler never cache
71
73
  * separate views of the same project files. */
@@ -3303,6 +3305,191 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3303
3305
  };
3304
3306
  };
3305
3307
  };
3308
+ }, "/"> | import("hono/types").MergeSchemaPath<{
3309
+ "/reports/state": {
3310
+ $get: {
3311
+ output: {
3312
+ error: string;
3313
+ };
3314
+ outputFormat: "json";
3315
+ status: 409;
3316
+ input: {};
3317
+ } | {
3318
+ output: {
3319
+ epoch: string;
3320
+ generation: number;
3321
+ metadataGeneration: number;
3322
+ };
3323
+ outputFormat: "json";
3324
+ status: import("hono/utils/http-status").ContentfulStatusCode;
3325
+ input: {};
3326
+ };
3327
+ };
3328
+ } & {
3329
+ "/reports": {
3330
+ $get: {
3331
+ output: {
3332
+ error: string;
3333
+ code?: "invalid_input" | undefined;
3334
+ };
3335
+ outputFormat: "json";
3336
+ status: 400;
3337
+ input: {
3338
+ query: {
3339
+ q?: string | undefined;
3340
+ before?: string | undefined;
3341
+ limit?: number | undefined;
3342
+ };
3343
+ };
3344
+ } | {
3345
+ output: {
3346
+ error: string;
3347
+ };
3348
+ outputFormat: "json";
3349
+ status: 409;
3350
+ input: {
3351
+ query: {
3352
+ q?: string | undefined;
3353
+ before?: string | undefined;
3354
+ limit?: number | undefined;
3355
+ };
3356
+ };
3357
+ } | {
3358
+ output: {
3359
+ error: string;
3360
+ };
3361
+ outputFormat: "json";
3362
+ status: 400;
3363
+ input: {
3364
+ query: {
3365
+ q?: string | undefined;
3366
+ before?: string | undefined;
3367
+ limit?: number | undefined;
3368
+ };
3369
+ };
3370
+ } | {
3371
+ output: {
3372
+ reports: {
3373
+ id: string;
3374
+ runId: string;
3375
+ name: string;
3376
+ title: string;
3377
+ createdAt: string;
3378
+ size: number;
3379
+ taskTitle: string;
3380
+ taskStatus: "cancelled" | "done" | "failed" | "queued" | "review" | "running" | "waiting";
3381
+ }[];
3382
+ nextCursor: string | null;
3383
+ total: number;
3384
+ };
3385
+ outputFormat: "json";
3386
+ status: import("hono/utils/http-status").ContentfulStatusCode;
3387
+ input: {
3388
+ query: {
3389
+ q?: string | undefined;
3390
+ before?: string | undefined;
3391
+ limit?: number | undefined;
3392
+ };
3393
+ };
3394
+ };
3395
+ };
3396
+ }, "/"> | import("hono/types").MergeSchemaPath<{
3397
+ "/voice/decide": {
3398
+ $post: {
3399
+ output: {
3400
+ error: string;
3401
+ };
3402
+ outputFormat: "json";
3403
+ status: 503;
3404
+ input: {
3405
+ json: {
3406
+ text: string;
3407
+ sidebarView: "active" | "automations";
3408
+ openRunId?: string | undefined;
3409
+ view?: "automations" | "git" | "github" | "inbox" | "new-task" | "other" | "settings" | "task" | undefined;
3410
+ askRequestId?: string | null | undefined;
3411
+ proposal?: {
3412
+ decisionId: string;
3413
+ action: "answer" | "tell";
3414
+ } | undefined;
3415
+ };
3416
+ };
3417
+ } | {
3418
+ output: {
3419
+ action: "open";
3420
+ decisionId: string;
3421
+ status: "archived" | "cancelled" | "done" | "failed" | "finished" | "monitoring" | "needs-permission" | "needs-review" | "needs-you" | "queued" | "running" | "scheduled" | "unread" | "waiting-for-capacity" | "waiting-for-ci" | "waiting-on-workers" | "working";
3422
+ position: number | "last" | "next" | "previous";
3423
+ confidence: number;
3424
+ alternatives?: {
3425
+ status: "archived" | "cancelled" | "done" | "failed" | "finished" | "monitoring" | "needs-permission" | "needs-review" | "needs-you" | "queued" | "running" | "scheduled" | "unread" | "waiting-for-capacity" | "waiting-for-ci" | "waiting-on-workers" | "working";
3426
+ position: number | "last" | "next" | "previous";
3427
+ }[] | undefined;
3428
+ } | {
3429
+ action: "answer";
3430
+ decisionId: string;
3431
+ runId: string;
3432
+ askRequestId: string;
3433
+ answers: ({
3434
+ question: number;
3435
+ kind: "option";
3436
+ labels: string[];
3437
+ } | {
3438
+ question: number;
3439
+ kind: "other";
3440
+ text: string;
3441
+ })[];
3442
+ confidence: number;
3443
+ } | {
3444
+ action: "tell";
3445
+ decisionId: string;
3446
+ runId: string;
3447
+ text: string;
3448
+ confidence: number;
3449
+ } | {
3450
+ action: "confirm";
3451
+ decisionId: string;
3452
+ } | {
3453
+ action: "cancel";
3454
+ decisionId: string;
3455
+ } | {
3456
+ action: "none";
3457
+ decisionId: string;
3458
+ reason: "ambiguous" | "no-open-question" | "no-open-task" | "not-a-command" | "stale-context" | "unclear" | "unsupported";
3459
+ };
3460
+ outputFormat: "json";
3461
+ status: 200;
3462
+ input: {
3463
+ json: {
3464
+ text: string;
3465
+ sidebarView: "active" | "automations";
3466
+ openRunId?: string | undefined;
3467
+ view?: "automations" | "git" | "github" | "inbox" | "new-task" | "other" | "settings" | "task" | undefined;
3468
+ askRequestId?: string | null | undefined;
3469
+ proposal?: {
3470
+ decisionId: string;
3471
+ action: "answer" | "tell";
3472
+ } | undefined;
3473
+ };
3474
+ };
3475
+ };
3476
+ };
3477
+ } & {
3478
+ "/voice/outcome": {
3479
+ $post: {
3480
+ output: {
3481
+ ok: true;
3482
+ };
3483
+ outputFormat: "json";
3484
+ status: 200;
3485
+ input: {
3486
+ json: {
3487
+ decisionId: string;
3488
+ outcome: "abandoned" | "cancelled" | "confirmed" | "executed" | "replaced";
3489
+ };
3490
+ };
3491
+ };
3492
+ };
3306
3493
  }, "/"> | import("hono/types").MergeSchemaPath<{
3307
3494
  "/ui-state": {
3308
3495
  $get: {
@@ -3733,103 +3920,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3733
3920
  };
3734
3921
  };
3735
3922
  };
3736
- }, "/"> | import("hono/types").MergeSchemaPath<{
3737
- "/voice/decide": {
3738
- $post: {
3739
- output: {
3740
- error: string;
3741
- };
3742
- outputFormat: "json";
3743
- status: 503;
3744
- input: {
3745
- json: {
3746
- text: string;
3747
- sidebarView: "active" | "automations";
3748
- openRunId?: string | undefined;
3749
- view?: "automations" | "git" | "github" | "inbox" | "new-task" | "other" | "settings" | "task" | undefined;
3750
- askRequestId?: string | null | undefined;
3751
- proposal?: {
3752
- decisionId: string;
3753
- action: "answer" | "tell";
3754
- } | undefined;
3755
- };
3756
- };
3757
- } | {
3758
- output: {
3759
- action: "open";
3760
- decisionId: string;
3761
- status: "archived" | "cancelled" | "done" | "failed" | "finished" | "monitoring" | "needs-permission" | "needs-review" | "needs-you" | "queued" | "running" | "scheduled" | "unread" | "waiting-for-capacity" | "waiting-for-ci" | "waiting-on-workers" | "working";
3762
- position: number | "last" | "next" | "previous";
3763
- confidence: number;
3764
- alternatives?: {
3765
- status: "archived" | "cancelled" | "done" | "failed" | "finished" | "monitoring" | "needs-permission" | "needs-review" | "needs-you" | "queued" | "running" | "scheduled" | "unread" | "waiting-for-capacity" | "waiting-for-ci" | "waiting-on-workers" | "working";
3766
- position: number | "last" | "next" | "previous";
3767
- }[] | undefined;
3768
- } | {
3769
- action: "answer";
3770
- decisionId: string;
3771
- runId: string;
3772
- askRequestId: string;
3773
- answers: ({
3774
- question: number;
3775
- kind: "option";
3776
- labels: string[];
3777
- } | {
3778
- question: number;
3779
- kind: "other";
3780
- text: string;
3781
- })[];
3782
- confidence: number;
3783
- } | {
3784
- action: "tell";
3785
- decisionId: string;
3786
- runId: string;
3787
- text: string;
3788
- confidence: number;
3789
- } | {
3790
- action: "confirm";
3791
- decisionId: string;
3792
- } | {
3793
- action: "cancel";
3794
- decisionId: string;
3795
- } | {
3796
- action: "none";
3797
- decisionId: string;
3798
- reason: "ambiguous" | "no-open-question" | "no-open-task" | "not-a-command" | "stale-context" | "unclear" | "unsupported";
3799
- };
3800
- outputFormat: "json";
3801
- status: 200;
3802
- input: {
3803
- json: {
3804
- text: string;
3805
- sidebarView: "active" | "automations";
3806
- openRunId?: string | undefined;
3807
- view?: "automations" | "git" | "github" | "inbox" | "new-task" | "other" | "settings" | "task" | undefined;
3808
- askRequestId?: string | null | undefined;
3809
- proposal?: {
3810
- decisionId: string;
3811
- action: "answer" | "tell";
3812
- } | undefined;
3813
- };
3814
- };
3815
- };
3816
- };
3817
- } & {
3818
- "/voice/outcome": {
3819
- $post: {
3820
- output: {
3821
- ok: true;
3822
- };
3823
- outputFormat: "json";
3824
- status: 200;
3825
- input: {
3826
- json: {
3827
- decisionId: string;
3828
- outcome: "abandoned" | "cancelled" | "confirmed" | "executed" | "replaced";
3829
- };
3830
- };
3831
- };
3832
- };
3833
3923
  }, "/"> | import("hono/types").MergeSchemaPath<{
3834
3924
  "/agent-webhooks": {
3835
3925
  $get: {
@@ -3887,116 +3977,28 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3887
3977
  } | {
3888
3978
  output: {
3889
3979
  ok: boolean;
3890
- webhook: {
3891
- id: string;
3892
- name: string;
3893
- };
3894
- deliveryId: string;
3895
- attempts: number;
3896
- status?: number | undefined;
3897
- error?: string | undefined;
3898
- dryRun?: boolean | undefined;
3899
- };
3900
- outputFormat: "json";
3901
- status: import("hono/utils/http-status").ContentfulStatusCode;
3902
- input: {
3903
- param: {
3904
- webhook: string;
3905
- };
3906
- } & {
3907
- json: {
3908
- runId?: string | undefined;
3909
- title?: string | undefined;
3910
- message: string;
3911
- data?: Record<string, unknown> | undefined;
3912
- };
3913
- };
3914
- };
3915
- };
3916
- }, "/"> | import("hono/types").MergeSchemaPath<{
3917
- "/reports/state": {
3918
- $get: {
3919
- output: {
3920
- error: string;
3921
- };
3922
- outputFormat: "json";
3923
- status: 409;
3924
- input: {};
3925
- } | {
3926
- output: {
3927
- epoch: string;
3928
- generation: number;
3929
- metadataGeneration: number;
3930
- };
3931
- outputFormat: "json";
3932
- status: import("hono/utils/http-status").ContentfulStatusCode;
3933
- input: {};
3934
- };
3935
- };
3936
- } & {
3937
- "/reports": {
3938
- $get: {
3939
- output: {
3940
- error: string;
3941
- code?: "invalid_input" | undefined;
3942
- };
3943
- outputFormat: "json";
3944
- status: 400;
3945
- input: {
3946
- query: {
3947
- q?: string | undefined;
3948
- before?: string | undefined;
3949
- limit?: number | undefined;
3950
- };
3951
- };
3952
- } | {
3953
- output: {
3954
- error: string;
3955
- };
3956
- outputFormat: "json";
3957
- status: 409;
3958
- input: {
3959
- query: {
3960
- q?: string | undefined;
3961
- before?: string | undefined;
3962
- limit?: number | undefined;
3963
- };
3964
- };
3965
- } | {
3966
- output: {
3967
- error: string;
3968
- };
3969
- outputFormat: "json";
3970
- status: 400;
3971
- input: {
3972
- query: {
3973
- q?: string | undefined;
3974
- before?: string | undefined;
3975
- limit?: number | undefined;
3976
- };
3977
- };
3978
- } | {
3979
- output: {
3980
- reports: {
3981
- id: string;
3982
- runId: string;
3983
- name: string;
3984
- title: string;
3985
- createdAt: string;
3986
- size: number;
3987
- taskTitle: string;
3988
- taskStatus: "cancelled" | "done" | "failed" | "queued" | "review" | "running" | "waiting";
3989
- }[];
3990
- nextCursor: string | null;
3991
- total: number;
3980
+ webhook: {
3981
+ id: string;
3982
+ name: string;
3983
+ };
3984
+ deliveryId: string;
3985
+ attempts: number;
3986
+ status?: number | undefined;
3987
+ error?: string | undefined;
3988
+ dryRun?: boolean | undefined;
3992
3989
  };
3993
3990
  outputFormat: "json";
3994
3991
  status: import("hono/utils/http-status").ContentfulStatusCode;
3995
3992
  input: {
3996
- query: {
3997
- q?: string | undefined;
3998
- before?: string | undefined;
3999
- limit?: number | undefined;
3993
+ param: {
3994
+ webhook: string;
3995
+ };
3996
+ } & {
3997
+ json: {
3998
+ runId?: string | undefined;
3999
+ title?: string | undefined;
4000
+ message: string;
4001
+ data?: Record<string, unknown> | undefined;
4000
4002
  };
4001
4003
  };
4002
4004
  };
@@ -8732,35 +8734,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
8732
8734
  } & {
8733
8735
  "/runs/:id/worker-destroy": {
8734
8736
  $post: {
8735
- output: {
8736
- readonly code: "capacity_limit" | "denied_scope" | "incompatible_state" | "incomplete_cleanup" | "invalid_baseline" | "invalid_input" | "unauthenticated" | "unavailable_diff" | "unavailable_transport";
8737
- readonly error: string;
8738
- readonly modelChoices?: {
8739
- runner: "claude" | "codex" | "cursor" | "omp" | "opencode" | "pi";
8740
- requestedModel: string;
8741
- availableModels: {
8742
- id: string;
8743
- label: string;
8744
- description: string;
8745
- effortLevels?: ("high" | "low" | "max" | "medium" | "xhigh")[] | undefined;
8746
- }[];
8747
- otherRunners: ("claude" | "codex" | "cursor" | "omp" | "opencode" | "pi")[];
8748
- } | undefined;
8749
- };
8750
- outputFormat: "json";
8751
- status: 400 | 401 | 403 | 409 | 503;
8752
- input: {
8753
- query: {
8754
- [x: string]: string | string[];
8755
- };
8756
- } & {
8757
- param: {
8758
- id: string;
8759
- };
8760
- } & {
8761
- json: Record<string, never>;
8762
- };
8763
- } | {
8764
8737
  output: {
8765
8738
  error: string;
8766
8739
  code?: "invalid_input" | undefined;
@@ -8832,6 +8805,35 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
8832
8805
  } & {
8833
8806
  json: Record<string, never>;
8834
8807
  };
8808
+ } | {
8809
+ output: {
8810
+ readonly code: "capacity_limit" | "denied_scope" | "incompatible_state" | "incomplete_cleanup" | "invalid_baseline" | "invalid_input" | "unauthenticated" | "unavailable_diff" | "unavailable_transport";
8811
+ readonly error: string;
8812
+ readonly modelChoices?: {
8813
+ runner: "claude" | "codex" | "cursor" | "omp" | "opencode" | "pi";
8814
+ requestedModel: string;
8815
+ availableModels: {
8816
+ id: string;
8817
+ label: string;
8818
+ description: string;
8819
+ effortLevels?: ("high" | "low" | "max" | "medium" | "xhigh")[] | undefined;
8820
+ }[];
8821
+ otherRunners: ("claude" | "codex" | "cursor" | "omp" | "opencode" | "pi")[];
8822
+ } | undefined;
8823
+ };
8824
+ outputFormat: "json";
8825
+ status: 400 | 401 | 403 | 409 | 503;
8826
+ input: {
8827
+ query: {
8828
+ [x: string]: string | string[];
8829
+ };
8830
+ } & {
8831
+ param: {
8832
+ id: string;
8833
+ };
8834
+ } & {
8835
+ json: Record<string, never>;
8836
+ };
8835
8837
  };
8836
8838
  };
8837
8839
  } & {
@@ -19172,10 +19174,195 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19172
19174
  fallback: boolean;
19173
19175
  };
19174
19176
  outputFormat: "json";
19175
- status: import("hono/utils/http-status").ContentfulStatusCode;
19177
+ status: import("hono/utils/http-status").ContentfulStatusCode;
19178
+ input: {
19179
+ json: {
19180
+ task: string;
19181
+ };
19182
+ };
19183
+ };
19184
+ };
19185
+ }, "/"> | import("hono/types").MergeSchemaPath<{
19186
+ "/reports/state": {
19187
+ $get: {
19188
+ output: {
19189
+ error: string;
19190
+ };
19191
+ outputFormat: "json";
19192
+ status: 409;
19193
+ input: {};
19194
+ } | {
19195
+ output: {
19196
+ epoch: string;
19197
+ generation: number;
19198
+ metadataGeneration: number;
19199
+ };
19200
+ outputFormat: "json";
19201
+ status: import("hono/utils/http-status").ContentfulStatusCode;
19202
+ input: {};
19203
+ };
19204
+ };
19205
+ } & {
19206
+ "/reports": {
19207
+ $get: {
19208
+ output: {
19209
+ error: string;
19210
+ code?: "invalid_input" | undefined;
19211
+ };
19212
+ outputFormat: "json";
19213
+ status: 400;
19214
+ input: {
19215
+ query: {
19216
+ q?: string | undefined;
19217
+ before?: string | undefined;
19218
+ limit?: number | undefined;
19219
+ };
19220
+ };
19221
+ } | {
19222
+ output: {
19223
+ error: string;
19224
+ };
19225
+ outputFormat: "json";
19226
+ status: 409;
19227
+ input: {
19228
+ query: {
19229
+ q?: string | undefined;
19230
+ before?: string | undefined;
19231
+ limit?: number | undefined;
19232
+ };
19233
+ };
19234
+ } | {
19235
+ output: {
19236
+ error: string;
19237
+ };
19238
+ outputFormat: "json";
19239
+ status: 400;
19240
+ input: {
19241
+ query: {
19242
+ q?: string | undefined;
19243
+ before?: string | undefined;
19244
+ limit?: number | undefined;
19245
+ };
19246
+ };
19247
+ } | {
19248
+ output: {
19249
+ reports: {
19250
+ id: string;
19251
+ runId: string;
19252
+ name: string;
19253
+ title: string;
19254
+ createdAt: string;
19255
+ size: number;
19256
+ taskTitle: string;
19257
+ taskStatus: "cancelled" | "done" | "failed" | "queued" | "review" | "running" | "waiting";
19258
+ }[];
19259
+ nextCursor: string | null;
19260
+ total: number;
19261
+ };
19262
+ outputFormat: "json";
19263
+ status: import("hono/utils/http-status").ContentfulStatusCode;
19264
+ input: {
19265
+ query: {
19266
+ q?: string | undefined;
19267
+ before?: string | undefined;
19268
+ limit?: number | undefined;
19269
+ };
19270
+ };
19271
+ };
19272
+ };
19273
+ }, "/"> | import("hono/types").MergeSchemaPath<{
19274
+ "/voice/decide": {
19275
+ $post: {
19276
+ output: {
19277
+ error: string;
19278
+ };
19279
+ outputFormat: "json";
19280
+ status: 503;
19281
+ input: {
19282
+ json: {
19283
+ text: string;
19284
+ sidebarView: "active" | "automations";
19285
+ openRunId?: string | undefined;
19286
+ view?: "automations" | "git" | "github" | "inbox" | "new-task" | "other" | "settings" | "task" | undefined;
19287
+ askRequestId?: string | null | undefined;
19288
+ proposal?: {
19289
+ decisionId: string;
19290
+ action: "answer" | "tell";
19291
+ } | undefined;
19292
+ };
19293
+ };
19294
+ } | {
19295
+ output: {
19296
+ action: "open";
19297
+ decisionId: string;
19298
+ status: "archived" | "cancelled" | "done" | "failed" | "finished" | "monitoring" | "needs-permission" | "needs-review" | "needs-you" | "queued" | "running" | "scheduled" | "unread" | "waiting-for-capacity" | "waiting-for-ci" | "waiting-on-workers" | "working";
19299
+ position: number | "last" | "next" | "previous";
19300
+ confidence: number;
19301
+ alternatives?: {
19302
+ status: "archived" | "cancelled" | "done" | "failed" | "finished" | "monitoring" | "needs-permission" | "needs-review" | "needs-you" | "queued" | "running" | "scheduled" | "unread" | "waiting-for-capacity" | "waiting-for-ci" | "waiting-on-workers" | "working";
19303
+ position: number | "last" | "next" | "previous";
19304
+ }[] | undefined;
19305
+ } | {
19306
+ action: "answer";
19307
+ decisionId: string;
19308
+ runId: string;
19309
+ askRequestId: string;
19310
+ answers: ({
19311
+ question: number;
19312
+ kind: "option";
19313
+ labels: string[];
19314
+ } | {
19315
+ question: number;
19316
+ kind: "other";
19317
+ text: string;
19318
+ })[];
19319
+ confidence: number;
19320
+ } | {
19321
+ action: "tell";
19322
+ decisionId: string;
19323
+ runId: string;
19324
+ text: string;
19325
+ confidence: number;
19326
+ } | {
19327
+ action: "confirm";
19328
+ decisionId: string;
19329
+ } | {
19330
+ action: "cancel";
19331
+ decisionId: string;
19332
+ } | {
19333
+ action: "none";
19334
+ decisionId: string;
19335
+ reason: "ambiguous" | "no-open-question" | "no-open-task" | "not-a-command" | "stale-context" | "unclear" | "unsupported";
19336
+ };
19337
+ outputFormat: "json";
19338
+ status: 200;
19339
+ input: {
19340
+ json: {
19341
+ text: string;
19342
+ sidebarView: "active" | "automations";
19343
+ openRunId?: string | undefined;
19344
+ view?: "automations" | "git" | "github" | "inbox" | "new-task" | "other" | "settings" | "task" | undefined;
19345
+ askRequestId?: string | null | undefined;
19346
+ proposal?: {
19347
+ decisionId: string;
19348
+ action: "answer" | "tell";
19349
+ } | undefined;
19350
+ };
19351
+ };
19352
+ };
19353
+ };
19354
+ } & {
19355
+ "/voice/outcome": {
19356
+ $post: {
19357
+ output: {
19358
+ ok: true;
19359
+ };
19360
+ outputFormat: "json";
19361
+ status: 200;
19176
19362
  input: {
19177
19363
  json: {
19178
- task: string;
19364
+ decisionId: string;
19365
+ outcome: "abandoned" | "cancelled" | "confirmed" | "executed" | "replaced";
19179
19366
  };
19180
19367
  };
19181
19368
  };
@@ -19610,103 +19797,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19610
19797
  };
19611
19798
  };
19612
19799
  };
19613
- }, "/"> | import("hono/types").MergeSchemaPath<{
19614
- "/voice/decide": {
19615
- $post: {
19616
- output: {
19617
- error: string;
19618
- };
19619
- outputFormat: "json";
19620
- status: 503;
19621
- input: {
19622
- json: {
19623
- text: string;
19624
- sidebarView: "active" | "automations";
19625
- openRunId?: string | undefined;
19626
- view?: "automations" | "git" | "github" | "inbox" | "new-task" | "other" | "settings" | "task" | undefined;
19627
- askRequestId?: string | null | undefined;
19628
- proposal?: {
19629
- decisionId: string;
19630
- action: "answer" | "tell";
19631
- } | undefined;
19632
- };
19633
- };
19634
- } | {
19635
- output: {
19636
- action: "open";
19637
- decisionId: string;
19638
- status: "archived" | "cancelled" | "done" | "failed" | "finished" | "monitoring" | "needs-permission" | "needs-review" | "needs-you" | "queued" | "running" | "scheduled" | "unread" | "waiting-for-capacity" | "waiting-for-ci" | "waiting-on-workers" | "working";
19639
- position: number | "last" | "next" | "previous";
19640
- confidence: number;
19641
- alternatives?: {
19642
- status: "archived" | "cancelled" | "done" | "failed" | "finished" | "monitoring" | "needs-permission" | "needs-review" | "needs-you" | "queued" | "running" | "scheduled" | "unread" | "waiting-for-capacity" | "waiting-for-ci" | "waiting-on-workers" | "working";
19643
- position: number | "last" | "next" | "previous";
19644
- }[] | undefined;
19645
- } | {
19646
- action: "answer";
19647
- decisionId: string;
19648
- runId: string;
19649
- askRequestId: string;
19650
- answers: ({
19651
- question: number;
19652
- kind: "option";
19653
- labels: string[];
19654
- } | {
19655
- question: number;
19656
- kind: "other";
19657
- text: string;
19658
- })[];
19659
- confidence: number;
19660
- } | {
19661
- action: "tell";
19662
- decisionId: string;
19663
- runId: string;
19664
- text: string;
19665
- confidence: number;
19666
- } | {
19667
- action: "confirm";
19668
- decisionId: string;
19669
- } | {
19670
- action: "cancel";
19671
- decisionId: string;
19672
- } | {
19673
- action: "none";
19674
- decisionId: string;
19675
- reason: "ambiguous" | "no-open-question" | "no-open-task" | "not-a-command" | "stale-context" | "unclear" | "unsupported";
19676
- };
19677
- outputFormat: "json";
19678
- status: 200;
19679
- input: {
19680
- json: {
19681
- text: string;
19682
- sidebarView: "active" | "automations";
19683
- openRunId?: string | undefined;
19684
- view?: "automations" | "git" | "github" | "inbox" | "new-task" | "other" | "settings" | "task" | undefined;
19685
- askRequestId?: string | null | undefined;
19686
- proposal?: {
19687
- decisionId: string;
19688
- action: "answer" | "tell";
19689
- } | undefined;
19690
- };
19691
- };
19692
- };
19693
- };
19694
- } & {
19695
- "/voice/outcome": {
19696
- $post: {
19697
- output: {
19698
- ok: true;
19699
- };
19700
- outputFormat: "json";
19701
- status: 200;
19702
- input: {
19703
- json: {
19704
- decisionId: string;
19705
- outcome: "abandoned" | "cancelled" | "confirmed" | "executed" | "replaced";
19706
- };
19707
- };
19708
- };
19709
- };
19710
19800
  }, "/"> | import("hono/types").MergeSchemaPath<{
19711
19801
  "/agent-webhooks": {
19712
19802
  $get: {
@@ -19790,94 +19880,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19790
19880
  };
19791
19881
  };
19792
19882
  };
19793
- }, "/"> | import("hono/types").MergeSchemaPath<{
19794
- "/reports/state": {
19795
- $get: {
19796
- output: {
19797
- error: string;
19798
- };
19799
- outputFormat: "json";
19800
- status: 409;
19801
- input: {};
19802
- } | {
19803
- output: {
19804
- epoch: string;
19805
- generation: number;
19806
- metadataGeneration: number;
19807
- };
19808
- outputFormat: "json";
19809
- status: import("hono/utils/http-status").ContentfulStatusCode;
19810
- input: {};
19811
- };
19812
- };
19813
- } & {
19814
- "/reports": {
19815
- $get: {
19816
- output: {
19817
- error: string;
19818
- code?: "invalid_input" | undefined;
19819
- };
19820
- outputFormat: "json";
19821
- status: 400;
19822
- input: {
19823
- query: {
19824
- q?: string | undefined;
19825
- before?: string | undefined;
19826
- limit?: number | undefined;
19827
- };
19828
- };
19829
- } | {
19830
- output: {
19831
- error: string;
19832
- };
19833
- outputFormat: "json";
19834
- status: 409;
19835
- input: {
19836
- query: {
19837
- q?: string | undefined;
19838
- before?: string | undefined;
19839
- limit?: number | undefined;
19840
- };
19841
- };
19842
- } | {
19843
- output: {
19844
- error: string;
19845
- };
19846
- outputFormat: "json";
19847
- status: 400;
19848
- input: {
19849
- query: {
19850
- q?: string | undefined;
19851
- before?: string | undefined;
19852
- limit?: number | undefined;
19853
- };
19854
- };
19855
- } | {
19856
- output: {
19857
- reports: {
19858
- id: string;
19859
- runId: string;
19860
- name: string;
19861
- title: string;
19862
- createdAt: string;
19863
- size: number;
19864
- taskTitle: string;
19865
- taskStatus: "cancelled" | "done" | "failed" | "queued" | "review" | "running" | "waiting";
19866
- }[];
19867
- nextCursor: string | null;
19868
- total: number;
19869
- };
19870
- outputFormat: "json";
19871
- status: import("hono/utils/http-status").ContentfulStatusCode;
19872
- input: {
19873
- query: {
19874
- q?: string | undefined;
19875
- before?: string | undefined;
19876
- limit?: number | undefined;
19877
- };
19878
- };
19879
- };
19880
- };
19881
19883
  }, "/"> | import("hono/types").MergeSchemaPath<{
19882
19884
  "/skills": {
19883
19885
  $get: {
@@ -24609,35 +24611,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
24609
24611
  } & {
24610
24612
  "/runs/:id/worker-destroy": {
24611
24613
  $post: {
24612
- output: {
24613
- readonly code: "capacity_limit" | "denied_scope" | "incompatible_state" | "incomplete_cleanup" | "invalid_baseline" | "invalid_input" | "unauthenticated" | "unavailable_diff" | "unavailable_transport";
24614
- readonly error: string;
24615
- readonly modelChoices?: {
24616
- runner: "claude" | "codex" | "cursor" | "omp" | "opencode" | "pi";
24617
- requestedModel: string;
24618
- availableModels: {
24619
- id: string;
24620
- label: string;
24621
- description: string;
24622
- effortLevels?: ("high" | "low" | "max" | "medium" | "xhigh")[] | undefined;
24623
- }[];
24624
- otherRunners: ("claude" | "codex" | "cursor" | "omp" | "opencode" | "pi")[];
24625
- } | undefined;
24626
- };
24627
- outputFormat: "json";
24628
- status: 400 | 401 | 403 | 409 | 503;
24629
- input: {
24630
- query: {
24631
- [x: string]: string | string[];
24632
- };
24633
- } & {
24634
- param: {
24635
- id: string;
24636
- };
24637
- } & {
24638
- json: Record<string, never>;
24639
- };
24640
- } | {
24641
24614
  output: {
24642
24615
  error: string;
24643
24616
  code?: "invalid_input" | undefined;
@@ -24709,6 +24682,35 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
24709
24682
  } & {
24710
24683
  json: Record<string, never>;
24711
24684
  };
24685
+ } | {
24686
+ output: {
24687
+ readonly code: "capacity_limit" | "denied_scope" | "incompatible_state" | "incomplete_cleanup" | "invalid_baseline" | "invalid_input" | "unauthenticated" | "unavailable_diff" | "unavailable_transport";
24688
+ readonly error: string;
24689
+ readonly modelChoices?: {
24690
+ runner: "claude" | "codex" | "cursor" | "omp" | "opencode" | "pi";
24691
+ requestedModel: string;
24692
+ availableModels: {
24693
+ id: string;
24694
+ label: string;
24695
+ description: string;
24696
+ effortLevels?: ("high" | "low" | "max" | "medium" | "xhigh")[] | undefined;
24697
+ }[];
24698
+ otherRunners: ("claude" | "codex" | "cursor" | "omp" | "opencode" | "pi")[];
24699
+ } | undefined;
24700
+ };
24701
+ outputFormat: "json";
24702
+ status: 400 | 401 | 403 | 409 | 503;
24703
+ input: {
24704
+ query: {
24705
+ [x: string]: string | string[];
24706
+ };
24707
+ } & {
24708
+ param: {
24709
+ id: string;
24710
+ };
24711
+ } & {
24712
+ json: Record<string, never>;
24713
+ };
24712
24714
  };
24713
24715
  };
24714
24716
  } & {