devcontour-harness 0.1.0-alpha.31 → 0.1.0-alpha.35

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 (84) hide show
  1. package/README.md +28 -3
  2. package/docs/architecture.md +12 -0
  3. package/docs/compatibility.md +21 -18
  4. package/docs/contracts.md +189 -21
  5. package/docs/release-notes/0.1.0-alpha.32.md +33 -0
  6. package/docs/release-notes/0.1.0-alpha.33.md +29 -0
  7. package/docs/release-notes/0.1.0-alpha.34.md +32 -0
  8. package/docs/release-notes/0.1.0-alpha.35.md +27 -0
  9. package/docs/upgrade.md +172 -0
  10. package/lib/agents/cli-adapter.d.ts +10 -1
  11. package/lib/agents/cli-adapter.js +38 -7
  12. package/lib/agents/usage.d.ts +9 -0
  13. package/lib/agents/usage.js +22 -1
  14. package/lib/cli.js +2 -2
  15. package/lib/contracts/cli.d.ts +344 -6
  16. package/lib/contracts/cli.js +1 -0
  17. package/lib/contracts/diagnosis.d.ts +3 -1
  18. package/lib/contracts/diagnosis.js +1 -0
  19. package/lib/contracts/errors.d.ts +3 -1
  20. package/lib/contracts/errors.js +2 -0
  21. package/lib/contracts/events.d.ts +365 -4
  22. package/lib/contracts/events.js +63 -2
  23. package/lib/contracts/execution.d.ts +32 -1
  24. package/lib/contracts/execution.js +19 -0
  25. package/lib/contracts/failure.d.ts +12 -3
  26. package/lib/contracts/failure.js +10 -2
  27. package/lib/contracts/handoff.d.ts +17 -0
  28. package/lib/contracts/handoff.js +17 -3
  29. package/lib/contracts/planning.d.ts +2 -0
  30. package/lib/contracts/ports.d.ts +10 -2
  31. package/lib/contracts/published.d.ts +205 -3
  32. package/lib/contracts/repair-policy.d.ts +10 -1
  33. package/lib/contracts/repair-policy.js +18 -0
  34. package/lib/contracts/report.d.ts +118 -2
  35. package/lib/contracts/report.js +61 -3
  36. package/lib/contracts/result.d.ts +2 -0
  37. package/lib/control/base-move.d.ts +7 -2
  38. package/lib/control/base-move.js +14 -1
  39. package/lib/control/harness.d.ts +54 -18
  40. package/lib/control/harness.js +8 -96
  41. package/lib/control/recovery.d.ts +1 -1
  42. package/lib/control/status.d.ts +235 -0
  43. package/lib/control/status.js +101 -0
  44. package/lib/engine/budget.d.ts +78 -0
  45. package/lib/engine/budget.js +13 -2
  46. package/lib/engine/classify.d.ts +14 -1
  47. package/lib/engine/classify.js +34 -0
  48. package/lib/engine/engine.d.ts +25 -11
  49. package/lib/engine/engine.js +78 -5
  50. package/lib/engine/failure.d.ts +1 -1
  51. package/lib/engine/failure.js +1 -1
  52. package/lib/engine/prompt.js +11 -1
  53. package/lib/engine/property-recovery.js +2 -0
  54. package/lib/engine/repair.js +4 -2
  55. package/lib/engine/reuse.js +2 -0
  56. package/lib/engine/runner.js +13 -5
  57. package/lib/environment/isolation.d.ts +67 -3
  58. package/lib/environment/isolation.js +148 -5
  59. package/lib/environment/lifecycle.js +1 -1
  60. package/lib/explain/state.d.ts +26 -5
  61. package/lib/explain/state.js +39 -4
  62. package/lib/handoff/index.d.ts +1 -1
  63. package/lib/handoff/markdown.js +4 -2
  64. package/lib/handoff/pack.d.ts +38 -8
  65. package/lib/handoff/pack.js +57 -18
  66. package/lib/index.d.ts +19 -4
  67. package/lib/index.js +19 -3
  68. package/lib/integrations/connector/testing.js +1 -1
  69. package/lib/projections/next.d.ts +3 -1
  70. package/lib/projections/next.js +4 -1
  71. package/lib/projections/stop.d.ts +14 -1
  72. package/lib/projections/stop.js +68 -11
  73. package/lib/report/compute.js +229 -21
  74. package/lib/report/document.js +32 -8
  75. package/lib/storage/document.d.ts +8 -6
  76. package/lib/verification/gates.js +20 -4
  77. package/package.json +1 -1
  78. package/schemas/execution-document.schema.json +11 -0
  79. package/schemas/handoff-pack.schema.json +15 -0
  80. package/schemas/result-envelope.schema.json +1 -0
  81. package/schemas/run-event.schema.json +322 -0
  82. package/schemas/run-result.schema.json +1 -0
  83. package/schemas/stop-diagnosis.schema.json +2 -0
  84. package/schemas/value-report.schema.json +236 -3
@@ -117,7 +117,7 @@ export declare const cliCommands: {
117
117
  readonly required: false;
118
118
  readonly description: "Автор графа для ревью плана; по умолчанию external";
119
119
  }];
120
- readonly refusals: ["APPROVAL_REQUIRED", "APPROVAL_STALE", "PAUSED", "CONTROLLER_BUSY", "REVISION_CONFLICT", "GATE_FAILED", "REVIEW_REJECTED", "SCOPE_VIOLATION", "BUDGET_EXHAUSTED", "BUDGET_UNKNOWN", "ATTEMPTS_EXHAUSTED"];
120
+ readonly refusals: ["APPROVAL_REQUIRED", "APPROVAL_STALE", "PAUSED", "CONTROLLER_BUSY", "REVISION_CONFLICT", "GATE_FAILED", "REVIEW_REJECTED", "SCOPE_VIOLATION", "BUDGET_EXHAUSTED", "BUDGET_UNKNOWN", "ATTEMPTS_EXHAUSTED", "CONTEXT_EXHAUSTED"];
121
121
  };
122
122
  readonly status: {
123
123
  readonly description: "Состояние очереди, графов и поручений с причинами блокировки";
@@ -641,6 +641,7 @@ export declare const queueViewSchema: z.ZodObject<{
641
641
  timeout: "timeout";
642
642
  "provider-auth": "provider-auth";
643
643
  stalled: "stalled";
644
+ "context-exhausted": "context-exhausted";
644
645
  "stale-base": "stale-base";
645
646
  "empty-result": "empty-result";
646
647
  unfinished: "unfinished";
@@ -674,6 +675,7 @@ export declare const queueViewSchema: z.ZodObject<{
674
675
  BUDGET_EXHAUSTED: "BUDGET_EXHAUSTED";
675
676
  BUDGET_UNKNOWN: "BUDGET_UNKNOWN";
676
677
  ATTEMPTS_EXHAUSTED: "ATTEMPTS_EXHAUSTED";
678
+ CONTEXT_EXHAUSTED: "CONTEXT_EXHAUSTED";
677
679
  REVISION_CONFLICT: "REVISION_CONFLICT";
678
680
  CANCELLED: "CANCELLED";
679
681
  NOT_FOUND: "NOT_FOUND";
@@ -696,6 +698,7 @@ export declare const queueViewSchema: z.ZodObject<{
696
698
  timeout: "timeout";
697
699
  "provider-auth": "provider-auth";
698
700
  stalled: "stalled";
701
+ "context-exhausted": "context-exhausted";
699
702
  "stale-base": "stale-base";
700
703
  "empty-result": "empty-result";
701
704
  unfinished: "unfinished";
@@ -753,6 +756,7 @@ export declare const statusDataSchema: z.ZodObject<{
753
756
  timeout: "timeout";
754
757
  "provider-auth": "provider-auth";
755
758
  stalled: "stalled";
759
+ "context-exhausted": "context-exhausted";
756
760
  "stale-base": "stale-base";
757
761
  "empty-result": "empty-result";
758
762
  unfinished: "unfinished";
@@ -847,6 +851,7 @@ export declare const statusDataSchema: z.ZodObject<{
847
851
  BUDGET_EXHAUSTED: "BUDGET_EXHAUSTED";
848
852
  BUDGET_UNKNOWN: "BUDGET_UNKNOWN";
849
853
  ATTEMPTS_EXHAUSTED: "ATTEMPTS_EXHAUSTED";
854
+ CONTEXT_EXHAUSTED: "CONTEXT_EXHAUSTED";
850
855
  REVISION_CONFLICT: "REVISION_CONFLICT";
851
856
  CANCELLED: "CANCELLED";
852
857
  NOT_FOUND: "NOT_FOUND";
@@ -923,6 +928,7 @@ export declare const statusDataSchema: z.ZodObject<{
923
928
  timeout: "timeout";
924
929
  "provider-auth": "provider-auth";
925
930
  stalled: "stalled";
931
+ "context-exhausted": "context-exhausted";
926
932
  "stale-base": "stale-base";
927
933
  "empty-result": "empty-result";
928
934
  unfinished: "unfinished";
@@ -956,6 +962,7 @@ export declare const statusDataSchema: z.ZodObject<{
956
962
  BUDGET_EXHAUSTED: "BUDGET_EXHAUSTED";
957
963
  BUDGET_UNKNOWN: "BUDGET_UNKNOWN";
958
964
  ATTEMPTS_EXHAUSTED: "ATTEMPTS_EXHAUSTED";
965
+ CONTEXT_EXHAUSTED: "CONTEXT_EXHAUSTED";
959
966
  REVISION_CONFLICT: "REVISION_CONFLICT";
960
967
  CANCELLED: "CANCELLED";
961
968
  NOT_FOUND: "NOT_FOUND";
@@ -978,6 +985,7 @@ export declare const statusDataSchema: z.ZodObject<{
978
985
  timeout: "timeout";
979
986
  "provider-auth": "provider-auth";
980
987
  stalled: "stalled";
988
+ "context-exhausted": "context-exhausted";
981
989
  "stale-base": "stale-base";
982
990
  "empty-result": "empty-result";
983
991
  unfinished: "unfinished";
@@ -1091,7 +1099,7 @@ export declare const eventsDataSchema: z.ZodObject<{
1091
1099
  workId: z.ZodOptional<z.ZodString>;
1092
1100
  runId: z.ZodOptional<z.ZodString>;
1093
1101
  attempt: z.ZodOptional<z.ZodNumber>;
1094
- type: z.ZodLiteral<"graph.registered" | "graph.reviewed" | "graph.approved" | "work.ready" | "work.held" | "attempt.claimed" | "attempt.phase" | "attempt.gate" | "attempt.review" | "attempt.stage" | "attempt.liveness" | "attempt.failed" | "attempt.expired" | "attempt.cancelled" | "attempt.recovered" | "work.accepted" | "work.blocked" | "control.paused" | "control.resumed" | "controller.acquired" | "controller.released" | "budget.blocked" | "corpus.adopted" | "work.recovery" | "joint.started" | "joint.liveness" | "joint.finished" | "policy.applied" | "policy.reconfigure" | "delivery.pending" | "delivery.delivered" | "delivery.failed" | "delivery.conflict" | "delivery.uncertain">;
1102
+ type: z.ZodLiteral<"graph.registered" | "graph.reviewed" | "graph.approved" | "work.ready" | "work.held" | "attempt.claimed" | "attempt.phase" | "attempt.gate" | "attempt.review" | "attempt.stage" | "attempt.liveness" | "attempt.failed" | "attempt.diagnosed" | "attempt.expired" | "attempt.cancelled" | "attempt.recovered" | "work.accepted" | "work.retried" | "work.cancelled" | "work.blocked" | "control.paused" | "control.resumed" | "controller.acquired" | "base.moved" | "controller.released" | "budget.blocked" | "corpus.adopted" | "work.recovery" | "joint.started" | "joint.liveness" | "joint.finished" | "policy.applied" | "policy.reconfigure" | "delivery.pending" | "delivery.delivered" | "delivery.failed" | "delivery.conflict" | "delivery.uncertain">;
1095
1103
  payload: z.ZodObject<{
1096
1104
  digest: z.ZodString;
1097
1105
  orders: z.ZodNumber;
@@ -1242,6 +1250,7 @@ export declare const eventsDataSchema: z.ZodObject<{
1242
1250
  timeout: "timeout";
1243
1251
  "provider-auth": "provider-auth";
1244
1252
  stalled: "stalled";
1253
+ "context-exhausted": "context-exhausted";
1245
1254
  "stale-base": "stale-base";
1246
1255
  "empty-result": "empty-result";
1247
1256
  unfinished: "unfinished";
@@ -1253,6 +1262,43 @@ export declare const eventsDataSchema: z.ZodObject<{
1253
1262
  }>;
1254
1263
  message: z.ZodString;
1255
1264
  blocked: z.ZodBoolean;
1265
+ }, z.core.$strict> | z.ZodObject<{
1266
+ failureKind: z.ZodEnum<{
1267
+ gate: "gate";
1268
+ unknown: "unknown";
1269
+ review: "review";
1270
+ cancelled: "cancelled";
1271
+ environment: "environment";
1272
+ timeout: "timeout";
1273
+ "provider-auth": "provider-auth";
1274
+ stalled: "stalled";
1275
+ "context-exhausted": "context-exhausted";
1276
+ "stale-base": "stale-base";
1277
+ "empty-result": "empty-result";
1278
+ unfinished: "unfinished";
1279
+ "scope-violation": "scope-violation";
1280
+ "review-protocol": "review-protocol";
1281
+ merge: "merge";
1282
+ budget: "budget";
1283
+ "needs-lead": "needs-lead";
1284
+ }>;
1285
+ cause: z.ZodEnum<{
1286
+ preflight: "preflight";
1287
+ transport: "transport";
1288
+ none: "none";
1289
+ other: "other";
1290
+ "provider-auth": "provider-auth";
1291
+ stalled: "stalled";
1292
+ shutdown: "shutdown";
1293
+ "sandbox-launch": "sandbox-launch";
1294
+ "sandbox-network": "sandbox-network";
1295
+ "sandbox-filesystem": "sandbox-filesystem";
1296
+ "sandbox-policy": "sandbox-policy";
1297
+ "dependency-network": "dependency-network";
1298
+ "provider-limit": "provider-limit";
1299
+ "lease-expired": "lease-expired";
1300
+ }>;
1301
+ counted: z.ZodBoolean;
1256
1302
  }, z.core.$strict> | z.ZodObject<{
1257
1303
  leaseUntil: z.ZodNumber;
1258
1304
  }, z.core.$strict> | z.ZodObject<{
@@ -1264,6 +1310,22 @@ export declare const eventsDataSchema: z.ZodObject<{
1264
1310
  }, z.core.$strict> | z.ZodObject<{
1265
1311
  resultSha: z.ZodString;
1266
1312
  integrationSha: z.ZodString;
1313
+ }, z.core.$strict> | z.ZodObject<{
1314
+ by: z.ZodEnum<{
1315
+ operator: "operator";
1316
+ recovery: "recovery";
1317
+ host: "host";
1318
+ }>;
1319
+ reset: z.ZodBoolean;
1320
+ spent: z.ZodOptional<z.ZodNumber>;
1321
+ reasonLength: z.ZodOptional<z.ZodNumber>;
1322
+ }, z.core.$strict> | z.ZodObject<{
1323
+ by: z.ZodEnum<{
1324
+ operator: "operator";
1325
+ graph: "graph";
1326
+ host: "host";
1327
+ }>;
1328
+ hadAttempt: z.ZodBoolean;
1267
1329
  }, z.core.$strict> | z.ZodObject<{
1268
1330
  code: z.ZodString;
1269
1331
  message: z.ZodString;
@@ -1284,6 +1346,7 @@ export declare const eventsDataSchema: z.ZodObject<{
1284
1346
  timeout: "timeout";
1285
1347
  "provider-auth": "provider-auth";
1286
1348
  stalled: "stalled";
1349
+ "context-exhausted": "context-exhausted";
1287
1350
  "stale-base": "stale-base";
1288
1351
  "empty-result": "empty-result";
1289
1352
  unfinished: "unfinished";
@@ -1303,6 +1366,12 @@ export declare const eventsDataSchema: z.ZodObject<{
1303
1366
  }>;
1304
1367
  }, z.core.$strict> | z.ZodObject<{
1305
1368
  owner: z.ZodString;
1369
+ }, z.core.$strict> | z.ZodObject<{
1370
+ by: z.ZodEnum<{
1371
+ operator: "operator";
1372
+ controller: "controller";
1373
+ host: "host";
1374
+ }>;
1306
1375
  }, z.core.$strict> | z.ZodObject<{
1307
1376
  owner: z.ZodString;
1308
1377
  }, z.core.$strict> | z.ZodObject<{
@@ -1445,7 +1514,7 @@ export declare const eventsDataSchema: z.ZodObject<{
1445
1514
  workId: z.ZodOptional<z.ZodString>;
1446
1515
  runId: z.ZodOptional<z.ZodString>;
1447
1516
  attempt: z.ZodOptional<z.ZodNumber>;
1448
- type: z.ZodLiteral<"graph.registered" | "graph.reviewed" | "graph.approved" | "work.ready" | "work.held" | "attempt.claimed" | "attempt.phase" | "attempt.gate" | "attempt.review" | "attempt.stage" | "attempt.liveness" | "attempt.failed" | "attempt.expired" | "attempt.cancelled" | "attempt.recovered" | "work.accepted" | "work.blocked" | "control.paused" | "control.resumed" | "controller.acquired" | "controller.released" | "budget.blocked" | "corpus.adopted" | "work.recovery" | "joint.started" | "joint.liveness" | "joint.finished" | "policy.applied" | "policy.reconfigure" | "delivery.pending" | "delivery.delivered" | "delivery.failed" | "delivery.conflict" | "delivery.uncertain">;
1517
+ type: z.ZodLiteral<"graph.registered" | "graph.reviewed" | "graph.approved" | "work.ready" | "work.held" | "attempt.claimed" | "attempt.phase" | "attempt.gate" | "attempt.review" | "attempt.stage" | "attempt.liveness" | "attempt.failed" | "attempt.diagnosed" | "attempt.expired" | "attempt.cancelled" | "attempt.recovered" | "work.accepted" | "work.retried" | "work.cancelled" | "work.blocked" | "control.paused" | "control.resumed" | "controller.acquired" | "base.moved" | "controller.released" | "budget.blocked" | "corpus.adopted" | "work.recovery" | "joint.started" | "joint.liveness" | "joint.finished" | "policy.applied" | "policy.reconfigure" | "delivery.pending" | "delivery.delivered" | "delivery.failed" | "delivery.conflict" | "delivery.uncertain">;
1449
1518
  payload: z.ZodObject<{
1450
1519
  digest: z.ZodString;
1451
1520
  orders: z.ZodNumber;
@@ -1596,6 +1665,7 @@ export declare const eventsDataSchema: z.ZodObject<{
1596
1665
  timeout: "timeout";
1597
1666
  "provider-auth": "provider-auth";
1598
1667
  stalled: "stalled";
1668
+ "context-exhausted": "context-exhausted";
1599
1669
  "stale-base": "stale-base";
1600
1670
  "empty-result": "empty-result";
1601
1671
  unfinished: "unfinished";
@@ -1607,6 +1677,43 @@ export declare const eventsDataSchema: z.ZodObject<{
1607
1677
  }>;
1608
1678
  message: z.ZodString;
1609
1679
  blocked: z.ZodBoolean;
1680
+ }, z.core.$strict> | z.ZodObject<{
1681
+ failureKind: z.ZodEnum<{
1682
+ gate: "gate";
1683
+ unknown: "unknown";
1684
+ review: "review";
1685
+ cancelled: "cancelled";
1686
+ environment: "environment";
1687
+ timeout: "timeout";
1688
+ "provider-auth": "provider-auth";
1689
+ stalled: "stalled";
1690
+ "context-exhausted": "context-exhausted";
1691
+ "stale-base": "stale-base";
1692
+ "empty-result": "empty-result";
1693
+ unfinished: "unfinished";
1694
+ "scope-violation": "scope-violation";
1695
+ "review-protocol": "review-protocol";
1696
+ merge: "merge";
1697
+ budget: "budget";
1698
+ "needs-lead": "needs-lead";
1699
+ }>;
1700
+ cause: z.ZodEnum<{
1701
+ preflight: "preflight";
1702
+ transport: "transport";
1703
+ none: "none";
1704
+ other: "other";
1705
+ "provider-auth": "provider-auth";
1706
+ stalled: "stalled";
1707
+ shutdown: "shutdown";
1708
+ "sandbox-launch": "sandbox-launch";
1709
+ "sandbox-network": "sandbox-network";
1710
+ "sandbox-filesystem": "sandbox-filesystem";
1711
+ "sandbox-policy": "sandbox-policy";
1712
+ "dependency-network": "dependency-network";
1713
+ "provider-limit": "provider-limit";
1714
+ "lease-expired": "lease-expired";
1715
+ }>;
1716
+ counted: z.ZodBoolean;
1610
1717
  }, z.core.$strict> | z.ZodObject<{
1611
1718
  leaseUntil: z.ZodNumber;
1612
1719
  }, z.core.$strict> | z.ZodObject<{
@@ -1618,6 +1725,22 @@ export declare const eventsDataSchema: z.ZodObject<{
1618
1725
  }, z.core.$strict> | z.ZodObject<{
1619
1726
  resultSha: z.ZodString;
1620
1727
  integrationSha: z.ZodString;
1728
+ }, z.core.$strict> | z.ZodObject<{
1729
+ by: z.ZodEnum<{
1730
+ operator: "operator";
1731
+ recovery: "recovery";
1732
+ host: "host";
1733
+ }>;
1734
+ reset: z.ZodBoolean;
1735
+ spent: z.ZodOptional<z.ZodNumber>;
1736
+ reasonLength: z.ZodOptional<z.ZodNumber>;
1737
+ }, z.core.$strict> | z.ZodObject<{
1738
+ by: z.ZodEnum<{
1739
+ operator: "operator";
1740
+ graph: "graph";
1741
+ host: "host";
1742
+ }>;
1743
+ hadAttempt: z.ZodBoolean;
1621
1744
  }, z.core.$strict> | z.ZodObject<{
1622
1745
  code: z.ZodString;
1623
1746
  message: z.ZodString;
@@ -1638,6 +1761,7 @@ export declare const eventsDataSchema: z.ZodObject<{
1638
1761
  timeout: "timeout";
1639
1762
  "provider-auth": "provider-auth";
1640
1763
  stalled: "stalled";
1764
+ "context-exhausted": "context-exhausted";
1641
1765
  "stale-base": "stale-base";
1642
1766
  "empty-result": "empty-result";
1643
1767
  unfinished: "unfinished";
@@ -1657,6 +1781,12 @@ export declare const eventsDataSchema: z.ZodObject<{
1657
1781
  }>;
1658
1782
  }, z.core.$strict> | z.ZodObject<{
1659
1783
  owner: z.ZodString;
1784
+ }, z.core.$strict> | z.ZodObject<{
1785
+ by: z.ZodEnum<{
1786
+ operator: "operator";
1787
+ controller: "controller";
1788
+ host: "host";
1789
+ }>;
1660
1790
  }, z.core.$strict> | z.ZodObject<{
1661
1791
  owner: z.ZodString;
1662
1792
  }, z.core.$strict> | z.ZodObject<{
@@ -1853,6 +1983,7 @@ export declare const runDataSchema: z.ZodObject<{
1853
1983
  BUDGET_EXHAUSTED: "BUDGET_EXHAUSTED";
1854
1984
  BUDGET_UNKNOWN: "BUDGET_UNKNOWN";
1855
1985
  ATTEMPTS_EXHAUSTED: "ATTEMPTS_EXHAUSTED";
1986
+ CONTEXT_EXHAUSTED: "CONTEXT_EXHAUSTED";
1856
1987
  REVISION_CONFLICT: "REVISION_CONFLICT";
1857
1988
  CANCELLED: "CANCELLED";
1858
1989
  NOT_FOUND: "NOT_FOUND";
@@ -1913,6 +2044,7 @@ export declare const controlDataSchema: z.ZodObject<{
1913
2044
  timeout: "timeout";
1914
2045
  "provider-auth": "provider-auth";
1915
2046
  stalled: "stalled";
2047
+ "context-exhausted": "context-exhausted";
1916
2048
  "stale-base": "stale-base";
1917
2049
  "empty-result": "empty-result";
1918
2050
  unfinished: "unfinished";
@@ -2627,6 +2759,7 @@ export declare const explainDataSchema: z.ZodObject<{
2627
2759
  BUDGET_EXHAUSTED: "BUDGET_EXHAUSTED";
2628
2760
  BUDGET_UNKNOWN: "BUDGET_UNKNOWN";
2629
2761
  ATTEMPTS_EXHAUSTED: "ATTEMPTS_EXHAUSTED";
2762
+ CONTEXT_EXHAUSTED: "CONTEXT_EXHAUSTED";
2630
2763
  REVISION_CONFLICT: "REVISION_CONFLICT";
2631
2764
  CANCELLED: "CANCELLED";
2632
2765
  NOT_FOUND: "NOT_FOUND";
@@ -2649,6 +2782,7 @@ export declare const explainDataSchema: z.ZodObject<{
2649
2782
  timeout: "timeout";
2650
2783
  "provider-auth": "provider-auth";
2651
2784
  stalled: "stalled";
2785
+ "context-exhausted": "context-exhausted";
2652
2786
  "stale-base": "stale-base";
2653
2787
  "empty-result": "empty-result";
2654
2788
  unfinished: "unfinished";
@@ -2868,6 +3002,7 @@ export declare const cliDataSchemas: {
2868
3002
  BUDGET_EXHAUSTED: "BUDGET_EXHAUSTED";
2869
3003
  BUDGET_UNKNOWN: "BUDGET_UNKNOWN";
2870
3004
  ATTEMPTS_EXHAUSTED: "ATTEMPTS_EXHAUSTED";
3005
+ CONTEXT_EXHAUSTED: "CONTEXT_EXHAUSTED";
2871
3006
  REVISION_CONFLICT: "REVISION_CONFLICT";
2872
3007
  CANCELLED: "CANCELLED";
2873
3008
  NOT_FOUND: "NOT_FOUND";
@@ -2929,6 +3064,7 @@ export declare const cliDataSchemas: {
2929
3064
  timeout: "timeout";
2930
3065
  "provider-auth": "provider-auth";
2931
3066
  stalled: "stalled";
3067
+ "context-exhausted": "context-exhausted";
2932
3068
  "stale-base": "stale-base";
2933
3069
  "empty-result": "empty-result";
2934
3070
  unfinished: "unfinished";
@@ -3023,6 +3159,7 @@ export declare const cliDataSchemas: {
3023
3159
  BUDGET_EXHAUSTED: "BUDGET_EXHAUSTED";
3024
3160
  BUDGET_UNKNOWN: "BUDGET_UNKNOWN";
3025
3161
  ATTEMPTS_EXHAUSTED: "ATTEMPTS_EXHAUSTED";
3162
+ CONTEXT_EXHAUSTED: "CONTEXT_EXHAUSTED";
3026
3163
  REVISION_CONFLICT: "REVISION_CONFLICT";
3027
3164
  CANCELLED: "CANCELLED";
3028
3165
  NOT_FOUND: "NOT_FOUND";
@@ -3099,6 +3236,7 @@ export declare const cliDataSchemas: {
3099
3236
  timeout: "timeout";
3100
3237
  "provider-auth": "provider-auth";
3101
3238
  stalled: "stalled";
3239
+ "context-exhausted": "context-exhausted";
3102
3240
  "stale-base": "stale-base";
3103
3241
  "empty-result": "empty-result";
3104
3242
  unfinished: "unfinished";
@@ -3132,6 +3270,7 @@ export declare const cliDataSchemas: {
3132
3270
  BUDGET_EXHAUSTED: "BUDGET_EXHAUSTED";
3133
3271
  BUDGET_UNKNOWN: "BUDGET_UNKNOWN";
3134
3272
  ATTEMPTS_EXHAUSTED: "ATTEMPTS_EXHAUSTED";
3273
+ CONTEXT_EXHAUSTED: "CONTEXT_EXHAUSTED";
3135
3274
  REVISION_CONFLICT: "REVISION_CONFLICT";
3136
3275
  CANCELLED: "CANCELLED";
3137
3276
  NOT_FOUND: "NOT_FOUND";
@@ -3154,6 +3293,7 @@ export declare const cliDataSchemas: {
3154
3293
  timeout: "timeout";
3155
3294
  "provider-auth": "provider-auth";
3156
3295
  stalled: "stalled";
3296
+ "context-exhausted": "context-exhausted";
3157
3297
  "stale-base": "stale-base";
3158
3298
  "empty-result": "empty-result";
3159
3299
  unfinished: "unfinished";
@@ -3267,7 +3407,7 @@ export declare const cliDataSchemas: {
3267
3407
  workId: z.ZodOptional<z.ZodString>;
3268
3408
  runId: z.ZodOptional<z.ZodString>;
3269
3409
  attempt: z.ZodOptional<z.ZodNumber>;
3270
- type: z.ZodLiteral<"graph.registered" | "graph.reviewed" | "graph.approved" | "work.ready" | "work.held" | "attempt.claimed" | "attempt.phase" | "attempt.gate" | "attempt.review" | "attempt.stage" | "attempt.liveness" | "attempt.failed" | "attempt.expired" | "attempt.cancelled" | "attempt.recovered" | "work.accepted" | "work.blocked" | "control.paused" | "control.resumed" | "controller.acquired" | "controller.released" | "budget.blocked" | "corpus.adopted" | "work.recovery" | "joint.started" | "joint.liveness" | "joint.finished" | "policy.applied" | "policy.reconfigure" | "delivery.pending" | "delivery.delivered" | "delivery.failed" | "delivery.conflict" | "delivery.uncertain">;
3410
+ type: z.ZodLiteral<"graph.registered" | "graph.reviewed" | "graph.approved" | "work.ready" | "work.held" | "attempt.claimed" | "attempt.phase" | "attempt.gate" | "attempt.review" | "attempt.stage" | "attempt.liveness" | "attempt.failed" | "attempt.diagnosed" | "attempt.expired" | "attempt.cancelled" | "attempt.recovered" | "work.accepted" | "work.retried" | "work.cancelled" | "work.blocked" | "control.paused" | "control.resumed" | "controller.acquired" | "base.moved" | "controller.released" | "budget.blocked" | "corpus.adopted" | "work.recovery" | "joint.started" | "joint.liveness" | "joint.finished" | "policy.applied" | "policy.reconfigure" | "delivery.pending" | "delivery.delivered" | "delivery.failed" | "delivery.conflict" | "delivery.uncertain">;
3271
3411
  payload: z.ZodObject<{
3272
3412
  digest: z.ZodString;
3273
3413
  orders: z.ZodNumber;
@@ -3418,6 +3558,7 @@ export declare const cliDataSchemas: {
3418
3558
  timeout: "timeout";
3419
3559
  "provider-auth": "provider-auth";
3420
3560
  stalled: "stalled";
3561
+ "context-exhausted": "context-exhausted";
3421
3562
  "stale-base": "stale-base";
3422
3563
  "empty-result": "empty-result";
3423
3564
  unfinished: "unfinished";
@@ -3429,6 +3570,43 @@ export declare const cliDataSchemas: {
3429
3570
  }>;
3430
3571
  message: z.ZodString;
3431
3572
  blocked: z.ZodBoolean;
3573
+ }, z.core.$strict> | z.ZodObject<{
3574
+ failureKind: z.ZodEnum<{
3575
+ gate: "gate";
3576
+ unknown: "unknown";
3577
+ review: "review";
3578
+ cancelled: "cancelled";
3579
+ environment: "environment";
3580
+ timeout: "timeout";
3581
+ "provider-auth": "provider-auth";
3582
+ stalled: "stalled";
3583
+ "context-exhausted": "context-exhausted";
3584
+ "stale-base": "stale-base";
3585
+ "empty-result": "empty-result";
3586
+ unfinished: "unfinished";
3587
+ "scope-violation": "scope-violation";
3588
+ "review-protocol": "review-protocol";
3589
+ merge: "merge";
3590
+ budget: "budget";
3591
+ "needs-lead": "needs-lead";
3592
+ }>;
3593
+ cause: z.ZodEnum<{
3594
+ preflight: "preflight";
3595
+ transport: "transport";
3596
+ none: "none";
3597
+ other: "other";
3598
+ "provider-auth": "provider-auth";
3599
+ stalled: "stalled";
3600
+ shutdown: "shutdown";
3601
+ "sandbox-launch": "sandbox-launch";
3602
+ "sandbox-network": "sandbox-network";
3603
+ "sandbox-filesystem": "sandbox-filesystem";
3604
+ "sandbox-policy": "sandbox-policy";
3605
+ "dependency-network": "dependency-network";
3606
+ "provider-limit": "provider-limit";
3607
+ "lease-expired": "lease-expired";
3608
+ }>;
3609
+ counted: z.ZodBoolean;
3432
3610
  }, z.core.$strict> | z.ZodObject<{
3433
3611
  leaseUntil: z.ZodNumber;
3434
3612
  }, z.core.$strict> | z.ZodObject<{
@@ -3440,6 +3618,22 @@ export declare const cliDataSchemas: {
3440
3618
  }, z.core.$strict> | z.ZodObject<{
3441
3619
  resultSha: z.ZodString;
3442
3620
  integrationSha: z.ZodString;
3621
+ }, z.core.$strict> | z.ZodObject<{
3622
+ by: z.ZodEnum<{
3623
+ operator: "operator";
3624
+ recovery: "recovery";
3625
+ host: "host";
3626
+ }>;
3627
+ reset: z.ZodBoolean;
3628
+ spent: z.ZodOptional<z.ZodNumber>;
3629
+ reasonLength: z.ZodOptional<z.ZodNumber>;
3630
+ }, z.core.$strict> | z.ZodObject<{
3631
+ by: z.ZodEnum<{
3632
+ operator: "operator";
3633
+ graph: "graph";
3634
+ host: "host";
3635
+ }>;
3636
+ hadAttempt: z.ZodBoolean;
3443
3637
  }, z.core.$strict> | z.ZodObject<{
3444
3638
  code: z.ZodString;
3445
3639
  message: z.ZodString;
@@ -3460,6 +3654,7 @@ export declare const cliDataSchemas: {
3460
3654
  timeout: "timeout";
3461
3655
  "provider-auth": "provider-auth";
3462
3656
  stalled: "stalled";
3657
+ "context-exhausted": "context-exhausted";
3463
3658
  "stale-base": "stale-base";
3464
3659
  "empty-result": "empty-result";
3465
3660
  unfinished: "unfinished";
@@ -3479,6 +3674,12 @@ export declare const cliDataSchemas: {
3479
3674
  }>;
3480
3675
  }, z.core.$strict> | z.ZodObject<{
3481
3676
  owner: z.ZodString;
3677
+ }, z.core.$strict> | z.ZodObject<{
3678
+ by: z.ZodEnum<{
3679
+ operator: "operator";
3680
+ controller: "controller";
3681
+ host: "host";
3682
+ }>;
3482
3683
  }, z.core.$strict> | z.ZodObject<{
3483
3684
  owner: z.ZodString;
3484
3685
  }, z.core.$strict> | z.ZodObject<{
@@ -3621,7 +3822,7 @@ export declare const cliDataSchemas: {
3621
3822
  workId: z.ZodOptional<z.ZodString>;
3622
3823
  runId: z.ZodOptional<z.ZodString>;
3623
3824
  attempt: z.ZodOptional<z.ZodNumber>;
3624
- type: z.ZodLiteral<"graph.registered" | "graph.reviewed" | "graph.approved" | "work.ready" | "work.held" | "attempt.claimed" | "attempt.phase" | "attempt.gate" | "attempt.review" | "attempt.stage" | "attempt.liveness" | "attempt.failed" | "attempt.expired" | "attempt.cancelled" | "attempt.recovered" | "work.accepted" | "work.blocked" | "control.paused" | "control.resumed" | "controller.acquired" | "controller.released" | "budget.blocked" | "corpus.adopted" | "work.recovery" | "joint.started" | "joint.liveness" | "joint.finished" | "policy.applied" | "policy.reconfigure" | "delivery.pending" | "delivery.delivered" | "delivery.failed" | "delivery.conflict" | "delivery.uncertain">;
3825
+ type: z.ZodLiteral<"graph.registered" | "graph.reviewed" | "graph.approved" | "work.ready" | "work.held" | "attempt.claimed" | "attempt.phase" | "attempt.gate" | "attempt.review" | "attempt.stage" | "attempt.liveness" | "attempt.failed" | "attempt.diagnosed" | "attempt.expired" | "attempt.cancelled" | "attempt.recovered" | "work.accepted" | "work.retried" | "work.cancelled" | "work.blocked" | "control.paused" | "control.resumed" | "controller.acquired" | "base.moved" | "controller.released" | "budget.blocked" | "corpus.adopted" | "work.recovery" | "joint.started" | "joint.liveness" | "joint.finished" | "policy.applied" | "policy.reconfigure" | "delivery.pending" | "delivery.delivered" | "delivery.failed" | "delivery.conflict" | "delivery.uncertain">;
3625
3826
  payload: z.ZodObject<{
3626
3827
  digest: z.ZodString;
3627
3828
  orders: z.ZodNumber;
@@ -3772,6 +3973,7 @@ export declare const cliDataSchemas: {
3772
3973
  timeout: "timeout";
3773
3974
  "provider-auth": "provider-auth";
3774
3975
  stalled: "stalled";
3976
+ "context-exhausted": "context-exhausted";
3775
3977
  "stale-base": "stale-base";
3776
3978
  "empty-result": "empty-result";
3777
3979
  unfinished: "unfinished";
@@ -3783,6 +3985,43 @@ export declare const cliDataSchemas: {
3783
3985
  }>;
3784
3986
  message: z.ZodString;
3785
3987
  blocked: z.ZodBoolean;
3988
+ }, z.core.$strict> | z.ZodObject<{
3989
+ failureKind: z.ZodEnum<{
3990
+ gate: "gate";
3991
+ unknown: "unknown";
3992
+ review: "review";
3993
+ cancelled: "cancelled";
3994
+ environment: "environment";
3995
+ timeout: "timeout";
3996
+ "provider-auth": "provider-auth";
3997
+ stalled: "stalled";
3998
+ "context-exhausted": "context-exhausted";
3999
+ "stale-base": "stale-base";
4000
+ "empty-result": "empty-result";
4001
+ unfinished: "unfinished";
4002
+ "scope-violation": "scope-violation";
4003
+ "review-protocol": "review-protocol";
4004
+ merge: "merge";
4005
+ budget: "budget";
4006
+ "needs-lead": "needs-lead";
4007
+ }>;
4008
+ cause: z.ZodEnum<{
4009
+ preflight: "preflight";
4010
+ transport: "transport";
4011
+ none: "none";
4012
+ other: "other";
4013
+ "provider-auth": "provider-auth";
4014
+ stalled: "stalled";
4015
+ shutdown: "shutdown";
4016
+ "sandbox-launch": "sandbox-launch";
4017
+ "sandbox-network": "sandbox-network";
4018
+ "sandbox-filesystem": "sandbox-filesystem";
4019
+ "sandbox-policy": "sandbox-policy";
4020
+ "dependency-network": "dependency-network";
4021
+ "provider-limit": "provider-limit";
4022
+ "lease-expired": "lease-expired";
4023
+ }>;
4024
+ counted: z.ZodBoolean;
3786
4025
  }, z.core.$strict> | z.ZodObject<{
3787
4026
  leaseUntil: z.ZodNumber;
3788
4027
  }, z.core.$strict> | z.ZodObject<{
@@ -3794,6 +4033,22 @@ export declare const cliDataSchemas: {
3794
4033
  }, z.core.$strict> | z.ZodObject<{
3795
4034
  resultSha: z.ZodString;
3796
4035
  integrationSha: z.ZodString;
4036
+ }, z.core.$strict> | z.ZodObject<{
4037
+ by: z.ZodEnum<{
4038
+ operator: "operator";
4039
+ recovery: "recovery";
4040
+ host: "host";
4041
+ }>;
4042
+ reset: z.ZodBoolean;
4043
+ spent: z.ZodOptional<z.ZodNumber>;
4044
+ reasonLength: z.ZodOptional<z.ZodNumber>;
4045
+ }, z.core.$strict> | z.ZodObject<{
4046
+ by: z.ZodEnum<{
4047
+ operator: "operator";
4048
+ graph: "graph";
4049
+ host: "host";
4050
+ }>;
4051
+ hadAttempt: z.ZodBoolean;
3797
4052
  }, z.core.$strict> | z.ZodObject<{
3798
4053
  code: z.ZodString;
3799
4054
  message: z.ZodString;
@@ -3814,6 +4069,7 @@ export declare const cliDataSchemas: {
3814
4069
  timeout: "timeout";
3815
4070
  "provider-auth": "provider-auth";
3816
4071
  stalled: "stalled";
4072
+ "context-exhausted": "context-exhausted";
3817
4073
  "stale-base": "stale-base";
3818
4074
  "empty-result": "empty-result";
3819
4075
  unfinished: "unfinished";
@@ -3833,6 +4089,12 @@ export declare const cliDataSchemas: {
3833
4089
  }>;
3834
4090
  }, z.core.$strict> | z.ZodObject<{
3835
4091
  owner: z.ZodString;
4092
+ }, z.core.$strict> | z.ZodObject<{
4093
+ by: z.ZodEnum<{
4094
+ operator: "operator";
4095
+ controller: "controller";
4096
+ host: "host";
4097
+ }>;
3836
4098
  }, z.core.$strict> | z.ZodObject<{
3837
4099
  owner: z.ZodString;
3838
4100
  }, z.core.$strict> | z.ZodObject<{
@@ -4001,6 +4263,7 @@ export declare const cliDataSchemas: {
4001
4263
  timeout: "timeout";
4002
4264
  "provider-auth": "provider-auth";
4003
4265
  stalled: "stalled";
4266
+ "context-exhausted": "context-exhausted";
4004
4267
  "stale-base": "stale-base";
4005
4268
  "empty-result": "empty-result";
4006
4269
  unfinished: "unfinished";
@@ -4057,6 +4320,7 @@ export declare const cliDataSchemas: {
4057
4320
  timeout: "timeout";
4058
4321
  "provider-auth": "provider-auth";
4059
4322
  stalled: "stalled";
4323
+ "context-exhausted": "context-exhausted";
4060
4324
  "stale-base": "stale-base";
4061
4325
  "empty-result": "empty-result";
4062
4326
  unfinished: "unfinished";
@@ -4341,6 +4605,7 @@ export declare const cliDataSchemas: {
4341
4605
  BUDGET_EXHAUSTED: "BUDGET_EXHAUSTED";
4342
4606
  BUDGET_UNKNOWN: "BUDGET_UNKNOWN";
4343
4607
  ATTEMPTS_EXHAUSTED: "ATTEMPTS_EXHAUSTED";
4608
+ CONTEXT_EXHAUSTED: "CONTEXT_EXHAUSTED";
4344
4609
  REVISION_CONFLICT: "REVISION_CONFLICT";
4345
4610
  CANCELLED: "CANCELLED";
4346
4611
  NOT_FOUND: "NOT_FOUND";
@@ -4763,6 +5028,7 @@ export declare const cliDataSchemas: {
4763
5028
  BUDGET_EXHAUSTED: "BUDGET_EXHAUSTED";
4764
5029
  BUDGET_UNKNOWN: "BUDGET_UNKNOWN";
4765
5030
  ATTEMPTS_EXHAUSTED: "ATTEMPTS_EXHAUSTED";
5031
+ CONTEXT_EXHAUSTED: "CONTEXT_EXHAUSTED";
4766
5032
  REVISION_CONFLICT: "REVISION_CONFLICT";
4767
5033
  CANCELLED: "CANCELLED";
4768
5034
  NOT_FOUND: "NOT_FOUND";
@@ -5414,6 +5680,7 @@ export declare const cliDataSchemas: {
5414
5680
  BUDGET_EXHAUSTED: "BUDGET_EXHAUSTED";
5415
5681
  BUDGET_UNKNOWN: "BUDGET_UNKNOWN";
5416
5682
  ATTEMPTS_EXHAUSTED: "ATTEMPTS_EXHAUSTED";
5683
+ CONTEXT_EXHAUSTED: "CONTEXT_EXHAUSTED";
5417
5684
  REVISION_CONFLICT: "REVISION_CONFLICT";
5418
5685
  CANCELLED: "CANCELLED";
5419
5686
  NOT_FOUND: "NOT_FOUND";
@@ -5436,6 +5703,7 @@ export declare const cliDataSchemas: {
5436
5703
  timeout: "timeout";
5437
5704
  "provider-auth": "provider-auth";
5438
5705
  stalled: "stalled";
5706
+ "context-exhausted": "context-exhausted";
5439
5707
  "stale-base": "stale-base";
5440
5708
  "empty-result": "empty-result";
5441
5709
  unfinished: "unfinished";
@@ -5690,6 +5958,36 @@ export declare const cliDataSchemas: {
5690
5958
  retries: z.ZodNullable<z.ZodNumber>;
5691
5959
  resets: z.ZodNullable<z.ZodNumber>;
5692
5960
  baseMoves: z.ZodNullable<z.ZodNumber>;
5961
+ recorded: z.ZodNullable<z.ZodObject<{
5962
+ from: z.ZodISODateTime;
5963
+ bound: z.ZodEnum<{
5964
+ exact: "exact";
5965
+ lower: "lower";
5966
+ }>;
5967
+ retries: z.ZodObject<{
5968
+ operator: z.ZodNumber;
5969
+ recovery: z.ZodNumber;
5970
+ host: z.ZodNumber;
5971
+ }, z.core.$strict>;
5972
+ resets: z.ZodObject<{
5973
+ operator: z.ZodNumber;
5974
+ recovery: z.ZodNumber;
5975
+ host: z.ZodNumber;
5976
+ }, z.core.$strict>;
5977
+ cancellations: z.ZodObject<{
5978
+ operator: z.ZodNumber;
5979
+ graph: z.ZodNumber;
5980
+ host: z.ZodNumber;
5981
+ }, z.core.$strict>;
5982
+ cancelledWithoutAttempt: z.ZodNumber;
5983
+ baseMoves: z.ZodObject<{
5984
+ operator: z.ZodNumber;
5985
+ controller: z.ZodNumber;
5986
+ host: z.ZodNumber;
5987
+ }, z.core.$strict>;
5988
+ baseMovesBound: z.ZodLiteral<"lower">;
5989
+ gaps: z.ZodNumber;
5990
+ }, z.core.$strict>>;
5693
5991
  }, z.core.$strict>;
5694
5992
  approvals: z.ZodObject<{
5695
5993
  operator: z.ZodNumber;
@@ -5721,6 +6019,7 @@ export declare const cliDataSchemas: {
5721
6019
  timeout: "timeout";
5722
6020
  "provider-auth": "provider-auth";
5723
6021
  stalled: "stalled";
6022
+ "context-exhausted": "context-exhausted";
5724
6023
  "stale-base": "stale-base";
5725
6024
  "empty-result": "empty-result";
5726
6025
  unfinished: "unfinished";
@@ -5928,7 +6227,34 @@ export declare const cliDataSchemas: {
5928
6227
  }, z.core.$strict>;
5929
6228
  setupCheckFailures: z.ZodNumber;
5930
6229
  timeLimit: z.ZodNumber;
5931
- causes: z.ZodNull;
6230
+ causes: z.ZodNullable<z.ZodObject<{
6231
+ rows: z.ZodArray<z.ZodObject<{
6232
+ cause: z.ZodEnum<{
6233
+ preflight: "preflight";
6234
+ transport: "transport";
6235
+ none: "none";
6236
+ other: "other";
6237
+ "provider-auth": "provider-auth";
6238
+ stalled: "stalled";
6239
+ shutdown: "shutdown";
6240
+ "sandbox-launch": "sandbox-launch";
6241
+ "sandbox-network": "sandbox-network";
6242
+ "sandbox-filesystem": "sandbox-filesystem";
6243
+ "sandbox-policy": "sandbox-policy";
6244
+ "dependency-network": "dependency-network";
6245
+ "provider-limit": "provider-limit";
6246
+ "lease-expired": "lease-expired";
6247
+ }>;
6248
+ count: z.ZodNumber;
6249
+ counted: z.ZodNumber;
6250
+ }, z.core.$strict>>;
6251
+ diagnosed: z.ZodNumber;
6252
+ undiagnosed: z.ZodNumber;
6253
+ bound: z.ZodEnum<{
6254
+ exact: "exact";
6255
+ lower: "lower";
6256
+ }>;
6257
+ }, z.core.$strict>>;
5932
6258
  neutral: z.ZodObject<{
5933
6259
  costBound: z.ZodEnum<{
5934
6260
  exact: "exact";
@@ -6085,6 +6411,7 @@ export declare const cliDataSchemas: {
6085
6411
  timeout: "timeout";
6086
6412
  "provider-auth": "provider-auth";
6087
6413
  stalled: "stalled";
6414
+ "context-exhausted": "context-exhausted";
6088
6415
  "stale-base": "stale-base";
6089
6416
  "empty-result": "empty-result";
6090
6417
  unfinished: "unfinished";
@@ -6119,6 +6446,7 @@ export declare const cliDataSchemas: {
6119
6446
  BUDGET_EXHAUSTED: "BUDGET_EXHAUSTED";
6120
6447
  BUDGET_UNKNOWN: "BUDGET_UNKNOWN";
6121
6448
  ATTEMPTS_EXHAUSTED: "ATTEMPTS_EXHAUSTED";
6449
+ CONTEXT_EXHAUSTED: "CONTEXT_EXHAUSTED";
6122
6450
  REVISION_CONFLICT: "REVISION_CONFLICT";
6123
6451
  CANCELLED: "CANCELLED";
6124
6452
  NOT_FOUND: "NOT_FOUND";
@@ -6239,6 +6567,7 @@ export declare const cliDataSchemas: {
6239
6567
  timeout: "timeout";
6240
6568
  "provider-auth": "provider-auth";
6241
6569
  stalled: "stalled";
6570
+ "context-exhausted": "context-exhausted";
6242
6571
  "stale-base": "stale-base";
6243
6572
  "empty-result": "empty-result";
6244
6573
  unfinished: "unfinished";
@@ -6284,6 +6613,7 @@ export declare const cliDataSchemas: {
6284
6613
  BUDGET_EXHAUSTED: "BUDGET_EXHAUSTED";
6285
6614
  BUDGET_UNKNOWN: "BUDGET_UNKNOWN";
6286
6615
  ATTEMPTS_EXHAUSTED: "ATTEMPTS_EXHAUSTED";
6616
+ CONTEXT_EXHAUSTED: "CONTEXT_EXHAUSTED";
6287
6617
  REVISION_CONFLICT: "REVISION_CONFLICT";
6288
6618
  CANCELLED: "CANCELLED";
6289
6619
  NOT_FOUND: "NOT_FOUND";
@@ -6372,6 +6702,7 @@ export declare const cliDataSchemas: {
6372
6702
  BUDGET_EXHAUSTED: "BUDGET_EXHAUSTED";
6373
6703
  BUDGET_UNKNOWN: "BUDGET_UNKNOWN";
6374
6704
  ATTEMPTS_EXHAUSTED: "ATTEMPTS_EXHAUSTED";
6705
+ CONTEXT_EXHAUSTED: "CONTEXT_EXHAUSTED";
6375
6706
  REVISION_CONFLICT: "REVISION_CONFLICT";
6376
6707
  CANCELLED: "CANCELLED";
6377
6708
  NOT_FOUND: "NOT_FOUND";
@@ -6394,6 +6725,7 @@ export declare const cliDataSchemas: {
6394
6725
  timeout: "timeout";
6395
6726
  "provider-auth": "provider-auth";
6396
6727
  stalled: "stalled";
6728
+ "context-exhausted": "context-exhausted";
6397
6729
  "stale-base": "stale-base";
6398
6730
  "empty-result": "empty-result";
6399
6731
  unfinished: "unfinished";
@@ -6495,6 +6827,7 @@ export declare const cliDataSchemas: {
6495
6827
  timeout: "timeout";
6496
6828
  "provider-auth": "provider-auth";
6497
6829
  stalled: "stalled";
6830
+ "context-exhausted": "context-exhausted";
6498
6831
  "stale-base": "stale-base";
6499
6832
  "empty-result": "empty-result";
6500
6833
  unfinished: "unfinished";
@@ -6528,6 +6861,7 @@ export declare const cliDataSchemas: {
6528
6861
  BUDGET_EXHAUSTED: "BUDGET_EXHAUSTED";
6529
6862
  BUDGET_UNKNOWN: "BUDGET_UNKNOWN";
6530
6863
  ATTEMPTS_EXHAUSTED: "ATTEMPTS_EXHAUSTED";
6864
+ CONTEXT_EXHAUSTED: "CONTEXT_EXHAUSTED";
6531
6865
  REVISION_CONFLICT: "REVISION_CONFLICT";
6532
6866
  CANCELLED: "CANCELLED";
6533
6867
  NOT_FOUND: "NOT_FOUND";
@@ -6651,6 +6985,7 @@ export declare const cliDataSchemas: {
6651
6985
  BUDGET_EXHAUSTED: "BUDGET_EXHAUSTED";
6652
6986
  BUDGET_UNKNOWN: "BUDGET_UNKNOWN";
6653
6987
  ATTEMPTS_EXHAUSTED: "ATTEMPTS_EXHAUSTED";
6988
+ CONTEXT_EXHAUSTED: "CONTEXT_EXHAUSTED";
6654
6989
  REVISION_CONFLICT: "REVISION_CONFLICT";
6655
6990
  CANCELLED: "CANCELLED";
6656
6991
  NOT_FOUND: "NOT_FOUND";
@@ -6673,6 +7008,7 @@ export declare const cliDataSchemas: {
6673
7008
  unfinished: z.ZodNumber;
6674
7009
  budgets: z.ZodNumber;
6675
7010
  budgetsWithin: z.ZodNumber;
7011
+ budgetsShared: z.ZodDefault<z.ZodNumber>;
6676
7012
  repairs: z.ZodNumber;
6677
7013
  intentions: z.ZodNumber;
6678
7014
  intentionsDropped: z.ZodNumber;
@@ -6753,6 +7089,7 @@ export declare const cliDataSchemas: {
6753
7089
  BUDGET_EXHAUSTED: "BUDGET_EXHAUSTED";
6754
7090
  BUDGET_UNKNOWN: "BUDGET_UNKNOWN";
6755
7091
  ATTEMPTS_EXHAUSTED: "ATTEMPTS_EXHAUSTED";
7092
+ CONTEXT_EXHAUSTED: "CONTEXT_EXHAUSTED";
6756
7093
  REVISION_CONFLICT: "REVISION_CONFLICT";
6757
7094
  CANCELLED: "CANCELLED";
6758
7095
  NOT_FOUND: "NOT_FOUND";
@@ -7086,6 +7423,7 @@ export declare const cliErrorSchema: z.ZodObject<{
7086
7423
  BUDGET_EXHAUSTED: "BUDGET_EXHAUSTED";
7087
7424
  BUDGET_UNKNOWN: "BUDGET_UNKNOWN";
7088
7425
  ATTEMPTS_EXHAUSTED: "ATTEMPTS_EXHAUSTED";
7426
+ CONTEXT_EXHAUSTED: "CONTEXT_EXHAUSTED";
7089
7427
  REVISION_CONFLICT: "REVISION_CONFLICT";
7090
7428
  CANCELLED: "CANCELLED";
7091
7429
  NOT_FOUND: "NOT_FOUND";