@hearsay-tools/squawk 0.19.0-dev.9088 → 0.19.0-dev.9092

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 (76) hide show
  1. package/dist/built-in-cli-commands.js +0 -4
  2. package/dist/built-in-cli-commands.js.map +1 -1
  3. package/dist/built-in-launch-parts.d.ts +0 -4
  4. package/dist/built-in-launch-parts.js +1 -17
  5. package/dist/built-in-launch-parts.js.map +1 -1
  6. package/dist/ci-wait/controller.d.ts +7 -7
  7. package/dist/core/server-hook-registry.d.ts +17 -2
  8. package/dist/core/server-hook-registry.js +1 -0
  9. package/dist/core/server-hook-registry.js.map +1 -1
  10. package/dist/features/webhooks/capability.d.ts +3 -0
  11. package/dist/features/webhooks/capability.js +6 -0
  12. package/dist/features/webhooks/capability.js.map +1 -0
  13. package/dist/features/webhooks/cli-command.d.ts +3 -0
  14. package/dist/features/webhooks/cli-command.js +10 -0
  15. package/dist/features/webhooks/cli-command.js.map +1 -0
  16. package/dist/{webhooks → features/webhooks}/cli.d.ts +2 -2
  17. package/dist/{webhooks → features/webhooks}/cli.js +7 -7
  18. package/dist/features/webhooks/cli.js.map +1 -0
  19. package/dist/features/webhooks/index.d.ts +13 -0
  20. package/dist/features/webhooks/index.js +14 -0
  21. package/dist/features/webhooks/index.js.map +1 -0
  22. package/dist/features/webhooks/launch-part.d.ts +7 -0
  23. package/dist/features/webhooks/launch-part.js +19 -0
  24. package/dist/features/webhooks/launch-part.js.map +1 -0
  25. package/dist/{webhooks → features/webhooks}/prompt.d.ts +1 -1
  26. package/dist/{webhooks → features/webhooks}/prompt.js +1 -1
  27. package/dist/features/webhooks/prompt.js.map +1 -0
  28. package/dist/features/webhooks/routes.d.ts +463 -0
  29. package/dist/features/webhooks/routes.js +177 -0
  30. package/dist/features/webhooks/routes.js.map +1 -0
  31. package/dist/features/webhooks/server-plugin.d.ts +16 -0
  32. package/dist/features/webhooks/server-plugin.js +98 -0
  33. package/dist/features/webhooks/server-plugin.js.map +1 -0
  34. package/dist/{runs → features/webhooks}/webhook.d.ts +5 -5
  35. package/dist/{runs → features/webhooks}/webhook.js +16 -10
  36. package/dist/features/webhooks/webhook.js.map +1 -0
  37. package/dist/plugin/index.d.ts +1 -1
  38. package/dist/plugin/index.js.map +1 -1
  39. package/dist/serve-command.d.ts +2 -2
  40. package/dist/serve-command.js +13 -9
  41. package/dist/serve-command.js.map +1 -1
  42. package/dist/server/plugin-server-hooks.d.ts +12 -1
  43. package/dist/server/plugin-server-hooks.js +33 -0
  44. package/dist/server/plugin-server-hooks.js.map +1 -1
  45. package/dist/server/project-settings-routes.d.ts +0 -90
  46. package/dist/server/project-settings-routes.js +0 -30
  47. package/dist/server/project-settings-routes.js.map +1 -1
  48. package/dist/server/projects-routes.d.ts +1 -376
  49. package/dist/server/projects-routes.js +2 -137
  50. package/dist/server/projects-routes.js.map +1 -1
  51. package/dist/server/providers-routes.d.ts +58 -58
  52. package/dist/server/runner-install-routes.d.ts +10 -10
  53. package/dist/server/runs-routes.d.ts +279 -297
  54. package/dist/server/runs-routes.js +6 -11
  55. package/dist/server/runs-routes.js.map +1 -1
  56. package/dist/server/server-deps.d.ts +1 -4
  57. package/dist/server/server-deps.js +3 -7
  58. package/dist/server/server-deps.js.map +1 -1
  59. package/dist/server/server.d.ts +296 -876
  60. package/dist/server/server.js +10 -16
  61. package/dist/server/server.js.map +1 -1
  62. package/dist/server/start-run-options.d.ts +5 -3
  63. package/dist/server/start-run-options.js +8 -3
  64. package/dist/server/start-run-options.js.map +1 -1
  65. package/dist/server/start-server.js +8 -11
  66. package/dist/server/start-server.js.map +1 -1
  67. package/dist/server/workspace-identity-routes.d.ts +5 -5
  68. package/dist/server/workspace-live-routes.d.ts +6 -6
  69. package/dist/server/workspace-projects.d.ts +2 -5
  70. package/dist/server/workspace-projects.js +10 -11
  71. package/dist/server/workspace-projects.js.map +1 -1
  72. package/dist/server/workspace-routes.d.ts +85 -85
  73. package/package.json +4 -4
  74. package/dist/runs/webhook.js.map +0 -1
  75. package/dist/webhooks/cli.js.map +0 -1
  76. package/dist/webhooks/prompt.js.map +0 -1
@@ -6,7 +6,6 @@ import { type WorkspaceProjects } from './workspace-projects.ts';
6
6
  import { type WorkerCleanupFactory } from '../delegation/service.ts';
7
7
  import type { DelegationController } from '../delegation/provision.ts';
8
8
  import { Hono } from 'hono';
9
- import { TaskWebhooks } from '../runs/webhook.ts';
10
9
  import type { RunnerFactory } from '../core/agent-runner.ts';
11
10
  import type { HttpRouteDefinition } from '../core/http-route-registry.ts';
12
11
  import type { LiveTopicDefinition } from '../core/live-topic-registry.ts';
@@ -35,13 +34,6 @@ export interface ServerDeps extends ActivityServerDeps {
35
34
  projectForge?: ProjectForgeResolver;
36
35
  /** CLI lifetime ownership, shared with secondary project contexts. */
37
36
  ownership?: CockpitOwnership;
38
- /** The task-webhook subscribers (#589). Boot creates it and attaches the boot store BEFORE
39
- * `manager.recover()`, so recovery's transitions are reported; `startServer` sets its origin
40
- * from the port it binds. Absent (tests, embedded apps), `createApp` makes its own. */
41
- taskWebhooks?: TaskWebhooks;
42
- /** Test seam for task-webhook deliveries (#589): the `fetch` they POST with. Used only when
43
- * `createApp` builds its own `TaskWebhooks`. */
44
- taskWebhookFetch?: typeof fetch;
45
37
  /** Same-process optional private listener; attached to managers before recovery. Without it, `workerCleanup` lets the fallback service destroy workers. */
46
38
  delegation?: DelegationController;
47
39
  workerCleanup?: WorkerCleanupFactory;
@@ -2423,380 +2415,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2423
2415
  };
2424
2416
  };
2425
2417
  };
2426
- } & {
2427
- "/projects/:projectId/webhook/test": {
2428
- $post: {
2429
- output: {
2430
- error: string;
2431
- code: "no-boot-project";
2432
- };
2433
- outputFormat: "json";
2434
- status: 409;
2435
- input: {
2436
- param: {
2437
- projectId: string;
2438
- };
2439
- };
2440
- } | {
2441
- output: {
2442
- error: string;
2443
- };
2444
- outputFormat: "json";
2445
- status: 404;
2446
- input: {
2447
- param: {
2448
- projectId: string;
2449
- };
2450
- };
2451
- } | {
2452
- output: {
2453
- error: string;
2454
- };
2455
- outputFormat: "json";
2456
- status: 400;
2457
- input: {
2458
- param: {
2459
- projectId: string;
2460
- };
2461
- };
2462
- } | {
2463
- output: {
2464
- ok: boolean;
2465
- status?: number | undefined;
2466
- error?: string | undefined;
2467
- dryRun?: boolean | undefined;
2468
- };
2469
- outputFormat: "json";
2470
- status: import("hono/utils/http-status").ContentfulStatusCode;
2471
- input: {
2472
- param: {
2473
- projectId: string;
2474
- };
2475
- };
2476
- };
2477
- };
2478
- } & {
2479
- "/projects/:projectId/webhooks": {
2480
- $post: {
2481
- output: {
2482
- error: string;
2483
- code?: "no-boot-project" | undefined;
2484
- };
2485
- outputFormat: "json";
2486
- status: 400 | 404 | 409 | 500;
2487
- input: {
2488
- json: {
2489
- name: string;
2490
- description?: string | undefined;
2491
- url: string;
2492
- token?: string | undefined;
2493
- tasks?: boolean | undefined;
2494
- triggers?: ("cancelled" | "done" | "failed" | "needs-you" | "running" | "waiting-ci" | "waiting-other" | "waiting-timer" | "waiting-workers")[] | undefined;
2495
- agent?: boolean | undefined;
2496
- };
2497
- } & {
2498
- param: {
2499
- projectId: string;
2500
- };
2501
- };
2502
- } | {
2503
- output: {
2504
- project: {
2505
- id: string;
2506
- name: string;
2507
- root: string;
2508
- addedAt: string;
2509
- lastOpenedAt: string;
2510
- source: "checkout" | "local";
2511
- status: "missing" | "not-git" | "ok";
2512
- branch?: string | undefined;
2513
- forge?: string | undefined;
2514
- repoUrl?: string | undefined;
2515
- maxParallel?: number | undefined;
2516
- tags?: string[] | undefined;
2517
- webhook?: {
2518
- url: string;
2519
- tokenSet: boolean;
2520
- triggers?: ("cancelled" | "done" | "failed" | "needs-you" | "running" | "waiting-ci" | "waiting-other" | "waiting-timer" | "waiting-workers")[] | undefined;
2521
- } | undefined;
2522
- webhooks?: {
2523
- id: string;
2524
- name: string;
2525
- description?: string | undefined;
2526
- url: string;
2527
- tokenSet: boolean;
2528
- tasks: boolean;
2529
- triggers?: ("cancelled" | "done" | "failed" | "needs-you" | "running" | "waiting-ci" | "waiting-other" | "waiting-timer" | "waiting-workers")[] | undefined;
2530
- agent: boolean;
2531
- }[] | undefined;
2532
- };
2533
- webhook: {
2534
- id: string;
2535
- name: string;
2536
- description?: string | undefined;
2537
- url: string;
2538
- tokenSet: boolean;
2539
- tasks: boolean;
2540
- triggers?: ("cancelled" | "done" | "failed" | "needs-you" | "running" | "waiting-ci" | "waiting-other" | "waiting-timer" | "waiting-workers")[] | undefined;
2541
- agent: boolean;
2542
- };
2543
- };
2544
- outputFormat: "json";
2545
- status: 201;
2546
- input: {
2547
- json: {
2548
- name: string;
2549
- description?: string | undefined;
2550
- url: string;
2551
- token?: string | undefined;
2552
- tasks?: boolean | undefined;
2553
- triggers?: ("cancelled" | "done" | "failed" | "needs-you" | "running" | "waiting-ci" | "waiting-other" | "waiting-timer" | "waiting-workers")[] | undefined;
2554
- agent?: boolean | undefined;
2555
- };
2556
- } & {
2557
- param: {
2558
- projectId: string;
2559
- };
2560
- };
2561
- };
2562
- };
2563
- } & {
2564
- "/projects/:projectId/webhooks/:webhookId": {
2565
- $patch: {
2566
- output: {
2567
- error: string;
2568
- code?: "invalid_input" | undefined;
2569
- };
2570
- outputFormat: "json";
2571
- status: 400;
2572
- input: {
2573
- param: {
2574
- projectId: string;
2575
- webhookId: string;
2576
- };
2577
- } & {
2578
- json: {
2579
- name?: string | undefined;
2580
- description?: string | undefined;
2581
- url?: string | undefined;
2582
- token?: string | undefined;
2583
- tasks?: boolean | undefined;
2584
- triggers?: ("cancelled" | "done" | "failed" | "needs-you" | "running" | "waiting-ci" | "waiting-other" | "waiting-timer" | "waiting-workers")[] | undefined;
2585
- agent?: boolean | undefined;
2586
- };
2587
- };
2588
- } | {
2589
- output: {
2590
- project: {
2591
- id: string;
2592
- name: string;
2593
- root: string;
2594
- addedAt: string;
2595
- lastOpenedAt: string;
2596
- source: "checkout" | "local";
2597
- status: "missing" | "not-git" | "ok";
2598
- branch?: string | undefined;
2599
- forge?: string | undefined;
2600
- repoUrl?: string | undefined;
2601
- maxParallel?: number | undefined;
2602
- tags?: string[] | undefined;
2603
- webhook?: {
2604
- url: string;
2605
- tokenSet: boolean;
2606
- triggers?: ("cancelled" | "done" | "failed" | "needs-you" | "running" | "waiting-ci" | "waiting-other" | "waiting-timer" | "waiting-workers")[] | undefined;
2607
- } | undefined;
2608
- webhooks?: {
2609
- id: string;
2610
- name: string;
2611
- description?: string | undefined;
2612
- url: string;
2613
- tokenSet: boolean;
2614
- tasks: boolean;
2615
- triggers?: ("cancelled" | "done" | "failed" | "needs-you" | "running" | "waiting-ci" | "waiting-other" | "waiting-timer" | "waiting-workers")[] | undefined;
2616
- agent: boolean;
2617
- }[] | undefined;
2618
- };
2619
- webhook: {
2620
- id: string;
2621
- name: string;
2622
- description?: string | undefined;
2623
- url: string;
2624
- tokenSet: boolean;
2625
- tasks: boolean;
2626
- triggers?: ("cancelled" | "done" | "failed" | "needs-you" | "running" | "waiting-ci" | "waiting-other" | "waiting-timer" | "waiting-workers")[] | undefined;
2627
- agent: boolean;
2628
- };
2629
- };
2630
- outputFormat: "json";
2631
- status: import("hono/utils/http-status").ContentfulStatusCode;
2632
- input: {
2633
- param: {
2634
- projectId: string;
2635
- webhookId: string;
2636
- };
2637
- } & {
2638
- json: {
2639
- name?: string | undefined;
2640
- description?: string | undefined;
2641
- url?: string | undefined;
2642
- token?: string | undefined;
2643
- tasks?: boolean | undefined;
2644
- triggers?: ("cancelled" | "done" | "failed" | "needs-you" | "running" | "waiting-ci" | "waiting-other" | "waiting-timer" | "waiting-workers")[] | undefined;
2645
- agent?: boolean | undefined;
2646
- };
2647
- };
2648
- } | {
2649
- output: {
2650
- error: string;
2651
- code?: "no-boot-project" | undefined;
2652
- };
2653
- outputFormat: "json";
2654
- status: 400 | 404 | 409 | 500;
2655
- input: {
2656
- param: {
2657
- projectId: string;
2658
- webhookId: string;
2659
- };
2660
- } & {
2661
- json: {
2662
- name?: string | undefined;
2663
- description?: string | undefined;
2664
- url?: string | undefined;
2665
- token?: string | undefined;
2666
- tasks?: boolean | undefined;
2667
- triggers?: ("cancelled" | "done" | "failed" | "needs-you" | "running" | "waiting-ci" | "waiting-other" | "waiting-timer" | "waiting-workers")[] | undefined;
2668
- agent?: boolean | undefined;
2669
- };
2670
- };
2671
- };
2672
- };
2673
- } & {
2674
- "/projects/:projectId/webhooks/:webhookId": {
2675
- $delete: {
2676
- output: {
2677
- error: string;
2678
- code?: "invalid_input" | undefined;
2679
- };
2680
- outputFormat: "json";
2681
- status: 400;
2682
- input: {
2683
- param: {
2684
- projectId: string;
2685
- webhookId: string;
2686
- };
2687
- };
2688
- } | {
2689
- output: {
2690
- project: {
2691
- id: string;
2692
- name: string;
2693
- root: string;
2694
- addedAt: string;
2695
- lastOpenedAt: string;
2696
- source: "checkout" | "local";
2697
- status: "missing" | "not-git" | "ok";
2698
- branch?: string | undefined;
2699
- forge?: string | undefined;
2700
- repoUrl?: string | undefined;
2701
- maxParallel?: number | undefined;
2702
- tags?: string[] | undefined;
2703
- webhook?: {
2704
- url: string;
2705
- tokenSet: boolean;
2706
- triggers?: ("cancelled" | "done" | "failed" | "needs-you" | "running" | "waiting-ci" | "waiting-other" | "waiting-timer" | "waiting-workers")[] | undefined;
2707
- } | undefined;
2708
- webhooks?: {
2709
- id: string;
2710
- name: string;
2711
- description?: string | undefined;
2712
- url: string;
2713
- tokenSet: boolean;
2714
- tasks: boolean;
2715
- triggers?: ("cancelled" | "done" | "failed" | "needs-you" | "running" | "waiting-ci" | "waiting-other" | "waiting-timer" | "waiting-workers")[] | undefined;
2716
- agent: boolean;
2717
- }[] | undefined;
2718
- };
2719
- };
2720
- outputFormat: "json";
2721
- status: import("hono/utils/http-status").ContentfulStatusCode;
2722
- input: {
2723
- param: {
2724
- projectId: string;
2725
- webhookId: string;
2726
- };
2727
- };
2728
- } | {
2729
- output: {
2730
- error: string;
2731
- code?: "no-boot-project" | undefined;
2732
- };
2733
- outputFormat: "json";
2734
- status: 400 | 404 | 409 | 500;
2735
- input: {
2736
- param: {
2737
- projectId: string;
2738
- webhookId: string;
2739
- };
2740
- };
2741
- };
2742
- };
2743
- } & {
2744
- "/projects/:projectId/webhooks/:webhookId/test": {
2745
- $post: {
2746
- output: {
2747
- error: string;
2748
- code?: "invalid_input" | undefined;
2749
- };
2750
- outputFormat: "json";
2751
- status: 400;
2752
- input: {
2753
- param: {
2754
- projectId: string;
2755
- webhookId: string;
2756
- };
2757
- };
2758
- } | {
2759
- output: {
2760
- ok: boolean;
2761
- status?: number | undefined;
2762
- error?: string | undefined;
2763
- dryRun?: boolean | undefined;
2764
- };
2765
- outputFormat: "json";
2766
- status: import("hono/utils/http-status").ContentfulStatusCode;
2767
- input: {
2768
- param: {
2769
- projectId: string;
2770
- webhookId: string;
2771
- };
2772
- };
2773
- } | {
2774
- output: {
2775
- error: string;
2776
- code: "no-boot-project";
2777
- };
2778
- outputFormat: "json";
2779
- status: 409;
2780
- input: {
2781
- param: {
2782
- projectId: string;
2783
- webhookId: string;
2784
- };
2785
- };
2786
- } | {
2787
- output: {
2788
- error: string;
2789
- };
2790
- outputFormat: "json";
2791
- status: 404;
2792
- input: {
2793
- param: {
2794
- projectId: string;
2795
- webhookId: string;
2796
- };
2797
- };
2798
- };
2799
- };
2800
2418
  } & {
2801
2419
  "/projects/checkout/:checkoutId/progress": {
2802
2420
  $get: {
@@ -3479,59 +3097,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3479
3097
  };
3480
3098
  };
3481
3099
  };
3482
- }, "/"> | import("hono/types").MergeSchemaPath<{
3483
- "/open-targets": {
3484
- $get: {
3485
- output: {
3486
- targets: {
3487
- id: string;
3488
- label: string;
3489
- icon?: string;
3490
- }[];
3491
- };
3492
- outputFormat: "json";
3493
- status: import("hono/utils/http-status").ContentfulStatusCode;
3494
- input: {};
3495
- };
3496
- };
3497
- } & {
3498
- "/open-in": {
3499
- $post: {
3500
- output: {
3501
- error: string;
3502
- };
3503
- outputFormat: "json";
3504
- status: 409;
3505
- input: {
3506
- json: {
3507
- target: string;
3508
- };
3509
- };
3510
- } | {
3511
- output: {
3512
- error: string;
3513
- };
3514
- outputFormat: "json";
3515
- status: 400;
3516
- input: {
3517
- json: {
3518
- target: string;
3519
- };
3520
- };
3521
- } | {
3522
- output: {
3523
- opened: true;
3524
- path: string;
3525
- };
3526
- outputFormat: "json";
3527
- status: import("hono/utils/http-status").ContentfulStatusCode;
3528
- input: {
3529
- json: {
3530
- target: string;
3531
- };
3532
- };
3533
- };
3534
- };
3535
3100
  }, "/"> | import("hono/types").MergeSchemaPath<{
3536
3101
  "/ui-state": {
3537
3102
  $get: {
@@ -3840,89 +3405,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3840
3405
  };
3841
3406
  };
3842
3407
  };
3843
- }, "/"> | import("hono/types").MergeSchemaPath<{
3844
- "/agent-webhooks": {
3845
- $get: {
3846
- output: {
3847
- webhooks: {
3848
- id: string;
3849
- name: string;
3850
- description?: string | undefined;
3851
- }[];
3852
- };
3853
- outputFormat: "json";
3854
- status: import("hono/utils/http-status").ContentfulStatusCode;
3855
- input: {};
3856
- };
3857
- };
3858
- } & {
3859
- "/agent-webhooks/:webhook": {
3860
- $post: {
3861
- output: {
3862
- error: string;
3863
- code?: "invalid_input" | undefined;
3864
- };
3865
- outputFormat: "json";
3866
- status: 400;
3867
- input: {
3868
- param: {
3869
- webhook: string;
3870
- };
3871
- } & {
3872
- json: {
3873
- runId?: string | undefined;
3874
- title?: string | undefined;
3875
- message: string;
3876
- data?: Record<string, unknown> | undefined;
3877
- };
3878
- };
3879
- } | {
3880
- output: {
3881
- error: string;
3882
- };
3883
- outputFormat: "json";
3884
- status: 404;
3885
- input: {
3886
- param: {
3887
- webhook: string;
3888
- };
3889
- } & {
3890
- json: {
3891
- runId?: string | undefined;
3892
- title?: string | undefined;
3893
- message: string;
3894
- data?: Record<string, unknown> | undefined;
3895
- };
3896
- };
3897
- } | {
3898
- output: {
3899
- ok: boolean;
3900
- webhook: {
3901
- id: string;
3902
- name: string;
3903
- };
3904
- deliveryId: string;
3905
- attempts: number;
3906
- status?: number | undefined;
3907
- error?: string | undefined;
3908
- dryRun?: boolean | undefined;
3909
- };
3910
- outputFormat: "json";
3911
- status: import("hono/utils/http-status").ContentfulStatusCode;
3912
- input: {
3913
- param: {
3914
- webhook: string;
3915
- };
3916
- } & {
3917
- json: {
3918
- runId?: string | undefined;
3919
- title?: string | undefined;
3920
- message: string;
3921
- data?: Record<string, unknown> | undefined;
3922
- };
3923
- };
3924
- };
3925
- };
3926
3408
  }, "/"> | import("hono/types").MergeSchemaPath<{
3927
3409
  "/runs/:id/events": {
3928
3410
  $get: {
@@ -3968,32 +3450,14 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3968
3450
  };
3969
3451
  };
3970
3452
  }, "/"> | import("hono/types").MergeSchemaPath<{
3971
- "/worktrees": {
3453
+ "/open-targets": {
3972
3454
  $get: {
3973
3455
  output: {
3974
- worktrees: {
3975
- runId: string;
3976
- title: string;
3977
- status: "cancelled" | "done" | "failed" | "queued" | "review" | "running" | "waiting";
3978
- branch: string | null;
3979
- sizeBytes: number | null;
3980
- finishedAt: string | null;
3981
- reclaimable: boolean;
3982
- pastKeep: boolean;
3983
- reclaimBlocker: {
3984
- kind: "dirty";
3985
- uncommittedFiles: number;
3986
- detachedHead: boolean;
3987
- } | {
3988
- kind: "detached-head";
3989
- } | {
3990
- kind: "submodules";
3991
- } | {
3992
- kind: "invalid";
3993
- } | null;
3456
+ targets: {
3457
+ id: string;
3458
+ label: string;
3459
+ icon?: string;
3994
3460
  }[];
3995
- totalBytes: number | null;
3996
- keep: number;
3997
3461
  };
3998
3462
  outputFormat: "json";
3999
3463
  status: import("hono/utils/http-status").ContentfulStatusCode;
@@ -4001,39 +3465,16 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4001
3465
  };
4002
3466
  };
4003
3467
  } & {
4004
- "/worktrees/reclaim": {
4005
- $post: {
4006
- output: {
4007
- reclaimed: string[];
4008
- };
4009
- outputFormat: "json";
4010
- status: import("hono/utils/http-status").ContentfulStatusCode;
4011
- input: {
4012
- json: {
4013
- discardWork: true;
4014
- runIds: string[];
4015
- } | {
4016
- discardWork?: false | undefined;
4017
- };
4018
- };
4019
- };
4020
- };
4021
- } & {
4022
- "/worktrees/:runId/reclaim": {
3468
+ "/open-in": {
4023
3469
  $post: {
4024
3470
  output: {
4025
3471
  error: string;
4026
- code?: "invalid_input" | undefined;
4027
3472
  };
4028
3473
  outputFormat: "json";
4029
- status: 400;
3474
+ status: 409;
4030
3475
  input: {
4031
- param: {
4032
- runId: string;
4033
- };
4034
- } & {
4035
3476
  json: {
4036
- discardWork?: boolean | undefined;
3477
+ target: string;
4037
3478
  };
4038
3479
  };
4039
3480
  } | {
@@ -4041,30 +3482,22 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4041
3482
  error: string;
4042
3483
  };
4043
3484
  outputFormat: "json";
4044
- status: 404 | 409;
3485
+ status: 400;
4045
3486
  input: {
4046
- param: {
4047
- runId: string;
4048
- };
4049
- } & {
4050
3487
  json: {
4051
- discardWork?: boolean | undefined;
3488
+ target: string;
4052
3489
  };
4053
3490
  };
4054
3491
  } | {
4055
3492
  output: {
4056
- runId: string;
4057
- worktreeReclaimedAt: string;
3493
+ opened: true;
3494
+ path: string;
4058
3495
  };
4059
3496
  outputFormat: "json";
4060
3497
  status: import("hono/utils/http-status").ContentfulStatusCode;
4061
3498
  input: {
4062
- param: {
4063
- runId: string;
4064
- };
4065
- } & {
4066
3499
  json: {
4067
- discardWork?: boolean | undefined;
3500
+ target: string;
4068
3501
  };
4069
3502
  };
4070
3503
  };
@@ -4209,6 +3642,108 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4209
3642
  };
4210
3643
  };
4211
3644
  };
3645
+ }, "/"> | import("hono/types").MergeSchemaPath<{
3646
+ "/worktrees": {
3647
+ $get: {
3648
+ output: {
3649
+ worktrees: {
3650
+ runId: string;
3651
+ title: string;
3652
+ status: "cancelled" | "done" | "failed" | "queued" | "review" | "running" | "waiting";
3653
+ branch: string | null;
3654
+ sizeBytes: number | null;
3655
+ finishedAt: string | null;
3656
+ reclaimable: boolean;
3657
+ pastKeep: boolean;
3658
+ reclaimBlocker: {
3659
+ kind: "dirty";
3660
+ uncommittedFiles: number;
3661
+ detachedHead: boolean;
3662
+ } | {
3663
+ kind: "detached-head";
3664
+ } | {
3665
+ kind: "submodules";
3666
+ } | {
3667
+ kind: "invalid";
3668
+ } | null;
3669
+ }[];
3670
+ totalBytes: number | null;
3671
+ keep: number;
3672
+ };
3673
+ outputFormat: "json";
3674
+ status: import("hono/utils/http-status").ContentfulStatusCode;
3675
+ input: {};
3676
+ };
3677
+ };
3678
+ } & {
3679
+ "/worktrees/reclaim": {
3680
+ $post: {
3681
+ output: {
3682
+ reclaimed: string[];
3683
+ };
3684
+ outputFormat: "json";
3685
+ status: import("hono/utils/http-status").ContentfulStatusCode;
3686
+ input: {
3687
+ json: {
3688
+ discardWork: true;
3689
+ runIds: string[];
3690
+ } | {
3691
+ discardWork?: false | undefined;
3692
+ };
3693
+ };
3694
+ };
3695
+ };
3696
+ } & {
3697
+ "/worktrees/:runId/reclaim": {
3698
+ $post: {
3699
+ output: {
3700
+ error: string;
3701
+ code?: "invalid_input" | undefined;
3702
+ };
3703
+ outputFormat: "json";
3704
+ status: 400;
3705
+ input: {
3706
+ param: {
3707
+ runId: string;
3708
+ };
3709
+ } & {
3710
+ json: {
3711
+ discardWork?: boolean | undefined;
3712
+ };
3713
+ };
3714
+ } | {
3715
+ output: {
3716
+ error: string;
3717
+ };
3718
+ outputFormat: "json";
3719
+ status: 404 | 409;
3720
+ input: {
3721
+ param: {
3722
+ runId: string;
3723
+ };
3724
+ } & {
3725
+ json: {
3726
+ discardWork?: boolean | undefined;
3727
+ };
3728
+ };
3729
+ } | {
3730
+ output: {
3731
+ runId: string;
3732
+ worktreeReclaimedAt: string;
3733
+ };
3734
+ outputFormat: "json";
3735
+ status: import("hono/utils/http-status").ContentfulStatusCode;
3736
+ input: {
3737
+ param: {
3738
+ runId: string;
3739
+ };
3740
+ } & {
3741
+ json: {
3742
+ discardWork?: boolean | undefined;
3743
+ };
3744
+ };
3745
+ };
3746
+ };
4212
3747
  }, "/"> | import("hono/types").MergeSchemaPath<{
4213
3748
  "/session-context": {
4214
3749
  $get: {
@@ -5535,21 +5070,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
5535
5070
  sha: string;
5536
5071
  };
5537
5072
  };
5538
- } | {
5539
- output: {
5540
- error: string;
5541
- };
5542
- outputFormat: "json";
5543
- status: 409;
5544
- input: {
5545
- query: {
5546
- structured?: string | undefined;
5547
- };
5548
- } & {
5549
- param: {
5550
- sha: string;
5551
- };
5552
- };
5553
5073
  } | {
5554
5074
  output: {
5555
5075
  sha: string;
@@ -5583,6 +5103,21 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
5583
5103
  sha: string;
5584
5104
  };
5585
5105
  };
5106
+ } | {
5107
+ output: {
5108
+ error: string;
5109
+ };
5110
+ outputFormat: "json";
5111
+ status: 409;
5112
+ input: {
5113
+ query: {
5114
+ structured?: string | undefined;
5115
+ };
5116
+ } & {
5117
+ param: {
5118
+ sha: string;
5119
+ };
5120
+ };
5586
5121
  };
5587
5122
  };
5588
5123
  } & {
@@ -5686,13 +5221,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
5686
5221
  } & {
5687
5222
  "/repo/changes": {
5688
5223
  $get: {
5689
- output: {
5690
- error: string;
5691
- };
5692
- outputFormat: "json";
5693
- status: 409;
5694
- input: {};
5695
- } | {
5696
5224
  output: {
5697
5225
  files: {
5698
5226
  path: string;
@@ -5717,6 +5245,13 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
5717
5245
  outputFormat: "json";
5718
5246
  status: import("hono/utils/http-status").ContentfulStatusCode;
5719
5247
  input: {};
5248
+ } | {
5249
+ output: {
5250
+ error: string;
5251
+ };
5252
+ outputFormat: "json";
5253
+ status: 409;
5254
+ input: {};
5720
5255
  };
5721
5256
  };
5722
5257
  } & {
@@ -10081,23 +9616,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
10081
9616
  error: string;
10082
9617
  };
10083
9618
  outputFormat: "json";
10084
- status: 404;
10085
- input: {
10086
- param: {
10087
- id: string;
10088
- };
10089
- } & {
10090
- json: {
10091
- notify: boolean;
10092
- message?: string | undefined;
10093
- };
10094
- };
10095
- } | {
10096
- output: {
10097
- error: string;
10098
- };
10099
- outputFormat: "json";
10100
- status: 400;
9619
+ status: 400 | 404 | 409;
10101
9620
  input: {
10102
9621
  param: {
10103
9622
  id: string;
@@ -18038,7 +17557,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18038
17557
  error: string;
18039
17558
  };
18040
17559
  outputFormat: "json";
18041
- status: 404 | 409;
17560
+ status: 400;
18042
17561
  input: {
18043
17562
  json: {
18044
17563
  target: string;
@@ -18051,10 +17570,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18051
17570
  };
18052
17571
  } | {
18053
17572
  output: {
18054
- error: string;
17573
+ opened: true;
17574
+ path: string;
18055
17575
  };
18056
17576
  outputFormat: "json";
18057
- status: 400;
17577
+ status: import("hono/utils/http-status").ContentfulStatusCode;
18058
17578
  input: {
18059
17579
  json: {
18060
17580
  target: string;
@@ -18067,11 +17587,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18067
17587
  };
18068
17588
  } | {
18069
17589
  output: {
18070
- opened: true;
18071
- path: string;
17590
+ error: string;
18072
17591
  };
18073
17592
  outputFormat: "json";
18074
- status: import("hono/utils/http-status").ContentfulStatusCode;
17593
+ status: 404 | 409;
18075
17594
  input: {
18076
17595
  json: {
18077
17596
  target: string;
@@ -18244,9 +17763,9 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18244
17763
  status: 404 | 409;
18245
17764
  input: {
18246
17765
  param: {
18247
- sha: string;
18248
- } & {
18249
17766
  id: string;
17767
+ } & {
17768
+ sha: string;
18250
17769
  };
18251
17770
  };
18252
17771
  } | {
@@ -18275,9 +17794,9 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18275
17794
  status: import("hono/utils/http-status").ContentfulStatusCode;
18276
17795
  input: {
18277
17796
  param: {
18278
- sha: string;
18279
- } & {
18280
17797
  id: string;
17798
+ } & {
17799
+ sha: string;
18281
17800
  };
18282
17801
  };
18283
17802
  };
@@ -19020,59 +18539,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19020
18539
  };
19021
18540
  };
19022
18541
  };
19023
- }, "/"> | import("hono/types").MergeSchemaPath<{
19024
- "/open-targets": {
19025
- $get: {
19026
- output: {
19027
- targets: {
19028
- id: string;
19029
- label: string;
19030
- icon?: string;
19031
- }[];
19032
- };
19033
- outputFormat: "json";
19034
- status: import("hono/utils/http-status").ContentfulStatusCode;
19035
- input: {};
19036
- };
19037
- };
19038
- } & {
19039
- "/open-in": {
19040
- $post: {
19041
- output: {
19042
- error: string;
19043
- };
19044
- outputFormat: "json";
19045
- status: 409;
19046
- input: {
19047
- json: {
19048
- target: string;
19049
- };
19050
- };
19051
- } | {
19052
- output: {
19053
- error: string;
19054
- };
19055
- outputFormat: "json";
19056
- status: 400;
19057
- input: {
19058
- json: {
19059
- target: string;
19060
- };
19061
- };
19062
- } | {
19063
- output: {
19064
- opened: true;
19065
- path: string;
19066
- };
19067
- outputFormat: "json";
19068
- status: import("hono/utils/http-status").ContentfulStatusCode;
19069
- input: {
19070
- json: {
19071
- target: string;
19072
- };
19073
- };
19074
- };
19075
- };
19076
18542
  }, "/"> | import("hono/types").MergeSchemaPath<{
19077
18543
  "/ui-state": {
19078
18544
  $get: {
@@ -19381,89 +18847,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19381
18847
  };
19382
18848
  };
19383
18849
  };
19384
- }, "/"> | import("hono/types").MergeSchemaPath<{
19385
- "/agent-webhooks": {
19386
- $get: {
19387
- output: {
19388
- webhooks: {
19389
- id: string;
19390
- name: string;
19391
- description?: string | undefined;
19392
- }[];
19393
- };
19394
- outputFormat: "json";
19395
- status: import("hono/utils/http-status").ContentfulStatusCode;
19396
- input: {};
19397
- };
19398
- };
19399
- } & {
19400
- "/agent-webhooks/:webhook": {
19401
- $post: {
19402
- output: {
19403
- error: string;
19404
- code?: "invalid_input" | undefined;
19405
- };
19406
- outputFormat: "json";
19407
- status: 400;
19408
- input: {
19409
- param: {
19410
- webhook: string;
19411
- };
19412
- } & {
19413
- json: {
19414
- runId?: string | undefined;
19415
- title?: string | undefined;
19416
- message: string;
19417
- data?: Record<string, unknown> | undefined;
19418
- };
19419
- };
19420
- } | {
19421
- output: {
19422
- error: string;
19423
- };
19424
- outputFormat: "json";
19425
- status: 404;
19426
- input: {
19427
- param: {
19428
- webhook: string;
19429
- };
19430
- } & {
19431
- json: {
19432
- runId?: string | undefined;
19433
- title?: string | undefined;
19434
- message: string;
19435
- data?: Record<string, unknown> | undefined;
19436
- };
19437
- };
19438
- } | {
19439
- output: {
19440
- ok: boolean;
19441
- webhook: {
19442
- id: string;
19443
- name: string;
19444
- };
19445
- deliveryId: string;
19446
- attempts: number;
19447
- status?: number | undefined;
19448
- error?: string | undefined;
19449
- dryRun?: boolean | undefined;
19450
- };
19451
- outputFormat: "json";
19452
- status: import("hono/utils/http-status").ContentfulStatusCode;
19453
- input: {
19454
- param: {
19455
- webhook: string;
19456
- };
19457
- } & {
19458
- json: {
19459
- runId?: string | undefined;
19460
- title?: string | undefined;
19461
- message: string;
19462
- data?: Record<string, unknown> | undefined;
19463
- };
19464
- };
19465
- };
19466
- };
19467
18850
  }, "/"> | import("hono/types").MergeSchemaPath<{
19468
18851
  "/runs/:id/events": {
19469
18852
  $get: {
@@ -19509,32 +18892,14 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19509
18892
  };
19510
18893
  };
19511
18894
  }, "/"> | import("hono/types").MergeSchemaPath<{
19512
- "/worktrees": {
18895
+ "/open-targets": {
19513
18896
  $get: {
19514
18897
  output: {
19515
- worktrees: {
19516
- runId: string;
19517
- title: string;
19518
- status: "cancelled" | "done" | "failed" | "queued" | "review" | "running" | "waiting";
19519
- branch: string | null;
19520
- sizeBytes: number | null;
19521
- finishedAt: string | null;
19522
- reclaimable: boolean;
19523
- pastKeep: boolean;
19524
- reclaimBlocker: {
19525
- kind: "dirty";
19526
- uncommittedFiles: number;
19527
- detachedHead: boolean;
19528
- } | {
19529
- kind: "detached-head";
19530
- } | {
19531
- kind: "submodules";
19532
- } | {
19533
- kind: "invalid";
19534
- } | null;
18898
+ targets: {
18899
+ id: string;
18900
+ label: string;
18901
+ icon?: string;
19535
18902
  }[];
19536
- totalBytes: number | null;
19537
- keep: number;
19538
18903
  };
19539
18904
  outputFormat: "json";
19540
18905
  status: import("hono/utils/http-status").ContentfulStatusCode;
@@ -19542,39 +18907,16 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19542
18907
  };
19543
18908
  };
19544
18909
  } & {
19545
- "/worktrees/reclaim": {
19546
- $post: {
19547
- output: {
19548
- reclaimed: string[];
19549
- };
19550
- outputFormat: "json";
19551
- status: import("hono/utils/http-status").ContentfulStatusCode;
19552
- input: {
19553
- json: {
19554
- discardWork: true;
19555
- runIds: string[];
19556
- } | {
19557
- discardWork?: false | undefined;
19558
- };
19559
- };
19560
- };
19561
- };
19562
- } & {
19563
- "/worktrees/:runId/reclaim": {
18910
+ "/open-in": {
19564
18911
  $post: {
19565
18912
  output: {
19566
18913
  error: string;
19567
- code?: "invalid_input" | undefined;
19568
18914
  };
19569
18915
  outputFormat: "json";
19570
- status: 400;
18916
+ status: 409;
19571
18917
  input: {
19572
- param: {
19573
- runId: string;
19574
- };
19575
- } & {
19576
18918
  json: {
19577
- discardWork?: boolean | undefined;
18919
+ target: string;
19578
18920
  };
19579
18921
  };
19580
18922
  } | {
@@ -19582,30 +18924,22 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19582
18924
  error: string;
19583
18925
  };
19584
18926
  outputFormat: "json";
19585
- status: 404 | 409;
18927
+ status: 400;
19586
18928
  input: {
19587
- param: {
19588
- runId: string;
19589
- };
19590
- } & {
19591
18929
  json: {
19592
- discardWork?: boolean | undefined;
18930
+ target: string;
19593
18931
  };
19594
18932
  };
19595
18933
  } | {
19596
18934
  output: {
19597
- runId: string;
19598
- worktreeReclaimedAt: string;
18935
+ opened: true;
18936
+ path: string;
19599
18937
  };
19600
18938
  outputFormat: "json";
19601
18939
  status: import("hono/utils/http-status").ContentfulStatusCode;
19602
18940
  input: {
19603
- param: {
19604
- runId: string;
19605
- };
19606
- } & {
19607
18941
  json: {
19608
- discardWork?: boolean | undefined;
18942
+ target: string;
19609
18943
  };
19610
18944
  };
19611
18945
  };
@@ -19750,6 +19084,108 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19750
19084
  };
19751
19085
  };
19752
19086
  };
19087
+ }, "/"> | import("hono/types").MergeSchemaPath<{
19088
+ "/worktrees": {
19089
+ $get: {
19090
+ output: {
19091
+ worktrees: {
19092
+ runId: string;
19093
+ title: string;
19094
+ status: "cancelled" | "done" | "failed" | "queued" | "review" | "running" | "waiting";
19095
+ branch: string | null;
19096
+ sizeBytes: number | null;
19097
+ finishedAt: string | null;
19098
+ reclaimable: boolean;
19099
+ pastKeep: boolean;
19100
+ reclaimBlocker: {
19101
+ kind: "dirty";
19102
+ uncommittedFiles: number;
19103
+ detachedHead: boolean;
19104
+ } | {
19105
+ kind: "detached-head";
19106
+ } | {
19107
+ kind: "submodules";
19108
+ } | {
19109
+ kind: "invalid";
19110
+ } | null;
19111
+ }[];
19112
+ totalBytes: number | null;
19113
+ keep: number;
19114
+ };
19115
+ outputFormat: "json";
19116
+ status: import("hono/utils/http-status").ContentfulStatusCode;
19117
+ input: {};
19118
+ };
19119
+ };
19120
+ } & {
19121
+ "/worktrees/reclaim": {
19122
+ $post: {
19123
+ output: {
19124
+ reclaimed: string[];
19125
+ };
19126
+ outputFormat: "json";
19127
+ status: import("hono/utils/http-status").ContentfulStatusCode;
19128
+ input: {
19129
+ json: {
19130
+ discardWork: true;
19131
+ runIds: string[];
19132
+ } | {
19133
+ discardWork?: false | undefined;
19134
+ };
19135
+ };
19136
+ };
19137
+ };
19138
+ } & {
19139
+ "/worktrees/:runId/reclaim": {
19140
+ $post: {
19141
+ output: {
19142
+ error: string;
19143
+ code?: "invalid_input" | undefined;
19144
+ };
19145
+ outputFormat: "json";
19146
+ status: 400;
19147
+ input: {
19148
+ param: {
19149
+ runId: string;
19150
+ };
19151
+ } & {
19152
+ json: {
19153
+ discardWork?: boolean | undefined;
19154
+ };
19155
+ };
19156
+ } | {
19157
+ output: {
19158
+ error: string;
19159
+ };
19160
+ outputFormat: "json";
19161
+ status: 404 | 409;
19162
+ input: {
19163
+ param: {
19164
+ runId: string;
19165
+ };
19166
+ } & {
19167
+ json: {
19168
+ discardWork?: boolean | undefined;
19169
+ };
19170
+ };
19171
+ } | {
19172
+ output: {
19173
+ runId: string;
19174
+ worktreeReclaimedAt: string;
19175
+ };
19176
+ outputFormat: "json";
19177
+ status: import("hono/utils/http-status").ContentfulStatusCode;
19178
+ input: {
19179
+ param: {
19180
+ runId: string;
19181
+ };
19182
+ } & {
19183
+ json: {
19184
+ discardWork?: boolean | undefined;
19185
+ };
19186
+ };
19187
+ };
19188
+ };
19753
19189
  }, "/"> | import("hono/types").MergeSchemaPath<{
19754
19190
  "/session-context": {
19755
19191
  $get: {
@@ -21076,21 +20512,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
21076
20512
  sha: string;
21077
20513
  };
21078
20514
  };
21079
- } | {
21080
- output: {
21081
- error: string;
21082
- };
21083
- outputFormat: "json";
21084
- status: 409;
21085
- input: {
21086
- query: {
21087
- structured?: string | undefined;
21088
- };
21089
- } & {
21090
- param: {
21091
- sha: string;
21092
- };
21093
- };
21094
20515
  } | {
21095
20516
  output: {
21096
20517
  sha: string;
@@ -21124,6 +20545,21 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
21124
20545
  sha: string;
21125
20546
  };
21126
20547
  };
20548
+ } | {
20549
+ output: {
20550
+ error: string;
20551
+ };
20552
+ outputFormat: "json";
20553
+ status: 409;
20554
+ input: {
20555
+ query: {
20556
+ structured?: string | undefined;
20557
+ };
20558
+ } & {
20559
+ param: {
20560
+ sha: string;
20561
+ };
20562
+ };
21127
20563
  };
21128
20564
  };
21129
20565
  } & {
@@ -21227,13 +20663,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
21227
20663
  } & {
21228
20664
  "/repo/changes": {
21229
20665
  $get: {
21230
- output: {
21231
- error: string;
21232
- };
21233
- outputFormat: "json";
21234
- status: 409;
21235
- input: {};
21236
- } | {
21237
20666
  output: {
21238
20667
  files: {
21239
20668
  path: string;
@@ -21258,6 +20687,13 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
21258
20687
  outputFormat: "json";
21259
20688
  status: import("hono/utils/http-status").ContentfulStatusCode;
21260
20689
  input: {};
20690
+ } | {
20691
+ output: {
20692
+ error: string;
20693
+ };
20694
+ outputFormat: "json";
20695
+ status: 409;
20696
+ input: {};
21261
20697
  };
21262
20698
  };
21263
20699
  } & {
@@ -25622,23 +25058,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
25622
25058
  error: string;
25623
25059
  };
25624
25060
  outputFormat: "json";
25625
- status: 404;
25626
- input: {
25627
- param: {
25628
- id: string;
25629
- };
25630
- } & {
25631
- json: {
25632
- notify: boolean;
25633
- message?: string | undefined;
25634
- };
25635
- };
25636
- } | {
25637
- output: {
25638
- error: string;
25639
- };
25640
- outputFormat: "json";
25641
- status: 400;
25061
+ status: 400 | 404 | 409;
25642
25062
  input: {
25643
25063
  param: {
25644
25064
  id: string;
@@ -33579,7 +32999,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
33579
32999
  error: string;
33580
33000
  };
33581
33001
  outputFormat: "json";
33582
- status: 404 | 409;
33002
+ status: 400;
33583
33003
  input: {
33584
33004
  json: {
33585
33005
  target: string;
@@ -33592,10 +33012,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
33592
33012
  };
33593
33013
  } | {
33594
33014
  output: {
33595
- error: string;
33015
+ opened: true;
33016
+ path: string;
33596
33017
  };
33597
33018
  outputFormat: "json";
33598
- status: 400;
33019
+ status: import("hono/utils/http-status").ContentfulStatusCode;
33599
33020
  input: {
33600
33021
  json: {
33601
33022
  target: string;
@@ -33608,11 +33029,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
33608
33029
  };
33609
33030
  } | {
33610
33031
  output: {
33611
- opened: true;
33612
- path: string;
33032
+ error: string;
33613
33033
  };
33614
33034
  outputFormat: "json";
33615
- status: import("hono/utils/http-status").ContentfulStatusCode;
33035
+ status: 404 | 409;
33616
33036
  input: {
33617
33037
  json: {
33618
33038
  target: string;
@@ -33785,9 +33205,9 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
33785
33205
  status: 404 | 409;
33786
33206
  input: {
33787
33207
  param: {
33788
- sha: string;
33789
- } & {
33790
33208
  id: string;
33209
+ } & {
33210
+ sha: string;
33791
33211
  };
33792
33212
  };
33793
33213
  } | {
@@ -33816,9 +33236,9 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
33816
33236
  status: import("hono/utils/http-status").ContentfulStatusCode;
33817
33237
  input: {
33818
33238
  param: {
33819
- sha: string;
33820
- } & {
33821
33239
  id: string;
33240
+ } & {
33241
+ sha: string;
33822
33242
  };
33823
33243
  };
33824
33244
  };