@claudexor/schema 5.1.0 → 6.0.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 (121) hide show
  1. package/dist/account-routing-evidence.d.ts +68 -0
  2. package/dist/account-routing-evidence.d.ts.map +1 -1
  3. package/dist/attempt-execution.d.ts +23 -0
  4. package/dist/attempt-execution.d.ts.map +1 -1
  5. package/dist/attempt-execution.js +2 -0
  6. package/dist/attempt-execution.js.map +1 -1
  7. package/dist/control-harness-list.d.ts +34 -0
  8. package/dist/control-harness-list.d.ts.map +1 -1
  9. package/dist/control-harness-models.d.ts +122 -0
  10. package/dist/control-harness-models.d.ts.map +1 -1
  11. package/dist/control-harness-models.js +2 -0
  12. package/dist/control-harness-models.js.map +1 -1
  13. package/dist/control-operation-responses.d.ts +21 -0
  14. package/dist/control-operation-responses.d.ts.map +1 -1
  15. package/dist/control-pending-interaction.d.ts +96 -0
  16. package/dist/control-pending-interaction.d.ts.map +1 -0
  17. package/dist/control-pending-interaction.js +42 -0
  18. package/dist/control-pending-interaction.js.map +1 -0
  19. package/dist/control-run-detail.d.ts +92 -0
  20. package/dist/control-run-detail.d.ts.map +1 -1
  21. package/dist/control-run-detail.js +2 -1
  22. package/dist/control-run-detail.js.map +1 -1
  23. package/dist/control-run-failure.d.ts +11 -0
  24. package/dist/control-run-failure.d.ts.map +1 -1
  25. package/dist/control-run-failure.js +6 -0
  26. package/dist/control-run-failure.js.map +1 -1
  27. package/dist/control-run-message.js +1 -1
  28. package/dist/control-run-message.js.map +1 -1
  29. package/dist/control.d.ts +30 -81
  30. package/dist/control.d.ts.map +1 -1
  31. package/dist/control.js +9 -26
  32. package/dist/control.js.map +1 -1
  33. package/dist/credential-profile-snapshot.d.ts +136 -0
  34. package/dist/credential-profile-snapshot.d.ts.map +1 -1
  35. package/dist/harness-interaction.d.ts +12 -0
  36. package/dist/harness-interaction.d.ts.map +1 -1
  37. package/dist/harness-interaction.js +11 -0
  38. package/dist/harness-interaction.js.map +1 -1
  39. package/dist/harness-maintenance.d.ts +3561 -717
  40. package/dist/harness-maintenance.d.ts.map +1 -1
  41. package/dist/harness-maintenance.js +107 -111
  42. package/dist/harness-maintenance.js.map +1 -1
  43. package/dist/harness-program.d.ts +2164 -0
  44. package/dist/harness-program.d.ts.map +1 -0
  45. package/dist/harness-program.js +110 -0
  46. package/dist/harness-program.js.map +1 -0
  47. package/dist/harness.d.ts +67 -0
  48. package/dist/harness.d.ts.map +1 -1
  49. package/dist/harness.js +9 -0
  50. package/dist/harness.js.map +1 -1
  51. package/dist/index.d.ts +2 -0
  52. package/dist/index.d.ts.map +1 -1
  53. package/dist/index.js +2 -0
  54. package/dist/index.js.map +1 -1
  55. package/dist/mcp-run-result.d.ts +90 -0
  56. package/dist/mcp-run-result.d.ts.map +1 -1
  57. package/dist/mcp-run-wait.d.ts +5 -0
  58. package/dist/mcp-run-wait.d.ts.map +1 -1
  59. package/dist/mcp-run-wait.js +3 -2
  60. package/dist/mcp-run-wait.js.map +1 -1
  61. package/dist/model-operation.d.ts +107 -0
  62. package/dist/model-operation.d.ts.map +1 -1
  63. package/dist/model-operation.js +3 -0
  64. package/dist/model-operation.js.map +1 -1
  65. package/dist/quota.d.ts +3 -2
  66. package/dist/quota.d.ts.map +1 -1
  67. package/dist/quota.js +3 -2
  68. package/dist/quota.js.map +1 -1
  69. package/dist/rate-limit.js +1 -1
  70. package/dist/rate-limit.js.map +1 -1
  71. package/dist/readiness.d.ts +26 -0
  72. package/dist/readiness.d.ts.map +1 -1
  73. package/dist/run-observation.d.ts +70 -0
  74. package/dist/run-observation.d.ts.map +1 -1
  75. package/dist/run-observation.js +31 -12
  76. package/dist/run-observation.js.map +1 -1
  77. package/dist/telemetry.d.ts +56 -0
  78. package/dist/telemetry.d.ts.map +1 -1
  79. package/dist/telemetry.js +2 -0
  80. package/dist/telemetry.js.map +1 -1
  81. package/dist/thread-history.d.ts +108 -0
  82. package/dist/thread-history.d.ts.map +1 -1
  83. package/generated/AttemptExecutionEvidence.schema.json +35 -0
  84. package/generated/ConformanceReport.schema.json +26 -0
  85. package/generated/ControlCredentialProfilesQueryResponse.schema.json +26 -0
  86. package/generated/ControlCredentialProfilesResourcesResponse.schema.json +26 -0
  87. package/generated/ControlCredentialProfilesSnapshotResponse.schema.json +26 -0
  88. package/generated/ControlHarnessAccountCatalog.schema.json +27 -0
  89. package/generated/ControlHarnessAccountModelsResponse.schema.json +27 -0
  90. package/generated/ControlHarnessListResponse.schema.json +26 -0
  91. package/generated/ControlHarnessMaintenanceCreateRequest.schema.json +2 -28
  92. package/generated/ControlHarnessMaintenanceInventory.schema.json +547 -184
  93. package/generated/ControlHarnessMaintenanceOperation.schema.json +211 -63
  94. package/generated/ControlHarnessModelsQueryResponse.schema.json +30 -0
  95. package/generated/ControlHarnessModelsResponse.schema.json +27 -0
  96. package/generated/ControlModelAccountCatalogResponse.schema.json +27 -0
  97. package/generated/ControlModelCatalogQueryResponse.schema.json +27 -0
  98. package/generated/ControlModelCatalogResponse.schema.json +27 -0
  99. package/generated/ControlPendingInteraction.schema.json +10 -1
  100. package/generated/ControlRunDetail.schema.json +66 -1
  101. package/generated/ControlRunListResponse.schema.json +21 -0
  102. package/generated/ControlRunMessageResponse.schema.json +1 -1
  103. package/generated/ControlRunSummary.schema.json +21 -0
  104. package/generated/ControlThreadDetail.schema.json +5 -0
  105. package/generated/HarnessEvent.schema.json +42 -1
  106. package/generated/HarnessManifest.schema.json +26 -0
  107. package/generated/HarnessProgram.schema.json +278 -0
  108. package/generated/HarnessProgramIdentity.schema.json +25 -0
  109. package/generated/HarnessStatusDto.schema.json +26 -0
  110. package/generated/McpAccountsToolResult.schema.json +26 -0
  111. package/generated/McpRunHandleResult.schema.json +51 -0
  112. package/generated/McpRunToolResult.schema.json +51 -0
  113. package/generated/McpRunWaitResult.schema.json +11 -2
  114. package/generated/NativeProgramEvidence.schema.json +38 -0
  115. package/generated/RunFailure.schema.json +16 -0
  116. package/generated/RunTelemetry.schema.json +35 -0
  117. package/generated/RunWaitManyInput.schema.json +4 -0
  118. package/generated/RunWaitManyResult.schema.json +30 -0
  119. package/generated/SelectedHarnessProgram.schema.json +56 -0
  120. package/generated/ThreadHistoryPage.schema.json +24 -0
  121. package/package.json +2 -2
@@ -240,6 +240,7 @@ export declare const ThreadHistoryRun: z.ZodObject<{
240
240
  spendUsd: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
241
241
  outputReadyState: z.ZodDefault<z.ZodEnum<["pending", "finalizing", "ready", "diagnostic"]>>;
242
242
  waitingOnUser: z.ZodDefault<z.ZodBoolean>;
243
+ asyncQuestionsOnly: z.ZodDefault<z.ZodBoolean>;
243
244
  finishedAt: z.ZodDefault<z.ZodNullable<z.ZodString>>;
244
245
  delegation: z.ZodDefault<z.ZodNullable<z.ZodEffects<z.ZodObject<{
245
246
  requested: z.ZodDefault<z.ZodBoolean>;
@@ -862,6 +863,7 @@ export declare const ThreadHistoryRun: z.ZodObject<{
862
863
  requiredAction: string | null;
863
864
  }>>>;
864
865
  failure: z.ZodDefault<z.ZodNullable<z.ZodObject<{
866
+ lastVendorError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
865
867
  requestRefusal: z.ZodOptional<z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
866
868
  scope: z.ZodLiteral<"turn_text">;
867
869
  unit: z.ZodLiteral<"unicode_scalars">;
@@ -1114,6 +1116,7 @@ export declare const ThreadHistoryRun: z.ZodObject<{
1114
1116
  source: string;
1115
1117
  }>>>;
1116
1118
  poolAttempts: z.ZodDefault<z.ZodArray<z.ZodObject<{
1119
+ lastVendorError: z.ZodOptional<z.ZodString>;
1117
1120
  harnessId: z.ZodString;
1118
1121
  profileId: z.ZodNullable<z.ZodString>;
1119
1122
  profileDisplayName: z.ZodNullable<z.ZodString>;
@@ -1138,6 +1141,7 @@ export declare const ThreadHistoryRun: z.ZodObject<{
1138
1141
  source: string;
1139
1142
  }>>;
1140
1143
  }, "strip", z.ZodTypeAny, {
1144
+ lastVendorError?: string | undefined;
1141
1145
  harnessId: string;
1142
1146
  profileId: string | null;
1143
1147
  profileDisplayName: string | null;
@@ -1154,6 +1158,7 @@ export declare const ThreadHistoryRun: z.ZodObject<{
1154
1158
  source: string;
1155
1159
  } | null;
1156
1160
  }, {
1161
+ lastVendorError?: string | undefined;
1157
1162
  harnessId: string;
1158
1163
  profileId: string | null;
1159
1164
  profileDisplayName: string | null;
@@ -1172,6 +1177,7 @@ export declare const ThreadHistoryRun: z.ZodObject<{
1172
1177
  }>, "many">>;
1173
1178
  nextActions: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
1174
1179
  }, "strip", z.ZodTypeAny, {
1180
+ lastVendorError?: string | null | undefined;
1175
1181
  requestRefusal?: {
1176
1182
  scope: "turn_text";
1177
1183
  unit: "unicode_scalars";
@@ -1255,6 +1261,7 @@ export declare const ThreadHistoryRun: z.ZodObject<{
1255
1261
  source: string;
1256
1262
  } | null;
1257
1263
  poolAttempts: {
1264
+ lastVendorError?: string | undefined;
1258
1265
  harnessId: string;
1259
1266
  profileId: string | null;
1260
1267
  profileDisplayName: string | null;
@@ -1273,6 +1280,7 @@ export declare const ThreadHistoryRun: z.ZodObject<{
1273
1280
  }[];
1274
1281
  nextActions: string[];
1275
1282
  }, {
1283
+ lastVendorError?: string | null | undefined;
1276
1284
  requestRefusal?: {
1277
1285
  scope: "turn_text";
1278
1286
  unit: "unicode_scalars";
@@ -1356,6 +1364,7 @@ export declare const ThreadHistoryRun: z.ZodObject<{
1356
1364
  source: string;
1357
1365
  } | null | undefined;
1358
1366
  poolAttempts?: {
1367
+ lastVendorError?: string | undefined;
1359
1368
  harnessId: string;
1360
1369
  profileId: string | null;
1361
1370
  profileDisplayName: string | null;
@@ -1495,6 +1504,7 @@ export declare const ThreadHistoryRun: z.ZodObject<{
1495
1504
  spendUsd?: number | null | undefined;
1496
1505
  outputReadyState: "diagnostic" | "finalizing" | "pending" | "ready";
1497
1506
  waitingOnUser: boolean;
1507
+ asyncQuestionsOnly: boolean;
1498
1508
  finishedAt: string | null;
1499
1509
  delegation: {
1500
1510
  requested: boolean;
@@ -1621,6 +1631,7 @@ export declare const ThreadHistoryRun: z.ZodObject<{
1621
1631
  requiredAction: string | null;
1622
1632
  } | null;
1623
1633
  failure: {
1634
+ lastVendorError?: string | null | undefined;
1624
1635
  requestRefusal?: {
1625
1636
  scope: "turn_text";
1626
1637
  unit: "unicode_scalars";
@@ -1704,6 +1715,7 @@ export declare const ThreadHistoryRun: z.ZodObject<{
1704
1715
  source: string;
1705
1716
  } | null;
1706
1717
  poolAttempts: {
1718
+ lastVendorError?: string | undefined;
1707
1719
  harnessId: string;
1708
1720
  profileId: string | null;
1709
1721
  profileDisplayName: string | null;
@@ -1811,6 +1823,7 @@ export declare const ThreadHistoryRun: z.ZodObject<{
1811
1823
  spendUsd?: number | null | undefined;
1812
1824
  outputReadyState?: "diagnostic" | "finalizing" | "pending" | "ready" | undefined;
1813
1825
  waitingOnUser?: boolean | undefined;
1826
+ asyncQuestionsOnly?: boolean | undefined;
1814
1827
  finishedAt?: string | null | undefined;
1815
1828
  delegation?: {
1816
1829
  requested?: boolean | undefined;
@@ -1937,6 +1950,7 @@ export declare const ThreadHistoryRun: z.ZodObject<{
1937
1950
  requiredAction: string | null;
1938
1951
  } | null | undefined;
1939
1952
  failure?: {
1953
+ lastVendorError?: string | null | undefined;
1940
1954
  requestRefusal?: {
1941
1955
  scope: "turn_text";
1942
1956
  unit: "unicode_scalars";
@@ -2020,6 +2034,7 @@ export declare const ThreadHistoryRun: z.ZodObject<{
2020
2034
  source: string;
2021
2035
  } | null | undefined;
2022
2036
  poolAttempts?: {
2037
+ lastVendorError?: string | undefined;
2023
2038
  harnessId: string;
2024
2039
  profileId: string | null;
2025
2040
  profileDisplayName: string | null;
@@ -2211,6 +2226,7 @@ export declare const ThreadHistoryPlanAnswer: z.ZodObject<Pick<{
2211
2226
  spendUsd: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
2212
2227
  outputReadyState: z.ZodDefault<z.ZodEnum<["pending", "finalizing", "ready", "diagnostic"]>>;
2213
2228
  waitingOnUser: z.ZodDefault<z.ZodBoolean>;
2229
+ asyncQuestionsOnly: z.ZodDefault<z.ZodBoolean>;
2214
2230
  finishedAt: z.ZodDefault<z.ZodNullable<z.ZodString>>;
2215
2231
  delegation: z.ZodDefault<z.ZodNullable<z.ZodEffects<z.ZodObject<{
2216
2232
  requested: z.ZodDefault<z.ZodBoolean>;
@@ -2285,6 +2301,7 @@ export declare const ThreadHistoryPlanAnswer: z.ZodObject<Pick<{
2285
2301
  spendUsd?: number | null | undefined;
2286
2302
  outputReadyState: "diagnostic" | "finalizing" | "pending" | "ready";
2287
2303
  waitingOnUser: boolean;
2304
+ asyncQuestionsOnly: boolean;
2288
2305
  finishedAt: string | null;
2289
2306
  delegation: {
2290
2307
  requested: boolean;
@@ -2335,6 +2352,7 @@ export declare const ThreadHistoryPlanAnswer: z.ZodObject<Pick<{
2335
2352
  spendUsd?: number | null | undefined;
2336
2353
  outputReadyState?: "diagnostic" | "finalizing" | "pending" | "ready" | undefined;
2337
2354
  waitingOnUser?: boolean | undefined;
2355
+ asyncQuestionsOnly?: boolean | undefined;
2338
2356
  finishedAt?: string | null | undefined;
2339
2357
  delegation?: {
2340
2358
  requested?: boolean | undefined;
@@ -2578,6 +2596,7 @@ export declare const ThreadHistoryTurn: z.ZodObject<Omit<{
2578
2596
  spendUsd: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
2579
2597
  outputReadyState: z.ZodDefault<z.ZodEnum<["pending", "finalizing", "ready", "diagnostic"]>>;
2580
2598
  waitingOnUser: z.ZodDefault<z.ZodBoolean>;
2599
+ asyncQuestionsOnly: z.ZodDefault<z.ZodBoolean>;
2581
2600
  finishedAt: z.ZodDefault<z.ZodNullable<z.ZodString>>;
2582
2601
  delegation: z.ZodDefault<z.ZodNullable<z.ZodEffects<z.ZodObject<{
2583
2602
  requested: z.ZodDefault<z.ZodBoolean>;
@@ -2652,6 +2671,7 @@ export declare const ThreadHistoryTurn: z.ZodObject<Omit<{
2652
2671
  spendUsd?: number | null | undefined;
2653
2672
  outputReadyState: "diagnostic" | "finalizing" | "pending" | "ready";
2654
2673
  waitingOnUser: boolean;
2674
+ asyncQuestionsOnly: boolean;
2655
2675
  finishedAt: string | null;
2656
2676
  delegation: {
2657
2677
  requested: boolean;
@@ -2702,6 +2722,7 @@ export declare const ThreadHistoryTurn: z.ZodObject<Omit<{
2702
2722
  spendUsd?: number | null | undefined;
2703
2723
  outputReadyState?: "diagnostic" | "finalizing" | "pending" | "ready" | undefined;
2704
2724
  waitingOnUser?: boolean | undefined;
2725
+ asyncQuestionsOnly?: boolean | undefined;
2705
2726
  finishedAt?: string | null | undefined;
2706
2727
  delegation?: {
2707
2728
  requested?: boolean | undefined;
@@ -2928,6 +2949,7 @@ export declare const ThreadHistoryTurn: z.ZodObject<Omit<{
2928
2949
  spendUsd: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
2929
2950
  outputReadyState: z.ZodDefault<z.ZodEnum<["pending", "finalizing", "ready", "diagnostic"]>>;
2930
2951
  waitingOnUser: z.ZodDefault<z.ZodBoolean>;
2952
+ asyncQuestionsOnly: z.ZodDefault<z.ZodBoolean>;
2931
2953
  finishedAt: z.ZodDefault<z.ZodNullable<z.ZodString>>;
2932
2954
  delegation: z.ZodDefault<z.ZodNullable<z.ZodEffects<z.ZodObject<{
2933
2955
  requested: z.ZodDefault<z.ZodBoolean>;
@@ -3550,6 +3572,7 @@ export declare const ThreadHistoryTurn: z.ZodObject<Omit<{
3550
3572
  requiredAction: string | null;
3551
3573
  }>>>;
3552
3574
  failure: z.ZodDefault<z.ZodNullable<z.ZodObject<{
3575
+ lastVendorError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3553
3576
  requestRefusal: z.ZodOptional<z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
3554
3577
  scope: z.ZodLiteral<"turn_text">;
3555
3578
  unit: z.ZodLiteral<"unicode_scalars">;
@@ -3802,6 +3825,7 @@ export declare const ThreadHistoryTurn: z.ZodObject<Omit<{
3802
3825
  source: string;
3803
3826
  }>>>;
3804
3827
  poolAttempts: z.ZodDefault<z.ZodArray<z.ZodObject<{
3828
+ lastVendorError: z.ZodOptional<z.ZodString>;
3805
3829
  harnessId: z.ZodString;
3806
3830
  profileId: z.ZodNullable<z.ZodString>;
3807
3831
  profileDisplayName: z.ZodNullable<z.ZodString>;
@@ -3826,6 +3850,7 @@ export declare const ThreadHistoryTurn: z.ZodObject<Omit<{
3826
3850
  source: string;
3827
3851
  }>>;
3828
3852
  }, "strip", z.ZodTypeAny, {
3853
+ lastVendorError?: string | undefined;
3829
3854
  harnessId: string;
3830
3855
  profileId: string | null;
3831
3856
  profileDisplayName: string | null;
@@ -3842,6 +3867,7 @@ export declare const ThreadHistoryTurn: z.ZodObject<Omit<{
3842
3867
  source: string;
3843
3868
  } | null;
3844
3869
  }, {
3870
+ lastVendorError?: string | undefined;
3845
3871
  harnessId: string;
3846
3872
  profileId: string | null;
3847
3873
  profileDisplayName: string | null;
@@ -3860,6 +3886,7 @@ export declare const ThreadHistoryTurn: z.ZodObject<Omit<{
3860
3886
  }>, "many">>;
3861
3887
  nextActions: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
3862
3888
  }, "strip", z.ZodTypeAny, {
3889
+ lastVendorError?: string | null | undefined;
3863
3890
  requestRefusal?: {
3864
3891
  scope: "turn_text";
3865
3892
  unit: "unicode_scalars";
@@ -3943,6 +3970,7 @@ export declare const ThreadHistoryTurn: z.ZodObject<Omit<{
3943
3970
  source: string;
3944
3971
  } | null;
3945
3972
  poolAttempts: {
3973
+ lastVendorError?: string | undefined;
3946
3974
  harnessId: string;
3947
3975
  profileId: string | null;
3948
3976
  profileDisplayName: string | null;
@@ -3961,6 +3989,7 @@ export declare const ThreadHistoryTurn: z.ZodObject<Omit<{
3961
3989
  }[];
3962
3990
  nextActions: string[];
3963
3991
  }, {
3992
+ lastVendorError?: string | null | undefined;
3964
3993
  requestRefusal?: {
3965
3994
  scope: "turn_text";
3966
3995
  unit: "unicode_scalars";
@@ -4044,6 +4073,7 @@ export declare const ThreadHistoryTurn: z.ZodObject<Omit<{
4044
4073
  source: string;
4045
4074
  } | null | undefined;
4046
4075
  poolAttempts?: {
4076
+ lastVendorError?: string | undefined;
4047
4077
  harnessId: string;
4048
4078
  profileId: string | null;
4049
4079
  profileDisplayName: string | null;
@@ -4183,6 +4213,7 @@ export declare const ThreadHistoryTurn: z.ZodObject<Omit<{
4183
4213
  spendUsd?: number | null | undefined;
4184
4214
  outputReadyState: "diagnostic" | "finalizing" | "pending" | "ready";
4185
4215
  waitingOnUser: boolean;
4216
+ asyncQuestionsOnly: boolean;
4186
4217
  finishedAt: string | null;
4187
4218
  delegation: {
4188
4219
  requested: boolean;
@@ -4309,6 +4340,7 @@ export declare const ThreadHistoryTurn: z.ZodObject<Omit<{
4309
4340
  requiredAction: string | null;
4310
4341
  } | null;
4311
4342
  failure: {
4343
+ lastVendorError?: string | null | undefined;
4312
4344
  requestRefusal?: {
4313
4345
  scope: "turn_text";
4314
4346
  unit: "unicode_scalars";
@@ -4392,6 +4424,7 @@ export declare const ThreadHistoryTurn: z.ZodObject<Omit<{
4392
4424
  source: string;
4393
4425
  } | null;
4394
4426
  poolAttempts: {
4427
+ lastVendorError?: string | undefined;
4395
4428
  harnessId: string;
4396
4429
  profileId: string | null;
4397
4430
  profileDisplayName: string | null;
@@ -4499,6 +4532,7 @@ export declare const ThreadHistoryTurn: z.ZodObject<Omit<{
4499
4532
  spendUsd?: number | null | undefined;
4500
4533
  outputReadyState?: "diagnostic" | "finalizing" | "pending" | "ready" | undefined;
4501
4534
  waitingOnUser?: boolean | undefined;
4535
+ asyncQuestionsOnly?: boolean | undefined;
4502
4536
  finishedAt?: string | null | undefined;
4503
4537
  delegation?: {
4504
4538
  requested?: boolean | undefined;
@@ -4625,6 +4659,7 @@ export declare const ThreadHistoryTurn: z.ZodObject<Omit<{
4625
4659
  requiredAction: string | null;
4626
4660
  } | null | undefined;
4627
4661
  failure?: {
4662
+ lastVendorError?: string | null | undefined;
4628
4663
  requestRefusal?: {
4629
4664
  scope: "turn_text";
4630
4665
  unit: "unicode_scalars";
@@ -4708,6 +4743,7 @@ export declare const ThreadHistoryTurn: z.ZodObject<Omit<{
4708
4743
  source: string;
4709
4744
  } | null | undefined;
4710
4745
  poolAttempts?: {
4746
+ lastVendorError?: string | undefined;
4711
4747
  harnessId: string;
4712
4748
  profileId: string | null;
4713
4749
  profileDisplayName: string | null;
@@ -4927,6 +4963,7 @@ export declare const ThreadHistoryTurn: z.ZodObject<Omit<{
4927
4963
  spendUsd: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
4928
4964
  outputReadyState: z.ZodDefault<z.ZodEnum<["pending", "finalizing", "ready", "diagnostic"]>>;
4929
4965
  waitingOnUser: z.ZodDefault<z.ZodBoolean>;
4966
+ asyncQuestionsOnly: z.ZodDefault<z.ZodBoolean>;
4930
4967
  finishedAt: z.ZodDefault<z.ZodNullable<z.ZodString>>;
4931
4968
  delegation: z.ZodDefault<z.ZodNullable<z.ZodEffects<z.ZodObject<{
4932
4969
  requested: z.ZodDefault<z.ZodBoolean>;
@@ -5001,6 +5038,7 @@ export declare const ThreadHistoryTurn: z.ZodObject<Omit<{
5001
5038
  spendUsd?: number | null | undefined;
5002
5039
  outputReadyState: "diagnostic" | "finalizing" | "pending" | "ready";
5003
5040
  waitingOnUser: boolean;
5041
+ asyncQuestionsOnly: boolean;
5004
5042
  finishedAt: string | null;
5005
5043
  delegation: {
5006
5044
  requested: boolean;
@@ -5051,6 +5089,7 @@ export declare const ThreadHistoryTurn: z.ZodObject<Omit<{
5051
5089
  spendUsd?: number | null | undefined;
5052
5090
  outputReadyState?: "diagnostic" | "finalizing" | "pending" | "ready" | undefined;
5053
5091
  waitingOnUser?: boolean | undefined;
5092
+ asyncQuestionsOnly?: boolean | undefined;
5054
5093
  finishedAt?: string | null | undefined;
5055
5094
  delegation?: {
5056
5095
  requested?: boolean | undefined;
@@ -5252,6 +5291,7 @@ export declare const ThreadHistoryTurn: z.ZodObject<Omit<{
5252
5291
  spendUsd?: number | null | undefined;
5253
5292
  outputReadyState: "diagnostic" | "finalizing" | "pending" | "ready";
5254
5293
  waitingOnUser: boolean;
5294
+ asyncQuestionsOnly: boolean;
5255
5295
  finishedAt: string | null;
5256
5296
  delegation: {
5257
5297
  requested: boolean;
@@ -5378,6 +5418,7 @@ export declare const ThreadHistoryTurn: z.ZodObject<Omit<{
5378
5418
  requiredAction: string | null;
5379
5419
  } | null;
5380
5420
  failure: {
5421
+ lastVendorError?: string | null | undefined;
5381
5422
  requestRefusal?: {
5382
5423
  scope: "turn_text";
5383
5424
  unit: "unicode_scalars";
@@ -5461,6 +5502,7 @@ export declare const ThreadHistoryTurn: z.ZodObject<Omit<{
5461
5502
  source: string;
5462
5503
  } | null;
5463
5504
  poolAttempts: {
5505
+ lastVendorError?: string | undefined;
5464
5506
  harnessId: string;
5465
5507
  profileId: string | null;
5466
5508
  profileDisplayName: string | null;
@@ -5630,6 +5672,7 @@ export declare const ThreadHistoryTurn: z.ZodObject<Omit<{
5630
5672
  spendUsd?: number | null | undefined;
5631
5673
  outputReadyState?: "diagnostic" | "finalizing" | "pending" | "ready" | undefined;
5632
5674
  waitingOnUser?: boolean | undefined;
5675
+ asyncQuestionsOnly?: boolean | undefined;
5633
5676
  finishedAt?: string | null | undefined;
5634
5677
  delegation?: {
5635
5678
  requested?: boolean | undefined;
@@ -5756,6 +5799,7 @@ export declare const ThreadHistoryTurn: z.ZodObject<Omit<{
5756
5799
  requiredAction: string | null;
5757
5800
  } | null | undefined;
5758
5801
  failure?: {
5802
+ lastVendorError?: string | null | undefined;
5759
5803
  requestRefusal?: {
5760
5804
  scope: "turn_text";
5761
5805
  unit: "unicode_scalars";
@@ -5839,6 +5883,7 @@ export declare const ThreadHistoryTurn: z.ZodObject<Omit<{
5839
5883
  source: string;
5840
5884
  } | null | undefined;
5841
5885
  poolAttempts?: {
5886
+ lastVendorError?: string | undefined;
5842
5887
  harnessId: string;
5843
5888
  profileId: string | null;
5844
5889
  profileDisplayName: string | null;
@@ -6118,6 +6163,7 @@ export declare const ThreadHistoryHeader: z.ZodObject<{
6118
6163
  spendUsd: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
6119
6164
  outputReadyState: z.ZodDefault<z.ZodEnum<["pending", "finalizing", "ready", "diagnostic"]>>;
6120
6165
  waitingOnUser: z.ZodDefault<z.ZodBoolean>;
6166
+ asyncQuestionsOnly: z.ZodDefault<z.ZodBoolean>;
6121
6167
  finishedAt: z.ZodDefault<z.ZodNullable<z.ZodString>>;
6122
6168
  delegation: z.ZodDefault<z.ZodNullable<z.ZodEffects<z.ZodObject<{
6123
6169
  requested: z.ZodDefault<z.ZodBoolean>;
@@ -6192,6 +6238,7 @@ export declare const ThreadHistoryHeader: z.ZodObject<{
6192
6238
  spendUsd?: number | null | undefined;
6193
6239
  outputReadyState: "diagnostic" | "finalizing" | "pending" | "ready";
6194
6240
  waitingOnUser: boolean;
6241
+ asyncQuestionsOnly: boolean;
6195
6242
  finishedAt: string | null;
6196
6243
  delegation: {
6197
6244
  requested: boolean;
@@ -6242,6 +6289,7 @@ export declare const ThreadHistoryHeader: z.ZodObject<{
6242
6289
  spendUsd?: number | null | undefined;
6243
6290
  outputReadyState?: "diagnostic" | "finalizing" | "pending" | "ready" | undefined;
6244
6291
  waitingOnUser?: boolean | undefined;
6292
+ asyncQuestionsOnly?: boolean | undefined;
6245
6293
  finishedAt?: string | null | undefined;
6246
6294
  delegation?: {
6247
6295
  requested?: boolean | undefined;
@@ -6475,6 +6523,7 @@ export declare const ThreadHistoryHeader: z.ZodObject<{
6475
6523
  spendUsd: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
6476
6524
  outputReadyState: z.ZodDefault<z.ZodEnum<["pending", "finalizing", "ready", "diagnostic"]>>;
6477
6525
  waitingOnUser: z.ZodDefault<z.ZodBoolean>;
6526
+ asyncQuestionsOnly: z.ZodDefault<z.ZodBoolean>;
6478
6527
  finishedAt: z.ZodDefault<z.ZodNullable<z.ZodString>>;
6479
6528
  delegation: z.ZodDefault<z.ZodNullable<z.ZodEffects<z.ZodObject<{
6480
6529
  requested: z.ZodDefault<z.ZodBoolean>;
@@ -6549,6 +6598,7 @@ export declare const ThreadHistoryHeader: z.ZodObject<{
6549
6598
  spendUsd?: number | null | undefined;
6550
6599
  outputReadyState: "diagnostic" | "finalizing" | "pending" | "ready";
6551
6600
  waitingOnUser: boolean;
6601
+ asyncQuestionsOnly: boolean;
6552
6602
  finishedAt: string | null;
6553
6603
  delegation: {
6554
6604
  requested: boolean;
@@ -6599,6 +6649,7 @@ export declare const ThreadHistoryHeader: z.ZodObject<{
6599
6649
  spendUsd?: number | null | undefined;
6600
6650
  outputReadyState?: "diagnostic" | "finalizing" | "pending" | "ready" | undefined;
6601
6651
  waitingOnUser?: boolean | undefined;
6652
+ asyncQuestionsOnly?: boolean | undefined;
6602
6653
  finishedAt?: string | null | undefined;
6603
6654
  delegation?: {
6604
6655
  requested?: boolean | undefined;
@@ -6652,6 +6703,7 @@ export declare const ThreadHistoryHeader: z.ZodObject<{
6652
6703
  spendUsd?: number | null | undefined;
6653
6704
  outputReadyState: "diagnostic" | "finalizing" | "pending" | "ready";
6654
6705
  waitingOnUser: boolean;
6706
+ asyncQuestionsOnly: boolean;
6655
6707
  finishedAt: string | null;
6656
6708
  delegation: {
6657
6709
  requested: boolean;
@@ -6705,6 +6757,7 @@ export declare const ThreadHistoryHeader: z.ZodObject<{
6705
6757
  spendUsd?: number | null | undefined;
6706
6758
  outputReadyState?: "diagnostic" | "finalizing" | "pending" | "ready" | undefined;
6707
6759
  waitingOnUser?: boolean | undefined;
6760
+ asyncQuestionsOnly?: boolean | undefined;
6708
6761
  finishedAt?: string | null | undefined;
6709
6762
  delegation?: {
6710
6763
  requested?: boolean | undefined;
@@ -6824,6 +6877,7 @@ export declare const ThreadHistoryHeader: z.ZodObject<{
6824
6877
  spendUsd?: number | null | undefined;
6825
6878
  outputReadyState: "diagnostic" | "finalizing" | "pending" | "ready";
6826
6879
  waitingOnUser: boolean;
6880
+ asyncQuestionsOnly: boolean;
6827
6881
  finishedAt: string | null;
6828
6882
  delegation: {
6829
6883
  requested: boolean;
@@ -6927,6 +6981,7 @@ export declare const ThreadHistoryHeader: z.ZodObject<{
6927
6981
  spendUsd?: number | null | undefined;
6928
6982
  outputReadyState?: "diagnostic" | "finalizing" | "pending" | "ready" | undefined;
6929
6983
  waitingOnUser?: boolean | undefined;
6984
+ asyncQuestionsOnly?: boolean | undefined;
6930
6985
  finishedAt?: string | null | undefined;
6931
6986
  delegation?: {
6932
6987
  requested?: boolean | undefined;
@@ -7178,6 +7233,7 @@ export declare const ThreadHistoryPage: z.ZodEffects<z.ZodObject<{
7178
7233
  spendUsd: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
7179
7234
  outputReadyState: z.ZodDefault<z.ZodEnum<["pending", "finalizing", "ready", "diagnostic"]>>;
7180
7235
  waitingOnUser: z.ZodDefault<z.ZodBoolean>;
7236
+ asyncQuestionsOnly: z.ZodDefault<z.ZodBoolean>;
7181
7237
  finishedAt: z.ZodDefault<z.ZodNullable<z.ZodString>>;
7182
7238
  delegation: z.ZodDefault<z.ZodNullable<z.ZodEffects<z.ZodObject<{
7183
7239
  requested: z.ZodDefault<z.ZodBoolean>;
@@ -7252,6 +7308,7 @@ export declare const ThreadHistoryPage: z.ZodEffects<z.ZodObject<{
7252
7308
  spendUsd?: number | null | undefined;
7253
7309
  outputReadyState: "diagnostic" | "finalizing" | "pending" | "ready";
7254
7310
  waitingOnUser: boolean;
7311
+ asyncQuestionsOnly: boolean;
7255
7312
  finishedAt: string | null;
7256
7313
  delegation: {
7257
7314
  requested: boolean;
@@ -7302,6 +7359,7 @@ export declare const ThreadHistoryPage: z.ZodEffects<z.ZodObject<{
7302
7359
  spendUsd?: number | null | undefined;
7303
7360
  outputReadyState?: "diagnostic" | "finalizing" | "pending" | "ready" | undefined;
7304
7361
  waitingOnUser?: boolean | undefined;
7362
+ asyncQuestionsOnly?: boolean | undefined;
7305
7363
  finishedAt?: string | null | undefined;
7306
7364
  delegation?: {
7307
7365
  requested?: boolean | undefined;
@@ -7535,6 +7593,7 @@ export declare const ThreadHistoryPage: z.ZodEffects<z.ZodObject<{
7535
7593
  spendUsd: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
7536
7594
  outputReadyState: z.ZodDefault<z.ZodEnum<["pending", "finalizing", "ready", "diagnostic"]>>;
7537
7595
  waitingOnUser: z.ZodDefault<z.ZodBoolean>;
7596
+ asyncQuestionsOnly: z.ZodDefault<z.ZodBoolean>;
7538
7597
  finishedAt: z.ZodDefault<z.ZodNullable<z.ZodString>>;
7539
7598
  delegation: z.ZodDefault<z.ZodNullable<z.ZodEffects<z.ZodObject<{
7540
7599
  requested: z.ZodDefault<z.ZodBoolean>;
@@ -7609,6 +7668,7 @@ export declare const ThreadHistoryPage: z.ZodEffects<z.ZodObject<{
7609
7668
  spendUsd?: number | null | undefined;
7610
7669
  outputReadyState: "diagnostic" | "finalizing" | "pending" | "ready";
7611
7670
  waitingOnUser: boolean;
7671
+ asyncQuestionsOnly: boolean;
7612
7672
  finishedAt: string | null;
7613
7673
  delegation: {
7614
7674
  requested: boolean;
@@ -7659,6 +7719,7 @@ export declare const ThreadHistoryPage: z.ZodEffects<z.ZodObject<{
7659
7719
  spendUsd?: number | null | undefined;
7660
7720
  outputReadyState?: "diagnostic" | "finalizing" | "pending" | "ready" | undefined;
7661
7721
  waitingOnUser?: boolean | undefined;
7722
+ asyncQuestionsOnly?: boolean | undefined;
7662
7723
  finishedAt?: string | null | undefined;
7663
7724
  delegation?: {
7664
7725
  requested?: boolean | undefined;
@@ -7712,6 +7773,7 @@ export declare const ThreadHistoryPage: z.ZodEffects<z.ZodObject<{
7712
7773
  spendUsd?: number | null | undefined;
7713
7774
  outputReadyState: "diagnostic" | "finalizing" | "pending" | "ready";
7714
7775
  waitingOnUser: boolean;
7776
+ asyncQuestionsOnly: boolean;
7715
7777
  finishedAt: string | null;
7716
7778
  delegation: {
7717
7779
  requested: boolean;
@@ -7765,6 +7827,7 @@ export declare const ThreadHistoryPage: z.ZodEffects<z.ZodObject<{
7765
7827
  spendUsd?: number | null | undefined;
7766
7828
  outputReadyState?: "diagnostic" | "finalizing" | "pending" | "ready" | undefined;
7767
7829
  waitingOnUser?: boolean | undefined;
7830
+ asyncQuestionsOnly?: boolean | undefined;
7768
7831
  finishedAt?: string | null | undefined;
7769
7832
  delegation?: {
7770
7833
  requested?: boolean | undefined;
@@ -7884,6 +7947,7 @@ export declare const ThreadHistoryPage: z.ZodEffects<z.ZodObject<{
7884
7947
  spendUsd?: number | null | undefined;
7885
7948
  outputReadyState: "diagnostic" | "finalizing" | "pending" | "ready";
7886
7949
  waitingOnUser: boolean;
7950
+ asyncQuestionsOnly: boolean;
7887
7951
  finishedAt: string | null;
7888
7952
  delegation: {
7889
7953
  requested: boolean;
@@ -7987,6 +8051,7 @@ export declare const ThreadHistoryPage: z.ZodEffects<z.ZodObject<{
7987
8051
  spendUsd?: number | null | undefined;
7988
8052
  outputReadyState?: "diagnostic" | "finalizing" | "pending" | "ready" | undefined;
7989
8053
  waitingOnUser?: boolean | undefined;
8054
+ asyncQuestionsOnly?: boolean | undefined;
7990
8055
  finishedAt?: string | null | undefined;
7991
8056
  delegation?: {
7992
8057
  requested?: boolean | undefined;
@@ -8158,6 +8223,7 @@ export declare const ThreadHistoryPage: z.ZodEffects<z.ZodObject<{
8158
8223
  spendUsd: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
8159
8224
  outputReadyState: z.ZodDefault<z.ZodEnum<["pending", "finalizing", "ready", "diagnostic"]>>;
8160
8225
  waitingOnUser: z.ZodDefault<z.ZodBoolean>;
8226
+ asyncQuestionsOnly: z.ZodDefault<z.ZodBoolean>;
8161
8227
  finishedAt: z.ZodDefault<z.ZodNullable<z.ZodString>>;
8162
8228
  delegation: z.ZodDefault<z.ZodNullable<z.ZodEffects<z.ZodObject<{
8163
8229
  requested: z.ZodDefault<z.ZodBoolean>;
@@ -8232,6 +8298,7 @@ export declare const ThreadHistoryPage: z.ZodEffects<z.ZodObject<{
8232
8298
  spendUsd?: number | null | undefined;
8233
8299
  outputReadyState: "diagnostic" | "finalizing" | "pending" | "ready";
8234
8300
  waitingOnUser: boolean;
8301
+ asyncQuestionsOnly: boolean;
8235
8302
  finishedAt: string | null;
8236
8303
  delegation: {
8237
8304
  requested: boolean;
@@ -8282,6 +8349,7 @@ export declare const ThreadHistoryPage: z.ZodEffects<z.ZodObject<{
8282
8349
  spendUsd?: number | null | undefined;
8283
8350
  outputReadyState?: "diagnostic" | "finalizing" | "pending" | "ready" | undefined;
8284
8351
  waitingOnUser?: boolean | undefined;
8352
+ asyncQuestionsOnly?: boolean | undefined;
8285
8353
  finishedAt?: string | null | undefined;
8286
8354
  delegation?: {
8287
8355
  requested?: boolean | undefined;
@@ -8508,6 +8576,7 @@ export declare const ThreadHistoryPage: z.ZodEffects<z.ZodObject<{
8508
8576
  spendUsd: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
8509
8577
  outputReadyState: z.ZodDefault<z.ZodEnum<["pending", "finalizing", "ready", "diagnostic"]>>;
8510
8578
  waitingOnUser: z.ZodDefault<z.ZodBoolean>;
8579
+ asyncQuestionsOnly: z.ZodDefault<z.ZodBoolean>;
8511
8580
  finishedAt: z.ZodDefault<z.ZodNullable<z.ZodString>>;
8512
8581
  delegation: z.ZodDefault<z.ZodNullable<z.ZodEffects<z.ZodObject<{
8513
8582
  requested: z.ZodDefault<z.ZodBoolean>;
@@ -9130,6 +9199,7 @@ export declare const ThreadHistoryPage: z.ZodEffects<z.ZodObject<{
9130
9199
  requiredAction: string | null;
9131
9200
  }>>>;
9132
9201
  failure: z.ZodDefault<z.ZodNullable<z.ZodObject<{
9202
+ lastVendorError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9133
9203
  requestRefusal: z.ZodOptional<z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
9134
9204
  scope: z.ZodLiteral<"turn_text">;
9135
9205
  unit: z.ZodLiteral<"unicode_scalars">;
@@ -9382,6 +9452,7 @@ export declare const ThreadHistoryPage: z.ZodEffects<z.ZodObject<{
9382
9452
  source: string;
9383
9453
  }>>>;
9384
9454
  poolAttempts: z.ZodDefault<z.ZodArray<z.ZodObject<{
9455
+ lastVendorError: z.ZodOptional<z.ZodString>;
9385
9456
  harnessId: z.ZodString;
9386
9457
  profileId: z.ZodNullable<z.ZodString>;
9387
9458
  profileDisplayName: z.ZodNullable<z.ZodString>;
@@ -9406,6 +9477,7 @@ export declare const ThreadHistoryPage: z.ZodEffects<z.ZodObject<{
9406
9477
  source: string;
9407
9478
  }>>;
9408
9479
  }, "strip", z.ZodTypeAny, {
9480
+ lastVendorError?: string | undefined;
9409
9481
  harnessId: string;
9410
9482
  profileId: string | null;
9411
9483
  profileDisplayName: string | null;
@@ -9422,6 +9494,7 @@ export declare const ThreadHistoryPage: z.ZodEffects<z.ZodObject<{
9422
9494
  source: string;
9423
9495
  } | null;
9424
9496
  }, {
9497
+ lastVendorError?: string | undefined;
9425
9498
  harnessId: string;
9426
9499
  profileId: string | null;
9427
9500
  profileDisplayName: string | null;
@@ -9440,6 +9513,7 @@ export declare const ThreadHistoryPage: z.ZodEffects<z.ZodObject<{
9440
9513
  }>, "many">>;
9441
9514
  nextActions: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
9442
9515
  }, "strip", z.ZodTypeAny, {
9516
+ lastVendorError?: string | null | undefined;
9443
9517
  requestRefusal?: {
9444
9518
  scope: "turn_text";
9445
9519
  unit: "unicode_scalars";
@@ -9523,6 +9597,7 @@ export declare const ThreadHistoryPage: z.ZodEffects<z.ZodObject<{
9523
9597
  source: string;
9524
9598
  } | null;
9525
9599
  poolAttempts: {
9600
+ lastVendorError?: string | undefined;
9526
9601
  harnessId: string;
9527
9602
  profileId: string | null;
9528
9603
  profileDisplayName: string | null;
@@ -9541,6 +9616,7 @@ export declare const ThreadHistoryPage: z.ZodEffects<z.ZodObject<{
9541
9616
  }[];
9542
9617
  nextActions: string[];
9543
9618
  }, {
9619
+ lastVendorError?: string | null | undefined;
9544
9620
  requestRefusal?: {
9545
9621
  scope: "turn_text";
9546
9622
  unit: "unicode_scalars";
@@ -9624,6 +9700,7 @@ export declare const ThreadHistoryPage: z.ZodEffects<z.ZodObject<{
9624
9700
  source: string;
9625
9701
  } | null | undefined;
9626
9702
  poolAttempts?: {
9703
+ lastVendorError?: string | undefined;
9627
9704
  harnessId: string;
9628
9705
  profileId: string | null;
9629
9706
  profileDisplayName: string | null;
@@ -9763,6 +9840,7 @@ export declare const ThreadHistoryPage: z.ZodEffects<z.ZodObject<{
9763
9840
  spendUsd?: number | null | undefined;
9764
9841
  outputReadyState: "diagnostic" | "finalizing" | "pending" | "ready";
9765
9842
  waitingOnUser: boolean;
9843
+ asyncQuestionsOnly: boolean;
9766
9844
  finishedAt: string | null;
9767
9845
  delegation: {
9768
9846
  requested: boolean;
@@ -9889,6 +9967,7 @@ export declare const ThreadHistoryPage: z.ZodEffects<z.ZodObject<{
9889
9967
  requiredAction: string | null;
9890
9968
  } | null;
9891
9969
  failure: {
9970
+ lastVendorError?: string | null | undefined;
9892
9971
  requestRefusal?: {
9893
9972
  scope: "turn_text";
9894
9973
  unit: "unicode_scalars";
@@ -9972,6 +10051,7 @@ export declare const ThreadHistoryPage: z.ZodEffects<z.ZodObject<{
9972
10051
  source: string;
9973
10052
  } | null;
9974
10053
  poolAttempts: {
10054
+ lastVendorError?: string | undefined;
9975
10055
  harnessId: string;
9976
10056
  profileId: string | null;
9977
10057
  profileDisplayName: string | null;
@@ -10079,6 +10159,7 @@ export declare const ThreadHistoryPage: z.ZodEffects<z.ZodObject<{
10079
10159
  spendUsd?: number | null | undefined;
10080
10160
  outputReadyState?: "diagnostic" | "finalizing" | "pending" | "ready" | undefined;
10081
10161
  waitingOnUser?: boolean | undefined;
10162
+ asyncQuestionsOnly?: boolean | undefined;
10082
10163
  finishedAt?: string | null | undefined;
10083
10164
  delegation?: {
10084
10165
  requested?: boolean | undefined;
@@ -10205,6 +10286,7 @@ export declare const ThreadHistoryPage: z.ZodEffects<z.ZodObject<{
10205
10286
  requiredAction: string | null;
10206
10287
  } | null | undefined;
10207
10288
  failure?: {
10289
+ lastVendorError?: string | null | undefined;
10208
10290
  requestRefusal?: {
10209
10291
  scope: "turn_text";
10210
10292
  unit: "unicode_scalars";
@@ -10288,6 +10370,7 @@ export declare const ThreadHistoryPage: z.ZodEffects<z.ZodObject<{
10288
10370
  source: string;
10289
10371
  } | null | undefined;
10290
10372
  poolAttempts?: {
10373
+ lastVendorError?: string | undefined;
10291
10374
  harnessId: string;
10292
10375
  profileId: string | null;
10293
10376
  profileDisplayName: string | null;
@@ -10507,6 +10590,7 @@ export declare const ThreadHistoryPage: z.ZodEffects<z.ZodObject<{
10507
10590
  spendUsd: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
10508
10591
  outputReadyState: z.ZodDefault<z.ZodEnum<["pending", "finalizing", "ready", "diagnostic"]>>;
10509
10592
  waitingOnUser: z.ZodDefault<z.ZodBoolean>;
10593
+ asyncQuestionsOnly: z.ZodDefault<z.ZodBoolean>;
10510
10594
  finishedAt: z.ZodDefault<z.ZodNullable<z.ZodString>>;
10511
10595
  delegation: z.ZodDefault<z.ZodNullable<z.ZodEffects<z.ZodObject<{
10512
10596
  requested: z.ZodDefault<z.ZodBoolean>;
@@ -10581,6 +10665,7 @@ export declare const ThreadHistoryPage: z.ZodEffects<z.ZodObject<{
10581
10665
  spendUsd?: number | null | undefined;
10582
10666
  outputReadyState: "diagnostic" | "finalizing" | "pending" | "ready";
10583
10667
  waitingOnUser: boolean;
10668
+ asyncQuestionsOnly: boolean;
10584
10669
  finishedAt: string | null;
10585
10670
  delegation: {
10586
10671
  requested: boolean;
@@ -10631,6 +10716,7 @@ export declare const ThreadHistoryPage: z.ZodEffects<z.ZodObject<{
10631
10716
  spendUsd?: number | null | undefined;
10632
10717
  outputReadyState?: "diagnostic" | "finalizing" | "pending" | "ready" | undefined;
10633
10718
  waitingOnUser?: boolean | undefined;
10719
+ asyncQuestionsOnly?: boolean | undefined;
10634
10720
  finishedAt?: string | null | undefined;
10635
10721
  delegation?: {
10636
10722
  requested?: boolean | undefined;
@@ -10832,6 +10918,7 @@ export declare const ThreadHistoryPage: z.ZodEffects<z.ZodObject<{
10832
10918
  spendUsd?: number | null | undefined;
10833
10919
  outputReadyState: "diagnostic" | "finalizing" | "pending" | "ready";
10834
10920
  waitingOnUser: boolean;
10921
+ asyncQuestionsOnly: boolean;
10835
10922
  finishedAt: string | null;
10836
10923
  delegation: {
10837
10924
  requested: boolean;
@@ -10958,6 +11045,7 @@ export declare const ThreadHistoryPage: z.ZodEffects<z.ZodObject<{
10958
11045
  requiredAction: string | null;
10959
11046
  } | null;
10960
11047
  failure: {
11048
+ lastVendorError?: string | null | undefined;
10961
11049
  requestRefusal?: {
10962
11050
  scope: "turn_text";
10963
11051
  unit: "unicode_scalars";
@@ -11041,6 +11129,7 @@ export declare const ThreadHistoryPage: z.ZodEffects<z.ZodObject<{
11041
11129
  source: string;
11042
11130
  } | null;
11043
11131
  poolAttempts: {
11132
+ lastVendorError?: string | undefined;
11044
11133
  harnessId: string;
11045
11134
  profileId: string | null;
11046
11135
  profileDisplayName: string | null;
@@ -11210,6 +11299,7 @@ export declare const ThreadHistoryPage: z.ZodEffects<z.ZodObject<{
11210
11299
  spendUsd?: number | null | undefined;
11211
11300
  outputReadyState?: "diagnostic" | "finalizing" | "pending" | "ready" | undefined;
11212
11301
  waitingOnUser?: boolean | undefined;
11302
+ asyncQuestionsOnly?: boolean | undefined;
11213
11303
  finishedAt?: string | null | undefined;
11214
11304
  delegation?: {
11215
11305
  requested?: boolean | undefined;
@@ -11336,6 +11426,7 @@ export declare const ThreadHistoryPage: z.ZodEffects<z.ZodObject<{
11336
11426
  requiredAction: string | null;
11337
11427
  } | null | undefined;
11338
11428
  failure?: {
11429
+ lastVendorError?: string | null | undefined;
11339
11430
  requestRefusal?: {
11340
11431
  scope: "turn_text";
11341
11432
  unit: "unicode_scalars";
@@ -11419,6 +11510,7 @@ export declare const ThreadHistoryPage: z.ZodEffects<z.ZodObject<{
11419
11510
  source: string;
11420
11511
  } | null | undefined;
11421
11512
  poolAttempts?: {
11513
+ lastVendorError?: string | undefined;
11422
11514
  harnessId: string;
11423
11515
  profileId: string | null;
11424
11516
  profileDisplayName: string | null;
@@ -11580,6 +11672,7 @@ export declare const ThreadHistoryPage: z.ZodEffects<z.ZodObject<{
11580
11672
  spendUsd?: number | null | undefined;
11581
11673
  outputReadyState: "diagnostic" | "finalizing" | "pending" | "ready";
11582
11674
  waitingOnUser: boolean;
11675
+ asyncQuestionsOnly: boolean;
11583
11676
  finishedAt: string | null;
11584
11677
  delegation: {
11585
11678
  requested: boolean;
@@ -11708,6 +11801,7 @@ export declare const ThreadHistoryPage: z.ZodEffects<z.ZodObject<{
11708
11801
  spendUsd?: number | null | undefined;
11709
11802
  outputReadyState: "diagnostic" | "finalizing" | "pending" | "ready";
11710
11803
  waitingOnUser: boolean;
11804
+ asyncQuestionsOnly: boolean;
11711
11805
  finishedAt: string | null;
11712
11806
  delegation: {
11713
11807
  requested: boolean;
@@ -11834,6 +11928,7 @@ export declare const ThreadHistoryPage: z.ZodEffects<z.ZodObject<{
11834
11928
  requiredAction: string | null;
11835
11929
  } | null;
11836
11930
  failure: {
11931
+ lastVendorError?: string | null | undefined;
11837
11932
  requestRefusal?: {
11838
11933
  scope: "turn_text";
11839
11934
  unit: "unicode_scalars";
@@ -11917,6 +12012,7 @@ export declare const ThreadHistoryPage: z.ZodEffects<z.ZodObject<{
11917
12012
  source: string;
11918
12013
  } | null;
11919
12014
  poolAttempts: {
12015
+ lastVendorError?: string | undefined;
11920
12016
  harnessId: string;
11921
12017
  profileId: string | null;
11922
12018
  profileDisplayName: string | null;
@@ -12078,6 +12174,7 @@ export declare const ThreadHistoryPage: z.ZodEffects<z.ZodObject<{
12078
12174
  spendUsd?: number | null | undefined;
12079
12175
  outputReadyState?: "diagnostic" | "finalizing" | "pending" | "ready" | undefined;
12080
12176
  waitingOnUser?: boolean | undefined;
12177
+ asyncQuestionsOnly?: boolean | undefined;
12081
12178
  finishedAt?: string | null | undefined;
12082
12179
  delegation?: {
12083
12180
  requested?: boolean | undefined;
@@ -12206,6 +12303,7 @@ export declare const ThreadHistoryPage: z.ZodEffects<z.ZodObject<{
12206
12303
  spendUsd?: number | null | undefined;
12207
12304
  outputReadyState?: "diagnostic" | "finalizing" | "pending" | "ready" | undefined;
12208
12305
  waitingOnUser?: boolean | undefined;
12306
+ asyncQuestionsOnly?: boolean | undefined;
12209
12307
  finishedAt?: string | null | undefined;
12210
12308
  delegation?: {
12211
12309
  requested?: boolean | undefined;
@@ -12332,6 +12430,7 @@ export declare const ThreadHistoryPage: z.ZodEffects<z.ZodObject<{
12332
12430
  requiredAction: string | null;
12333
12431
  } | null | undefined;
12334
12432
  failure?: {
12433
+ lastVendorError?: string | null | undefined;
12335
12434
  requestRefusal?: {
12336
12435
  scope: "turn_text";
12337
12436
  unit: "unicode_scalars";
@@ -12415,6 +12514,7 @@ export declare const ThreadHistoryPage: z.ZodEffects<z.ZodObject<{
12415
12514
  source: string;
12416
12515
  } | null | undefined;
12417
12516
  poolAttempts?: {
12517
+ lastVendorError?: string | undefined;
12418
12518
  harnessId: string;
12419
12519
  profileId: string | null;
12420
12520
  profileDisplayName: string | null;
@@ -12576,6 +12676,7 @@ export declare const ThreadHistoryPage: z.ZodEffects<z.ZodObject<{
12576
12676
  spendUsd?: number | null | undefined;
12577
12677
  outputReadyState: "diagnostic" | "finalizing" | "pending" | "ready";
12578
12678
  waitingOnUser: boolean;
12679
+ asyncQuestionsOnly: boolean;
12579
12680
  finishedAt: string | null;
12580
12681
  delegation: {
12581
12682
  requested: boolean;
@@ -12704,6 +12805,7 @@ export declare const ThreadHistoryPage: z.ZodEffects<z.ZodObject<{
12704
12805
  spendUsd?: number | null | undefined;
12705
12806
  outputReadyState: "diagnostic" | "finalizing" | "pending" | "ready";
12706
12807
  waitingOnUser: boolean;
12808
+ asyncQuestionsOnly: boolean;
12707
12809
  finishedAt: string | null;
12708
12810
  delegation: {
12709
12811
  requested: boolean;
@@ -12830,6 +12932,7 @@ export declare const ThreadHistoryPage: z.ZodEffects<z.ZodObject<{
12830
12932
  requiredAction: string | null;
12831
12933
  } | null;
12832
12934
  failure: {
12935
+ lastVendorError?: string | null | undefined;
12833
12936
  requestRefusal?: {
12834
12937
  scope: "turn_text";
12835
12938
  unit: "unicode_scalars";
@@ -12913,6 +13016,7 @@ export declare const ThreadHistoryPage: z.ZodEffects<z.ZodObject<{
12913
13016
  source: string;
12914
13017
  } | null;
12915
13018
  poolAttempts: {
13019
+ lastVendorError?: string | undefined;
12916
13020
  harnessId: string;
12917
13021
  profileId: string | null;
12918
13022
  profileDisplayName: string | null;
@@ -13074,6 +13178,7 @@ export declare const ThreadHistoryPage: z.ZodEffects<z.ZodObject<{
13074
13178
  spendUsd?: number | null | undefined;
13075
13179
  outputReadyState?: "diagnostic" | "finalizing" | "pending" | "ready" | undefined;
13076
13180
  waitingOnUser?: boolean | undefined;
13181
+ asyncQuestionsOnly?: boolean | undefined;
13077
13182
  finishedAt?: string | null | undefined;
13078
13183
  delegation?: {
13079
13184
  requested?: boolean | undefined;
@@ -13202,6 +13307,7 @@ export declare const ThreadHistoryPage: z.ZodEffects<z.ZodObject<{
13202
13307
  spendUsd?: number | null | undefined;
13203
13308
  outputReadyState?: "diagnostic" | "finalizing" | "pending" | "ready" | undefined;
13204
13309
  waitingOnUser?: boolean | undefined;
13310
+ asyncQuestionsOnly?: boolean | undefined;
13205
13311
  finishedAt?: string | null | undefined;
13206
13312
  delegation?: {
13207
13313
  requested?: boolean | undefined;
@@ -13328,6 +13434,7 @@ export declare const ThreadHistoryPage: z.ZodEffects<z.ZodObject<{
13328
13434
  requiredAction: string | null;
13329
13435
  } | null | undefined;
13330
13436
  failure?: {
13437
+ lastVendorError?: string | null | undefined;
13331
13438
  requestRefusal?: {
13332
13439
  scope: "turn_text";
13333
13440
  unit: "unicode_scalars";
@@ -13411,6 +13518,7 @@ export declare const ThreadHistoryPage: z.ZodEffects<z.ZodObject<{
13411
13518
  source: string;
13412
13519
  } | null | undefined;
13413
13520
  poolAttempts?: {
13521
+ lastVendorError?: string | undefined;
13414
13522
  harnessId: string;
13415
13523
  profileId: string | null;
13416
13524
  profileDisplayName: string | null;