@omnicross/core 0.1.5 → 0.1.6
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.
- package/dist/ApiConverter.cjs +2 -2
- package/dist/ApiConverter.js +1 -1
- package/dist/{CompletionService-DdWaAxq0.d.ts → CompletionService-C3BX0Ovy.d.ts} +4 -3
- package/dist/{CompletionService-D3a47vdU.d.cts → CompletionService-kNA17cfI.d.cts} +4 -3
- package/dist/auth/GeminiCodeAssistProjectResolver.cjs +6 -5
- package/dist/auth/GeminiCodeAssistProjectResolver.js +4 -3
- package/dist/{chunk-HRRYG2AX.js → chunk-23S5OPIO.js} +10 -1
- package/dist/chunk-25GXJCEZ.cjs +40 -0
- package/dist/chunk-2JYRIADS.js +40 -0
- package/dist/{chunk-4XMYPW46.cjs → chunk-4VLRHHFE.cjs} +75 -33
- package/dist/{chunk-VACWOIRE.cjs → chunk-4VZX5F4T.cjs} +39 -15
- package/dist/{chunk-C6OV7GCC.js → chunk-6CL5HTPQ.js} +44 -2
- package/dist/chunk-6QQG7YG3.cjs +153 -0
- package/dist/{chunk-3Q6Z6JTO.cjs → chunk-6VUQPOV3.cjs} +277 -86
- package/dist/chunk-7AK7B36B.cjs +44 -0
- package/dist/{chunk-5ZQBEOMD.js → chunk-AT7B7SOZ.js} +25 -2
- package/dist/{chunk-IK3KE3AU.js → chunk-DE2SRBFZ.js} +1 -1
- package/dist/chunk-DLXZEZWO.cjs +285 -0
- package/dist/{chunk-UHGVBFU3.js → chunk-EBLFCNPY.js} +38 -14
- package/dist/chunk-EJLH6NFT.cjs +166 -0
- package/dist/chunk-HVBBDBS3.cjs +350 -0
- package/dist/{chunk-46ZIFWYG.cjs → chunk-IIRPUVPH.cjs} +7 -1
- package/dist/{chunk-JWVTXXPX.cjs → chunk-KBM2W6UY.cjs} +8 -4
- package/dist/{chunk-PG7PS2NN.cjs → chunk-KCVJWJST.cjs} +14 -2
- package/dist/chunk-LB6EBS6Y.js +69 -0
- package/dist/{chunk-IWQAX3CS.js → chunk-LVUCAWMK.js} +1 -1
- package/dist/chunk-MKF46GNZ.js +350 -0
- package/dist/{chunk-HYN75H6G.cjs → chunk-MUHWHQVM.cjs} +1 -1
- package/dist/{chunk-MFZ5437A.js → chunk-N5T4M4GU.js} +1 -1
- package/dist/{chunk-BODMAL6G.js → chunk-OEWZUX4G.js} +262 -71
- package/dist/chunk-OF3BECU2.cjs +69 -0
- package/dist/{chunk-DDMRUL76.cjs → chunk-OKMJLEXX.cjs} +5 -5
- package/dist/chunk-OPRS4IQZ.js +153 -0
- package/dist/{chunk-D3TDKWRP.js → chunk-SIZQQD6T.js} +14 -2
- package/dist/{chunk-CGKLE6IW.cjs → chunk-SQYVORNP.cjs} +1219 -510
- package/dist/{chunk-6QZGDLL4.js → chunk-TOVPMMHM.js} +5 -1
- package/dist/{chunk-FH2P4OCD.js → chunk-UDCC7EMR.js} +976 -267
- package/dist/{chunk-ZLX3KGXX.js → chunk-UX7VWA46.js} +135 -23
- package/dist/{chunk-K52THW2C.cjs → chunk-V4TXMEJS.cjs} +5 -5
- package/dist/chunk-VRFBB5DB.js +44 -0
- package/dist/chunk-WB6PH56J.js +166 -0
- package/dist/{chunk-G2UTNSGU.js → chunk-WNKWAEUR.js} +7 -1
- package/dist/{chunk-SUEGJ75D.cjs → chunk-WYTEQ4Q5.cjs} +25 -2
- package/dist/{chunk-5ENKBSWO.js → chunk-YJVHCHQX.js} +42 -6
- package/dist/{chunk-VQY5W4YW.cjs → chunk-YK57NMIF.cjs} +44 -8
- package/dist/{chunk-KFI44N2R.cjs → chunk-YNJNTCSQ.cjs} +10 -1
- package/dist/completion/ApiKeyPoolService.cjs +12 -0
- package/dist/completion/ApiKeyPoolService.d.cts +6 -0
- package/dist/completion/ApiKeyPoolService.d.ts +6 -0
- package/dist/completion/ApiKeyPoolService.js +12 -0
- package/dist/completion/CompletionService.cjs +25 -23
- package/dist/completion/CompletionService.d.cts +2 -1
- package/dist/completion/CompletionService.d.ts +2 -1
- package/dist/completion/CompletionService.js +24 -22
- package/dist/completion.cjs +25 -23
- package/dist/completion.d.cts +2 -1
- package/dist/completion.d.ts +2 -1
- package/dist/completion.js +24 -22
- package/dist/index.cjs +49 -26
- package/dist/index.d.cts +8 -8
- package/dist/index.d.ts +8 -8
- package/dist/index.js +52 -29
- package/dist/{keyPolicy-Cp0FntZl.d.ts → keyPolicy-zdWTu3CQ.d.cts} +1 -1
- package/dist/{keyPolicy-Cp0FntZl.d.cts → keyPolicy-zdWTu3CQ.d.ts} +1 -1
- package/dist/outbound-api/quotaWarn.d.cts +1 -1
- package/dist/outbound-api/quotaWarn.d.ts +1 -1
- package/dist/outbound-api/routeResolver.cjs +2 -2
- package/dist/outbound-api/routeResolver.d.cts +4 -3
- package/dist/outbound-api/routeResolver.d.ts +4 -3
- package/dist/outbound-api/routeResolver.js +1 -1
- package/dist/outbound-api/subscriptionRegistryPort.d.cts +1 -0
- package/dist/outbound-api/subscriptionRegistryPort.d.ts +1 -0
- package/dist/outbound-api/types.d.cts +3 -2
- package/dist/outbound-api/types.d.ts +3 -2
- package/dist/outbound-api.cjs +47 -24
- package/dist/outbound-api.d.cts +127 -85
- package/dist/outbound-api.d.ts +127 -85
- package/dist/outbound-api.js +50 -27
- package/dist/pipeline/AccountAllowanceScheduling.cjs +15 -0
- package/dist/pipeline/AccountAllowanceScheduling.d.cts +90 -0
- package/dist/pipeline/AccountAllowanceScheduling.d.ts +90 -0
- package/dist/pipeline/AccountAllowanceScheduling.js +15 -0
- package/dist/pipeline/AccountAllowanceStore.cjs +20 -0
- package/dist/pipeline/AccountAllowanceStore.d.cts +77 -0
- package/dist/pipeline/AccountAllowanceStore.d.ts +77 -0
- package/dist/pipeline/AccountAllowanceStore.js +20 -0
- package/dist/pipeline/AuthSource.d.cts +11 -2
- package/dist/pipeline/AuthSource.d.ts +11 -2
- package/dist/pipeline/BoundAccountSelectionError.cjs +10 -0
- package/dist/pipeline/BoundAccountSelectionError.d.cts +28 -0
- package/dist/pipeline/BoundAccountSelectionError.d.ts +28 -0
- package/dist/pipeline/BoundAccountSelectionError.js +10 -0
- package/dist/pipeline/LlmConfigProviderAuth.d.cts +1 -0
- package/dist/pipeline/LlmConfigProviderAuth.d.ts +1 -0
- package/dist/pipeline/SubscriptionAccountHealth.cjs +4 -2
- package/dist/pipeline/SubscriptionAccountHealth.d.cts +34 -6
- package/dist/pipeline/SubscriptionAccountHealth.d.ts +34 -6
- package/dist/pipeline/SubscriptionAccountHealth.js +3 -1
- package/dist/pipeline/SubscriptionAuthSource.cjs +5 -2
- package/dist/pipeline/SubscriptionAuthSource.d.cts +1 -0
- package/dist/pipeline/SubscriptionAuthSource.d.ts +1 -0
- package/dist/pipeline/SubscriptionAuthSource.js +4 -1
- package/dist/pipeline/SubscriptionAuthStrategy.d.cts +8 -3
- package/dist/pipeline/SubscriptionAuthStrategy.d.ts +8 -3
- package/dist/pipeline/executeProviderCall.cjs +2 -2
- package/dist/pipeline/executeProviderCall.d.cts +8 -3
- package/dist/pipeline/executeProviderCall.d.ts +8 -3
- package/dist/pipeline/executeProviderCall.js +1 -1
- package/dist/pipeline/resolveProviderChain.d.cts +2 -3
- package/dist/pipeline/resolveProviderChain.d.ts +2 -3
- package/dist/pipeline/resolveSubscriptionChain.d.cts +1 -0
- package/dist/pipeline/resolveSubscriptionChain.d.ts +1 -0
- package/dist/pipeline/upstreamFetch.cjs +3 -2
- package/dist/pipeline/upstreamFetch.js +2 -1
- package/dist/ports/pricing-store.d.cts +4 -3
- package/dist/ports/pricing-store.d.ts +4 -3
- package/dist/ports.d.cts +4 -3
- package/dist/ports.d.ts +4 -3
- package/dist/provider-proxy/ProviderProxy.cjs +25 -23
- package/dist/provider-proxy/ProviderProxy.d.cts +1 -0
- package/dist/provider-proxy/ProviderProxy.d.ts +1 -0
- package/dist/provider-proxy/ProviderProxy.js +24 -22
- package/dist/provider-proxy/ingress/providerProxyShared.cjs +27 -23
- package/dist/provider-proxy/ingress/providerProxyShared.d.cts +34 -5
- package/dist/provider-proxy/ingress/providerProxyShared.d.ts +34 -5
- package/dist/provider-proxy/ingress/providerProxyShared.js +26 -22
- package/dist/provider-proxy/matchText.cjs +4 -2
- package/dist/provider-proxy/matchText.d.cts +41 -6
- package/dist/provider-proxy/matchText.d.ts +41 -6
- package/dist/provider-proxy/matchText.js +3 -1
- package/dist/provider-proxy/types.d.cts +30 -2
- package/dist/provider-proxy/types.d.ts +30 -2
- package/dist/provider-proxy.cjs +25 -23
- package/dist/provider-proxy.d.cts +1 -0
- package/dist/provider-proxy.d.ts +1 -0
- package/dist/provider-proxy.js +24 -22
- package/dist/{routeResolver-C4T7yClx.d.ts → routeResolver-CHTv_Bs5.d.ts} +1 -1
- package/dist/{routeResolver-CB3tvJKy.d.cts → routeResolver-kepxnfcC.d.cts} +1 -1
- package/dist/transformer/TransformerChainExecutor.cjs +2 -2
- package/dist/transformer/TransformerChainExecutor.js +1 -1
- package/dist/transformer/transformers/AnthropicTransformer.cjs +2 -2
- package/dist/transformer/transformers/AnthropicTransformer.js +1 -1
- package/dist/transformer/transformers/GeminiCodeAssistTransformer.cjs +3 -3
- package/dist/transformer/transformers/GeminiCodeAssistTransformer.js +2 -2
- package/dist/transformer/transformers/GeminiTransformer.cjs +3 -3
- package/dist/transformer/transformers/GeminiTransformer.js +2 -2
- package/dist/transformer/transformers/OpenAIResponseTransformer.cjs +2 -2
- package/dist/transformer/transformers/OpenAIResponseTransformer.d.cts +1 -1
- package/dist/transformer/transformers/OpenAIResponseTransformer.d.ts +1 -1
- package/dist/transformer/transformers/OpenAIResponseTransformer.js +1 -1
- package/dist/transformer/transformers/OpenAITransformer.cjs +6 -0
- package/dist/transformer/transformers/OpenAITransformer.d.cts +68 -0
- package/dist/transformer/transformers/OpenAITransformer.d.ts +68 -0
- package/dist/transformer/transformers/OpenAITransformer.js +6 -0
- package/dist/transformer/transformers.cjs +8 -14
- package/dist/transformer/transformers.d.cts +12 -48
- package/dist/transformer/transformers.d.ts +12 -48
- package/dist/transformer/transformers.js +12 -18
- package/dist/transformer/types.d.cts +17 -0
- package/dist/transformer/types.d.ts +17 -0
- package/dist/transformer.cjs +10 -11
- package/dist/transformer.d.cts +1 -2
- package/dist/transformer.d.ts +1 -2
- package/dist/transformer.js +9 -10
- package/dist/{types-B8Arpxn0.d.cts → types-H3wGZSOo.d.cts} +134 -7
- package/dist/{types-lgPYQuZS.d.ts → types-hsoKrVQS.d.ts} +134 -7
- package/dist/usage/pricing-engine.cjs +2 -2
- package/dist/usage/pricing-engine.d.cts +9 -1
- package/dist/usage/pricing-engine.d.ts +9 -1
- package/dist/usage/pricing-engine.js +1 -1
- package/dist/usage.cjs +2 -2
- package/dist/usage.js +1 -1
- package/package.json +1 -1
- package/dist/chunk-7FEBOPJO.cjs +0 -50
- package/dist/chunk-DWKQZ2SK.cjs +0 -254
- package/dist/chunk-IAXWICZU.js +0 -69
- package/dist/chunk-IB3FDI4O.js +0 -50
- package/dist/chunk-OQWKZCXP.js +0 -242
- package/dist/chunk-QWBWGODS.cjs +0 -69
- package/dist/chunk-YMFAJFQT.cjs +0 -173
- package/dist/chunk-ZCIQ3L3R.cjs +0 -242
- package/dist/chunk-ZJZAOKI7.js +0 -254
- package/dist/transformer/transformers/OpenCodeGoTransformer.cjs +0 -6
- package/dist/transformer/transformers/OpenCodeGoTransformer.d.cts +0 -51
- package/dist/transformer/transformers/OpenCodeGoTransformer.d.ts +0 -51
- package/dist/transformer/transformers/OpenCodeGoTransformer.js +0 -6
- package/dist/transformer/transformers/ReasoningTransformer.cjs +0 -6
- package/dist/transformer/transformers/ReasoningTransformer.d.cts +0 -47
- package/dist/transformer/transformers/ReasoningTransformer.d.ts +0 -47
- package/dist/transformer/transformers/ReasoningTransformer.js +0 -6
package/dist/index.cjs
CHANGED
|
@@ -71,7 +71,16 @@
|
|
|
71
71
|
|
|
72
72
|
|
|
73
73
|
|
|
74
|
-
|
|
74
|
+
|
|
75
|
+
|
|
76
|
+
|
|
77
|
+
|
|
78
|
+
|
|
79
|
+
|
|
80
|
+
|
|
81
|
+
|
|
82
|
+
var _chunkSQYVORNPcjs = require('./chunk-SQYVORNP.cjs');
|
|
83
|
+
require('./chunk-EJLH6NFT.cjs');
|
|
75
84
|
|
|
76
85
|
|
|
77
86
|
|
|
@@ -79,42 +88,46 @@ var _chunkHQP3K7PUcjs = require('./chunk-HQP3K7PU.cjs');
|
|
|
79
88
|
require('./chunk-FZ46M34D.cjs');
|
|
80
89
|
|
|
81
90
|
|
|
82
|
-
var
|
|
91
|
+
var _chunkIIRPUVPHcjs = require('./chunk-IIRPUVPH.cjs');
|
|
92
|
+
require('./chunk-GBHYAGX3.cjs');
|
|
83
93
|
|
|
84
94
|
|
|
85
95
|
var _chunk3OPYJG76cjs = require('./chunk-3OPYJG76.cjs');
|
|
86
96
|
|
|
87
97
|
|
|
88
|
-
var
|
|
89
|
-
require('./chunk-
|
|
90
|
-
require('./chunk-
|
|
91
|
-
require('./chunk-
|
|
92
|
-
require('./chunk-
|
|
93
|
-
require('./chunk-3Q6Z6JTO.cjs');
|
|
98
|
+
var _chunk7AK7B36Bcjs = require('./chunk-7AK7B36B.cjs');
|
|
99
|
+
require('./chunk-V4TXMEJS.cjs');
|
|
100
|
+
require('./chunk-6VUQPOV3.cjs');
|
|
101
|
+
require('./chunk-OF3BECU2.cjs');
|
|
102
|
+
require('./chunk-4VLRHHFE.cjs');
|
|
94
103
|
require('./chunk-EYZYXJTJ.cjs');
|
|
95
104
|
|
|
96
105
|
|
|
97
|
-
var
|
|
106
|
+
var _chunkDLXZEZWOcjs = require('./chunk-DLXZEZWO.cjs');
|
|
98
107
|
|
|
99
108
|
|
|
100
109
|
var _chunkSNYBEXLBcjs = require('./chunk-SNYBEXLB.cjs');
|
|
101
|
-
require('./chunk-
|
|
110
|
+
require('./chunk-R3HK6R4B.cjs');
|
|
102
111
|
require('./chunk-RPII3E6Z.cjs');
|
|
103
112
|
require('./chunk-6RPZADX3.cjs');
|
|
104
|
-
require('./chunk-
|
|
113
|
+
require('./chunk-NYUNU75A.cjs');
|
|
114
|
+
require('./chunk-YK57NMIF.cjs');
|
|
115
|
+
require('./chunk-YNJNTCSQ.cjs');
|
|
116
|
+
|
|
117
|
+
|
|
118
|
+
var _chunkSVNDB62Dcjs = require('./chunk-SVNDB62D.cjs');
|
|
105
119
|
require('./chunk-UIBD2YY5.cjs');
|
|
106
|
-
require('./chunk-
|
|
107
|
-
require('./chunk-HYN75H6G.cjs');
|
|
120
|
+
require('./chunk-6QQG7YG3.cjs');
|
|
108
121
|
|
|
109
122
|
|
|
110
|
-
var _chunkQ27JY5RGcjs = require('./chunk-Q27JY5RG.cjs');
|
|
111
|
-
require('./chunk-QXD4MV2X.cjs');
|
|
112
|
-
require('./chunk-NYUNU75A.cjs');
|
|
113
|
-
require('./chunk-VQY5W4YW.cjs');
|
|
114
|
-
require('./chunk-KFI44N2R.cjs');
|
|
115
123
|
|
|
116
124
|
|
|
117
|
-
var
|
|
125
|
+
var _chunk25GXJCEZcjs = require('./chunk-25GXJCEZ.cjs');
|
|
126
|
+
require('./chunk-MUHWHQVM.cjs');
|
|
127
|
+
|
|
128
|
+
|
|
129
|
+
var _chunkQ27JY5RGcjs = require('./chunk-Q27JY5RG.cjs');
|
|
130
|
+
require('./chunk-QXD4MV2X.cjs');
|
|
118
131
|
|
|
119
132
|
|
|
120
133
|
var _chunkAPYG5QD7cjs = require('./chunk-APYG5QD7.cjs');
|
|
@@ -135,8 +148,7 @@ require('./chunk-4YINUUKQ.cjs');
|
|
|
135
148
|
|
|
136
149
|
|
|
137
150
|
|
|
138
|
-
|
|
139
|
-
var _chunkVACWOIREcjs = require('./chunk-VACWOIRE.cjs');
|
|
151
|
+
var _chunk4VZX5F4Tcjs = require('./chunk-4VZX5F4T.cjs');
|
|
140
152
|
require('./chunk-QBZJ7P2T.cjs');
|
|
141
153
|
|
|
142
154
|
|
|
@@ -172,11 +184,12 @@ require('./chunk-XSVNC2UD.cjs');
|
|
|
172
184
|
|
|
173
185
|
|
|
174
186
|
|
|
175
|
-
var
|
|
176
|
-
require('./chunk-
|
|
177
|
-
require('./chunk-
|
|
178
|
-
require('./chunk-
|
|
187
|
+
var _chunkWYTEQ4Q5cjs = require('./chunk-WYTEQ4Q5.cjs');
|
|
188
|
+
require('./chunk-OKMJLEXX.cjs');
|
|
189
|
+
require('./chunk-KBM2W6UY.cjs');
|
|
190
|
+
require('./chunk-KCVJWJST.cjs');
|
|
179
191
|
require('./chunk-3Z5BQZFM.cjs');
|
|
192
|
+
require('./chunk-HVBBDBS3.cjs');
|
|
180
193
|
|
|
181
194
|
|
|
182
195
|
|
|
@@ -326,4 +339,14 @@ var _chunkUNEFIWXIcjs = require('./chunk-UNEFIWXI.cjs');
|
|
|
326
339
|
|
|
327
340
|
|
|
328
341
|
|
|
329
|
-
|
|
342
|
+
|
|
343
|
+
|
|
344
|
+
|
|
345
|
+
|
|
346
|
+
|
|
347
|
+
|
|
348
|
+
|
|
349
|
+
|
|
350
|
+
|
|
351
|
+
|
|
352
|
+
exports.AUDIT_REDACTED = _chunkFCR77GYMcjs.AUDIT_REDACTED; exports.BoundAccountSelectionError = _chunk25GXJCEZcjs.BoundAccountSelectionError; exports.BuiltinToolExecutor = _chunkNZYN7C3Pcjs.BuiltinToolExecutor; exports.CompletionService = _chunkSQYVORNPcjs.CompletionService; exports.ConcurrencyQueueFullError = _chunkSQYVORNPcjs.ConcurrencyQueueFullError; exports.ConcurrencyWaitCancelledError = _chunkSQYVORNPcjs.ConcurrencyWaitCancelledError; exports.ConcurrencyWaitTimeoutError = _chunkSQYVORNPcjs.ConcurrencyWaitTimeoutError; exports.DEFAULT_ACCOUNT_PROBE = _chunkSQYVORNPcjs.DEFAULT_ACCOUNT_PROBE; exports.DEFAULT_ALLOWANCE_SCHEDULING = _chunkSQYVORNPcjs.DEFAULT_ALLOWANCE_SCHEDULING; exports.DEFAULT_CONCURRENCY_QUEUE = _chunkSQYVORNPcjs.DEFAULT_CONCURRENCY_QUEUE; exports.DEFAULT_FINGERPRINT = _chunkSQYVORNPcjs.DEFAULT_FINGERPRINT; exports.DEFAULT_OUTBOUND_PORT = _chunkSQYVORNPcjs.DEFAULT_OUTBOUND_PORT; exports.DEFAULT_ROUTE_IDLE_MS = _chunkSQYVORNPcjs.DEFAULT_ROUTE_IDLE_MS; exports.DEFAULT_USER_MESSAGE_QUEUE = _chunkSQYVORNPcjs.DEFAULT_USER_MESSAGE_QUEUE; exports.ENDPOINT_MODEL_KINDS = _chunk4IH4EL7Mcjs.ENDPOINT_MODEL_KINDS; exports.KeySpendTracker = _chunkSQYVORNPcjs.KeySpendTracker; exports.KeyedMutex = _chunkSQYVORNPcjs.KeyedMutex; exports.NATIVE_SEARCH_TOOL_NAMES = _chunkGMMT7RVNcjs.NATIVE_SEARCH_TOOL_NAMES; exports.OPENROUTER_APP_HEADERS = _chunkUNEFIWXIcjs.OPENROUTER_APP_HEADERS; exports.OUTBOUND_API_SERVER_CONFIG_KEY = _chunkSQYVORNPcjs.OUTBOUND_API_SERVER_CONFIG_KEY; exports.OutboundApiServer = _chunkSQYVORNPcjs.OutboundApiServer; exports.OutboundConcurrencyGate = _chunkSQYVORNPcjs.OutboundConcurrencyGate; exports.OutboundRateLimiter = _chunkSQYVORNPcjs.OutboundRateLimiter; exports.PricingEngine = _chunkDLXZEZWOcjs.PricingEngine; exports.ProviderProxy = _chunkSQYVORNPcjs.ProviderProxy; exports.ProviderProxyRouteMap = _chunkSQYVORNPcjs.ProviderProxyRouteMap; exports.SUBSCRIPTION_PROVIDER_IDS = _chunk4VZX5F4Tcjs.SUBSCRIPTION_PROVIDER_IDS; exports.SerialQueueTimeoutError = _chunkSQYVORNPcjs.SerialQueueTimeoutError; exports.TransformerChainExecutor = _chunkIIRPUVPHcjs.TransformerChainExecutor; exports.TransformerService = _chunk3OPYJG76cjs.TransformerService; exports.UsageRecorder = _chunkSNYBEXLBcjs.UsageRecorder; exports.UserMessageSerialQueue = _chunkSQYVORNPcjs.UserMessageSerialQueue; exports.__resetOutboundApiServerForTests = _chunkSQYVORNPcjs.__resetOutboundApiServerForTests; exports.__resetProviderProxyForTests = _chunkSQYVORNPcjs.__resetProviderProxyForTests; exports.addOpenRouterProviderToRequest = _chunkSQYVORNPcjs.addOpenRouterProviderToRequest; exports.applyAugmentation = _chunkJMJBSACDcjs.applyAugmentation; exports.attachStreamEventBuffer = _chunkSQYVORNPcjs.attach; exports.beginAuditCapture = _chunkUNWKG6EIcjs.beginAuditCapture; exports.beginBillingCapture = _chunkAPYG5QD7cjs.beginBillingCapture; exports.boundAccountSelectionMessage = _chunk25GXJCEZcjs.boundAccountSelectionMessage; exports.buildAnthropicApiUrl = _chunkA2YMUCBTcjs.buildAnthropicApiUrl; exports.buildAzureOpenAIApiUrl = _chunkA2YMUCBTcjs.buildAzureOpenAIApiUrl; exports.buildGeminiApiUrl = _chunkA2YMUCBTcjs.buildGeminiApiUrl; exports.buildNativeSearchAugmentation = _chunkJMJBSACDcjs.buildNativeSearchAugmentation; exports.buildOpenAIApiUrl = _chunkA2YMUCBTcjs.buildOpenAIApiUrl; exports.buildOpenAIResponseApiUrl = _chunkA2YMUCBTcjs.buildOpenAIResponseApiUrl; exports.buildProviderApiUrl = _chunkA2YMUCBTcjs.buildProviderApiUrl; exports.candidateBackgroundModelIds = _chunkSQYVORNPcjs.candidateBackgroundModelIds; exports.candidateGatewayBindings = _chunkSQYVORNPcjs.candidateGatewayBindings; exports.checkKeyQuota = _chunkSQYVORNPcjs.checkKeyQuota; exports.classifyModelPrefix = _chunk4VZX5F4Tcjs.classifyModelPrefix; exports.computeKeyExpiry = _chunkSQYVORNPcjs.computeKeyExpiry; exports.computeVoucherGrant = _chunkSQYVORNPcjs.computeVoucherGrant; exports.convertAnthropicRequestToOpenAI = _chunkWYTEQ4Q5cjs.convertAnthropicRequestToOpenAI; exports.convertAnthropicStreamToOpenAI = _chunkWYTEQ4Q5cjs.convertAnthropicStreamToOpenAI; exports.convertAnthropicToOpenAI = _chunkWYTEQ4Q5cjs.convertAnthropicToOpenAI; exports.convertAnthropicToOpenAIWithThinking = _chunkWYTEQ4Q5cjs.convertAnthropicToOpenAIWithThinking; exports.convertMessageToAnthropic = _chunkSQYVORNPcjs.convertMessageToAnthropic; exports.convertMessageToGemini = _chunkSQYVORNPcjs.convertMessageToGemini; exports.convertMessageToOpenAI = _chunkSQYVORNPcjs.convertMessageToOpenAI; exports.convertOpenAIResponseToAnthropic = _chunkWYTEQ4Q5cjs.convertOpenAIResponseToAnthropic; exports.convertOpenAIStreamToAnthropic = _chunkWYTEQ4Q5cjs.convertOpenAIStreamToAnthropic; exports.convertOpenAIToAnthropic = _chunkWYTEQ4Q5cjs.convertOpenAIToAnthropic; exports.convertOpenAIToAnthropicWithThinking = _chunkWYTEQ4Q5cjs.convertOpenAIToAnthropicWithThinking; exports.createIntegrationKey = _chunkSQYVORNPcjs.createIntegrationKey; exports.createNamedKey = _chunkSQYVORNPcjs.createNamedKey; exports.createSSEParser = _chunkHQP3K7PUcjs.createSSEParser; exports.defaultServerConfig = _chunkSQYVORNPcjs.defaultServerConfig; exports.detectModelKind = _chunk4VZX5F4Tcjs.detectModelKind; exports.detectNativeSearch = _chunkJMJBSACDcjs.detectNativeSearch; exports.detectRequestRole = _chunk4VZX5F4Tcjs.detectRequestRole; exports.emitStreamEvent = _chunkSQYVORNPcjs.emit; exports.endpointSupportsSubscription = _chunk4VZX5F4Tcjs.endpointSupportsSubscription; exports.endpointToIngressFormat = _chunk4VZX5F4Tcjs.endpointToIngressFormat; exports.extractRouteToken = _chunkSQYVORNPcjs.extractRouteToken; exports.formatUrls = _chunkSQYVORNPcjs.formatUrls; exports.gatewayBindingToEndpointConfig = _chunkSQYVORNPcjs.gatewayBindingToEndpointConfig; exports.generateVoucherCode = _chunkSQYVORNPcjs.generateVoucherCode; exports.getBuiltinSearchTools = _chunkNZYN7C3Pcjs.getBuiltinSearchTools; exports.getOpenRouterAppIdentity = _chunkUNEFIWXIcjs.getOpenRouterAppIdentity; exports.getOpenRouterProviderConfig = _chunkSQYVORNPcjs.getOpenRouterProviderConfig; exports.getOutboundApiServer = _chunkSQYVORNPcjs.getOutboundApiServer; exports.getProviderHeaders = _chunkQ27JY5RGcjs.getProviderHeaders; exports.getProviderProxy = _chunkSQYVORNPcjs.getProviderProxy; exports.handleVoucherRedeem = _chunkSQYVORNPcjs.handleVoucherRedeem; exports.hasImageContent = _chunkWYTEQ4Q5cjs.hasImageContent; exports.hasThinkingEnabled = _chunkWYTEQ4Q5cjs.hasThinkingEnabled; exports.hashKey = _chunkSQYVORNPcjs.hashKey; exports.hashVoucherCode = _chunkSQYVORNPcjs.hashVoucherCode; exports.isBoundAccountSelectionError = _chunk25GXJCEZcjs.isBoundAccountSelectionError; exports.isConcurrencyRejection = _chunkSQYVORNPcjs.isConcurrencyRejection; exports.isKindMappedEndpoint = _chunk4VZX5F4Tcjs.isKindMappedEndpoint; exports.isOpenRouterProvider = _chunkUNEFIWXIcjs.isOpenRouterProvider; exports.isRedeemRequest = _chunkSQYVORNPcjs.isRedeemRequest; exports.isSerialQueueTimeout = _chunkSQYVORNPcjs.isSerialQueueTimeout; exports.isSubscriptionProviderId = _chunk4VZX5F4Tcjs.isSubscriptionProviderId; exports.isUserMessageRequest = _chunkSQYVORNPcjs.isUserMessageRequest; exports.legacyEndpointsToBindings = _chunkSQYVORNPcjs.legacyEndpointsToBindings; exports.loadServerConfig = _chunkSQYVORNPcjs.loadServerConfig; exports.mergeServerConfig = _chunkSQYVORNPcjs.mergeServerConfig; exports.modelKindsForEndpoint = _chunk4VZX5F4Tcjs.modelKindsForEndpoint; exports.newVoucherId = _chunkSQYVORNPcjs.newVoucherId; exports.normalizeAccountProbe = _chunkSQYVORNPcjs.normalizeAccountProbe; exports.normalizeAllowanceScheduling = _chunkSQYVORNPcjs.normalizeAllowanceScheduling; exports.normalizeAudit = _chunkSQYVORNPcjs.normalizeAudit; exports.normalizeAzureEndpoint = _chunkA2YMUCBTcjs.normalizeAzureEndpoint; exports.normalizeBilling = _chunkSQYVORNPcjs.normalizeBilling; exports.normalizeFingerprint = _chunkSQYVORNPcjs.normalizeFingerprint; exports.normalizeGatewayBindings = _chunkSQYVORNPcjs.normalizeGatewayBindings; exports.normalizePrefixTargets = _chunkSQYVORNPcjs.normalizePrefixTargets; exports.normalizeProxyConfig = _chunkSQYVORNPcjs.normalizeProxyConfig; exports.normalizeProxySegment = _chunkSQYVORNPcjs.normalizeProxySegment; exports.normalizeQueueSegments = _chunkSQYVORNPcjs.normalizeQueueSegments; exports.normalizeServerConfig = _chunkSQYVORNPcjs.normalizeServerConfig; exports.normalizeVoucher = _chunkSQYVORNPcjs.normalizeVoucher; exports.normalizeWebhookDestination = _chunkSQYVORNPcjs.normalizeWebhookDestination; exports.normalizeWebhookSegment = _chunkSQYVORNPcjs.normalizeWebhookSegment; exports.parseModelRef = _chunk4VZX5F4Tcjs.parseModelRef; exports.pickModelRefFromList = _chunk4VZX5F4Tcjs.pickModelRefFromList; exports.randomBase62 = _chunkSQYVORNPcjs.randomBase62; exports.redactAuditText = _chunkFCR77GYMcjs.redactAuditText; exports.registerBuiltinTransformers = _chunk7AK7B36Bcjs.registerBuiltinTransformers; exports.registerStreamEventBuffer = _chunkSQYVORNPcjs.register; exports.releaseStreamEventBuffer = _chunkSQYVORNPcjs.release; exports.resolveApiFormat = _chunkA2YMUCBTcjs.resolveApiFormat; exports.resolveGatewayBinding = _chunkSQYVORNPcjs.resolveGatewayBinding; exports.resolvePrefixTarget = _chunk4VZX5F4Tcjs.resolvePrefixTarget; exports.resolveProviderEndpoint = _chunkA2YMUCBTcjs.resolveProviderEndpoint; exports.resolveRoute = _chunk4VZX5F4Tcjs.resolveRoute; exports.saveServerConfig = _chunkSQYVORNPcjs.saveServerConfig; exports.serializeError = _chunkSVNDB62Dcjs.serializeError; exports.setOpenRouterAppIdentity = _chunkUNEFIWXIcjs.setOpenRouterAppIdentity; exports.startOfLocalDay = _chunkSQYVORNPcjs.startOfLocalDay; exports.startOfLocalWeek = _chunkSQYVORNPcjs.startOfLocalWeek; exports.streamSSEResponse = _chunkHQP3K7PUcjs.streamSSEResponse; exports.toVoucherInfo = _chunkSQYVORNPcjs.toVoucherInfo; exports.validateEndpointModelConfig = _chunk4VZX5F4Tcjs.validateEndpointModelConfig; exports.verifyKey = _chunkSQYVORNPcjs.verifyKey; exports.verifyPresentedKey = _chunkSQYVORNPcjs.verifyPresentedKey; exports.voucherCodePrefix = _chunkSQYVORNPcjs.voucherCodePrefix;
|
package/dist/index.d.cts
CHANGED
|
@@ -4,21 +4,21 @@ export { A as AnthropicTool, B as BuiltinToolExecutor, G as GeminiTools, M as Mc
|
|
|
4
4
|
import { LLMProvider } from '@omnicross/contracts/llm-config';
|
|
5
5
|
export { C as CorePaths, a as CoreUsageEvent, b as CoreUsageTokenCounts, U as UsageEventSink } from './usage-event-sink-BX7FE1NL.cjs';
|
|
6
6
|
export { L as Logger } from './logger-4GvQNzhE.cjs';
|
|
7
|
-
export { PricingStore } from './ports/pricing-store.cjs';
|
|
7
|
+
export { AutomaticPricingSource, PricingStore } from './ports/pricing-store.cjs';
|
|
8
8
|
export { ProviderConfigSource } from './ports/provider-config-source.cjs';
|
|
9
9
|
export { UsageEventStore } from './ports/usage-event-store.cjs';
|
|
10
10
|
export { WebSearchBackend } from './ports/web-search-backend.cjs';
|
|
11
11
|
export { AnthropicIngressHandler, AnthropicIngressHandlerFactory, AnthropicRouteHandlerParams, AnthropicSdkHints, ExtendedContextHint, IngressFormat, ProviderProxyDeps, ProxyAttribution, RetryCallback, RouteAuthMode, RouteContext, StreamEventCallback, SubscriptionDispatchProfile, SubscriptionRequestSummary, TargetProviderFormat, UsageRecorderImport, UsageRecorderImport as UsageSink } from './provider-proxy/types.cjs';
|
|
12
|
-
export { A as AccountProbeConfig, C as ChatDispatchMode,
|
|
12
|
+
export { A as AccountProbeConfig, a as AllowanceSchedulingConfig, C as ChatDispatchMode, b as ConcurrencyQueueConfig, E as ENDPOINT_MODEL_KINDS, c as EndpointRoutingConfig, F as FingerprintConfig, G as GatewayBinding, d as GatewayBindingFallback, e as GatewayBindingKeyScope, f as GatewayBindingModelMode, g as GatewayBindingTarget, h as GatewayModelMapping, K as KeySpendReader, i as KeySpendSeeder, j as KeySpendTracker, k as KindMappedEndpoint, M as MessagesModelKind, l as ModelKind, m as ModelPrefixTargets, n as OutboundApiDeps, o as OutboundApiKeyCreated, p as OutboundApiKeyInfo, q as OutboundApiServerConfig, r as OutboundApiServerStatus, O as OutboundCredentialStore, s as OutboundEndpoint, t as OutboundFormatUrls, u as OutboundKeyActivationMode, O as OutboundKeyDb, v as OutboundKeyDbRow, w as OutboundKeyPolicy, x as OutboundProxyConfig, R as RequestRole, y as ResponsesModelKind, U as UserMessageQueueConfig, V as VoucherCreateInput, z as VoucherDb, B as computeVoucherGrant, D as generateVoucherCode, H as hashVoucherCode, I as newVoucherId, J as startOfLocalDay, L as startOfLocalWeek, N as toVoucherInfo, P as voucherCodePrefix } from './types-H3wGZSOo.cjs';
|
|
13
13
|
export { CostCalculation, PricingEngine, PricingEngineOptions } from './usage/pricing-engine.cjs';
|
|
14
14
|
export { UsageRecordInput, UsageRecorder, UsageRecorderOptions } from './usage/usage-recorder.cjs';
|
|
15
15
|
export { A as ApiFormat, C as CompletionOptions, a as CompletionResult, N as NATIVE_SEARCH_TOOL_NAMES, b as NativeSearchAugmentation, c as NativeSearchDetectionResult, d as NativeSearchProvider, e as NativeSearchUserConfig, S as StreamCallbacks } from './types-BScIHmPr.cjs';
|
|
16
|
-
export { C as CompletionService, V as VisionFallbackProvider } from './CompletionService-
|
|
16
|
+
export { C as CompletionService, V as VisionFallbackProvider } from './CompletionService-kNA17cfI.cjs';
|
|
17
17
|
export { SimpleChatGeminiMessage, SimpleChatGeminiPart, StreamEvent, StreamEventType, StreamSender, addOpenRouterProviderToRequest, attachStreamEventBuffer, convertMessageToAnthropic, convertMessageToGemini, convertMessageToOpenAI, emitStreamEvent, getOpenRouterProviderConfig, getProviderHeaders, registerStreamEventBuffer, releaseStreamEventBuffer } from './completion.cjs';
|
|
18
18
|
export { buildAnthropicApiUrl, buildAzureOpenAIApiUrl, buildGeminiApiUrl, buildOpenAIApiUrl, buildOpenAIResponseApiUrl, buildProviderApiUrl, normalizeAzureEndpoint, resolveApiFormat, resolveProviderEndpoint } from './completion/url-builder.cjs';
|
|
19
19
|
export { applyAugmentation, buildNativeSearchAugmentation, detectNativeSearch } from './completion/NativeSearchInjector.cjs';
|
|
20
20
|
export { __resetProviderProxyForTests, extractRouteToken, getProviderProxy } from './provider-proxy.cjs';
|
|
21
|
-
export { ApiServerSettingsStore, ApplyConfigInput, ConcurrencyQueueFullError, ConcurrencyWaitCancelledError, ConcurrencyWaitTimeoutError, DEFAULT_ACCOUNT_PROBE, DEFAULT_CONCURRENCY_QUEUE, DEFAULT_FINGERPRINT, DEFAULT_OUTBOUND_PORT, DEFAULT_USER_MESSAGE_QUEUE,
|
|
21
|
+
export { ApiServerSettingsStore, ApplyConfigInput, ConcurrencyQueueFullError, ConcurrencyWaitCancelledError, ConcurrencyWaitTimeoutError, DEFAULT_ACCOUNT_PROBE, DEFAULT_ALLOWANCE_SCHEDULING, DEFAULT_CONCURRENCY_QUEUE, DEFAULT_FINGERPRINT, DEFAULT_OUTBOUND_PORT, DEFAULT_USER_MESSAGE_QUEUE, GateAcquireOptions, GateAcquisition, GateSlot, GateStatusEntry, GatewayBindingResolution, KeyVerification, KeyedMutex, ModelPrefixKind, OUTBOUND_API_SERVER_CONFIG_KEY, OutboundApiServer, OutboundConcurrencyGate, OutboundRateLimiter, ResolveGatewayBindingInput, SerialAcquireOptions, SerialQueueStatusEntry, SerialQueueTimeoutError, SerialSlot, UserMessageSerialQueue, VerifiedKey, __resetOutboundApiServerForTests, candidateBackgroundModelIds, candidateGatewayBindings, classifyModelPrefix, createIntegrationKey, createNamedKey, defaultServerConfig, detectModelKind, detectRequestRole, endpointToIngressFormat, formatUrls, gatewayBindingToEndpointConfig, getOutboundApiServer, handleVoucherRedeem, hashKey, isConcurrencyRejection, isKindMappedEndpoint, isRedeemRequest, isSerialQueueTimeout, isUserMessageRequest, legacyEndpointsToBindings, loadServerConfig, mergeServerConfig, modelKindsForEndpoint, normalizeAccountProbe, normalizeAllowanceScheduling, normalizeAudit, normalizeBilling, normalizeFingerprint, normalizeGatewayBindings, normalizePrefixTargets, normalizeProxyConfig, normalizeProxySegment, normalizeQueueSegments, normalizeServerConfig, normalizeVoucher, normalizeWebhookDestination, normalizeWebhookSegment, randomBase62, resolveGatewayBinding, resolvePrefixTarget, saveServerConfig, validateEndpointModelConfig, verifyKey, verifyPresentedKey } from './outbound-api.cjs';
|
|
22
22
|
export { convertAnthropicRequestToOpenAI, convertAnthropicStreamToOpenAI, convertAnthropicToOpenAI, convertAnthropicToOpenAIWithThinking, convertOpenAIResponseToAnthropic, convertOpenAIStreamToAnthropic, convertOpenAIToAnthropic, convertOpenAIToAnthropicWithThinking, hasImageContent, hasThinkingEnabled } from './ApiConverter.cjs';
|
|
23
23
|
export { ChainExecutionOptions, TransformerChainExecutor } from './transformer/TransformerChainExecutor.cjs';
|
|
24
24
|
export { TransformerService } from './transformer/TransformerService.cjs';
|
|
@@ -27,9 +27,10 @@ export { Annotation, ImageContent, MessageContent, ModelRoute, ModelTransformerC
|
|
|
27
27
|
export { AUDIT_REDACTED, redactAuditText } from './outbound-api/auditRedact.cjs';
|
|
28
28
|
export { AuditCaptureContext, beginAuditCapture } from './outbound-api/auditCapture.cjs';
|
|
29
29
|
export { BillingCaptureContext, beginBillingCapture } from './outbound-api/billingCapture.cjs';
|
|
30
|
+
export { BoundAccountFallbackPolicy, BoundAccountSelectionError, BoundAccountSelectionFailureReason, boundAccountSelectionMessage, isBoundAccountSelectionError } from './pipeline/BoundAccountSelectionError.cjs';
|
|
30
31
|
export { D as DEFAULT_ROUTE_IDLE_MS, P as ProviderProxy, a as ProviderProxyRouteMap } from './ProviderProxy-CnMQYN59.cjs';
|
|
31
|
-
export { K as KeyCostLimits, a as KeyExpiryInput, b as KeyExpiryResult, c as KeySpend, Q as QuotaDecision, d as checkKeyQuota, e as computeKeyExpiry } from './keyPolicy-
|
|
32
|
-
export { S as SUBSCRIPTION_PROVIDER_IDS, e as endpointSupportsSubscription, i as isSubscriptionProviderId, p as parseModelRef, a as pickModelRefFromList, r as resolveRoute } from './routeResolver-
|
|
32
|
+
export { K as KeyCostLimits, a as KeyExpiryInput, b as KeyExpiryResult, c as KeySpend, Q as QuotaDecision, d as checkKeyQuota, e as computeKeyExpiry } from './keyPolicy-zdWTu3CQ.cjs';
|
|
33
|
+
export { S as SUBSCRIPTION_PROVIDER_IDS, e as endpointSupportsSubscription, i as isSubscriptionProviderId, p as parseModelRef, a as pickModelRefFromList, r as resolveRoute } from './routeResolver-kepxnfcC.cjs';
|
|
33
34
|
import '@omnicross/contracts/message-blocks';
|
|
34
35
|
import '@omnicross/contracts/completion-types';
|
|
35
36
|
import '@omnicross/contracts/mcp-types';
|
|
@@ -54,8 +55,7 @@ import './transformer/transformers/AnthropicTransformer.cjs';
|
|
|
54
55
|
import './transformer/transformers/GeminiCodeAssistTransformer.cjs';
|
|
55
56
|
import './transformer/transformers/GeminiTransformer.cjs';
|
|
56
57
|
import './transformer/transformers/OpenAIResponseTransformer.cjs';
|
|
57
|
-
import './transformer/transformers/
|
|
58
|
-
import './transformer/transformers/ReasoningTransformer.cjs';
|
|
58
|
+
import './transformer/transformers/OpenAITransformer.cjs';
|
|
59
59
|
|
|
60
60
|
/**
|
|
61
61
|
* OpenRouter-specific serving-core helpers.
|
package/dist/index.d.ts
CHANGED
|
@@ -4,21 +4,21 @@ export { A as AnthropicTool, B as BuiltinToolExecutor, G as GeminiTools, M as Mc
|
|
|
4
4
|
import { LLMProvider } from '@omnicross/contracts/llm-config';
|
|
5
5
|
export { C as CorePaths, a as CoreUsageEvent, b as CoreUsageTokenCounts, U as UsageEventSink } from './usage-event-sink-BX7FE1NL.js';
|
|
6
6
|
export { L as Logger } from './logger-4GvQNzhE.js';
|
|
7
|
-
export { PricingStore } from './ports/pricing-store.js';
|
|
7
|
+
export { AutomaticPricingSource, PricingStore } from './ports/pricing-store.js';
|
|
8
8
|
export { ProviderConfigSource } from './ports/provider-config-source.js';
|
|
9
9
|
export { UsageEventStore } from './ports/usage-event-store.js';
|
|
10
10
|
export { WebSearchBackend } from './ports/web-search-backend.js';
|
|
11
11
|
export { AnthropicIngressHandler, AnthropicIngressHandlerFactory, AnthropicRouteHandlerParams, AnthropicSdkHints, ExtendedContextHint, IngressFormat, ProviderProxyDeps, ProxyAttribution, RetryCallback, RouteAuthMode, RouteContext, StreamEventCallback, SubscriptionDispatchProfile, SubscriptionRequestSummary, TargetProviderFormat, UsageRecorderImport, UsageRecorderImport as UsageSink } from './provider-proxy/types.js';
|
|
12
|
-
export { A as AccountProbeConfig, C as ChatDispatchMode,
|
|
12
|
+
export { A as AccountProbeConfig, a as AllowanceSchedulingConfig, C as ChatDispatchMode, b as ConcurrencyQueueConfig, E as ENDPOINT_MODEL_KINDS, c as EndpointRoutingConfig, F as FingerprintConfig, G as GatewayBinding, d as GatewayBindingFallback, e as GatewayBindingKeyScope, f as GatewayBindingModelMode, g as GatewayBindingTarget, h as GatewayModelMapping, K as KeySpendReader, i as KeySpendSeeder, j as KeySpendTracker, k as KindMappedEndpoint, M as MessagesModelKind, l as ModelKind, m as ModelPrefixTargets, n as OutboundApiDeps, o as OutboundApiKeyCreated, p as OutboundApiKeyInfo, q as OutboundApiServerConfig, r as OutboundApiServerStatus, O as OutboundCredentialStore, s as OutboundEndpoint, t as OutboundFormatUrls, u as OutboundKeyActivationMode, O as OutboundKeyDb, v as OutboundKeyDbRow, w as OutboundKeyPolicy, x as OutboundProxyConfig, R as RequestRole, y as ResponsesModelKind, U as UserMessageQueueConfig, V as VoucherCreateInput, z as VoucherDb, B as computeVoucherGrant, D as generateVoucherCode, H as hashVoucherCode, I as newVoucherId, J as startOfLocalDay, L as startOfLocalWeek, N as toVoucherInfo, P as voucherCodePrefix } from './types-hsoKrVQS.js';
|
|
13
13
|
export { CostCalculation, PricingEngine, PricingEngineOptions } from './usage/pricing-engine.js';
|
|
14
14
|
export { UsageRecordInput, UsageRecorder, UsageRecorderOptions } from './usage/usage-recorder.js';
|
|
15
15
|
export { A as ApiFormat, C as CompletionOptions, a as CompletionResult, N as NATIVE_SEARCH_TOOL_NAMES, b as NativeSearchAugmentation, c as NativeSearchDetectionResult, d as NativeSearchProvider, e as NativeSearchUserConfig, S as StreamCallbacks } from './types-BScIHmPr.js';
|
|
16
|
-
export { C as CompletionService, V as VisionFallbackProvider } from './CompletionService-
|
|
16
|
+
export { C as CompletionService, V as VisionFallbackProvider } from './CompletionService-C3BX0Ovy.js';
|
|
17
17
|
export { SimpleChatGeminiMessage, SimpleChatGeminiPart, StreamEvent, StreamEventType, StreamSender, addOpenRouterProviderToRequest, attachStreamEventBuffer, convertMessageToAnthropic, convertMessageToGemini, convertMessageToOpenAI, emitStreamEvent, getOpenRouterProviderConfig, getProviderHeaders, registerStreamEventBuffer, releaseStreamEventBuffer } from './completion.js';
|
|
18
18
|
export { buildAnthropicApiUrl, buildAzureOpenAIApiUrl, buildGeminiApiUrl, buildOpenAIApiUrl, buildOpenAIResponseApiUrl, buildProviderApiUrl, normalizeAzureEndpoint, resolveApiFormat, resolveProviderEndpoint } from './completion/url-builder.js';
|
|
19
19
|
export { applyAugmentation, buildNativeSearchAugmentation, detectNativeSearch } from './completion/NativeSearchInjector.js';
|
|
20
20
|
export { __resetProviderProxyForTests, extractRouteToken, getProviderProxy } from './provider-proxy.js';
|
|
21
|
-
export { ApiServerSettingsStore, ApplyConfigInput, ConcurrencyQueueFullError, ConcurrencyWaitCancelledError, ConcurrencyWaitTimeoutError, DEFAULT_ACCOUNT_PROBE, DEFAULT_CONCURRENCY_QUEUE, DEFAULT_FINGERPRINT, DEFAULT_OUTBOUND_PORT, DEFAULT_USER_MESSAGE_QUEUE,
|
|
21
|
+
export { ApiServerSettingsStore, ApplyConfigInput, ConcurrencyQueueFullError, ConcurrencyWaitCancelledError, ConcurrencyWaitTimeoutError, DEFAULT_ACCOUNT_PROBE, DEFAULT_ALLOWANCE_SCHEDULING, DEFAULT_CONCURRENCY_QUEUE, DEFAULT_FINGERPRINT, DEFAULT_OUTBOUND_PORT, DEFAULT_USER_MESSAGE_QUEUE, GateAcquireOptions, GateAcquisition, GateSlot, GateStatusEntry, GatewayBindingResolution, KeyVerification, KeyedMutex, ModelPrefixKind, OUTBOUND_API_SERVER_CONFIG_KEY, OutboundApiServer, OutboundConcurrencyGate, OutboundRateLimiter, ResolveGatewayBindingInput, SerialAcquireOptions, SerialQueueStatusEntry, SerialQueueTimeoutError, SerialSlot, UserMessageSerialQueue, VerifiedKey, __resetOutboundApiServerForTests, candidateBackgroundModelIds, candidateGatewayBindings, classifyModelPrefix, createIntegrationKey, createNamedKey, defaultServerConfig, detectModelKind, detectRequestRole, endpointToIngressFormat, formatUrls, gatewayBindingToEndpointConfig, getOutboundApiServer, handleVoucherRedeem, hashKey, isConcurrencyRejection, isKindMappedEndpoint, isRedeemRequest, isSerialQueueTimeout, isUserMessageRequest, legacyEndpointsToBindings, loadServerConfig, mergeServerConfig, modelKindsForEndpoint, normalizeAccountProbe, normalizeAllowanceScheduling, normalizeAudit, normalizeBilling, normalizeFingerprint, normalizeGatewayBindings, normalizePrefixTargets, normalizeProxyConfig, normalizeProxySegment, normalizeQueueSegments, normalizeServerConfig, normalizeVoucher, normalizeWebhookDestination, normalizeWebhookSegment, randomBase62, resolveGatewayBinding, resolvePrefixTarget, saveServerConfig, validateEndpointModelConfig, verifyKey, verifyPresentedKey } from './outbound-api.js';
|
|
22
22
|
export { convertAnthropicRequestToOpenAI, convertAnthropicStreamToOpenAI, convertAnthropicToOpenAI, convertAnthropicToOpenAIWithThinking, convertOpenAIResponseToAnthropic, convertOpenAIStreamToAnthropic, convertOpenAIToAnthropic, convertOpenAIToAnthropicWithThinking, hasImageContent, hasThinkingEnabled } from './ApiConverter.js';
|
|
23
23
|
export { ChainExecutionOptions, TransformerChainExecutor } from './transformer/TransformerChainExecutor.js';
|
|
24
24
|
export { TransformerService } from './transformer/TransformerService.js';
|
|
@@ -27,9 +27,10 @@ export { Annotation, ImageContent, MessageContent, ModelRoute, ModelTransformerC
|
|
|
27
27
|
export { AUDIT_REDACTED, redactAuditText } from './outbound-api/auditRedact.js';
|
|
28
28
|
export { AuditCaptureContext, beginAuditCapture } from './outbound-api/auditCapture.js';
|
|
29
29
|
export { BillingCaptureContext, beginBillingCapture } from './outbound-api/billingCapture.js';
|
|
30
|
+
export { BoundAccountFallbackPolicy, BoundAccountSelectionError, BoundAccountSelectionFailureReason, boundAccountSelectionMessage, isBoundAccountSelectionError } from './pipeline/BoundAccountSelectionError.js';
|
|
30
31
|
export { D as DEFAULT_ROUTE_IDLE_MS, P as ProviderProxy, a as ProviderProxyRouteMap } from './ProviderProxy-C-xqrkKi.js';
|
|
31
|
-
export { K as KeyCostLimits, a as KeyExpiryInput, b as KeyExpiryResult, c as KeySpend, Q as QuotaDecision, d as checkKeyQuota, e as computeKeyExpiry } from './keyPolicy-
|
|
32
|
-
export { S as SUBSCRIPTION_PROVIDER_IDS, e as endpointSupportsSubscription, i as isSubscriptionProviderId, p as parseModelRef, a as pickModelRefFromList, r as resolveRoute } from './routeResolver-
|
|
32
|
+
export { K as KeyCostLimits, a as KeyExpiryInput, b as KeyExpiryResult, c as KeySpend, Q as QuotaDecision, d as checkKeyQuota, e as computeKeyExpiry } from './keyPolicy-zdWTu3CQ.js';
|
|
33
|
+
export { S as SUBSCRIPTION_PROVIDER_IDS, e as endpointSupportsSubscription, i as isSubscriptionProviderId, p as parseModelRef, a as pickModelRefFromList, r as resolveRoute } from './routeResolver-CHTv_Bs5.js';
|
|
33
34
|
import '@omnicross/contracts/message-blocks';
|
|
34
35
|
import '@omnicross/contracts/completion-types';
|
|
35
36
|
import '@omnicross/contracts/mcp-types';
|
|
@@ -54,8 +55,7 @@ import './transformer/transformers/AnthropicTransformer.js';
|
|
|
54
55
|
import './transformer/transformers/GeminiCodeAssistTransformer.js';
|
|
55
56
|
import './transformer/transformers/GeminiTransformer.js';
|
|
56
57
|
import './transformer/transformers/OpenAIResponseTransformer.js';
|
|
57
|
-
import './transformer/transformers/
|
|
58
|
-
import './transformer/transformers/ReasoningTransformer.js';
|
|
58
|
+
import './transformer/transformers/OpenAITransformer.js';
|
|
59
59
|
|
|
60
60
|
/**
|
|
61
61
|
* OpenRouter-specific serving-core helpers.
|
package/dist/index.js
CHANGED
|
@@ -4,6 +4,7 @@ import {
|
|
|
4
4
|
ConcurrencyWaitCancelledError,
|
|
5
5
|
ConcurrencyWaitTimeoutError,
|
|
6
6
|
DEFAULT_ACCOUNT_PROBE,
|
|
7
|
+
DEFAULT_ALLOWANCE_SCHEDULING,
|
|
7
8
|
DEFAULT_CONCURRENCY_QUEUE,
|
|
8
9
|
DEFAULT_FINGERPRINT,
|
|
9
10
|
DEFAULT_OUTBOUND_PORT,
|
|
@@ -12,7 +13,6 @@ import {
|
|
|
12
13
|
KeySpendTracker,
|
|
13
14
|
KeyedMutex,
|
|
14
15
|
OUTBOUND_API_SERVER_CONFIG_KEY,
|
|
15
|
-
OutboundApiConfigError,
|
|
16
16
|
OutboundApiServer,
|
|
17
17
|
OutboundConcurrencyGate,
|
|
18
18
|
OutboundRateLimiter,
|
|
@@ -24,17 +24,21 @@ import {
|
|
|
24
24
|
__resetProviderProxyForTests,
|
|
25
25
|
addOpenRouterProviderToRequest,
|
|
26
26
|
attach,
|
|
27
|
+
candidateBackgroundModelIds,
|
|
28
|
+
candidateGatewayBindings,
|
|
27
29
|
checkKeyQuota,
|
|
28
30
|
computeKeyExpiry,
|
|
29
31
|
computeVoucherGrant,
|
|
30
32
|
convertMessageToAnthropic,
|
|
31
33
|
convertMessageToGemini,
|
|
32
34
|
convertMessageToOpenAI,
|
|
35
|
+
createIntegrationKey,
|
|
33
36
|
createNamedKey,
|
|
34
37
|
defaultServerConfig,
|
|
35
38
|
emit,
|
|
36
39
|
extractRouteToken,
|
|
37
40
|
formatUrls,
|
|
41
|
+
gatewayBindingToEndpointConfig,
|
|
38
42
|
generateVoucherCode,
|
|
39
43
|
getOpenRouterProviderConfig,
|
|
40
44
|
getOutboundApiServer,
|
|
@@ -46,13 +50,16 @@ import {
|
|
|
46
50
|
isRedeemRequest,
|
|
47
51
|
isSerialQueueTimeout,
|
|
48
52
|
isUserMessageRequest,
|
|
53
|
+
legacyEndpointsToBindings,
|
|
49
54
|
loadServerConfig,
|
|
50
55
|
mergeServerConfig,
|
|
51
56
|
newVoucherId,
|
|
52
57
|
normalizeAccountProbe,
|
|
58
|
+
normalizeAllowanceScheduling,
|
|
53
59
|
normalizeAudit,
|
|
54
60
|
normalizeBilling,
|
|
55
61
|
normalizeFingerprint,
|
|
62
|
+
normalizeGatewayBindings,
|
|
56
63
|
normalizePrefixTargets,
|
|
57
64
|
normalizeProxyConfig,
|
|
58
65
|
normalizeProxySegment,
|
|
@@ -64,6 +71,7 @@ import {
|
|
|
64
71
|
randomBase62,
|
|
65
72
|
register,
|
|
66
73
|
release,
|
|
74
|
+
resolveGatewayBinding,
|
|
67
75
|
saveServerConfig,
|
|
68
76
|
startOfLocalDay,
|
|
69
77
|
startOfLocalWeek,
|
|
@@ -71,7 +79,8 @@ import {
|
|
|
71
79
|
verifyKey,
|
|
72
80
|
verifyPresentedKey,
|
|
73
81
|
voucherCodePrefix
|
|
74
|
-
} from "./chunk-
|
|
82
|
+
} from "./chunk-UDCC7EMR.js";
|
|
83
|
+
import "./chunk-WB6PH56J.js";
|
|
75
84
|
import {
|
|
76
85
|
createSSEParser,
|
|
77
86
|
streamSSEResponse
|
|
@@ -79,42 +88,46 @@ import {
|
|
|
79
88
|
import "./chunk-46RLHI7D.js";
|
|
80
89
|
import {
|
|
81
90
|
TransformerChainExecutor
|
|
82
|
-
} from "./chunk-
|
|
91
|
+
} from "./chunk-WNKWAEUR.js";
|
|
92
|
+
import "./chunk-MZNPGW5Q.js";
|
|
83
93
|
import {
|
|
84
94
|
TransformerService
|
|
85
95
|
} from "./chunk-DK4A7DLE.js";
|
|
86
96
|
import {
|
|
87
97
|
registerBuiltinTransformers
|
|
88
|
-
} from "./chunk-
|
|
89
|
-
import "./chunk-
|
|
90
|
-
import "./chunk-
|
|
91
|
-
import "./chunk-
|
|
92
|
-
import "./chunk-
|
|
93
|
-
import "./chunk-BODMAL6G.js";
|
|
98
|
+
} from "./chunk-VRFBB5DB.js";
|
|
99
|
+
import "./chunk-LVUCAWMK.js";
|
|
100
|
+
import "./chunk-OEWZUX4G.js";
|
|
101
|
+
import "./chunk-LB6EBS6Y.js";
|
|
102
|
+
import "./chunk-6CL5HTPQ.js";
|
|
94
103
|
import "./chunk-7VU7V2E4.js";
|
|
95
104
|
import {
|
|
96
105
|
PricingEngine
|
|
97
|
-
} from "./chunk-
|
|
106
|
+
} from "./chunk-UX7VWA46.js";
|
|
98
107
|
import {
|
|
99
108
|
UsageRecorder
|
|
100
109
|
} from "./chunk-BPKCU575.js";
|
|
101
|
-
import "./chunk-
|
|
110
|
+
import "./chunk-DRWHTIIZ.js";
|
|
102
111
|
import "./chunk-XTEI64OU.js";
|
|
103
112
|
import "./chunk-XX6NQJMA.js";
|
|
104
|
-
import "./chunk-
|
|
113
|
+
import "./chunk-5ERIZW3D.js";
|
|
114
|
+
import "./chunk-YJVHCHQX.js";
|
|
115
|
+
import "./chunk-23S5OPIO.js";
|
|
116
|
+
import {
|
|
117
|
+
serializeError
|
|
118
|
+
} from "./chunk-AVYJ4YBN.js";
|
|
105
119
|
import "./chunk-OE6TDIWW.js";
|
|
106
|
-
import "./chunk-
|
|
107
|
-
import
|
|
120
|
+
import "./chunk-OPRS4IQZ.js";
|
|
121
|
+
import {
|
|
122
|
+
BoundAccountSelectionError,
|
|
123
|
+
boundAccountSelectionMessage,
|
|
124
|
+
isBoundAccountSelectionError
|
|
125
|
+
} from "./chunk-2JYRIADS.js";
|
|
126
|
+
import "./chunk-DE2SRBFZ.js";
|
|
108
127
|
import {
|
|
109
128
|
getProviderHeaders
|
|
110
129
|
} from "./chunk-ZY6KU6P3.js";
|
|
111
130
|
import "./chunk-JWC6APFQ.js";
|
|
112
|
-
import "./chunk-5ERIZW3D.js";
|
|
113
|
-
import "./chunk-5ENKBSWO.js";
|
|
114
|
-
import "./chunk-HRRYG2AX.js";
|
|
115
|
-
import {
|
|
116
|
-
serializeError
|
|
117
|
-
} from "./chunk-AVYJ4YBN.js";
|
|
118
131
|
import {
|
|
119
132
|
beginBillingCapture
|
|
120
133
|
} from "./chunk-WLYIIEAF.js";
|
|
@@ -134,9 +147,8 @@ import {
|
|
|
134
147
|
pickModelRefFromList,
|
|
135
148
|
resolvePrefixTarget,
|
|
136
149
|
resolveRoute,
|
|
137
|
-
validateEndpointModelConfig
|
|
138
|
-
|
|
139
|
-
} from "./chunk-UHGVBFU3.js";
|
|
150
|
+
validateEndpointModelConfig
|
|
151
|
+
} from "./chunk-EBLFCNPY.js";
|
|
140
152
|
import "./chunk-AQ5TNQB7.js";
|
|
141
153
|
import {
|
|
142
154
|
ENDPOINT_MODEL_KINDS
|
|
@@ -172,11 +184,12 @@ import {
|
|
|
172
184
|
convertOpenAIToAnthropicWithThinking,
|
|
173
185
|
hasImageContent,
|
|
174
186
|
hasThinkingEnabled
|
|
175
|
-
} from "./chunk-
|
|
176
|
-
import "./chunk-
|
|
177
|
-
import "./chunk-
|
|
178
|
-
import "./chunk-
|
|
187
|
+
} from "./chunk-AT7B7SOZ.js";
|
|
188
|
+
import "./chunk-N5T4M4GU.js";
|
|
189
|
+
import "./chunk-TOVPMMHM.js";
|
|
190
|
+
import "./chunk-SIZQQD6T.js";
|
|
179
191
|
import "./chunk-SYQF7OIR.js";
|
|
192
|
+
import "./chunk-MKF46GNZ.js";
|
|
180
193
|
import {
|
|
181
194
|
BuiltinToolExecutor,
|
|
182
195
|
getBuiltinSearchTools
|
|
@@ -197,12 +210,14 @@ import {
|
|
|
197
210
|
} from "./chunk-HUZZZ3JL.js";
|
|
198
211
|
export {
|
|
199
212
|
AUDIT_REDACTED,
|
|
213
|
+
BoundAccountSelectionError,
|
|
200
214
|
BuiltinToolExecutor,
|
|
201
215
|
CompletionService,
|
|
202
216
|
ConcurrencyQueueFullError,
|
|
203
217
|
ConcurrencyWaitCancelledError,
|
|
204
218
|
ConcurrencyWaitTimeoutError,
|
|
205
219
|
DEFAULT_ACCOUNT_PROBE,
|
|
220
|
+
DEFAULT_ALLOWANCE_SCHEDULING,
|
|
206
221
|
DEFAULT_CONCURRENCY_QUEUE,
|
|
207
222
|
DEFAULT_FINGERPRINT,
|
|
208
223
|
DEFAULT_OUTBOUND_PORT,
|
|
@@ -214,7 +229,6 @@ export {
|
|
|
214
229
|
NATIVE_SEARCH_TOOL_NAMES,
|
|
215
230
|
OPENROUTER_APP_HEADERS,
|
|
216
231
|
OUTBOUND_API_SERVER_CONFIG_KEY,
|
|
217
|
-
OutboundApiConfigError,
|
|
218
232
|
OutboundApiServer,
|
|
219
233
|
OutboundConcurrencyGate,
|
|
220
234
|
OutboundRateLimiter,
|
|
@@ -234,6 +248,7 @@ export {
|
|
|
234
248
|
attach as attachStreamEventBuffer,
|
|
235
249
|
beginAuditCapture,
|
|
236
250
|
beginBillingCapture,
|
|
251
|
+
boundAccountSelectionMessage,
|
|
237
252
|
buildAnthropicApiUrl,
|
|
238
253
|
buildAzureOpenAIApiUrl,
|
|
239
254
|
buildGeminiApiUrl,
|
|
@@ -241,6 +256,8 @@ export {
|
|
|
241
256
|
buildOpenAIApiUrl,
|
|
242
257
|
buildOpenAIResponseApiUrl,
|
|
243
258
|
buildProviderApiUrl,
|
|
259
|
+
candidateBackgroundModelIds,
|
|
260
|
+
candidateGatewayBindings,
|
|
244
261
|
checkKeyQuota,
|
|
245
262
|
classifyModelPrefix,
|
|
246
263
|
computeKeyExpiry,
|
|
@@ -256,6 +273,7 @@ export {
|
|
|
256
273
|
convertOpenAIStreamToAnthropic,
|
|
257
274
|
convertOpenAIToAnthropic,
|
|
258
275
|
convertOpenAIToAnthropicWithThinking,
|
|
276
|
+
createIntegrationKey,
|
|
259
277
|
createNamedKey,
|
|
260
278
|
createSSEParser,
|
|
261
279
|
defaultServerConfig,
|
|
@@ -267,6 +285,7 @@ export {
|
|
|
267
285
|
endpointToIngressFormat,
|
|
268
286
|
extractRouteToken,
|
|
269
287
|
formatUrls,
|
|
288
|
+
gatewayBindingToEndpointConfig,
|
|
270
289
|
generateVoucherCode,
|
|
271
290
|
getBuiltinSearchTools,
|
|
272
291
|
getOpenRouterAppIdentity,
|
|
@@ -279,6 +298,7 @@ export {
|
|
|
279
298
|
hasThinkingEnabled,
|
|
280
299
|
hashKey,
|
|
281
300
|
hashVoucherCode,
|
|
301
|
+
isBoundAccountSelectionError,
|
|
282
302
|
isConcurrencyRejection,
|
|
283
303
|
isKindMappedEndpoint,
|
|
284
304
|
isOpenRouterProvider,
|
|
@@ -286,15 +306,18 @@ export {
|
|
|
286
306
|
isSerialQueueTimeout,
|
|
287
307
|
isSubscriptionProviderId,
|
|
288
308
|
isUserMessageRequest,
|
|
309
|
+
legacyEndpointsToBindings,
|
|
289
310
|
loadServerConfig,
|
|
290
311
|
mergeServerConfig,
|
|
291
312
|
modelKindsForEndpoint,
|
|
292
313
|
newVoucherId,
|
|
293
314
|
normalizeAccountProbe,
|
|
315
|
+
normalizeAllowanceScheduling,
|
|
294
316
|
normalizeAudit,
|
|
295
317
|
normalizeAzureEndpoint,
|
|
296
318
|
normalizeBilling,
|
|
297
319
|
normalizeFingerprint,
|
|
320
|
+
normalizeGatewayBindings,
|
|
298
321
|
normalizePrefixTargets,
|
|
299
322
|
normalizeProxyConfig,
|
|
300
323
|
normalizeProxySegment,
|
|
@@ -311,6 +334,7 @@ export {
|
|
|
311
334
|
register as registerStreamEventBuffer,
|
|
312
335
|
release as releaseStreamEventBuffer,
|
|
313
336
|
resolveApiFormat,
|
|
337
|
+
resolveGatewayBinding,
|
|
314
338
|
resolvePrefixTarget,
|
|
315
339
|
resolveProviderEndpoint,
|
|
316
340
|
resolveRoute,
|
|
@@ -322,7 +346,6 @@ export {
|
|
|
322
346
|
streamSSEResponse,
|
|
323
347
|
toVoucherInfo,
|
|
324
348
|
validateEndpointModelConfig,
|
|
325
|
-
validateServerModelConfig,
|
|
326
349
|
verifyKey,
|
|
327
350
|
verifyPresentedKey,
|
|
328
351
|
voucherCodePrefix
|
|
@@ -71,7 +71,7 @@ type QuotaDecision = {
|
|
|
71
71
|
* Decide whether the key's accumulated spend already meets/exceeds any
|
|
72
72
|
* configured cost limit (design D4). `allowed:false` when a scope's PRIOR spend
|
|
73
73
|
* is `>= limit` (the triggering request's own cost is unknown pre-flight →
|
|
74
|
-
* bounded one-request overage
|
|
74
|
+
* bounded one-request overage). An unconfigured scope is never
|
|
75
75
|
* gated; a `limits`-less key always passes.
|
|
76
76
|
*/
|
|
77
77
|
declare function checkKeyQuota(limits: KeyCostLimits | undefined, spend: KeySpend): QuotaDecision;
|
|
@@ -71,7 +71,7 @@ type QuotaDecision = {
|
|
|
71
71
|
* Decide whether the key's accumulated spend already meets/exceeds any
|
|
72
72
|
* configured cost limit (design D4). `allowed:false` when a scope's PRIOR spend
|
|
73
73
|
* is `>= limit` (the triggering request's own cost is unknown pre-flight →
|
|
74
|
-
* bounded one-request overage
|
|
74
|
+
* bounded one-request overage). An unconfigured scope is never
|
|
75
75
|
* gated; a `limits`-less key always passes.
|
|
76
76
|
*/
|
|
77
77
|
declare function checkKeyQuota(limits: KeyCostLimits | undefined, spend: KeySpend): QuotaDecision;
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
var
|
|
6
|
+
var _chunk4VZX5F4Tcjs = require('../chunk-4VZX5F4T.cjs');
|
|
7
7
|
require('../chunk-QBZJ7P2T.cjs');
|
|
8
8
|
require('../chunk-4IH4EL7M.cjs');
|
|
9
9
|
|
|
@@ -11,4 +11,4 @@ require('../chunk-4IH4EL7M.cjs');
|
|
|
11
11
|
|
|
12
12
|
|
|
13
13
|
|
|
14
|
-
exports.isSubscriptionProviderId =
|
|
14
|
+
exports.isSubscriptionProviderId = _chunk4VZX5F4Tcjs.isSubscriptionProviderId; exports.parseModelRef = _chunk4VZX5F4Tcjs.parseModelRef; exports.pickModelRefFromList = _chunk4VZX5F4Tcjs.pickModelRefFromList; exports.resolveRoute = _chunk4VZX5F4Tcjs.resolveRoute;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import '../ports/provider-config-source.cjs';
|
|
2
2
|
import '../provider-proxy/types.cjs';
|
|
3
|
-
import '../types-
|
|
4
|
-
export { R as RouteResolveError, b as RouteResolveResult, i as isSubscriptionProviderId, p as parseModelRef, a as pickModelRefFromList, r as resolveRoute } from '../routeResolver-
|
|
3
|
+
import '../types-H3wGZSOo.cjs';
|
|
4
|
+
export { R as RouteResolveError, b as RouteResolveResult, i as isSubscriptionProviderId, p as parseModelRef, a as pickModelRefFromList, r as resolveRoute } from '../routeResolver-kepxnfcC.cjs';
|
|
5
5
|
import '@omnicross/contracts/llm-config';
|
|
6
6
|
import '../transformer/types.cjs';
|
|
7
7
|
import '../transformer/TransformerService.cjs';
|
|
@@ -12,6 +12,7 @@ import '@omnicross/contracts/usage-types';
|
|
|
12
12
|
import '../completion/ApiKeyPoolService.cjs';
|
|
13
13
|
import '../logger-4GvQNzhE.cjs';
|
|
14
14
|
import '../pipeline/AuthSource.cjs';
|
|
15
|
+
import '../pipeline/BoundAccountSelectionError.cjs';
|
|
15
16
|
import '../pipeline/SubscriptionAuthSource.cjs';
|
|
16
17
|
import '../pipeline/SubscriptionAuthStrategy.cjs';
|
|
17
18
|
import '../ports/web-search-backend.cjs';
|
|
@@ -23,4 +24,4 @@ import '@omnicross/contracts/health-logging-types';
|
|
|
23
24
|
import '@omnicross/contracts/voucher-types';
|
|
24
25
|
import '@omnicross/contracts/webhook-types';
|
|
25
26
|
import '../ProviderProxy-CnMQYN59.cjs';
|
|
26
|
-
import '../keyPolicy-
|
|
27
|
+
import '../keyPolicy-zdWTu3CQ.cjs';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import '../ports/provider-config-source.js';
|
|
2
2
|
import '../provider-proxy/types.js';
|
|
3
|
-
import '../types-
|
|
4
|
-
export { R as RouteResolveError, b as RouteResolveResult, i as isSubscriptionProviderId, p as parseModelRef, a as pickModelRefFromList, r as resolveRoute } from '../routeResolver-
|
|
3
|
+
import '../types-hsoKrVQS.js';
|
|
4
|
+
export { R as RouteResolveError, b as RouteResolveResult, i as isSubscriptionProviderId, p as parseModelRef, a as pickModelRefFromList, r as resolveRoute } from '../routeResolver-CHTv_Bs5.js';
|
|
5
5
|
import '@omnicross/contracts/llm-config';
|
|
6
6
|
import '../transformer/types.js';
|
|
7
7
|
import '../transformer/TransformerService.js';
|
|
@@ -12,6 +12,7 @@ import '@omnicross/contracts/usage-types';
|
|
|
12
12
|
import '../completion/ApiKeyPoolService.js';
|
|
13
13
|
import '../logger-4GvQNzhE.js';
|
|
14
14
|
import '../pipeline/AuthSource.js';
|
|
15
|
+
import '../pipeline/BoundAccountSelectionError.js';
|
|
15
16
|
import '../pipeline/SubscriptionAuthSource.js';
|
|
16
17
|
import '../pipeline/SubscriptionAuthStrategy.js';
|
|
17
18
|
import '../ports/web-search-backend.js';
|
|
@@ -23,4 +24,4 @@ import '@omnicross/contracts/health-logging-types';
|
|
|
23
24
|
import '@omnicross/contracts/voucher-types';
|
|
24
25
|
import '@omnicross/contracts/webhook-types';
|
|
25
26
|
import '../ProviderProxy-C-xqrkKi.js';
|
|
26
|
-
import '../keyPolicy-
|
|
27
|
+
import '../keyPolicy-zdWTu3CQ.js';
|