@claudexor/schema 3.20.1 → 3.22.0

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 (105) hide show
  1. package/dist/agent-capabilities.d.ts +1 -1
  2. package/dist/agent-capabilities.d.ts.map +1 -1
  3. package/dist/agent-capabilities.js +1 -0
  4. package/dist/agent-capabilities.js.map +1 -1
  5. package/dist/continuation-admission.d.ts +41 -0
  6. package/dist/continuation-admission.d.ts.map +1 -0
  7. package/dist/continuation-admission.js +136 -0
  8. package/dist/continuation-admission.js.map +1 -0
  9. package/dist/control-operation-responses.d.ts +352 -0
  10. package/dist/control-operation-responses.d.ts.map +1 -1
  11. package/dist/control-operation-responses.js +2 -0
  12. package/dist/control-operation-responses.js.map +1 -1
  13. package/dist/control-run-detail.d.ts +716 -0
  14. package/dist/control-run-detail.d.ts.map +1 -1
  15. package/dist/control.d.ts +315 -6
  16. package/dist/control.d.ts.map +1 -1
  17. package/dist/control.js +21 -3
  18. package/dist/control.js.map +1 -1
  19. package/dist/credential-profile-snapshot.d.ts +144 -0
  20. package/dist/credential-profile-snapshot.d.ts.map +1 -1
  21. package/dist/credential-profile.d.ts +1 -1
  22. package/dist/credential-profile.js +1 -1
  23. package/dist/decision.d.ts +12 -0
  24. package/dist/decision.d.ts.map +1 -1
  25. package/dist/effort.d.ts +33 -12
  26. package/dist/effort.d.ts.map +1 -1
  27. package/dist/effort.js +43 -13
  28. package/dist/effort.js.map +1 -1
  29. package/dist/events.d.ts +4 -4
  30. package/dist/events.d.ts.map +1 -1
  31. package/dist/events.js +11 -0
  32. package/dist/events.js.map +1 -1
  33. package/dist/harness.d.ts +16 -9
  34. package/dist/harness.d.ts.map +1 -1
  35. package/dist/harness.js +3 -3
  36. package/dist/index.d.ts +3 -0
  37. package/dist/index.d.ts.map +1 -1
  38. package/dist/index.js +3 -0
  39. package/dist/index.js.map +1 -1
  40. package/dist/mcp-run-result.d.ts +155 -0
  41. package/dist/mcp-run-result.d.ts.map +1 -1
  42. package/dist/mcp-run-result.js +38 -0
  43. package/dist/mcp-run-result.js.map +1 -1
  44. package/dist/quota.d.ts +252 -0
  45. package/dist/quota.d.ts.map +1 -1
  46. package/dist/quota.js +42 -17
  47. package/dist/quota.js.map +1 -1
  48. package/dist/raw.d.ts +1 -1
  49. package/dist/raw.d.ts.map +1 -1
  50. package/dist/raw.js +0 -1
  51. package/dist/raw.js.map +1 -1
  52. package/dist/run-continuation.d.ts +166 -0
  53. package/dist/run-continuation.d.ts.map +1 -0
  54. package/dist/run-continuation.js +65 -0
  55. package/dist/run-continuation.js.map +1 -0
  56. package/dist/run-continuity.d.ts +215 -0
  57. package/dist/run-continuity.d.ts.map +1 -0
  58. package/dist/run-continuity.js +170 -0
  59. package/dist/run-continuity.js.map +1 -0
  60. package/dist/run-facts.d.ts +7 -0
  61. package/dist/run-facts.d.ts.map +1 -1
  62. package/dist/status-projection.d.ts +8 -1
  63. package/dist/status-projection.d.ts.map +1 -1
  64. package/dist/status-projection.js +22 -1
  65. package/dist/status-projection.js.map +1 -1
  66. package/dist/telemetry.d.ts +33 -3
  67. package/dist/telemetry.d.ts.map +1 -1
  68. package/dist/telemetry.js +3 -3
  69. package/dist/telemetry.js.map +1 -1
  70. package/dist/work-report.d.ts +18 -4
  71. package/dist/work-report.d.ts.map +1 -1
  72. package/dist/work-report.js +26 -5
  73. package/dist/work-report.js.map +1 -1
  74. package/generated/AgentCapabilityCatalog.schema.json +1 -1
  75. package/generated/ControlCredentialProfilesQueryResponse.schema.json +21 -6
  76. package/generated/ControlCredentialProfilesSnapshotResponse.schema.json +21 -6
  77. package/generated/ControlHarnessListResponse.schema.json +1 -1
  78. package/generated/ControlHarnessSettingsPatch.schema.json +1 -1
  79. package/generated/ControlQuotaResponse.schema.json +20 -5
  80. package/generated/ControlRetainedEnvelope.schema.json +63 -0
  81. package/generated/ControlRunAgainDraft.schema.json +16 -0
  82. package/generated/ControlRunDetail.schema.json +398 -1
  83. package/generated/ControlRunListResponse.schema.json +398 -1
  84. package/generated/ControlRunStartRequest.schema.json +16 -0
  85. package/generated/ControlRunSummary.schema.json +398 -1
  86. package/generated/ControlSettingsSnapshot.schema.json +1 -1
  87. package/generated/ControlSettingsUpdateRequest.schema.json +1 -1
  88. package/generated/ControlThreadDetail.schema.json +14 -1
  89. package/generated/ControlThreadTurnRequest.schema.json +4 -0
  90. package/generated/DecisionRecord.schema.json +14 -1
  91. package/generated/EnvelopeCustody.schema.json +195 -0
  92. package/generated/GlobalConfig.schema.json +1 -1
  93. package/generated/HarnessEvent.schema.json +7 -2
  94. package/generated/HarnessManifest.schema.json +1 -1
  95. package/generated/HarnessStatusDto.schema.json +1 -1
  96. package/generated/McpRunHandleResult.schema.json +109 -1
  97. package/generated/McpRunToolResult.schema.json +14 -1
  98. package/generated/RunContinuityReceipt.schema.json +182 -0
  99. package/generated/RunEvent.schema.json +3 -1
  100. package/generated/RunFacts.schema.json +14 -1
  101. package/generated/RunResumable.schema.json +153 -0
  102. package/generated/RunTelemetry.schema.json +14 -1
  103. package/generated/SessionCapsule.schema.json +78 -0
  104. package/generated/TaskContract.schema.json +1 -1
  105. package/package.json +2 -2
package/dist/control.d.ts CHANGED
@@ -119,9 +119,6 @@ export declare const ControlRunStartRequest: z.ZodObject<{
119
119
  * startup-frozen Council cap. Legal only on mode=plan (and `n` on a plan
120
120
  * run is legal ONLY with council). */
121
121
  council: z.ZodOptional<z.ZodBoolean>;
122
- /** Best-of-N synthesis policy. `auto` (default) only synthesizes a 3rd
123
- * candidate when n>=3 and candidates genuinely complement; `always`/`never`
124
- * force it. Threaded to the orchestrator's decideSynthesis. */
125
122
  synthesis: z.ZodOptional<z.ZodEnum<["auto", "always", "never"]>>;
126
123
  paidBudget: z.ZodOptional<z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
127
124
  kind: z.ZodLiteral<"unlimited">;
@@ -183,6 +180,9 @@ export declare const ControlRunStartRequest: z.ZodObject<{
183
180
  parentRunId: z.ZodOptional<z.ZodString>;
184
181
  delegatedFromRunId: z.ZodOptional<z.ZodString>;
185
182
  retryOf: z.ZodOptional<z.ZodString>;
183
+ continueFrom: z.ZodOptional<z.ZodString>;
184
+ continueCarrier: z.ZodOptional<z.ZodEnum<["auto", "packet"]>>;
185
+ continueModelInherited: z.ZodOptional<z.ZodBoolean>;
186
186
  /** When set, this turn implements an approved plan (mode is forced to
187
187
  * agent); the plan is DELIVERED AS A FILE (planRef), never re-embedded
188
188
  * into the prompt text. */
@@ -334,6 +334,9 @@ export declare const ControlRunStartRequest: z.ZodObject<{
334
334
  parentRunId?: string | undefined;
335
335
  delegatedFromRunId?: string | undefined;
336
336
  retryOf?: string | undefined;
337
+ continueFrom?: string | undefined;
338
+ continueCarrier?: "auto" | "packet" | undefined;
339
+ continueModelInherited?: boolean | undefined;
337
340
  planRunId?: string | undefined;
338
341
  planRef?: {
339
342
  runId: string;
@@ -419,6 +422,9 @@ export declare const ControlRunStartRequest: z.ZodObject<{
419
422
  parentRunId?: string | undefined;
420
423
  delegatedFromRunId?: string | undefined;
421
424
  retryOf?: string | undefined;
425
+ continueFrom?: string | undefined;
426
+ continueCarrier?: "auto" | "packet" | undefined;
427
+ continueModelInherited?: boolean | undefined;
422
428
  planRunId?: string | undefined;
423
429
  planRef?: {
424
430
  runId: string;
@@ -563,6 +569,9 @@ export declare const RecordedControlRunStartRequest: z.ZodObject<{
563
569
  parentRunId: z.ZodOptional<z.ZodString>;
564
570
  delegatedFromRunId: z.ZodOptional<z.ZodString>;
565
571
  retryOf: z.ZodOptional<z.ZodString>;
572
+ continueFrom: z.ZodOptional<z.ZodString>;
573
+ continueCarrier: z.ZodOptional<z.ZodEnum<["auto", "packet"]>>;
574
+ continueModelInherited: z.ZodOptional<z.ZodBoolean>;
566
575
  planRunId: z.ZodOptional<z.ZodString>;
567
576
  planRef: z.ZodOptional<z.ZodObject<{
568
577
  runId: z.ZodString;
@@ -673,6 +682,9 @@ export declare const RecordedControlRunStartRequest: z.ZodObject<{
673
682
  parentRunId?: string | undefined;
674
683
  delegatedFromRunId?: string | undefined;
675
684
  retryOf?: string | undefined;
685
+ continueFrom?: string | undefined;
686
+ continueCarrier?: "auto" | "packet" | undefined;
687
+ continueModelInherited?: boolean | undefined;
676
688
  planRunId?: string | undefined;
677
689
  planRef?: {
678
690
  runId: string;
@@ -758,6 +770,9 @@ export declare const RecordedControlRunStartRequest: z.ZodObject<{
758
770
  parentRunId?: string | undefined;
759
771
  delegatedFromRunId?: string | undefined;
760
772
  retryOf?: string | undefined;
773
+ continueFrom?: string | undefined;
774
+ continueCarrier?: "auto" | "packet" | undefined;
775
+ continueModelInherited?: boolean | undefined;
761
776
  planRunId?: string | undefined;
762
777
  planRef?: {
763
778
  runId: string;
@@ -912,9 +927,6 @@ export declare const ControlRunAgainDraft: z.ZodObject<{
912
927
  * startup-frozen Council cap. Legal only on mode=plan (and `n` on a plan
913
928
  * run is legal ONLY with council). */
914
929
  council: z.ZodOptional<z.ZodBoolean>;
915
- /** Best-of-N synthesis policy. `auto` (default) only synthesizes a 3rd
916
- * candidate when n>=3 and candidates genuinely complement; `always`/`never`
917
- * force it. Threaded to the orchestrator's decideSynthesis. */
918
930
  synthesis: z.ZodOptional<z.ZodEnum<["auto", "always", "never"]>>;
919
931
  paidBudget: z.ZodOptional<z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
920
932
  kind: z.ZodLiteral<"unlimited">;
@@ -976,6 +988,9 @@ export declare const ControlRunAgainDraft: z.ZodObject<{
976
988
  parentRunId: z.ZodOptional<z.ZodString>;
977
989
  delegatedFromRunId: z.ZodOptional<z.ZodString>;
978
990
  retryOf: z.ZodOptional<z.ZodString>;
991
+ continueFrom: z.ZodOptional<z.ZodString>;
992
+ continueCarrier: z.ZodOptional<z.ZodEnum<["auto", "packet"]>>;
993
+ continueModelInherited: z.ZodOptional<z.ZodBoolean>;
979
994
  /** When set, this turn implements an approved plan (mode is forced to
980
995
  * agent); the plan is DELIVERED AS A FILE (planRef), never re-embedded
981
996
  * into the prompt text. */
@@ -1127,6 +1142,9 @@ export declare const ControlRunAgainDraft: z.ZodObject<{
1127
1142
  parentRunId?: string | undefined;
1128
1143
  delegatedFromRunId?: string | undefined;
1129
1144
  retryOf?: string | undefined;
1145
+ continueFrom?: string | undefined;
1146
+ continueCarrier?: "auto" | "packet" | undefined;
1147
+ continueModelInherited?: boolean | undefined;
1130
1148
  planRunId?: string | undefined;
1131
1149
  planRef?: {
1132
1150
  runId: string;
@@ -1212,6 +1230,9 @@ export declare const ControlRunAgainDraft: z.ZodObject<{
1212
1230
  parentRunId?: string | undefined;
1213
1231
  delegatedFromRunId?: string | undefined;
1214
1232
  retryOf?: string | undefined;
1233
+ continueFrom?: string | undefined;
1234
+ continueCarrier?: "auto" | "packet" | undefined;
1235
+ continueModelInherited?: boolean | undefined;
1215
1236
  planRunId?: string | undefined;
1216
1237
  planRef?: {
1217
1238
  runId: string;
@@ -1320,6 +1341,9 @@ export declare const ControlRunAgainDraft: z.ZodObject<{
1320
1341
  parentRunId?: string | undefined;
1321
1342
  delegatedFromRunId?: string | undefined;
1322
1343
  retryOf?: string | undefined;
1344
+ continueFrom?: string | undefined;
1345
+ continueCarrier?: "auto" | "packet" | undefined;
1346
+ continueModelInherited?: boolean | undefined;
1323
1347
  planRunId?: string | undefined;
1324
1348
  planRef?: {
1325
1349
  runId: string;
@@ -1416,6 +1440,9 @@ export declare const ControlRunAgainDraft: z.ZodObject<{
1416
1440
  parentRunId?: string | undefined;
1417
1441
  delegatedFromRunId?: string | undefined;
1418
1442
  retryOf?: string | undefined;
1443
+ continueFrom?: string | undefined;
1444
+ continueCarrier?: "auto" | "packet" | undefined;
1445
+ continueModelInherited?: boolean | undefined;
1419
1446
  planRunId?: string | undefined;
1420
1447
  planRef?: {
1421
1448
  runId: string;
@@ -1676,6 +1703,162 @@ export declare const ControlRunSummary: z.ZodObject<{
1676
1703
  reason?: "access_profile_incompatible" | "injected_unused" | "manifest_unsupported" | "not_requested" | "partially_degraded" | "pending" | "runtime_unavailable" | "startup_failed" | "used" | undefined;
1677
1704
  remediation?: string | null | undefined;
1678
1705
  }>>>;
1706
+ continueFrom: z.ZodDefault<z.ZodNullable<z.ZodString>>;
1707
+ resumable: z.ZodDefault<z.ZodNullable<z.ZodObject<{
1708
+ cause: z.ZodEnum<["vendor_limit", "pool_exhausted", "pinned_limit", "transport", "context_exhausted", "wall_clock", "cancelled", "host_restart", "input_required", "other"]>;
1709
+ resetsAt: z.ZodNullable<z.ZodString>;
1710
+ limitWindow: z.ZodNullable<z.ZodString>;
1711
+ limitEvidence: z.ZodNullable<z.ZodEnum<["window", "unspecified"]>>;
1712
+ carriers: z.ZodArray<z.ZodEnum<["native", "native_moved", "packet"]>, "many">;
1713
+ limitCode: z.ZodNullable<z.ZodString>;
1714
+ session: z.ZodNullable<z.ZodObject<{
1715
+ harness: z.ZodString;
1716
+ nativeSessionId: z.ZodString;
1717
+ holderProfileId: z.ZodNullable<z.ZodString>;
1718
+ }, "strip", z.ZodTypeAny, {
1719
+ harness: string;
1720
+ nativeSessionId: string;
1721
+ holderProfileId: string | null;
1722
+ }, {
1723
+ harness: string;
1724
+ nativeSessionId: string;
1725
+ holderProfileId: string | null;
1726
+ }>>;
1727
+ workspace: z.ZodObject<{
1728
+ kind: z.ZodEnum<["in_place", "retained_envelope", "none"]>;
1729
+ root: z.ZodNullable<z.ZodString>;
1730
+ }, "strip", z.ZodTypeAny, {
1731
+ kind: "in_place" | "none" | "retained_envelope";
1732
+ root: string | null;
1733
+ }, {
1734
+ kind: "in_place" | "none" | "retained_envelope";
1735
+ root: string | null;
1736
+ }>;
1737
+ }, "strict", z.ZodTypeAny, {
1738
+ cause: "cancelled" | "context_exhausted" | "host_restart" | "input_required" | "other" | "pinned_limit" | "pool_exhausted" | "transport" | "vendor_limit" | "wall_clock";
1739
+ resetsAt: string | null;
1740
+ limitWindow: string | null;
1741
+ limitEvidence: "unspecified" | "window" | null;
1742
+ carriers: ("native" | "native_moved" | "packet")[];
1743
+ limitCode: string | null;
1744
+ session: {
1745
+ harness: string;
1746
+ nativeSessionId: string;
1747
+ holderProfileId: string | null;
1748
+ } | null;
1749
+ workspace: {
1750
+ kind: "in_place" | "none" | "retained_envelope";
1751
+ root: string | null;
1752
+ };
1753
+ }, {
1754
+ cause: "cancelled" | "context_exhausted" | "host_restart" | "input_required" | "other" | "pinned_limit" | "pool_exhausted" | "transport" | "vendor_limit" | "wall_clock";
1755
+ resetsAt: string | null;
1756
+ limitWindow: string | null;
1757
+ limitEvidence: "unspecified" | "window" | null;
1758
+ carriers: ("native" | "native_moved" | "packet")[];
1759
+ limitCode: string | null;
1760
+ session: {
1761
+ harness: string;
1762
+ nativeSessionId: string;
1763
+ holderProfileId: string | null;
1764
+ } | null;
1765
+ workspace: {
1766
+ kind: "in_place" | "none" | "retained_envelope";
1767
+ root: string | null;
1768
+ };
1769
+ }>>>;
1770
+ continuity: z.ZodOptional<z.ZodArray<z.ZodObject<{
1771
+ tryIndex: z.ZodNumber;
1772
+ attemptId: z.ZodString;
1773
+ carrier: z.ZodEnum<["native", "native_moved", "packet", "fresh"]>;
1774
+ cause: z.ZodEnum<["vendor_limit", "pool_exhausted", "pinned_limit", "transport", "context_exhausted", "wall_clock", "cancelled", "host_restart", "input_required", "other"]>;
1775
+ from: z.ZodObject<{
1776
+ runId: z.ZodString;
1777
+ attemptId: z.ZodString;
1778
+ profileId: z.ZodNullable<z.ZodString>;
1779
+ }, "strip", z.ZodTypeAny, {
1780
+ runId: string;
1781
+ attemptId: string;
1782
+ profileId: string | null;
1783
+ }, {
1784
+ runId: string;
1785
+ attemptId: string;
1786
+ profileId: string | null;
1787
+ }>;
1788
+ to: z.ZodObject<{
1789
+ profileId: z.ZodNullable<z.ZodString>;
1790
+ }, "strip", z.ZodTypeAny, {
1791
+ profileId: string | null;
1792
+ }, {
1793
+ profileId: string | null;
1794
+ }>;
1795
+ workspace: z.ZodEnum<["same_root", "different_root"]>;
1796
+ memory: z.ZodEnum<["full", "partial", "unknown"]>;
1797
+ instructions: z.ZodEnum<["as_sent", "vendor_snapshot"]>;
1798
+ reingestedTokens: z.ZodNullable<z.ZodNumber>;
1799
+ observedModel: z.ZodNullable<z.ZodString>;
1800
+ modelMismatch: z.ZodNullable<z.ZodBoolean>;
1801
+ identityCheck: z.ZodEnum<["matched_before_effects", "mismatch_before_effects", "mismatch_after_possible_effects", "not_applicable"]>;
1802
+ inputDelivery: z.ZodEnum<["confirmed", "uncertain", "not_applicable"]>;
1803
+ }, "strict", z.ZodTypeAny, {
1804
+ tryIndex: number;
1805
+ attemptId: string;
1806
+ carrier: "fresh" | "native" | "native_moved" | "packet";
1807
+ cause: "cancelled" | "context_exhausted" | "host_restart" | "input_required" | "other" | "pinned_limit" | "pool_exhausted" | "transport" | "vendor_limit" | "wall_clock";
1808
+ from: {
1809
+ runId: string;
1810
+ attemptId: string;
1811
+ profileId: string | null;
1812
+ };
1813
+ to: {
1814
+ profileId: string | null;
1815
+ };
1816
+ workspace: "different_root" | "same_root";
1817
+ memory: "full" | "partial" | "unknown";
1818
+ instructions: "as_sent" | "vendor_snapshot";
1819
+ reingestedTokens: number | null;
1820
+ observedModel: string | null;
1821
+ modelMismatch: boolean | null;
1822
+ identityCheck: "matched_before_effects" | "mismatch_after_possible_effects" | "mismatch_before_effects" | "not_applicable";
1823
+ inputDelivery: "confirmed" | "not_applicable" | "uncertain";
1824
+ }, {
1825
+ tryIndex: number;
1826
+ attemptId: string;
1827
+ carrier: "fresh" | "native" | "native_moved" | "packet";
1828
+ cause: "cancelled" | "context_exhausted" | "host_restart" | "input_required" | "other" | "pinned_limit" | "pool_exhausted" | "transport" | "vendor_limit" | "wall_clock";
1829
+ from: {
1830
+ runId: string;
1831
+ attemptId: string;
1832
+ profileId: string | null;
1833
+ };
1834
+ to: {
1835
+ profileId: string | null;
1836
+ };
1837
+ workspace: "different_root" | "same_root";
1838
+ memory: "full" | "partial" | "unknown";
1839
+ instructions: "as_sent" | "vendor_snapshot";
1840
+ reingestedTokens: number | null;
1841
+ observedModel: string | null;
1842
+ modelMismatch: boolean | null;
1843
+ identityCheck: "matched_before_effects" | "mismatch_after_possible_effects" | "mismatch_before_effects" | "not_applicable";
1844
+ inputDelivery: "confirmed" | "not_applicable" | "uncertain";
1845
+ }>, "many">>;
1846
+ retainedEnvelope: z.ZodDefault<z.ZodNullable<z.ZodObject<{
1847
+ root: z.ZodString;
1848
+ bytes: z.ZodNullable<z.ZodNumber>;
1849
+ retainedAt: z.ZodString;
1850
+ cause: z.ZodNullable<z.ZodEnum<["vendor_limit", "pool_exhausted", "pinned_limit", "transport", "context_exhausted", "wall_clock", "cancelled", "host_restart", "input_required", "other"]>>;
1851
+ }, "strict", z.ZodTypeAny, {
1852
+ root: string;
1853
+ bytes: number | null;
1854
+ retainedAt: string;
1855
+ cause: "cancelled" | "context_exhausted" | "host_restart" | "input_required" | "other" | "pinned_limit" | "pool_exhausted" | "transport" | "vendor_limit" | "wall_clock" | null;
1856
+ }, {
1857
+ root: string;
1858
+ bytes: number | null;
1859
+ retainedAt: string;
1860
+ cause: "cancelled" | "context_exhausted" | "host_restart" | "input_required" | "other" | "pinned_limit" | "pool_exhausted" | "transport" | "vendor_limit" | "wall_clock" | null;
1861
+ }>>>;
1679
1862
  taskId: z.ZodOptional<z.ZodString>;
1680
1863
  state: z.ZodEnum<["queued", "running", "succeeded", "failed", "cancelled", "interrupted"]>;
1681
1864
  runDir: z.ZodOptional<z.ZodString>;
@@ -2119,6 +2302,7 @@ export declare const ControlRunSummary: z.ZodObject<{
2119
2302
  locator?: string | null | undefined;
2120
2303
  description: string;
2121
2304
  }>, "many">>;
2305
+ unverified_reason: z.ZodOptional<z.ZodEnum<["footer_missing", "footer_not_json", "footer_not_object", "report_missing", "report_malformed", "report_contradictory", "legacy_output_invalid"]>>;
2122
2306
  }, "strip", z.ZodTypeAny, {
2123
2307
  state: "completed" | "incomplete" | "needs_input" | "unverified";
2124
2308
  source: "absent" | "constrained" | "validated";
@@ -2127,6 +2311,7 @@ export declare const ControlRunSummary: z.ZodObject<{
2127
2311
  locator: string | null;
2128
2312
  description: string;
2129
2313
  }[] | undefined;
2314
+ unverified_reason?: "footer_missing" | "footer_not_json" | "footer_not_object" | "legacy_output_invalid" | "report_contradictory" | "report_malformed" | "report_missing" | undefined;
2130
2315
  }, {
2131
2316
  state: "completed" | "incomplete" | "needs_input" | "unverified";
2132
2317
  source: "absent" | "constrained" | "validated";
@@ -2135,6 +2320,7 @@ export declare const ControlRunSummary: z.ZodObject<{
2135
2320
  locator?: string | null | undefined;
2136
2321
  description: string;
2137
2322
  }[] | undefined;
2323
+ unverified_reason?: "footer_missing" | "footer_not_json" | "footer_not_object" | "legacy_output_invalid" | "report_contradictory" | "report_malformed" | "report_missing" | undefined;
2138
2324
  }>>;
2139
2325
  }, "strict", z.ZodTypeAny, {
2140
2326
  lifecycle: "cancelled" | "failed" | "interrupted" | "succeeded";
@@ -2151,6 +2337,7 @@ export declare const ControlRunSummary: z.ZodObject<{
2151
2337
  locator: string | null;
2152
2338
  description: string;
2153
2339
  }[] | undefined;
2340
+ unverified_reason?: "footer_missing" | "footer_not_json" | "footer_not_object" | "legacy_output_invalid" | "report_contradictory" | "report_malformed" | "report_missing" | undefined;
2154
2341
  } | undefined;
2155
2342
  }, {
2156
2343
  lifecycle: "cancelled" | "failed" | "interrupted" | "succeeded";
@@ -2167,6 +2354,7 @@ export declare const ControlRunSummary: z.ZodObject<{
2167
2354
  locator?: string | null | undefined;
2168
2355
  description: string;
2169
2356
  }[] | undefined;
2357
+ unverified_reason?: "footer_missing" | "footer_not_json" | "footer_not_object" | "legacy_output_invalid" | "report_contradictory" | "report_malformed" | "report_missing" | undefined;
2170
2358
  } | undefined;
2171
2359
  }>>>;
2172
2360
  /** True while at least one requested interaction has no terminal release. */
@@ -2270,6 +2458,52 @@ export declare const ControlRunSummary: z.ZodObject<{
2270
2458
  reason: "access_profile_incompatible" | "injected_unused" | "manifest_unsupported" | "not_requested" | "partially_degraded" | "pending" | "runtime_unavailable" | "startup_failed" | "used";
2271
2459
  remediation: string | null;
2272
2460
  } | null;
2461
+ continueFrom: string | null;
2462
+ resumable: {
2463
+ cause: "cancelled" | "context_exhausted" | "host_restart" | "input_required" | "other" | "pinned_limit" | "pool_exhausted" | "transport" | "vendor_limit" | "wall_clock";
2464
+ resetsAt: string | null;
2465
+ limitWindow: string | null;
2466
+ limitEvidence: "unspecified" | "window" | null;
2467
+ carriers: ("native" | "native_moved" | "packet")[];
2468
+ limitCode: string | null;
2469
+ session: {
2470
+ harness: string;
2471
+ nativeSessionId: string;
2472
+ holderProfileId: string | null;
2473
+ } | null;
2474
+ workspace: {
2475
+ kind: "in_place" | "none" | "retained_envelope";
2476
+ root: string | null;
2477
+ };
2478
+ } | null;
2479
+ continuity?: {
2480
+ tryIndex: number;
2481
+ attemptId: string;
2482
+ carrier: "fresh" | "native" | "native_moved" | "packet";
2483
+ cause: "cancelled" | "context_exhausted" | "host_restart" | "input_required" | "other" | "pinned_limit" | "pool_exhausted" | "transport" | "vendor_limit" | "wall_clock";
2484
+ from: {
2485
+ runId: string;
2486
+ attemptId: string;
2487
+ profileId: string | null;
2488
+ };
2489
+ to: {
2490
+ profileId: string | null;
2491
+ };
2492
+ workspace: "different_root" | "same_root";
2493
+ memory: "full" | "partial" | "unknown";
2494
+ instructions: "as_sent" | "vendor_snapshot";
2495
+ reingestedTokens: number | null;
2496
+ observedModel: string | null;
2497
+ modelMismatch: boolean | null;
2498
+ identityCheck: "matched_before_effects" | "mismatch_after_possible_effects" | "mismatch_before_effects" | "not_applicable";
2499
+ inputDelivery: "confirmed" | "not_applicable" | "uncertain";
2500
+ }[] | undefined;
2501
+ retainedEnvelope: {
2502
+ root: string;
2503
+ bytes: number | null;
2504
+ retainedAt: string;
2505
+ cause: "cancelled" | "context_exhausted" | "host_restart" | "input_required" | "other" | "pinned_limit" | "pool_exhausted" | "transport" | "vendor_limit" | "wall_clock" | null;
2506
+ } | null;
2273
2507
  taskId?: string | undefined;
2274
2508
  state: "cancelled" | "failed" | "interrupted" | "queued" | "running" | "succeeded";
2275
2509
  runDir?: string | undefined;
@@ -2425,6 +2659,7 @@ export declare const ControlRunSummary: z.ZodObject<{
2425
2659
  locator: string | null;
2426
2660
  description: string;
2427
2661
  }[] | undefined;
2662
+ unverified_reason?: "footer_missing" | "footer_not_json" | "footer_not_object" | "legacy_output_invalid" | "report_contradictory" | "report_malformed" | "report_missing" | undefined;
2428
2663
  } | undefined;
2429
2664
  } | null;
2430
2665
  waitingOnUser: boolean;
@@ -2468,6 +2703,52 @@ export declare const ControlRunSummary: z.ZodObject<{
2468
2703
  reason?: "access_profile_incompatible" | "injected_unused" | "manifest_unsupported" | "not_requested" | "partially_degraded" | "pending" | "runtime_unavailable" | "startup_failed" | "used" | undefined;
2469
2704
  remediation?: string | null | undefined;
2470
2705
  } | null | undefined;
2706
+ continueFrom?: string | null | undefined;
2707
+ resumable?: {
2708
+ cause: "cancelled" | "context_exhausted" | "host_restart" | "input_required" | "other" | "pinned_limit" | "pool_exhausted" | "transport" | "vendor_limit" | "wall_clock";
2709
+ resetsAt: string | null;
2710
+ limitWindow: string | null;
2711
+ limitEvidence: "unspecified" | "window" | null;
2712
+ carriers: ("native" | "native_moved" | "packet")[];
2713
+ limitCode: string | null;
2714
+ session: {
2715
+ harness: string;
2716
+ nativeSessionId: string;
2717
+ holderProfileId: string | null;
2718
+ } | null;
2719
+ workspace: {
2720
+ kind: "in_place" | "none" | "retained_envelope";
2721
+ root: string | null;
2722
+ };
2723
+ } | null | undefined;
2724
+ continuity?: {
2725
+ tryIndex: number;
2726
+ attemptId: string;
2727
+ carrier: "fresh" | "native" | "native_moved" | "packet";
2728
+ cause: "cancelled" | "context_exhausted" | "host_restart" | "input_required" | "other" | "pinned_limit" | "pool_exhausted" | "transport" | "vendor_limit" | "wall_clock";
2729
+ from: {
2730
+ runId: string;
2731
+ attemptId: string;
2732
+ profileId: string | null;
2733
+ };
2734
+ to: {
2735
+ profileId: string | null;
2736
+ };
2737
+ workspace: "different_root" | "same_root";
2738
+ memory: "full" | "partial" | "unknown";
2739
+ instructions: "as_sent" | "vendor_snapshot";
2740
+ reingestedTokens: number | null;
2741
+ observedModel: string | null;
2742
+ modelMismatch: boolean | null;
2743
+ identityCheck: "matched_before_effects" | "mismatch_after_possible_effects" | "mismatch_before_effects" | "not_applicable";
2744
+ inputDelivery: "confirmed" | "not_applicable" | "uncertain";
2745
+ }[] | undefined;
2746
+ retainedEnvelope?: {
2747
+ root: string;
2748
+ bytes: number | null;
2749
+ retainedAt: string;
2750
+ cause: "cancelled" | "context_exhausted" | "host_restart" | "input_required" | "other" | "pinned_limit" | "pool_exhausted" | "transport" | "vendor_limit" | "wall_clock" | null;
2751
+ } | null | undefined;
2471
2752
  taskId?: string | undefined;
2472
2753
  state: "cancelled" | "failed" | "interrupted" | "queued" | "running" | "succeeded";
2473
2754
  runDir?: string | undefined;
@@ -2623,6 +2904,7 @@ export declare const ControlRunSummary: z.ZodObject<{
2623
2904
  locator?: string | null | undefined;
2624
2905
  description: string;
2625
2906
  }[] | undefined;
2907
+ unverified_reason?: "footer_missing" | "footer_not_json" | "footer_not_object" | "legacy_output_invalid" | "report_contradictory" | "report_malformed" | "report_missing" | undefined;
2626
2908
  } | undefined;
2627
2909
  } | null | undefined;
2628
2910
  waitingOnUser?: boolean | undefined;
@@ -3338,6 +3620,7 @@ export declare const ControlTurnRunCard: z.ZodObject<{
3338
3620
  locator?: string | null | undefined;
3339
3621
  description: string;
3340
3622
  }>, "many">>;
3623
+ unverified_reason: z.ZodOptional<z.ZodEnum<["footer_missing", "footer_not_json", "footer_not_object", "report_missing", "report_malformed", "report_contradictory", "legacy_output_invalid"]>>;
3341
3624
  }, "strip", z.ZodTypeAny, {
3342
3625
  state: "completed" | "incomplete" | "needs_input" | "unverified";
3343
3626
  source: "absent" | "constrained" | "validated";
@@ -3346,6 +3629,7 @@ export declare const ControlTurnRunCard: z.ZodObject<{
3346
3629
  locator: string | null;
3347
3630
  description: string;
3348
3631
  }[] | undefined;
3632
+ unverified_reason?: "footer_missing" | "footer_not_json" | "footer_not_object" | "legacy_output_invalid" | "report_contradictory" | "report_malformed" | "report_missing" | undefined;
3349
3633
  }, {
3350
3634
  state: "completed" | "incomplete" | "needs_input" | "unverified";
3351
3635
  source: "absent" | "constrained" | "validated";
@@ -3354,6 +3638,7 @@ export declare const ControlTurnRunCard: z.ZodObject<{
3354
3638
  locator?: string | null | undefined;
3355
3639
  description: string;
3356
3640
  }[] | undefined;
3641
+ unverified_reason?: "footer_missing" | "footer_not_json" | "footer_not_object" | "legacy_output_invalid" | "report_contradictory" | "report_malformed" | "report_missing" | undefined;
3357
3642
  }>>;
3358
3643
  }, "strict", z.ZodTypeAny, {
3359
3644
  lifecycle: "cancelled" | "failed" | "interrupted" | "succeeded";
@@ -3370,6 +3655,7 @@ export declare const ControlTurnRunCard: z.ZodObject<{
3370
3655
  locator: string | null;
3371
3656
  description: string;
3372
3657
  }[] | undefined;
3658
+ unverified_reason?: "footer_missing" | "footer_not_json" | "footer_not_object" | "legacy_output_invalid" | "report_contradictory" | "report_malformed" | "report_missing" | undefined;
3373
3659
  } | undefined;
3374
3660
  }, {
3375
3661
  lifecycle: "cancelled" | "failed" | "interrupted" | "succeeded";
@@ -3386,6 +3672,7 @@ export declare const ControlTurnRunCard: z.ZodObject<{
3386
3672
  locator?: string | null | undefined;
3387
3673
  description: string;
3388
3674
  }[] | undefined;
3675
+ unverified_reason?: "footer_missing" | "footer_not_json" | "footer_not_object" | "legacy_output_invalid" | "report_contradictory" | "report_malformed" | "report_missing" | undefined;
3389
3676
  } | undefined;
3390
3677
  }>>>;
3391
3678
  spendUsd: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
@@ -3459,6 +3746,7 @@ export declare const ControlTurnRunCard: z.ZodObject<{
3459
3746
  locator: string | null;
3460
3747
  description: string;
3461
3748
  }[] | undefined;
3749
+ unverified_reason?: "footer_missing" | "footer_not_json" | "footer_not_object" | "legacy_output_invalid" | "report_contradictory" | "report_malformed" | "report_missing" | undefined;
3462
3750
  } | undefined;
3463
3751
  } | null;
3464
3752
  spendUsd?: number | null | undefined;
@@ -3508,6 +3796,7 @@ export declare const ControlTurnRunCard: z.ZodObject<{
3508
3796
  locator?: string | null | undefined;
3509
3797
  description: string;
3510
3798
  }[] | undefined;
3799
+ unverified_reason?: "footer_missing" | "footer_not_json" | "footer_not_object" | "legacy_output_invalid" | "report_contradictory" | "report_malformed" | "report_missing" | undefined;
3511
3800
  } | undefined;
3512
3801
  } | null | undefined;
3513
3802
  spendUsd?: number | null | undefined;
@@ -3630,6 +3919,7 @@ export declare const ControlThreadTurn: z.ZodObject<{
3630
3919
  locator?: string | null | undefined;
3631
3920
  description: string;
3632
3921
  }>, "many">>;
3922
+ unverified_reason: z.ZodOptional<z.ZodEnum<["footer_missing", "footer_not_json", "footer_not_object", "report_missing", "report_malformed", "report_contradictory", "legacy_output_invalid"]>>;
3633
3923
  }, "strip", z.ZodTypeAny, {
3634
3924
  state: "completed" | "incomplete" | "needs_input" | "unverified";
3635
3925
  source: "absent" | "constrained" | "validated";
@@ -3638,6 +3928,7 @@ export declare const ControlThreadTurn: z.ZodObject<{
3638
3928
  locator: string | null;
3639
3929
  description: string;
3640
3930
  }[] | undefined;
3931
+ unverified_reason?: "footer_missing" | "footer_not_json" | "footer_not_object" | "legacy_output_invalid" | "report_contradictory" | "report_malformed" | "report_missing" | undefined;
3641
3932
  }, {
3642
3933
  state: "completed" | "incomplete" | "needs_input" | "unverified";
3643
3934
  source: "absent" | "constrained" | "validated";
@@ -3646,6 +3937,7 @@ export declare const ControlThreadTurn: z.ZodObject<{
3646
3937
  locator?: string | null | undefined;
3647
3938
  description: string;
3648
3939
  }[] | undefined;
3940
+ unverified_reason?: "footer_missing" | "footer_not_json" | "footer_not_object" | "legacy_output_invalid" | "report_contradictory" | "report_malformed" | "report_missing" | undefined;
3649
3941
  }>>;
3650
3942
  }, "strict", z.ZodTypeAny, {
3651
3943
  lifecycle: "cancelled" | "failed" | "interrupted" | "succeeded";
@@ -3662,6 +3954,7 @@ export declare const ControlThreadTurn: z.ZodObject<{
3662
3954
  locator: string | null;
3663
3955
  description: string;
3664
3956
  }[] | undefined;
3957
+ unverified_reason?: "footer_missing" | "footer_not_json" | "footer_not_object" | "legacy_output_invalid" | "report_contradictory" | "report_malformed" | "report_missing" | undefined;
3665
3958
  } | undefined;
3666
3959
  }, {
3667
3960
  lifecycle: "cancelled" | "failed" | "interrupted" | "succeeded";
@@ -3678,6 +3971,7 @@ export declare const ControlThreadTurn: z.ZodObject<{
3678
3971
  locator?: string | null | undefined;
3679
3972
  description: string;
3680
3973
  }[] | undefined;
3974
+ unverified_reason?: "footer_missing" | "footer_not_json" | "footer_not_object" | "legacy_output_invalid" | "report_contradictory" | "report_malformed" | "report_missing" | undefined;
3681
3975
  } | undefined;
3682
3976
  }>>>;
3683
3977
  spendUsd: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
@@ -3751,6 +4045,7 @@ export declare const ControlThreadTurn: z.ZodObject<{
3751
4045
  locator: string | null;
3752
4046
  description: string;
3753
4047
  }[] | undefined;
4048
+ unverified_reason?: "footer_missing" | "footer_not_json" | "footer_not_object" | "legacy_output_invalid" | "report_contradictory" | "report_malformed" | "report_missing" | undefined;
3754
4049
  } | undefined;
3755
4050
  } | null;
3756
4051
  spendUsd?: number | null | undefined;
@@ -3800,6 +4095,7 @@ export declare const ControlThreadTurn: z.ZodObject<{
3800
4095
  locator?: string | null | undefined;
3801
4096
  description: string;
3802
4097
  }[] | undefined;
4098
+ unverified_reason?: "footer_missing" | "footer_not_json" | "footer_not_object" | "legacy_output_invalid" | "report_contradictory" | "report_malformed" | "report_missing" | undefined;
3803
4099
  } | undefined;
3804
4100
  } | null | undefined;
3805
4101
  spendUsd?: number | null | undefined;
@@ -3925,6 +4221,7 @@ export declare const ControlThreadTurn: z.ZodObject<{
3925
4221
  locator: string | null;
3926
4222
  description: string;
3927
4223
  }[] | undefined;
4224
+ unverified_reason?: "footer_missing" | "footer_not_json" | "footer_not_object" | "legacy_output_invalid" | "report_contradictory" | "report_malformed" | "report_missing" | undefined;
3928
4225
  } | undefined;
3929
4226
  } | null;
3930
4227
  spendUsd?: number | null | undefined;
@@ -4004,6 +4301,7 @@ export declare const ControlThreadTurn: z.ZodObject<{
4004
4301
  locator?: string | null | undefined;
4005
4302
  description: string;
4006
4303
  }[] | undefined;
4304
+ unverified_reason?: "footer_missing" | "footer_not_json" | "footer_not_object" | "legacy_output_invalid" | "report_contradictory" | "report_malformed" | "report_missing" | undefined;
4007
4305
  } | undefined;
4008
4306
  } | null | undefined;
4009
4307
  spendUsd?: number | null | undefined;
@@ -4403,6 +4701,7 @@ export declare const ControlThreadDetail: z.ZodObject<{
4403
4701
  locator?: string | null | undefined;
4404
4702
  description: string;
4405
4703
  }>, "many">>;
4704
+ unverified_reason: z.ZodOptional<z.ZodEnum<["footer_missing", "footer_not_json", "footer_not_object", "report_missing", "report_malformed", "report_contradictory", "legacy_output_invalid"]>>;
4406
4705
  }, "strip", z.ZodTypeAny, {
4407
4706
  state: "completed" | "incomplete" | "needs_input" | "unverified";
4408
4707
  source: "absent" | "constrained" | "validated";
@@ -4411,6 +4710,7 @@ export declare const ControlThreadDetail: z.ZodObject<{
4411
4710
  locator: string | null;
4412
4711
  description: string;
4413
4712
  }[] | undefined;
4713
+ unverified_reason?: "footer_missing" | "footer_not_json" | "footer_not_object" | "legacy_output_invalid" | "report_contradictory" | "report_malformed" | "report_missing" | undefined;
4414
4714
  }, {
4415
4715
  state: "completed" | "incomplete" | "needs_input" | "unverified";
4416
4716
  source: "absent" | "constrained" | "validated";
@@ -4419,6 +4719,7 @@ export declare const ControlThreadDetail: z.ZodObject<{
4419
4719
  locator?: string | null | undefined;
4420
4720
  description: string;
4421
4721
  }[] | undefined;
4722
+ unverified_reason?: "footer_missing" | "footer_not_json" | "footer_not_object" | "legacy_output_invalid" | "report_contradictory" | "report_malformed" | "report_missing" | undefined;
4422
4723
  }>>;
4423
4724
  }, "strict", z.ZodTypeAny, {
4424
4725
  lifecycle: "cancelled" | "failed" | "interrupted" | "succeeded";
@@ -4435,6 +4736,7 @@ export declare const ControlThreadDetail: z.ZodObject<{
4435
4736
  locator: string | null;
4436
4737
  description: string;
4437
4738
  }[] | undefined;
4739
+ unverified_reason?: "footer_missing" | "footer_not_json" | "footer_not_object" | "legacy_output_invalid" | "report_contradictory" | "report_malformed" | "report_missing" | undefined;
4438
4740
  } | undefined;
4439
4741
  }, {
4440
4742
  lifecycle: "cancelled" | "failed" | "interrupted" | "succeeded";
@@ -4451,6 +4753,7 @@ export declare const ControlThreadDetail: z.ZodObject<{
4451
4753
  locator?: string | null | undefined;
4452
4754
  description: string;
4453
4755
  }[] | undefined;
4756
+ unverified_reason?: "footer_missing" | "footer_not_json" | "footer_not_object" | "legacy_output_invalid" | "report_contradictory" | "report_malformed" | "report_missing" | undefined;
4454
4757
  } | undefined;
4455
4758
  }>>>;
4456
4759
  spendUsd: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
@@ -4524,6 +4827,7 @@ export declare const ControlThreadDetail: z.ZodObject<{
4524
4827
  locator: string | null;
4525
4828
  description: string;
4526
4829
  }[] | undefined;
4830
+ unverified_reason?: "footer_missing" | "footer_not_json" | "footer_not_object" | "legacy_output_invalid" | "report_contradictory" | "report_malformed" | "report_missing" | undefined;
4527
4831
  } | undefined;
4528
4832
  } | null;
4529
4833
  spendUsd?: number | null | undefined;
@@ -4573,6 +4877,7 @@ export declare const ControlThreadDetail: z.ZodObject<{
4573
4877
  locator?: string | null | undefined;
4574
4878
  description: string;
4575
4879
  }[] | undefined;
4880
+ unverified_reason?: "footer_missing" | "footer_not_json" | "footer_not_object" | "legacy_output_invalid" | "report_contradictory" | "report_malformed" | "report_missing" | undefined;
4576
4881
  } | undefined;
4577
4882
  } | null | undefined;
4578
4883
  spendUsd?: number | null | undefined;
@@ -4698,6 +5003,7 @@ export declare const ControlThreadDetail: z.ZodObject<{
4698
5003
  locator: string | null;
4699
5004
  description: string;
4700
5005
  }[] | undefined;
5006
+ unverified_reason?: "footer_missing" | "footer_not_json" | "footer_not_object" | "legacy_output_invalid" | "report_contradictory" | "report_malformed" | "report_missing" | undefined;
4701
5007
  } | undefined;
4702
5008
  } | null;
4703
5009
  spendUsd?: number | null | undefined;
@@ -4777,6 +5083,7 @@ export declare const ControlThreadDetail: z.ZodObject<{
4777
5083
  locator?: string | null | undefined;
4778
5084
  description: string;
4779
5085
  }[] | undefined;
5086
+ unverified_reason?: "footer_missing" | "footer_not_json" | "footer_not_object" | "legacy_output_invalid" | "report_contradictory" | "report_malformed" | "report_missing" | undefined;
4780
5087
  } | undefined;
4781
5088
  } | null | undefined;
4782
5089
  spendUsd?: number | null | undefined;
@@ -4888,6 +5195,7 @@ export declare const ControlThreadDetail: z.ZodObject<{
4888
5195
  locator: string | null;
4889
5196
  description: string;
4890
5197
  }[] | undefined;
5198
+ unverified_reason?: "footer_missing" | "footer_not_json" | "footer_not_object" | "legacy_output_invalid" | "report_contradictory" | "report_malformed" | "report_missing" | undefined;
4891
5199
  } | undefined;
4892
5200
  } | null;
4893
5201
  spendUsd?: number | null | undefined;
@@ -4999,6 +5307,7 @@ export declare const ControlThreadDetail: z.ZodObject<{
4999
5307
  locator?: string | null | undefined;
5000
5308
  description: string;
5001
5309
  }[] | undefined;
5310
+ unverified_reason?: "footer_missing" | "footer_not_json" | "footer_not_object" | "legacy_output_invalid" | "report_contradictory" | "report_malformed" | "report_missing" | undefined;
5002
5311
  } | undefined;
5003
5312
  } | null | undefined;
5004
5313
  spendUsd?: number | null | undefined;