@claudexor/schema 4.8.2 → 5.0.2

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 (195) hide show
  1. package/dist/account-resources.d.ts +325 -56
  2. package/dist/account-resources.d.ts.map +1 -1
  3. package/dist/account-resources.js +35 -5
  4. package/dist/account-resources.js.map +1 -1
  5. package/dist/account-routing-evidence.d.ts +253 -45
  6. package/dist/account-routing-evidence.d.ts.map +1 -1
  7. package/dist/account-target.d.ts +19 -5
  8. package/dist/account-target.d.ts.map +1 -1
  9. package/dist/account-target.js +14 -1
  10. package/dist/account-target.js.map +1 -1
  11. package/dist/agent-capabilities.d.ts +183 -0
  12. package/dist/agent-capabilities.d.ts.map +1 -1
  13. package/dist/agent-capabilities.js +2 -0
  14. package/dist/agent-capabilities.js.map +1 -1
  15. package/dist/budget.d.ts +3 -0
  16. package/dist/budget.d.ts.map +1 -1
  17. package/dist/budget.js +5 -1
  18. package/dist/budget.js.map +1 -1
  19. package/dist/capture-inventory.d.ts +60 -0
  20. package/dist/capture-inventory.d.ts.map +1 -0
  21. package/dist/capture-inventory.js +57 -0
  22. package/dist/capture-inventory.js.map +1 -0
  23. package/dist/control-harness-list.d.ts +102 -18
  24. package/dist/control-harness-list.d.ts.map +1 -1
  25. package/dist/control-harness-models.d.ts +299 -6
  26. package/dist/control-harness-models.d.ts.map +1 -1
  27. package/dist/control-harness-models.js +12 -3
  28. package/dist/control-harness-models.js.map +1 -1
  29. package/dist/control-operation-responses.d.ts +606 -23
  30. package/dist/control-operation-responses.d.ts.map +1 -1
  31. package/dist/control-operation-responses.js +3 -0
  32. package/dist/control-operation-responses.js.map +1 -1
  33. package/dist/control-run-detail.d.ts +1178 -72
  34. package/dist/control-run-detail.d.ts.map +1 -1
  35. package/dist/control-run-event-part.d.ts +3 -3
  36. package/dist/control-run-event-part.js +1 -1
  37. package/dist/control-run-event-part.js.map +1 -1
  38. package/dist/control-run-failure.d.ts +276 -12
  39. package/dist/control-run-failure.d.ts.map +1 -1
  40. package/dist/control-run-failure.js +54 -16
  41. package/dist/control-run-failure.js.map +1 -1
  42. package/dist/control-run-message.js +1 -1
  43. package/dist/control-run-message.js.map +1 -1
  44. package/dist/control-thread-apply.d.ts +165 -0
  45. package/dist/control-thread-apply.d.ts.map +1 -1
  46. package/dist/control-timeline.d.ts.map +1 -1
  47. package/dist/control-timeline.js +7 -3
  48. package/dist/control-timeline.js.map +1 -1
  49. package/dist/control.d.ts +383 -42
  50. package/dist/control.d.ts.map +1 -1
  51. package/dist/control.js +9 -5
  52. package/dist/control.js.map +1 -1
  53. package/dist/credential-profile-snapshot.d.ts +506 -90
  54. package/dist/credential-profile-snapshot.d.ts.map +1 -1
  55. package/dist/decision.d.ts +9 -9
  56. package/dist/decision.d.ts.map +1 -1
  57. package/dist/decision.js +4 -0
  58. package/dist/decision.js.map +1 -1
  59. package/dist/delivery.d.ts +162 -0
  60. package/dist/delivery.d.ts.map +1 -1
  61. package/dist/delivery.js +32 -0
  62. package/dist/delivery.js.map +1 -1
  63. package/dist/events.d.ts +7 -6
  64. package/dist/events.d.ts.map +1 -1
  65. package/dist/events.js +15 -8
  66. package/dist/events.js.map +1 -1
  67. package/dist/git-result.d.ts +99 -0
  68. package/dist/git-result.d.ts.map +1 -0
  69. package/dist/git-result.js +80 -0
  70. package/dist/git-result.js.map +1 -0
  71. package/dist/harness-model.d.ts +89 -0
  72. package/dist/harness-model.d.ts.map +1 -1
  73. package/dist/harness-model.js +83 -0
  74. package/dist/harness-model.js.map +1 -1
  75. package/dist/harness.d.ts +353 -35
  76. package/dist/harness.d.ts.map +1 -1
  77. package/dist/harness.js +4 -19
  78. package/dist/harness.js.map +1 -1
  79. package/dist/index.d.ts +5 -0
  80. package/dist/index.d.ts.map +1 -1
  81. package/dist/index.js +5 -0
  82. package/dist/index.js.map +1 -1
  83. package/dist/mcp-run-result.d.ts +620 -51
  84. package/dist/mcp-run-result.d.ts.map +1 -1
  85. package/dist/mcp-run-result.js +45 -5
  86. package/dist/mcp-run-result.js.map +1 -1
  87. package/dist/mcp-run-wait.d.ts +7 -7
  88. package/dist/primitives.d.ts.map +1 -1
  89. package/dist/primitives.js +3 -2
  90. package/dist/primitives.js.map +1 -1
  91. package/dist/project.d.ts +45 -1
  92. package/dist/project.d.ts.map +1 -1
  93. package/dist/project.js +26 -1
  94. package/dist/project.js.map +1 -1
  95. package/dist/quota-read.d.ts +6 -3
  96. package/dist/quota-read.d.ts.map +1 -1
  97. package/dist/quota-read.js +7 -1
  98. package/dist/quota-read.js.map +1 -1
  99. package/dist/quota-scope.d.ts +29 -0
  100. package/dist/quota-scope.d.ts.map +1 -0
  101. package/dist/quota-scope.js +95 -0
  102. package/dist/quota-scope.js.map +1 -0
  103. package/dist/rate-limit.d.ts +3 -0
  104. package/dist/rate-limit.d.ts.map +1 -1
  105. package/dist/rate-limit.js +5 -1
  106. package/dist/rate-limit.js.map +1 -1
  107. package/dist/raw.d.ts +223 -1
  108. package/dist/raw.d.ts.map +1 -1
  109. package/dist/raw.js +86 -0
  110. package/dist/raw.js.map +1 -1
  111. package/dist/readiness.d.ts +87 -18
  112. package/dist/readiness.d.ts.map +1 -1
  113. package/dist/readiness.js +7 -6
  114. package/dist/readiness.js.map +1 -1
  115. package/dist/route-health.d.ts +303 -0
  116. package/dist/route-health.d.ts.map +1 -0
  117. package/dist/route-health.js +71 -0
  118. package/dist/route-health.js.map +1 -0
  119. package/dist/run-continuity.d.ts +3 -0
  120. package/dist/run-continuity.d.ts.map +1 -1
  121. package/dist/run-continuity.js +4 -0
  122. package/dist/run-continuity.js.map +1 -1
  123. package/dist/run-facts.d.ts +5 -5
  124. package/dist/run-facts.d.ts.map +1 -1
  125. package/dist/run-facts.js +1 -0
  126. package/dist/run-facts.js.map +1 -1
  127. package/dist/setup-login.d.ts +1 -1
  128. package/dist/setup-login.js +1 -1
  129. package/dist/setup.d.ts +1 -1
  130. package/dist/setup.js +1 -1
  131. package/dist/status-projection.d.ts.map +1 -1
  132. package/dist/status-projection.js +3 -0
  133. package/dist/status-projection.js.map +1 -1
  134. package/dist/telemetry.d.ts +239 -7
  135. package/dist/telemetry.d.ts.map +1 -1
  136. package/dist/telemetry.js +4 -2
  137. package/dist/telemetry.js.map +1 -1
  138. package/dist/thread-history.d.ts +1109 -161
  139. package/dist/thread-history.d.ts.map +1 -1
  140. package/dist/thread-history.js +1 -1
  141. package/dist/thread-history.js.map +1 -1
  142. package/dist/tool-ref.d.ts +94 -3
  143. package/dist/tool-ref.d.ts.map +1 -1
  144. package/dist/tool-ref.js +98 -6
  145. package/dist/tool-ref.js.map +1 -1
  146. package/dist/workspace-preparation.d.ts +54 -0
  147. package/dist/workspace-preparation.d.ts.map +1 -0
  148. package/dist/workspace-preparation.js +59 -0
  149. package/dist/workspace-preparation.js.map +1 -0
  150. package/generated/AgentCapabilityCatalog.schema.json +54 -0
  151. package/generated/BudgetObservation.schema.json +8 -1
  152. package/generated/ControlAccountResetResponse.schema.json +60 -1
  153. package/generated/ControlAccountResourcesFreshnessResponse.schema.json +46 -2
  154. package/generated/ControlAccountResourcesResponse.schema.json +46 -2
  155. package/generated/ControlApplyCheckResponse.schema.json +47 -0
  156. package/generated/ControlCredentialProfilesQueryResponse.schema.json +105 -4
  157. package/generated/ControlCredentialProfilesResourcesResponse.schema.json +105 -4
  158. package/generated/ControlCredentialProfilesSnapshotResponse.schema.json +59 -2
  159. package/generated/ControlDeliveryResponse.schema.json +154 -0
  160. package/generated/ControlHarnessAccountCatalog.schema.json +13 -0
  161. package/generated/ControlHarnessAccountModelsResponse.schema.json +13 -0
  162. package/generated/ControlHarnessListResponse.schema.json +59 -2
  163. package/generated/ControlHarnessModelsQueryResponse.schema.json +97 -51
  164. package/generated/ControlHarnessModelsResponse.schema.json +96 -0
  165. package/generated/ControlProjectRemoveReceipt.schema.json +36 -0
  166. package/generated/ControlQuotaQueryResponse.schema.json +46 -2
  167. package/generated/ControlQuotaReadRequest.schema.json +4 -0
  168. package/generated/ControlQuotaRefreshRequest.schema.json +12 -3
  169. package/generated/ControlRouteHealth.schema.json +202 -0
  170. package/generated/ControlRunDetail.schema.json +344 -5
  171. package/generated/ControlRunEventPart.schema.json +4 -2
  172. package/generated/ControlRunListResponse.schema.json +341 -2
  173. package/generated/ControlRunMessageRequest.schema.json +1 -1
  174. package/generated/ControlRunSummary.schema.json +341 -2
  175. package/generated/ControlThreadApplyResponse.schema.json +154 -0
  176. package/generated/ControlThreadDetail.schema.json +1 -0
  177. package/generated/DecisionRecord.schema.json +1 -0
  178. package/generated/HarnessEvent.schema.json +189 -5
  179. package/generated/HarnessManifest.schema.json +57 -0
  180. package/generated/HarnessModel.schema.json +13 -0
  181. package/generated/HarnessStatusDto.schema.json +59 -2
  182. package/generated/JournaledRunCreatedPayload.schema.json +2 -2
  183. package/generated/McpAccountsToolResult.schema.json +105 -4
  184. package/generated/McpRunHandleResult.schema.json +279 -2
  185. package/generated/McpRunToolResult.schema.json +269 -0
  186. package/generated/McpRunWaitResult.schema.json +3 -1
  187. package/generated/RawContextPacket.schema.json +98 -0
  188. package/generated/RunContinuityReceipt.schema.json +8 -0
  189. package/generated/RunEvent.schema.json +3 -1
  190. package/generated/RunFacts.schema.json +1 -0
  191. package/generated/RunFailure.schema.json +201 -0
  192. package/generated/RunTelemetry.schema.json +123 -2
  193. package/generated/ThreadHistoryPage.schema.json +203 -1
  194. package/generated/WorkspacePreparedPayload.schema.json +67 -0
  195. package/package.json +2 -2
@@ -570,6 +570,28 @@ export declare const ControlCredentialProfilesSnapshotResponse: z.ZodObject<{
570
570
  prompt_cache_ttls?: ("1h" | "5m")[] | undefined;
571
571
  }>>;
572
572
  capabilities: z.ZodObject<{
573
+ model_inventory_routes: z.ZodOptional<z.ZodArray<z.ZodEnum<["local_session", "api_key"]>, "many">>;
574
+ model_inventory_absence: z.ZodOptional<z.ZodEnum<["authoritative", "advisory"]>>;
575
+ model_routing_variants: z.ZodOptional<z.ZodArray<z.ZodObject<{
576
+ suffix: z.ZodString;
577
+ billing: z.ZodEnum<["base", "service_tier"]>;
578
+ }, "strict", z.ZodTypeAny, {
579
+ suffix: string;
580
+ billing: "base" | "service_tier";
581
+ }, {
582
+ suffix: string;
583
+ billing: "base" | "service_tier";
584
+ }>, "many">>;
585
+ model_refused_variants: z.ZodOptional<z.ZodArray<z.ZodObject<{
586
+ suffix: z.ZodString;
587
+ reason: z.ZodEnum<["provider_web_search"]>;
588
+ }, "strict", z.ZodTypeAny, {
589
+ suffix: string;
590
+ reason: "provider_web_search";
591
+ }, {
592
+ suffix: string;
593
+ reason: "provider_web_search";
594
+ }>, "many">>;
573
595
  processing_preferences: z.ZodOptional<z.ZodArray<z.ZodEnum<["standard", "fast", "economy"]>, "many">>;
574
596
  plan: z.ZodDefault<z.ZodBoolean>;
575
597
  implement: z.ZodDefault<z.ZodBoolean>;
@@ -599,8 +621,6 @@ export declare const ControlCredentialProfilesSnapshotResponse: z.ZodObject<{
599
621
  default?: string | null | undefined;
600
622
  }>>>;
601
623
  effort_levels_verified_against: z.ZodDefault<z.ZodNullable<z.ZodString>>;
602
- model_inventory_routes: z.ZodOptional<z.ZodArray<z.ZodEnum<["local_session", "api_key"]>, "many">>;
603
- model_inventory_absence: z.ZodOptional<z.ZodEnum<["authoritative", "advisory"]>>;
604
624
  known_models: z.ZodDefault<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodObject<{
605
625
  id: z.ZodString;
606
626
  routes: z.ZodArray<z.ZodEnum<["local_session", "api_key"]>, "many">;
@@ -613,6 +633,16 @@ export declare const ControlCredentialProfilesSnapshotResponse: z.ZodObject<{
613
633
  }>]>, "many">>;
614
634
  known_models_verified_against: z.ZodDefault<z.ZodNullable<z.ZodString>>;
615
635
  }, "strip", z.ZodTypeAny, {
636
+ model_inventory_routes?: ("api_key" | "local_session")[] | undefined;
637
+ model_inventory_absence?: "advisory" | "authoritative" | undefined;
638
+ model_routing_variants?: {
639
+ suffix: string;
640
+ billing: "base" | "service_tier";
641
+ }[] | undefined;
642
+ model_refused_variants?: {
643
+ suffix: string;
644
+ reason: "provider_web_search";
645
+ }[] | undefined;
616
646
  processing_preferences?: ("economy" | "fast" | "standard")[] | undefined;
617
647
  plan: boolean;
618
648
  implement: boolean;
@@ -636,14 +666,22 @@ export declare const ControlCredentialProfilesSnapshotResponse: z.ZodObject<{
636
666
  default: string | null;
637
667
  }>;
638
668
  effort_levels_verified_against: string | null;
639
- model_inventory_routes?: ("api_key" | "local_session")[] | undefined;
640
- model_inventory_absence?: "advisory" | "authoritative" | undefined;
641
669
  known_models: (string | {
642
670
  id: string;
643
671
  routes: ("api_key" | "local_session")[];
644
672
  })[];
645
673
  known_models_verified_against: string | null;
646
674
  }, {
675
+ model_inventory_routes?: ("api_key" | "local_session")[] | undefined;
676
+ model_inventory_absence?: "advisory" | "authoritative" | undefined;
677
+ model_routing_variants?: {
678
+ suffix: string;
679
+ billing: "base" | "service_tier";
680
+ }[] | undefined;
681
+ model_refused_variants?: {
682
+ suffix: string;
683
+ reason: "provider_web_search";
684
+ }[] | undefined;
647
685
  processing_preferences?: ("economy" | "fast" | "standard")[] | undefined;
648
686
  plan?: boolean | undefined;
649
687
  implement?: boolean | undefined;
@@ -667,8 +705,6 @@ export declare const ControlCredentialProfilesSnapshotResponse: z.ZodObject<{
667
705
  default?: string | null | undefined;
668
706
  }> | undefined;
669
707
  effort_levels_verified_against?: string | null | undefined;
670
- model_inventory_routes?: ("api_key" | "local_session")[] | undefined;
671
- model_inventory_absence?: "advisory" | "authoritative" | undefined;
672
708
  known_models?: (string | {
673
709
  id: string;
674
710
  routes: ("api_key" | "local_session")[];
@@ -733,6 +769,16 @@ export declare const ControlCredentialProfilesSnapshotResponse: z.ZodObject<{
733
769
  prompt_cache_ttls?: ("1h" | "5m")[] | undefined;
734
770
  };
735
771
  capabilities: {
772
+ model_inventory_routes?: ("api_key" | "local_session")[] | undefined;
773
+ model_inventory_absence?: "advisory" | "authoritative" | undefined;
774
+ model_routing_variants?: {
775
+ suffix: string;
776
+ billing: "base" | "service_tier";
777
+ }[] | undefined;
778
+ model_refused_variants?: {
779
+ suffix: string;
780
+ reason: "provider_web_search";
781
+ }[] | undefined;
736
782
  processing_preferences?: ("economy" | "fast" | "standard")[] | undefined;
737
783
  plan: boolean;
738
784
  implement: boolean;
@@ -756,8 +802,6 @@ export declare const ControlCredentialProfilesSnapshotResponse: z.ZodObject<{
756
802
  default: string | null;
757
803
  }>;
758
804
  effort_levels_verified_against: string | null;
759
- model_inventory_routes?: ("api_key" | "local_session")[] | undefined;
760
- model_inventory_absence?: "advisory" | "authoritative" | undefined;
761
805
  known_models: (string | {
762
806
  id: string;
763
807
  routes: ("api_key" | "local_session")[];
@@ -822,6 +866,16 @@ export declare const ControlCredentialProfilesSnapshotResponse: z.ZodObject<{
822
866
  prompt_cache_ttls?: ("1h" | "5m")[] | undefined;
823
867
  } | undefined;
824
868
  capabilities: {
869
+ model_inventory_routes?: ("api_key" | "local_session")[] | undefined;
870
+ model_inventory_absence?: "advisory" | "authoritative" | undefined;
871
+ model_routing_variants?: {
872
+ suffix: string;
873
+ billing: "base" | "service_tier";
874
+ }[] | undefined;
875
+ model_refused_variants?: {
876
+ suffix: string;
877
+ reason: "provider_web_search";
878
+ }[] | undefined;
825
879
  processing_preferences?: ("economy" | "fast" | "standard")[] | undefined;
826
880
  plan?: boolean | undefined;
827
881
  implement?: boolean | undefined;
@@ -845,8 +899,6 @@ export declare const ControlCredentialProfilesSnapshotResponse: z.ZodObject<{
845
899
  default?: string | null | undefined;
846
900
  }> | undefined;
847
901
  effort_levels_verified_against?: string | null | undefined;
848
- model_inventory_routes?: ("api_key" | "local_session")[] | undefined;
849
- model_inventory_absence?: "advisory" | "authoritative" | undefined;
850
902
  known_models?: (string | {
851
903
  id: string;
852
904
  routes: ("api_key" | "local_session")[];
@@ -1014,6 +1066,16 @@ export declare const ControlCredentialProfilesSnapshotResponse: z.ZodObject<{
1014
1066
  prompt_cache_ttls?: ("1h" | "5m")[] | undefined;
1015
1067
  };
1016
1068
  capabilities: {
1069
+ model_inventory_routes?: ("api_key" | "local_session")[] | undefined;
1070
+ model_inventory_absence?: "advisory" | "authoritative" | undefined;
1071
+ model_routing_variants?: {
1072
+ suffix: string;
1073
+ billing: "base" | "service_tier";
1074
+ }[] | undefined;
1075
+ model_refused_variants?: {
1076
+ suffix: string;
1077
+ reason: "provider_web_search";
1078
+ }[] | undefined;
1017
1079
  processing_preferences?: ("economy" | "fast" | "standard")[] | undefined;
1018
1080
  plan: boolean;
1019
1081
  implement: boolean;
@@ -1037,8 +1099,6 @@ export declare const ControlCredentialProfilesSnapshotResponse: z.ZodObject<{
1037
1099
  default: string | null;
1038
1100
  }>;
1039
1101
  effort_levels_verified_against: string | null;
1040
- model_inventory_routes?: ("api_key" | "local_session")[] | undefined;
1041
- model_inventory_absence?: "advisory" | "authoritative" | undefined;
1042
1102
  known_models: (string | {
1043
1103
  id: string;
1044
1104
  routes: ("api_key" | "local_session")[];
@@ -1144,6 +1204,16 @@ export declare const ControlCredentialProfilesSnapshotResponse: z.ZodObject<{
1144
1204
  prompt_cache_ttls?: ("1h" | "5m")[] | undefined;
1145
1205
  } | undefined;
1146
1206
  capabilities: {
1207
+ model_inventory_routes?: ("api_key" | "local_session")[] | undefined;
1208
+ model_inventory_absence?: "advisory" | "authoritative" | undefined;
1209
+ model_routing_variants?: {
1210
+ suffix: string;
1211
+ billing: "base" | "service_tier";
1212
+ }[] | undefined;
1213
+ model_refused_variants?: {
1214
+ suffix: string;
1215
+ reason: "provider_web_search";
1216
+ }[] | undefined;
1147
1217
  processing_preferences?: ("economy" | "fast" | "standard")[] | undefined;
1148
1218
  plan?: boolean | undefined;
1149
1219
  implement?: boolean | undefined;
@@ -1167,8 +1237,6 @@ export declare const ControlCredentialProfilesSnapshotResponse: z.ZodObject<{
1167
1237
  default?: string | null | undefined;
1168
1238
  }> | undefined;
1169
1239
  effort_levels_verified_against?: string | null | undefined;
1170
- model_inventory_routes?: ("api_key" | "local_session")[] | undefined;
1171
- model_inventory_absence?: "advisory" | "authoritative" | undefined;
1172
1240
  known_models?: (string | {
1173
1241
  id: string;
1174
1242
  routes: ("api_key" | "local_session")[];
@@ -1721,6 +1789,16 @@ export declare const ControlCredentialProfilesSnapshotResponse: z.ZodObject<{
1721
1789
  prompt_cache_ttls?: ("1h" | "5m")[] | undefined;
1722
1790
  };
1723
1791
  capabilities: {
1792
+ model_inventory_routes?: ("api_key" | "local_session")[] | undefined;
1793
+ model_inventory_absence?: "advisory" | "authoritative" | undefined;
1794
+ model_routing_variants?: {
1795
+ suffix: string;
1796
+ billing: "base" | "service_tier";
1797
+ }[] | undefined;
1798
+ model_refused_variants?: {
1799
+ suffix: string;
1800
+ reason: "provider_web_search";
1801
+ }[] | undefined;
1724
1802
  processing_preferences?: ("economy" | "fast" | "standard")[] | undefined;
1725
1803
  plan: boolean;
1726
1804
  implement: boolean;
@@ -1744,8 +1822,6 @@ export declare const ControlCredentialProfilesSnapshotResponse: z.ZodObject<{
1744
1822
  default: string | null;
1745
1823
  }>;
1746
1824
  effort_levels_verified_against: string | null;
1747
- model_inventory_routes?: ("api_key" | "local_session")[] | undefined;
1748
- model_inventory_absence?: "advisory" | "authoritative" | undefined;
1749
1825
  known_models: (string | {
1750
1826
  id: string;
1751
1827
  routes: ("api_key" | "local_session")[];
@@ -1979,6 +2055,16 @@ export declare const ControlCredentialProfilesSnapshotResponse: z.ZodObject<{
1979
2055
  prompt_cache_ttls?: ("1h" | "5m")[] | undefined;
1980
2056
  } | undefined;
1981
2057
  capabilities: {
2058
+ model_inventory_routes?: ("api_key" | "local_session")[] | undefined;
2059
+ model_inventory_absence?: "advisory" | "authoritative" | undefined;
2060
+ model_routing_variants?: {
2061
+ suffix: string;
2062
+ billing: "base" | "service_tier";
2063
+ }[] | undefined;
2064
+ model_refused_variants?: {
2065
+ suffix: string;
2066
+ reason: "provider_web_search";
2067
+ }[] | undefined;
1982
2068
  processing_preferences?: ("economy" | "fast" | "standard")[] | undefined;
1983
2069
  plan?: boolean | undefined;
1984
2070
  implement?: boolean | undefined;
@@ -2002,8 +2088,6 @@ export declare const ControlCredentialProfilesSnapshotResponse: z.ZodObject<{
2002
2088
  default?: string | null | undefined;
2003
2089
  }> | undefined;
2004
2090
  effort_levels_verified_against?: string | null | undefined;
2005
- model_inventory_routes?: ("api_key" | "local_session")[] | undefined;
2006
- model_inventory_absence?: "advisory" | "authoritative" | undefined;
2007
2091
  known_models?: (string | {
2008
2092
  id: string;
2009
2093
  routes: ("api_key" | "local_session")[];
@@ -2688,6 +2772,28 @@ export declare const ControlCredentialProfilesResourcesResponse: z.ZodObject<{
2688
2772
  prompt_cache_ttls?: ("1h" | "5m")[] | undefined;
2689
2773
  }>>;
2690
2774
  capabilities: z.ZodObject<{
2775
+ model_inventory_routes: z.ZodOptional<z.ZodArray<z.ZodEnum<["local_session", "api_key"]>, "many">>;
2776
+ model_inventory_absence: z.ZodOptional<z.ZodEnum<["authoritative", "advisory"]>>;
2777
+ model_routing_variants: z.ZodOptional<z.ZodArray<z.ZodObject<{
2778
+ suffix: z.ZodString;
2779
+ billing: z.ZodEnum<["base", "service_tier"]>;
2780
+ }, "strict", z.ZodTypeAny, {
2781
+ suffix: string;
2782
+ billing: "base" | "service_tier";
2783
+ }, {
2784
+ suffix: string;
2785
+ billing: "base" | "service_tier";
2786
+ }>, "many">>;
2787
+ model_refused_variants: z.ZodOptional<z.ZodArray<z.ZodObject<{
2788
+ suffix: z.ZodString;
2789
+ reason: z.ZodEnum<["provider_web_search"]>;
2790
+ }, "strict", z.ZodTypeAny, {
2791
+ suffix: string;
2792
+ reason: "provider_web_search";
2793
+ }, {
2794
+ suffix: string;
2795
+ reason: "provider_web_search";
2796
+ }>, "many">>;
2691
2797
  processing_preferences: z.ZodOptional<z.ZodArray<z.ZodEnum<["standard", "fast", "economy"]>, "many">>;
2692
2798
  plan: z.ZodDefault<z.ZodBoolean>;
2693
2799
  implement: z.ZodDefault<z.ZodBoolean>;
@@ -2717,8 +2823,6 @@ export declare const ControlCredentialProfilesResourcesResponse: z.ZodObject<{
2717
2823
  default?: string | null | undefined;
2718
2824
  }>>>;
2719
2825
  effort_levels_verified_against: z.ZodDefault<z.ZodNullable<z.ZodString>>;
2720
- model_inventory_routes: z.ZodOptional<z.ZodArray<z.ZodEnum<["local_session", "api_key"]>, "many">>;
2721
- model_inventory_absence: z.ZodOptional<z.ZodEnum<["authoritative", "advisory"]>>;
2722
2826
  known_models: z.ZodDefault<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodObject<{
2723
2827
  id: z.ZodString;
2724
2828
  routes: z.ZodArray<z.ZodEnum<["local_session", "api_key"]>, "many">;
@@ -2731,6 +2835,16 @@ export declare const ControlCredentialProfilesResourcesResponse: z.ZodObject<{
2731
2835
  }>]>, "many">>;
2732
2836
  known_models_verified_against: z.ZodDefault<z.ZodNullable<z.ZodString>>;
2733
2837
  }, "strip", z.ZodTypeAny, {
2838
+ model_inventory_routes?: ("api_key" | "local_session")[] | undefined;
2839
+ model_inventory_absence?: "advisory" | "authoritative" | undefined;
2840
+ model_routing_variants?: {
2841
+ suffix: string;
2842
+ billing: "base" | "service_tier";
2843
+ }[] | undefined;
2844
+ model_refused_variants?: {
2845
+ suffix: string;
2846
+ reason: "provider_web_search";
2847
+ }[] | undefined;
2734
2848
  processing_preferences?: ("economy" | "fast" | "standard")[] | undefined;
2735
2849
  plan: boolean;
2736
2850
  implement: boolean;
@@ -2754,14 +2868,22 @@ export declare const ControlCredentialProfilesResourcesResponse: z.ZodObject<{
2754
2868
  default: string | null;
2755
2869
  }>;
2756
2870
  effort_levels_verified_against: string | null;
2757
- model_inventory_routes?: ("api_key" | "local_session")[] | undefined;
2758
- model_inventory_absence?: "advisory" | "authoritative" | undefined;
2759
2871
  known_models: (string | {
2760
2872
  id: string;
2761
2873
  routes: ("api_key" | "local_session")[];
2762
2874
  })[];
2763
2875
  known_models_verified_against: string | null;
2764
2876
  }, {
2877
+ model_inventory_routes?: ("api_key" | "local_session")[] | undefined;
2878
+ model_inventory_absence?: "advisory" | "authoritative" | undefined;
2879
+ model_routing_variants?: {
2880
+ suffix: string;
2881
+ billing: "base" | "service_tier";
2882
+ }[] | undefined;
2883
+ model_refused_variants?: {
2884
+ suffix: string;
2885
+ reason: "provider_web_search";
2886
+ }[] | undefined;
2765
2887
  processing_preferences?: ("economy" | "fast" | "standard")[] | undefined;
2766
2888
  plan?: boolean | undefined;
2767
2889
  implement?: boolean | undefined;
@@ -2785,8 +2907,6 @@ export declare const ControlCredentialProfilesResourcesResponse: z.ZodObject<{
2785
2907
  default?: string | null | undefined;
2786
2908
  }> | undefined;
2787
2909
  effort_levels_verified_against?: string | null | undefined;
2788
- model_inventory_routes?: ("api_key" | "local_session")[] | undefined;
2789
- model_inventory_absence?: "advisory" | "authoritative" | undefined;
2790
2910
  known_models?: (string | {
2791
2911
  id: string;
2792
2912
  routes: ("api_key" | "local_session")[];
@@ -2851,6 +2971,16 @@ export declare const ControlCredentialProfilesResourcesResponse: z.ZodObject<{
2851
2971
  prompt_cache_ttls?: ("1h" | "5m")[] | undefined;
2852
2972
  };
2853
2973
  capabilities: {
2974
+ model_inventory_routes?: ("api_key" | "local_session")[] | undefined;
2975
+ model_inventory_absence?: "advisory" | "authoritative" | undefined;
2976
+ model_routing_variants?: {
2977
+ suffix: string;
2978
+ billing: "base" | "service_tier";
2979
+ }[] | undefined;
2980
+ model_refused_variants?: {
2981
+ suffix: string;
2982
+ reason: "provider_web_search";
2983
+ }[] | undefined;
2854
2984
  processing_preferences?: ("economy" | "fast" | "standard")[] | undefined;
2855
2985
  plan: boolean;
2856
2986
  implement: boolean;
@@ -2874,8 +3004,6 @@ export declare const ControlCredentialProfilesResourcesResponse: z.ZodObject<{
2874
3004
  default: string | null;
2875
3005
  }>;
2876
3006
  effort_levels_verified_against: string | null;
2877
- model_inventory_routes?: ("api_key" | "local_session")[] | undefined;
2878
- model_inventory_absence?: "advisory" | "authoritative" | undefined;
2879
3007
  known_models: (string | {
2880
3008
  id: string;
2881
3009
  routes: ("api_key" | "local_session")[];
@@ -2940,6 +3068,16 @@ export declare const ControlCredentialProfilesResourcesResponse: z.ZodObject<{
2940
3068
  prompt_cache_ttls?: ("1h" | "5m")[] | undefined;
2941
3069
  } | undefined;
2942
3070
  capabilities: {
3071
+ model_inventory_routes?: ("api_key" | "local_session")[] | undefined;
3072
+ model_inventory_absence?: "advisory" | "authoritative" | undefined;
3073
+ model_routing_variants?: {
3074
+ suffix: string;
3075
+ billing: "base" | "service_tier";
3076
+ }[] | undefined;
3077
+ model_refused_variants?: {
3078
+ suffix: string;
3079
+ reason: "provider_web_search";
3080
+ }[] | undefined;
2943
3081
  processing_preferences?: ("economy" | "fast" | "standard")[] | undefined;
2944
3082
  plan?: boolean | undefined;
2945
3083
  implement?: boolean | undefined;
@@ -2963,8 +3101,6 @@ export declare const ControlCredentialProfilesResourcesResponse: z.ZodObject<{
2963
3101
  default?: string | null | undefined;
2964
3102
  }> | undefined;
2965
3103
  effort_levels_verified_against?: string | null | undefined;
2966
- model_inventory_routes?: ("api_key" | "local_session")[] | undefined;
2967
- model_inventory_absence?: "advisory" | "authoritative" | undefined;
2968
3104
  known_models?: (string | {
2969
3105
  id: string;
2970
3106
  routes: ("api_key" | "local_session")[];
@@ -3132,6 +3268,16 @@ export declare const ControlCredentialProfilesResourcesResponse: z.ZodObject<{
3132
3268
  prompt_cache_ttls?: ("1h" | "5m")[] | undefined;
3133
3269
  };
3134
3270
  capabilities: {
3271
+ model_inventory_routes?: ("api_key" | "local_session")[] | undefined;
3272
+ model_inventory_absence?: "advisory" | "authoritative" | undefined;
3273
+ model_routing_variants?: {
3274
+ suffix: string;
3275
+ billing: "base" | "service_tier";
3276
+ }[] | undefined;
3277
+ model_refused_variants?: {
3278
+ suffix: string;
3279
+ reason: "provider_web_search";
3280
+ }[] | undefined;
3135
3281
  processing_preferences?: ("economy" | "fast" | "standard")[] | undefined;
3136
3282
  plan: boolean;
3137
3283
  implement: boolean;
@@ -3155,8 +3301,6 @@ export declare const ControlCredentialProfilesResourcesResponse: z.ZodObject<{
3155
3301
  default: string | null;
3156
3302
  }>;
3157
3303
  effort_levels_verified_against: string | null;
3158
- model_inventory_routes?: ("api_key" | "local_session")[] | undefined;
3159
- model_inventory_absence?: "advisory" | "authoritative" | undefined;
3160
3304
  known_models: (string | {
3161
3305
  id: string;
3162
3306
  routes: ("api_key" | "local_session")[];
@@ -3262,6 +3406,16 @@ export declare const ControlCredentialProfilesResourcesResponse: z.ZodObject<{
3262
3406
  prompt_cache_ttls?: ("1h" | "5m")[] | undefined;
3263
3407
  } | undefined;
3264
3408
  capabilities: {
3409
+ model_inventory_routes?: ("api_key" | "local_session")[] | undefined;
3410
+ model_inventory_absence?: "advisory" | "authoritative" | undefined;
3411
+ model_routing_variants?: {
3412
+ suffix: string;
3413
+ billing: "base" | "service_tier";
3414
+ }[] | undefined;
3415
+ model_refused_variants?: {
3416
+ suffix: string;
3417
+ reason: "provider_web_search";
3418
+ }[] | undefined;
3265
3419
  processing_preferences?: ("economy" | "fast" | "standard")[] | undefined;
3266
3420
  plan?: boolean | undefined;
3267
3421
  implement?: boolean | undefined;
@@ -3285,8 +3439,6 @@ export declare const ControlCredentialProfilesResourcesResponse: z.ZodObject<{
3285
3439
  default?: string | null | undefined;
3286
3440
  }> | undefined;
3287
3441
  effort_levels_verified_against?: string | null | undefined;
3288
- model_inventory_routes?: ("api_key" | "local_session")[] | undefined;
3289
- model_inventory_absence?: "advisory" | "authoritative" | undefined;
3290
3442
  known_models?: (string | {
3291
3443
  id: string;
3292
3444
  routes: ("api_key" | "local_session")[];
@@ -3606,14 +3758,15 @@ export declare const ControlCredentialProfilesResourcesResponse: z.ZodObject<{
3606
3758
  resources: z.ZodArray<z.ZodObject<{
3607
3759
  target: z.ZodObject<{
3608
3760
  harness: z.ZodString;
3609
- profile_id: z.ZodString;
3761
+ profile_id: z.ZodNullable<z.ZodString>;
3610
3762
  }, "strict", z.ZodTypeAny, {
3611
3763
  harness: string;
3612
- profile_id: string;
3764
+ profile_id: string | null;
3613
3765
  }, {
3614
3766
  harness: string;
3615
- profile_id: string;
3767
+ profile_id: string | null;
3616
3768
  }>;
3769
+ credential_fingerprint: z.ZodOptional<z.ZodString>;
3617
3770
  balances: z.ZodObject<{
3618
3771
  value: z.ZodNullable<z.ZodArray<z.ZodObject<{
3619
3772
  scope: z.ZodOptional<z.ZodEnum<["personal", "team"]>>;
@@ -3747,6 +3900,9 @@ export declare const ControlCredentialProfilesResourcesResponse: z.ZodObject<{
3747
3900
  decimal_places: z.ZodNullable<z.ZodNumber>;
3748
3901
  resets_at: z.ZodNullable<z.ZodString>;
3749
3902
  reason: z.ZodNullable<z.ZodString>;
3903
+ capped: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
3904
+ remaining: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3905
+ window: z.ZodOptional<z.ZodNullable<z.ZodEnum<["day", "week", "month", "lifetime"]>>>;
3750
3906
  }, "strict", z.ZodTypeAny, {
3751
3907
  scope?: "personal" | "team" | undefined;
3752
3908
  usage_kind?: "bonus" | "included" | "on_demand" | "total" | undefined;
@@ -3765,6 +3921,9 @@ export declare const ControlCredentialProfilesResourcesResponse: z.ZodObject<{
3765
3921
  decimal_places: number | null;
3766
3922
  resets_at: string | null;
3767
3923
  reason: string | null;
3924
+ capped?: boolean | null | undefined;
3925
+ remaining?: string | null | undefined;
3926
+ window?: "day" | "lifetime" | "month" | "week" | null | undefined;
3768
3927
  }, {
3769
3928
  scope?: "personal" | "team" | undefined;
3770
3929
  usage_kind?: "bonus" | "included" | "on_demand" | "total" | undefined;
@@ -3783,6 +3942,9 @@ export declare const ControlCredentialProfilesResourcesResponse: z.ZodObject<{
3783
3942
  decimal_places: number | null;
3784
3943
  resets_at: string | null;
3785
3944
  reason: string | null;
3945
+ capped?: boolean | null | undefined;
3946
+ remaining?: string | null | undefined;
3947
+ window?: "day" | "lifetime" | "month" | "week" | null | undefined;
3786
3948
  }>, "many">>;
3787
3949
  source: z.ZodNullable<z.ZodString>;
3788
3950
  observed_at: z.ZodNullable<z.ZodString>;
@@ -3808,6 +3970,9 @@ export declare const ControlCredentialProfilesResourcesResponse: z.ZodObject<{
3808
3970
  decimal_places: number | null;
3809
3971
  resets_at: string | null;
3810
3972
  reason: string | null;
3973
+ capped?: boolean | null | undefined;
3974
+ remaining?: string | null | undefined;
3975
+ window?: "day" | "lifetime" | "month" | "week" | null | undefined;
3811
3976
  }[] | null;
3812
3977
  source: string | null;
3813
3978
  observed_at: string | null;
@@ -3833,6 +3998,9 @@ export declare const ControlCredentialProfilesResourcesResponse: z.ZodObject<{
3833
3998
  decimal_places: number | null;
3834
3999
  resets_at: string | null;
3835
4000
  reason: string | null;
4001
+ capped?: boolean | null | undefined;
4002
+ remaining?: string | null | undefined;
4003
+ window?: "day" | "lifetime" | "month" | "week" | null | undefined;
3836
4004
  }[] | null;
3837
4005
  source: string | null;
3838
4006
  observed_at: string | null;
@@ -4032,8 +4200,9 @@ export declare const ControlCredentialProfilesResourcesResponse: z.ZodObject<{
4032
4200
  }, "strict", z.ZodTypeAny, {
4033
4201
  target: {
4034
4202
  harness: string;
4035
- profile_id: string;
4203
+ profile_id: string | null;
4036
4204
  };
4205
+ credential_fingerprint?: string | undefined;
4037
4206
  balances: {
4038
4207
  value: {
4039
4208
  scope?: "personal" | "team" | undefined;
@@ -4077,6 +4246,9 @@ export declare const ControlCredentialProfilesResourcesResponse: z.ZodObject<{
4077
4246
  decimal_places: number | null;
4078
4247
  resets_at: string | null;
4079
4248
  reason: string | null;
4249
+ capped?: boolean | null | undefined;
4250
+ remaining?: string | null | undefined;
4251
+ window?: "day" | "lifetime" | "month" | "week" | null | undefined;
4080
4252
  }[] | null;
4081
4253
  source: string | null;
4082
4254
  observed_at: string | null;
@@ -4128,8 +4300,9 @@ export declare const ControlCredentialProfilesResourcesResponse: z.ZodObject<{
4128
4300
  }, {
4129
4301
  target: {
4130
4302
  harness: string;
4131
- profile_id: string;
4303
+ profile_id: string | null;
4132
4304
  };
4305
+ credential_fingerprint?: string | undefined;
4133
4306
  balances: {
4134
4307
  value: {
4135
4308
  scope?: "personal" | "team" | undefined;
@@ -4173,6 +4346,9 @@ export declare const ControlCredentialProfilesResourcesResponse: z.ZodObject<{
4173
4346
  decimal_places: number | null;
4174
4347
  resets_at: string | null;
4175
4348
  reason: string | null;
4349
+ capped?: boolean | null | undefined;
4350
+ remaining?: string | null | undefined;
4351
+ window?: "day" | "lifetime" | "month" | "week" | null | undefined;
4176
4352
  }[] | null;
4177
4353
  source: string | null;
4178
4354
  observed_at: string | null;
@@ -4284,8 +4460,9 @@ export declare const ControlCredentialProfilesResourcesResponse: z.ZodObject<{
4284
4460
  resources: {
4285
4461
  target: {
4286
4462
  harness: string;
4287
- profile_id: string;
4463
+ profile_id: string | null;
4288
4464
  };
4465
+ credential_fingerprint?: string | undefined;
4289
4466
  balances: {
4290
4467
  value: {
4291
4468
  scope?: "personal" | "team" | undefined;
@@ -4329,6 +4506,9 @@ export declare const ControlCredentialProfilesResourcesResponse: z.ZodObject<{
4329
4506
  decimal_places: number | null;
4330
4507
  resets_at: string | null;
4331
4508
  reason: string | null;
4509
+ capped?: boolean | null | undefined;
4510
+ remaining?: string | null | undefined;
4511
+ window?: "day" | "lifetime" | "month" | "week" | null | undefined;
4332
4512
  }[] | null;
4333
4513
  source: string | null;
4334
4514
  observed_at: string | null;
@@ -4440,8 +4620,9 @@ export declare const ControlCredentialProfilesResourcesResponse: z.ZodObject<{
4440
4620
  resources: {
4441
4621
  target: {
4442
4622
  harness: string;
4443
- profile_id: string;
4623
+ profile_id: string | null;
4444
4624
  };
4625
+ credential_fingerprint?: string | undefined;
4445
4626
  balances: {
4446
4627
  value: {
4447
4628
  scope?: "personal" | "team" | undefined;
@@ -4485,6 +4666,9 @@ export declare const ControlCredentialProfilesResourcesResponse: z.ZodObject<{
4485
4666
  decimal_places: number | null;
4486
4667
  resets_at: string | null;
4487
4668
  reason: string | null;
4669
+ capped?: boolean | null | undefined;
4670
+ remaining?: string | null | undefined;
4671
+ window?: "day" | "lifetime" | "month" | "week" | null | undefined;
4488
4672
  }[] | null;
4489
4673
  source: string | null;
4490
4674
  observed_at: string | null;
@@ -4654,6 +4838,16 @@ export declare const ControlCredentialProfilesResourcesResponse: z.ZodObject<{
4654
4838
  prompt_cache_ttls?: ("1h" | "5m")[] | undefined;
4655
4839
  };
4656
4840
  capabilities: {
4841
+ model_inventory_routes?: ("api_key" | "local_session")[] | undefined;
4842
+ model_inventory_absence?: "advisory" | "authoritative" | undefined;
4843
+ model_routing_variants?: {
4844
+ suffix: string;
4845
+ billing: "base" | "service_tier";
4846
+ }[] | undefined;
4847
+ model_refused_variants?: {
4848
+ suffix: string;
4849
+ reason: "provider_web_search";
4850
+ }[] | undefined;
4657
4851
  processing_preferences?: ("economy" | "fast" | "standard")[] | undefined;
4658
4852
  plan: boolean;
4659
4853
  implement: boolean;
@@ -4677,8 +4871,6 @@ export declare const ControlCredentialProfilesResourcesResponse: z.ZodObject<{
4677
4871
  default: string | null;
4678
4872
  }>;
4679
4873
  effort_levels_verified_against: string | null;
4680
- model_inventory_routes?: ("api_key" | "local_session")[] | undefined;
4681
- model_inventory_absence?: "advisory" | "authoritative" | undefined;
4682
4874
  known_models: (string | {
4683
4875
  id: string;
4684
4876
  routes: ("api_key" | "local_session")[];
@@ -4795,8 +4987,9 @@ export declare const ControlCredentialProfilesResourcesResponse: z.ZodObject<{
4795
4987
  resources: {
4796
4988
  target: {
4797
4989
  harness: string;
4798
- profile_id: string;
4990
+ profile_id: string | null;
4799
4991
  };
4992
+ credential_fingerprint?: string | undefined;
4800
4993
  balances: {
4801
4994
  value: {
4802
4995
  scope?: "personal" | "team" | undefined;
@@ -4840,6 +5033,9 @@ export declare const ControlCredentialProfilesResourcesResponse: z.ZodObject<{
4840
5033
  decimal_places: number | null;
4841
5034
  resets_at: string | null;
4842
5035
  reason: string | null;
5036
+ capped?: boolean | null | undefined;
5037
+ remaining?: string | null | undefined;
5038
+ window?: "day" | "lifetime" | "month" | "week" | null | undefined;
4843
5039
  }[] | null;
4844
5040
  source: string | null;
4845
5041
  observed_at: string | null;
@@ -5009,6 +5205,16 @@ export declare const ControlCredentialProfilesResourcesResponse: z.ZodObject<{
5009
5205
  prompt_cache_ttls?: ("1h" | "5m")[] | undefined;
5010
5206
  } | undefined;
5011
5207
  capabilities: {
5208
+ model_inventory_routes?: ("api_key" | "local_session")[] | undefined;
5209
+ model_inventory_absence?: "advisory" | "authoritative" | undefined;
5210
+ model_routing_variants?: {
5211
+ suffix: string;
5212
+ billing: "base" | "service_tier";
5213
+ }[] | undefined;
5214
+ model_refused_variants?: {
5215
+ suffix: string;
5216
+ reason: "provider_web_search";
5217
+ }[] | undefined;
5012
5218
  processing_preferences?: ("economy" | "fast" | "standard")[] | undefined;
5013
5219
  plan?: boolean | undefined;
5014
5220
  implement?: boolean | undefined;
@@ -5032,8 +5238,6 @@ export declare const ControlCredentialProfilesResourcesResponse: z.ZodObject<{
5032
5238
  default?: string | null | undefined;
5033
5239
  }> | undefined;
5034
5240
  effort_levels_verified_against?: string | null | undefined;
5035
- model_inventory_routes?: ("api_key" | "local_session")[] | undefined;
5036
- model_inventory_absence?: "advisory" | "authoritative" | undefined;
5037
5241
  known_models?: (string | {
5038
5242
  id: string;
5039
5243
  routes: ("api_key" | "local_session")[];
@@ -5150,8 +5354,9 @@ export declare const ControlCredentialProfilesResourcesResponse: z.ZodObject<{
5150
5354
  resources: {
5151
5355
  target: {
5152
5356
  harness: string;
5153
- profile_id: string;
5357
+ profile_id: string | null;
5154
5358
  };
5359
+ credential_fingerprint?: string | undefined;
5155
5360
  balances: {
5156
5361
  value: {
5157
5362
  scope?: "personal" | "team" | undefined;
@@ -5195,6 +5400,9 @@ export declare const ControlCredentialProfilesResourcesResponse: z.ZodObject<{
5195
5400
  decimal_places: number | null;
5196
5401
  resets_at: string | null;
5197
5402
  reason: string | null;
5403
+ capped?: boolean | null | undefined;
5404
+ remaining?: string | null | undefined;
5405
+ window?: "day" | "lifetime" | "month" | "week" | null | undefined;
5198
5406
  }[] | null;
5199
5407
  source: string | null;
5200
5408
  observed_at: string | null;
@@ -6214,6 +6422,28 @@ export declare const ControlCredentialProfilesQueryResponse: z.ZodUnion<[z.ZodOb
6214
6422
  prompt_cache_ttls?: ("1h" | "5m")[] | undefined;
6215
6423
  }>>;
6216
6424
  capabilities: z.ZodObject<{
6425
+ model_inventory_routes: z.ZodOptional<z.ZodArray<z.ZodEnum<["local_session", "api_key"]>, "many">>;
6426
+ model_inventory_absence: z.ZodOptional<z.ZodEnum<["authoritative", "advisory"]>>;
6427
+ model_routing_variants: z.ZodOptional<z.ZodArray<z.ZodObject<{
6428
+ suffix: z.ZodString;
6429
+ billing: z.ZodEnum<["base", "service_tier"]>;
6430
+ }, "strict", z.ZodTypeAny, {
6431
+ suffix: string;
6432
+ billing: "base" | "service_tier";
6433
+ }, {
6434
+ suffix: string;
6435
+ billing: "base" | "service_tier";
6436
+ }>, "many">>;
6437
+ model_refused_variants: z.ZodOptional<z.ZodArray<z.ZodObject<{
6438
+ suffix: z.ZodString;
6439
+ reason: z.ZodEnum<["provider_web_search"]>;
6440
+ }, "strict", z.ZodTypeAny, {
6441
+ suffix: string;
6442
+ reason: "provider_web_search";
6443
+ }, {
6444
+ suffix: string;
6445
+ reason: "provider_web_search";
6446
+ }>, "many">>;
6217
6447
  processing_preferences: z.ZodOptional<z.ZodArray<z.ZodEnum<["standard", "fast", "economy"]>, "many">>;
6218
6448
  plan: z.ZodDefault<z.ZodBoolean>;
6219
6449
  implement: z.ZodDefault<z.ZodBoolean>;
@@ -6243,8 +6473,6 @@ export declare const ControlCredentialProfilesQueryResponse: z.ZodUnion<[z.ZodOb
6243
6473
  default?: string | null | undefined;
6244
6474
  }>>>;
6245
6475
  effort_levels_verified_against: z.ZodDefault<z.ZodNullable<z.ZodString>>;
6246
- model_inventory_routes: z.ZodOptional<z.ZodArray<z.ZodEnum<["local_session", "api_key"]>, "many">>;
6247
- model_inventory_absence: z.ZodOptional<z.ZodEnum<["authoritative", "advisory"]>>;
6248
6476
  known_models: z.ZodDefault<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodObject<{
6249
6477
  id: z.ZodString;
6250
6478
  routes: z.ZodArray<z.ZodEnum<["local_session", "api_key"]>, "many">;
@@ -6257,6 +6485,16 @@ export declare const ControlCredentialProfilesQueryResponse: z.ZodUnion<[z.ZodOb
6257
6485
  }>]>, "many">>;
6258
6486
  known_models_verified_against: z.ZodDefault<z.ZodNullable<z.ZodString>>;
6259
6487
  }, "strip", z.ZodTypeAny, {
6488
+ model_inventory_routes?: ("api_key" | "local_session")[] | undefined;
6489
+ model_inventory_absence?: "advisory" | "authoritative" | undefined;
6490
+ model_routing_variants?: {
6491
+ suffix: string;
6492
+ billing: "base" | "service_tier";
6493
+ }[] | undefined;
6494
+ model_refused_variants?: {
6495
+ suffix: string;
6496
+ reason: "provider_web_search";
6497
+ }[] | undefined;
6260
6498
  processing_preferences?: ("economy" | "fast" | "standard")[] | undefined;
6261
6499
  plan: boolean;
6262
6500
  implement: boolean;
@@ -6280,14 +6518,22 @@ export declare const ControlCredentialProfilesQueryResponse: z.ZodUnion<[z.ZodOb
6280
6518
  default: string | null;
6281
6519
  }>;
6282
6520
  effort_levels_verified_against: string | null;
6283
- model_inventory_routes?: ("api_key" | "local_session")[] | undefined;
6284
- model_inventory_absence?: "advisory" | "authoritative" | undefined;
6285
6521
  known_models: (string | {
6286
6522
  id: string;
6287
6523
  routes: ("api_key" | "local_session")[];
6288
6524
  })[];
6289
6525
  known_models_verified_against: string | null;
6290
6526
  }, {
6527
+ model_inventory_routes?: ("api_key" | "local_session")[] | undefined;
6528
+ model_inventory_absence?: "advisory" | "authoritative" | undefined;
6529
+ model_routing_variants?: {
6530
+ suffix: string;
6531
+ billing: "base" | "service_tier";
6532
+ }[] | undefined;
6533
+ model_refused_variants?: {
6534
+ suffix: string;
6535
+ reason: "provider_web_search";
6536
+ }[] | undefined;
6291
6537
  processing_preferences?: ("economy" | "fast" | "standard")[] | undefined;
6292
6538
  plan?: boolean | undefined;
6293
6539
  implement?: boolean | undefined;
@@ -6311,8 +6557,6 @@ export declare const ControlCredentialProfilesQueryResponse: z.ZodUnion<[z.ZodOb
6311
6557
  default?: string | null | undefined;
6312
6558
  }> | undefined;
6313
6559
  effort_levels_verified_against?: string | null | undefined;
6314
- model_inventory_routes?: ("api_key" | "local_session")[] | undefined;
6315
- model_inventory_absence?: "advisory" | "authoritative" | undefined;
6316
6560
  known_models?: (string | {
6317
6561
  id: string;
6318
6562
  routes: ("api_key" | "local_session")[];
@@ -6377,6 +6621,16 @@ export declare const ControlCredentialProfilesQueryResponse: z.ZodUnion<[z.ZodOb
6377
6621
  prompt_cache_ttls?: ("1h" | "5m")[] | undefined;
6378
6622
  };
6379
6623
  capabilities: {
6624
+ model_inventory_routes?: ("api_key" | "local_session")[] | undefined;
6625
+ model_inventory_absence?: "advisory" | "authoritative" | undefined;
6626
+ model_routing_variants?: {
6627
+ suffix: string;
6628
+ billing: "base" | "service_tier";
6629
+ }[] | undefined;
6630
+ model_refused_variants?: {
6631
+ suffix: string;
6632
+ reason: "provider_web_search";
6633
+ }[] | undefined;
6380
6634
  processing_preferences?: ("economy" | "fast" | "standard")[] | undefined;
6381
6635
  plan: boolean;
6382
6636
  implement: boolean;
@@ -6400,8 +6654,6 @@ export declare const ControlCredentialProfilesQueryResponse: z.ZodUnion<[z.ZodOb
6400
6654
  default: string | null;
6401
6655
  }>;
6402
6656
  effort_levels_verified_against: string | null;
6403
- model_inventory_routes?: ("api_key" | "local_session")[] | undefined;
6404
- model_inventory_absence?: "advisory" | "authoritative" | undefined;
6405
6657
  known_models: (string | {
6406
6658
  id: string;
6407
6659
  routes: ("api_key" | "local_session")[];
@@ -6466,6 +6718,16 @@ export declare const ControlCredentialProfilesQueryResponse: z.ZodUnion<[z.ZodOb
6466
6718
  prompt_cache_ttls?: ("1h" | "5m")[] | undefined;
6467
6719
  } | undefined;
6468
6720
  capabilities: {
6721
+ model_inventory_routes?: ("api_key" | "local_session")[] | undefined;
6722
+ model_inventory_absence?: "advisory" | "authoritative" | undefined;
6723
+ model_routing_variants?: {
6724
+ suffix: string;
6725
+ billing: "base" | "service_tier";
6726
+ }[] | undefined;
6727
+ model_refused_variants?: {
6728
+ suffix: string;
6729
+ reason: "provider_web_search";
6730
+ }[] | undefined;
6469
6731
  processing_preferences?: ("economy" | "fast" | "standard")[] | undefined;
6470
6732
  plan?: boolean | undefined;
6471
6733
  implement?: boolean | undefined;
@@ -6489,8 +6751,6 @@ export declare const ControlCredentialProfilesQueryResponse: z.ZodUnion<[z.ZodOb
6489
6751
  default?: string | null | undefined;
6490
6752
  }> | undefined;
6491
6753
  effort_levels_verified_against?: string | null | undefined;
6492
- model_inventory_routes?: ("api_key" | "local_session")[] | undefined;
6493
- model_inventory_absence?: "advisory" | "authoritative" | undefined;
6494
6754
  known_models?: (string | {
6495
6755
  id: string;
6496
6756
  routes: ("api_key" | "local_session")[];
@@ -6658,6 +6918,16 @@ export declare const ControlCredentialProfilesQueryResponse: z.ZodUnion<[z.ZodOb
6658
6918
  prompt_cache_ttls?: ("1h" | "5m")[] | undefined;
6659
6919
  };
6660
6920
  capabilities: {
6921
+ model_inventory_routes?: ("api_key" | "local_session")[] | undefined;
6922
+ model_inventory_absence?: "advisory" | "authoritative" | undefined;
6923
+ model_routing_variants?: {
6924
+ suffix: string;
6925
+ billing: "base" | "service_tier";
6926
+ }[] | undefined;
6927
+ model_refused_variants?: {
6928
+ suffix: string;
6929
+ reason: "provider_web_search";
6930
+ }[] | undefined;
6661
6931
  processing_preferences?: ("economy" | "fast" | "standard")[] | undefined;
6662
6932
  plan: boolean;
6663
6933
  implement: boolean;
@@ -6681,8 +6951,6 @@ export declare const ControlCredentialProfilesQueryResponse: z.ZodUnion<[z.ZodOb
6681
6951
  default: string | null;
6682
6952
  }>;
6683
6953
  effort_levels_verified_against: string | null;
6684
- model_inventory_routes?: ("api_key" | "local_session")[] | undefined;
6685
- model_inventory_absence?: "advisory" | "authoritative" | undefined;
6686
6954
  known_models: (string | {
6687
6955
  id: string;
6688
6956
  routes: ("api_key" | "local_session")[];
@@ -6788,6 +7056,16 @@ export declare const ControlCredentialProfilesQueryResponse: z.ZodUnion<[z.ZodOb
6788
7056
  prompt_cache_ttls?: ("1h" | "5m")[] | undefined;
6789
7057
  } | undefined;
6790
7058
  capabilities: {
7059
+ model_inventory_routes?: ("api_key" | "local_session")[] | undefined;
7060
+ model_inventory_absence?: "advisory" | "authoritative" | undefined;
7061
+ model_routing_variants?: {
7062
+ suffix: string;
7063
+ billing: "base" | "service_tier";
7064
+ }[] | undefined;
7065
+ model_refused_variants?: {
7066
+ suffix: string;
7067
+ reason: "provider_web_search";
7068
+ }[] | undefined;
6791
7069
  processing_preferences?: ("economy" | "fast" | "standard")[] | undefined;
6792
7070
  plan?: boolean | undefined;
6793
7071
  implement?: boolean | undefined;
@@ -6811,8 +7089,6 @@ export declare const ControlCredentialProfilesQueryResponse: z.ZodUnion<[z.ZodOb
6811
7089
  default?: string | null | undefined;
6812
7090
  }> | undefined;
6813
7091
  effort_levels_verified_against?: string | null | undefined;
6814
- model_inventory_routes?: ("api_key" | "local_session")[] | undefined;
6815
- model_inventory_absence?: "advisory" | "authoritative" | undefined;
6816
7092
  known_models?: (string | {
6817
7093
  id: string;
6818
7094
  routes: ("api_key" | "local_session")[];
@@ -7365,6 +7641,16 @@ export declare const ControlCredentialProfilesQueryResponse: z.ZodUnion<[z.ZodOb
7365
7641
  prompt_cache_ttls?: ("1h" | "5m")[] | undefined;
7366
7642
  };
7367
7643
  capabilities: {
7644
+ model_inventory_routes?: ("api_key" | "local_session")[] | undefined;
7645
+ model_inventory_absence?: "advisory" | "authoritative" | undefined;
7646
+ model_routing_variants?: {
7647
+ suffix: string;
7648
+ billing: "base" | "service_tier";
7649
+ }[] | undefined;
7650
+ model_refused_variants?: {
7651
+ suffix: string;
7652
+ reason: "provider_web_search";
7653
+ }[] | undefined;
7368
7654
  processing_preferences?: ("economy" | "fast" | "standard")[] | undefined;
7369
7655
  plan: boolean;
7370
7656
  implement: boolean;
@@ -7388,8 +7674,6 @@ export declare const ControlCredentialProfilesQueryResponse: z.ZodUnion<[z.ZodOb
7388
7674
  default: string | null;
7389
7675
  }>;
7390
7676
  effort_levels_verified_against: string | null;
7391
- model_inventory_routes?: ("api_key" | "local_session")[] | undefined;
7392
- model_inventory_absence?: "advisory" | "authoritative" | undefined;
7393
7677
  known_models: (string | {
7394
7678
  id: string;
7395
7679
  routes: ("api_key" | "local_session")[];
@@ -7623,6 +7907,16 @@ export declare const ControlCredentialProfilesQueryResponse: z.ZodUnion<[z.ZodOb
7623
7907
  prompt_cache_ttls?: ("1h" | "5m")[] | undefined;
7624
7908
  } | undefined;
7625
7909
  capabilities: {
7910
+ model_inventory_routes?: ("api_key" | "local_session")[] | undefined;
7911
+ model_inventory_absence?: "advisory" | "authoritative" | undefined;
7912
+ model_routing_variants?: {
7913
+ suffix: string;
7914
+ billing: "base" | "service_tier";
7915
+ }[] | undefined;
7916
+ model_refused_variants?: {
7917
+ suffix: string;
7918
+ reason: "provider_web_search";
7919
+ }[] | undefined;
7626
7920
  processing_preferences?: ("economy" | "fast" | "standard")[] | undefined;
7627
7921
  plan?: boolean | undefined;
7628
7922
  implement?: boolean | undefined;
@@ -7646,8 +7940,6 @@ export declare const ControlCredentialProfilesQueryResponse: z.ZodUnion<[z.ZodOb
7646
7940
  default?: string | null | undefined;
7647
7941
  }> | undefined;
7648
7942
  effort_levels_verified_against?: string | null | undefined;
7649
- model_inventory_routes?: ("api_key" | "local_session")[] | undefined;
7650
- model_inventory_absence?: "advisory" | "authoritative" | undefined;
7651
7943
  known_models?: (string | {
7652
7944
  id: string;
7653
7945
  routes: ("api_key" | "local_session")[];
@@ -8330,6 +8622,28 @@ export declare const ControlCredentialProfilesQueryResponse: z.ZodUnion<[z.ZodOb
8330
8622
  prompt_cache_ttls?: ("1h" | "5m")[] | undefined;
8331
8623
  }>>;
8332
8624
  capabilities: z.ZodObject<{
8625
+ model_inventory_routes: z.ZodOptional<z.ZodArray<z.ZodEnum<["local_session", "api_key"]>, "many">>;
8626
+ model_inventory_absence: z.ZodOptional<z.ZodEnum<["authoritative", "advisory"]>>;
8627
+ model_routing_variants: z.ZodOptional<z.ZodArray<z.ZodObject<{
8628
+ suffix: z.ZodString;
8629
+ billing: z.ZodEnum<["base", "service_tier"]>;
8630
+ }, "strict", z.ZodTypeAny, {
8631
+ suffix: string;
8632
+ billing: "base" | "service_tier";
8633
+ }, {
8634
+ suffix: string;
8635
+ billing: "base" | "service_tier";
8636
+ }>, "many">>;
8637
+ model_refused_variants: z.ZodOptional<z.ZodArray<z.ZodObject<{
8638
+ suffix: z.ZodString;
8639
+ reason: z.ZodEnum<["provider_web_search"]>;
8640
+ }, "strict", z.ZodTypeAny, {
8641
+ suffix: string;
8642
+ reason: "provider_web_search";
8643
+ }, {
8644
+ suffix: string;
8645
+ reason: "provider_web_search";
8646
+ }>, "many">>;
8333
8647
  processing_preferences: z.ZodOptional<z.ZodArray<z.ZodEnum<["standard", "fast", "economy"]>, "many">>;
8334
8648
  plan: z.ZodDefault<z.ZodBoolean>;
8335
8649
  implement: z.ZodDefault<z.ZodBoolean>;
@@ -8359,8 +8673,6 @@ export declare const ControlCredentialProfilesQueryResponse: z.ZodUnion<[z.ZodOb
8359
8673
  default?: string | null | undefined;
8360
8674
  }>>>;
8361
8675
  effort_levels_verified_against: z.ZodDefault<z.ZodNullable<z.ZodString>>;
8362
- model_inventory_routes: z.ZodOptional<z.ZodArray<z.ZodEnum<["local_session", "api_key"]>, "many">>;
8363
- model_inventory_absence: z.ZodOptional<z.ZodEnum<["authoritative", "advisory"]>>;
8364
8676
  known_models: z.ZodDefault<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodObject<{
8365
8677
  id: z.ZodString;
8366
8678
  routes: z.ZodArray<z.ZodEnum<["local_session", "api_key"]>, "many">;
@@ -8373,6 +8685,16 @@ export declare const ControlCredentialProfilesQueryResponse: z.ZodUnion<[z.ZodOb
8373
8685
  }>]>, "many">>;
8374
8686
  known_models_verified_against: z.ZodDefault<z.ZodNullable<z.ZodString>>;
8375
8687
  }, "strip", z.ZodTypeAny, {
8688
+ model_inventory_routes?: ("api_key" | "local_session")[] | undefined;
8689
+ model_inventory_absence?: "advisory" | "authoritative" | undefined;
8690
+ model_routing_variants?: {
8691
+ suffix: string;
8692
+ billing: "base" | "service_tier";
8693
+ }[] | undefined;
8694
+ model_refused_variants?: {
8695
+ suffix: string;
8696
+ reason: "provider_web_search";
8697
+ }[] | undefined;
8376
8698
  processing_preferences?: ("economy" | "fast" | "standard")[] | undefined;
8377
8699
  plan: boolean;
8378
8700
  implement: boolean;
@@ -8396,14 +8718,22 @@ export declare const ControlCredentialProfilesQueryResponse: z.ZodUnion<[z.ZodOb
8396
8718
  default: string | null;
8397
8719
  }>;
8398
8720
  effort_levels_verified_against: string | null;
8399
- model_inventory_routes?: ("api_key" | "local_session")[] | undefined;
8400
- model_inventory_absence?: "advisory" | "authoritative" | undefined;
8401
8721
  known_models: (string | {
8402
8722
  id: string;
8403
8723
  routes: ("api_key" | "local_session")[];
8404
8724
  })[];
8405
8725
  known_models_verified_against: string | null;
8406
8726
  }, {
8727
+ model_inventory_routes?: ("api_key" | "local_session")[] | undefined;
8728
+ model_inventory_absence?: "advisory" | "authoritative" | undefined;
8729
+ model_routing_variants?: {
8730
+ suffix: string;
8731
+ billing: "base" | "service_tier";
8732
+ }[] | undefined;
8733
+ model_refused_variants?: {
8734
+ suffix: string;
8735
+ reason: "provider_web_search";
8736
+ }[] | undefined;
8407
8737
  processing_preferences?: ("economy" | "fast" | "standard")[] | undefined;
8408
8738
  plan?: boolean | undefined;
8409
8739
  implement?: boolean | undefined;
@@ -8427,8 +8757,6 @@ export declare const ControlCredentialProfilesQueryResponse: z.ZodUnion<[z.ZodOb
8427
8757
  default?: string | null | undefined;
8428
8758
  }> | undefined;
8429
8759
  effort_levels_verified_against?: string | null | undefined;
8430
- model_inventory_routes?: ("api_key" | "local_session")[] | undefined;
8431
- model_inventory_absence?: "advisory" | "authoritative" | undefined;
8432
8760
  known_models?: (string | {
8433
8761
  id: string;
8434
8762
  routes: ("api_key" | "local_session")[];
@@ -8493,6 +8821,16 @@ export declare const ControlCredentialProfilesQueryResponse: z.ZodUnion<[z.ZodOb
8493
8821
  prompt_cache_ttls?: ("1h" | "5m")[] | undefined;
8494
8822
  };
8495
8823
  capabilities: {
8824
+ model_inventory_routes?: ("api_key" | "local_session")[] | undefined;
8825
+ model_inventory_absence?: "advisory" | "authoritative" | undefined;
8826
+ model_routing_variants?: {
8827
+ suffix: string;
8828
+ billing: "base" | "service_tier";
8829
+ }[] | undefined;
8830
+ model_refused_variants?: {
8831
+ suffix: string;
8832
+ reason: "provider_web_search";
8833
+ }[] | undefined;
8496
8834
  processing_preferences?: ("economy" | "fast" | "standard")[] | undefined;
8497
8835
  plan: boolean;
8498
8836
  implement: boolean;
@@ -8516,8 +8854,6 @@ export declare const ControlCredentialProfilesQueryResponse: z.ZodUnion<[z.ZodOb
8516
8854
  default: string | null;
8517
8855
  }>;
8518
8856
  effort_levels_verified_against: string | null;
8519
- model_inventory_routes?: ("api_key" | "local_session")[] | undefined;
8520
- model_inventory_absence?: "advisory" | "authoritative" | undefined;
8521
8857
  known_models: (string | {
8522
8858
  id: string;
8523
8859
  routes: ("api_key" | "local_session")[];
@@ -8582,6 +8918,16 @@ export declare const ControlCredentialProfilesQueryResponse: z.ZodUnion<[z.ZodOb
8582
8918
  prompt_cache_ttls?: ("1h" | "5m")[] | undefined;
8583
8919
  } | undefined;
8584
8920
  capabilities: {
8921
+ model_inventory_routes?: ("api_key" | "local_session")[] | undefined;
8922
+ model_inventory_absence?: "advisory" | "authoritative" | undefined;
8923
+ model_routing_variants?: {
8924
+ suffix: string;
8925
+ billing: "base" | "service_tier";
8926
+ }[] | undefined;
8927
+ model_refused_variants?: {
8928
+ suffix: string;
8929
+ reason: "provider_web_search";
8930
+ }[] | undefined;
8585
8931
  processing_preferences?: ("economy" | "fast" | "standard")[] | undefined;
8586
8932
  plan?: boolean | undefined;
8587
8933
  implement?: boolean | undefined;
@@ -8605,8 +8951,6 @@ export declare const ControlCredentialProfilesQueryResponse: z.ZodUnion<[z.ZodOb
8605
8951
  default?: string | null | undefined;
8606
8952
  }> | undefined;
8607
8953
  effort_levels_verified_against?: string | null | undefined;
8608
- model_inventory_routes?: ("api_key" | "local_session")[] | undefined;
8609
- model_inventory_absence?: "advisory" | "authoritative" | undefined;
8610
8954
  known_models?: (string | {
8611
8955
  id: string;
8612
8956
  routes: ("api_key" | "local_session")[];
@@ -8774,6 +9118,16 @@ export declare const ControlCredentialProfilesQueryResponse: z.ZodUnion<[z.ZodOb
8774
9118
  prompt_cache_ttls?: ("1h" | "5m")[] | undefined;
8775
9119
  };
8776
9120
  capabilities: {
9121
+ model_inventory_routes?: ("api_key" | "local_session")[] | undefined;
9122
+ model_inventory_absence?: "advisory" | "authoritative" | undefined;
9123
+ model_routing_variants?: {
9124
+ suffix: string;
9125
+ billing: "base" | "service_tier";
9126
+ }[] | undefined;
9127
+ model_refused_variants?: {
9128
+ suffix: string;
9129
+ reason: "provider_web_search";
9130
+ }[] | undefined;
8777
9131
  processing_preferences?: ("economy" | "fast" | "standard")[] | undefined;
8778
9132
  plan: boolean;
8779
9133
  implement: boolean;
@@ -8797,8 +9151,6 @@ export declare const ControlCredentialProfilesQueryResponse: z.ZodUnion<[z.ZodOb
8797
9151
  default: string | null;
8798
9152
  }>;
8799
9153
  effort_levels_verified_against: string | null;
8800
- model_inventory_routes?: ("api_key" | "local_session")[] | undefined;
8801
- model_inventory_absence?: "advisory" | "authoritative" | undefined;
8802
9154
  known_models: (string | {
8803
9155
  id: string;
8804
9156
  routes: ("api_key" | "local_session")[];
@@ -8904,6 +9256,16 @@ export declare const ControlCredentialProfilesQueryResponse: z.ZodUnion<[z.ZodOb
8904
9256
  prompt_cache_ttls?: ("1h" | "5m")[] | undefined;
8905
9257
  } | undefined;
8906
9258
  capabilities: {
9259
+ model_inventory_routes?: ("api_key" | "local_session")[] | undefined;
9260
+ model_inventory_absence?: "advisory" | "authoritative" | undefined;
9261
+ model_routing_variants?: {
9262
+ suffix: string;
9263
+ billing: "base" | "service_tier";
9264
+ }[] | undefined;
9265
+ model_refused_variants?: {
9266
+ suffix: string;
9267
+ reason: "provider_web_search";
9268
+ }[] | undefined;
8907
9269
  processing_preferences?: ("economy" | "fast" | "standard")[] | undefined;
8908
9270
  plan?: boolean | undefined;
8909
9271
  implement?: boolean | undefined;
@@ -8927,8 +9289,6 @@ export declare const ControlCredentialProfilesQueryResponse: z.ZodUnion<[z.ZodOb
8927
9289
  default?: string | null | undefined;
8928
9290
  }> | undefined;
8929
9291
  effort_levels_verified_against?: string | null | undefined;
8930
- model_inventory_routes?: ("api_key" | "local_session")[] | undefined;
8931
- model_inventory_absence?: "advisory" | "authoritative" | undefined;
8932
9292
  known_models?: (string | {
8933
9293
  id: string;
8934
9294
  routes: ("api_key" | "local_session")[];
@@ -9248,14 +9608,15 @@ export declare const ControlCredentialProfilesQueryResponse: z.ZodUnion<[z.ZodOb
9248
9608
  resources: z.ZodArray<z.ZodObject<{
9249
9609
  target: z.ZodObject<{
9250
9610
  harness: z.ZodString;
9251
- profile_id: z.ZodString;
9611
+ profile_id: z.ZodNullable<z.ZodString>;
9252
9612
  }, "strict", z.ZodTypeAny, {
9253
9613
  harness: string;
9254
- profile_id: string;
9614
+ profile_id: string | null;
9255
9615
  }, {
9256
9616
  harness: string;
9257
- profile_id: string;
9617
+ profile_id: string | null;
9258
9618
  }>;
9619
+ credential_fingerprint: z.ZodOptional<z.ZodString>;
9259
9620
  balances: z.ZodObject<{
9260
9621
  value: z.ZodNullable<z.ZodArray<z.ZodObject<{
9261
9622
  scope: z.ZodOptional<z.ZodEnum<["personal", "team"]>>;
@@ -9389,6 +9750,9 @@ export declare const ControlCredentialProfilesQueryResponse: z.ZodUnion<[z.ZodOb
9389
9750
  decimal_places: z.ZodNullable<z.ZodNumber>;
9390
9751
  resets_at: z.ZodNullable<z.ZodString>;
9391
9752
  reason: z.ZodNullable<z.ZodString>;
9753
+ capped: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
9754
+ remaining: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9755
+ window: z.ZodOptional<z.ZodNullable<z.ZodEnum<["day", "week", "month", "lifetime"]>>>;
9392
9756
  }, "strict", z.ZodTypeAny, {
9393
9757
  scope?: "personal" | "team" | undefined;
9394
9758
  usage_kind?: "bonus" | "included" | "on_demand" | "total" | undefined;
@@ -9407,6 +9771,9 @@ export declare const ControlCredentialProfilesQueryResponse: z.ZodUnion<[z.ZodOb
9407
9771
  decimal_places: number | null;
9408
9772
  resets_at: string | null;
9409
9773
  reason: string | null;
9774
+ capped?: boolean | null | undefined;
9775
+ remaining?: string | null | undefined;
9776
+ window?: "day" | "lifetime" | "month" | "week" | null | undefined;
9410
9777
  }, {
9411
9778
  scope?: "personal" | "team" | undefined;
9412
9779
  usage_kind?: "bonus" | "included" | "on_demand" | "total" | undefined;
@@ -9425,6 +9792,9 @@ export declare const ControlCredentialProfilesQueryResponse: z.ZodUnion<[z.ZodOb
9425
9792
  decimal_places: number | null;
9426
9793
  resets_at: string | null;
9427
9794
  reason: string | null;
9795
+ capped?: boolean | null | undefined;
9796
+ remaining?: string | null | undefined;
9797
+ window?: "day" | "lifetime" | "month" | "week" | null | undefined;
9428
9798
  }>, "many">>;
9429
9799
  source: z.ZodNullable<z.ZodString>;
9430
9800
  observed_at: z.ZodNullable<z.ZodString>;
@@ -9450,6 +9820,9 @@ export declare const ControlCredentialProfilesQueryResponse: z.ZodUnion<[z.ZodOb
9450
9820
  decimal_places: number | null;
9451
9821
  resets_at: string | null;
9452
9822
  reason: string | null;
9823
+ capped?: boolean | null | undefined;
9824
+ remaining?: string | null | undefined;
9825
+ window?: "day" | "lifetime" | "month" | "week" | null | undefined;
9453
9826
  }[] | null;
9454
9827
  source: string | null;
9455
9828
  observed_at: string | null;
@@ -9475,6 +9848,9 @@ export declare const ControlCredentialProfilesQueryResponse: z.ZodUnion<[z.ZodOb
9475
9848
  decimal_places: number | null;
9476
9849
  resets_at: string | null;
9477
9850
  reason: string | null;
9851
+ capped?: boolean | null | undefined;
9852
+ remaining?: string | null | undefined;
9853
+ window?: "day" | "lifetime" | "month" | "week" | null | undefined;
9478
9854
  }[] | null;
9479
9855
  source: string | null;
9480
9856
  observed_at: string | null;
@@ -9674,8 +10050,9 @@ export declare const ControlCredentialProfilesQueryResponse: z.ZodUnion<[z.ZodOb
9674
10050
  }, "strict", z.ZodTypeAny, {
9675
10051
  target: {
9676
10052
  harness: string;
9677
- profile_id: string;
10053
+ profile_id: string | null;
9678
10054
  };
10055
+ credential_fingerprint?: string | undefined;
9679
10056
  balances: {
9680
10057
  value: {
9681
10058
  scope?: "personal" | "team" | undefined;
@@ -9719,6 +10096,9 @@ export declare const ControlCredentialProfilesQueryResponse: z.ZodUnion<[z.ZodOb
9719
10096
  decimal_places: number | null;
9720
10097
  resets_at: string | null;
9721
10098
  reason: string | null;
10099
+ capped?: boolean | null | undefined;
10100
+ remaining?: string | null | undefined;
10101
+ window?: "day" | "lifetime" | "month" | "week" | null | undefined;
9722
10102
  }[] | null;
9723
10103
  source: string | null;
9724
10104
  observed_at: string | null;
@@ -9770,8 +10150,9 @@ export declare const ControlCredentialProfilesQueryResponse: z.ZodUnion<[z.ZodOb
9770
10150
  }, {
9771
10151
  target: {
9772
10152
  harness: string;
9773
- profile_id: string;
10153
+ profile_id: string | null;
9774
10154
  };
10155
+ credential_fingerprint?: string | undefined;
9775
10156
  balances: {
9776
10157
  value: {
9777
10158
  scope?: "personal" | "team" | undefined;
@@ -9815,6 +10196,9 @@ export declare const ControlCredentialProfilesQueryResponse: z.ZodUnion<[z.ZodOb
9815
10196
  decimal_places: number | null;
9816
10197
  resets_at: string | null;
9817
10198
  reason: string | null;
10199
+ capped?: boolean | null | undefined;
10200
+ remaining?: string | null | undefined;
10201
+ window?: "day" | "lifetime" | "month" | "week" | null | undefined;
9818
10202
  }[] | null;
9819
10203
  source: string | null;
9820
10204
  observed_at: string | null;
@@ -9926,8 +10310,9 @@ export declare const ControlCredentialProfilesQueryResponse: z.ZodUnion<[z.ZodOb
9926
10310
  resources: {
9927
10311
  target: {
9928
10312
  harness: string;
9929
- profile_id: string;
10313
+ profile_id: string | null;
9930
10314
  };
10315
+ credential_fingerprint?: string | undefined;
9931
10316
  balances: {
9932
10317
  value: {
9933
10318
  scope?: "personal" | "team" | undefined;
@@ -9971,6 +10356,9 @@ export declare const ControlCredentialProfilesQueryResponse: z.ZodUnion<[z.ZodOb
9971
10356
  decimal_places: number | null;
9972
10357
  resets_at: string | null;
9973
10358
  reason: string | null;
10359
+ capped?: boolean | null | undefined;
10360
+ remaining?: string | null | undefined;
10361
+ window?: "day" | "lifetime" | "month" | "week" | null | undefined;
9974
10362
  }[] | null;
9975
10363
  source: string | null;
9976
10364
  observed_at: string | null;
@@ -10082,8 +10470,9 @@ export declare const ControlCredentialProfilesQueryResponse: z.ZodUnion<[z.ZodOb
10082
10470
  resources: {
10083
10471
  target: {
10084
10472
  harness: string;
10085
- profile_id: string;
10473
+ profile_id: string | null;
10086
10474
  };
10475
+ credential_fingerprint?: string | undefined;
10087
10476
  balances: {
10088
10477
  value: {
10089
10478
  scope?: "personal" | "team" | undefined;
@@ -10127,6 +10516,9 @@ export declare const ControlCredentialProfilesQueryResponse: z.ZodUnion<[z.ZodOb
10127
10516
  decimal_places: number | null;
10128
10517
  resets_at: string | null;
10129
10518
  reason: string | null;
10519
+ capped?: boolean | null | undefined;
10520
+ remaining?: string | null | undefined;
10521
+ window?: "day" | "lifetime" | "month" | "week" | null | undefined;
10130
10522
  }[] | null;
10131
10523
  source: string | null;
10132
10524
  observed_at: string | null;
@@ -10296,6 +10688,16 @@ export declare const ControlCredentialProfilesQueryResponse: z.ZodUnion<[z.ZodOb
10296
10688
  prompt_cache_ttls?: ("1h" | "5m")[] | undefined;
10297
10689
  };
10298
10690
  capabilities: {
10691
+ model_inventory_routes?: ("api_key" | "local_session")[] | undefined;
10692
+ model_inventory_absence?: "advisory" | "authoritative" | undefined;
10693
+ model_routing_variants?: {
10694
+ suffix: string;
10695
+ billing: "base" | "service_tier";
10696
+ }[] | undefined;
10697
+ model_refused_variants?: {
10698
+ suffix: string;
10699
+ reason: "provider_web_search";
10700
+ }[] | undefined;
10299
10701
  processing_preferences?: ("economy" | "fast" | "standard")[] | undefined;
10300
10702
  plan: boolean;
10301
10703
  implement: boolean;
@@ -10319,8 +10721,6 @@ export declare const ControlCredentialProfilesQueryResponse: z.ZodUnion<[z.ZodOb
10319
10721
  default: string | null;
10320
10722
  }>;
10321
10723
  effort_levels_verified_against: string | null;
10322
- model_inventory_routes?: ("api_key" | "local_session")[] | undefined;
10323
- model_inventory_absence?: "advisory" | "authoritative" | undefined;
10324
10724
  known_models: (string | {
10325
10725
  id: string;
10326
10726
  routes: ("api_key" | "local_session")[];
@@ -10437,8 +10837,9 @@ export declare const ControlCredentialProfilesQueryResponse: z.ZodUnion<[z.ZodOb
10437
10837
  resources: {
10438
10838
  target: {
10439
10839
  harness: string;
10440
- profile_id: string;
10840
+ profile_id: string | null;
10441
10841
  };
10842
+ credential_fingerprint?: string | undefined;
10442
10843
  balances: {
10443
10844
  value: {
10444
10845
  scope?: "personal" | "team" | undefined;
@@ -10482,6 +10883,9 @@ export declare const ControlCredentialProfilesQueryResponse: z.ZodUnion<[z.ZodOb
10482
10883
  decimal_places: number | null;
10483
10884
  resets_at: string | null;
10484
10885
  reason: string | null;
10886
+ capped?: boolean | null | undefined;
10887
+ remaining?: string | null | undefined;
10888
+ window?: "day" | "lifetime" | "month" | "week" | null | undefined;
10485
10889
  }[] | null;
10486
10890
  source: string | null;
10487
10891
  observed_at: string | null;
@@ -10651,6 +11055,16 @@ export declare const ControlCredentialProfilesQueryResponse: z.ZodUnion<[z.ZodOb
10651
11055
  prompt_cache_ttls?: ("1h" | "5m")[] | undefined;
10652
11056
  } | undefined;
10653
11057
  capabilities: {
11058
+ model_inventory_routes?: ("api_key" | "local_session")[] | undefined;
11059
+ model_inventory_absence?: "advisory" | "authoritative" | undefined;
11060
+ model_routing_variants?: {
11061
+ suffix: string;
11062
+ billing: "base" | "service_tier";
11063
+ }[] | undefined;
11064
+ model_refused_variants?: {
11065
+ suffix: string;
11066
+ reason: "provider_web_search";
11067
+ }[] | undefined;
10654
11068
  processing_preferences?: ("economy" | "fast" | "standard")[] | undefined;
10655
11069
  plan?: boolean | undefined;
10656
11070
  implement?: boolean | undefined;
@@ -10674,8 +11088,6 @@ export declare const ControlCredentialProfilesQueryResponse: z.ZodUnion<[z.ZodOb
10674
11088
  default?: string | null | undefined;
10675
11089
  }> | undefined;
10676
11090
  effort_levels_verified_against?: string | null | undefined;
10677
- model_inventory_routes?: ("api_key" | "local_session")[] | undefined;
10678
- model_inventory_absence?: "advisory" | "authoritative" | undefined;
10679
11091
  known_models?: (string | {
10680
11092
  id: string;
10681
11093
  routes: ("api_key" | "local_session")[];
@@ -10792,8 +11204,9 @@ export declare const ControlCredentialProfilesQueryResponse: z.ZodUnion<[z.ZodOb
10792
11204
  resources: {
10793
11205
  target: {
10794
11206
  harness: string;
10795
- profile_id: string;
11207
+ profile_id: string | null;
10796
11208
  };
11209
+ credential_fingerprint?: string | undefined;
10797
11210
  balances: {
10798
11211
  value: {
10799
11212
  scope?: "personal" | "team" | undefined;
@@ -10837,6 +11250,9 @@ export declare const ControlCredentialProfilesQueryResponse: z.ZodUnion<[z.ZodOb
10837
11250
  decimal_places: number | null;
10838
11251
  resets_at: string | null;
10839
11252
  reason: string | null;
11253
+ capped?: boolean | null | undefined;
11254
+ remaining?: string | null | undefined;
11255
+ window?: "day" | "lifetime" | "month" | "week" | null | undefined;
10840
11256
  }[] | null;
10841
11257
  source: string | null;
10842
11258
  observed_at: string | null;