@hearsay-tools/squawk 0.18.0-pr3433.6018 → 0.18.0-pr3434.6072

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 (118) 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/autosave-commit.d.ts +52 -0
  5. package/dist/autosave-commit.js +378 -0
  6. package/dist/autosave-commit.js.map +1 -0
  7. package/dist/ci-wait/controller.d.ts +37 -37
  8. package/dist/ci-wait/tool-catalog.js +2 -1
  9. package/dist/ci-wait/tool-catalog.js.map +1 -1
  10. package/dist/ci-wait/tools.d.ts +4 -4
  11. package/dist/core/structured-output.d.ts +9 -0
  12. package/dist/core/structured-output.js +64 -0
  13. package/dist/core/structured-output.js.map +1 -0
  14. package/dist/delegation/routes.d.ts +15 -15
  15. package/dist/delegation/transport.d.ts +15 -15
  16. package/dist/git-worktree.d.ts +0 -52
  17. package/dist/git-worktree.js +2 -374
  18. package/dist/git-worktree.js.map +1 -1
  19. package/dist/home/recovery.d.ts +0 -1
  20. package/dist/home/recovery.js +0 -1
  21. package/dist/home/recovery.js.map +1 -1
  22. package/dist/planner.d.ts +1 -8
  23. package/dist/planner.js +2 -63
  24. package/dist/planner.js.map +1 -1
  25. package/dist/runs/auto-name.js +1 -1
  26. package/dist/runs/auto-name.js.map +1 -1
  27. package/dist/runs/webhook.d.ts +1 -3
  28. package/dist/runs/webhook.js +2 -10
  29. package/dist/runs/webhook.js.map +1 -1
  30. package/dist/server/capabilities.js +2 -1
  31. package/dist/server/capabilities.js.map +1 -1
  32. package/dist/server/forge/draft-pr.js +1 -1
  33. package/dist/server/forge/draft-pr.js.map +1 -1
  34. package/dist/server/home-recovery-routes.js +2 -1
  35. package/dist/server/home-recovery-routes.js.map +1 -1
  36. package/dist/server/live-routes.d.ts +6 -6
  37. package/dist/server/reports-api.d.ts +2 -2
  38. package/dist/server/server.d.ts +448 -448
  39. package/dist/voice/routes.d.ts +19 -19
  40. package/dist/workflows/run/continuation-session.d.ts +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/workflows/run/run-settlement.d.ts +1 -1
  47. package/dist/workflows/run/run-settlement.js.map +1 -1
  48. package/dist/workflows/run/worktree-autosave.d.ts +1 -1
  49. package/dist/workflows/run/worktree-autosave.js +1 -1
  50. package/dist/workflows/run/worktree-autosave.js.map +1 -1
  51. package/dist/workspace/registry-entry.d.ts +4 -0
  52. package/dist/workspace/registry-entry.js +11 -0
  53. package/dist/workspace/registry-entry.js.map +1 -0
  54. package/package.json +4 -4
  55. package/scripts/mock-lifecycle.d.mts +2 -0
  56. package/scripts/mock-lifecycle.mjs +5 -1
  57. package/web/dist/assets/activity-motion-uhQPLbuu.js +2 -0
  58. package/web/dist/assets/activity-route-Dkulydc2.js +1 -0
  59. package/web/dist/assets/agent-accounts-BNlpWTOY.js +18 -0
  60. package/web/dist/assets/attention-VmnPpwJx.js +1 -0
  61. package/web/dist/assets/commit-diff-panel-C9GL2tao.js +1 -0
  62. package/web/dist/assets/diff-BbT6HX3u.js +3 -0
  63. package/web/dist/assets/{diff-view-B9kgeZTm.js → diff-view-oyOw4umg.js} +4 -4
  64. package/web/dist/assets/file-preview-BQ0R19La.js +2 -0
  65. package/web/dist/assets/git-toolbar-PeaVnT03.js +1 -0
  66. package/web/dist/assets/github-5L2qkK1k.js +1 -0
  67. package/web/dist/assets/global-activity-route-DLfuJ7Lw.js +1 -0
  68. package/web/dist/assets/index-CFbFtL5O.js +17 -0
  69. package/web/dist/assets/index-DI_O8V74.css +1 -0
  70. package/web/dist/assets/live-refetch-CZb2VOyu.js +1 -0
  71. package/web/dist/assets/popover-G6KGT-qq.js +1 -0
  72. package/web/dist/assets/preview-pane-connected-ClnZeK7_.js +3 -0
  73. package/web/dist/assets/prompt-template-menu-D4-inlE4.js +1 -0
  74. package/web/dist/assets/queries-D2MPDhtr.js +1 -0
  75. package/web/dist/assets/reference-chip-Drpbf-MP.js +1 -0
  76. package/web/dist/assets/repo-git-C5kdJUtx.js +1 -0
  77. package/web/dist/assets/report-reader-C9f7Zevx.js +1 -0
  78. package/web/dist/assets/reports-DLozsIav.js +1 -0
  79. package/web/dist/assets/run-header-gKKxDTom.js +2 -0
  80. package/web/dist/assets/skills-nbFjA9HV.js +1 -0
  81. package/web/dist/assets/task-changes-DcgY25bB.js +1 -0
  82. package/web/dist/assets/task-commits-amSX-bTC.js +1 -0
  83. package/web/dist/assets/task-files-BW4uOVGM.js +1 -0
  84. package/web/dist/assets/task-github-item-CG8dVePG.js +1 -0
  85. package/web/dist/assets/task-thread-BJRqzTFi.js +9 -0
  86. package/web/dist/assets/{thread-state-BtmIMbkZ.js → thread-state-CtFtvKUi.js} +1 -1
  87. package/web/dist/assets/use-hand-to-agent-state-DWLpzA5t.js +1 -0
  88. package/web/dist/assets/workflows-DDM-LFxD.js +7 -0
  89. package/web/dist/index.html +12 -11
  90. package/web/dist/assets/activity-motion-Bqd8S9Xy.js +0 -2
  91. package/web/dist/assets/activity-route-DQI_8J09.js +0 -1
  92. package/web/dist/assets/agent-accounts-C6eyz75V.js +0 -18
  93. package/web/dist/assets/commit-diff-panel-C7BUSPzE.js +0 -1
  94. package/web/dist/assets/control-locations-DlrUP5vD.js +0 -1
  95. package/web/dist/assets/diff-Bwy0qFul.js +0 -3
  96. package/web/dist/assets/file-preview-DrXgM1-S.js +0 -2
  97. package/web/dist/assets/git-toolbar-B1gOn_1U.js +0 -1
  98. package/web/dist/assets/github-g-ZOTwHQ.js +0 -1
  99. package/web/dist/assets/github-sidebar-model-BdoLA7qT.js +0 -1
  100. package/web/dist/assets/global-activity-route-CZ_xwiz3.js +0 -1
  101. package/web/dist/assets/index-75IttVLX.js +0 -17
  102. package/web/dist/assets/index-9YmaiQ1k.css +0 -1
  103. package/web/dist/assets/live-refetch-pzhdhNS_.js +0 -1
  104. package/web/dist/assets/popover-N-u5z2xh.js +0 -1
  105. package/web/dist/assets/preview-pane-connected-Cx8q-Yrh.js +0 -3
  106. package/web/dist/assets/queries-BtScxiQP.js +0 -1
  107. package/web/dist/assets/repo-git-DgZuI4FP.js +0 -1
  108. package/web/dist/assets/report-reader-CeBtx_Sf.js +0 -1
  109. package/web/dist/assets/reports-CRPxIRMM.js +0 -1
  110. package/web/dist/assets/run-header-C8Eeonkx.js +0 -2
  111. package/web/dist/assets/skills-DDoJCcmD.js +0 -1
  112. package/web/dist/assets/task-changes-XAcKfebn.js +0 -1
  113. package/web/dist/assets/task-commits-D5V0Q0au.js +0 -1
  114. package/web/dist/assets/task-files-CkPJZE0w.js +0 -1
  115. package/web/dist/assets/task-github-item-CbCOKkvp.js +0 -1
  116. package/web/dist/assets/task-thread-DyR8HsDz.js +0 -9
  117. package/web/dist/assets/use-hand-to-agent-state-BUpbMYM9.js +0 -1
  118. package/web/dist/assets/workflows-CEFtJj_h.js +0 -7
@@ -3305,6 +3305,191 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3305
3305
  };
3306
3306
  };
3307
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: 400;
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: 409;
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
+ action: "open";
3401
+ decisionId: string;
3402
+ 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";
3403
+ position: number | "last" | "next" | "previous";
3404
+ confidence: number;
3405
+ alternatives?: {
3406
+ 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";
3407
+ position: number | "last" | "next" | "previous";
3408
+ }[] | undefined;
3409
+ } | {
3410
+ action: "answer";
3411
+ decisionId: string;
3412
+ runId: string;
3413
+ askRequestId: string;
3414
+ answers: ({
3415
+ question: number;
3416
+ kind: "option";
3417
+ labels: string[];
3418
+ } | {
3419
+ question: number;
3420
+ kind: "other";
3421
+ text: string;
3422
+ })[];
3423
+ confidence: number;
3424
+ } | {
3425
+ action: "tell";
3426
+ decisionId: string;
3427
+ runId: string;
3428
+ text: string;
3429
+ confidence: number;
3430
+ } | {
3431
+ action: "confirm";
3432
+ decisionId: string;
3433
+ } | {
3434
+ action: "cancel";
3435
+ decisionId: string;
3436
+ } | {
3437
+ action: "none";
3438
+ decisionId: string;
3439
+ reason: "ambiguous" | "no-open-question" | "no-open-task" | "not-a-command" | "stale-context" | "unclear" | "unsupported";
3440
+ };
3441
+ outputFormat: "json";
3442
+ status: 200;
3443
+ input: {
3444
+ json: {
3445
+ text: string;
3446
+ sidebarView: "active" | "automations";
3447
+ openRunId?: string | undefined;
3448
+ view?: "automations" | "git" | "github" | "inbox" | "new-task" | "other" | "settings" | "task" | undefined;
3449
+ askRequestId?: string | null | undefined;
3450
+ proposal?: {
3451
+ decisionId: string;
3452
+ action: "answer" | "tell";
3453
+ } | undefined;
3454
+ };
3455
+ };
3456
+ } | {
3457
+ output: {
3458
+ error: string;
3459
+ };
3460
+ outputFormat: "json";
3461
+ status: 503;
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
+ };
3308
3493
  }, "/"> | import("hono/types").MergeSchemaPath<{
3309
3494
  "/ui-state": {
3310
3495
  $get: {
@@ -3735,103 +3920,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3735
3920
  };
3736
3921
  };
3737
3922
  };
3738
- }, "/"> | import("hono/types").MergeSchemaPath<{
3739
- "/voice/decide": {
3740
- $post: {
3741
- output: {
3742
- action: "open";
3743
- decisionId: string;
3744
- 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";
3745
- position: number | "last" | "next" | "previous";
3746
- confidence: number;
3747
- alternatives?: {
3748
- 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";
3749
- position: number | "last" | "next" | "previous";
3750
- }[] | undefined;
3751
- } | {
3752
- action: "answer";
3753
- decisionId: string;
3754
- runId: string;
3755
- askRequestId: string;
3756
- answers: ({
3757
- question: number;
3758
- kind: "option";
3759
- labels: string[];
3760
- } | {
3761
- question: number;
3762
- kind: "other";
3763
- text: string;
3764
- })[];
3765
- confidence: number;
3766
- } | {
3767
- action: "tell";
3768
- decisionId: string;
3769
- runId: string;
3770
- text: string;
3771
- confidence: number;
3772
- } | {
3773
- action: "confirm";
3774
- decisionId: string;
3775
- } | {
3776
- action: "cancel";
3777
- decisionId: string;
3778
- } | {
3779
- action: "none";
3780
- decisionId: string;
3781
- reason: "ambiguous" | "no-open-question" | "no-open-task" | "not-a-command" | "stale-context" | "unclear" | "unsupported";
3782
- };
3783
- outputFormat: "json";
3784
- status: 200;
3785
- input: {
3786
- json: {
3787
- text: string;
3788
- sidebarView: "active" | "automations";
3789
- openRunId?: string | undefined;
3790
- view?: "automations" | "git" | "github" | "inbox" | "new-task" | "other" | "settings" | "task" | undefined;
3791
- askRequestId?: string | null | undefined;
3792
- proposal?: {
3793
- decisionId: string;
3794
- action: "answer" | "tell";
3795
- } | undefined;
3796
- };
3797
- };
3798
- } | {
3799
- output: {
3800
- error: string;
3801
- };
3802
- outputFormat: "json";
3803
- status: 503;
3804
- input: {
3805
- json: {
3806
- text: string;
3807
- sidebarView: "active" | "automations";
3808
- openRunId?: string | undefined;
3809
- view?: "automations" | "git" | "github" | "inbox" | "new-task" | "other" | "settings" | "task" | undefined;
3810
- askRequestId?: string | null | undefined;
3811
- proposal?: {
3812
- decisionId: string;
3813
- action: "answer" | "tell";
3814
- } | undefined;
3815
- };
3816
- };
3817
- };
3818
- };
3819
- } & {
3820
- "/voice/outcome": {
3821
- $post: {
3822
- output: {
3823
- ok: true;
3824
- };
3825
- outputFormat: "json";
3826
- status: 200;
3827
- input: {
3828
- json: {
3829
- decisionId: string;
3830
- outcome: "abandoned" | "cancelled" | "confirmed" | "executed" | "replaced";
3831
- };
3832
- };
3833
- };
3834
- };
3835
3923
  }, "/"> | import("hono/types").MergeSchemaPath<{
3836
3924
  "/agent-webhooks": {
3837
3925
  $get: {
@@ -3873,132 +3961,44 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3873
3961
  error: string;
3874
3962
  };
3875
3963
  outputFormat: "json";
3876
- status: 404;
3877
- input: {
3878
- param: {
3879
- webhook: string;
3880
- };
3881
- } & {
3882
- json: {
3883
- runId?: string | undefined;
3884
- title?: string | undefined;
3885
- message: string;
3886
- data?: Record<string, unknown> | undefined;
3887
- };
3888
- };
3889
- } | {
3890
- output: {
3891
- ok: boolean;
3892
- webhook: {
3893
- id: string;
3894
- name: string;
3895
- };
3896
- deliveryId: string;
3897
- attempts: number;
3898
- status?: number | undefined;
3899
- error?: string | undefined;
3900
- dryRun?: boolean | undefined;
3901
- };
3902
- outputFormat: "json";
3903
- status: import("hono/utils/http-status").ContentfulStatusCode;
3904
- input: {
3905
- param: {
3906
- webhook: string;
3907
- };
3908
- } & {
3909
- json: {
3910
- runId?: string | undefined;
3911
- title?: string | undefined;
3912
- message: string;
3913
- data?: Record<string, unknown> | undefined;
3914
- };
3915
- };
3916
- };
3917
- };
3918
- }, "/"> | import("hono/types").MergeSchemaPath<{
3919
- "/reports/state": {
3920
- $get: {
3921
- output: {
3922
- error: string;
3923
- };
3924
- outputFormat: "json";
3925
- status: 409;
3926
- input: {};
3927
- } | {
3928
- output: {
3929
- epoch: string;
3930
- generation: number;
3931
- metadataGeneration: number;
3932
- };
3933
- outputFormat: "json";
3934
- status: import("hono/utils/http-status").ContentfulStatusCode;
3935
- input: {};
3936
- };
3937
- };
3938
- } & {
3939
- "/reports": {
3940
- $get: {
3941
- output: {
3942
- error: string;
3943
- code?: "invalid_input" | undefined;
3944
- };
3945
- outputFormat: "json";
3946
- status: 400;
3947
- input: {
3948
- query: {
3949
- q?: string | undefined;
3950
- before?: string | undefined;
3951
- limit?: number | undefined;
3952
- };
3953
- };
3954
- } | {
3955
- output: {
3956
- error: string;
3957
- };
3958
- outputFormat: "json";
3959
- status: 400;
3960
- input: {
3961
- query: {
3962
- q?: string | undefined;
3963
- before?: string | undefined;
3964
- limit?: number | undefined;
3965
- };
3966
- };
3967
- } | {
3968
- output: {
3969
- error: string;
3970
- };
3971
- outputFormat: "json";
3972
- status: 409;
3973
- input: {
3974
- query: {
3975
- q?: string | undefined;
3976
- before?: string | undefined;
3977
- limit?: number | undefined;
3964
+ status: 404;
3965
+ input: {
3966
+ param: {
3967
+ webhook: string;
3968
+ };
3969
+ } & {
3970
+ json: {
3971
+ runId?: string | undefined;
3972
+ title?: string | undefined;
3973
+ message: string;
3974
+ data?: Record<string, unknown> | undefined;
3978
3975
  };
3979
3976
  };
3980
3977
  } | {
3981
3978
  output: {
3982
- reports: {
3979
+ ok: boolean;
3980
+ webhook: {
3983
3981
  id: string;
3984
- runId: string;
3985
3982
  name: string;
3986
- title: string;
3987
- createdAt: string;
3988
- size: number;
3989
- taskTitle: string;
3990
- taskStatus: "cancelled" | "done" | "failed" | "queued" | "review" | "running" | "waiting";
3991
- }[];
3992
- nextCursor: string | null;
3993
- total: number;
3983
+ };
3984
+ deliveryId: string;
3985
+ attempts: number;
3986
+ status?: number | undefined;
3987
+ error?: string | undefined;
3988
+ dryRun?: boolean | undefined;
3994
3989
  };
3995
3990
  outputFormat: "json";
3996
3991
  status: import("hono/utils/http-status").ContentfulStatusCode;
3997
3992
  input: {
3998
- query: {
3999
- q?: string | undefined;
4000
- before?: string | undefined;
4001
- 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;
4002
4002
  };
4003
4003
  };
4004
4004
  };
@@ -19117,67 +19117,252 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19117
19117
  error: string;
19118
19118
  };
19119
19119
  outputFormat: "json";
19120
- status: 404 | 409;
19120
+ status: 404 | 409;
19121
+ input: {
19122
+ param: {
19123
+ id: string;
19124
+ };
19125
+ };
19126
+ };
19127
+ };
19128
+ }, "/">, "/api/v1"> | import("hono/types").MergeSchemaPath<import("hono/types").BlankSchema | import("hono/types").MergeSchemaPath<{
19129
+ "/launch-key": {
19130
+ $get: {
19131
+ output: {
19132
+ key: string;
19133
+ };
19134
+ outputFormat: "json";
19135
+ status: import("hono/utils/http-status").ContentfulStatusCode;
19136
+ input: {};
19137
+ };
19138
+ };
19139
+ }, "/"> | import("hono/types").MergeSchemaPath<{
19140
+ "/plan": {
19141
+ $post: {
19142
+ output: {
19143
+ error: string;
19144
+ };
19145
+ outputFormat: "json";
19146
+ status: 409;
19147
+ input: {
19148
+ json: {
19149
+ task: string;
19150
+ };
19151
+ };
19152
+ } | {
19153
+ output: {
19154
+ name?: string;
19155
+ steps: {
19156
+ id: string;
19157
+ name?: string | undefined;
19158
+ prompt?: string | undefined;
19159
+ skill?: string | undefined;
19160
+ model?: string | undefined;
19161
+ effort?: string | undefined;
19162
+ timeoutMs?: number | undefined;
19163
+ runner?: "claude" | "codex" | "cursor" | "omp" | "opencode" | "pi" | undefined;
19164
+ agentProfile?: string | undefined;
19165
+ allowedTools?: string[] | undefined;
19166
+ bashAllowlist?: string[] | undefined;
19167
+ command?: string | undefined;
19168
+ onFail?: {
19169
+ retry: string;
19170
+ max: number;
19171
+ } | undefined;
19172
+ }[];
19173
+ rationale: string;
19174
+ fallback: boolean;
19175
+ };
19176
+ outputFormat: "json";
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: 400;
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: 409;
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
+ action: "open";
19278
+ decisionId: string;
19279
+ 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";
19280
+ position: number | "last" | "next" | "previous";
19281
+ confidence: number;
19282
+ alternatives?: {
19283
+ 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";
19284
+ position: number | "last" | "next" | "previous";
19285
+ }[] | undefined;
19286
+ } | {
19287
+ action: "answer";
19288
+ decisionId: string;
19289
+ runId: string;
19290
+ askRequestId: string;
19291
+ answers: ({
19292
+ question: number;
19293
+ kind: "option";
19294
+ labels: string[];
19295
+ } | {
19296
+ question: number;
19297
+ kind: "other";
19298
+ text: string;
19299
+ })[];
19300
+ confidence: number;
19301
+ } | {
19302
+ action: "tell";
19303
+ decisionId: string;
19304
+ runId: string;
19305
+ text: string;
19306
+ confidence: number;
19307
+ } | {
19308
+ action: "confirm";
19309
+ decisionId: string;
19310
+ } | {
19311
+ action: "cancel";
19312
+ decisionId: string;
19313
+ } | {
19314
+ action: "none";
19315
+ decisionId: string;
19316
+ reason: "ambiguous" | "no-open-question" | "no-open-task" | "not-a-command" | "stale-context" | "unclear" | "unsupported";
19317
+ };
19318
+ outputFormat: "json";
19319
+ status: 200;
19320
+ input: {
19321
+ json: {
19322
+ text: string;
19323
+ sidebarView: "active" | "automations";
19324
+ openRunId?: string | undefined;
19325
+ view?: "automations" | "git" | "github" | "inbox" | "new-task" | "other" | "settings" | "task" | undefined;
19326
+ askRequestId?: string | null | undefined;
19327
+ proposal?: {
19328
+ decisionId: string;
19329
+ action: "answer" | "tell";
19330
+ } | undefined;
19331
+ };
19332
+ };
19333
+ } | {
19334
+ output: {
19335
+ error: string;
19336
+ };
19337
+ outputFormat: "json";
19338
+ status: 503;
19121
19339
  input: {
19122
- param: {
19123
- id: string;
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;
19124
19350
  };
19125
19351
  };
19126
19352
  };
19127
19353
  };
19128
- }, "/">, "/api/v1"> | import("hono/types").MergeSchemaPath<import("hono/types").BlankSchema | import("hono/types").MergeSchemaPath<{
19129
- "/launch-key": {
19130
- $get: {
19131
- output: {
19132
- key: string;
19133
- };
19134
- outputFormat: "json";
19135
- status: import("hono/utils/http-status").ContentfulStatusCode;
19136
- input: {};
19137
- };
19138
- };
19139
- }, "/"> | import("hono/types").MergeSchemaPath<{
19140
- "/plan": {
19354
+ } & {
19355
+ "/voice/outcome": {
19141
19356
  $post: {
19142
19357
  output: {
19143
- error: string;
19144
- };
19145
- outputFormat: "json";
19146
- status: 409;
19147
- input: {
19148
- json: {
19149
- task: string;
19150
- };
19151
- };
19152
- } | {
19153
- output: {
19154
- name?: string;
19155
- steps: {
19156
- id: string;
19157
- name?: string | undefined;
19158
- prompt?: string | undefined;
19159
- skill?: string | undefined;
19160
- model?: string | undefined;
19161
- effort?: string | undefined;
19162
- timeoutMs?: number | undefined;
19163
- runner?: "claude" | "codex" | "cursor" | "omp" | "opencode" | "pi" | undefined;
19164
- agentProfile?: string | undefined;
19165
- allowedTools?: string[] | undefined;
19166
- bashAllowlist?: string[] | undefined;
19167
- command?: string | undefined;
19168
- onFail?: {
19169
- retry: string;
19170
- max: number;
19171
- } | undefined;
19172
- }[];
19173
- rationale: string;
19174
- fallback: boolean;
19358
+ ok: true;
19175
19359
  };
19176
19360
  outputFormat: "json";
19177
- status: import("hono/utils/http-status").ContentfulStatusCode;
19361
+ status: 200;
19178
19362
  input: {
19179
19363
  json: {
19180
- task: string;
19364
+ decisionId: string;
19365
+ outcome: "abandoned" | "cancelled" | "confirmed" | "executed" | "replaced";
19181
19366
  };
19182
19367
  };
19183
19368
  };
@@ -19612,103 +19797,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19612
19797
  };
19613
19798
  };
19614
19799
  };
19615
- }, "/"> | import("hono/types").MergeSchemaPath<{
19616
- "/voice/decide": {
19617
- $post: {
19618
- output: {
19619
- action: "open";
19620
- decisionId: string;
19621
- 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";
19622
- position: number | "last" | "next" | "previous";
19623
- confidence: number;
19624
- alternatives?: {
19625
- 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";
19626
- position: number | "last" | "next" | "previous";
19627
- }[] | undefined;
19628
- } | {
19629
- action: "answer";
19630
- decisionId: string;
19631
- runId: string;
19632
- askRequestId: string;
19633
- answers: ({
19634
- question: number;
19635
- kind: "option";
19636
- labels: string[];
19637
- } | {
19638
- question: number;
19639
- kind: "other";
19640
- text: string;
19641
- })[];
19642
- confidence: number;
19643
- } | {
19644
- action: "tell";
19645
- decisionId: string;
19646
- runId: string;
19647
- text: string;
19648
- confidence: number;
19649
- } | {
19650
- action: "confirm";
19651
- decisionId: string;
19652
- } | {
19653
- action: "cancel";
19654
- decisionId: string;
19655
- } | {
19656
- action: "none";
19657
- decisionId: string;
19658
- reason: "ambiguous" | "no-open-question" | "no-open-task" | "not-a-command" | "stale-context" | "unclear" | "unsupported";
19659
- };
19660
- outputFormat: "json";
19661
- status: 200;
19662
- input: {
19663
- json: {
19664
- text: string;
19665
- sidebarView: "active" | "automations";
19666
- openRunId?: string | undefined;
19667
- view?: "automations" | "git" | "github" | "inbox" | "new-task" | "other" | "settings" | "task" | undefined;
19668
- askRequestId?: string | null | undefined;
19669
- proposal?: {
19670
- decisionId: string;
19671
- action: "answer" | "tell";
19672
- } | undefined;
19673
- };
19674
- };
19675
- } | {
19676
- output: {
19677
- error: string;
19678
- };
19679
- outputFormat: "json";
19680
- status: 503;
19681
- input: {
19682
- json: {
19683
- text: string;
19684
- sidebarView: "active" | "automations";
19685
- openRunId?: string | undefined;
19686
- view?: "automations" | "git" | "github" | "inbox" | "new-task" | "other" | "settings" | "task" | undefined;
19687
- askRequestId?: string | null | undefined;
19688
- proposal?: {
19689
- decisionId: string;
19690
- action: "answer" | "tell";
19691
- } | undefined;
19692
- };
19693
- };
19694
- };
19695
- };
19696
- } & {
19697
- "/voice/outcome": {
19698
- $post: {
19699
- output: {
19700
- ok: true;
19701
- };
19702
- outputFormat: "json";
19703
- status: 200;
19704
- input: {
19705
- json: {
19706
- decisionId: string;
19707
- outcome: "abandoned" | "cancelled" | "confirmed" | "executed" | "replaced";
19708
- };
19709
- };
19710
- };
19711
- };
19712
19800
  }, "/"> | import("hono/types").MergeSchemaPath<{
19713
19801
  "/agent-webhooks": {
19714
19802
  $get: {
@@ -19792,94 +19880,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19792
19880
  };
19793
19881
  };
19794
19882
  };
19795
- }, "/"> | import("hono/types").MergeSchemaPath<{
19796
- "/reports/state": {
19797
- $get: {
19798
- output: {
19799
- error: string;
19800
- };
19801
- outputFormat: "json";
19802
- status: 409;
19803
- input: {};
19804
- } | {
19805
- output: {
19806
- epoch: string;
19807
- generation: number;
19808
- metadataGeneration: number;
19809
- };
19810
- outputFormat: "json";
19811
- status: import("hono/utils/http-status").ContentfulStatusCode;
19812
- input: {};
19813
- };
19814
- };
19815
- } & {
19816
- "/reports": {
19817
- $get: {
19818
- output: {
19819
- error: string;
19820
- code?: "invalid_input" | undefined;
19821
- };
19822
- outputFormat: "json";
19823
- status: 400;
19824
- input: {
19825
- query: {
19826
- q?: string | undefined;
19827
- before?: string | undefined;
19828
- limit?: number | undefined;
19829
- };
19830
- };
19831
- } | {
19832
- output: {
19833
- error: string;
19834
- };
19835
- outputFormat: "json";
19836
- status: 400;
19837
- input: {
19838
- query: {
19839
- q?: string | undefined;
19840
- before?: string | undefined;
19841
- limit?: number | undefined;
19842
- };
19843
- };
19844
- } | {
19845
- output: {
19846
- error: string;
19847
- };
19848
- outputFormat: "json";
19849
- status: 409;
19850
- input: {
19851
- query: {
19852
- q?: string | undefined;
19853
- before?: string | undefined;
19854
- limit?: number | undefined;
19855
- };
19856
- };
19857
- } | {
19858
- output: {
19859
- reports: {
19860
- id: string;
19861
- runId: string;
19862
- name: string;
19863
- title: string;
19864
- createdAt: string;
19865
- size: number;
19866
- taskTitle: string;
19867
- taskStatus: "cancelled" | "done" | "failed" | "queued" | "review" | "running" | "waiting";
19868
- }[];
19869
- nextCursor: string | null;
19870
- total: number;
19871
- };
19872
- outputFormat: "json";
19873
- status: import("hono/utils/http-status").ContentfulStatusCode;
19874
- input: {
19875
- query: {
19876
- q?: string | undefined;
19877
- before?: string | undefined;
19878
- limit?: number | undefined;
19879
- };
19880
- };
19881
- };
19882
- };
19883
19883
  }, "/"> | import("hono/types").MergeSchemaPath<{
19884
19884
  "/skills": {
19885
19885
  $get: {