@wjarka/cezarion 0.14.6 → 0.14.7

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 (123) hide show
  1. package/README.md +37 -2
  2. package/dist/agent-config/model-settings/shared.d.ts +2 -1
  3. package/dist/agent-config/model-settings/shared.js +1 -1
  4. package/dist/agent-config/model-settings/shared.js.map +1 -1
  5. package/dist/ci-wait/client.d.ts +4 -0
  6. package/dist/ci-wait/client.js +67 -0
  7. package/dist/ci-wait/client.js.map +1 -0
  8. package/dist/ci-wait/controller.d.ts +78 -0
  9. package/dist/ci-wait/controller.js +148 -0
  10. package/dist/ci-wait/controller.js.map +1 -0
  11. package/dist/ci-wait/github.d.ts +61 -0
  12. package/dist/ci-wait/github.js +209 -0
  13. package/dist/ci-wait/github.js.map +1 -0
  14. package/dist/ci-wait/injection.d.ts +3 -0
  15. package/dist/ci-wait/injection.js +26 -0
  16. package/dist/ci-wait/injection.js.map +1 -0
  17. package/dist/ci-wait/mcp.d.ts +97 -0
  18. package/dist/ci-wait/mcp.js +35 -0
  19. package/dist/ci-wait/mcp.js.map +1 -0
  20. package/dist/ci-wait/resources.d.ts +7 -0
  21. package/dist/ci-wait/resources.js +32 -0
  22. package/dist/ci-wait/resources.js.map +1 -0
  23. package/dist/ci-wait/supervisor.d.ts +21 -0
  24. package/dist/ci-wait/supervisor.js +163 -0
  25. package/dist/ci-wait/supervisor.js.map +1 -0
  26. package/dist/contract/ci-wait.d.ts +151 -0
  27. package/dist/contract/conversations.d.ts +7 -0
  28. package/dist/contract/delegation.d.ts +2 -0
  29. package/dist/contract/events.d.ts +3 -0
  30. package/dist/contract/index.d.ts +1 -0
  31. package/dist/contract/index.js +1016 -935
  32. package/dist/contract/runs.d.ts +461 -0
  33. package/dist/contract/skills.d.ts +92 -0
  34. package/dist/core/agent-env.js +2 -0
  35. package/dist/core/agent-env.js.map +1 -1
  36. package/dist/core/agent-runner.d.ts +6 -0
  37. package/dist/core/agent-runner.js +1 -0
  38. package/dist/core/agent-runner.js.map +1 -1
  39. package/dist/core/claude-cli-runner.js +10 -0
  40. package/dist/core/claude-cli-runner.js.map +1 -1
  41. package/dist/core/codex-app-server-runner.js +5 -1
  42. package/dist/core/codex-app-server-runner.js.map +1 -1
  43. package/dist/core/codex-app-server-transport.js +3 -1
  44. package/dist/core/codex-app-server-transport.js.map +1 -1
  45. package/dist/core/cursor-acp-runner.js +9 -1
  46. package/dist/core/cursor-acp-runner.js.map +1 -1
  47. package/dist/core/opencode-server-runner.js +6 -2
  48. package/dist/core/opencode-server-runner.js.map +1 -1
  49. package/dist/core/pi-runner.js +7 -1
  50. package/dist/core/pi-runner.js.map +1 -1
  51. package/dist/delegation/cli.js +8 -4
  52. package/dist/delegation/cli.js.map +1 -1
  53. package/dist/delegation/conversations.js +2 -1
  54. package/dist/delegation/conversations.js.map +1 -1
  55. package/dist/delegation/input.d.ts +6 -0
  56. package/dist/delegation/input.js +22 -0
  57. package/dist/delegation/input.js.map +1 -1
  58. package/dist/delegation/provision.js +3 -1
  59. package/dist/delegation/provision.js.map +1 -1
  60. package/dist/delegation/routes.d.ts +11 -0
  61. package/dist/delegation/service.js +31 -7
  62. package/dist/delegation/service.js.map +1 -1
  63. package/dist/delegation/transport.d.ts +11 -0
  64. package/dist/runs/delegation-state.d.ts +2 -0
  65. package/dist/runs/run-index.js +2 -3
  66. package/dist/runs/run-index.js.map +1 -1
  67. package/dist/runs/store.d.ts +514 -3
  68. package/dist/runs/store.js +85 -6
  69. package/dist/runs/store.js.map +1 -1
  70. package/dist/server/server.d.ts +1376 -12
  71. package/dist/workflows/run.d.ts +25 -1
  72. package/dist/workflows/run.js +470 -43
  73. package/dist/workflows/run.js.map +1 -1
  74. package/package.json +4 -3
  75. package/scripts/mock-ci-tool.mjs +53 -0
  76. package/scripts/mock-claude.mjs +8 -0
  77. package/scripts/mock-codex-app-server.mjs +212 -0
  78. package/scripts/mock-cursor-acp.mjs +6 -2
  79. package/scripts/mock-opencode-serve.mjs +392 -0
  80. package/scripts/mock-pi-rpc.mjs +7 -0
  81. package/scripts/pi-ci-wait.mjs +14 -0
  82. package/web/dist/assets/{agent-accounts-lP_xK83o.js → agent-accounts-BZm_2WAv.js} +1 -1
  83. package/web/dist/assets/{alert-dialog-CmDuefYh.js → alert-dialog-B422RI-k.js} +1 -1
  84. package/web/dist/assets/{collapsible-BqX8REmY.js → collapsible-Cy_Fmkrd.js} +1 -1
  85. package/web/dist/assets/{commit-list-BWvv1H7A.js → commit-list-CLxXMZvP.js} +1 -1
  86. package/web/dist/assets/{compare-variants-Bg7eLW3z.js → compare-variants-D2dRj6H_.js} +1 -1
  87. package/web/dist/assets/{diff-controls-HwWHHait.js → diff-controls-BGrXGi7O.js} +1 -1
  88. package/web/dist/assets/{diff-stat-mNkhAc5m.js → diff-stat-Cgnl_hYF.js} +1 -1
  89. package/web/dist/assets/{diff-0GBum40Q2.js → diff-tRE59UNb2.js} +2 -2
  90. package/web/dist/assets/{diff-view-DW64doDY.js → diff-view-DN1ort7Q.js} +1 -1
  91. package/web/dist/assets/{dropdown-menu-sZjYPcLh.js → dropdown-menu-dwDGT8MM.js} +1 -1
  92. package/web/dist/assets/{git-toolbar-DBW5EIcY.js → git-toolbar-UiHnGvE0.js} +1 -1
  93. package/web/dist/assets/{github-CkZ4hWI5.js → github-CaGjGQnW.js} +1 -1
  94. package/web/dist/assets/{image-preview-DZicGNkU.js → image-preview-C2JGcBlC.js} +1 -1
  95. package/web/dist/assets/index-CXZukB1O.css +1 -0
  96. package/web/dist/assets/{index-DWWI-B9n.js → index-D0RwD9-c.js} +3 -3
  97. package/web/dist/assets/{markdown-AY2K3kIV.js → markdown-C_IcKVQd.js} +1 -1
  98. package/web/dist/assets/{pill-CcJqA1cL.js → pill-BsbO6G7y.js} +1 -1
  99. package/web/dist/assets/{project-router-SwsXRKXs.js → project-router-DbLkll25.js} +1 -1
  100. package/web/dist/assets/{prompt-templates-iV2WD2jy.js → prompt-templates-BlTGJB5W.js} +1 -1
  101. package/web/dist/assets/{repo-git-BW3TOs3U.js → repo-git-CWD2dO8S.js} +1 -1
  102. package/web/dist/assets/{run-diff-DPUNj56q.js → run-diff-CyG0Nciv.js} +1 -1
  103. package/web/dist/assets/{run-header-CSaJIGXl.css → run-header-BJQfFL2l.css} +1 -1
  104. package/web/dist/assets/run-header-IFyIGCey.js +1 -0
  105. package/web/dist/assets/{skills-Dv8Vwv5D.js → skills-e7wHnuoc.js} +1 -1
  106. package/web/dist/assets/{tab-link-DSftvkZS.js → tab-link-BWNp3mLY.js} +1 -1
  107. package/web/dist/assets/{task-changes-CTCuVls1.js → task-changes-CpJImtq8.js} +1 -1
  108. package/web/dist/assets/{task-commits-weJQ5GSl.js → task-commits-hujrykPI.js} +1 -1
  109. package/web/dist/assets/{task-files-B4bUimY8.js → task-files-CjTiGtjt.js} +1 -1
  110. package/web/dist/assets/{task-thread-BuXrVB9K.js → task-thread-DDPFDS8C.js} +4 -4
  111. package/web/dist/assets/task-thread-Dc3wplva.css +1 -0
  112. package/web/dist/assets/{textarea-CxRdTWlq.js → textarea-FjaU370i.js} +1 -1
  113. package/web/dist/assets/thread-loading-77sJ8Yu_.js +1 -0
  114. package/web/dist/assets/{token-metrics-Z3UFYbuD.js → token-metrics-Clxh03bE.js} +1 -1
  115. package/web/dist/assets/utils-PYYcpCFZ.js +64 -0
  116. package/web/dist/assets/{workflows-vA27Yi8W.js → workflows-DGUQmWy7.js} +1 -1
  117. package/web/dist/assets/{zoomable-image-DUE1KFJ0.js → zoomable-image-Z3JDnm0b.js} +1 -1
  118. package/web/dist/index.html +14 -14
  119. package/web/dist/assets/index-DK0Mkv2m.css +0 -1
  120. package/web/dist/assets/run-header-DbDluWoV.js +0 -1
  121. package/web/dist/assets/task-thread-DMRD0IVt.css +0 -1
  122. package/web/dist/assets/thread-loading-JlP6dUpX.js +0 -1
  123. package/web/dist/assets/utils-CUnaAifW.js +0 -64
@@ -2372,6 +2372,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2372
2372
  images?: string[] | undefined;
2373
2373
  createdAt: string;
2374
2374
  origin?: "human" | "lifecycle" | undefined;
2375
+ agentInputId?: string | undefined;
2375
2376
  } | undefined;
2376
2377
  invalidAsk?: boolean | undefined;
2377
2378
  delegation?: {
@@ -2390,6 +2391,8 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2390
2391
  deadline?: string | undefined;
2391
2392
  requestHash: string;
2392
2393
  state: "accepted" | "continuation-required" | "destroyed" | "late";
2394
+ resumed?: true | undefined;
2395
+ instruction?: string | undefined;
2393
2396
  }[];
2394
2397
  outcomes: {
2395
2398
  requestId: string;
@@ -2586,6 +2589,65 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2586
2589
  createdAt: string;
2587
2590
  deliveredAt?: string | undefined;
2588
2591
  }[] | undefined;
2592
+ ciWait?: {
2593
+ prUrl: string;
2594
+ repository: string;
2595
+ prNumber: number;
2596
+ headSha: string;
2597
+ id: string;
2598
+ generation: string;
2599
+ turnId: string;
2600
+ timeoutSeconds: number;
2601
+ registeredAt: string;
2602
+ deadline: string;
2603
+ phase: "delivered" | "parked" | "registered" | "wake-pending" | "withdrawn";
2604
+ result?: {
2605
+ outcome: "cancelled" | "deadline" | "error" | "failed" | "head_changed" | "no_checks" | "passed" | "skipped";
2606
+ headSha: string;
2607
+ observedHeadSha?: string | undefined;
2608
+ observedAt: string;
2609
+ checks: {
2610
+ name: string;
2611
+ state: string;
2612
+ link: string;
2613
+ }[];
2614
+ totalChecks: number;
2615
+ truncated: boolean;
2616
+ diagnostic?: string | undefined;
2617
+ } | undefined;
2618
+ wakeId?: string | undefined;
2619
+ deliveredAt?: string | undefined;
2620
+ } | undefined;
2621
+ lastCiWait?: {
2622
+ prUrl: string;
2623
+ repository: string;
2624
+ prNumber: number;
2625
+ headSha: string;
2626
+ id: string;
2627
+ generation: string;
2628
+ turnId: string;
2629
+ timeoutSeconds: number;
2630
+ registeredAt: string;
2631
+ deadline: string;
2632
+ phase: "delivered" | "parked" | "registered" | "wake-pending" | "withdrawn";
2633
+ result?: {
2634
+ outcome: "cancelled" | "deadline" | "error" | "failed" | "head_changed" | "no_checks" | "passed" | "skipped";
2635
+ headSha: string;
2636
+ observedHeadSha?: string | undefined;
2637
+ observedAt: string;
2638
+ checks: {
2639
+ name: string;
2640
+ state: string;
2641
+ link: string;
2642
+ }[];
2643
+ totalChecks: number;
2644
+ truncated: boolean;
2645
+ diagnostic?: string | undefined;
2646
+ } | undefined;
2647
+ wakeId?: string | undefined;
2648
+ deliveredAt?: string | undefined;
2649
+ } | undefined;
2650
+ lastCiWaitError?: string | undefined;
2589
2651
  taskImages?: string[] | undefined;
2590
2652
  model?: string | undefined;
2591
2653
  effort?: string | undefined;
@@ -3155,6 +3217,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3155
3217
  images?: string[] | undefined;
3156
3218
  createdAt: string;
3157
3219
  origin?: "human" | "lifecycle" | undefined;
3220
+ agentInputId?: string | undefined;
3158
3221
  } | undefined;
3159
3222
  invalidAsk?: boolean | undefined;
3160
3223
  delegation?: {
@@ -3173,6 +3236,8 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3173
3236
  deadline?: string | undefined;
3174
3237
  requestHash: string;
3175
3238
  state: "accepted" | "continuation-required" | "destroyed" | "late";
3239
+ resumed?: true | undefined;
3240
+ instruction?: string | undefined;
3176
3241
  }[];
3177
3242
  outcomes: {
3178
3243
  requestId: string;
@@ -3369,6 +3434,65 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3369
3434
  createdAt: string;
3370
3435
  deliveredAt?: string | undefined;
3371
3436
  }[] | undefined;
3437
+ ciWait?: {
3438
+ prUrl: string;
3439
+ repository: string;
3440
+ prNumber: number;
3441
+ headSha: string;
3442
+ id: string;
3443
+ generation: string;
3444
+ turnId: string;
3445
+ timeoutSeconds: number;
3446
+ registeredAt: string;
3447
+ deadline: string;
3448
+ phase: "delivered" | "parked" | "registered" | "wake-pending" | "withdrawn";
3449
+ result?: {
3450
+ outcome: "cancelled" | "deadline" | "error" | "failed" | "head_changed" | "no_checks" | "passed" | "skipped";
3451
+ headSha: string;
3452
+ observedHeadSha?: string | undefined;
3453
+ observedAt: string;
3454
+ checks: {
3455
+ name: string;
3456
+ state: string;
3457
+ link: string;
3458
+ }[];
3459
+ totalChecks: number;
3460
+ truncated: boolean;
3461
+ diagnostic?: string | undefined;
3462
+ } | undefined;
3463
+ wakeId?: string | undefined;
3464
+ deliveredAt?: string | undefined;
3465
+ } | undefined;
3466
+ lastCiWait?: {
3467
+ prUrl: string;
3468
+ repository: string;
3469
+ prNumber: number;
3470
+ headSha: string;
3471
+ id: string;
3472
+ generation: string;
3473
+ turnId: string;
3474
+ timeoutSeconds: number;
3475
+ registeredAt: string;
3476
+ deadline: string;
3477
+ phase: "delivered" | "parked" | "registered" | "wake-pending" | "withdrawn";
3478
+ result?: {
3479
+ outcome: "cancelled" | "deadline" | "error" | "failed" | "head_changed" | "no_checks" | "passed" | "skipped";
3480
+ headSha: string;
3481
+ observedHeadSha?: string | undefined;
3482
+ observedAt: string;
3483
+ checks: {
3484
+ name: string;
3485
+ state: string;
3486
+ link: string;
3487
+ }[];
3488
+ totalChecks: number;
3489
+ truncated: boolean;
3490
+ diagnostic?: string | undefined;
3491
+ } | undefined;
3492
+ wakeId?: string | undefined;
3493
+ deliveredAt?: string | undefined;
3494
+ } | undefined;
3495
+ lastCiWaitError?: string | undefined;
3372
3496
  taskImages?: string[] | undefined;
3373
3497
  model?: string | undefined;
3374
3498
  effort?: string | undefined;
@@ -5721,6 +5845,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
5721
5845
  images?: string[] | undefined;
5722
5846
  createdAt: string;
5723
5847
  origin?: "human" | "lifecycle" | undefined;
5848
+ agentInputId?: string | undefined;
5724
5849
  } | undefined;
5725
5850
  invalidAsk?: boolean | undefined;
5726
5851
  delegation?: {
@@ -5739,6 +5864,8 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
5739
5864
  deadline?: string | undefined;
5740
5865
  requestHash: string;
5741
5866
  state: "accepted" | "continuation-required" | "destroyed" | "late";
5867
+ resumed?: true | undefined;
5868
+ instruction?: string | undefined;
5742
5869
  }[];
5743
5870
  outcomes: {
5744
5871
  requestId: string;
@@ -5935,6 +6062,65 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
5935
6062
  createdAt: string;
5936
6063
  deliveredAt?: string | undefined;
5937
6064
  }[] | undefined;
6065
+ ciWait?: {
6066
+ prUrl: string;
6067
+ repository: string;
6068
+ prNumber: number;
6069
+ headSha: string;
6070
+ id: string;
6071
+ generation: string;
6072
+ turnId: string;
6073
+ timeoutSeconds: number;
6074
+ registeredAt: string;
6075
+ deadline: string;
6076
+ phase: "delivered" | "parked" | "registered" | "wake-pending" | "withdrawn";
6077
+ result?: {
6078
+ outcome: "cancelled" | "deadline" | "error" | "failed" | "head_changed" | "no_checks" | "passed" | "skipped";
6079
+ headSha: string;
6080
+ observedHeadSha?: string | undefined;
6081
+ observedAt: string;
6082
+ checks: {
6083
+ name: string;
6084
+ state: string;
6085
+ link: string;
6086
+ }[];
6087
+ totalChecks: number;
6088
+ truncated: boolean;
6089
+ diagnostic?: string | undefined;
6090
+ } | undefined;
6091
+ wakeId?: string | undefined;
6092
+ deliveredAt?: string | undefined;
6093
+ } | undefined;
6094
+ lastCiWait?: {
6095
+ prUrl: string;
6096
+ repository: string;
6097
+ prNumber: number;
6098
+ headSha: string;
6099
+ id: string;
6100
+ generation: string;
6101
+ turnId: string;
6102
+ timeoutSeconds: number;
6103
+ registeredAt: string;
6104
+ deadline: string;
6105
+ phase: "delivered" | "parked" | "registered" | "wake-pending" | "withdrawn";
6106
+ result?: {
6107
+ outcome: "cancelled" | "deadline" | "error" | "failed" | "head_changed" | "no_checks" | "passed" | "skipped";
6108
+ headSha: string;
6109
+ observedHeadSha?: string | undefined;
6110
+ observedAt: string;
6111
+ checks: {
6112
+ name: string;
6113
+ state: string;
6114
+ link: string;
6115
+ }[];
6116
+ totalChecks: number;
6117
+ truncated: boolean;
6118
+ diagnostic?: string | undefined;
6119
+ } | undefined;
6120
+ wakeId?: string | undefined;
6121
+ deliveredAt?: string | undefined;
6122
+ } | undefined;
6123
+ lastCiWaitError?: string | undefined;
5938
6124
  taskImages?: string[] | undefined;
5939
6125
  model?: string | undefined;
5940
6126
  effort?: string | undefined;
@@ -6177,11 +6363,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
6177
6363
  "/runs/:id/worker-destroy": {
6178
6364
  $post: {
6179
6365
  output: {
6180
- error: string;
6181
- code?: "invalid_input" | undefined;
6366
+ readonly code: "capacity_limit" | "denied_scope" | "incompatible_state" | "incomplete_cleanup" | "invalid_baseline" | "invalid_input" | "unauthenticated" | "unavailable_diff" | "unavailable_transport";
6367
+ readonly error: string;
6182
6368
  };
6183
6369
  outputFormat: "json";
6184
- status: 400;
6370
+ status: 400 | 401 | 403 | 409 | 503;
6185
6371
  input: {
6186
6372
  query: {
6187
6373
  [x: string]: string | string[];
@@ -6195,11 +6381,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
6195
6381
  };
6196
6382
  } | {
6197
6383
  output: {
6198
- readonly code: "capacity_limit" | "denied_scope" | "incompatible_state" | "incomplete_cleanup" | "invalid_baseline" | "invalid_input" | "unauthenticated" | "unavailable_diff" | "unavailable_transport";
6199
- readonly error: string;
6384
+ error: string;
6385
+ code?: "invalid_input" | undefined;
6200
6386
  };
6201
6387
  outputFormat: "json";
6202
- status: 400 | 401 | 403 | 409 | 503;
6388
+ status: 400;
6203
6389
  input: {
6204
6390
  query: {
6205
6391
  [x: string]: string | string[];
@@ -6316,6 +6502,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
6316
6502
  images?: string[] | undefined;
6317
6503
  createdAt: string;
6318
6504
  origin?: "human" | "lifecycle" | undefined;
6505
+ agentInputId?: string | undefined;
6319
6506
  } | undefined;
6320
6507
  invalidAsk?: boolean | undefined;
6321
6508
  delegation?: {
@@ -6334,6 +6521,8 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
6334
6521
  deadline?: string | undefined;
6335
6522
  requestHash: string;
6336
6523
  state: "accepted" | "continuation-required" | "destroyed" | "late";
6524
+ resumed?: true | undefined;
6525
+ instruction?: string | undefined;
6337
6526
  }[];
6338
6527
  outcomes: {
6339
6528
  requestId: string;
@@ -6530,6 +6719,65 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
6530
6719
  createdAt: string;
6531
6720
  deliveredAt?: string | undefined;
6532
6721
  }[] | undefined;
6722
+ ciWait?: {
6723
+ prUrl: string;
6724
+ repository: string;
6725
+ prNumber: number;
6726
+ headSha: string;
6727
+ id: string;
6728
+ generation: string;
6729
+ turnId: string;
6730
+ timeoutSeconds: number;
6731
+ registeredAt: string;
6732
+ deadline: string;
6733
+ phase: "delivered" | "parked" | "registered" | "wake-pending" | "withdrawn";
6734
+ result?: {
6735
+ outcome: "cancelled" | "deadline" | "error" | "failed" | "head_changed" | "no_checks" | "passed" | "skipped";
6736
+ headSha: string;
6737
+ observedHeadSha?: string | undefined;
6738
+ observedAt: string;
6739
+ checks: {
6740
+ name: string;
6741
+ state: string;
6742
+ link: string;
6743
+ }[];
6744
+ totalChecks: number;
6745
+ truncated: boolean;
6746
+ diagnostic?: string | undefined;
6747
+ } | undefined;
6748
+ wakeId?: string | undefined;
6749
+ deliveredAt?: string | undefined;
6750
+ } | undefined;
6751
+ lastCiWait?: {
6752
+ prUrl: string;
6753
+ repository: string;
6754
+ prNumber: number;
6755
+ headSha: string;
6756
+ id: string;
6757
+ generation: string;
6758
+ turnId: string;
6759
+ timeoutSeconds: number;
6760
+ registeredAt: string;
6761
+ deadline: string;
6762
+ phase: "delivered" | "parked" | "registered" | "wake-pending" | "withdrawn";
6763
+ result?: {
6764
+ outcome: "cancelled" | "deadline" | "error" | "failed" | "head_changed" | "no_checks" | "passed" | "skipped";
6765
+ headSha: string;
6766
+ observedHeadSha?: string | undefined;
6767
+ observedAt: string;
6768
+ checks: {
6769
+ name: string;
6770
+ state: string;
6771
+ link: string;
6772
+ }[];
6773
+ totalChecks: number;
6774
+ truncated: boolean;
6775
+ diagnostic?: string | undefined;
6776
+ } | undefined;
6777
+ wakeId?: string | undefined;
6778
+ deliveredAt?: string | undefined;
6779
+ } | undefined;
6780
+ lastCiWaitError?: string | undefined;
6533
6781
  taskImages?: string[] | undefined;
6534
6782
  model?: string | undefined;
6535
6783
  effort?: string | undefined;
@@ -6709,6 +6957,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
6709
6957
  images?: string[] | undefined;
6710
6958
  createdAt: string;
6711
6959
  origin?: "human" | "lifecycle" | undefined;
6960
+ agentInputId?: string | undefined;
6712
6961
  } | undefined;
6713
6962
  invalidAsk?: boolean | undefined;
6714
6963
  delegation?: {
@@ -6727,6 +6976,8 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
6727
6976
  deadline?: string | undefined;
6728
6977
  requestHash: string;
6729
6978
  state: "accepted" | "continuation-required" | "destroyed" | "late";
6979
+ resumed?: true | undefined;
6980
+ instruction?: string | undefined;
6730
6981
  }[];
6731
6982
  outcomes: {
6732
6983
  requestId: string;
@@ -6923,6 +7174,65 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
6923
7174
  createdAt: string;
6924
7175
  deliveredAt?: string | undefined;
6925
7176
  }[] | undefined;
7177
+ ciWait?: {
7178
+ prUrl: string;
7179
+ repository: string;
7180
+ prNumber: number;
7181
+ headSha: string;
7182
+ id: string;
7183
+ generation: string;
7184
+ turnId: string;
7185
+ timeoutSeconds: number;
7186
+ registeredAt: string;
7187
+ deadline: string;
7188
+ phase: "delivered" | "parked" | "registered" | "wake-pending" | "withdrawn";
7189
+ result?: {
7190
+ outcome: "cancelled" | "deadline" | "error" | "failed" | "head_changed" | "no_checks" | "passed" | "skipped";
7191
+ headSha: string;
7192
+ observedHeadSha?: string | undefined;
7193
+ observedAt: string;
7194
+ checks: {
7195
+ name: string;
7196
+ state: string;
7197
+ link: string;
7198
+ }[];
7199
+ totalChecks: number;
7200
+ truncated: boolean;
7201
+ diagnostic?: string | undefined;
7202
+ } | undefined;
7203
+ wakeId?: string | undefined;
7204
+ deliveredAt?: string | undefined;
7205
+ } | undefined;
7206
+ lastCiWait?: {
7207
+ prUrl: string;
7208
+ repository: string;
7209
+ prNumber: number;
7210
+ headSha: string;
7211
+ id: string;
7212
+ generation: string;
7213
+ turnId: string;
7214
+ timeoutSeconds: number;
7215
+ registeredAt: string;
7216
+ deadline: string;
7217
+ phase: "delivered" | "parked" | "registered" | "wake-pending" | "withdrawn";
7218
+ result?: {
7219
+ outcome: "cancelled" | "deadline" | "error" | "failed" | "head_changed" | "no_checks" | "passed" | "skipped";
7220
+ headSha: string;
7221
+ observedHeadSha?: string | undefined;
7222
+ observedAt: string;
7223
+ checks: {
7224
+ name: string;
7225
+ state: string;
7226
+ link: string;
7227
+ }[];
7228
+ totalChecks: number;
7229
+ truncated: boolean;
7230
+ diagnostic?: string | undefined;
7231
+ } | undefined;
7232
+ wakeId?: string | undefined;
7233
+ deliveredAt?: string | undefined;
7234
+ } | undefined;
7235
+ lastCiWaitError?: string | undefined;
6926
7236
  taskImages?: string[] | undefined;
6927
7237
  model?: string | undefined;
6928
7238
  effort?: string | undefined;
@@ -7112,6 +7422,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
7112
7422
  images?: string[] | undefined;
7113
7423
  createdAt: string;
7114
7424
  origin?: "human" | "lifecycle" | undefined;
7425
+ agentInputId?: string | undefined;
7115
7426
  } | undefined;
7116
7427
  invalidAsk?: boolean | undefined;
7117
7428
  delegation?: {
@@ -7130,6 +7441,8 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
7130
7441
  deadline?: string | undefined;
7131
7442
  requestHash: string;
7132
7443
  state: "accepted" | "continuation-required" | "destroyed" | "late";
7444
+ resumed?: true | undefined;
7445
+ instruction?: string | undefined;
7133
7446
  }[];
7134
7447
  outcomes: {
7135
7448
  requestId: string;
@@ -7326,6 +7639,65 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
7326
7639
  createdAt: string;
7327
7640
  deliveredAt?: string | undefined;
7328
7641
  }[] | undefined;
7642
+ ciWait?: {
7643
+ prUrl: string;
7644
+ repository: string;
7645
+ prNumber: number;
7646
+ headSha: string;
7647
+ id: string;
7648
+ generation: string;
7649
+ turnId: string;
7650
+ timeoutSeconds: number;
7651
+ registeredAt: string;
7652
+ deadline: string;
7653
+ phase: "delivered" | "parked" | "registered" | "wake-pending" | "withdrawn";
7654
+ result?: {
7655
+ outcome: "cancelled" | "deadline" | "error" | "failed" | "head_changed" | "no_checks" | "passed" | "skipped";
7656
+ headSha: string;
7657
+ observedHeadSha?: string | undefined;
7658
+ observedAt: string;
7659
+ checks: {
7660
+ name: string;
7661
+ state: string;
7662
+ link: string;
7663
+ }[];
7664
+ totalChecks: number;
7665
+ truncated: boolean;
7666
+ diagnostic?: string | undefined;
7667
+ } | undefined;
7668
+ wakeId?: string | undefined;
7669
+ deliveredAt?: string | undefined;
7670
+ } | undefined;
7671
+ lastCiWait?: {
7672
+ prUrl: string;
7673
+ repository: string;
7674
+ prNumber: number;
7675
+ headSha: string;
7676
+ id: string;
7677
+ generation: string;
7678
+ turnId: string;
7679
+ timeoutSeconds: number;
7680
+ registeredAt: string;
7681
+ deadline: string;
7682
+ phase: "delivered" | "parked" | "registered" | "wake-pending" | "withdrawn";
7683
+ result?: {
7684
+ outcome: "cancelled" | "deadline" | "error" | "failed" | "head_changed" | "no_checks" | "passed" | "skipped";
7685
+ headSha: string;
7686
+ observedHeadSha?: string | undefined;
7687
+ observedAt: string;
7688
+ checks: {
7689
+ name: string;
7690
+ state: string;
7691
+ link: string;
7692
+ }[];
7693
+ totalChecks: number;
7694
+ truncated: boolean;
7695
+ diagnostic?: string | undefined;
7696
+ } | undefined;
7697
+ wakeId?: string | undefined;
7698
+ deliveredAt?: string | undefined;
7699
+ } | undefined;
7700
+ lastCiWaitError?: string | undefined;
7329
7701
  taskImages?: string[] | undefined;
7330
7702
  model?: string | undefined;
7331
7703
  effort?: string | undefined;
@@ -7481,6 +7853,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
7481
7853
  images?: string[] | undefined;
7482
7854
  createdAt: string;
7483
7855
  origin?: "human" | "lifecycle" | undefined;
7856
+ agentInputId?: string | undefined;
7484
7857
  } | undefined;
7485
7858
  invalidAsk?: boolean | undefined;
7486
7859
  delegation?: {
@@ -7499,6 +7872,8 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
7499
7872
  deadline?: string | undefined;
7500
7873
  requestHash: string;
7501
7874
  state: "accepted" | "continuation-required" | "destroyed" | "late";
7875
+ resumed?: true | undefined;
7876
+ instruction?: string | undefined;
7502
7877
  }[];
7503
7878
  outcomes: {
7504
7879
  requestId: string;
@@ -7695,6 +8070,65 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
7695
8070
  createdAt: string;
7696
8071
  deliveredAt?: string | undefined;
7697
8072
  }[] | undefined;
8073
+ ciWait?: {
8074
+ prUrl: string;
8075
+ repository: string;
8076
+ prNumber: number;
8077
+ headSha: string;
8078
+ id: string;
8079
+ generation: string;
8080
+ turnId: string;
8081
+ timeoutSeconds: number;
8082
+ registeredAt: string;
8083
+ deadline: string;
8084
+ phase: "delivered" | "parked" | "registered" | "wake-pending" | "withdrawn";
8085
+ result?: {
8086
+ outcome: "cancelled" | "deadline" | "error" | "failed" | "head_changed" | "no_checks" | "passed" | "skipped";
8087
+ headSha: string;
8088
+ observedHeadSha?: string | undefined;
8089
+ observedAt: string;
8090
+ checks: {
8091
+ name: string;
8092
+ state: string;
8093
+ link: string;
8094
+ }[];
8095
+ totalChecks: number;
8096
+ truncated: boolean;
8097
+ diagnostic?: string | undefined;
8098
+ } | undefined;
8099
+ wakeId?: string | undefined;
8100
+ deliveredAt?: string | undefined;
8101
+ } | undefined;
8102
+ lastCiWait?: {
8103
+ prUrl: string;
8104
+ repository: string;
8105
+ prNumber: number;
8106
+ headSha: string;
8107
+ id: string;
8108
+ generation: string;
8109
+ turnId: string;
8110
+ timeoutSeconds: number;
8111
+ registeredAt: string;
8112
+ deadline: string;
8113
+ phase: "delivered" | "parked" | "registered" | "wake-pending" | "withdrawn";
8114
+ result?: {
8115
+ outcome: "cancelled" | "deadline" | "error" | "failed" | "head_changed" | "no_checks" | "passed" | "skipped";
8116
+ headSha: string;
8117
+ observedHeadSha?: string | undefined;
8118
+ observedAt: string;
8119
+ checks: {
8120
+ name: string;
8121
+ state: string;
8122
+ link: string;
8123
+ }[];
8124
+ totalChecks: number;
8125
+ truncated: boolean;
8126
+ diagnostic?: string | undefined;
8127
+ } | undefined;
8128
+ wakeId?: string | undefined;
8129
+ deliveredAt?: string | undefined;
8130
+ } | undefined;
8131
+ lastCiWaitError?: string | undefined;
7698
8132
  taskImages?: string[] | undefined;
7699
8133
  model?: string | undefined;
7700
8134
  effort?: string | undefined;
@@ -7850,6 +8284,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
7850
8284
  images?: string[] | undefined;
7851
8285
  createdAt: string;
7852
8286
  origin?: "human" | "lifecycle" | undefined;
8287
+ agentInputId?: string | undefined;
7853
8288
  } | undefined;
7854
8289
  invalidAsk?: boolean | undefined;
7855
8290
  delegation?: {
@@ -7868,6 +8303,8 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
7868
8303
  deadline?: string | undefined;
7869
8304
  requestHash: string;
7870
8305
  state: "accepted" | "continuation-required" | "destroyed" | "late";
8306
+ resumed?: true | undefined;
8307
+ instruction?: string | undefined;
7871
8308
  }[];
7872
8309
  outcomes: {
7873
8310
  requestId: string;
@@ -8064,6 +8501,65 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
8064
8501
  createdAt: string;
8065
8502
  deliveredAt?: string | undefined;
8066
8503
  }[] | undefined;
8504
+ ciWait?: {
8505
+ prUrl: string;
8506
+ repository: string;
8507
+ prNumber: number;
8508
+ headSha: string;
8509
+ id: string;
8510
+ generation: string;
8511
+ turnId: string;
8512
+ timeoutSeconds: number;
8513
+ registeredAt: string;
8514
+ deadline: string;
8515
+ phase: "delivered" | "parked" | "registered" | "wake-pending" | "withdrawn";
8516
+ result?: {
8517
+ outcome: "cancelled" | "deadline" | "error" | "failed" | "head_changed" | "no_checks" | "passed" | "skipped";
8518
+ headSha: string;
8519
+ observedHeadSha?: string | undefined;
8520
+ observedAt: string;
8521
+ checks: {
8522
+ name: string;
8523
+ state: string;
8524
+ link: string;
8525
+ }[];
8526
+ totalChecks: number;
8527
+ truncated: boolean;
8528
+ diagnostic?: string | undefined;
8529
+ } | undefined;
8530
+ wakeId?: string | undefined;
8531
+ deliveredAt?: string | undefined;
8532
+ } | undefined;
8533
+ lastCiWait?: {
8534
+ prUrl: string;
8535
+ repository: string;
8536
+ prNumber: number;
8537
+ headSha: string;
8538
+ id: string;
8539
+ generation: string;
8540
+ turnId: string;
8541
+ timeoutSeconds: number;
8542
+ registeredAt: string;
8543
+ deadline: string;
8544
+ phase: "delivered" | "parked" | "registered" | "wake-pending" | "withdrawn";
8545
+ result?: {
8546
+ outcome: "cancelled" | "deadline" | "error" | "failed" | "head_changed" | "no_checks" | "passed" | "skipped";
8547
+ headSha: string;
8548
+ observedHeadSha?: string | undefined;
8549
+ observedAt: string;
8550
+ checks: {
8551
+ name: string;
8552
+ state: string;
8553
+ link: string;
8554
+ }[];
8555
+ totalChecks: number;
8556
+ truncated: boolean;
8557
+ diagnostic?: string | undefined;
8558
+ } | undefined;
8559
+ wakeId?: string | undefined;
8560
+ deliveredAt?: string | undefined;
8561
+ } | undefined;
8562
+ lastCiWaitError?: string | undefined;
8067
8563
  taskImages?: string[] | undefined;
8068
8564
  model?: string | undefined;
8069
8565
  effort?: string | undefined;
@@ -8366,6 +8862,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
8366
8862
  images?: string[] | undefined;
8367
8863
  createdAt: string;
8368
8864
  origin?: "human" | "lifecycle" | undefined;
8865
+ agentInputId?: string | undefined;
8369
8866
  } | undefined;
8370
8867
  invalidAsk?: boolean | undefined;
8371
8868
  delegation?: {
@@ -8384,6 +8881,8 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
8384
8881
  deadline?: string | undefined;
8385
8882
  requestHash: string;
8386
8883
  state: "accepted" | "continuation-required" | "destroyed" | "late";
8884
+ resumed?: true | undefined;
8885
+ instruction?: string | undefined;
8387
8886
  }[];
8388
8887
  outcomes: {
8389
8888
  requestId: string;
@@ -8580,6 +9079,65 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
8580
9079
  createdAt: string;
8581
9080
  deliveredAt?: string | undefined;
8582
9081
  }[] | undefined;
9082
+ ciWait?: {
9083
+ prUrl: string;
9084
+ repository: string;
9085
+ prNumber: number;
9086
+ headSha: string;
9087
+ id: string;
9088
+ generation: string;
9089
+ turnId: string;
9090
+ timeoutSeconds: number;
9091
+ registeredAt: string;
9092
+ deadline: string;
9093
+ phase: "delivered" | "parked" | "registered" | "wake-pending" | "withdrawn";
9094
+ result?: {
9095
+ outcome: "cancelled" | "deadline" | "error" | "failed" | "head_changed" | "no_checks" | "passed" | "skipped";
9096
+ headSha: string;
9097
+ observedHeadSha?: string | undefined;
9098
+ observedAt: string;
9099
+ checks: {
9100
+ name: string;
9101
+ state: string;
9102
+ link: string;
9103
+ }[];
9104
+ totalChecks: number;
9105
+ truncated: boolean;
9106
+ diagnostic?: string | undefined;
9107
+ } | undefined;
9108
+ wakeId?: string | undefined;
9109
+ deliveredAt?: string | undefined;
9110
+ } | undefined;
9111
+ lastCiWait?: {
9112
+ prUrl: string;
9113
+ repository: string;
9114
+ prNumber: number;
9115
+ headSha: string;
9116
+ id: string;
9117
+ generation: string;
9118
+ turnId: string;
9119
+ timeoutSeconds: number;
9120
+ registeredAt: string;
9121
+ deadline: string;
9122
+ phase: "delivered" | "parked" | "registered" | "wake-pending" | "withdrawn";
9123
+ result?: {
9124
+ outcome: "cancelled" | "deadline" | "error" | "failed" | "head_changed" | "no_checks" | "passed" | "skipped";
9125
+ headSha: string;
9126
+ observedHeadSha?: string | undefined;
9127
+ observedAt: string;
9128
+ checks: {
9129
+ name: string;
9130
+ state: string;
9131
+ link: string;
9132
+ }[];
9133
+ totalChecks: number;
9134
+ truncated: boolean;
9135
+ diagnostic?: string | undefined;
9136
+ } | undefined;
9137
+ wakeId?: string | undefined;
9138
+ deliveredAt?: string | undefined;
9139
+ } | undefined;
9140
+ lastCiWaitError?: string | undefined;
8583
9141
  taskImages?: string[] | undefined;
8584
9142
  model?: string | undefined;
8585
9143
  effort?: string | undefined;
@@ -8758,6 +9316,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
8758
9316
  images?: string[] | undefined;
8759
9317
  createdAt: string;
8760
9318
  origin?: "human" | "lifecycle" | undefined;
9319
+ agentInputId?: string | undefined;
8761
9320
  } | undefined;
8762
9321
  invalidAsk?: boolean | undefined;
8763
9322
  delegation?: {
@@ -8776,6 +9335,8 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
8776
9335
  deadline?: string | undefined;
8777
9336
  requestHash: string;
8778
9337
  state: "accepted" | "continuation-required" | "destroyed" | "late";
9338
+ resumed?: true | undefined;
9339
+ instruction?: string | undefined;
8779
9340
  }[];
8780
9341
  outcomes: {
8781
9342
  requestId: string;
@@ -8972,6 +9533,65 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
8972
9533
  createdAt: string;
8973
9534
  deliveredAt?: string | undefined;
8974
9535
  }[] | undefined;
9536
+ ciWait?: {
9537
+ prUrl: string;
9538
+ repository: string;
9539
+ prNumber: number;
9540
+ headSha: string;
9541
+ id: string;
9542
+ generation: string;
9543
+ turnId: string;
9544
+ timeoutSeconds: number;
9545
+ registeredAt: string;
9546
+ deadline: string;
9547
+ phase: "delivered" | "parked" | "registered" | "wake-pending" | "withdrawn";
9548
+ result?: {
9549
+ outcome: "cancelled" | "deadline" | "error" | "failed" | "head_changed" | "no_checks" | "passed" | "skipped";
9550
+ headSha: string;
9551
+ observedHeadSha?: string | undefined;
9552
+ observedAt: string;
9553
+ checks: {
9554
+ name: string;
9555
+ state: string;
9556
+ link: string;
9557
+ }[];
9558
+ totalChecks: number;
9559
+ truncated: boolean;
9560
+ diagnostic?: string | undefined;
9561
+ } | undefined;
9562
+ wakeId?: string | undefined;
9563
+ deliveredAt?: string | undefined;
9564
+ } | undefined;
9565
+ lastCiWait?: {
9566
+ prUrl: string;
9567
+ repository: string;
9568
+ prNumber: number;
9569
+ headSha: string;
9570
+ id: string;
9571
+ generation: string;
9572
+ turnId: string;
9573
+ timeoutSeconds: number;
9574
+ registeredAt: string;
9575
+ deadline: string;
9576
+ phase: "delivered" | "parked" | "registered" | "wake-pending" | "withdrawn";
9577
+ result?: {
9578
+ outcome: "cancelled" | "deadline" | "error" | "failed" | "head_changed" | "no_checks" | "passed" | "skipped";
9579
+ headSha: string;
9580
+ observedHeadSha?: string | undefined;
9581
+ observedAt: string;
9582
+ checks: {
9583
+ name: string;
9584
+ state: string;
9585
+ link: string;
9586
+ }[];
9587
+ totalChecks: number;
9588
+ truncated: boolean;
9589
+ diagnostic?: string | undefined;
9590
+ } | undefined;
9591
+ wakeId?: string | undefined;
9592
+ deliveredAt?: string | undefined;
9593
+ } | undefined;
9594
+ lastCiWaitError?: string | undefined;
8975
9595
  taskImages?: string[] | undefined;
8976
9596
  model?: string | undefined;
8977
9597
  effort?: string | undefined;
@@ -9255,6 +9875,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
9255
9875
  images?: string[] | undefined;
9256
9876
  createdAt: string;
9257
9877
  origin?: "human" | "lifecycle" | undefined;
9878
+ agentInputId?: string | undefined;
9258
9879
  } | undefined;
9259
9880
  invalidAsk?: boolean | undefined;
9260
9881
  delegation?: {
@@ -9273,6 +9894,8 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
9273
9894
  deadline?: string | undefined;
9274
9895
  requestHash: string;
9275
9896
  state: "accepted" | "continuation-required" | "destroyed" | "late";
9897
+ resumed?: true | undefined;
9898
+ instruction?: string | undefined;
9276
9899
  }[];
9277
9900
  outcomes: {
9278
9901
  requestId: string;
@@ -9469,6 +10092,65 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
9469
10092
  createdAt: string;
9470
10093
  deliveredAt?: string | undefined;
9471
10094
  }[] | undefined;
10095
+ ciWait?: {
10096
+ prUrl: string;
10097
+ repository: string;
10098
+ prNumber: number;
10099
+ headSha: string;
10100
+ id: string;
10101
+ generation: string;
10102
+ turnId: string;
10103
+ timeoutSeconds: number;
10104
+ registeredAt: string;
10105
+ deadline: string;
10106
+ phase: "delivered" | "parked" | "registered" | "wake-pending" | "withdrawn";
10107
+ result?: {
10108
+ outcome: "cancelled" | "deadline" | "error" | "failed" | "head_changed" | "no_checks" | "passed" | "skipped";
10109
+ headSha: string;
10110
+ observedHeadSha?: string | undefined;
10111
+ observedAt: string;
10112
+ checks: {
10113
+ name: string;
10114
+ state: string;
10115
+ link: string;
10116
+ }[];
10117
+ totalChecks: number;
10118
+ truncated: boolean;
10119
+ diagnostic?: string | undefined;
10120
+ } | undefined;
10121
+ wakeId?: string | undefined;
10122
+ deliveredAt?: string | undefined;
10123
+ } | undefined;
10124
+ lastCiWait?: {
10125
+ prUrl: string;
10126
+ repository: string;
10127
+ prNumber: number;
10128
+ headSha: string;
10129
+ id: string;
10130
+ generation: string;
10131
+ turnId: string;
10132
+ timeoutSeconds: number;
10133
+ registeredAt: string;
10134
+ deadline: string;
10135
+ phase: "delivered" | "parked" | "registered" | "wake-pending" | "withdrawn";
10136
+ result?: {
10137
+ outcome: "cancelled" | "deadline" | "error" | "failed" | "head_changed" | "no_checks" | "passed" | "skipped";
10138
+ headSha: string;
10139
+ observedHeadSha?: string | undefined;
10140
+ observedAt: string;
10141
+ checks: {
10142
+ name: string;
10143
+ state: string;
10144
+ link: string;
10145
+ }[];
10146
+ totalChecks: number;
10147
+ truncated: boolean;
10148
+ diagnostic?: string | undefined;
10149
+ } | undefined;
10150
+ wakeId?: string | undefined;
10151
+ deliveredAt?: string | undefined;
10152
+ } | undefined;
10153
+ lastCiWaitError?: string | undefined;
9472
10154
  taskImages?: string[] | undefined;
9473
10155
  model?: string | undefined;
9474
10156
  effort?: string | undefined;
@@ -11019,6 +11701,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
11019
11701
  images?: string[] | undefined;
11020
11702
  createdAt: string;
11021
11703
  origin?: "human" | "lifecycle" | undefined;
11704
+ agentInputId?: string | undefined;
11022
11705
  } | undefined;
11023
11706
  invalidAsk?: boolean | undefined;
11024
11707
  delegation?: {
@@ -11037,6 +11720,8 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
11037
11720
  deadline?: string | undefined;
11038
11721
  requestHash: string;
11039
11722
  state: "accepted" | "continuation-required" | "destroyed" | "late";
11723
+ resumed?: true | undefined;
11724
+ instruction?: string | undefined;
11040
11725
  }[];
11041
11726
  outcomes: {
11042
11727
  requestId: string;
@@ -11233,6 +11918,65 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
11233
11918
  createdAt: string;
11234
11919
  deliveredAt?: string | undefined;
11235
11920
  }[] | undefined;
11921
+ ciWait?: {
11922
+ prUrl: string;
11923
+ repository: string;
11924
+ prNumber: number;
11925
+ headSha: string;
11926
+ id: string;
11927
+ generation: string;
11928
+ turnId: string;
11929
+ timeoutSeconds: number;
11930
+ registeredAt: string;
11931
+ deadline: string;
11932
+ phase: "delivered" | "parked" | "registered" | "wake-pending" | "withdrawn";
11933
+ result?: {
11934
+ outcome: "cancelled" | "deadline" | "error" | "failed" | "head_changed" | "no_checks" | "passed" | "skipped";
11935
+ headSha: string;
11936
+ observedHeadSha?: string | undefined;
11937
+ observedAt: string;
11938
+ checks: {
11939
+ name: string;
11940
+ state: string;
11941
+ link: string;
11942
+ }[];
11943
+ totalChecks: number;
11944
+ truncated: boolean;
11945
+ diagnostic?: string | undefined;
11946
+ } | undefined;
11947
+ wakeId?: string | undefined;
11948
+ deliveredAt?: string | undefined;
11949
+ } | undefined;
11950
+ lastCiWait?: {
11951
+ prUrl: string;
11952
+ repository: string;
11953
+ prNumber: number;
11954
+ headSha: string;
11955
+ id: string;
11956
+ generation: string;
11957
+ turnId: string;
11958
+ timeoutSeconds: number;
11959
+ registeredAt: string;
11960
+ deadline: string;
11961
+ phase: "delivered" | "parked" | "registered" | "wake-pending" | "withdrawn";
11962
+ result?: {
11963
+ outcome: "cancelled" | "deadline" | "error" | "failed" | "head_changed" | "no_checks" | "passed" | "skipped";
11964
+ headSha: string;
11965
+ observedHeadSha?: string | undefined;
11966
+ observedAt: string;
11967
+ checks: {
11968
+ name: string;
11969
+ state: string;
11970
+ link: string;
11971
+ }[];
11972
+ totalChecks: number;
11973
+ truncated: boolean;
11974
+ diagnostic?: string | undefined;
11975
+ } | undefined;
11976
+ wakeId?: string | undefined;
11977
+ deliveredAt?: string | undefined;
11978
+ } | undefined;
11979
+ lastCiWaitError?: string | undefined;
11236
11980
  taskImages?: string[] | undefined;
11237
11981
  model?: string | undefined;
11238
11982
  effort?: string | undefined;
@@ -11802,6 +12546,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
11802
12546
  images?: string[] | undefined;
11803
12547
  createdAt: string;
11804
12548
  origin?: "human" | "lifecycle" | undefined;
12549
+ agentInputId?: string | undefined;
11805
12550
  } | undefined;
11806
12551
  invalidAsk?: boolean | undefined;
11807
12552
  delegation?: {
@@ -11820,6 +12565,8 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
11820
12565
  deadline?: string | undefined;
11821
12566
  requestHash: string;
11822
12567
  state: "accepted" | "continuation-required" | "destroyed" | "late";
12568
+ resumed?: true | undefined;
12569
+ instruction?: string | undefined;
11823
12570
  }[];
11824
12571
  outcomes: {
11825
12572
  requestId: string;
@@ -12016,6 +12763,65 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
12016
12763
  createdAt: string;
12017
12764
  deliveredAt?: string | undefined;
12018
12765
  }[] | undefined;
12766
+ ciWait?: {
12767
+ prUrl: string;
12768
+ repository: string;
12769
+ prNumber: number;
12770
+ headSha: string;
12771
+ id: string;
12772
+ generation: string;
12773
+ turnId: string;
12774
+ timeoutSeconds: number;
12775
+ registeredAt: string;
12776
+ deadline: string;
12777
+ phase: "delivered" | "parked" | "registered" | "wake-pending" | "withdrawn";
12778
+ result?: {
12779
+ outcome: "cancelled" | "deadline" | "error" | "failed" | "head_changed" | "no_checks" | "passed" | "skipped";
12780
+ headSha: string;
12781
+ observedHeadSha?: string | undefined;
12782
+ observedAt: string;
12783
+ checks: {
12784
+ name: string;
12785
+ state: string;
12786
+ link: string;
12787
+ }[];
12788
+ totalChecks: number;
12789
+ truncated: boolean;
12790
+ diagnostic?: string | undefined;
12791
+ } | undefined;
12792
+ wakeId?: string | undefined;
12793
+ deliveredAt?: string | undefined;
12794
+ } | undefined;
12795
+ lastCiWait?: {
12796
+ prUrl: string;
12797
+ repository: string;
12798
+ prNumber: number;
12799
+ headSha: string;
12800
+ id: string;
12801
+ generation: string;
12802
+ turnId: string;
12803
+ timeoutSeconds: number;
12804
+ registeredAt: string;
12805
+ deadline: string;
12806
+ phase: "delivered" | "parked" | "registered" | "wake-pending" | "withdrawn";
12807
+ result?: {
12808
+ outcome: "cancelled" | "deadline" | "error" | "failed" | "head_changed" | "no_checks" | "passed" | "skipped";
12809
+ headSha: string;
12810
+ observedHeadSha?: string | undefined;
12811
+ observedAt: string;
12812
+ checks: {
12813
+ name: string;
12814
+ state: string;
12815
+ link: string;
12816
+ }[];
12817
+ totalChecks: number;
12818
+ truncated: boolean;
12819
+ diagnostic?: string | undefined;
12820
+ } | undefined;
12821
+ wakeId?: string | undefined;
12822
+ deliveredAt?: string | undefined;
12823
+ } | undefined;
12824
+ lastCiWaitError?: string | undefined;
12019
12825
  taskImages?: string[] | undefined;
12020
12826
  model?: string | undefined;
12021
12827
  effort?: string | undefined;
@@ -14368,6 +15174,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
14368
15174
  images?: string[] | undefined;
14369
15175
  createdAt: string;
14370
15176
  origin?: "human" | "lifecycle" | undefined;
15177
+ agentInputId?: string | undefined;
14371
15178
  } | undefined;
14372
15179
  invalidAsk?: boolean | undefined;
14373
15180
  delegation?: {
@@ -14386,6 +15193,8 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
14386
15193
  deadline?: string | undefined;
14387
15194
  requestHash: string;
14388
15195
  state: "accepted" | "continuation-required" | "destroyed" | "late";
15196
+ resumed?: true | undefined;
15197
+ instruction?: string | undefined;
14389
15198
  }[];
14390
15199
  outcomes: {
14391
15200
  requestId: string;
@@ -14582,6 +15391,65 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
14582
15391
  createdAt: string;
14583
15392
  deliveredAt?: string | undefined;
14584
15393
  }[] | undefined;
15394
+ ciWait?: {
15395
+ prUrl: string;
15396
+ repository: string;
15397
+ prNumber: number;
15398
+ headSha: string;
15399
+ id: string;
15400
+ generation: string;
15401
+ turnId: string;
15402
+ timeoutSeconds: number;
15403
+ registeredAt: string;
15404
+ deadline: string;
15405
+ phase: "delivered" | "parked" | "registered" | "wake-pending" | "withdrawn";
15406
+ result?: {
15407
+ outcome: "cancelled" | "deadline" | "error" | "failed" | "head_changed" | "no_checks" | "passed" | "skipped";
15408
+ headSha: string;
15409
+ observedHeadSha?: string | undefined;
15410
+ observedAt: string;
15411
+ checks: {
15412
+ name: string;
15413
+ state: string;
15414
+ link: string;
15415
+ }[];
15416
+ totalChecks: number;
15417
+ truncated: boolean;
15418
+ diagnostic?: string | undefined;
15419
+ } | undefined;
15420
+ wakeId?: string | undefined;
15421
+ deliveredAt?: string | undefined;
15422
+ } | undefined;
15423
+ lastCiWait?: {
15424
+ prUrl: string;
15425
+ repository: string;
15426
+ prNumber: number;
15427
+ headSha: string;
15428
+ id: string;
15429
+ generation: string;
15430
+ turnId: string;
15431
+ timeoutSeconds: number;
15432
+ registeredAt: string;
15433
+ deadline: string;
15434
+ phase: "delivered" | "parked" | "registered" | "wake-pending" | "withdrawn";
15435
+ result?: {
15436
+ outcome: "cancelled" | "deadline" | "error" | "failed" | "head_changed" | "no_checks" | "passed" | "skipped";
15437
+ headSha: string;
15438
+ observedHeadSha?: string | undefined;
15439
+ observedAt: string;
15440
+ checks: {
15441
+ name: string;
15442
+ state: string;
15443
+ link: string;
15444
+ }[];
15445
+ totalChecks: number;
15446
+ truncated: boolean;
15447
+ diagnostic?: string | undefined;
15448
+ } | undefined;
15449
+ wakeId?: string | undefined;
15450
+ deliveredAt?: string | undefined;
15451
+ } | undefined;
15452
+ lastCiWaitError?: string | undefined;
14585
15453
  taskImages?: string[] | undefined;
14586
15454
  model?: string | undefined;
14587
15455
  effort?: string | undefined;
@@ -14824,11 +15692,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
14824
15692
  "/runs/:id/worker-destroy": {
14825
15693
  $post: {
14826
15694
  output: {
14827
- error: string;
14828
- code?: "invalid_input" | undefined;
15695
+ readonly code: "capacity_limit" | "denied_scope" | "incompatible_state" | "incomplete_cleanup" | "invalid_baseline" | "invalid_input" | "unauthenticated" | "unavailable_diff" | "unavailable_transport";
15696
+ readonly error: string;
14829
15697
  };
14830
15698
  outputFormat: "json";
14831
- status: 400;
15699
+ status: 400 | 401 | 403 | 409 | 503;
14832
15700
  input: {
14833
15701
  query: {
14834
15702
  [x: string]: string | string[];
@@ -14842,11 +15710,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
14842
15710
  };
14843
15711
  } | {
14844
15712
  output: {
14845
- readonly code: "capacity_limit" | "denied_scope" | "incompatible_state" | "incomplete_cleanup" | "invalid_baseline" | "invalid_input" | "unauthenticated" | "unavailable_diff" | "unavailable_transport";
14846
- readonly error: string;
15713
+ error: string;
15714
+ code?: "invalid_input" | undefined;
14847
15715
  };
14848
15716
  outputFormat: "json";
14849
- status: 400 | 401 | 403 | 409 | 503;
15717
+ status: 400;
14850
15718
  input: {
14851
15719
  query: {
14852
15720
  [x: string]: string | string[];
@@ -14963,6 +15831,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
14963
15831
  images?: string[] | undefined;
14964
15832
  createdAt: string;
14965
15833
  origin?: "human" | "lifecycle" | undefined;
15834
+ agentInputId?: string | undefined;
14966
15835
  } | undefined;
14967
15836
  invalidAsk?: boolean | undefined;
14968
15837
  delegation?: {
@@ -14981,6 +15850,8 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
14981
15850
  deadline?: string | undefined;
14982
15851
  requestHash: string;
14983
15852
  state: "accepted" | "continuation-required" | "destroyed" | "late";
15853
+ resumed?: true | undefined;
15854
+ instruction?: string | undefined;
14984
15855
  }[];
14985
15856
  outcomes: {
14986
15857
  requestId: string;
@@ -15177,6 +16048,65 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
15177
16048
  createdAt: string;
15178
16049
  deliveredAt?: string | undefined;
15179
16050
  }[] | undefined;
16051
+ ciWait?: {
16052
+ prUrl: string;
16053
+ repository: string;
16054
+ prNumber: number;
16055
+ headSha: string;
16056
+ id: string;
16057
+ generation: string;
16058
+ turnId: string;
16059
+ timeoutSeconds: number;
16060
+ registeredAt: string;
16061
+ deadline: string;
16062
+ phase: "delivered" | "parked" | "registered" | "wake-pending" | "withdrawn";
16063
+ result?: {
16064
+ outcome: "cancelled" | "deadline" | "error" | "failed" | "head_changed" | "no_checks" | "passed" | "skipped";
16065
+ headSha: string;
16066
+ observedHeadSha?: string | undefined;
16067
+ observedAt: string;
16068
+ checks: {
16069
+ name: string;
16070
+ state: string;
16071
+ link: string;
16072
+ }[];
16073
+ totalChecks: number;
16074
+ truncated: boolean;
16075
+ diagnostic?: string | undefined;
16076
+ } | undefined;
16077
+ wakeId?: string | undefined;
16078
+ deliveredAt?: string | undefined;
16079
+ } | undefined;
16080
+ lastCiWait?: {
16081
+ prUrl: string;
16082
+ repository: string;
16083
+ prNumber: number;
16084
+ headSha: string;
16085
+ id: string;
16086
+ generation: string;
16087
+ turnId: string;
16088
+ timeoutSeconds: number;
16089
+ registeredAt: string;
16090
+ deadline: string;
16091
+ phase: "delivered" | "parked" | "registered" | "wake-pending" | "withdrawn";
16092
+ result?: {
16093
+ outcome: "cancelled" | "deadline" | "error" | "failed" | "head_changed" | "no_checks" | "passed" | "skipped";
16094
+ headSha: string;
16095
+ observedHeadSha?: string | undefined;
16096
+ observedAt: string;
16097
+ checks: {
16098
+ name: string;
16099
+ state: string;
16100
+ link: string;
16101
+ }[];
16102
+ totalChecks: number;
16103
+ truncated: boolean;
16104
+ diagnostic?: string | undefined;
16105
+ } | undefined;
16106
+ wakeId?: string | undefined;
16107
+ deliveredAt?: string | undefined;
16108
+ } | undefined;
16109
+ lastCiWaitError?: string | undefined;
15180
16110
  taskImages?: string[] | undefined;
15181
16111
  model?: string | undefined;
15182
16112
  effort?: string | undefined;
@@ -15356,6 +16286,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
15356
16286
  images?: string[] | undefined;
15357
16287
  createdAt: string;
15358
16288
  origin?: "human" | "lifecycle" | undefined;
16289
+ agentInputId?: string | undefined;
15359
16290
  } | undefined;
15360
16291
  invalidAsk?: boolean | undefined;
15361
16292
  delegation?: {
@@ -15374,6 +16305,8 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
15374
16305
  deadline?: string | undefined;
15375
16306
  requestHash: string;
15376
16307
  state: "accepted" | "continuation-required" | "destroyed" | "late";
16308
+ resumed?: true | undefined;
16309
+ instruction?: string | undefined;
15377
16310
  }[];
15378
16311
  outcomes: {
15379
16312
  requestId: string;
@@ -15570,6 +16503,65 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
15570
16503
  createdAt: string;
15571
16504
  deliveredAt?: string | undefined;
15572
16505
  }[] | undefined;
16506
+ ciWait?: {
16507
+ prUrl: string;
16508
+ repository: string;
16509
+ prNumber: number;
16510
+ headSha: string;
16511
+ id: string;
16512
+ generation: string;
16513
+ turnId: string;
16514
+ timeoutSeconds: number;
16515
+ registeredAt: string;
16516
+ deadline: string;
16517
+ phase: "delivered" | "parked" | "registered" | "wake-pending" | "withdrawn";
16518
+ result?: {
16519
+ outcome: "cancelled" | "deadline" | "error" | "failed" | "head_changed" | "no_checks" | "passed" | "skipped";
16520
+ headSha: string;
16521
+ observedHeadSha?: string | undefined;
16522
+ observedAt: string;
16523
+ checks: {
16524
+ name: string;
16525
+ state: string;
16526
+ link: string;
16527
+ }[];
16528
+ totalChecks: number;
16529
+ truncated: boolean;
16530
+ diagnostic?: string | undefined;
16531
+ } | undefined;
16532
+ wakeId?: string | undefined;
16533
+ deliveredAt?: string | undefined;
16534
+ } | undefined;
16535
+ lastCiWait?: {
16536
+ prUrl: string;
16537
+ repository: string;
16538
+ prNumber: number;
16539
+ headSha: string;
16540
+ id: string;
16541
+ generation: string;
16542
+ turnId: string;
16543
+ timeoutSeconds: number;
16544
+ registeredAt: string;
16545
+ deadline: string;
16546
+ phase: "delivered" | "parked" | "registered" | "wake-pending" | "withdrawn";
16547
+ result?: {
16548
+ outcome: "cancelled" | "deadline" | "error" | "failed" | "head_changed" | "no_checks" | "passed" | "skipped";
16549
+ headSha: string;
16550
+ observedHeadSha?: string | undefined;
16551
+ observedAt: string;
16552
+ checks: {
16553
+ name: string;
16554
+ state: string;
16555
+ link: string;
16556
+ }[];
16557
+ totalChecks: number;
16558
+ truncated: boolean;
16559
+ diagnostic?: string | undefined;
16560
+ } | undefined;
16561
+ wakeId?: string | undefined;
16562
+ deliveredAt?: string | undefined;
16563
+ } | undefined;
16564
+ lastCiWaitError?: string | undefined;
15573
16565
  taskImages?: string[] | undefined;
15574
16566
  model?: string | undefined;
15575
16567
  effort?: string | undefined;
@@ -15759,6 +16751,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
15759
16751
  images?: string[] | undefined;
15760
16752
  createdAt: string;
15761
16753
  origin?: "human" | "lifecycle" | undefined;
16754
+ agentInputId?: string | undefined;
15762
16755
  } | undefined;
15763
16756
  invalidAsk?: boolean | undefined;
15764
16757
  delegation?: {
@@ -15777,6 +16770,8 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
15777
16770
  deadline?: string | undefined;
15778
16771
  requestHash: string;
15779
16772
  state: "accepted" | "continuation-required" | "destroyed" | "late";
16773
+ resumed?: true | undefined;
16774
+ instruction?: string | undefined;
15780
16775
  }[];
15781
16776
  outcomes: {
15782
16777
  requestId: string;
@@ -15973,6 +16968,65 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
15973
16968
  createdAt: string;
15974
16969
  deliveredAt?: string | undefined;
15975
16970
  }[] | undefined;
16971
+ ciWait?: {
16972
+ prUrl: string;
16973
+ repository: string;
16974
+ prNumber: number;
16975
+ headSha: string;
16976
+ id: string;
16977
+ generation: string;
16978
+ turnId: string;
16979
+ timeoutSeconds: number;
16980
+ registeredAt: string;
16981
+ deadline: string;
16982
+ phase: "delivered" | "parked" | "registered" | "wake-pending" | "withdrawn";
16983
+ result?: {
16984
+ outcome: "cancelled" | "deadline" | "error" | "failed" | "head_changed" | "no_checks" | "passed" | "skipped";
16985
+ headSha: string;
16986
+ observedHeadSha?: string | undefined;
16987
+ observedAt: string;
16988
+ checks: {
16989
+ name: string;
16990
+ state: string;
16991
+ link: string;
16992
+ }[];
16993
+ totalChecks: number;
16994
+ truncated: boolean;
16995
+ diagnostic?: string | undefined;
16996
+ } | undefined;
16997
+ wakeId?: string | undefined;
16998
+ deliveredAt?: string | undefined;
16999
+ } | undefined;
17000
+ lastCiWait?: {
17001
+ prUrl: string;
17002
+ repository: string;
17003
+ prNumber: number;
17004
+ headSha: string;
17005
+ id: string;
17006
+ generation: string;
17007
+ turnId: string;
17008
+ timeoutSeconds: number;
17009
+ registeredAt: string;
17010
+ deadline: string;
17011
+ phase: "delivered" | "parked" | "registered" | "wake-pending" | "withdrawn";
17012
+ result?: {
17013
+ outcome: "cancelled" | "deadline" | "error" | "failed" | "head_changed" | "no_checks" | "passed" | "skipped";
17014
+ headSha: string;
17015
+ observedHeadSha?: string | undefined;
17016
+ observedAt: string;
17017
+ checks: {
17018
+ name: string;
17019
+ state: string;
17020
+ link: string;
17021
+ }[];
17022
+ totalChecks: number;
17023
+ truncated: boolean;
17024
+ diagnostic?: string | undefined;
17025
+ } | undefined;
17026
+ wakeId?: string | undefined;
17027
+ deliveredAt?: string | undefined;
17028
+ } | undefined;
17029
+ lastCiWaitError?: string | undefined;
15976
17030
  taskImages?: string[] | undefined;
15977
17031
  model?: string | undefined;
15978
17032
  effort?: string | undefined;
@@ -16128,6 +17182,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
16128
17182
  images?: string[] | undefined;
16129
17183
  createdAt: string;
16130
17184
  origin?: "human" | "lifecycle" | undefined;
17185
+ agentInputId?: string | undefined;
16131
17186
  } | undefined;
16132
17187
  invalidAsk?: boolean | undefined;
16133
17188
  delegation?: {
@@ -16146,6 +17201,8 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
16146
17201
  deadline?: string | undefined;
16147
17202
  requestHash: string;
16148
17203
  state: "accepted" | "continuation-required" | "destroyed" | "late";
17204
+ resumed?: true | undefined;
17205
+ instruction?: string | undefined;
16149
17206
  }[];
16150
17207
  outcomes: {
16151
17208
  requestId: string;
@@ -16342,6 +17399,65 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
16342
17399
  createdAt: string;
16343
17400
  deliveredAt?: string | undefined;
16344
17401
  }[] | undefined;
17402
+ ciWait?: {
17403
+ prUrl: string;
17404
+ repository: string;
17405
+ prNumber: number;
17406
+ headSha: string;
17407
+ id: string;
17408
+ generation: string;
17409
+ turnId: string;
17410
+ timeoutSeconds: number;
17411
+ registeredAt: string;
17412
+ deadline: string;
17413
+ phase: "delivered" | "parked" | "registered" | "wake-pending" | "withdrawn";
17414
+ result?: {
17415
+ outcome: "cancelled" | "deadline" | "error" | "failed" | "head_changed" | "no_checks" | "passed" | "skipped";
17416
+ headSha: string;
17417
+ observedHeadSha?: string | undefined;
17418
+ observedAt: string;
17419
+ checks: {
17420
+ name: string;
17421
+ state: string;
17422
+ link: string;
17423
+ }[];
17424
+ totalChecks: number;
17425
+ truncated: boolean;
17426
+ diagnostic?: string | undefined;
17427
+ } | undefined;
17428
+ wakeId?: string | undefined;
17429
+ deliveredAt?: string | undefined;
17430
+ } | undefined;
17431
+ lastCiWait?: {
17432
+ prUrl: string;
17433
+ repository: string;
17434
+ prNumber: number;
17435
+ headSha: string;
17436
+ id: string;
17437
+ generation: string;
17438
+ turnId: string;
17439
+ timeoutSeconds: number;
17440
+ registeredAt: string;
17441
+ deadline: string;
17442
+ phase: "delivered" | "parked" | "registered" | "wake-pending" | "withdrawn";
17443
+ result?: {
17444
+ outcome: "cancelled" | "deadline" | "error" | "failed" | "head_changed" | "no_checks" | "passed" | "skipped";
17445
+ headSha: string;
17446
+ observedHeadSha?: string | undefined;
17447
+ observedAt: string;
17448
+ checks: {
17449
+ name: string;
17450
+ state: string;
17451
+ link: string;
17452
+ }[];
17453
+ totalChecks: number;
17454
+ truncated: boolean;
17455
+ diagnostic?: string | undefined;
17456
+ } | undefined;
17457
+ wakeId?: string | undefined;
17458
+ deliveredAt?: string | undefined;
17459
+ } | undefined;
17460
+ lastCiWaitError?: string | undefined;
16345
17461
  taskImages?: string[] | undefined;
16346
17462
  model?: string | undefined;
16347
17463
  effort?: string | undefined;
@@ -16497,6 +17613,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
16497
17613
  images?: string[] | undefined;
16498
17614
  createdAt: string;
16499
17615
  origin?: "human" | "lifecycle" | undefined;
17616
+ agentInputId?: string | undefined;
16500
17617
  } | undefined;
16501
17618
  invalidAsk?: boolean | undefined;
16502
17619
  delegation?: {
@@ -16515,6 +17632,8 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
16515
17632
  deadline?: string | undefined;
16516
17633
  requestHash: string;
16517
17634
  state: "accepted" | "continuation-required" | "destroyed" | "late";
17635
+ resumed?: true | undefined;
17636
+ instruction?: string | undefined;
16518
17637
  }[];
16519
17638
  outcomes: {
16520
17639
  requestId: string;
@@ -16711,6 +17830,65 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
16711
17830
  createdAt: string;
16712
17831
  deliveredAt?: string | undefined;
16713
17832
  }[] | undefined;
17833
+ ciWait?: {
17834
+ prUrl: string;
17835
+ repository: string;
17836
+ prNumber: number;
17837
+ headSha: string;
17838
+ id: string;
17839
+ generation: string;
17840
+ turnId: string;
17841
+ timeoutSeconds: number;
17842
+ registeredAt: string;
17843
+ deadline: string;
17844
+ phase: "delivered" | "parked" | "registered" | "wake-pending" | "withdrawn";
17845
+ result?: {
17846
+ outcome: "cancelled" | "deadline" | "error" | "failed" | "head_changed" | "no_checks" | "passed" | "skipped";
17847
+ headSha: string;
17848
+ observedHeadSha?: string | undefined;
17849
+ observedAt: string;
17850
+ checks: {
17851
+ name: string;
17852
+ state: string;
17853
+ link: string;
17854
+ }[];
17855
+ totalChecks: number;
17856
+ truncated: boolean;
17857
+ diagnostic?: string | undefined;
17858
+ } | undefined;
17859
+ wakeId?: string | undefined;
17860
+ deliveredAt?: string | undefined;
17861
+ } | undefined;
17862
+ lastCiWait?: {
17863
+ prUrl: string;
17864
+ repository: string;
17865
+ prNumber: number;
17866
+ headSha: string;
17867
+ id: string;
17868
+ generation: string;
17869
+ turnId: string;
17870
+ timeoutSeconds: number;
17871
+ registeredAt: string;
17872
+ deadline: string;
17873
+ phase: "delivered" | "parked" | "registered" | "wake-pending" | "withdrawn";
17874
+ result?: {
17875
+ outcome: "cancelled" | "deadline" | "error" | "failed" | "head_changed" | "no_checks" | "passed" | "skipped";
17876
+ headSha: string;
17877
+ observedHeadSha?: string | undefined;
17878
+ observedAt: string;
17879
+ checks: {
17880
+ name: string;
17881
+ state: string;
17882
+ link: string;
17883
+ }[];
17884
+ totalChecks: number;
17885
+ truncated: boolean;
17886
+ diagnostic?: string | undefined;
17887
+ } | undefined;
17888
+ wakeId?: string | undefined;
17889
+ deliveredAt?: string | undefined;
17890
+ } | undefined;
17891
+ lastCiWaitError?: string | undefined;
16714
17892
  taskImages?: string[] | undefined;
16715
17893
  model?: string | undefined;
16716
17894
  effort?: string | undefined;
@@ -17013,6 +18191,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
17013
18191
  images?: string[] | undefined;
17014
18192
  createdAt: string;
17015
18193
  origin?: "human" | "lifecycle" | undefined;
18194
+ agentInputId?: string | undefined;
17016
18195
  } | undefined;
17017
18196
  invalidAsk?: boolean | undefined;
17018
18197
  delegation?: {
@@ -17031,6 +18210,8 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
17031
18210
  deadline?: string | undefined;
17032
18211
  requestHash: string;
17033
18212
  state: "accepted" | "continuation-required" | "destroyed" | "late";
18213
+ resumed?: true | undefined;
18214
+ instruction?: string | undefined;
17034
18215
  }[];
17035
18216
  outcomes: {
17036
18217
  requestId: string;
@@ -17227,6 +18408,65 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
17227
18408
  createdAt: string;
17228
18409
  deliveredAt?: string | undefined;
17229
18410
  }[] | undefined;
18411
+ ciWait?: {
18412
+ prUrl: string;
18413
+ repository: string;
18414
+ prNumber: number;
18415
+ headSha: string;
18416
+ id: string;
18417
+ generation: string;
18418
+ turnId: string;
18419
+ timeoutSeconds: number;
18420
+ registeredAt: string;
18421
+ deadline: string;
18422
+ phase: "delivered" | "parked" | "registered" | "wake-pending" | "withdrawn";
18423
+ result?: {
18424
+ outcome: "cancelled" | "deadline" | "error" | "failed" | "head_changed" | "no_checks" | "passed" | "skipped";
18425
+ headSha: string;
18426
+ observedHeadSha?: string | undefined;
18427
+ observedAt: string;
18428
+ checks: {
18429
+ name: string;
18430
+ state: string;
18431
+ link: string;
18432
+ }[];
18433
+ totalChecks: number;
18434
+ truncated: boolean;
18435
+ diagnostic?: string | undefined;
18436
+ } | undefined;
18437
+ wakeId?: string | undefined;
18438
+ deliveredAt?: string | undefined;
18439
+ } | undefined;
18440
+ lastCiWait?: {
18441
+ prUrl: string;
18442
+ repository: string;
18443
+ prNumber: number;
18444
+ headSha: string;
18445
+ id: string;
18446
+ generation: string;
18447
+ turnId: string;
18448
+ timeoutSeconds: number;
18449
+ registeredAt: string;
18450
+ deadline: string;
18451
+ phase: "delivered" | "parked" | "registered" | "wake-pending" | "withdrawn";
18452
+ result?: {
18453
+ outcome: "cancelled" | "deadline" | "error" | "failed" | "head_changed" | "no_checks" | "passed" | "skipped";
18454
+ headSha: string;
18455
+ observedHeadSha?: string | undefined;
18456
+ observedAt: string;
18457
+ checks: {
18458
+ name: string;
18459
+ state: string;
18460
+ link: string;
18461
+ }[];
18462
+ totalChecks: number;
18463
+ truncated: boolean;
18464
+ diagnostic?: string | undefined;
18465
+ } | undefined;
18466
+ wakeId?: string | undefined;
18467
+ deliveredAt?: string | undefined;
18468
+ } | undefined;
18469
+ lastCiWaitError?: string | undefined;
17230
18470
  taskImages?: string[] | undefined;
17231
18471
  model?: string | undefined;
17232
18472
  effort?: string | undefined;
@@ -17405,6 +18645,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
17405
18645
  images?: string[] | undefined;
17406
18646
  createdAt: string;
17407
18647
  origin?: "human" | "lifecycle" | undefined;
18648
+ agentInputId?: string | undefined;
17408
18649
  } | undefined;
17409
18650
  invalidAsk?: boolean | undefined;
17410
18651
  delegation?: {
@@ -17423,6 +18664,8 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
17423
18664
  deadline?: string | undefined;
17424
18665
  requestHash: string;
17425
18666
  state: "accepted" | "continuation-required" | "destroyed" | "late";
18667
+ resumed?: true | undefined;
18668
+ instruction?: string | undefined;
17426
18669
  }[];
17427
18670
  outcomes: {
17428
18671
  requestId: string;
@@ -17619,6 +18862,65 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
17619
18862
  createdAt: string;
17620
18863
  deliveredAt?: string | undefined;
17621
18864
  }[] | undefined;
18865
+ ciWait?: {
18866
+ prUrl: string;
18867
+ repository: string;
18868
+ prNumber: number;
18869
+ headSha: string;
18870
+ id: string;
18871
+ generation: string;
18872
+ turnId: string;
18873
+ timeoutSeconds: number;
18874
+ registeredAt: string;
18875
+ deadline: string;
18876
+ phase: "delivered" | "parked" | "registered" | "wake-pending" | "withdrawn";
18877
+ result?: {
18878
+ outcome: "cancelled" | "deadline" | "error" | "failed" | "head_changed" | "no_checks" | "passed" | "skipped";
18879
+ headSha: string;
18880
+ observedHeadSha?: string | undefined;
18881
+ observedAt: string;
18882
+ checks: {
18883
+ name: string;
18884
+ state: string;
18885
+ link: string;
18886
+ }[];
18887
+ totalChecks: number;
18888
+ truncated: boolean;
18889
+ diagnostic?: string | undefined;
18890
+ } | undefined;
18891
+ wakeId?: string | undefined;
18892
+ deliveredAt?: string | undefined;
18893
+ } | undefined;
18894
+ lastCiWait?: {
18895
+ prUrl: string;
18896
+ repository: string;
18897
+ prNumber: number;
18898
+ headSha: string;
18899
+ id: string;
18900
+ generation: string;
18901
+ turnId: string;
18902
+ timeoutSeconds: number;
18903
+ registeredAt: string;
18904
+ deadline: string;
18905
+ phase: "delivered" | "parked" | "registered" | "wake-pending" | "withdrawn";
18906
+ result?: {
18907
+ outcome: "cancelled" | "deadline" | "error" | "failed" | "head_changed" | "no_checks" | "passed" | "skipped";
18908
+ headSha: string;
18909
+ observedHeadSha?: string | undefined;
18910
+ observedAt: string;
18911
+ checks: {
18912
+ name: string;
18913
+ state: string;
18914
+ link: string;
18915
+ }[];
18916
+ totalChecks: number;
18917
+ truncated: boolean;
18918
+ diagnostic?: string | undefined;
18919
+ } | undefined;
18920
+ wakeId?: string | undefined;
18921
+ deliveredAt?: string | undefined;
18922
+ } | undefined;
18923
+ lastCiWaitError?: string | undefined;
17622
18924
  taskImages?: string[] | undefined;
17623
18925
  model?: string | undefined;
17624
18926
  effort?: string | undefined;
@@ -17902,6 +19204,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
17902
19204
  images?: string[] | undefined;
17903
19205
  createdAt: string;
17904
19206
  origin?: "human" | "lifecycle" | undefined;
19207
+ agentInputId?: string | undefined;
17905
19208
  } | undefined;
17906
19209
  invalidAsk?: boolean | undefined;
17907
19210
  delegation?: {
@@ -17920,6 +19223,8 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
17920
19223
  deadline?: string | undefined;
17921
19224
  requestHash: string;
17922
19225
  state: "accepted" | "continuation-required" | "destroyed" | "late";
19226
+ resumed?: true | undefined;
19227
+ instruction?: string | undefined;
17923
19228
  }[];
17924
19229
  outcomes: {
17925
19230
  requestId: string;
@@ -18116,6 +19421,65 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18116
19421
  createdAt: string;
18117
19422
  deliveredAt?: string | undefined;
18118
19423
  }[] | undefined;
19424
+ ciWait?: {
19425
+ prUrl: string;
19426
+ repository: string;
19427
+ prNumber: number;
19428
+ headSha: string;
19429
+ id: string;
19430
+ generation: string;
19431
+ turnId: string;
19432
+ timeoutSeconds: number;
19433
+ registeredAt: string;
19434
+ deadline: string;
19435
+ phase: "delivered" | "parked" | "registered" | "wake-pending" | "withdrawn";
19436
+ result?: {
19437
+ outcome: "cancelled" | "deadline" | "error" | "failed" | "head_changed" | "no_checks" | "passed" | "skipped";
19438
+ headSha: string;
19439
+ observedHeadSha?: string | undefined;
19440
+ observedAt: string;
19441
+ checks: {
19442
+ name: string;
19443
+ state: string;
19444
+ link: string;
19445
+ }[];
19446
+ totalChecks: number;
19447
+ truncated: boolean;
19448
+ diagnostic?: string | undefined;
19449
+ } | undefined;
19450
+ wakeId?: string | undefined;
19451
+ deliveredAt?: string | undefined;
19452
+ } | undefined;
19453
+ lastCiWait?: {
19454
+ prUrl: string;
19455
+ repository: string;
19456
+ prNumber: number;
19457
+ headSha: string;
19458
+ id: string;
19459
+ generation: string;
19460
+ turnId: string;
19461
+ timeoutSeconds: number;
19462
+ registeredAt: string;
19463
+ deadline: string;
19464
+ phase: "delivered" | "parked" | "registered" | "wake-pending" | "withdrawn";
19465
+ result?: {
19466
+ outcome: "cancelled" | "deadline" | "error" | "failed" | "head_changed" | "no_checks" | "passed" | "skipped";
19467
+ headSha: string;
19468
+ observedHeadSha?: string | undefined;
19469
+ observedAt: string;
19470
+ checks: {
19471
+ name: string;
19472
+ state: string;
19473
+ link: string;
19474
+ }[];
19475
+ totalChecks: number;
19476
+ truncated: boolean;
19477
+ diagnostic?: string | undefined;
19478
+ } | undefined;
19479
+ wakeId?: string | undefined;
19480
+ deliveredAt?: string | undefined;
19481
+ } | undefined;
19482
+ lastCiWaitError?: string | undefined;
18119
19483
  taskImages?: string[] | undefined;
18120
19484
  model?: string | undefined;
18121
19485
  effort?: string | undefined;