@hearsay-tools/squawk 0.18.0-pr3442.6029 → 0.18.0-pr3444.6033

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 (46) hide show
  1. package/dist/core/structured-output.d.ts +9 -0
  2. package/dist/core/structured-output.js +64 -0
  3. package/dist/core/structured-output.js.map +1 -0
  4. package/dist/delegation/routes.d.ts +15 -15
  5. package/dist/delegation/transport.d.ts +16 -16
  6. package/dist/home/recovery.d.ts +0 -1
  7. package/dist/home/recovery.js +0 -1
  8. package/dist/home/recovery.js.map +1 -1
  9. package/dist/planner.d.ts +1 -8
  10. package/dist/planner.js +2 -63
  11. package/dist/planner.js.map +1 -1
  12. package/dist/runs/auto-name.js +1 -1
  13. package/dist/runs/auto-name.js.map +1 -1
  14. package/dist/server/activity-routes.d.ts +23 -23
  15. package/dist/server/home-recovery-routes.js +2 -1
  16. package/dist/server/home-recovery-routes.js.map +1 -1
  17. package/dist/server/server.d.ts +448 -448
  18. package/dist/workflows/run/input-delivery.d.ts +1 -1
  19. package/dist/workflows/run/input-delivery.js +3 -4
  20. package/dist/workflows/run/input-delivery.js.map +1 -1
  21. package/package.json +4 -4
  22. package/web/dist/assets/{activity-motion-Dwbj6jhc.js → activity-motion-Bqd8S9Xy.js} +1 -1
  23. package/web/dist/assets/{activity-route-B-nNOAut.js → activity-route-DQI_8J09.js} +1 -1
  24. package/web/dist/assets/{commit-diff-panel-B2Qdz87E.js → commit-diff-panel-C7BUSPzE.js} +1 -1
  25. package/web/dist/assets/{diff-CCAF-_Tw.js → diff-Bwy0qFul.js} +2 -2
  26. package/web/dist/assets/{diff-view-QR0DptKW.js → diff-view-B9kgeZTm.js} +1 -1
  27. package/web/dist/assets/{file-preview-BwwNesW1.js → file-preview-DrXgM1-S.js} +1 -1
  28. package/web/dist/assets/{git-toolbar-DnQ6mcCv.js → git-toolbar-B1gOn_1U.js} +1 -1
  29. package/web/dist/assets/{github-BO-xp8-S.js → github-g-ZOTwHQ.js} +1 -1
  30. package/web/dist/assets/{global-activity-route-D_S1cV1-.js → global-activity-route-CZ_xwiz3.js} +1 -1
  31. package/web/dist/assets/{index-CdSsfytt.js → index-75IttVLX.js} +3 -3
  32. package/web/dist/assets/{preview-pane-connected-C9CbBLtp.js → preview-pane-connected-Cx8q-Yrh.js} +1 -1
  33. package/web/dist/assets/{repo-git-MeMneNTw.js → repo-git-DgZuI4FP.js} +1 -1
  34. package/web/dist/assets/{report-reader-CaZy8pSu.js → report-reader-CeBtx_Sf.js} +1 -1
  35. package/web/dist/assets/{reports-CPGzrxb8.js → reports-CRPxIRMM.js} +1 -1
  36. package/web/dist/assets/{run-header-tIYs73n7.js → run-header-C8Eeonkx.js} +1 -1
  37. package/web/dist/assets/{skills-BlAVNiGG.js → skills-DDoJCcmD.js} +1 -1
  38. package/web/dist/assets/{task-changes-CBQkLl6y.js → task-changes-XAcKfebn.js} +1 -1
  39. package/web/dist/assets/{task-commits-C4-HlmaT.js → task-commits-D5V0Q0au.js} +1 -1
  40. package/web/dist/assets/{task-files-BQRbuPWR.js → task-files-CkPJZE0w.js} +1 -1
  41. package/web/dist/assets/{task-github-item-KnVPnf4G.js → task-github-item-CbCOKkvp.js} +1 -1
  42. package/web/dist/assets/{task-thread-PNFt0OaW.js → task-thread-DyR8HsDz.js} +3 -3
  43. package/web/dist/assets/{thread-state-CTnsGWoU.js → thread-state-BtmIMbkZ.js} +1 -1
  44. package/web/dist/assets/{use-hand-to-agent-state-xcHiowJm.js → use-hand-to-agent-state-BUpbMYM9.js} +1 -1
  45. package/web/dist/assets/{workflows-YRUh1J50.js → workflows-CEFtJj_h.js} +1 -1
  46. package/web/dist/index.html +1 -1
@@ -3303,6 +3303,191 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3303
3303
  };
3304
3304
  };
3305
3305
  };
3306
+ }, "/"> | import("hono/types").MergeSchemaPath<{
3307
+ "/reports/state": {
3308
+ $get: {
3309
+ output: {
3310
+ error: string;
3311
+ };
3312
+ outputFormat: "json";
3313
+ status: 409;
3314
+ input: {};
3315
+ } | {
3316
+ output: {
3317
+ epoch: string;
3318
+ generation: number;
3319
+ metadataGeneration: number;
3320
+ };
3321
+ outputFormat: "json";
3322
+ status: import("hono/utils/http-status").ContentfulStatusCode;
3323
+ input: {};
3324
+ };
3325
+ };
3326
+ } & {
3327
+ "/reports": {
3328
+ $get: {
3329
+ output: {
3330
+ error: string;
3331
+ code?: "invalid_input" | undefined;
3332
+ };
3333
+ outputFormat: "json";
3334
+ status: 400;
3335
+ input: {
3336
+ query: {
3337
+ q?: string | undefined;
3338
+ before?: string | undefined;
3339
+ limit?: number | undefined;
3340
+ };
3341
+ };
3342
+ } | {
3343
+ output: {
3344
+ error: string;
3345
+ };
3346
+ outputFormat: "json";
3347
+ status: 409;
3348
+ input: {
3349
+ query: {
3350
+ q?: string | undefined;
3351
+ before?: string | undefined;
3352
+ limit?: number | undefined;
3353
+ };
3354
+ };
3355
+ } | {
3356
+ output: {
3357
+ error: string;
3358
+ };
3359
+ outputFormat: "json";
3360
+ status: 400;
3361
+ input: {
3362
+ query: {
3363
+ q?: string | undefined;
3364
+ before?: string | undefined;
3365
+ limit?: number | undefined;
3366
+ };
3367
+ };
3368
+ } | {
3369
+ output: {
3370
+ reports: {
3371
+ id: string;
3372
+ runId: string;
3373
+ name: string;
3374
+ title: string;
3375
+ createdAt: string;
3376
+ size: number;
3377
+ taskTitle: string;
3378
+ taskStatus: "cancelled" | "done" | "failed" | "queued" | "review" | "running" | "waiting";
3379
+ }[];
3380
+ nextCursor: string | null;
3381
+ total: number;
3382
+ };
3383
+ outputFormat: "json";
3384
+ status: import("hono/utils/http-status").ContentfulStatusCode;
3385
+ input: {
3386
+ query: {
3387
+ q?: string | undefined;
3388
+ before?: string | undefined;
3389
+ limit?: number | undefined;
3390
+ };
3391
+ };
3392
+ };
3393
+ };
3394
+ }, "/"> | import("hono/types").MergeSchemaPath<{
3395
+ "/voice/decide": {
3396
+ $post: {
3397
+ output: {
3398
+ error: string;
3399
+ };
3400
+ outputFormat: "json";
3401
+ status: 503;
3402
+ input: {
3403
+ json: {
3404
+ text: string;
3405
+ sidebarView: "active" | "automations";
3406
+ openRunId?: string | undefined;
3407
+ view?: "automations" | "git" | "github" | "inbox" | "new-task" | "other" | "settings" | "task" | undefined;
3408
+ askRequestId?: string | null | undefined;
3409
+ proposal?: {
3410
+ decisionId: string;
3411
+ action: "answer" | "tell";
3412
+ } | undefined;
3413
+ };
3414
+ };
3415
+ } | {
3416
+ output: {
3417
+ action: "open";
3418
+ decisionId: string;
3419
+ 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";
3420
+ position: number | "last" | "next" | "previous";
3421
+ confidence: number;
3422
+ alternatives?: {
3423
+ 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";
3424
+ position: number | "last" | "next" | "previous";
3425
+ }[] | undefined;
3426
+ } | {
3427
+ action: "answer";
3428
+ decisionId: string;
3429
+ runId: string;
3430
+ askRequestId: string;
3431
+ answers: ({
3432
+ question: number;
3433
+ kind: "option";
3434
+ labels: string[];
3435
+ } | {
3436
+ question: number;
3437
+ kind: "other";
3438
+ text: string;
3439
+ })[];
3440
+ confidence: number;
3441
+ } | {
3442
+ action: "tell";
3443
+ decisionId: string;
3444
+ runId: string;
3445
+ text: string;
3446
+ confidence: number;
3447
+ } | {
3448
+ action: "confirm";
3449
+ decisionId: string;
3450
+ } | {
3451
+ action: "cancel";
3452
+ decisionId: string;
3453
+ } | {
3454
+ action: "none";
3455
+ decisionId: string;
3456
+ reason: "ambiguous" | "no-open-question" | "no-open-task" | "not-a-command" | "stale-context" | "unclear" | "unsupported";
3457
+ };
3458
+ outputFormat: "json";
3459
+ status: 200;
3460
+ input: {
3461
+ json: {
3462
+ text: string;
3463
+ sidebarView: "active" | "automations";
3464
+ openRunId?: string | undefined;
3465
+ view?: "automations" | "git" | "github" | "inbox" | "new-task" | "other" | "settings" | "task" | undefined;
3466
+ askRequestId?: string | null | undefined;
3467
+ proposal?: {
3468
+ decisionId: string;
3469
+ action: "answer" | "tell";
3470
+ } | undefined;
3471
+ };
3472
+ };
3473
+ };
3474
+ };
3475
+ } & {
3476
+ "/voice/outcome": {
3477
+ $post: {
3478
+ output: {
3479
+ ok: true;
3480
+ };
3481
+ outputFormat: "json";
3482
+ status: 200;
3483
+ input: {
3484
+ json: {
3485
+ decisionId: string;
3486
+ outcome: "abandoned" | "cancelled" | "confirmed" | "executed" | "replaced";
3487
+ };
3488
+ };
3489
+ };
3490
+ };
3306
3491
  }, "/"> | import("hono/types").MergeSchemaPath<{
3307
3492
  "/ui-state": {
3308
3493
  $get: {
@@ -3733,103 +3918,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3733
3918
  };
3734
3919
  };
3735
3920
  };
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
3921
  }, "/"> | import("hono/types").MergeSchemaPath<{
3834
3922
  "/agent-webhooks": {
3835
3923
  $get: {
@@ -3871,132 +3959,44 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3871
3959
  error: string;
3872
3960
  };
3873
3961
  outputFormat: "json";
3874
- status: 404;
3875
- input: {
3876
- param: {
3877
- webhook: string;
3878
- };
3879
- } & {
3880
- json: {
3881
- runId?: string | undefined;
3882
- title?: string | undefined;
3883
- message: string;
3884
- data?: Record<string, unknown> | undefined;
3885
- };
3886
- };
3887
- } | {
3888
- output: {
3889
- 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;
3962
+ status: 404;
3963
+ input: {
3964
+ param: {
3965
+ webhook: string;
3966
+ };
3967
+ } & {
3968
+ json: {
3969
+ runId?: string | undefined;
3970
+ title?: string | undefined;
3971
+ message: string;
3972
+ data?: Record<string, unknown> | undefined;
3976
3973
  };
3977
3974
  };
3978
3975
  } | {
3979
3976
  output: {
3980
- reports: {
3977
+ ok: boolean;
3978
+ webhook: {
3981
3979
  id: string;
3982
- runId: string;
3983
3980
  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;
3981
+ };
3982
+ deliveryId: string;
3983
+ attempts: number;
3984
+ status?: number | undefined;
3985
+ error?: string | undefined;
3986
+ dryRun?: boolean | undefined;
3992
3987
  };
3993
3988
  outputFormat: "json";
3994
3989
  status: import("hono/utils/http-status").ContentfulStatusCode;
3995
3990
  input: {
3996
- query: {
3997
- q?: string | undefined;
3998
- before?: string | undefined;
3999
- limit?: number | undefined;
3991
+ param: {
3992
+ webhook: string;
3993
+ };
3994
+ } & {
3995
+ json: {
3996
+ runId?: string | undefined;
3997
+ title?: string | undefined;
3998
+ message: string;
3999
+ data?: Record<string, unknown> | undefined;
4000
4000
  };
4001
4001
  };
4002
4002
  };
@@ -19115,67 +19115,252 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19115
19115
  deleted: true;
19116
19116
  };
19117
19117
  outputFormat: "json";
19118
- status: import("hono/utils/http-status").ContentfulStatusCode;
19118
+ status: import("hono/utils/http-status").ContentfulStatusCode;
19119
+ input: {
19120
+ param: {
19121
+ id: string;
19122
+ };
19123
+ };
19124
+ };
19125
+ };
19126
+ }, "/">, "/api/v1"> | import("hono/types").MergeSchemaPath<import("hono/types").BlankSchema | import("hono/types").MergeSchemaPath<{
19127
+ "/launch-key": {
19128
+ $get: {
19129
+ output: {
19130
+ key: string;
19131
+ };
19132
+ outputFormat: "json";
19133
+ status: import("hono/utils/http-status").ContentfulStatusCode;
19134
+ input: {};
19135
+ };
19136
+ };
19137
+ }, "/"> | import("hono/types").MergeSchemaPath<{
19138
+ "/plan": {
19139
+ $post: {
19140
+ output: {
19141
+ error: string;
19142
+ };
19143
+ outputFormat: "json";
19144
+ status: 409;
19145
+ input: {
19146
+ json: {
19147
+ task: string;
19148
+ };
19149
+ };
19150
+ } | {
19151
+ output: {
19152
+ name?: string;
19153
+ steps: {
19154
+ id: string;
19155
+ name?: string | undefined;
19156
+ prompt?: string | undefined;
19157
+ skill?: string | undefined;
19158
+ model?: string | undefined;
19159
+ effort?: string | undefined;
19160
+ timeoutMs?: number | undefined;
19161
+ runner?: "claude" | "codex" | "cursor" | "omp" | "opencode" | "pi" | undefined;
19162
+ agentProfile?: string | undefined;
19163
+ allowedTools?: string[] | undefined;
19164
+ bashAllowlist?: string[] | undefined;
19165
+ command?: string | undefined;
19166
+ onFail?: {
19167
+ retry: string;
19168
+ max: number;
19169
+ } | undefined;
19170
+ }[];
19171
+ rationale: string;
19172
+ fallback: boolean;
19173
+ };
19174
+ outputFormat: "json";
19175
+ status: import("hono/utils/http-status").ContentfulStatusCode;
19176
+ input: {
19177
+ json: {
19178
+ task: string;
19179
+ };
19180
+ };
19181
+ };
19182
+ };
19183
+ }, "/"> | import("hono/types").MergeSchemaPath<{
19184
+ "/reports/state": {
19185
+ $get: {
19186
+ output: {
19187
+ error: string;
19188
+ };
19189
+ outputFormat: "json";
19190
+ status: 409;
19191
+ input: {};
19192
+ } | {
19193
+ output: {
19194
+ epoch: string;
19195
+ generation: number;
19196
+ metadataGeneration: number;
19197
+ };
19198
+ outputFormat: "json";
19199
+ status: import("hono/utils/http-status").ContentfulStatusCode;
19200
+ input: {};
19201
+ };
19202
+ };
19203
+ } & {
19204
+ "/reports": {
19205
+ $get: {
19206
+ output: {
19207
+ error: string;
19208
+ code?: "invalid_input" | undefined;
19209
+ };
19210
+ outputFormat: "json";
19211
+ status: 400;
19212
+ input: {
19213
+ query: {
19214
+ q?: string | undefined;
19215
+ before?: string | undefined;
19216
+ limit?: number | undefined;
19217
+ };
19218
+ };
19219
+ } | {
19220
+ output: {
19221
+ error: string;
19222
+ };
19223
+ outputFormat: "json";
19224
+ status: 409;
19225
+ input: {
19226
+ query: {
19227
+ q?: string | undefined;
19228
+ before?: string | undefined;
19229
+ limit?: number | undefined;
19230
+ };
19231
+ };
19232
+ } | {
19233
+ output: {
19234
+ error: string;
19235
+ };
19236
+ outputFormat: "json";
19237
+ status: 400;
19238
+ input: {
19239
+ query: {
19240
+ q?: string | undefined;
19241
+ before?: string | undefined;
19242
+ limit?: number | undefined;
19243
+ };
19244
+ };
19245
+ } | {
19246
+ output: {
19247
+ reports: {
19248
+ id: string;
19249
+ runId: string;
19250
+ name: string;
19251
+ title: string;
19252
+ createdAt: string;
19253
+ size: number;
19254
+ taskTitle: string;
19255
+ taskStatus: "cancelled" | "done" | "failed" | "queued" | "review" | "running" | "waiting";
19256
+ }[];
19257
+ nextCursor: string | null;
19258
+ total: number;
19259
+ };
19260
+ outputFormat: "json";
19261
+ status: import("hono/utils/http-status").ContentfulStatusCode;
19262
+ input: {
19263
+ query: {
19264
+ q?: string | undefined;
19265
+ before?: string | undefined;
19266
+ limit?: number | undefined;
19267
+ };
19268
+ };
19269
+ };
19270
+ };
19271
+ }, "/"> | import("hono/types").MergeSchemaPath<{
19272
+ "/voice/decide": {
19273
+ $post: {
19274
+ output: {
19275
+ error: string;
19276
+ };
19277
+ outputFormat: "json";
19278
+ status: 503;
19279
+ input: {
19280
+ json: {
19281
+ text: string;
19282
+ sidebarView: "active" | "automations";
19283
+ openRunId?: string | undefined;
19284
+ view?: "automations" | "git" | "github" | "inbox" | "new-task" | "other" | "settings" | "task" | undefined;
19285
+ askRequestId?: string | null | undefined;
19286
+ proposal?: {
19287
+ decisionId: string;
19288
+ action: "answer" | "tell";
19289
+ } | undefined;
19290
+ };
19291
+ };
19292
+ } | {
19293
+ output: {
19294
+ action: "open";
19295
+ decisionId: string;
19296
+ 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";
19297
+ position: number | "last" | "next" | "previous";
19298
+ confidence: number;
19299
+ alternatives?: {
19300
+ 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";
19301
+ position: number | "last" | "next" | "previous";
19302
+ }[] | undefined;
19303
+ } | {
19304
+ action: "answer";
19305
+ decisionId: string;
19306
+ runId: string;
19307
+ askRequestId: string;
19308
+ answers: ({
19309
+ question: number;
19310
+ kind: "option";
19311
+ labels: string[];
19312
+ } | {
19313
+ question: number;
19314
+ kind: "other";
19315
+ text: string;
19316
+ })[];
19317
+ confidence: number;
19318
+ } | {
19319
+ action: "tell";
19320
+ decisionId: string;
19321
+ runId: string;
19322
+ text: string;
19323
+ confidence: number;
19324
+ } | {
19325
+ action: "confirm";
19326
+ decisionId: string;
19327
+ } | {
19328
+ action: "cancel";
19329
+ decisionId: string;
19330
+ } | {
19331
+ action: "none";
19332
+ decisionId: string;
19333
+ reason: "ambiguous" | "no-open-question" | "no-open-task" | "not-a-command" | "stale-context" | "unclear" | "unsupported";
19334
+ };
19335
+ outputFormat: "json";
19336
+ status: 200;
19119
19337
  input: {
19120
- param: {
19121
- id: string;
19338
+ json: {
19339
+ text: string;
19340
+ sidebarView: "active" | "automations";
19341
+ openRunId?: string | undefined;
19342
+ view?: "automations" | "git" | "github" | "inbox" | "new-task" | "other" | "settings" | "task" | undefined;
19343
+ askRequestId?: string | null | undefined;
19344
+ proposal?: {
19345
+ decisionId: string;
19346
+ action: "answer" | "tell";
19347
+ } | undefined;
19122
19348
  };
19123
19349
  };
19124
19350
  };
19125
19351
  };
19126
- }, "/">, "/api/v1"> | import("hono/types").MergeSchemaPath<import("hono/types").BlankSchema | import("hono/types").MergeSchemaPath<{
19127
- "/launch-key": {
19128
- $get: {
19129
- output: {
19130
- key: string;
19131
- };
19132
- outputFormat: "json";
19133
- status: import("hono/utils/http-status").ContentfulStatusCode;
19134
- input: {};
19135
- };
19136
- };
19137
- }, "/"> | import("hono/types").MergeSchemaPath<{
19138
- "/plan": {
19352
+ } & {
19353
+ "/voice/outcome": {
19139
19354
  $post: {
19140
19355
  output: {
19141
- error: string;
19142
- };
19143
- outputFormat: "json";
19144
- status: 409;
19145
- input: {
19146
- json: {
19147
- task: string;
19148
- };
19149
- };
19150
- } | {
19151
- output: {
19152
- name?: string;
19153
- steps: {
19154
- id: string;
19155
- name?: string | undefined;
19156
- prompt?: string | undefined;
19157
- skill?: string | undefined;
19158
- model?: string | undefined;
19159
- effort?: string | undefined;
19160
- timeoutMs?: number | undefined;
19161
- runner?: "claude" | "codex" | "cursor" | "omp" | "opencode" | "pi" | undefined;
19162
- agentProfile?: string | undefined;
19163
- allowedTools?: string[] | undefined;
19164
- bashAllowlist?: string[] | undefined;
19165
- command?: string | undefined;
19166
- onFail?: {
19167
- retry: string;
19168
- max: number;
19169
- } | undefined;
19170
- }[];
19171
- rationale: string;
19172
- fallback: boolean;
19356
+ ok: true;
19173
19357
  };
19174
19358
  outputFormat: "json";
19175
- status: import("hono/utils/http-status").ContentfulStatusCode;
19359
+ status: 200;
19176
19360
  input: {
19177
19361
  json: {
19178
- task: string;
19362
+ decisionId: string;
19363
+ outcome: "abandoned" | "cancelled" | "confirmed" | "executed" | "replaced";
19179
19364
  };
19180
19365
  };
19181
19366
  };
@@ -19610,103 +19795,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19610
19795
  };
19611
19796
  };
19612
19797
  };
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
19798
  }, "/"> | import("hono/types").MergeSchemaPath<{
19711
19799
  "/agent-webhooks": {
19712
19800
  $get: {
@@ -19790,94 +19878,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19790
19878
  };
19791
19879
  };
19792
19880
  };
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
19881
  }, "/"> | import("hono/types").MergeSchemaPath<{
19882
19882
  "/skills": {
19883
19883
  $get: {