@hearsay-tools/squawk 0.18.0-dev.7101 → 0.18.0-dev.7113

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 (120) hide show
  1. package/README.md +11 -11
  2. package/dist/agent-config/seed.js +1 -1
  3. package/dist/agent-config/seed.js.map +1 -1
  4. package/dist/automations/prompts.d.ts +0 -3
  5. package/dist/automations/prompts.js +0 -46
  6. package/dist/automations/prompts.js.map +1 -1
  7. package/dist/ci-wait/tools.d.ts +4 -4
  8. package/dist/cli-dispatch.js +0 -1
  9. package/dist/cli-dispatch.js.map +1 -1
  10. package/dist/config.d.ts +2 -26
  11. package/dist/config.js +6 -50
  12. package/dist/config.js.map +1 -1
  13. package/dist/contract/index.d.ts +0 -1
  14. package/dist/contract/index.js +2364 -2437
  15. package/dist/contract/skills.d.ts +1 -33
  16. package/dist/contract/ui-state-requests.d.ts +0 -4
  17. package/dist/contract/workspace.d.ts +0 -4
  18. package/dist/delegation/routes.d.ts +4 -4
  19. package/dist/delegation/service.d.ts +1 -1
  20. package/dist/delegation/transport.d.ts +12 -12
  21. package/dist/project-commands.d.ts +1 -1
  22. package/dist/project-commands.js +2 -18
  23. package/dist/project-commands.js.map +1 -1
  24. package/dist/server/server.d.ts +270 -742
  25. package/dist/server/server.js +0 -2
  26. package/dist/server/server.js.map +1 -1
  27. package/dist/skills.d.ts +0 -69
  28. package/dist/skills.js +0 -202
  29. package/dist/skills.js.map +1 -1
  30. package/dist/ui-state.d.ts +1 -1
  31. package/dist/ui-state.js +1 -1
  32. package/dist/workflows/run/compose.d.ts +0 -2
  33. package/dist/workflows/run/compose.js.map +1 -1
  34. package/dist/workflows/run/continuation-session.js +2 -0
  35. package/dist/workflows/run/continuation-session.js.map +1 -1
  36. package/dist/workflows/run/launch-context.d.ts +1 -4
  37. package/dist/workflows/run/launch-context.js +1 -5
  38. package/dist/workflows/run/launch-context.js.map +1 -1
  39. package/dist/workflows/run/prompts.d.ts +0 -42
  40. package/dist/workflows/run/prompts.js +0 -80
  41. package/dist/workflows/run/prompts.js.map +1 -1
  42. package/dist/workflows/run/step-session.js +2 -0
  43. package/dist/workflows/run/step-session.js.map +1 -1
  44. package/dist/workflows/run.d.ts +1 -3
  45. package/dist/workflows/run.js +1 -3
  46. package/dist/workflows/run.js.map +1 -1
  47. package/dist/worktree-manifest.js +1 -1
  48. package/dist/worktree-manifest.js.map +1 -1
  49. package/dist/worktree-paths.d.ts +3 -0
  50. package/dist/worktree-paths.js +52 -0
  51. package/dist/worktree-paths.js.map +1 -0
  52. package/dist/worktree-skill-cleanup.d.ts +11 -0
  53. package/dist/worktree-skill-cleanup.js +53 -0
  54. package/dist/worktree-skill-cleanup.js.map +1 -0
  55. package/package.json +4 -4
  56. package/web/dist/assets/{activity-motion-YVMdTv1H.js → activity-motion-CRjdIuq0.js} +2 -2
  57. package/web/dist/assets/{activity-route-Bd9LuD0o.js → activity-route-4yon6jwC.js} +1 -1
  58. package/web/dist/assets/{agent-accounts-DetCQbKD.js → agent-accounts-l_Gn-Dja.js} +1 -1
  59. package/web/dist/assets/attention-DcMKBngT.js +1 -0
  60. package/web/dist/assets/{cez-idle-CnPEf2T2.js → cez-idle-BEO5j8ow.js} +1 -1
  61. package/web/dist/assets/{commit-diff-panel-BY9ItExV.js → commit-diff-panel-Cfnt30Tt.js} +1 -1
  62. package/web/dist/assets/{diff-nSqnAkNf.js → diff-Dx1bGt0w.js} +2 -2
  63. package/web/dist/assets/{diff-view-Bp_dyecW.js → diff-view-DJ4iFfkd.js} +1 -1
  64. package/web/dist/assets/{file-preview-Dkl6S-Ej.js → file-preview-6POBIfS-.js} +1 -1
  65. package/web/dist/assets/{git-toolbar-xd4qbEj6.js → git-toolbar-DwK9tJOu.js} +1 -1
  66. package/web/dist/assets/github-shozEZ-Z.js +1 -0
  67. package/web/dist/assets/{global-activity-route-BMBowNcw.js → global-activity-route-D_JqpAAR.js} +1 -1
  68. package/web/dist/assets/index-DMq98FV0.js +14 -0
  69. package/web/dist/assets/{live-protocol-C_Z-JQOy.js → live-protocol-Bn-xWBmZ.js} +1 -1
  70. package/web/dist/assets/{markdown-CZVLEjwk.js → markdown-fN_tqxh3.js} +1 -1
  71. package/web/dist/assets/picker-pill-BuYiT3fS.js +15 -0
  72. package/web/dist/assets/preview-pane-connected-D81HxFOI.js +3 -0
  73. package/web/dist/assets/{project-router-D5aSJsZ7.js → project-router-C68VktrY.js} +1 -1
  74. package/web/dist/assets/{project-scope-context-BUXmC8my.js → project-scope-context-Vv8ygMl6.js} +1 -1
  75. package/web/dist/assets/{prompt-template-menu-De-8v5io.js → prompt-template-menu-hXOsL4ia.js} +1 -1
  76. package/web/dist/assets/{queries-DkipLnOL.js → queries-Drt3XAiW.js} +1 -1
  77. package/web/dist/assets/{reference-chip-BVB5YsfP.js → reference-chip-oVw9Lal9.js} +1 -1
  78. package/web/dist/assets/{repo-git-BdRmck7y.js → repo-git-B295X5Wv.js} +1 -1
  79. package/web/dist/assets/{report-reader-C8_2WEz6.js → report-reader-HocN04sH.js} +1 -1
  80. package/web/dist/assets/{reports-DxAL6BCk.js → reports-B1KiT5at.js} +1 -1
  81. package/web/dist/assets/run-header-DyKGLM8b.js +2 -0
  82. package/web/dist/assets/{skills-C49LGb-4.js → skills-BRDqkbTt.js} +1 -1
  83. package/web/dist/assets/{tab-link-BTFjRC1e.js → tab-link-B4u5eY7O.js} +1 -1
  84. package/web/dist/assets/{task-changes-B0oxkbcW.js → task-changes-Bx8mrihw.js} +1 -1
  85. package/web/dist/assets/{task-commits-DDZcksfZ.js → task-commits-bARHGfsG.js} +1 -1
  86. package/web/dist/assets/{task-files-BTj0Ehlx.js → task-files-_SX670LL.js} +1 -1
  87. package/web/dist/assets/{task-github-item-y1rABsg2.js → task-github-item-Cw8-5BXV.js} +1 -1
  88. package/web/dist/assets/{task-thread-CaRlk42s.js → task-thread-BAeGEFEe.js} +7 -7
  89. package/web/dist/assets/{thread-state-BE9onTdO.js → thread-state-BpW3fVNR.js} +1 -1
  90. package/web/dist/assets/{use-desktop-DWhNBxlY.js → use-desktop-CuYLi0j4.js} +1 -1
  91. package/web/dist/assets/use-hand-to-agent-state-DU4XEkhv.js +1 -0
  92. package/web/dist/assets/{useInfiniteQuery-0WCd35C5.js → useInfiniteQuery-LV3jJNT5.js} +1 -1
  93. package/web/dist/assets/useQuery-DdfGRa2n.js +1 -0
  94. package/web/dist/assets/workflows-B_b47Jog.js +7 -0
  95. package/web/dist/assets/{ws-DJraxHk2.js → ws-DfYRWmd-.js} +1 -1
  96. package/web/dist/index.html +15 -15
  97. package/web/dist/live-worker.js +1 -1
  98. package/dist/automations/builtin-skill.d.ts +0 -7
  99. package/dist/automations/builtin-skill.js +0 -14
  100. package/dist/automations/builtin-skill.js.map +0 -1
  101. package/dist/contract/skill-sources.d.ts +0 -125
  102. package/dist/contract/team-skill-ref.d.ts +0 -10
  103. package/dist/server/skill-sources.d.ts +0 -264
  104. package/dist/server/skill-sources.js +0 -130
  105. package/dist/server/skill-sources.js.map +0 -1
  106. package/dist/skills-provision.d.ts +0 -64
  107. package/dist/skills-provision.js +0 -325
  108. package/dist/skills-provision.js.map +0 -1
  109. package/dist/skills-remote.d.ts +0 -144
  110. package/dist/skills-remote.js +0 -844
  111. package/dist/skills-remote.js.map +0 -1
  112. package/web/dist/assets/attention-Bs96zuwc.js +0 -1
  113. package/web/dist/assets/github-DRMN6FYi.js +0 -1
  114. package/web/dist/assets/index-QM9AFNSj.js +0 -14
  115. package/web/dist/assets/picker-pill-DKbLlGPr.js +0 -18
  116. package/web/dist/assets/preview-pane-connected-DCz8ZSjW.js +0 -3
  117. package/web/dist/assets/run-header-Dhh86q4A.js +0 -2
  118. package/web/dist/assets/use-hand-to-agent-state-D_Yp8YT9.js +0 -1
  119. package/web/dist/assets/useQuery-BifRjEjr.js +0 -1
  120. package/web/dist/assets/workflows-BN66M7yw.js +0 -7
@@ -2981,6 +2981,12 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2981
2981
  output: {
2982
2982
  generation: string;
2983
2983
  results: ({
2984
+ projectId: string;
2985
+ runId: string;
2986
+ type: "error" | "reset";
2987
+ status: 400 | 404 | 409 | 413 | 503;
2988
+ error: string;
2989
+ } | {
2984
2990
  projectId: string;
2985
2991
  runId: string;
2986
2992
  type: "batch";
@@ -2994,12 +3000,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2994
3000
  cursor: string;
2995
3001
  afterSeq: number;
2996
3002
  hasMore: boolean;
2997
- } | {
2998
- projectId: string;
2999
- runId: string;
3000
- type: "error" | "reset";
3001
- status: 400 | 404 | 409 | 413 | 503;
3002
- error: string;
3003
3003
  })[];
3004
3004
  };
3005
3005
  outputFormat: "json";
@@ -3310,6 +3310,94 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3310
3310
  };
3311
3311
  };
3312
3312
  };
3313
+ }, "/"> | import("hono/types").MergeSchemaPath<{
3314
+ "/reports/state": {
3315
+ $get: {
3316
+ output: {
3317
+ error: string;
3318
+ };
3319
+ outputFormat: "json";
3320
+ status: 409;
3321
+ input: {};
3322
+ } | {
3323
+ output: {
3324
+ epoch: string;
3325
+ generation: number;
3326
+ metadataGeneration: number;
3327
+ };
3328
+ outputFormat: "json";
3329
+ status: import("hono/utils/http-status").ContentfulStatusCode;
3330
+ input: {};
3331
+ };
3332
+ };
3333
+ } & {
3334
+ "/reports": {
3335
+ $get: {
3336
+ output: {
3337
+ error: string;
3338
+ code?: "invalid_input" | undefined;
3339
+ };
3340
+ outputFormat: "json";
3341
+ status: 400;
3342
+ input: {
3343
+ query: {
3344
+ q?: string | undefined;
3345
+ before?: string | undefined;
3346
+ limit?: number | undefined;
3347
+ };
3348
+ };
3349
+ } | {
3350
+ output: {
3351
+ error: string;
3352
+ };
3353
+ outputFormat: "json";
3354
+ status: 409;
3355
+ input: {
3356
+ query: {
3357
+ q?: string | undefined;
3358
+ before?: string | undefined;
3359
+ limit?: number | undefined;
3360
+ };
3361
+ };
3362
+ } | {
3363
+ output: {
3364
+ error: string;
3365
+ };
3366
+ outputFormat: "json";
3367
+ status: 400;
3368
+ input: {
3369
+ query: {
3370
+ q?: string | undefined;
3371
+ before?: string | undefined;
3372
+ limit?: number | undefined;
3373
+ };
3374
+ };
3375
+ } | {
3376
+ output: {
3377
+ reports: {
3378
+ id: string;
3379
+ runId: string;
3380
+ name: string;
3381
+ title: string;
3382
+ createdAt: string;
3383
+ size: number;
3384
+ taskTitle: string;
3385
+ taskStatus: "cancelled" | "done" | "failed" | "queued" | "review" | "running" | "waiting";
3386
+ }[];
3387
+ nextCursor: string | null;
3388
+ total: number;
3389
+ };
3390
+ outputFormat: "json";
3391
+ status: import("hono/utils/http-status").ContentfulStatusCode;
3392
+ input: {
3393
+ query: {
3394
+ q?: string | undefined;
3395
+ before?: string | undefined;
3396
+ limit?: number | undefined;
3397
+ };
3398
+ };
3399
+ };
3400
+ };
3313
3401
  }, "/"> | import("hono/types").MergeSchemaPath<{
3314
3402
  "/ui-state": {
3315
3403
  $get: {
@@ -3331,10 +3419,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3331
3419
  }[] | undefined;
3332
3420
  lastWorktree?: boolean | undefined;
3333
3421
  lastAutonomous?: boolean | undefined;
3334
- disabledTeamSkills?: {
3335
- repo: string;
3336
- name: string;
3337
- }[] | undefined;
3338
3422
  skillUsage?: {
3339
3423
  [x: string]: number;
3340
3424
  } | undefined;
@@ -3378,10 +3462,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3378
3462
  }[] | undefined;
3379
3463
  lastWorktree?: boolean | undefined;
3380
3464
  lastAutonomous?: boolean | undefined;
3381
- disabledTeamSkills?: {
3382
- repo: string;
3383
- name: string;
3384
- }[] | undefined;
3385
3465
  skillUsage?: {
3386
3466
  [x: string]: number;
3387
3467
  } | undefined;
@@ -3412,10 +3492,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3412
3492
  } | undefined;
3413
3493
  lastWorktree?: boolean | undefined;
3414
3494
  lastAutonomous?: boolean | undefined;
3415
- disabledTeamSkills?: {
3416
- repo: string;
3417
- name: string;
3418
- }[] | undefined;
3419
3495
  runsView?: "list" | "table" | undefined;
3420
3496
  githubView?: "issues" | "prs" | undefined;
3421
3497
  appearance?: {
@@ -3457,10 +3533,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3457
3533
  } | undefined;
3458
3534
  lastWorktree?: boolean | undefined;
3459
3535
  lastAutonomous?: boolean | undefined;
3460
- disabledTeamSkills?: {
3461
- repo: string;
3462
- name: string;
3463
- }[] | undefined;
3464
3536
  runsView?: "list" | "table" | undefined;
3465
3537
  githubView?: "issues" | "prs" | undefined;
3466
3538
  appearance?: {
@@ -3818,94 +3890,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3818
3890
  };
3819
3891
  };
3820
3892
  };
3821
- }, "/"> | import("hono/types").MergeSchemaPath<{
3822
- "/reports/state": {
3823
- $get: {
3824
- output: {
3825
- error: string;
3826
- };
3827
- outputFormat: "json";
3828
- status: 409;
3829
- input: {};
3830
- } | {
3831
- output: {
3832
- epoch: string;
3833
- generation: number;
3834
- metadataGeneration: number;
3835
- };
3836
- outputFormat: "json";
3837
- status: import("hono/utils/http-status").ContentfulStatusCode;
3838
- input: {};
3839
- };
3840
- };
3841
- } & {
3842
- "/reports": {
3843
- $get: {
3844
- output: {
3845
- error: string;
3846
- code?: "invalid_input" | undefined;
3847
- };
3848
- outputFormat: "json";
3849
- status: 400;
3850
- input: {
3851
- query: {
3852
- q?: string | undefined;
3853
- before?: string | undefined;
3854
- limit?: number | undefined;
3855
- };
3856
- };
3857
- } | {
3858
- output: {
3859
- error: string;
3860
- };
3861
- outputFormat: "json";
3862
- status: 409;
3863
- input: {
3864
- query: {
3865
- q?: string | undefined;
3866
- before?: string | undefined;
3867
- limit?: number | undefined;
3868
- };
3869
- };
3870
- } | {
3871
- output: {
3872
- error: string;
3873
- };
3874
- outputFormat: "json";
3875
- status: 400;
3876
- input: {
3877
- query: {
3878
- q?: string | undefined;
3879
- before?: string | undefined;
3880
- limit?: number | undefined;
3881
- };
3882
- };
3883
- } | {
3884
- output: {
3885
- reports: {
3886
- id: string;
3887
- runId: string;
3888
- name: string;
3889
- title: string;
3890
- createdAt: string;
3891
- size: number;
3892
- taskTitle: string;
3893
- taskStatus: "cancelled" | "done" | "failed" | "queued" | "review" | "running" | "waiting";
3894
- }[];
3895
- nextCursor: string | null;
3896
- total: number;
3897
- };
3898
- outputFormat: "json";
3899
- status: import("hono/utils/http-status").ContentfulStatusCode;
3900
- input: {
3901
- query: {
3902
- q?: string | undefined;
3903
- before?: string | undefined;
3904
- limit?: number | undefined;
3905
- };
3906
- };
3907
- };
3908
- };
3909
3893
  }, "/"> | import("hono/types").MergeSchemaPath<{
3910
3894
  "/worktrees": {
3911
3895
  $get: {
@@ -4361,227 +4345,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4361
4345
  status: import("hono/utils/http-status").ContentfulStatusCode;
4362
4346
  input: {
4363
4347
  json: {
4364
- yaml: string;
4365
- };
4366
- };
4367
- };
4368
- };
4369
- }, "/"> | import("hono/types").MergeSchemaPath<{
4370
- "/skills/sources": {
4371
- $get: {
4372
- output: {
4373
- sources: {
4374
- repo: string;
4375
- ref: string;
4376
- enabled: boolean;
4377
- status: {
4378
- state: "idle";
4379
- } | {
4380
- state: "loading";
4381
- } | {
4382
- state: "ok";
4383
- skillCount: number;
4384
- } | {
4385
- state: "error";
4386
- cause: "fetch-failed" | "ref-not-found" | "refused-format";
4387
- detail: string;
4388
- skillCount: number;
4389
- };
4390
- }[];
4391
- editable: boolean;
4392
- configIssue: string | null;
4393
- };
4394
- outputFormat: "json";
4395
- status: 200;
4396
- input: {};
4397
- };
4398
- };
4399
- } & {
4400
- "/skills/sources": {
4401
- $post: {
4402
- output: {
4403
- sources: {
4404
- repo: string;
4405
- ref: string;
4406
- enabled: boolean;
4407
- status: {
4408
- state: "idle";
4409
- } | {
4410
- state: "loading";
4411
- } | {
4412
- state: "ok";
4413
- skillCount: number;
4414
- } | {
4415
- state: "error";
4416
- cause: "fetch-failed" | "ref-not-found" | "refused-format";
4417
- detail: string;
4418
- skillCount: number;
4419
- };
4420
- }[];
4421
- editable: boolean;
4422
- configIssue: string | null;
4423
- };
4424
- outputFormat: "json";
4425
- status: 200;
4426
- input: {
4427
- json: {
4428
- repo: string;
4429
- ref?: string | undefined;
4430
- };
4431
- };
4432
- } | {
4433
- output: {
4434
- error: string;
4435
- };
4436
- outputFormat: "json";
4437
- status: 404 | 409;
4438
- input: {
4439
- json: {
4440
- repo: string;
4441
- ref?: string | undefined;
4442
- };
4443
- };
4444
- };
4445
- };
4446
- } & {
4447
- "/skills/sources": {
4448
- $patch: {
4449
- output: {
4450
- sources: {
4451
- repo: string;
4452
- ref: string;
4453
- enabled: boolean;
4454
- status: {
4455
- state: "idle";
4456
- } | {
4457
- state: "loading";
4458
- } | {
4459
- state: "ok";
4460
- skillCount: number;
4461
- } | {
4462
- state: "error";
4463
- cause: "fetch-failed" | "ref-not-found" | "refused-format";
4464
- detail: string;
4465
- skillCount: number;
4466
- };
4467
- }[];
4468
- editable: boolean;
4469
- configIssue: string | null;
4470
- };
4471
- outputFormat: "json";
4472
- status: 200;
4473
- input: {
4474
- json: {
4475
- repo: string;
4476
- ref: string;
4477
- enabled: boolean;
4478
- };
4479
- };
4480
- } | {
4481
- output: {
4482
- error: string;
4483
- };
4484
- outputFormat: "json";
4485
- status: 404 | 409;
4486
- input: {
4487
- json: {
4488
- repo: string;
4489
- ref: string;
4490
- enabled: boolean;
4491
- };
4492
- };
4493
- };
4494
- };
4495
- } & {
4496
- "/skills/sources": {
4497
- $delete: {
4498
- output: {
4499
- sources: {
4500
- repo: string;
4501
- ref: string;
4502
- enabled: boolean;
4503
- status: {
4504
- state: "idle";
4505
- } | {
4506
- state: "loading";
4507
- } | {
4508
- state: "ok";
4509
- skillCount: number;
4510
- } | {
4511
- state: "error";
4512
- cause: "fetch-failed" | "ref-not-found" | "refused-format";
4513
- detail: string;
4514
- skillCount: number;
4515
- };
4516
- }[];
4517
- editable: boolean;
4518
- configIssue: string | null;
4519
- };
4520
- outputFormat: "json";
4521
- status: 200;
4522
- input: {
4523
- json: {
4524
- repo: string;
4525
- ref: string;
4526
- };
4527
- };
4528
- } | {
4529
- output: {
4530
- error: string;
4531
- };
4532
- outputFormat: "json";
4533
- status: 404 | 409;
4534
- input: {
4535
- json: {
4536
- repo: string;
4537
- ref: string;
4538
- };
4539
- };
4540
- };
4541
- };
4542
- } & {
4543
- "/skills/sources/retry": {
4544
- $post: {
4545
- output: {
4546
- sources: {
4547
- repo: string;
4548
- ref: string;
4549
- enabled: boolean;
4550
- status: {
4551
- state: "idle";
4552
- } | {
4553
- state: "loading";
4554
- } | {
4555
- state: "ok";
4556
- skillCount: number;
4557
- } | {
4558
- state: "error";
4559
- cause: "fetch-failed" | "ref-not-found" | "refused-format";
4560
- detail: string;
4561
- skillCount: number;
4562
- };
4563
- }[];
4564
- editable: boolean;
4565
- configIssue: string | null;
4566
- };
4567
- outputFormat: "json";
4568
- status: 200;
4569
- input: {
4570
- json: {
4571
- repo: string;
4572
- ref: string;
4573
- };
4574
- };
4575
- } | {
4576
- output: {
4577
- error: string;
4578
- };
4579
- outputFormat: "json";
4580
- status: 404 | 409;
4581
- input: {
4582
- json: {
4583
- repo: string;
4584
- ref: string;
4348
+ yaml: string;
4585
4349
  };
4586
4350
  };
4587
4351
  };
@@ -4752,19 +4516,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4752
4516
  } & {
4753
4517
  "/repo/commit/:sha": {
4754
4518
  $get: {
4755
- output: string;
4756
- outputFormat: "text";
4757
- status: import("hono/utils/http-status").ContentfulStatusCode;
4758
- input: {
4759
- query: {
4760
- structured?: string | undefined;
4761
- };
4762
- } & {
4763
- param: {
4764
- sha: string;
4765
- };
4766
- };
4767
- } | {
4768
4519
  output: {
4769
4520
  error: string;
4770
4521
  code?: "invalid_input" | undefined;
@@ -4828,6 +4579,19 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4828
4579
  sha: string;
4829
4580
  };
4830
4581
  };
4582
+ } | {
4583
+ output: string;
4584
+ outputFormat: "text";
4585
+ status: import("hono/utils/http-status").ContentfulStatusCode;
4586
+ input: {
4587
+ query: {
4588
+ structured?: string | undefined;
4589
+ };
4590
+ } & {
4591
+ param: {
4592
+ sha: string;
4593
+ };
4594
+ };
4831
4595
  };
4832
4596
  };
4833
4597
  } & {
@@ -18336,20 +18100,20 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18336
18100
  } & {
18337
18101
  "/runs/:id/handoff": {
18338
18102
  $get: {
18339
- output: string;
18340
- outputFormat: "text";
18341
- status: 200;
18103
+ output: {
18104
+ error: string;
18105
+ };
18106
+ outputFormat: "json";
18107
+ status: 404;
18342
18108
  input: {
18343
18109
  param: {
18344
18110
  id: string;
18345
18111
  };
18346
18112
  };
18347
18113
  } | {
18348
- output: {
18349
- error: string;
18350
- };
18351
- outputFormat: "json";
18352
- status: 404;
18114
+ output: string;
18115
+ outputFormat: "text";
18116
+ status: 200;
18353
18117
  input: {
18354
18118
  param: {
18355
18119
  id: string;
@@ -18387,20 +18151,20 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18387
18151
  } & {
18388
18152
  "/runs/:id/diff": {
18389
18153
  $get: {
18390
- output: string;
18391
- outputFormat: "text";
18392
- status: import("hono/utils/http-status").ContentfulStatusCode;
18154
+ output: {
18155
+ error: string;
18156
+ };
18157
+ outputFormat: "json";
18158
+ status: 404 | 409;
18393
18159
  input: {
18394
18160
  param: {
18395
18161
  id: string;
18396
18162
  };
18397
18163
  };
18398
18164
  } | {
18399
- output: {
18400
- error: string;
18401
- };
18402
- outputFormat: "json";
18403
- status: 404 | 409;
18165
+ output: string;
18166
+ outputFormat: "text";
18167
+ status: import("hono/utils/http-status").ContentfulStatusCode;
18404
18168
  input: {
18405
18169
  param: {
18406
18170
  id: string;
@@ -19216,6 +18980,94 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19216
18980
  };
19217
18981
  };
19218
18982
  };
18983
+ }, "/"> | import("hono/types").MergeSchemaPath<{
18984
+ "/reports/state": {
18985
+ $get: {
18986
+ output: {
18987
+ error: string;
18988
+ };
18989
+ outputFormat: "json";
18990
+ status: 409;
18991
+ input: {};
18992
+ } | {
18993
+ output: {
18994
+ epoch: string;
18995
+ generation: number;
18996
+ metadataGeneration: number;
18997
+ };
18998
+ outputFormat: "json";
18999
+ status: import("hono/utils/http-status").ContentfulStatusCode;
19000
+ input: {};
19001
+ };
19002
+ };
19003
+ } & {
19004
+ "/reports": {
19005
+ $get: {
19006
+ output: {
19007
+ error: string;
19008
+ code?: "invalid_input" | undefined;
19009
+ };
19010
+ outputFormat: "json";
19011
+ status: 400;
19012
+ input: {
19013
+ query: {
19014
+ q?: string | undefined;
19015
+ before?: string | undefined;
19016
+ limit?: number | undefined;
19017
+ };
19018
+ };
19019
+ } | {
19020
+ output: {
19021
+ error: string;
19022
+ };
19023
+ outputFormat: "json";
19024
+ status: 409;
19025
+ input: {
19026
+ query: {
19027
+ q?: string | undefined;
19028
+ before?: string | undefined;
19029
+ limit?: number | undefined;
19030
+ };
19031
+ };
19032
+ } | {
19033
+ output: {
19034
+ error: string;
19035
+ };
19036
+ outputFormat: "json";
19037
+ status: 400;
19038
+ input: {
19039
+ query: {
19040
+ q?: string | undefined;
19041
+ before?: string | undefined;
19042
+ limit?: number | undefined;
19043
+ };
19044
+ };
19045
+ } | {
19046
+ output: {
19047
+ reports: {
19048
+ id: string;
19049
+ runId: string;
19050
+ name: string;
19051
+ title: string;
19052
+ createdAt: string;
19053
+ size: number;
19054
+ taskTitle: string;
19055
+ taskStatus: "cancelled" | "done" | "failed" | "queued" | "review" | "running" | "waiting";
19056
+ }[];
19057
+ nextCursor: string | null;
19058
+ total: number;
19059
+ };
19060
+ outputFormat: "json";
19061
+ status: import("hono/utils/http-status").ContentfulStatusCode;
19062
+ input: {
19063
+ query: {
19064
+ q?: string | undefined;
19065
+ before?: string | undefined;
19066
+ limit?: number | undefined;
19067
+ };
19068
+ };
19069
+ };
19070
+ };
19219
19071
  }, "/"> | import("hono/types").MergeSchemaPath<{
19220
19072
  "/ui-state": {
19221
19073
  $get: {
@@ -19237,10 +19089,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19237
19089
  }[] | undefined;
19238
19090
  lastWorktree?: boolean | undefined;
19239
19091
  lastAutonomous?: boolean | undefined;
19240
- disabledTeamSkills?: {
19241
- repo: string;
19242
- name: string;
19243
- }[] | undefined;
19244
19092
  skillUsage?: {
19245
19093
  [x: string]: number;
19246
19094
  } | undefined;
@@ -19284,10 +19132,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19284
19132
  }[] | undefined;
19285
19133
  lastWorktree?: boolean | undefined;
19286
19134
  lastAutonomous?: boolean | undefined;
19287
- disabledTeamSkills?: {
19288
- repo: string;
19289
- name: string;
19290
- }[] | undefined;
19291
19135
  skillUsage?: {
19292
19136
  [x: string]: number;
19293
19137
  } | undefined;
@@ -19318,10 +19162,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19318
19162
  } | undefined;
19319
19163
  lastWorktree?: boolean | undefined;
19320
19164
  lastAutonomous?: boolean | undefined;
19321
- disabledTeamSkills?: {
19322
- repo: string;
19323
- name: string;
19324
- }[] | undefined;
19325
19165
  runsView?: "list" | "table" | undefined;
19326
19166
  githubView?: "issues" | "prs" | undefined;
19327
19167
  appearance?: {
@@ -19363,10 +19203,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19363
19203
  } | undefined;
19364
19204
  lastWorktree?: boolean | undefined;
19365
19205
  lastAutonomous?: boolean | undefined;
19366
- disabledTeamSkills?: {
19367
- repo: string;
19368
- name: string;
19369
- }[] | undefined;
19370
19206
  runsView?: "list" | "table" | undefined;
19371
19207
  githubView?: "issues" | "prs" | undefined;
19372
19208
  appearance?: {
@@ -19673,104 +19509,8 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19673
19509
  json: {
19674
19510
  runId?: string | undefined;
19675
19511
  title?: string | undefined;
19676
- message: string;
19677
- data?: Record<string, unknown> | undefined;
19678
- };
19679
- };
19680
- } | {
19681
- output: {
19682
- error: string;
19683
- };
19684
- outputFormat: "json";
19685
- status: 404;
19686
- input: {
19687
- param: {
19688
- webhook: string;
19689
- };
19690
- } & {
19691
- json: {
19692
- runId?: string | undefined;
19693
- title?: string | undefined;
19694
- message: string;
19695
- data?: Record<string, unknown> | undefined;
19696
- };
19697
- };
19698
- } | {
19699
- output: {
19700
- ok: boolean;
19701
- webhook: {
19702
- id: string;
19703
- name: string;
19704
- };
19705
- deliveryId: string;
19706
- attempts: number;
19707
- status?: number | undefined;
19708
- error?: string | undefined;
19709
- dryRun?: boolean | undefined;
19710
- };
19711
- outputFormat: "json";
19712
- status: import("hono/utils/http-status").ContentfulStatusCode;
19713
- input: {
19714
- param: {
19715
- webhook: string;
19716
- };
19717
- } & {
19718
- json: {
19719
- runId?: string | undefined;
19720
- title?: string | undefined;
19721
- message: string;
19722
- data?: Record<string, unknown> | undefined;
19723
- };
19724
- };
19725
- };
19726
- };
19727
- }, "/"> | import("hono/types").MergeSchemaPath<{
19728
- "/reports/state": {
19729
- $get: {
19730
- output: {
19731
- error: string;
19732
- };
19733
- outputFormat: "json";
19734
- status: 409;
19735
- input: {};
19736
- } | {
19737
- output: {
19738
- epoch: string;
19739
- generation: number;
19740
- metadataGeneration: number;
19741
- };
19742
- outputFormat: "json";
19743
- status: import("hono/utils/http-status").ContentfulStatusCode;
19744
- input: {};
19745
- };
19746
- };
19747
- } & {
19748
- "/reports": {
19749
- $get: {
19750
- output: {
19751
- error: string;
19752
- code?: "invalid_input" | undefined;
19753
- };
19754
- outputFormat: "json";
19755
- status: 400;
19756
- input: {
19757
- query: {
19758
- q?: string | undefined;
19759
- before?: string | undefined;
19760
- limit?: number | undefined;
19761
- };
19762
- };
19763
- } | {
19764
- output: {
19765
- error: string;
19766
- };
19767
- outputFormat: "json";
19768
- status: 409;
19769
- input: {
19770
- query: {
19771
- q?: string | undefined;
19772
- before?: string | undefined;
19773
- limit?: number | undefined;
19512
+ message: string;
19513
+ data?: Record<string, unknown> | undefined;
19774
19514
  };
19775
19515
  };
19776
19516
  } | {
@@ -19778,36 +19518,44 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19778
19518
  error: string;
19779
19519
  };
19780
19520
  outputFormat: "json";
19781
- status: 400;
19521
+ status: 404;
19782
19522
  input: {
19783
- query: {
19784
- q?: string | undefined;
19785
- before?: string | undefined;
19786
- limit?: number | undefined;
19523
+ param: {
19524
+ webhook: string;
19525
+ };
19526
+ } & {
19527
+ json: {
19528
+ runId?: string | undefined;
19529
+ title?: string | undefined;
19530
+ message: string;
19531
+ data?: Record<string, unknown> | undefined;
19787
19532
  };
19788
19533
  };
19789
19534
  } | {
19790
19535
  output: {
19791
- reports: {
19536
+ ok: boolean;
19537
+ webhook: {
19792
19538
  id: string;
19793
- runId: string;
19794
19539
  name: string;
19795
- title: string;
19796
- createdAt: string;
19797
- size: number;
19798
- taskTitle: string;
19799
- taskStatus: "cancelled" | "done" | "failed" | "queued" | "review" | "running" | "waiting";
19800
- }[];
19801
- nextCursor: string | null;
19802
- total: number;
19540
+ };
19541
+ deliveryId: string;
19542
+ attempts: number;
19543
+ status?: number | undefined;
19544
+ error?: string | undefined;
19545
+ dryRun?: boolean | undefined;
19803
19546
  };
19804
19547
  outputFormat: "json";
19805
19548
  status: import("hono/utils/http-status").ContentfulStatusCode;
19806
19549
  input: {
19807
- query: {
19808
- q?: string | undefined;
19809
- before?: string | undefined;
19810
- limit?: number | undefined;
19550
+ param: {
19551
+ webhook: string;
19552
+ };
19553
+ } & {
19554
+ json: {
19555
+ runId?: string | undefined;
19556
+ title?: string | undefined;
19557
+ message: string;
19558
+ data?: Record<string, unknown> | undefined;
19811
19559
  };
19812
19560
  };
19813
19561
  };
@@ -20272,226 +20020,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
20272
20020
  };
20273
20021
  };
20274
20022
  };
20275
- }, "/"> | import("hono/types").MergeSchemaPath<{
20276
- "/skills/sources": {
20277
- $get: {
20278
- output: {
20279
- sources: {
20280
- repo: string;
20281
- ref: string;
20282
- enabled: boolean;
20283
- status: {
20284
- state: "idle";
20285
- } | {
20286
- state: "loading";
20287
- } | {
20288
- state: "ok";
20289
- skillCount: number;
20290
- } | {
20291
- state: "error";
20292
- cause: "fetch-failed" | "ref-not-found" | "refused-format";
20293
- detail: string;
20294
- skillCount: number;
20295
- };
20296
- }[];
20297
- editable: boolean;
20298
- configIssue: string | null;
20299
- };
20300
- outputFormat: "json";
20301
- status: 200;
20302
- input: {};
20303
- };
20304
- };
20305
- } & {
20306
- "/skills/sources": {
20307
- $post: {
20308
- output: {
20309
- sources: {
20310
- repo: string;
20311
- ref: string;
20312
- enabled: boolean;
20313
- status: {
20314
- state: "idle";
20315
- } | {
20316
- state: "loading";
20317
- } | {
20318
- state: "ok";
20319
- skillCount: number;
20320
- } | {
20321
- state: "error";
20322
- cause: "fetch-failed" | "ref-not-found" | "refused-format";
20323
- detail: string;
20324
- skillCount: number;
20325
- };
20326
- }[];
20327
- editable: boolean;
20328
- configIssue: string | null;
20329
- };
20330
- outputFormat: "json";
20331
- status: 200;
20332
- input: {
20333
- json: {
20334
- repo: string;
20335
- ref?: string | undefined;
20336
- };
20337
- };
20338
- } | {
20339
- output: {
20340
- error: string;
20341
- };
20342
- outputFormat: "json";
20343
- status: 404 | 409;
20344
- input: {
20345
- json: {
20346
- repo: string;
20347
- ref?: string | undefined;
20348
- };
20349
- };
20350
- };
20351
- };
20352
- } & {
20353
- "/skills/sources": {
20354
- $patch: {
20355
- output: {
20356
- sources: {
20357
- repo: string;
20358
- ref: string;
20359
- enabled: boolean;
20360
- status: {
20361
- state: "idle";
20362
- } | {
20363
- state: "loading";
20364
- } | {
20365
- state: "ok";
20366
- skillCount: number;
20367
- } | {
20368
- state: "error";
20369
- cause: "fetch-failed" | "ref-not-found" | "refused-format";
20370
- detail: string;
20371
- skillCount: number;
20372
- };
20373
- }[];
20374
- editable: boolean;
20375
- configIssue: string | null;
20376
- };
20377
- outputFormat: "json";
20378
- status: 200;
20379
- input: {
20380
- json: {
20381
- repo: string;
20382
- ref: string;
20383
- enabled: boolean;
20384
- };
20385
- };
20386
- } | {
20387
- output: {
20388
- error: string;
20389
- };
20390
- outputFormat: "json";
20391
- status: 404 | 409;
20392
- input: {
20393
- json: {
20394
- repo: string;
20395
- ref: string;
20396
- enabled: boolean;
20397
- };
20398
- };
20399
- };
20400
- };
20401
- } & {
20402
- "/skills/sources": {
20403
- $delete: {
20404
- output: {
20405
- sources: {
20406
- repo: string;
20407
- ref: string;
20408
- enabled: boolean;
20409
- status: {
20410
- state: "idle";
20411
- } | {
20412
- state: "loading";
20413
- } | {
20414
- state: "ok";
20415
- skillCount: number;
20416
- } | {
20417
- state: "error";
20418
- cause: "fetch-failed" | "ref-not-found" | "refused-format";
20419
- detail: string;
20420
- skillCount: number;
20421
- };
20422
- }[];
20423
- editable: boolean;
20424
- configIssue: string | null;
20425
- };
20426
- outputFormat: "json";
20427
- status: 200;
20428
- input: {
20429
- json: {
20430
- repo: string;
20431
- ref: string;
20432
- };
20433
- };
20434
- } | {
20435
- output: {
20436
- error: string;
20437
- };
20438
- outputFormat: "json";
20439
- status: 404 | 409;
20440
- input: {
20441
- json: {
20442
- repo: string;
20443
- ref: string;
20444
- };
20445
- };
20446
- };
20447
- };
20448
- } & {
20449
- "/skills/sources/retry": {
20450
- $post: {
20451
- output: {
20452
- sources: {
20453
- repo: string;
20454
- ref: string;
20455
- enabled: boolean;
20456
- status: {
20457
- state: "idle";
20458
- } | {
20459
- state: "loading";
20460
- } | {
20461
- state: "ok";
20462
- skillCount: number;
20463
- } | {
20464
- state: "error";
20465
- cause: "fetch-failed" | "ref-not-found" | "refused-format";
20466
- detail: string;
20467
- skillCount: number;
20468
- };
20469
- }[];
20470
- editable: boolean;
20471
- configIssue: string | null;
20472
- };
20473
- outputFormat: "json";
20474
- status: 200;
20475
- input: {
20476
- json: {
20477
- repo: string;
20478
- ref: string;
20479
- };
20480
- };
20481
- } | {
20482
- output: {
20483
- error: string;
20484
- };
20485
- outputFormat: "json";
20486
- status: 404 | 409;
20487
- input: {
20488
- json: {
20489
- repo: string;
20490
- ref: string;
20491
- };
20492
- };
20493
- };
20494
- };
20495
20023
  }, "/"> | import("hono/types").MergeSchemaPath<{
20496
20024
  "/repo": {
20497
20025
  $get: {
@@ -20658,19 +20186,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
20658
20186
  } & {
20659
20187
  "/repo/commit/:sha": {
20660
20188
  $get: {
20661
- output: string;
20662
- outputFormat: "text";
20663
- status: import("hono/utils/http-status").ContentfulStatusCode;
20664
- input: {
20665
- query: {
20666
- structured?: string | undefined;
20667
- };
20668
- } & {
20669
- param: {
20670
- sha: string;
20671
- };
20672
- };
20673
- } | {
20674
20189
  output: {
20675
20190
  error: string;
20676
20191
  code?: "invalid_input" | undefined;
@@ -20734,6 +20249,19 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
20734
20249
  sha: string;
20735
20250
  };
20736
20251
  };
20252
+ } | {
20253
+ output: string;
20254
+ outputFormat: "text";
20255
+ status: import("hono/utils/http-status").ContentfulStatusCode;
20256
+ input: {
20257
+ query: {
20258
+ structured?: string | undefined;
20259
+ };
20260
+ } & {
20261
+ param: {
20262
+ sha: string;
20263
+ };
20264
+ };
20737
20265
  };
20738
20266
  };
20739
20267
  } & {
@@ -34242,20 +33770,20 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
34242
33770
  } & {
34243
33771
  "/runs/:id/handoff": {
34244
33772
  $get: {
34245
- output: string;
34246
- outputFormat: "text";
34247
- status: 200;
33773
+ output: {
33774
+ error: string;
33775
+ };
33776
+ outputFormat: "json";
33777
+ status: 404;
34248
33778
  input: {
34249
33779
  param: {
34250
33780
  id: string;
34251
33781
  };
34252
33782
  };
34253
33783
  } | {
34254
- output: {
34255
- error: string;
34256
- };
34257
- outputFormat: "json";
34258
- status: 404;
33784
+ output: string;
33785
+ outputFormat: "text";
33786
+ status: 200;
34259
33787
  input: {
34260
33788
  param: {
34261
33789
  id: string;
@@ -34293,20 +33821,20 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
34293
33821
  } & {
34294
33822
  "/runs/:id/diff": {
34295
33823
  $get: {
34296
- output: string;
34297
- outputFormat: "text";
34298
- status: import("hono/utils/http-status").ContentfulStatusCode;
33824
+ output: {
33825
+ error: string;
33826
+ };
33827
+ outputFormat: "json";
33828
+ status: 404 | 409;
34299
33829
  input: {
34300
33830
  param: {
34301
33831
  id: string;
34302
33832
  };
34303
33833
  };
34304
33834
  } | {
34305
- output: {
34306
- error: string;
34307
- };
34308
- outputFormat: "json";
34309
- status: 404 | 409;
33835
+ output: string;
33836
+ outputFormat: "text";
33837
+ status: import("hono/utils/http-status").ContentfulStatusCode;
34310
33838
  input: {
34311
33839
  param: {
34312
33840
  id: string;