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

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 (121) hide show
  1. package/dist/agent-config/seed.js +1 -1
  2. package/dist/agent-config/seed.js.map +1 -1
  3. package/dist/automations/prompts.d.ts +0 -3
  4. package/dist/automations/prompts.js +0 -46
  5. package/dist/automations/prompts.js.map +1 -1
  6. package/dist/ci-wait/controller.d.ts +42 -42
  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/activity-routes.d.ts +23 -23
  25. package/dist/server/server.d.ts +281 -753
  26. package/dist/server/server.js +0 -2
  27. package/dist/server/server.js.map +1 -1
  28. package/dist/skills.d.ts +0 -69
  29. package/dist/skills.js +0 -202
  30. package/dist/skills.js.map +1 -1
  31. package/dist/ui-state.d.ts +1 -1
  32. package/dist/ui-state.js +1 -1
  33. package/dist/workflows/run/compose.d.ts +0 -2
  34. package/dist/workflows/run/compose.js.map +1 -1
  35. package/dist/workflows/run/continuation-session.js +2 -0
  36. package/dist/workflows/run/continuation-session.js.map +1 -1
  37. package/dist/workflows/run/launch-context.d.ts +1 -4
  38. package/dist/workflows/run/launch-context.js +1 -5
  39. package/dist/workflows/run/launch-context.js.map +1 -1
  40. package/dist/workflows/run/prompts.d.ts +0 -42
  41. package/dist/workflows/run/prompts.js +0 -80
  42. package/dist/workflows/run/prompts.js.map +1 -1
  43. package/dist/workflows/run/step-session.js +2 -0
  44. package/dist/workflows/run/step-session.js.map +1 -1
  45. package/dist/workflows/run.d.ts +1 -3
  46. package/dist/workflows/run.js +1 -3
  47. package/dist/workflows/run.js.map +1 -1
  48. package/dist/worktree-manifest.js +1 -1
  49. package/dist/worktree-manifest.js.map +1 -1
  50. package/dist/worktree-paths.d.ts +3 -0
  51. package/dist/worktree-paths.js +52 -0
  52. package/dist/worktree-paths.js.map +1 -0
  53. package/dist/worktree-skill-cleanup.d.ts +11 -0
  54. package/dist/worktree-skill-cleanup.js +53 -0
  55. package/dist/worktree-skill-cleanup.js.map +1 -0
  56. package/package.json +4 -4
  57. package/web/dist/assets/{activity-motion-YVMdTv1H.js → activity-motion-CRjdIuq0.js} +2 -2
  58. package/web/dist/assets/{activity-route-Bd9LuD0o.js → activity-route-4yon6jwC.js} +1 -1
  59. package/web/dist/assets/{agent-accounts-DetCQbKD.js → agent-accounts-l_Gn-Dja.js} +1 -1
  60. package/web/dist/assets/attention-DcMKBngT.js +1 -0
  61. package/web/dist/assets/{cez-idle-CnPEf2T2.js → cez-idle-BEO5j8ow.js} +1 -1
  62. package/web/dist/assets/{commit-diff-panel-BY9ItExV.js → commit-diff-panel-Cfnt30Tt.js} +1 -1
  63. package/web/dist/assets/{diff-nSqnAkNf.js → diff-Dx1bGt0w.js} +2 -2
  64. package/web/dist/assets/{diff-view-Bp_dyecW.js → diff-view-DJ4iFfkd.js} +1 -1
  65. package/web/dist/assets/{file-preview-Dkl6S-Ej.js → file-preview-6POBIfS-.js} +1 -1
  66. package/web/dist/assets/{git-toolbar-xd4qbEj6.js → git-toolbar-DwK9tJOu.js} +1 -1
  67. package/web/dist/assets/github-shozEZ-Z.js +1 -0
  68. package/web/dist/assets/{global-activity-route-BMBowNcw.js → global-activity-route-D_JqpAAR.js} +1 -1
  69. package/web/dist/assets/index-DMq98FV0.js +14 -0
  70. package/web/dist/assets/{live-protocol-C_Z-JQOy.js → live-protocol-Bn-xWBmZ.js} +1 -1
  71. package/web/dist/assets/{markdown-CZVLEjwk.js → markdown-fN_tqxh3.js} +1 -1
  72. package/web/dist/assets/picker-pill-BuYiT3fS.js +15 -0
  73. package/web/dist/assets/preview-pane-connected-D81HxFOI.js +3 -0
  74. package/web/dist/assets/{project-router-D5aSJsZ7.js → project-router-C68VktrY.js} +1 -1
  75. package/web/dist/assets/{project-scope-context-BUXmC8my.js → project-scope-context-Vv8ygMl6.js} +1 -1
  76. package/web/dist/assets/{prompt-template-menu-De-8v5io.js → prompt-template-menu-hXOsL4ia.js} +1 -1
  77. package/web/dist/assets/{queries-DkipLnOL.js → queries-Drt3XAiW.js} +1 -1
  78. package/web/dist/assets/{reference-chip-BVB5YsfP.js → reference-chip-oVw9Lal9.js} +1 -1
  79. package/web/dist/assets/{repo-git-BdRmck7y.js → repo-git-B295X5Wv.js} +1 -1
  80. package/web/dist/assets/{report-reader-C8_2WEz6.js → report-reader-HocN04sH.js} +1 -1
  81. package/web/dist/assets/{reports-DxAL6BCk.js → reports-B1KiT5at.js} +1 -1
  82. package/web/dist/assets/run-header-DyKGLM8b.js +2 -0
  83. package/web/dist/assets/{skills-C49LGb-4.js → skills-BRDqkbTt.js} +1 -1
  84. package/web/dist/assets/{tab-link-BTFjRC1e.js → tab-link-B4u5eY7O.js} +1 -1
  85. package/web/dist/assets/{task-changes-B0oxkbcW.js → task-changes-Bx8mrihw.js} +1 -1
  86. package/web/dist/assets/{task-commits-DDZcksfZ.js → task-commits-bARHGfsG.js} +1 -1
  87. package/web/dist/assets/{task-files-BTj0Ehlx.js → task-files-_SX670LL.js} +1 -1
  88. package/web/dist/assets/{task-github-item-y1rABsg2.js → task-github-item-Cw8-5BXV.js} +1 -1
  89. package/web/dist/assets/{task-thread-CaRlk42s.js → task-thread-BAeGEFEe.js} +7 -7
  90. package/web/dist/assets/{thread-state-BE9onTdO.js → thread-state-BpW3fVNR.js} +1 -1
  91. package/web/dist/assets/{use-desktop-DWhNBxlY.js → use-desktop-CuYLi0j4.js} +1 -1
  92. package/web/dist/assets/use-hand-to-agent-state-DU4XEkhv.js +1 -0
  93. package/web/dist/assets/{useInfiniteQuery-0WCd35C5.js → useInfiniteQuery-LV3jJNT5.js} +1 -1
  94. package/web/dist/assets/useQuery-DdfGRa2n.js +1 -0
  95. package/web/dist/assets/workflows-B_b47Jog.js +7 -0
  96. package/web/dist/assets/{ws-DJraxHk2.js → ws-DfYRWmd-.js} +1 -1
  97. package/web/dist/index.html +15 -15
  98. package/web/dist/live-worker.js +1 -1
  99. package/dist/automations/builtin-skill.d.ts +0 -7
  100. package/dist/automations/builtin-skill.js +0 -14
  101. package/dist/automations/builtin-skill.js.map +0 -1
  102. package/dist/contract/skill-sources.d.ts +0 -125
  103. package/dist/contract/team-skill-ref.d.ts +0 -10
  104. package/dist/server/skill-sources.d.ts +0 -264
  105. package/dist/server/skill-sources.js +0 -130
  106. package/dist/server/skill-sources.js.map +0 -1
  107. package/dist/skills-provision.d.ts +0 -64
  108. package/dist/skills-provision.js +0 -325
  109. package/dist/skills-provision.js.map +0 -1
  110. package/dist/skills-remote.d.ts +0 -144
  111. package/dist/skills-remote.js +0 -844
  112. package/dist/skills-remote.js.map +0 -1
  113. package/web/dist/assets/attention-Bs96zuwc.js +0 -1
  114. package/web/dist/assets/github-DRMN6FYi.js +0 -1
  115. package/web/dist/assets/index-QM9AFNSj.js +0 -14
  116. package/web/dist/assets/picker-pill-DKbLlGPr.js +0 -18
  117. package/web/dist/assets/preview-pane-connected-DCz8ZSjW.js +0 -3
  118. package/web/dist/assets/run-header-Dhh86q4A.js +0 -2
  119. package/web/dist/assets/use-hand-to-agent-state-D_Yp8YT9.js +0 -1
  120. package/web/dist/assets/useQuery-BifRjEjr.js +0 -1
  121. 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: {
@@ -4367,279 +4351,59 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4367
4351
  };
4368
4352
  };
4369
4353
  }, "/"> | import("hono/types").MergeSchemaPath<{
4370
- "/skills/sources": {
4354
+ "/repo": {
4371
4355
  $get: {
4372
4356
  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
- };
4357
+ info: null;
4358
+ status: never[];
4359
+ log: never[];
4360
+ branches: never[];
4361
+ baseBranch: null;
4362
+ tracking: null;
4363
+ };
4364
+ outputFormat: "json";
4365
+ status: import("hono/utils/http-status").ContentfulStatusCode;
4366
+ input: {};
4367
+ } | {
4368
+ output: {
4369
+ info: {
4370
+ root: string;
4371
+ branch: string;
4372
+ remote?: string | undefined;
4373
+ };
4374
+ status: {
4375
+ status: string;
4376
+ path: string;
4390
4377
  }[];
4391
- editable: boolean;
4392
- configIssue: string | null;
4378
+ log: ({
4379
+ hash: string;
4380
+ subject: string;
4381
+ author: string;
4382
+ when: string;
4383
+ at: string;
4384
+ } | {
4385
+ hash: string;
4386
+ subject: string;
4387
+ author: string;
4388
+ when: string;
4389
+ at: string;
4390
+ source: {
4391
+ runId: string;
4392
+ title: string;
4393
+ prNumber: number | null;
4394
+ };
4395
+ })[];
4396
+ branches: string[];
4397
+ baseBranch: string | null;
4398
+ tracking: {
4399
+ ref: string;
4400
+ ahead: number;
4401
+ behind: number;
4402
+ fetchedAt: string | null;
4403
+ } | null;
4393
4404
  };
4394
4405
  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;
4585
- };
4586
- };
4587
- };
4588
- };
4589
- }, "/"> | import("hono/types").MergeSchemaPath<{
4590
- "/repo": {
4591
- $get: {
4592
- output: {
4593
- info: null;
4594
- status: never[];
4595
- log: never[];
4596
- branches: never[];
4597
- baseBranch: null;
4598
- tracking: null;
4599
- };
4600
- outputFormat: "json";
4601
- status: import("hono/utils/http-status").ContentfulStatusCode;
4602
- input: {};
4603
- } | {
4604
- output: {
4605
- info: {
4606
- root: string;
4607
- branch: string;
4608
- remote?: string | undefined;
4609
- };
4610
- status: {
4611
- status: string;
4612
- path: string;
4613
- }[];
4614
- log: ({
4615
- hash: string;
4616
- subject: string;
4617
- author: string;
4618
- when: string;
4619
- at: string;
4620
- } | {
4621
- hash: string;
4622
- subject: string;
4623
- author: string;
4624
- when: string;
4625
- at: string;
4626
- source: {
4627
- runId: string;
4628
- title: string;
4629
- prNumber: number | null;
4630
- };
4631
- })[];
4632
- branches: string[];
4633
- baseBranch: string | null;
4634
- tracking: {
4635
- ref: string;
4636
- ahead: number;
4637
- behind: number;
4638
- fetchedAt: string | null;
4639
- } | null;
4640
- };
4641
- outputFormat: "json";
4642
- status: import("hono/utils/http-status").ContentfulStatusCode;
4406
+ status: import("hono/utils/http-status").ContentfulStatusCode;
4643
4407
  input: {};
4644
4408
  };
4645
4409
  };
@@ -19217,46 +18981,19 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19217
18981
  };
19218
18982
  };
19219
18983
  }, "/"> | import("hono/types").MergeSchemaPath<{
19220
- "/ui-state": {
18984
+ "/reports/state": {
19221
18985
  $get: {
19222
18986
  output: {
19223
- [x: string]: import("hono/utils/types").JSONValue;
19224
- sidebarLimits?: {
19225
- overall?: number | null | undefined;
19226
- needsYou?: number | null | undefined;
19227
- finished?: number | null | undefined;
19228
- working?: number | null | undefined;
19229
- } | undefined;
19230
- lastTask?: {
19231
- source: "skill" | "workflow";
19232
- ref: string;
19233
- } | null | undefined;
19234
- recentSources?: {
19235
- source: "skill" | "workflow";
19236
- ref: string;
19237
- }[] | undefined;
19238
- lastWorktree?: boolean | undefined;
19239
- lastAutonomous?: boolean | undefined;
19240
- disabledTeamSkills?: {
19241
- repo: string;
19242
- name: string;
19243
- }[] | undefined;
19244
- skillUsage?: {
19245
- [x: string]: number;
19246
- } | undefined;
19247
- runsView?: "list" | "table" | undefined;
19248
- githubView?: "issues" | "prs" | undefined;
19249
- appearance?: {
19250
- accent?: "cezarion" | "lime" | "violet" | undefined;
19251
- density?: "comfortable" | "compact" | "ultra" | undefined;
19252
- width?: "narrow" | "wide" | undefined;
19253
- } | undefined;
19254
- promptTemplates?: {
19255
- id: string;
19256
- label: string;
19257
- text: string;
19258
- skills?: string[] | undefined;
19259
- }[] | undefined;
18987
+ error: string;
18988
+ };
18989
+ outputFormat: "json";
18990
+ status: 409;
18991
+ input: {};
18992
+ } | {
18993
+ output: {
18994
+ epoch: string;
18995
+ generation: number;
18996
+ metadataGeneration: number;
19260
18997
  };
19261
18998
  outputFormat: "json";
19262
18999
  status: import("hono/utils/http-status").ContentfulStatusCode;
@@ -19264,30 +19001,137 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19264
19001
  };
19265
19002
  };
19266
19003
  } & {
19267
- "/ui-state": {
19268
- $put: {
19004
+ "/reports": {
19005
+ $get: {
19269
19006
  output: {
19270
- [x: string]: import("hono/utils/types").JSONValue;
19271
- sidebarLimits?: {
19272
- overall?: number | null | undefined;
19273
- needsYou?: number | null | undefined;
19274
- finished?: number | null | undefined;
19275
- working?: number | null | undefined;
19276
- } | undefined;
19277
- lastTask?: {
19278
- source: "skill" | "workflow";
19279
- ref: string;
19280
- } | null | undefined;
19281
- recentSources?: {
19282
- source: "skill" | "workflow";
19283
- ref: string;
19284
- }[] | undefined;
19285
- lastWorktree?: boolean | undefined;
19286
- lastAutonomous?: boolean | undefined;
19287
- disabledTeamSkills?: {
19288
- repo: string;
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;
19289
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
+ };
19071
+ }, "/"> | import("hono/types").MergeSchemaPath<{
19072
+ "/ui-state": {
19073
+ $get: {
19074
+ output: {
19075
+ [x: string]: import("hono/utils/types").JSONValue;
19076
+ sidebarLimits?: {
19077
+ overall?: number | null | undefined;
19078
+ needsYou?: number | null | undefined;
19079
+ finished?: number | null | undefined;
19080
+ working?: number | null | undefined;
19081
+ } | undefined;
19082
+ lastTask?: {
19083
+ source: "skill" | "workflow";
19084
+ ref: string;
19085
+ } | null | undefined;
19086
+ recentSources?: {
19087
+ source: "skill" | "workflow";
19088
+ ref: string;
19290
19089
  }[] | undefined;
19090
+ lastWorktree?: boolean | undefined;
19091
+ lastAutonomous?: boolean | undefined;
19092
+ skillUsage?: {
19093
+ [x: string]: number;
19094
+ } | undefined;
19095
+ runsView?: "list" | "table" | undefined;
19096
+ githubView?: "issues" | "prs" | undefined;
19097
+ appearance?: {
19098
+ accent?: "cezarion" | "lime" | "violet" | undefined;
19099
+ density?: "comfortable" | "compact" | "ultra" | undefined;
19100
+ width?: "narrow" | "wide" | undefined;
19101
+ } | undefined;
19102
+ promptTemplates?: {
19103
+ id: string;
19104
+ label: string;
19105
+ text: string;
19106
+ skills?: string[] | undefined;
19107
+ }[] | undefined;
19108
+ };
19109
+ outputFormat: "json";
19110
+ status: import("hono/utils/http-status").ContentfulStatusCode;
19111
+ input: {};
19112
+ };
19113
+ };
19114
+ } & {
19115
+ "/ui-state": {
19116
+ $put: {
19117
+ output: {
19118
+ [x: string]: import("hono/utils/types").JSONValue;
19119
+ sidebarLimits?: {
19120
+ overall?: number | null | undefined;
19121
+ needsYou?: number | null | undefined;
19122
+ finished?: number | null | undefined;
19123
+ working?: number | null | undefined;
19124
+ } | undefined;
19125
+ lastTask?: {
19126
+ source: "skill" | "workflow";
19127
+ ref: string;
19128
+ } | null | undefined;
19129
+ recentSources?: {
19130
+ source: "skill" | "workflow";
19131
+ ref: string;
19132
+ }[] | undefined;
19133
+ lastWorktree?: boolean | undefined;
19134
+ lastAutonomous?: boolean | 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?: {
@@ -19724,94 +19560,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19724
19560
  };
19725
19561
  };
19726
19562
  };
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;
19774
- };
19775
- };
19776
- } | {
19777
- output: {
19778
- error: string;
19779
- };
19780
- outputFormat: "json";
19781
- status: 400;
19782
- input: {
19783
- query: {
19784
- q?: string | undefined;
19785
- before?: string | undefined;
19786
- limit?: number | undefined;
19787
- };
19788
- };
19789
- } | {
19790
- output: {
19791
- reports: {
19792
- id: string;
19793
- runId: string;
19794
- 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;
19803
- };
19804
- outputFormat: "json";
19805
- status: import("hono/utils/http-status").ContentfulStatusCode;
19806
- input: {
19807
- query: {
19808
- q?: string | undefined;
19809
- before?: string | undefined;
19810
- limit?: number | undefined;
19811
- };
19812
- };
19813
- };
19814
- };
19815
19563
  }, "/"> | import("hono/types").MergeSchemaPath<{
19816
19564
  "/worktrees": {
19817
19565
  $get: {
@@ -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: {