@omnicross/core 0.1.5 → 0.1.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (231) hide show
  1. package/dist/ApiConverter.cjs +2 -2
  2. package/dist/ApiConverter.js +1 -1
  3. package/dist/{CompletionService-DdWaAxq0.d.ts → CompletionService-C3BX0Ovy.d.ts} +4 -3
  4. package/dist/{CompletionService-D3a47vdU.d.cts → CompletionService-kNA17cfI.d.cts} +4 -3
  5. package/dist/auth/GeminiCodeAssistProjectResolver.cjs +8 -6
  6. package/dist/auth/GeminiCodeAssistProjectResolver.js +6 -4
  7. package/dist/{chunk-3Z5BQZFM.cjs → chunk-235MXAGX.cjs} +3 -1
  8. package/dist/{chunk-HRRYG2AX.js → chunk-23S5OPIO.js} +10 -1
  9. package/dist/chunk-25GXJCEZ.cjs +40 -0
  10. package/dist/chunk-2E42SAW3.cjs +323 -0
  11. package/dist/chunk-2JYRIADS.js +40 -0
  12. package/dist/chunk-2Z4XM3H5.cjs +44 -0
  13. package/dist/{chunk-BODMAL6G.js → chunk-32O35CIF.js} +271 -91
  14. package/dist/chunk-3SCOLIPT.cjs +63 -0
  15. package/dist/{chunk-SYQF7OIR.js → chunk-3WD4HTR2.js} +2 -0
  16. package/dist/{chunk-CGKLE6IW.cjs → chunk-4BB343BI.cjs} +1489 -520
  17. package/dist/{chunk-VACWOIRE.cjs → chunk-4VZX5F4T.cjs} +39 -15
  18. package/dist/{chunk-5ZQBEOMD.js → chunk-5NJLQ6T6.js} +46 -12
  19. package/dist/chunk-5RSZYQJH.cjs +62 -0
  20. package/dist/chunk-6QQG7YG3.cjs +153 -0
  21. package/dist/{chunk-IFXJ2BG7.js → chunk-7C7DET6S.js} +51 -6
  22. package/dist/{chunk-IK3KE3AU.js → chunk-DE2SRBFZ.js} +1 -1
  23. package/dist/{chunk-FH2P4OCD.js → chunk-E3COOKUP.js} +1240 -271
  24. package/dist/{chunk-UHGVBFU3.js → chunk-EBLFCNPY.js} +38 -14
  25. package/dist/chunk-FU7EAR73.js +62 -0
  26. package/dist/chunk-FXR6N3SR.js +323 -0
  27. package/dist/{chunk-SUEGJ75D.cjs → chunk-GDIXXKF2.cjs} +46 -12
  28. package/dist/chunk-GFIZ6LQI.js +170 -0
  29. package/dist/chunk-GL6XM527.js +61 -0
  30. package/dist/chunk-HVBBDBS3.cjs +350 -0
  31. package/dist/{chunk-46ZIFWYG.cjs → chunk-IIRPUVPH.cjs} +7 -1
  32. package/dist/chunk-J3QQ6JS5.cjs +170 -0
  33. package/dist/{chunk-JWVTXXPX.cjs → chunk-KBM2W6UY.cjs} +8 -4
  34. package/dist/chunk-LB6EBS6Y.js +69 -0
  35. package/dist/{chunk-IWQAX3CS.js → chunk-LVUCAWMK.js} +1 -1
  36. package/dist/chunk-MKF46GNZ.js +350 -0
  37. package/dist/{chunk-HYN75H6G.cjs → chunk-MUHWHQVM.cjs} +1 -1
  38. package/dist/chunk-MYYR3HZL.js +44 -0
  39. package/dist/{chunk-MFZ5437A.js → chunk-N5T4M4GU.js} +1 -1
  40. package/dist/{chunk-5ENKBSWO.js → chunk-N7OOJI5V.js} +88 -8
  41. package/dist/chunk-NKVZ6Z3Y.cjs +61 -0
  42. package/dist/chunk-OF3BECU2.cjs +69 -0
  43. package/dist/{chunk-SNYBEXLB.cjs → chunk-OJGQKHN5.cjs} +3 -1
  44. package/dist/{chunk-DDMRUL76.cjs → chunk-OKMJLEXX.cjs} +5 -5
  45. package/dist/chunk-OPRS4IQZ.js +153 -0
  46. package/dist/chunk-OTZC4TNH.cjs +79 -0
  47. package/dist/{chunk-3Q6Z6JTO.cjs → chunk-OVQBNVSV.cjs} +287 -107
  48. package/dist/{chunk-4XMYPW46.cjs → chunk-OXHNSZ53.cjs} +84 -44
  49. package/dist/{chunk-C6OV7GCC.js → chunk-PEGTIPB3.js} +52 -12
  50. package/dist/chunk-PO3XB56Z.js +79 -0
  51. package/dist/{chunk-D3TDKWRP.js → chunk-RJ5ZGNI3.js} +54 -5
  52. package/dist/{chunk-PG7PS2NN.cjs → chunk-RJUONLUQ.cjs} +59 -10
  53. package/dist/{chunk-BPKCU575.js → chunk-SOO562NM.js} +3 -1
  54. package/dist/{chunk-6QZGDLL4.js → chunk-TOVPMMHM.js} +5 -1
  55. package/dist/{chunk-K52THW2C.cjs → chunk-V4TXMEJS.cjs} +5 -5
  56. package/dist/{chunk-G2UTNSGU.js → chunk-WNKWAEUR.js} +7 -1
  57. package/dist/{chunk-UNWKG6EI.cjs → chunk-XPIOJQS2.cjs} +51 -6
  58. package/dist/chunk-XXFYLL7R.js +63 -0
  59. package/dist/{chunk-KFI44N2R.cjs → chunk-YNJNTCSQ.cjs} +10 -1
  60. package/dist/{chunk-VQY5W4YW.cjs → chunk-YWL7YZWS.cjs} +90 -10
  61. package/dist/completion/ApiKeyPoolService.cjs +12 -0
  62. package/dist/completion/ApiKeyPoolService.d.cts +6 -0
  63. package/dist/completion/ApiKeyPoolService.d.ts +6 -0
  64. package/dist/completion/ApiKeyPoolService.js +12 -0
  65. package/dist/completion/CompletionService.cjs +30 -24
  66. package/dist/completion/CompletionService.d.cts +3 -1
  67. package/dist/completion/CompletionService.d.ts +3 -1
  68. package/dist/completion/CompletionService.js +29 -23
  69. package/dist/completion.cjs +32 -26
  70. package/dist/completion.d.cts +3 -1
  71. package/dist/completion.d.ts +3 -1
  72. package/dist/completion.js +31 -25
  73. package/dist/index.cjs +56 -29
  74. package/dist/index.d.cts +8 -8
  75. package/dist/index.d.ts +8 -8
  76. package/dist/index.js +61 -34
  77. package/dist/{keyPolicy-Cp0FntZl.d.cts → keyPolicy-zdWTu3CQ.d.cts} +1 -1
  78. package/dist/{keyPolicy-Cp0FntZl.d.ts → keyPolicy-zdWTu3CQ.d.ts} +1 -1
  79. package/dist/outbound-api/auditCapture.cjs +2 -2
  80. package/dist/outbound-api/auditCapture.d.cts +3 -4
  81. package/dist/outbound-api/auditCapture.d.ts +3 -4
  82. package/dist/outbound-api/auditCapture.js +1 -1
  83. package/dist/outbound-api/quotaWarn.d.cts +1 -1
  84. package/dist/outbound-api/quotaWarn.d.ts +1 -1
  85. package/dist/outbound-api/routeResolver.cjs +2 -2
  86. package/dist/outbound-api/routeResolver.d.cts +5 -3
  87. package/dist/outbound-api/routeResolver.d.ts +5 -3
  88. package/dist/outbound-api/routeResolver.js +1 -1
  89. package/dist/outbound-api/subscriptionRegistryPort.d.cts +2 -0
  90. package/dist/outbound-api/subscriptionRegistryPort.d.ts +2 -0
  91. package/dist/outbound-api/types.d.cts +4 -2
  92. package/dist/outbound-api/types.d.ts +4 -2
  93. package/dist/outbound-api.cjs +52 -25
  94. package/dist/outbound-api.d.cts +131 -87
  95. package/dist/outbound-api.d.ts +131 -87
  96. package/dist/outbound-api.js +55 -28
  97. package/dist/pipeline/AccountAllowanceScheduling.cjs +15 -0
  98. package/dist/pipeline/AccountAllowanceScheduling.d.cts +91 -0
  99. package/dist/pipeline/AccountAllowanceScheduling.d.ts +91 -0
  100. package/dist/pipeline/AccountAllowanceScheduling.js +15 -0
  101. package/dist/pipeline/AccountAllowanceStore.cjs +20 -0
  102. package/dist/pipeline/AccountAllowanceStore.d.cts +77 -0
  103. package/dist/pipeline/AccountAllowanceStore.d.ts +77 -0
  104. package/dist/pipeline/AccountAllowanceStore.js +20 -0
  105. package/dist/pipeline/AccountRouteActivity.cjs +10 -0
  106. package/dist/pipeline/AccountRouteActivity.d.cts +61 -0
  107. package/dist/pipeline/AccountRouteActivity.d.ts +61 -0
  108. package/dist/pipeline/AccountRouteActivity.js +10 -0
  109. package/dist/pipeline/AuthSource.d.cts +11 -2
  110. package/dist/pipeline/AuthSource.d.ts +11 -2
  111. package/dist/pipeline/BoundAccountSelectionError.cjs +10 -0
  112. package/dist/pipeline/BoundAccountSelectionError.d.cts +28 -0
  113. package/dist/pipeline/BoundAccountSelectionError.d.ts +28 -0
  114. package/dist/pipeline/BoundAccountSelectionError.js +10 -0
  115. package/dist/pipeline/LlmConfigProviderAuth.d.cts +1 -0
  116. package/dist/pipeline/LlmConfigProviderAuth.d.ts +1 -0
  117. package/dist/pipeline/ServerOverloadCounter.cjs +16 -0
  118. package/dist/pipeline/ServerOverloadCounter.d.cts +77 -0
  119. package/dist/pipeline/ServerOverloadCounter.d.ts +77 -0
  120. package/dist/pipeline/ServerOverloadCounter.js +16 -0
  121. package/dist/pipeline/SubscriptionAccountHealth.cjs +6 -2
  122. package/dist/pipeline/SubscriptionAccountHealth.d.cts +65 -8
  123. package/dist/pipeline/SubscriptionAccountHealth.d.ts +65 -8
  124. package/dist/pipeline/SubscriptionAccountHealth.js +5 -1
  125. package/dist/pipeline/SubscriptionAuthSource.cjs +5 -2
  126. package/dist/pipeline/SubscriptionAuthSource.d.cts +1 -0
  127. package/dist/pipeline/SubscriptionAuthSource.d.ts +1 -0
  128. package/dist/pipeline/SubscriptionAuthSource.js +4 -1
  129. package/dist/pipeline/SubscriptionAuthStrategy.d.cts +8 -3
  130. package/dist/pipeline/SubscriptionAuthStrategy.d.ts +8 -3
  131. package/dist/pipeline/executeProviderCall.cjs +2 -2
  132. package/dist/pipeline/executeProviderCall.d.cts +8 -3
  133. package/dist/pipeline/executeProviderCall.d.ts +8 -3
  134. package/dist/pipeline/executeProviderCall.js +1 -1
  135. package/dist/pipeline/resolveProviderChain.d.cts +2 -3
  136. package/dist/pipeline/resolveProviderChain.d.ts +2 -3
  137. package/dist/pipeline/resolveSubscriptionChain.d.cts +1 -0
  138. package/dist/pipeline/resolveSubscriptionChain.d.ts +1 -0
  139. package/dist/pipeline/upstreamFetch.cjs +5 -3
  140. package/dist/pipeline/upstreamFetch.d.cts +35 -6
  141. package/dist/pipeline/upstreamFetch.d.ts +35 -6
  142. package/dist/pipeline/upstreamFetch.js +4 -2
  143. package/dist/pipeline/upstreamTrace.cjs +4 -2
  144. package/dist/pipeline/upstreamTrace.d.cts +22 -8
  145. package/dist/pipeline/upstreamTrace.d.ts +22 -8
  146. package/dist/pipeline/upstreamTrace.js +3 -1
  147. package/dist/ports/pricing-store.d.cts +4 -3
  148. package/dist/ports/pricing-store.d.ts +4 -3
  149. package/dist/ports.d.cts +4 -3
  150. package/dist/ports.d.ts +4 -3
  151. package/dist/provider-proxy/ProviderProxy.cjs +30 -24
  152. package/dist/provider-proxy/ProviderProxy.d.cts +2 -0
  153. package/dist/provider-proxy/ProviderProxy.d.ts +2 -0
  154. package/dist/provider-proxy/ProviderProxy.js +29 -23
  155. package/dist/provider-proxy/identity/codexCliHeaders.cjs +10 -0
  156. package/dist/provider-proxy/identity/codexCliHeaders.d.cts +45 -0
  157. package/dist/provider-proxy/identity/codexCliHeaders.d.ts +45 -0
  158. package/dist/provider-proxy/identity/codexCliHeaders.js +10 -0
  159. package/dist/provider-proxy/ingress/providerProxyShared.cjs +32 -24
  160. package/dist/provider-proxy/ingress/providerProxyShared.d.cts +44 -5
  161. package/dist/provider-proxy/ingress/providerProxyShared.d.ts +44 -5
  162. package/dist/provider-proxy/ingress/providerProxyShared.js +31 -23
  163. package/dist/provider-proxy/matchText.cjs +4 -2
  164. package/dist/provider-proxy/matchText.d.cts +39 -6
  165. package/dist/provider-proxy/matchText.d.ts +39 -6
  166. package/dist/provider-proxy/matchText.js +3 -1
  167. package/dist/provider-proxy/types.d.cts +35 -2
  168. package/dist/provider-proxy/types.d.ts +35 -2
  169. package/dist/provider-proxy.cjs +30 -24
  170. package/dist/provider-proxy.d.cts +2 -0
  171. package/dist/provider-proxy.d.ts +2 -0
  172. package/dist/provider-proxy.js +29 -23
  173. package/dist/{routeResolver-C4T7yClx.d.ts → routeResolver-BxOfunbm.d.ts} +1 -1
  174. package/dist/{routeResolver-CB3tvJKy.d.cts → routeResolver-D5OzD0iM.d.cts} +1 -1
  175. package/dist/transformer/TransformerChainExecutor.cjs +2 -2
  176. package/dist/transformer/TransformerChainExecutor.js +1 -1
  177. package/dist/transformer/transformers/AnthropicTransformer.cjs +3 -2
  178. package/dist/transformer/transformers/AnthropicTransformer.js +2 -1
  179. package/dist/transformer/transformers/GeminiCodeAssistTransformer.cjs +3 -3
  180. package/dist/transformer/transformers/GeminiCodeAssistTransformer.js +2 -2
  181. package/dist/transformer/transformers/GeminiTransformer.cjs +3 -3
  182. package/dist/transformer/transformers/GeminiTransformer.js +2 -2
  183. package/dist/transformer/transformers/OpenAIResponseTransformer.cjs +3 -2
  184. package/dist/transformer/transformers/OpenAIResponseTransformer.d.cts +1 -1
  185. package/dist/transformer/transformers/OpenAIResponseTransformer.d.ts +1 -1
  186. package/dist/transformer/transformers/OpenAIResponseTransformer.js +2 -1
  187. package/dist/transformer/transformers/OpenAITransformer.cjs +6 -0
  188. package/dist/transformer/transformers/OpenAITransformer.d.cts +68 -0
  189. package/dist/transformer/transformers/OpenAITransformer.d.ts +68 -0
  190. package/dist/transformer/transformers/OpenAITransformer.js +6 -0
  191. package/dist/transformer/transformers.cjs +9 -14
  192. package/dist/transformer/transformers.d.cts +12 -48
  193. package/dist/transformer/transformers.d.ts +12 -48
  194. package/dist/transformer/transformers.js +11 -16
  195. package/dist/transformer/types.d.cts +17 -0
  196. package/dist/transformer/types.d.ts +17 -0
  197. package/dist/transformer.cjs +12 -12
  198. package/dist/transformer.d.cts +1 -2
  199. package/dist/transformer.d.ts +1 -2
  200. package/dist/transformer.js +12 -12
  201. package/dist/{types-lgPYQuZS.d.ts → types-CqZD77rS.d.ts} +173 -7
  202. package/dist/{types-B8Arpxn0.d.cts → types-gjJ5lJ5n.d.cts} +173 -7
  203. package/dist/usage/pricing-engine.cjs +2 -2
  204. package/dist/usage/pricing-engine.d.cts +29 -1
  205. package/dist/usage/pricing-engine.d.ts +29 -1
  206. package/dist/usage/pricing-engine.js +1 -1
  207. package/dist/usage/usage-recorder.cjs +2 -2
  208. package/dist/usage/usage-recorder.d.cts +5 -1
  209. package/dist/usage/usage-recorder.d.ts +5 -1
  210. package/dist/usage/usage-recorder.js +1 -1
  211. package/dist/usage.cjs +3 -3
  212. package/dist/usage.js +2 -2
  213. package/package.json +1 -1
  214. package/dist/chunk-7FEBOPJO.cjs +0 -50
  215. package/dist/chunk-DWKQZ2SK.cjs +0 -254
  216. package/dist/chunk-IAXWICZU.js +0 -69
  217. package/dist/chunk-IB3FDI4O.js +0 -50
  218. package/dist/chunk-OQWKZCXP.js +0 -242
  219. package/dist/chunk-QWBWGODS.cjs +0 -69
  220. package/dist/chunk-YMFAJFQT.cjs +0 -173
  221. package/dist/chunk-ZCIQ3L3R.cjs +0 -242
  222. package/dist/chunk-ZJZAOKI7.js +0 -254
  223. package/dist/chunk-ZLX3KGXX.js +0 -173
  224. package/dist/transformer/transformers/OpenCodeGoTransformer.cjs +0 -6
  225. package/dist/transformer/transformers/OpenCodeGoTransformer.d.cts +0 -51
  226. package/dist/transformer/transformers/OpenCodeGoTransformer.d.ts +0 -51
  227. package/dist/transformer/transformers/OpenCodeGoTransformer.js +0 -6
  228. package/dist/transformer/transformers/ReasoningTransformer.cjs +0 -6
  229. package/dist/transformer/transformers/ReasoningTransformer.d.cts +0 -47
  230. package/dist/transformer/transformers/ReasoningTransformer.d.ts +0 -47
  231. package/dist/transformer/transformers/ReasoningTransformer.js +0 -6
@@ -7,50 +7,57 @@ import {
7
7
  readBody,
8
8
  relayResponse,
9
9
  resolvePoolBoundKey,
10
+ writeBoundAccountError,
10
11
  writeError
11
- } from "../../chunk-FH2P4OCD.js";
12
+ } from "../../chunk-E3COOKUP.js";
12
13
  import "../../chunk-VVEHS2LI.js";
13
14
  import "../../chunk-46RLHI7D.js";
14
- import "../../chunk-G2UTNSGU.js";
15
- import "../../chunk-DK4A7DLE.js";
16
- import "../../chunk-OQWKZCXP.js";
17
- import "../../chunk-IB3FDI4O.js";
18
- import "../../chunk-ZJZAOKI7.js";
19
- import "../../chunk-C6OV7GCC.js";
20
- import "../../chunk-IWQAX3CS.js";
21
- import "../../chunk-BODMAL6G.js";
15
+ import "../../chunk-MYYR3HZL.js";
16
+ import "../../chunk-PEGTIPB3.js";
17
+ import "../../chunk-LVUCAWMK.js";
18
+ import "../../chunk-32O35CIF.js";
19
+ import "../../chunk-FU7EAR73.js";
20
+ import "../../chunk-LB6EBS6Y.js";
22
21
  import "../../chunk-7VU7V2E4.js";
23
- import "../../chunk-ZLX3KGXX.js";
24
- import "../../chunk-BPKCU575.js";
22
+ import "../../chunk-FXR6N3SR.js";
23
+ import "../../chunk-SOO562NM.js";
24
+ import "../../chunk-WNKWAEUR.js";
25
25
  import "../../chunk-MZNPGW5Q.js";
26
+ import "../../chunk-DK4A7DLE.js";
27
+ import "../../chunk-XXFYLL7R.js";
26
28
  import "../../chunk-XTEI64OU.js";
27
29
  import "../../chunk-XX6NQJMA.js";
28
- import "../../chunk-IAXWICZU.js";
30
+ import "../../chunk-GFIZ6LQI.js";
29
31
  import "../../chunk-OE6TDIWW.js";
30
32
  import "../../chunk-DRWHTIIZ.js";
31
- import "../../chunk-IK3KE3AU.js";
32
- import "../../chunk-ZY6KU6P3.js";
33
33
  import "../../chunk-JWC6APFQ.js";
34
34
  import "../../chunk-5ERIZW3D.js";
35
- import "../../chunk-5ENKBSWO.js";
36
- import "../../chunk-HRRYG2AX.js";
35
+ import "../../chunk-PO3XB56Z.js";
36
+ import "../../chunk-N7OOJI5V.js";
37
+ import "../../chunk-23S5OPIO.js";
37
38
  import "../../chunk-AVYJ4YBN.js";
39
+ import "../../chunk-OPRS4IQZ.js";
40
+ import "../../chunk-2JYRIADS.js";
41
+ import "../../chunk-DE2SRBFZ.js";
42
+ import "../../chunk-ZY6KU6P3.js";
38
43
  import "../../chunk-WLYIIEAF.js";
39
44
  import "../../chunk-TKJMZBAH.js";
40
45
  import "../../chunk-3QFXFCHG.js";
41
- import "../../chunk-UHGVBFU3.js";
46
+ import "../../chunk-EBLFCNPY.js";
42
47
  import "../../chunk-AQ5TNQB7.js";
43
48
  import "../../chunk-XEKD23J5.js";
44
49
  import "../../chunk-H5JUT3KV.js";
45
- import "../../chunk-IFXJ2BG7.js";
50
+ import "../../chunk-7C7DET6S.js";
46
51
  import "../../chunk-K5NM7VAH.js";
47
52
  import "../../chunk-WNY4WMRF.js";
48
53
  import "../../chunk-OZFM4X3S.js";
49
- import "../../chunk-5ZQBEOMD.js";
50
- import "../../chunk-MFZ5437A.js";
51
- import "../../chunk-6QZGDLL4.js";
52
- import "../../chunk-D3TDKWRP.js";
53
- import "../../chunk-SYQF7OIR.js";
54
+ import "../../chunk-5NJLQ6T6.js";
55
+ import "../../chunk-N5T4M4GU.js";
56
+ import "../../chunk-TOVPMMHM.js";
57
+ import "../../chunk-RJ5ZGNI3.js";
58
+ import "../../chunk-3WD4HTR2.js";
59
+ import "../../chunk-MKF46GNZ.js";
60
+ import "../../chunk-GL6XM527.js";
54
61
  import "../../chunk-CDHS2QDC.js";
55
62
  import "../../chunk-Y7FO65VT.js";
56
63
  import "../../chunk-FMOBD2OQ.js";
@@ -64,5 +71,6 @@ export {
64
71
  readBody,
65
72
  relayResponse,
66
73
  resolvePoolBoundKey,
74
+ writeBoundAccountError,
67
75
  writeError
68
76
  };
@@ -4,11 +4,13 @@
4
4
 
5
5
 
6
6
 
7
- var _chunkQWBWGODScjs = require('../chunk-QWBWGODS.cjs');
8
7
 
8
+ var _chunkJ3QQ6JS5cjs = require('../chunk-J3QQ6JS5.cjs');
9
9
 
10
10
 
11
11
 
12
12
 
13
13
 
14
- exports.MATCH_TEXT_PER_MESSAGE_CAP = _chunkQWBWGODScjs.MATCH_TEXT_PER_MESSAGE_CAP; exports.MATCH_TEXT_RECENT_MESSAGES = _chunkQWBWGODScjs.MATCH_TEXT_RECENT_MESSAGES; exports.collectMatchText = _chunkQWBWGODScjs.collectMatchText; exports.deriveSubscriptionSessionKey = _chunkQWBWGODScjs.deriveSubscriptionSessionKey; exports.flattenMatchText = _chunkQWBWGODScjs.flattenMatchText;
14
+
15
+
16
+ exports.MATCH_TEXT_PER_MESSAGE_CAP = _chunkJ3QQ6JS5cjs.MATCH_TEXT_PER_MESSAGE_CAP; exports.MATCH_TEXT_RECENT_MESSAGES = _chunkJ3QQ6JS5cjs.MATCH_TEXT_RECENT_MESSAGES; exports.collectMatchText = _chunkJ3QQ6JS5cjs.collectMatchText; exports.deriveGatewaySessionKey = _chunkJ3QQ6JS5cjs.deriveGatewaySessionKey; exports.deriveSubscriptionSessionKey = _chunkJ3QQ6JS5cjs.deriveSubscriptionSessionKey; exports.flattenMatchText = _chunkJ3QQ6JS5cjs.flattenMatchText;
@@ -34,11 +34,10 @@ declare const MATCH_TEXT_RECENT_MESSAGES = 6;
34
34
  declare function flattenMatchText(value: unknown): string;
35
35
  /**
36
36
  * Build the BOUNDED match-text slice: the `system` prompt plus the most recent
37
- * `user`/`system` messages, each truncated to a per-message char cap (design.md
38
- * §2 mirrors the reference `DetectScenario` role filter, bounded so matching
39
- * cost is independent of conversation length). Assistant turns are excluded (the
40
- * §3 common-denominator decision; same safe direction as the reference for the
41
- * background tool-blocker pre-scan). System prompt is emitted first.
37
+ * `user`/`system` messages, each truncated to a per-message char cap so matching
38
+ * cost is independent of conversation length. Assistant turns are excluded to
39
+ * keep routing based on instructions rather than generated text. System prompt
40
+ * is emitted first.
42
41
  *
43
42
  * @param anthropicBody the parsed Anthropic Messages request body.
44
43
  */
@@ -56,5 +55,39 @@ declare function collectMatchText(anthropicBody: Record<string, unknown>): strin
56
55
  * SAME key for the same body.
57
56
  */
58
57
  declare function deriveSubscriptionSessionKey(anthropicBody: Record<string, unknown>): string | undefined;
58
+ /**
59
+ * Source used to derive a gateway session-affinity key. The value is kept
60
+ * deliberately small and non-sensitive: callers only receive the hashed key,
61
+ * while the source is useful to tests/diagnostics without exposing the raw
62
+ * session id.
63
+ */
64
+ type SessionKeySource = 'session-header' | 'thread-header' | 'body-session-id' | 'body-thread-id' | 'prompt-cache-key' | 'content-fingerprint' | 'api-key-fallback';
65
+ /** A hashed session key and the extraction path that produced it. */
66
+ interface DerivedSessionKey {
67
+ readonly key: string;
68
+ readonly source: SessionKeySource;
69
+ }
70
+ /** Options for {@link deriveGatewaySessionKey}. */
71
+ interface GatewaySessionKeyOptions {
72
+ /** A stable route/key seed used when the request has no conversation id. */
73
+ readonly fallbackKey?: string;
74
+ /** Namespaces the conservative fallback (normally `responses`). */
75
+ readonly endpoint?: string;
76
+ }
77
+ /** Header bag accepted by Node's IncomingHttpHeaders and browser-style tests. */
78
+ type SessionRequestHeaders = Record<string, string | string[] | undefined>;
79
+ /**
80
+ * Derive one stable account-pool affinity key for a gateway request.
81
+ *
82
+ * Codex/Responses sends the same conversation id in a few wire-compatible
83
+ * locations depending on the client version. Prefer those explicit ids in a
84
+ * deterministic order, then fall back to a bounded content fingerprint made
85
+ * from stable developer/system instructions and the first user input. The
86
+ * final fallback is route-scoped (api key/session + endpoint) so a request
87
+ * with no usable metadata remains conservative and does not rotate accounts
88
+ * on every turn. Raw ids and prompts are never returned or logged; only their
89
+ * truncated SHA-256 digest is exposed as `key`.
90
+ */
91
+ declare function deriveGatewaySessionKey(body: Record<string, unknown>, headers?: SessionRequestHeaders, options?: GatewaySessionKeyOptions): DerivedSessionKey;
59
92
 
60
- export { MATCH_TEXT_PER_MESSAGE_CAP, MATCH_TEXT_RECENT_MESSAGES, collectMatchText, deriveSubscriptionSessionKey, flattenMatchText };
93
+ export { type DerivedSessionKey, type GatewaySessionKeyOptions, MATCH_TEXT_PER_MESSAGE_CAP, MATCH_TEXT_RECENT_MESSAGES, type SessionKeySource, type SessionRequestHeaders, collectMatchText, deriveGatewaySessionKey, deriveSubscriptionSessionKey, flattenMatchText };
@@ -34,11 +34,10 @@ declare const MATCH_TEXT_RECENT_MESSAGES = 6;
34
34
  declare function flattenMatchText(value: unknown): string;
35
35
  /**
36
36
  * Build the BOUNDED match-text slice: the `system` prompt plus the most recent
37
- * `user`/`system` messages, each truncated to a per-message char cap (design.md
38
- * §2 mirrors the reference `DetectScenario` role filter, bounded so matching
39
- * cost is independent of conversation length). Assistant turns are excluded (the
40
- * §3 common-denominator decision; same safe direction as the reference for the
41
- * background tool-blocker pre-scan). System prompt is emitted first.
37
+ * `user`/`system` messages, each truncated to a per-message char cap so matching
38
+ * cost is independent of conversation length. Assistant turns are excluded to
39
+ * keep routing based on instructions rather than generated text. System prompt
40
+ * is emitted first.
42
41
  *
43
42
  * @param anthropicBody the parsed Anthropic Messages request body.
44
43
  */
@@ -56,5 +55,39 @@ declare function collectMatchText(anthropicBody: Record<string, unknown>): strin
56
55
  * SAME key for the same body.
57
56
  */
58
57
  declare function deriveSubscriptionSessionKey(anthropicBody: Record<string, unknown>): string | undefined;
58
+ /**
59
+ * Source used to derive a gateway session-affinity key. The value is kept
60
+ * deliberately small and non-sensitive: callers only receive the hashed key,
61
+ * while the source is useful to tests/diagnostics without exposing the raw
62
+ * session id.
63
+ */
64
+ type SessionKeySource = 'session-header' | 'thread-header' | 'body-session-id' | 'body-thread-id' | 'prompt-cache-key' | 'content-fingerprint' | 'api-key-fallback';
65
+ /** A hashed session key and the extraction path that produced it. */
66
+ interface DerivedSessionKey {
67
+ readonly key: string;
68
+ readonly source: SessionKeySource;
69
+ }
70
+ /** Options for {@link deriveGatewaySessionKey}. */
71
+ interface GatewaySessionKeyOptions {
72
+ /** A stable route/key seed used when the request has no conversation id. */
73
+ readonly fallbackKey?: string;
74
+ /** Namespaces the conservative fallback (normally `responses`). */
75
+ readonly endpoint?: string;
76
+ }
77
+ /** Header bag accepted by Node's IncomingHttpHeaders and browser-style tests. */
78
+ type SessionRequestHeaders = Record<string, string | string[] | undefined>;
79
+ /**
80
+ * Derive one stable account-pool affinity key for a gateway request.
81
+ *
82
+ * Codex/Responses sends the same conversation id in a few wire-compatible
83
+ * locations depending on the client version. Prefer those explicit ids in a
84
+ * deterministic order, then fall back to a bounded content fingerprint made
85
+ * from stable developer/system instructions and the first user input. The
86
+ * final fallback is route-scoped (api key/session + endpoint) so a request
87
+ * with no usable metadata remains conservative and does not rotate accounts
88
+ * on every turn. Raw ids and prompts are never returned or logged; only their
89
+ * truncated SHA-256 digest is exposed as `key`.
90
+ */
91
+ declare function deriveGatewaySessionKey(body: Record<string, unknown>, headers?: SessionRequestHeaders, options?: GatewaySessionKeyOptions): DerivedSessionKey;
59
92
 
60
- export { MATCH_TEXT_PER_MESSAGE_CAP, MATCH_TEXT_RECENT_MESSAGES, collectMatchText, deriveSubscriptionSessionKey, flattenMatchText };
93
+ export { type DerivedSessionKey, type GatewaySessionKeyOptions, MATCH_TEXT_PER_MESSAGE_CAP, MATCH_TEXT_RECENT_MESSAGES, type SessionKeySource, type SessionRequestHeaders, collectMatchText, deriveGatewaySessionKey, deriveSubscriptionSessionKey, flattenMatchText };
@@ -2,13 +2,15 @@ import {
2
2
  MATCH_TEXT_PER_MESSAGE_CAP,
3
3
  MATCH_TEXT_RECENT_MESSAGES,
4
4
  collectMatchText,
5
+ deriveGatewaySessionKey,
5
6
  deriveSubscriptionSessionKey,
6
7
  flattenMatchText
7
- } from "../chunk-IAXWICZU.js";
8
+ } from "../chunk-GFIZ6LQI.js";
8
9
  export {
9
10
  MATCH_TEXT_PER_MESSAGE_CAP,
10
11
  MATCH_TEXT_RECENT_MESSAGES,
11
12
  collectMatchText,
13
+ deriveGatewaySessionKey,
12
14
  deriveSubscriptionSessionKey,
13
15
  flattenMatchText
14
16
  };
@@ -1,9 +1,11 @@
1
1
  import http from 'node:http';
2
2
  import { ThinkLevel } from '@omnicross/contracts/completion-types';
3
+ import { UsageCacheKeySource } from '@omnicross/contracts/usage-stats-types';
3
4
  import { SubscriptionProviderId, OpenCodeGoTokenConfig, OpenCodeGoScenario, OpenCodeGoModelEntry } from '@omnicross/contracts/subscription-types';
4
5
  import { UsageEngineOrigin, UsageTokens } from '@omnicross/contracts/usage-types';
5
6
  import { ApiKeyPoolService } from '../completion/ApiKeyPoolService.cjs';
6
7
  import { AuthSource } from '../pipeline/AuthSource.cjs';
8
+ import { BoundAccountFallbackPolicy } from '../pipeline/BoundAccountSelectionError.cjs';
7
9
  import { SubscriptionAuthProfile } from '../pipeline/SubscriptionAuthSource.cjs';
8
10
  import { AuthStrategy } from '../pipeline/SubscriptionAuthStrategy.cjs';
9
11
  import { ProviderConfigSource } from '../ports/provider-config-source.cjs';
@@ -161,6 +163,15 @@ interface AnthropicRouteHandlerParams {
161
163
  /** Lazy per-request resolver for the pass-through Bearer (takes precedence over the static one). */
162
164
  readonly resolvePassThroughAuthToken?: (() => Promise<string | null>) | null;
163
165
  readonly subscriptionProfile?: SubscriptionDispatchProfile | null;
166
+ /** Bound subscription account forwarded to the host's Anthropic handler. */
167
+ readonly preferredAccountId?: string;
168
+ readonly preferredAccountGroup?: string;
169
+ /** Strict by default; pool fallback is an explicit endpoint opt-in. */
170
+ readonly boundAccountFallbackPolicy?: BoundAccountFallbackPolicy;
171
+ /** Preferred provider-pool key selected by a resource-level binding. */
172
+ readonly preferredKeyId?: string;
173
+ /** Strict by default; pool fallback is an explicit binding opt-in. */
174
+ readonly boundKeyFallbackPolicy?: BoundAccountFallbackPolicy;
164
175
  readonly maxConcurrency?: number;
165
176
  /** Instance-level web-search backend; falls back to the proxy-global one. */
166
177
  readonly webSearchService?: WebSearchBackend | null;
@@ -249,6 +260,15 @@ interface AnthropicSdkHints {
249
260
  readonly extendedContext?: ExtendedContextHint | null;
250
261
  /** Subscription dispatch profile (Codex/Gemini/OpenCodeGo over the SDK wire). */
251
262
  readonly subscriptionProfile?: SubscriptionDispatchProfile | null;
263
+ /** Bound subscription account for the delegated Anthropic path. */
264
+ readonly preferredAccountId?: string;
265
+ readonly preferredAccountGroup?: string;
266
+ /** Strict by default; pool fallback is an explicit endpoint opt-in. */
267
+ readonly boundAccountFallbackPolicy?: BoundAccountFallbackPolicy;
268
+ /** Preferred provider-pool key for a delegated BYO Anthropic route. */
269
+ readonly preferredKeyId?: string;
270
+ /** Strict by default; pool fallback is an explicit binding opt-in. */
271
+ readonly boundKeyFallbackPolicy?: BoundAccountFallbackPolicy;
252
272
  /** Per-request max-concurrency cap for the error-handler semaphore. */
253
273
  readonly maxConcurrency?: number;
254
274
  /** Instance-level web-search backend (falls back to the proxy-global one). */
@@ -338,10 +358,19 @@ interface RouteContext {
338
358
  /**
339
359
  * Per-request preferred subscription account id (provider/subscription
340
360
  * duality). Stamped by the outbound `resolveRoute` from
341
- * `EndpointRoutingConfig.boundAccountId`; the account picker prefers it when
342
- * schedulable (else falls back to the pool). Undefined pool auto-schedule.
361
+ * `EndpointRoutingConfig.boundAccountId`; strict bindings fail when this
362
+ * account cannot serve. The pool is used only when the route carries the
363
+ * explicit `'pool'` fallback policy. Undefined ⇒ pool auto-schedule.
343
364
  */
344
365
  readonly preferredAccountId?: string;
366
+ /** Account-group binding projected by the outbound gateway. */
367
+ readonly preferredAccountGroup?: string;
368
+ /** Bound-account behavior; `'pool'` is the explicit fallback opt-in. */
369
+ readonly boundAccountFallbackPolicy?: BoundAccountFallbackPolicy;
370
+ /** Optional provider key selected by a resource-level gateway binding. */
371
+ readonly preferredKeyId?: string;
372
+ /** Strict by default; `'pool'` permits normal provider key selection. */
373
+ readonly boundKeyFallbackPolicy?: BoundAccountFallbackPolicy;
345
374
  /**
346
375
  * OPAQUE per-account subscription config (opencodego-only). Populated by the
347
376
  * route resolver from the subscription registry's `getOpenCodeGoConfig()`
@@ -430,6 +459,10 @@ interface UsageRecordImportInput {
430
459
  rawUsage?: unknown;
431
460
  runId?: string | null;
432
461
  eventId?: string | null;
462
+ /** Safe prompt-cache-key provenance; raw key material is never recorded. */
463
+ cacheKeySource?: UsageCacheKeySource;
464
+ /** Whether the gateway, rather than the client, attached the cache key. */
465
+ cacheKeyInjected?: boolean;
433
466
  /**
434
467
  * OPTIONAL per-request audit correlation key (request-audit-log) — the outbound
435
468
  * relay taps set this to the request's `http.ServerResponse` so the recorder can
@@ -1,9 +1,11 @@
1
1
  import http from 'node:http';
2
2
  import { ThinkLevel } from '@omnicross/contracts/completion-types';
3
+ import { UsageCacheKeySource } from '@omnicross/contracts/usage-stats-types';
3
4
  import { SubscriptionProviderId, OpenCodeGoTokenConfig, OpenCodeGoScenario, OpenCodeGoModelEntry } from '@omnicross/contracts/subscription-types';
4
5
  import { UsageEngineOrigin, UsageTokens } from '@omnicross/contracts/usage-types';
5
6
  import { ApiKeyPoolService } from '../completion/ApiKeyPoolService.js';
6
7
  import { AuthSource } from '../pipeline/AuthSource.js';
8
+ import { BoundAccountFallbackPolicy } from '../pipeline/BoundAccountSelectionError.js';
7
9
  import { SubscriptionAuthProfile } from '../pipeline/SubscriptionAuthSource.js';
8
10
  import { AuthStrategy } from '../pipeline/SubscriptionAuthStrategy.js';
9
11
  import { ProviderConfigSource } from '../ports/provider-config-source.js';
@@ -161,6 +163,15 @@ interface AnthropicRouteHandlerParams {
161
163
  /** Lazy per-request resolver for the pass-through Bearer (takes precedence over the static one). */
162
164
  readonly resolvePassThroughAuthToken?: (() => Promise<string | null>) | null;
163
165
  readonly subscriptionProfile?: SubscriptionDispatchProfile | null;
166
+ /** Bound subscription account forwarded to the host's Anthropic handler. */
167
+ readonly preferredAccountId?: string;
168
+ readonly preferredAccountGroup?: string;
169
+ /** Strict by default; pool fallback is an explicit endpoint opt-in. */
170
+ readonly boundAccountFallbackPolicy?: BoundAccountFallbackPolicy;
171
+ /** Preferred provider-pool key selected by a resource-level binding. */
172
+ readonly preferredKeyId?: string;
173
+ /** Strict by default; pool fallback is an explicit binding opt-in. */
174
+ readonly boundKeyFallbackPolicy?: BoundAccountFallbackPolicy;
164
175
  readonly maxConcurrency?: number;
165
176
  /** Instance-level web-search backend; falls back to the proxy-global one. */
166
177
  readonly webSearchService?: WebSearchBackend | null;
@@ -249,6 +260,15 @@ interface AnthropicSdkHints {
249
260
  readonly extendedContext?: ExtendedContextHint | null;
250
261
  /** Subscription dispatch profile (Codex/Gemini/OpenCodeGo over the SDK wire). */
251
262
  readonly subscriptionProfile?: SubscriptionDispatchProfile | null;
263
+ /** Bound subscription account for the delegated Anthropic path. */
264
+ readonly preferredAccountId?: string;
265
+ readonly preferredAccountGroup?: string;
266
+ /** Strict by default; pool fallback is an explicit endpoint opt-in. */
267
+ readonly boundAccountFallbackPolicy?: BoundAccountFallbackPolicy;
268
+ /** Preferred provider-pool key for a delegated BYO Anthropic route. */
269
+ readonly preferredKeyId?: string;
270
+ /** Strict by default; pool fallback is an explicit binding opt-in. */
271
+ readonly boundKeyFallbackPolicy?: BoundAccountFallbackPolicy;
252
272
  /** Per-request max-concurrency cap for the error-handler semaphore. */
253
273
  readonly maxConcurrency?: number;
254
274
  /** Instance-level web-search backend (falls back to the proxy-global one). */
@@ -338,10 +358,19 @@ interface RouteContext {
338
358
  /**
339
359
  * Per-request preferred subscription account id (provider/subscription
340
360
  * duality). Stamped by the outbound `resolveRoute` from
341
- * `EndpointRoutingConfig.boundAccountId`; the account picker prefers it when
342
- * schedulable (else falls back to the pool). Undefined pool auto-schedule.
361
+ * `EndpointRoutingConfig.boundAccountId`; strict bindings fail when this
362
+ * account cannot serve. The pool is used only when the route carries the
363
+ * explicit `'pool'` fallback policy. Undefined ⇒ pool auto-schedule.
343
364
  */
344
365
  readonly preferredAccountId?: string;
366
+ /** Account-group binding projected by the outbound gateway. */
367
+ readonly preferredAccountGroup?: string;
368
+ /** Bound-account behavior; `'pool'` is the explicit fallback opt-in. */
369
+ readonly boundAccountFallbackPolicy?: BoundAccountFallbackPolicy;
370
+ /** Optional provider key selected by a resource-level gateway binding. */
371
+ readonly preferredKeyId?: string;
372
+ /** Strict by default; `'pool'` permits normal provider key selection. */
373
+ readonly boundKeyFallbackPolicy?: BoundAccountFallbackPolicy;
345
374
  /**
346
375
  * OPAQUE per-account subscription config (opencodego-only). Populated by the
347
376
  * route resolver from the subscription registry's `getOpenCodeGoConfig()`
@@ -430,6 +459,10 @@ interface UsageRecordImportInput {
430
459
  rawUsage?: unknown;
431
460
  runId?: string | null;
432
461
  eventId?: string | null;
462
+ /** Safe prompt-cache-key provenance; raw key material is never recorded. */
463
+ cacheKeySource?: UsageCacheKeySource;
464
+ /** Whether the gateway, rather than the client, attached the cache key. */
465
+ cacheKeyInjected?: boolean;
433
466
  /**
434
467
  * OPTIONAL per-request audit correlation key (request-audit-log) — the outbound
435
468
  * relay taps set this to the request's `http.ServerResponse` so the recorder can
@@ -5,49 +5,55 @@
5
5
 
6
6
 
7
7
 
8
- var _chunkCGKLE6IWcjs = require('./chunk-CGKLE6IW.cjs');
8
+ var _chunk4BB343BIcjs = require('./chunk-4BB343BI.cjs');
9
9
  require('./chunk-HQP3K7PU.cjs');
10
10
  require('./chunk-FZ46M34D.cjs');
11
- require('./chunk-46ZIFWYG.cjs');
12
- require('./chunk-3OPYJG76.cjs');
13
- require('./chunk-ZCIQ3L3R.cjs');
14
- require('./chunk-7FEBOPJO.cjs');
15
- require('./chunk-DWKQZ2SK.cjs');
16
- require('./chunk-4XMYPW46.cjs');
17
- require('./chunk-K52THW2C.cjs');
18
- require('./chunk-3Q6Z6JTO.cjs');
11
+ require('./chunk-2Z4XM3H5.cjs');
12
+ require('./chunk-OXHNSZ53.cjs');
13
+ require('./chunk-V4TXMEJS.cjs');
14
+ require('./chunk-OVQBNVSV.cjs');
15
+ require('./chunk-5RSZYQJH.cjs');
16
+ require('./chunk-OF3BECU2.cjs');
19
17
  require('./chunk-EYZYXJTJ.cjs');
20
- require('./chunk-YMFAJFQT.cjs');
21
- require('./chunk-SNYBEXLB.cjs');
18
+ require('./chunk-2E42SAW3.cjs');
19
+ require('./chunk-OJGQKHN5.cjs');
20
+ require('./chunk-IIRPUVPH.cjs');
22
21
  require('./chunk-GBHYAGX3.cjs');
22
+ require('./chunk-3OPYJG76.cjs');
23
+ require('./chunk-3SCOLIPT.cjs');
23
24
  require('./chunk-RPII3E6Z.cjs');
24
25
  require('./chunk-6RPZADX3.cjs');
25
- require('./chunk-QWBWGODS.cjs');
26
+ require('./chunk-J3QQ6JS5.cjs');
26
27
  require('./chunk-UIBD2YY5.cjs');
27
28
  require('./chunk-R3HK6R4B.cjs');
28
- require('./chunk-HYN75H6G.cjs');
29
- require('./chunk-Q27JY5RG.cjs');
30
29
  require('./chunk-QXD4MV2X.cjs');
31
30
  require('./chunk-NYUNU75A.cjs');
32
- require('./chunk-VQY5W4YW.cjs');
33
- require('./chunk-KFI44N2R.cjs');
31
+ require('./chunk-OTZC4TNH.cjs');
32
+ require('./chunk-YWL7YZWS.cjs');
33
+ require('./chunk-YNJNTCSQ.cjs');
34
34
  require('./chunk-SVNDB62D.cjs');
35
+ require('./chunk-6QQG7YG3.cjs');
36
+ require('./chunk-25GXJCEZ.cjs');
37
+ require('./chunk-MUHWHQVM.cjs');
38
+ require('./chunk-Q27JY5RG.cjs');
35
39
  require('./chunk-APYG5QD7.cjs');
36
40
  require('./chunk-L74VDN4A.cjs');
37
41
  require('./chunk-4YINUUKQ.cjs');
38
- require('./chunk-VACWOIRE.cjs');
42
+ require('./chunk-4VZX5F4T.cjs');
39
43
  require('./chunk-QBZJ7P2T.cjs');
40
44
  require('./chunk-4IH4EL7M.cjs');
41
45
  require('./chunk-A2YMUCBT.cjs');
42
- require('./chunk-UNWKG6EI.cjs');
46
+ require('./chunk-XPIOJQS2.cjs');
43
47
  require('./chunk-FCR77GYM.cjs');
44
48
  require('./chunk-AEOZIDEB.cjs');
45
49
  require('./chunk-XSVNC2UD.cjs');
46
- require('./chunk-SUEGJ75D.cjs');
47
- require('./chunk-DDMRUL76.cjs');
48
- require('./chunk-JWVTXXPX.cjs');
49
- require('./chunk-PG7PS2NN.cjs');
50
- require('./chunk-3Z5BQZFM.cjs');
50
+ require('./chunk-GDIXXKF2.cjs');
51
+ require('./chunk-OKMJLEXX.cjs');
52
+ require('./chunk-KBM2W6UY.cjs');
53
+ require('./chunk-RJUONLUQ.cjs');
54
+ require('./chunk-235MXAGX.cjs');
55
+ require('./chunk-HVBBDBS3.cjs');
56
+ require('./chunk-NKVZ6Z3Y.cjs');
51
57
  require('./chunk-NZYN7C3P.cjs');
52
58
  require('./chunk-JMJBSACD.cjs');
53
59
  require('./chunk-GMMT7RVN.cjs');
@@ -59,4 +65,4 @@ require('./chunk-UNEFIWXI.cjs');
59
65
 
60
66
 
61
67
 
62
- exports.DEFAULT_ROUTE_IDLE_MS = _chunkCGKLE6IWcjs.DEFAULT_ROUTE_IDLE_MS; exports.ProviderProxy = _chunkCGKLE6IWcjs.ProviderProxy; exports.ProviderProxyRouteMap = _chunkCGKLE6IWcjs.ProviderProxyRouteMap; exports.__resetProviderProxyForTests = _chunkCGKLE6IWcjs.__resetProviderProxyForTests; exports.extractRouteToken = _chunkCGKLE6IWcjs.extractRouteToken; exports.getProviderProxy = _chunkCGKLE6IWcjs.getProviderProxy;
68
+ exports.DEFAULT_ROUTE_IDLE_MS = _chunk4BB343BIcjs.DEFAULT_ROUTE_IDLE_MS; exports.ProviderProxy = _chunk4BB343BIcjs.ProviderProxy; exports.ProviderProxyRouteMap = _chunk4BB343BIcjs.ProviderProxyRouteMap; exports.__resetProviderProxyForTests = _chunk4BB343BIcjs.__resetProviderProxyForTests; exports.extractRouteToken = _chunk4BB343BIcjs.extractRouteToken; exports.getProviderProxy = _chunk4BB343BIcjs.getProviderProxy;
@@ -4,12 +4,14 @@ import { ProviderProxyDeps } from './provider-proxy/types.cjs';
4
4
  export { AnthropicIngressHandler, AnthropicIngressHandlerFactory, AnthropicRouteHandlerParams, AnthropicSdkHints, ExtendedContextHint, IngressFormat, ProxyAttribution, RetryCallback, RouteAuthMode, RouteContext, StreamEventCallback, SubscriptionDispatchProfile, SubscriptionRequestSummary, TargetProviderFormat } from './provider-proxy/types.cjs';
5
5
  import 'node:http';
6
6
  import '@omnicross/contracts/completion-types';
7
+ import '@omnicross/contracts/usage-stats-types';
7
8
  import '@omnicross/contracts/subscription-types';
8
9
  import '@omnicross/contracts/usage-types';
9
10
  import './completion/ApiKeyPoolService.cjs';
10
11
  import '@omnicross/contracts/llm-config';
11
12
  import './logger-4GvQNzhE.cjs';
12
13
  import './pipeline/AuthSource.cjs';
14
+ import './pipeline/BoundAccountSelectionError.cjs';
13
15
  import './pipeline/SubscriptionAuthSource.cjs';
14
16
  import './pipeline/SubscriptionAuthStrategy.cjs';
15
17
  import './ports/provider-config-source.cjs';
@@ -4,12 +4,14 @@ import { ProviderProxyDeps } from './provider-proxy/types.js';
4
4
  export { AnthropicIngressHandler, AnthropicIngressHandlerFactory, AnthropicRouteHandlerParams, AnthropicSdkHints, ExtendedContextHint, IngressFormat, ProxyAttribution, RetryCallback, RouteAuthMode, RouteContext, StreamEventCallback, SubscriptionDispatchProfile, SubscriptionRequestSummary, TargetProviderFormat } from './provider-proxy/types.js';
5
5
  import 'node:http';
6
6
  import '@omnicross/contracts/completion-types';
7
+ import '@omnicross/contracts/usage-stats-types';
7
8
  import '@omnicross/contracts/subscription-types';
8
9
  import '@omnicross/contracts/usage-types';
9
10
  import './completion/ApiKeyPoolService.js';
10
11
  import '@omnicross/contracts/llm-config';
11
12
  import './logger-4GvQNzhE.js';
12
13
  import './pipeline/AuthSource.js';
14
+ import './pipeline/BoundAccountSelectionError.js';
13
15
  import './pipeline/SubscriptionAuthSource.js';
14
16
  import './pipeline/SubscriptionAuthStrategy.js';
15
17
  import './ports/provider-config-source.js';
@@ -5,49 +5,55 @@ import {
5
5
  __resetProviderProxyForTests,
6
6
  extractRouteToken,
7
7
  getProviderProxy
8
- } from "./chunk-FH2P4OCD.js";
8
+ } from "./chunk-E3COOKUP.js";
9
9
  import "./chunk-VVEHS2LI.js";
10
10
  import "./chunk-46RLHI7D.js";
11
- import "./chunk-G2UTNSGU.js";
12
- import "./chunk-DK4A7DLE.js";
13
- import "./chunk-OQWKZCXP.js";
14
- import "./chunk-IB3FDI4O.js";
15
- import "./chunk-ZJZAOKI7.js";
16
- import "./chunk-C6OV7GCC.js";
17
- import "./chunk-IWQAX3CS.js";
18
- import "./chunk-BODMAL6G.js";
11
+ import "./chunk-MYYR3HZL.js";
12
+ import "./chunk-PEGTIPB3.js";
13
+ import "./chunk-LVUCAWMK.js";
14
+ import "./chunk-32O35CIF.js";
15
+ import "./chunk-FU7EAR73.js";
16
+ import "./chunk-LB6EBS6Y.js";
19
17
  import "./chunk-7VU7V2E4.js";
20
- import "./chunk-ZLX3KGXX.js";
21
- import "./chunk-BPKCU575.js";
18
+ import "./chunk-FXR6N3SR.js";
19
+ import "./chunk-SOO562NM.js";
20
+ import "./chunk-WNKWAEUR.js";
22
21
  import "./chunk-MZNPGW5Q.js";
22
+ import "./chunk-DK4A7DLE.js";
23
+ import "./chunk-XXFYLL7R.js";
23
24
  import "./chunk-XTEI64OU.js";
24
25
  import "./chunk-XX6NQJMA.js";
25
- import "./chunk-IAXWICZU.js";
26
+ import "./chunk-GFIZ6LQI.js";
26
27
  import "./chunk-OE6TDIWW.js";
27
28
  import "./chunk-DRWHTIIZ.js";
28
- import "./chunk-IK3KE3AU.js";
29
- import "./chunk-ZY6KU6P3.js";
30
29
  import "./chunk-JWC6APFQ.js";
31
30
  import "./chunk-5ERIZW3D.js";
32
- import "./chunk-5ENKBSWO.js";
33
- import "./chunk-HRRYG2AX.js";
31
+ import "./chunk-PO3XB56Z.js";
32
+ import "./chunk-N7OOJI5V.js";
33
+ import "./chunk-23S5OPIO.js";
34
34
  import "./chunk-AVYJ4YBN.js";
35
+ import "./chunk-OPRS4IQZ.js";
36
+ import "./chunk-2JYRIADS.js";
37
+ import "./chunk-DE2SRBFZ.js";
38
+ import "./chunk-ZY6KU6P3.js";
35
39
  import "./chunk-WLYIIEAF.js";
36
40
  import "./chunk-TKJMZBAH.js";
37
41
  import "./chunk-3QFXFCHG.js";
38
- import "./chunk-UHGVBFU3.js";
42
+ import "./chunk-EBLFCNPY.js";
39
43
  import "./chunk-AQ5TNQB7.js";
40
44
  import "./chunk-XEKD23J5.js";
41
45
  import "./chunk-H5JUT3KV.js";
42
- import "./chunk-IFXJ2BG7.js";
46
+ import "./chunk-7C7DET6S.js";
43
47
  import "./chunk-K5NM7VAH.js";
44
48
  import "./chunk-WNY4WMRF.js";
45
49
  import "./chunk-OZFM4X3S.js";
46
- import "./chunk-5ZQBEOMD.js";
47
- import "./chunk-MFZ5437A.js";
48
- import "./chunk-6QZGDLL4.js";
49
- import "./chunk-D3TDKWRP.js";
50
- import "./chunk-SYQF7OIR.js";
50
+ import "./chunk-5NJLQ6T6.js";
51
+ import "./chunk-N5T4M4GU.js";
52
+ import "./chunk-TOVPMMHM.js";
53
+ import "./chunk-RJ5ZGNI3.js";
54
+ import "./chunk-3WD4HTR2.js";
55
+ import "./chunk-MKF46GNZ.js";
56
+ import "./chunk-GL6XM527.js";
51
57
  import "./chunk-CDHS2QDC.js";
52
58
  import "./chunk-Y7FO65VT.js";
53
59
  import "./chunk-FMOBD2OQ.js";
@@ -1,6 +1,6 @@
1
1
  import { ProviderConfigSource } from './ports/provider-config-source.js';
2
2
  import { IngressFormat, RouteContext } from './provider-proxy/types.js';
3
- import { m as OutboundEndpoint, G as ModelRef, b as EndpointRoutingConfig, R as RequestRole } from './types-lgPYQuZS.js';
3
+ import { s as OutboundEndpoint, Q as ModelRef, c as EndpointRoutingConfig, R as RequestRole } from './types-CqZD77rS.js';
4
4
  import { SubscriptionProviderId } from '@omnicross/contracts/subscription-types';
5
5
 
6
6
  /**
@@ -1,6 +1,6 @@
1
1
  import { ProviderConfigSource } from './ports/provider-config-source.cjs';
2
2
  import { IngressFormat, RouteContext } from './provider-proxy/types.cjs';
3
- import { m as OutboundEndpoint, G as ModelRef, b as EndpointRoutingConfig, R as RequestRole } from './types-B8Arpxn0.cjs';
3
+ import { s as OutboundEndpoint, Q as ModelRef, c as EndpointRoutingConfig, R as RequestRole } from './types-gjJ5lJ5n.cjs';
4
4
  import { SubscriptionProviderId } from '@omnicross/contracts/subscription-types';
5
5
 
6
6
  /**
@@ -1,7 +1,7 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
- var _chunk46ZIFWYGcjs = require('../chunk-46ZIFWYG.cjs');
3
+ var _chunkIIRPUVPHcjs = require('../chunk-IIRPUVPH.cjs');
4
4
  require('../chunk-GBHYAGX3.cjs');
5
5
 
6
6
 
7
- exports.TransformerChainExecutor = _chunk46ZIFWYGcjs.TransformerChainExecutor;
7
+ exports.TransformerChainExecutor = _chunkIIRPUVPHcjs.TransformerChainExecutor;
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  TransformerChainExecutor
3
- } from "../chunk-G2UTNSGU.js";
3
+ } from "../chunk-WNKWAEUR.js";
4
4
  import "../chunk-MZNPGW5Q.js";
5
5
  export {
6
6
  TransformerChainExecutor
@@ -1,6 +1,7 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
- var _chunk4XMYPW46cjs = require('../../chunk-4XMYPW46.cjs');
3
+ var _chunkOXHNSZ53cjs = require('../../chunk-OXHNSZ53.cjs');
4
+ require('../../chunk-5RSZYQJH.cjs');
4
5
 
5
6
 
6
- exports.AnthropicTransformer = _chunk4XMYPW46cjs.AnthropicTransformer;
7
+ exports.AnthropicTransformer = _chunkOXHNSZ53cjs.AnthropicTransformer;