@hearsay-tools/squawk 0.18.0-dev.6144 → 0.18.0-dev.6146

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.
@@ -4,9 +4,8 @@ import type { Home } from '../home/home.ts';
4
4
  import { type WorkspaceProjects } from './workspace-projects.ts';
5
5
  import type { DelegationController } from '../delegation/provision.ts';
6
6
  import { AutomationStore } from '../automations/store.ts';
7
- import type { IncomingMessage, Server } from 'node:http';
7
+ import type { IncomingMessage } from 'node:http';
8
8
  import { Hono } from 'hono';
9
- import { type ServerType } from '@hono/node-server';
10
9
  import { TaskWebhooks } from '../runs/webhook.ts';
11
10
  import { ProviderAuthService, type ProviderId } from '../core/provider-auth.ts';
12
11
  import { RunnerModelCatalog } from '../core/runner-model-catalog.ts';
@@ -18,7 +17,7 @@ import { WorkspaceSemaphore } from '../workspace/semaphore.ts';
18
17
  import { type CloneRunner } from './checkout.ts';
19
18
  import { type CommandRunner } from './create-project.ts';
20
19
  import { ProjectContexts, type ProjectContext, type RunManagerFactory } from './project-context.ts';
21
- import { type SocketHub, type WsUpgradeVerdict } from './ws.ts';
20
+ import type { SocketHub, WsUpgradeVerdict } from './ws.ts';
22
21
  import type { PreviewHost } from '../preview/host.ts';
23
22
  import { type ForgeFactory } from './forge/index.ts';
24
23
  import { type CockpitOwnership } from './cockpit-ownership.ts';
@@ -3305,191 +3304,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3305
3304
  };
3306
3305
  };
3307
3306
  };
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
- };
3493
3307
  }, "/"> | import("hono/types").MergeSchemaPath<{
3494
3308
  "/ui-state": {
3495
3309
  $get: {
@@ -3920,6 +3734,103 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3920
3734
  };
3921
3735
  };
3922
3736
  };
3737
+ }, "/"> | import("hono/types").MergeSchemaPath<{
3738
+ "/voice/decide": {
3739
+ $post: {
3740
+ output: {
3741
+ error: string;
3742
+ };
3743
+ outputFormat: "json";
3744
+ status: 503;
3745
+ input: {
3746
+ json: {
3747
+ text: string;
3748
+ sidebarView: "active" | "automations";
3749
+ openRunId?: string | undefined;
3750
+ view?: "automations" | "git" | "github" | "inbox" | "new-task" | "other" | "settings" | "task" | undefined;
3751
+ askRequestId?: string | null | undefined;
3752
+ proposal?: {
3753
+ decisionId: string;
3754
+ action: "answer" | "tell";
3755
+ } | undefined;
3756
+ };
3757
+ };
3758
+ } | {
3759
+ output: {
3760
+ action: "open";
3761
+ decisionId: string;
3762
+ 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";
3763
+ position: number | "last" | "next" | "previous";
3764
+ confidence: number;
3765
+ alternatives?: {
3766
+ 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";
3767
+ position: number | "last" | "next" | "previous";
3768
+ }[] | undefined;
3769
+ } | {
3770
+ action: "answer";
3771
+ decisionId: string;
3772
+ runId: string;
3773
+ askRequestId: string;
3774
+ answers: ({
3775
+ question: number;
3776
+ kind: "option";
3777
+ labels: string[];
3778
+ } | {
3779
+ question: number;
3780
+ kind: "other";
3781
+ text: string;
3782
+ })[];
3783
+ confidence: number;
3784
+ } | {
3785
+ action: "tell";
3786
+ decisionId: string;
3787
+ runId: string;
3788
+ text: string;
3789
+ confidence: number;
3790
+ } | {
3791
+ action: "confirm";
3792
+ decisionId: string;
3793
+ } | {
3794
+ action: "cancel";
3795
+ decisionId: string;
3796
+ } | {
3797
+ action: "none";
3798
+ decisionId: string;
3799
+ reason: "ambiguous" | "no-open-question" | "no-open-task" | "not-a-command" | "stale-context" | "unclear" | "unsupported";
3800
+ };
3801
+ outputFormat: "json";
3802
+ status: 200;
3803
+ input: {
3804
+ json: {
3805
+ text: string;
3806
+ sidebarView: "active" | "automations";
3807
+ openRunId?: string | undefined;
3808
+ view?: "automations" | "git" | "github" | "inbox" | "new-task" | "other" | "settings" | "task" | undefined;
3809
+ askRequestId?: string | null | undefined;
3810
+ proposal?: {
3811
+ decisionId: string;
3812
+ action: "answer" | "tell";
3813
+ } | undefined;
3814
+ };
3815
+ };
3816
+ };
3817
+ };
3818
+ } & {
3819
+ "/voice/outcome": {
3820
+ $post: {
3821
+ output: {
3822
+ ok: true;
3823
+ };
3824
+ outputFormat: "json";
3825
+ status: 200;
3826
+ input: {
3827
+ json: {
3828
+ decisionId: string;
3829
+ outcome: "abandoned" | "cancelled" | "confirmed" | "executed" | "replaced";
3830
+ };
3831
+ };
3832
+ };
3833
+ };
3923
3834
  }, "/"> | import("hono/types").MergeSchemaPath<{
3924
3835
  "/agent-webhooks": {
3925
3836
  $get: {
@@ -4003,6 +3914,94 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4003
3914
  };
4004
3915
  };
4005
3916
  };
3917
+ }, "/"> | import("hono/types").MergeSchemaPath<{
3918
+ "/reports/state": {
3919
+ $get: {
3920
+ output: {
3921
+ error: string;
3922
+ };
3923
+ outputFormat: "json";
3924
+ status: 409;
3925
+ input: {};
3926
+ } | {
3927
+ output: {
3928
+ epoch: string;
3929
+ generation: number;
3930
+ metadataGeneration: number;
3931
+ };
3932
+ outputFormat: "json";
3933
+ status: import("hono/utils/http-status").ContentfulStatusCode;
3934
+ input: {};
3935
+ };
3936
+ };
3937
+ } & {
3938
+ "/reports": {
3939
+ $get: {
3940
+ output: {
3941
+ error: string;
3942
+ code?: "invalid_input" | undefined;
3943
+ };
3944
+ outputFormat: "json";
3945
+ status: 400;
3946
+ input: {
3947
+ query: {
3948
+ q?: string | undefined;
3949
+ before?: string | undefined;
3950
+ limit?: number | undefined;
3951
+ };
3952
+ };
3953
+ } | {
3954
+ output: {
3955
+ error: string;
3956
+ };
3957
+ outputFormat: "json";
3958
+ status: 409;
3959
+ input: {
3960
+ query: {
3961
+ q?: string | undefined;
3962
+ before?: string | undefined;
3963
+ limit?: number | undefined;
3964
+ };
3965
+ };
3966
+ } | {
3967
+ output: {
3968
+ error: string;
3969
+ };
3970
+ outputFormat: "json";
3971
+ status: 400;
3972
+ input: {
3973
+ query: {
3974
+ q?: string | undefined;
3975
+ before?: string | undefined;
3976
+ limit?: number | undefined;
3977
+ };
3978
+ };
3979
+ } | {
3980
+ output: {
3981
+ reports: {
3982
+ id: string;
3983
+ runId: string;
3984
+ name: string;
3985
+ title: string;
3986
+ createdAt: string;
3987
+ size: number;
3988
+ taskTitle: string;
3989
+ taskStatus: "cancelled" | "done" | "failed" | "queued" | "review" | "running" | "waiting";
3990
+ }[];
3991
+ nextCursor: string | null;
3992
+ total: number;
3993
+ };
3994
+ outputFormat: "json";
3995
+ status: import("hono/utils/http-status").ContentfulStatusCode;
3996
+ input: {
3997
+ query: {
3998
+ q?: string | undefined;
3999
+ before?: string | undefined;
4000
+ limit?: number | undefined;
4001
+ };
4002
+ };
4003
+ };
4004
+ };
4006
4005
  }, "/"> | import("hono/types").MergeSchemaPath<{
4007
4006
  "/skills": {
4008
4007
  $get: {
@@ -19182,191 +19181,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19182
19181
  };
19183
19182
  };
19184
19183
  };
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;
19362
- input: {
19363
- json: {
19364
- decisionId: string;
19365
- outcome: "abandoned" | "cancelled" | "confirmed" | "executed" | "replaced";
19366
- };
19367
- };
19368
- };
19369
- };
19370
19184
  }, "/"> | import("hono/types").MergeSchemaPath<{
19371
19185
  "/ui-state": {
19372
19186
  $get: {
@@ -19797,6 +19611,103 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19797
19611
  };
19798
19612
  };
19799
19613
  };
19614
+ }, "/"> | import("hono/types").MergeSchemaPath<{
19615
+ "/voice/decide": {
19616
+ $post: {
19617
+ output: {
19618
+ error: string;
19619
+ };
19620
+ outputFormat: "json";
19621
+ status: 503;
19622
+ input: {
19623
+ json: {
19624
+ text: string;
19625
+ sidebarView: "active" | "automations";
19626
+ openRunId?: string | undefined;
19627
+ view?: "automations" | "git" | "github" | "inbox" | "new-task" | "other" | "settings" | "task" | undefined;
19628
+ askRequestId?: string | null | undefined;
19629
+ proposal?: {
19630
+ decisionId: string;
19631
+ action: "answer" | "tell";
19632
+ } | undefined;
19633
+ };
19634
+ };
19635
+ } | {
19636
+ output: {
19637
+ action: "open";
19638
+ decisionId: string;
19639
+ 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";
19640
+ position: number | "last" | "next" | "previous";
19641
+ confidence: number;
19642
+ alternatives?: {
19643
+ 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";
19644
+ position: number | "last" | "next" | "previous";
19645
+ }[] | undefined;
19646
+ } | {
19647
+ action: "answer";
19648
+ decisionId: string;
19649
+ runId: string;
19650
+ askRequestId: string;
19651
+ answers: ({
19652
+ question: number;
19653
+ kind: "option";
19654
+ labels: string[];
19655
+ } | {
19656
+ question: number;
19657
+ kind: "other";
19658
+ text: string;
19659
+ })[];
19660
+ confidence: number;
19661
+ } | {
19662
+ action: "tell";
19663
+ decisionId: string;
19664
+ runId: string;
19665
+ text: string;
19666
+ confidence: number;
19667
+ } | {
19668
+ action: "confirm";
19669
+ decisionId: string;
19670
+ } | {
19671
+ action: "cancel";
19672
+ decisionId: string;
19673
+ } | {
19674
+ action: "none";
19675
+ decisionId: string;
19676
+ reason: "ambiguous" | "no-open-question" | "no-open-task" | "not-a-command" | "stale-context" | "unclear" | "unsupported";
19677
+ };
19678
+ outputFormat: "json";
19679
+ status: 200;
19680
+ input: {
19681
+ json: {
19682
+ text: string;
19683
+ sidebarView: "active" | "automations";
19684
+ openRunId?: string | undefined;
19685
+ view?: "automations" | "git" | "github" | "inbox" | "new-task" | "other" | "settings" | "task" | undefined;
19686
+ askRequestId?: string | null | undefined;
19687
+ proposal?: {
19688
+ decisionId: string;
19689
+ action: "answer" | "tell";
19690
+ } | undefined;
19691
+ };
19692
+ };
19693
+ };
19694
+ };
19695
+ } & {
19696
+ "/voice/outcome": {
19697
+ $post: {
19698
+ output: {
19699
+ ok: true;
19700
+ };
19701
+ outputFormat: "json";
19702
+ status: 200;
19703
+ input: {
19704
+ json: {
19705
+ decisionId: string;
19706
+ outcome: "abandoned" | "cancelled" | "confirmed" | "executed" | "replaced";
19707
+ };
19708
+ };
19709
+ };
19710
+ };
19800
19711
  }, "/"> | import("hono/types").MergeSchemaPath<{
19801
19712
  "/agent-webhooks": {
19802
19713
  $get: {
@@ -19880,6 +19791,94 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19880
19791
  };
19881
19792
  };
19882
19793
  };
19794
+ }, "/"> | import("hono/types").MergeSchemaPath<{
19795
+ "/reports/state": {
19796
+ $get: {
19797
+ output: {
19798
+ error: string;
19799
+ };
19800
+ outputFormat: "json";
19801
+ status: 409;
19802
+ input: {};
19803
+ } | {
19804
+ output: {
19805
+ epoch: string;
19806
+ generation: number;
19807
+ metadataGeneration: number;
19808
+ };
19809
+ outputFormat: "json";
19810
+ status: import("hono/utils/http-status").ContentfulStatusCode;
19811
+ input: {};
19812
+ };
19813
+ };
19814
+ } & {
19815
+ "/reports": {
19816
+ $get: {
19817
+ output: {
19818
+ error: string;
19819
+ code?: "invalid_input" | undefined;
19820
+ };
19821
+ outputFormat: "json";
19822
+ status: 400;
19823
+ input: {
19824
+ query: {
19825
+ q?: string | undefined;
19826
+ before?: string | undefined;
19827
+ limit?: number | undefined;
19828
+ };
19829
+ };
19830
+ } | {
19831
+ output: {
19832
+ error: string;
19833
+ };
19834
+ outputFormat: "json";
19835
+ status: 409;
19836
+ input: {
19837
+ query: {
19838
+ q?: string | undefined;
19839
+ before?: string | undefined;
19840
+ limit?: number | undefined;
19841
+ };
19842
+ };
19843
+ } | {
19844
+ output: {
19845
+ error: string;
19846
+ };
19847
+ outputFormat: "json";
19848
+ status: 400;
19849
+ input: {
19850
+ query: {
19851
+ q?: string | undefined;
19852
+ before?: string | undefined;
19853
+ limit?: number | undefined;
19854
+ };
19855
+ };
19856
+ } | {
19857
+ output: {
19858
+ reports: {
19859
+ id: string;
19860
+ runId: string;
19861
+ name: string;
19862
+ title: string;
19863
+ createdAt: string;
19864
+ size: number;
19865
+ taskTitle: string;
19866
+ taskStatus: "cancelled" | "done" | "failed" | "queued" | "review" | "running" | "waiting";
19867
+ }[];
19868
+ nextCursor: string | null;
19869
+ total: number;
19870
+ };
19871
+ outputFormat: "json";
19872
+ status: import("hono/utils/http-status").ContentfulStatusCode;
19873
+ input: {
19874
+ query: {
19875
+ q?: string | undefined;
19876
+ before?: string | undefined;
19877
+ limit?: number | undefined;
19878
+ };
19879
+ };
19880
+ };
19881
+ };
19883
19882
  }, "/"> | import("hono/types").MergeSchemaPath<{
19884
19883
  "/skills": {
19885
19884
  $get: {
@@ -35004,9 +35003,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
35004
35003
  };
35005
35004
  }, "/">, "/api/v1/p/:projectId">, "/", "/">;
35006
35005
  export { cockpitOriginFor } from './server-deps.ts';
35007
- export declare function startServer(deps: ServerDeps, port: number, listener?: Server): ServerType & {
35008
- shutdownForRestart: () => Promise<void>;
35009
- };
35010
35006
  /**
35011
35007
  * Validate topic-bus upgrades before handshake. Local Host must be loopback. Same-authority or
35012
35008
  * native clients are trusted; verified dev proxies are trusted. Metadata-free foreign loopback