@omnicross/core 0.1.7 → 0.1.9
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/{ProviderProxy-C-xqrkKi.d.ts → ProviderProxy--ROec6VI.d.ts} +22 -3
- package/dist/{ProviderProxy-CnMQYN59.d.cts → ProviderProxy-QdwNV6l1.d.cts} +22 -3
- package/dist/auth/GeminiCodeAssistProjectResolver.cjs +5 -3
- package/dist/auth/GeminiCodeAssistProjectResolver.js +4 -2
- package/dist/{chunk-N5T4M4GU.js → chunk-2UTGX6FM.js} +2 -2
- package/dist/{chunk-32O35CIF.js → chunk-45FHEOKW.js} +22 -7
- package/dist/{chunk-LVUCAWMK.js → chunk-55FMGZ3L.js} +13 -5
- package/dist/{chunk-OF3BECU2.cjs → chunk-56QD3YW6.cjs} +18 -5
- package/dist/{chunk-V4TXMEJS.cjs → chunk-5LNYGCIW.cjs} +15 -7
- package/dist/chunk-77USGNRW.cjs +37 -0
- package/dist/chunk-AOFWNWLT.cjs +203 -0
- package/dist/{chunk-LB6EBS6Y.js → chunk-CCVRRJOX.js} +17 -4
- package/dist/{chunk-OVQBNVSV.cjs → chunk-CMVXX7ON.cjs} +42 -27
- package/dist/{chunk-E3COOKUP.js → chunk-CQIJCPMF.js} +1108 -271
- package/dist/{chunk-OJGQKHN5.cjs → chunk-EPN67EGP.cjs} +3 -0
- package/dist/{chunk-PEGTIPB3.js → chunk-HKB656B4.js} +37 -43
- package/dist/chunk-N2EIM2XJ.js +203 -0
- package/dist/{chunk-MYYR3HZL.js → chunk-NGYOO5TO.js} +5 -5
- package/dist/{chunk-OKMJLEXX.cjs → chunk-OC6DOOFX.cjs} +5 -5
- package/dist/{chunk-2Z4XM3H5.cjs → chunk-P7EM6BND.cjs} +10 -10
- package/dist/{chunk-KBM2W6UY.cjs → chunk-RICPANBY.cjs} +41 -24
- package/dist/{chunk-TOVPMMHM.js → chunk-S3DYFEBE.js} +37 -20
- package/dist/{chunk-SOO562NM.js → chunk-UAPBLNN2.js} +3 -0
- package/dist/chunk-WYVGULTQ.js +37 -0
- package/dist/{chunk-4BB343BI.cjs → chunk-XELFM7KL.cjs} +1381 -544
- package/dist/{chunk-OXHNSZ53.cjs → chunk-ZQQUD66M.cjs} +54 -60
- package/dist/completion/ApiKeyPoolService.cjs +32 -1
- package/dist/completion/ApiKeyPoolService.d.cts +17 -1
- package/dist/completion/ApiKeyPoolService.d.ts +17 -1
- package/dist/completion/ApiKeyPoolService.js +31 -0
- package/dist/completion/CompletionService.cjs +13 -11
- package/dist/completion/CompletionService.js +12 -10
- package/dist/completion.cjs +13 -11
- package/dist/completion.js +12 -10
- package/dist/index.cjs +69 -11
- package/dist/index.d.cts +7 -7
- package/dist/index.d.ts +7 -7
- package/dist/index.js +68 -10
- package/dist/outbound-api/routeResolver.d.cts +4 -4
- package/dist/outbound-api/routeResolver.d.ts +4 -4
- package/dist/outbound-api/types.d.cts +3 -3
- package/dist/outbound-api/types.d.ts +3 -3
- package/dist/outbound-api.cjs +13 -11
- package/dist/outbound-api.d.cts +5 -5
- package/dist/outbound-api.d.ts +5 -5
- package/dist/outbound-api.js +12 -10
- package/dist/pipeline/AccountAllowanceScheduling.d.cts +3 -3
- package/dist/pipeline/AccountAllowanceScheduling.d.ts +3 -3
- package/dist/pipeline/executeProviderCall.d.cts +2 -0
- package/dist/pipeline/executeProviderCall.d.ts +2 -0
- package/dist/pipeline/resolveProviderChain.d.cts +1 -0
- package/dist/pipeline/resolveProviderChain.d.ts +1 -0
- package/dist/pipeline/resolveSubscriptionChain.d.cts +2 -0
- package/dist/pipeline/resolveSubscriptionChain.d.ts +2 -0
- package/dist/ports/provider-config-source.d.cts +1 -0
- package/dist/ports/provider-config-source.d.ts +1 -0
- package/dist/ports.d.cts +3 -3
- package/dist/ports.d.ts +3 -3
- package/dist/provider-proxy/ProviderProxy.cjs +13 -11
- package/dist/provider-proxy/ProviderProxy.d.cts +1 -1
- package/dist/provider-proxy/ProviderProxy.d.ts +1 -1
- package/dist/provider-proxy/ProviderProxy.js +12 -10
- package/dist/provider-proxy/ingress/providerProxyShared.cjs +13 -11
- package/dist/provider-proxy/ingress/providerProxyShared.js +12 -10
- package/dist/provider-proxy/types.d.cts +15 -1
- package/dist/provider-proxy/types.d.ts +15 -1
- package/dist/provider-proxy.cjs +69 -11
- package/dist/provider-proxy.d.cts +254 -8
- package/dist/provider-proxy.d.ts +254 -8
- package/dist/provider-proxy.js +70 -12
- package/dist/{routeResolver-BxOfunbm.d.ts → routeResolver-C0mkkZaM.d.ts} +1 -1
- package/dist/{routeResolver-D5OzD0iM.d.cts → routeResolver-CVFE8KKe.d.cts} +1 -1
- package/dist/transformer/TransformerChainExecutor.d.cts +2 -0
- package/dist/transformer/TransformerChainExecutor.d.ts +2 -0
- package/dist/transformer/TransformerService.d.cts +2 -0
- package/dist/transformer/TransformerService.d.ts +2 -0
- package/dist/transformer/transformers/AnthropicTransformer.cjs +4 -2
- package/dist/transformer/transformers/AnthropicTransformer.d.cts +7 -2
- package/dist/transformer/transformers/AnthropicTransformer.d.ts +7 -2
- package/dist/transformer/transformers/AnthropicTransformer.js +3 -1
- package/dist/transformer/transformers/GeminiCodeAssistTransformer.cjs +5 -3
- package/dist/transformer/transformers/GeminiCodeAssistTransformer.d.cts +2 -0
- package/dist/transformer/transformers/GeminiCodeAssistTransformer.d.ts +2 -0
- package/dist/transformer/transformers/GeminiCodeAssistTransformer.js +4 -2
- package/dist/transformer/transformers/GeminiTransformer.cjs +5 -3
- package/dist/transformer/transformers/GeminiTransformer.d.cts +4 -2
- package/dist/transformer/transformers/GeminiTransformer.d.ts +4 -2
- package/dist/transformer/transformers/GeminiTransformer.js +4 -2
- package/dist/transformer/transformers/OpenAIResponseTransformer.cjs +3 -2
- package/dist/transformer/transformers/OpenAIResponseTransformer.d.cts +4 -2
- package/dist/transformer/transformers/OpenAIResponseTransformer.d.ts +4 -2
- package/dist/transformer/transformers/OpenAIResponseTransformer.js +2 -1
- package/dist/transformer/transformers/OpenAITransformer.cjs +3 -2
- package/dist/transformer/transformers/OpenAITransformer.d.cts +3 -1
- package/dist/transformer/transformers/OpenAITransformer.d.ts +3 -1
- package/dist/transformer/transformers/OpenAITransformer.js +2 -1
- package/dist/transformer/transformers.cjs +10 -8
- package/dist/transformer/transformers.d.cts +2 -0
- package/dist/transformer/transformers.d.ts +2 -0
- package/dist/transformer/transformers.js +9 -7
- package/dist/transformer/types.d.cts +16 -5
- package/dist/transformer/types.d.ts +16 -5
- package/dist/transformer.cjs +28 -9
- package/dist/transformer.d.cts +76 -1
- package/dist/transformer.d.ts +76 -1
- package/dist/transformer.js +28 -9
- package/dist/{types-CqZD77rS.d.ts → types-BB8pxk_3.d.ts} +1 -1
- package/dist/{types-gjJ5lJ5n.d.cts → types-C2MwkLah.d.cts} +1 -1
- package/dist/usage/usage-recorder.cjs +2 -2
- package/dist/usage/usage-recorder.d.cts +6 -0
- package/dist/usage/usage-recorder.d.ts +6 -0
- package/dist/usage/usage-recorder.js +1 -1
- package/dist/usage.cjs +2 -2
- package/dist/usage.js +1 -1
- package/package.json +1 -1
- /package/dist/{chunk-FZ46M34D.cjs → chunk-QVOB2DNX.cjs} +0 -0
- /package/dist/{chunk-46RLHI7D.js → chunk-WTQMX2Q6.js} +0 -0
package/dist/index.cjs
CHANGED
|
@@ -79,27 +79,55 @@
|
|
|
79
79
|
|
|
80
80
|
|
|
81
81
|
|
|
82
|
-
|
|
82
|
+
|
|
83
|
+
|
|
84
|
+
|
|
85
|
+
|
|
86
|
+
|
|
87
|
+
|
|
88
|
+
|
|
89
|
+
|
|
90
|
+
|
|
91
|
+
|
|
92
|
+
|
|
93
|
+
|
|
94
|
+
|
|
95
|
+
|
|
96
|
+
|
|
97
|
+
|
|
98
|
+
|
|
99
|
+
|
|
100
|
+
|
|
101
|
+
|
|
102
|
+
|
|
103
|
+
|
|
104
|
+
|
|
105
|
+
|
|
106
|
+
|
|
107
|
+
|
|
108
|
+
|
|
109
|
+
|
|
110
|
+
var _chunkXELFM7KLcjs = require('./chunk-XELFM7KL.cjs');
|
|
83
111
|
|
|
84
112
|
|
|
85
113
|
|
|
86
114
|
var _chunkHQP3K7PUcjs = require('./chunk-HQP3K7PU.cjs');
|
|
87
|
-
require('./chunk-
|
|
115
|
+
require('./chunk-QVOB2DNX.cjs');
|
|
88
116
|
|
|
89
117
|
|
|
90
|
-
var
|
|
91
|
-
require('./chunk-
|
|
92
|
-
require('./chunk-
|
|
93
|
-
require('./chunk-
|
|
118
|
+
var _chunkP7EM6BNDcjs = require('./chunk-P7EM6BND.cjs');
|
|
119
|
+
require('./chunk-ZQQUD66M.cjs');
|
|
120
|
+
require('./chunk-5LNYGCIW.cjs');
|
|
121
|
+
require('./chunk-CMVXX7ON.cjs');
|
|
94
122
|
require('./chunk-5RSZYQJH.cjs');
|
|
95
|
-
require('./chunk-
|
|
123
|
+
require('./chunk-56QD3YW6.cjs');
|
|
96
124
|
require('./chunk-EYZYXJTJ.cjs');
|
|
97
125
|
|
|
98
126
|
|
|
99
127
|
var _chunk2E42SAW3cjs = require('./chunk-2E42SAW3.cjs');
|
|
100
128
|
|
|
101
129
|
|
|
102
|
-
var
|
|
130
|
+
var _chunkEPN67EGPcjs = require('./chunk-EPN67EGP.cjs');
|
|
103
131
|
|
|
104
132
|
|
|
105
133
|
var _chunkIIRPUVPHcjs = require('./chunk-IIRPUVPH.cjs');
|
|
@@ -188,8 +216,10 @@ require('./chunk-XSVNC2UD.cjs');
|
|
|
188
216
|
|
|
189
217
|
|
|
190
218
|
var _chunkGDIXXKF2cjs = require('./chunk-GDIXXKF2.cjs');
|
|
191
|
-
require('./chunk-
|
|
192
|
-
require('./chunk-
|
|
219
|
+
require('./chunk-OC6DOOFX.cjs');
|
|
220
|
+
require('./chunk-RICPANBY.cjs');
|
|
221
|
+
require('./chunk-77USGNRW.cjs');
|
|
222
|
+
require('./chunk-AOFWNWLT.cjs');
|
|
193
223
|
require('./chunk-RJUONLUQ.cjs');
|
|
194
224
|
require('./chunk-235MXAGX.cjs');
|
|
195
225
|
require('./chunk-HVBBDBS3.cjs');
|
|
@@ -353,4 +383,32 @@ var _chunkUNEFIWXIcjs = require('./chunk-UNEFIWXI.cjs');
|
|
|
353
383
|
|
|
354
384
|
|
|
355
385
|
|
|
356
|
-
exports.AUDIT_REDACTED = _chunkFCR77GYMcjs.AUDIT_REDACTED; exports.BoundAccountSelectionError = _chunk25GXJCEZcjs.BoundAccountSelectionError; exports.BuiltinToolExecutor = _chunkNZYN7C3Pcjs.BuiltinToolExecutor; exports.CompletionService = _chunk4BB343BIcjs.CompletionService; exports.ConcurrencyQueueFullError = _chunk4BB343BIcjs.ConcurrencyQueueFullError; exports.ConcurrencyWaitCancelledError = _chunk4BB343BIcjs.ConcurrencyWaitCancelledError; exports.ConcurrencyWaitTimeoutError = _chunk4BB343BIcjs.ConcurrencyWaitTimeoutError; exports.DEFAULT_ACCOUNT_PROBE = _chunk4BB343BIcjs.DEFAULT_ACCOUNT_PROBE; exports.DEFAULT_ALLOWANCE_SCHEDULING = _chunk4BB343BIcjs.DEFAULT_ALLOWANCE_SCHEDULING; exports.DEFAULT_CONCURRENCY_QUEUE = _chunk4BB343BIcjs.DEFAULT_CONCURRENCY_QUEUE; exports.DEFAULT_FINGERPRINT = _chunk4BB343BIcjs.DEFAULT_FINGERPRINT; exports.DEFAULT_OUTBOUND_PORT = _chunk4BB343BIcjs.DEFAULT_OUTBOUND_PORT; exports.DEFAULT_ROUTE_IDLE_MS = _chunk4BB343BIcjs.DEFAULT_ROUTE_IDLE_MS; exports.DEFAULT_USER_MESSAGE_QUEUE = _chunk4BB343BIcjs.DEFAULT_USER_MESSAGE_QUEUE; exports.ENDPOINT_MODEL_KINDS = _chunk4IH4EL7Mcjs.ENDPOINT_MODEL_KINDS; exports.KeySpendTracker = _chunk4BB343BIcjs.KeySpendTracker; exports.KeyedMutex = _chunk4BB343BIcjs.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 = _chunk4BB343BIcjs.OUTBOUND_API_SERVER_CONFIG_KEY; exports.OutboundApiServer = _chunk4BB343BIcjs.OutboundApiServer; exports.OutboundConcurrencyGate = _chunk4BB343BIcjs.OutboundConcurrencyGate; exports.OutboundRateLimiter = _chunk4BB343BIcjs.OutboundRateLimiter; exports.PricingEngine = _chunk2E42SAW3cjs.PricingEngine; exports.ProviderProxy = _chunk4BB343BIcjs.ProviderProxy; exports.ProviderProxyRouteMap = _chunk4BB343BIcjs.ProviderProxyRouteMap; exports.SUBSCRIPTION_PROVIDER_IDS = _chunk4VZX5F4Tcjs.SUBSCRIPTION_PROVIDER_IDS; exports.SerialQueueTimeoutError = _chunk4BB343BIcjs.SerialQueueTimeoutError; exports.TransformerChainExecutor = _chunkIIRPUVPHcjs.TransformerChainExecutor; exports.TransformerService = _chunk3OPYJG76cjs.TransformerService; exports.UsageRecorder = _chunkOJGQKHN5cjs.UsageRecorder; exports.UserMessageSerialQueue = _chunk4BB343BIcjs.UserMessageSerialQueue; exports.__resetOutboundApiServerForTests = _chunk4BB343BIcjs.__resetOutboundApiServerForTests; exports.__resetProviderProxyForTests = _chunk4BB343BIcjs.__resetProviderProxyForTests; exports.addOpenRouterProviderToRequest = _chunk4BB343BIcjs.addOpenRouterProviderToRequest; exports.applyAugmentation = _chunkJMJBSACDcjs.applyAugmentation; exports.attachStreamEventBuffer = _chunk4BB343BIcjs.attach; exports.beginAuditCapture = _chunkXPIOJQS2cjs.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 = _chunk4BB343BIcjs.candidateBackgroundModelIds; exports.candidateGatewayBindings = _chunk4BB343BIcjs.candidateGatewayBindings; exports.checkKeyQuota = _chunk4BB343BIcjs.checkKeyQuota; exports.classifyModelPrefix = _chunk4VZX5F4Tcjs.classifyModelPrefix; exports.computeKeyExpiry = _chunk4BB343BIcjs.computeKeyExpiry; exports.computeVoucherGrant = _chunk4BB343BIcjs.computeVoucherGrant; exports.convertAnthropicRequestToOpenAI = _chunkGDIXXKF2cjs.convertAnthropicRequestToOpenAI; exports.convertAnthropicStreamToOpenAI = _chunkGDIXXKF2cjs.convertAnthropicStreamToOpenAI; exports.convertAnthropicToOpenAI = _chunkGDIXXKF2cjs.convertAnthropicToOpenAI; exports.convertAnthropicToOpenAIWithThinking = _chunkGDIXXKF2cjs.convertAnthropicToOpenAIWithThinking; exports.convertMessageToAnthropic = _chunk4BB343BIcjs.convertMessageToAnthropic; exports.convertMessageToGemini = _chunk4BB343BIcjs.convertMessageToGemini; exports.convertMessageToOpenAI = _chunk4BB343BIcjs.convertMessageToOpenAI; exports.convertOpenAIResponseToAnthropic = _chunkGDIXXKF2cjs.convertOpenAIResponseToAnthropic; exports.convertOpenAIStreamToAnthropic = _chunkGDIXXKF2cjs.convertOpenAIStreamToAnthropic; exports.convertOpenAIToAnthropic = _chunkGDIXXKF2cjs.convertOpenAIToAnthropic; exports.convertOpenAIToAnthropicWithThinking = _chunkGDIXXKF2cjs.convertOpenAIToAnthropicWithThinking; exports.createIntegrationKey = _chunk4BB343BIcjs.createIntegrationKey; exports.createNamedKey = _chunk4BB343BIcjs.createNamedKey; exports.createSSEParser = _chunkHQP3K7PUcjs.createSSEParser; exports.defaultServerConfig = _chunk4BB343BIcjs.defaultServerConfig; exports.detectModelKind = _chunk4VZX5F4Tcjs.detectModelKind; exports.detectNativeSearch = _chunkJMJBSACDcjs.detectNativeSearch; exports.detectRequestRole = _chunk4VZX5F4Tcjs.detectRequestRole; exports.emitStreamEvent = _chunk4BB343BIcjs.emit; exports.endpointSupportsSubscription = _chunk4VZX5F4Tcjs.endpointSupportsSubscription; exports.endpointToIngressFormat = _chunk4VZX5F4Tcjs.endpointToIngressFormat; exports.extractRouteToken = _chunk4BB343BIcjs.extractRouteToken; exports.formatUrls = _chunk4BB343BIcjs.formatUrls; exports.gatewayBindingToEndpointConfig = _chunk4BB343BIcjs.gatewayBindingToEndpointConfig; exports.generateVoucherCode = _chunk4BB343BIcjs.generateVoucherCode; exports.getBuiltinSearchTools = _chunkNZYN7C3Pcjs.getBuiltinSearchTools; exports.getOpenRouterAppIdentity = _chunkUNEFIWXIcjs.getOpenRouterAppIdentity; exports.getOpenRouterProviderConfig = _chunk4BB343BIcjs.getOpenRouterProviderConfig; exports.getOutboundApiServer = _chunk4BB343BIcjs.getOutboundApiServer; exports.getProviderHeaders = _chunkQ27JY5RGcjs.getProviderHeaders; exports.getProviderProxy = _chunk4BB343BIcjs.getProviderProxy; exports.handleVoucherRedeem = _chunk4BB343BIcjs.handleVoucherRedeem; exports.hasImageContent = _chunkGDIXXKF2cjs.hasImageContent; exports.hasThinkingEnabled = _chunkGDIXXKF2cjs.hasThinkingEnabled; exports.hashKey = _chunk4BB343BIcjs.hashKey; exports.hashVoucherCode = _chunk4BB343BIcjs.hashVoucherCode; exports.isBoundAccountSelectionError = _chunk25GXJCEZcjs.isBoundAccountSelectionError; exports.isConcurrencyRejection = _chunk4BB343BIcjs.isConcurrencyRejection; exports.isKindMappedEndpoint = _chunk4VZX5F4Tcjs.isKindMappedEndpoint; exports.isOpenRouterProvider = _chunkUNEFIWXIcjs.isOpenRouterProvider; exports.isRedeemRequest = _chunk4BB343BIcjs.isRedeemRequest; exports.isSerialQueueTimeout = _chunk4BB343BIcjs.isSerialQueueTimeout; exports.isSubscriptionProviderId = _chunk4VZX5F4Tcjs.isSubscriptionProviderId; exports.isUserMessageRequest = _chunk4BB343BIcjs.isUserMessageRequest; exports.legacyEndpointsToBindings = _chunk4BB343BIcjs.legacyEndpointsToBindings; exports.loadServerConfig = _chunk4BB343BIcjs.loadServerConfig; exports.mergeServerConfig = _chunk4BB343BIcjs.mergeServerConfig; exports.modelKindsForEndpoint = _chunk4VZX5F4Tcjs.modelKindsForEndpoint; exports.newVoucherId = _chunk4BB343BIcjs.newVoucherId; exports.normalizeAccountProbe = _chunk4BB343BIcjs.normalizeAccountProbe; exports.normalizeAllowanceScheduling = _chunk4BB343BIcjs.normalizeAllowanceScheduling; exports.normalizeAudit = _chunk4BB343BIcjs.normalizeAudit; exports.normalizeAzureEndpoint = _chunkA2YMUCBTcjs.normalizeAzureEndpoint; exports.normalizeBilling = _chunk4BB343BIcjs.normalizeBilling; exports.normalizeFingerprint = _chunk4BB343BIcjs.normalizeFingerprint; exports.normalizeGatewayBindings = _chunk4BB343BIcjs.normalizeGatewayBindings; exports.normalizePrefixTargets = _chunk4BB343BIcjs.normalizePrefixTargets; exports.normalizeProxyConfig = _chunk4BB343BIcjs.normalizeProxyConfig; exports.normalizeProxySegment = _chunk4BB343BIcjs.normalizeProxySegment; exports.normalizeQueueSegments = _chunk4BB343BIcjs.normalizeQueueSegments; exports.normalizeServerConfig = _chunk4BB343BIcjs.normalizeServerConfig; exports.normalizeVoucher = _chunk4BB343BIcjs.normalizeVoucher; exports.normalizeWebhookDestination = _chunk4BB343BIcjs.normalizeWebhookDestination; exports.normalizeWebhookSegment = _chunk4BB343BIcjs.normalizeWebhookSegment; exports.parseModelRef = _chunk4VZX5F4Tcjs.parseModelRef; exports.pickModelRefFromList = _chunk4VZX5F4Tcjs.pickModelRefFromList; exports.randomBase62 = _chunk4BB343BIcjs.randomBase62; exports.redactAuditText = _chunkFCR77GYMcjs.redactAuditText; exports.registerBuiltinTransformers = _chunk2Z4XM3H5cjs.registerBuiltinTransformers; exports.registerStreamEventBuffer = _chunk4BB343BIcjs.register; exports.releaseStreamEventBuffer = _chunk4BB343BIcjs.release; exports.resolveApiFormat = _chunkA2YMUCBTcjs.resolveApiFormat; exports.resolveGatewayBinding = _chunk4BB343BIcjs.resolveGatewayBinding; exports.resolvePrefixTarget = _chunk4VZX5F4Tcjs.resolvePrefixTarget; exports.resolveProviderEndpoint = _chunkA2YMUCBTcjs.resolveProviderEndpoint; exports.resolveRoute = _chunk4VZX5F4Tcjs.resolveRoute; exports.saveServerConfig = _chunk4BB343BIcjs.saveServerConfig; exports.serializeError = _chunkSVNDB62Dcjs.serializeError; exports.setOpenRouterAppIdentity = _chunkUNEFIWXIcjs.setOpenRouterAppIdentity; exports.startOfLocalDay = _chunk4BB343BIcjs.startOfLocalDay; exports.startOfLocalWeek = _chunk4BB343BIcjs.startOfLocalWeek; exports.streamSSEResponse = _chunkHQP3K7PUcjs.streamSSEResponse; exports.toVoucherInfo = _chunk4BB343BIcjs.toVoucherInfo; exports.validateEndpointModelConfig = _chunk4VZX5F4Tcjs.validateEndpointModelConfig; exports.verifyKey = _chunk4BB343BIcjs.verifyKey; exports.verifyPresentedKey = _chunk4BB343BIcjs.verifyPresentedKey; exports.voucherCodePrefix = _chunk4BB343BIcjs.voucherCodePrefix;
|
|
386
|
+
|
|
387
|
+
|
|
388
|
+
|
|
389
|
+
|
|
390
|
+
|
|
391
|
+
|
|
392
|
+
|
|
393
|
+
|
|
394
|
+
|
|
395
|
+
|
|
396
|
+
|
|
397
|
+
|
|
398
|
+
|
|
399
|
+
|
|
400
|
+
|
|
401
|
+
|
|
402
|
+
|
|
403
|
+
|
|
404
|
+
|
|
405
|
+
|
|
406
|
+
|
|
407
|
+
|
|
408
|
+
|
|
409
|
+
|
|
410
|
+
|
|
411
|
+
|
|
412
|
+
|
|
413
|
+
|
|
414
|
+
exports.AUDIT_REDACTED = _chunkFCR77GYMcjs.AUDIT_REDACTED; exports.BoundAccountSelectionError = _chunk25GXJCEZcjs.BoundAccountSelectionError; exports.BuiltinToolExecutor = _chunkNZYN7C3Pcjs.BuiltinToolExecutor; exports.CompletionService = _chunkXELFM7KLcjs.CompletionService; exports.ConcurrencyQueueFullError = _chunkXELFM7KLcjs.ConcurrencyQueueFullError; exports.ConcurrencyWaitCancelledError = _chunkXELFM7KLcjs.ConcurrencyWaitCancelledError; exports.ConcurrencyWaitTimeoutError = _chunkXELFM7KLcjs.ConcurrencyWaitTimeoutError; exports.DEFAULT_ACCOUNT_PROBE = _chunkXELFM7KLcjs.DEFAULT_ACCOUNT_PROBE; exports.DEFAULT_ALLOWANCE_SCHEDULING = _chunkXELFM7KLcjs.DEFAULT_ALLOWANCE_SCHEDULING; exports.DEFAULT_CONCURRENCY_QUEUE = _chunkXELFM7KLcjs.DEFAULT_CONCURRENCY_QUEUE; exports.DEFAULT_FINGERPRINT = _chunkXELFM7KLcjs.DEFAULT_FINGERPRINT; exports.DEFAULT_OUTBOUND_PORT = _chunkXELFM7KLcjs.DEFAULT_OUTBOUND_PORT; exports.DEFAULT_ROUTE_IDLE_MS = _chunkXELFM7KLcjs.DEFAULT_ROUTE_IDLE_MS; exports.DEFAULT_USER_MESSAGE_QUEUE = _chunkXELFM7KLcjs.DEFAULT_USER_MESSAGE_QUEUE; exports.ENDPOINT_MODEL_KINDS = _chunk4IH4EL7Mcjs.ENDPOINT_MODEL_KINDS; exports.KeySpendTracker = _chunkXELFM7KLcjs.KeySpendTracker; exports.KeyedMutex = _chunkXELFM7KLcjs.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 = _chunkXELFM7KLcjs.OUTBOUND_API_SERVER_CONFIG_KEY; exports.OutboundApiServer = _chunkXELFM7KLcjs.OutboundApiServer; exports.OutboundConcurrencyGate = _chunkXELFM7KLcjs.OutboundConcurrencyGate; exports.OutboundRateLimiter = _chunkXELFM7KLcjs.OutboundRateLimiter; exports.PricingEngine = _chunk2E42SAW3cjs.PricingEngine; exports.ProviderProxy = _chunkXELFM7KLcjs.ProviderProxy; exports.ProviderProxyRouteMap = _chunkXELFM7KLcjs.ProviderProxyRouteMap; exports.ROUTE_LEASE_API_VERSION = _chunkXELFM7KLcjs.ROUTE_LEASE_API_VERSION; exports.ROUTE_LEASE_CAPABILITIES = _chunkXELFM7KLcjs.ROUTE_LEASE_CAPABILITIES; exports.ROUTE_LEASE_CAPABILITIES_SCHEMA = _chunkXELFM7KLcjs.ROUTE_LEASE_CAPABILITIES_SCHEMA; exports.ROUTE_LEASE_CODEX_TOKEN_ENV = _chunkXELFM7KLcjs.ROUTE_LEASE_CODEX_TOKEN_ENV; exports.ROUTE_LEASE_DEFAULT_TTL_SECONDS = _chunkXELFM7KLcjs.ROUTE_LEASE_DEFAULT_TTL_SECONDS; exports.ROUTE_LEASE_MAX_CONSUMER_BYTES = _chunkXELFM7KLcjs.ROUTE_LEASE_MAX_CONSUMER_BYTES; exports.ROUTE_LEASE_MAX_EXECUTION_ID_BYTES = _chunkXELFM7KLcjs.ROUTE_LEASE_MAX_EXECUTION_ID_BYTES; exports.ROUTE_LEASE_MAX_IDEMPOTENCY_BYTES = _chunkXELFM7KLcjs.ROUTE_LEASE_MAX_IDEMPOTENCY_BYTES; exports.ROUTE_LEASE_MAX_MODEL_BYTES = _chunkXELFM7KLcjs.ROUTE_LEASE_MAX_MODEL_BYTES; exports.ROUTE_LEASE_MAX_SESSION_ID_BYTES = _chunkXELFM7KLcjs.ROUTE_LEASE_MAX_SESSION_ID_BYTES; exports.ROUTE_LEASE_MAX_TTL_SECONDS = _chunkXELFM7KLcjs.ROUTE_LEASE_MAX_TTL_SECONDS; exports.ROUTE_LEASE_REQUEST_SCHEMA = _chunkXELFM7KLcjs.ROUTE_LEASE_REQUEST_SCHEMA; exports.ROUTE_LEASE_RESULT_SCHEMA = _chunkXELFM7KLcjs.ROUTE_LEASE_RESULT_SCHEMA; exports.ROUTE_LEASE_RUNTIMES = _chunkXELFM7KLcjs.ROUTE_LEASE_RUNTIMES; exports.ROUTE_LEASE_RUNTIME_TABLE = _chunkXELFM7KLcjs.ROUTE_LEASE_RUNTIME_TABLE; exports.ROUTE_LEASE_SESSION_HASH_DOMAIN = _chunkXELFM7KLcjs.ROUTE_LEASE_SESSION_HASH_DOMAIN; exports.RouteLeaseError = _chunkXELFM7KLcjs.RouteLeaseError; exports.RouteLeaseManager = _chunkXELFM7KLcjs.RouteLeaseManager; exports.RouteLeaseTargetResolver = _chunkXELFM7KLcjs.RouteLeaseTargetResolver; exports.SUBSCRIPTION_PROVIDER_IDS = _chunk4VZX5F4Tcjs.SUBSCRIPTION_PROVIDER_IDS; exports.SYSTEM_ROUTE_LEASE_CLOCK = _chunkXELFM7KLcjs.SYSTEM_ROUTE_LEASE_CLOCK; exports.SerialQueueTimeoutError = _chunkXELFM7KLcjs.SerialQueueTimeoutError; exports.TransformerChainExecutor = _chunkIIRPUVPHcjs.TransformerChainExecutor; exports.TransformerService = _chunk3OPYJG76cjs.TransformerService; exports.UsageRecorder = _chunkEPN67EGPcjs.UsageRecorder; exports.UserMessageSerialQueue = _chunkXELFM7KLcjs.UserMessageSerialQueue; exports.__resetOutboundApiServerForTests = _chunkXELFM7KLcjs.__resetOutboundApiServerForTests; exports.__resetProviderProxyForTests = _chunkXELFM7KLcjs.__resetProviderProxyForTests; exports.addOpenRouterProviderToRequest = _chunkXELFM7KLcjs.addOpenRouterProviderToRequest; exports.applyAugmentation = _chunkJMJBSACDcjs.applyAugmentation; exports.attachStreamEventBuffer = _chunkXELFM7KLcjs.attach; exports.beginAuditCapture = _chunkXPIOJQS2cjs.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 = _chunkXELFM7KLcjs.candidateBackgroundModelIds; exports.candidateGatewayBindings = _chunkXELFM7KLcjs.candidateGatewayBindings; exports.canonicalizeRouteLeasePayload = _chunkXELFM7KLcjs.canonicalizeRouteLeasePayload; exports.checkKeyQuota = _chunkXELFM7KLcjs.checkKeyQuota; exports.classifyModelPrefix = _chunk4VZX5F4Tcjs.classifyModelPrefix; exports.computeKeyExpiry = _chunkXELFM7KLcjs.computeKeyExpiry; exports.computeVoucherGrant = _chunkXELFM7KLcjs.computeVoucherGrant; exports.convertAnthropicRequestToOpenAI = _chunkGDIXXKF2cjs.convertAnthropicRequestToOpenAI; exports.convertAnthropicStreamToOpenAI = _chunkGDIXXKF2cjs.convertAnthropicStreamToOpenAI; exports.convertAnthropicToOpenAI = _chunkGDIXXKF2cjs.convertAnthropicToOpenAI; exports.convertAnthropicToOpenAIWithThinking = _chunkGDIXXKF2cjs.convertAnthropicToOpenAIWithThinking; exports.convertMessageToAnthropic = _chunkXELFM7KLcjs.convertMessageToAnthropic; exports.convertMessageToGemini = _chunkXELFM7KLcjs.convertMessageToGemini; exports.convertMessageToOpenAI = _chunkXELFM7KLcjs.convertMessageToOpenAI; exports.convertOpenAIResponseToAnthropic = _chunkGDIXXKF2cjs.convertOpenAIResponseToAnthropic; exports.convertOpenAIStreamToAnthropic = _chunkGDIXXKF2cjs.convertOpenAIStreamToAnthropic; exports.convertOpenAIToAnthropic = _chunkGDIXXKF2cjs.convertOpenAIToAnthropic; exports.convertOpenAIToAnthropicWithThinking = _chunkGDIXXKF2cjs.convertOpenAIToAnthropicWithThinking; exports.createIntegrationKey = _chunkXELFM7KLcjs.createIntegrationKey; exports.createNamedKey = _chunkXELFM7KLcjs.createNamedKey; exports.createSSEParser = _chunkHQP3K7PUcjs.createSSEParser; exports.defaultServerConfig = _chunkXELFM7KLcjs.defaultServerConfig; exports.detectModelKind = _chunk4VZX5F4Tcjs.detectModelKind; exports.detectNativeSearch = _chunkJMJBSACDcjs.detectNativeSearch; exports.detectRequestRole = _chunk4VZX5F4Tcjs.detectRequestRole; exports.emitStreamEvent = _chunkXELFM7KLcjs.emit; exports.endpointSupportsSubscription = _chunk4VZX5F4Tcjs.endpointSupportsSubscription; exports.endpointToIngressFormat = _chunk4VZX5F4Tcjs.endpointToIngressFormat; exports.extractRouteToken = _chunkXELFM7KLcjs.extractRouteToken; exports.formatUrls = _chunkXELFM7KLcjs.formatUrls; exports.gatewayBindingToEndpointConfig = _chunkXELFM7KLcjs.gatewayBindingToEndpointConfig; exports.generateVoucherCode = _chunkXELFM7KLcjs.generateVoucherCode; exports.getBuiltinSearchTools = _chunkNZYN7C3Pcjs.getBuiltinSearchTools; exports.getOpenRouterAppIdentity = _chunkUNEFIWXIcjs.getOpenRouterAppIdentity; exports.getOpenRouterProviderConfig = _chunkXELFM7KLcjs.getOpenRouterProviderConfig; exports.getOutboundApiServer = _chunkXELFM7KLcjs.getOutboundApiServer; exports.getProviderHeaders = _chunkQ27JY5RGcjs.getProviderHeaders; exports.getProviderProxy = _chunkXELFM7KLcjs.getProviderProxy; exports.handleVoucherRedeem = _chunkXELFM7KLcjs.handleVoucherRedeem; exports.hasImageContent = _chunkGDIXXKF2cjs.hasImageContent; exports.hasThinkingEnabled = _chunkGDIXXKF2cjs.hasThinkingEnabled; exports.hashKey = _chunkXELFM7KLcjs.hashKey; exports.hashRouteLeasePayload = _chunkXELFM7KLcjs.hashRouteLeasePayload; exports.hashRouteLeaseSessionId = _chunkXELFM7KLcjs.hashRouteLeaseSessionId; exports.hashVoucherCode = _chunkXELFM7KLcjs.hashVoucherCode; exports.isBoundAccountSelectionError = _chunk25GXJCEZcjs.isBoundAccountSelectionError; exports.isConcurrencyRejection = _chunkXELFM7KLcjs.isConcurrencyRejection; exports.isKindMappedEndpoint = _chunk4VZX5F4Tcjs.isKindMappedEndpoint; exports.isLoopbackAddress = _chunkXELFM7KLcjs.isLoopbackAddress; exports.isOpenRouterProvider = _chunkUNEFIWXIcjs.isOpenRouterProvider; exports.isRedeemRequest = _chunkXELFM7KLcjs.isRedeemRequest; exports.isSerialQueueTimeout = _chunkXELFM7KLcjs.isSerialQueueTimeout; exports.isSubscriptionProviderId = _chunk4VZX5F4Tcjs.isSubscriptionProviderId; exports.isUserMessageRequest = _chunkXELFM7KLcjs.isUserMessageRequest; exports.legacyEndpointsToBindings = _chunkXELFM7KLcjs.legacyEndpointsToBindings; exports.loadServerConfig = _chunkXELFM7KLcjs.loadServerConfig; exports.mergeServerConfig = _chunkXELFM7KLcjs.mergeServerConfig; exports.modelKindsForEndpoint = _chunk4VZX5F4Tcjs.modelKindsForEndpoint; exports.newVoucherId = _chunkXELFM7KLcjs.newVoucherId; exports.normalizeAccountProbe = _chunkXELFM7KLcjs.normalizeAccountProbe; exports.normalizeAllowanceScheduling = _chunkXELFM7KLcjs.normalizeAllowanceScheduling; exports.normalizeAudit = _chunkXELFM7KLcjs.normalizeAudit; exports.normalizeAzureEndpoint = _chunkA2YMUCBTcjs.normalizeAzureEndpoint; exports.normalizeBilling = _chunkXELFM7KLcjs.normalizeBilling; exports.normalizeFingerprint = _chunkXELFM7KLcjs.normalizeFingerprint; exports.normalizeGatewayBindings = _chunkXELFM7KLcjs.normalizeGatewayBindings; exports.normalizePrefixTargets = _chunkXELFM7KLcjs.normalizePrefixTargets; exports.normalizeProxyConfig = _chunkXELFM7KLcjs.normalizeProxyConfig; exports.normalizeProxySegment = _chunkXELFM7KLcjs.normalizeProxySegment; exports.normalizeQueueSegments = _chunkXELFM7KLcjs.normalizeQueueSegments; exports.normalizeRouteLeaseIdempotencyKey = _chunkXELFM7KLcjs.normalizeRouteLeaseIdempotencyKey; exports.normalizeRouteLeaseTtl = _chunkXELFM7KLcjs.normalizeRouteLeaseTtl; exports.normalizeServerConfig = _chunkXELFM7KLcjs.normalizeServerConfig; exports.normalizeVoucher = _chunkXELFM7KLcjs.normalizeVoucher; exports.normalizeWebhookDestination = _chunkXELFM7KLcjs.normalizeWebhookDestination; exports.normalizeWebhookSegment = _chunkXELFM7KLcjs.normalizeWebhookSegment; exports.parseModelRef = _chunk4VZX5F4Tcjs.parseModelRef; exports.parseRouteLeaseCreate = _chunkXELFM7KLcjs.parseRouteLeaseCreate; exports.pickModelRefFromList = _chunk4VZX5F4Tcjs.pickModelRefFromList; exports.randomBase62 = _chunkXELFM7KLcjs.randomBase62; exports.redactAuditText = _chunkFCR77GYMcjs.redactAuditText; exports.registerBuiltinTransformers = _chunkP7EM6BNDcjs.registerBuiltinTransformers; exports.registerStreamEventBuffer = _chunkXELFM7KLcjs.register; exports.releaseStreamEventBuffer = _chunkXELFM7KLcjs.release; exports.resolveApiFormat = _chunkA2YMUCBTcjs.resolveApiFormat; exports.resolveGatewayBinding = _chunkXELFM7KLcjs.resolveGatewayBinding; exports.resolvePrefixTarget = _chunk4VZX5F4Tcjs.resolvePrefixTarget; exports.resolveProviderEndpoint = _chunkA2YMUCBTcjs.resolveProviderEndpoint; exports.resolveRoute = _chunk4VZX5F4Tcjs.resolveRoute; exports.routeLeaseRuntime = _chunkXELFM7KLcjs.routeLeaseRuntime; exports.saveServerConfig = _chunkXELFM7KLcjs.saveServerConfig; exports.serializeError = _chunkSVNDB62Dcjs.serializeError; exports.setOpenRouterAppIdentity = _chunkUNEFIWXIcjs.setOpenRouterAppIdentity; exports.startOfLocalDay = _chunkXELFM7KLcjs.startOfLocalDay; exports.startOfLocalWeek = _chunkXELFM7KLcjs.startOfLocalWeek; exports.streamSSEResponse = _chunkHQP3K7PUcjs.streamSSEResponse; exports.toVoucherInfo = _chunkXELFM7KLcjs.toVoucherInfo; exports.validateEndpointModelConfig = _chunk4VZX5F4Tcjs.validateEndpointModelConfig; exports.verifyKey = _chunkXELFM7KLcjs.verifyKey; exports.verifyPresentedKey = _chunkXELFM7KLcjs.verifyPresentedKey; exports.voucherCodePrefix = _chunkXELFM7KLcjs.voucherCodePrefix;
|
package/dist/index.d.cts
CHANGED
|
@@ -8,8 +8,8 @@ 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
|
-
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, 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-
|
|
11
|
+
export { AnthropicIngressHandler, AnthropicIngressHandlerFactory, AnthropicRouteHandlerParams, AnthropicSdkHints, ExtendedContextHint, IngressFormat, ProviderProxyDeps, ProxyAttribution, RetryCallback, RouteAuthMode, RouteContext, RouteLeaseUsageAttribution, StreamEventCallback, SubscriptionDispatchProfile, SubscriptionRequestSummary, TargetProviderFormat, UsageRecorderImport, UsageRecorderImport as UsageSink } from './provider-proxy/types.cjs';
|
|
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-C2MwkLah.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';
|
|
@@ -17,22 +17,22 @@ export { C as CompletionService, V as VisionFallbackProvider } from './Completio
|
|
|
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
|
-
export { __resetProviderProxyForTests, extractRouteToken, getProviderProxy } from './provider-proxy.cjs';
|
|
20
|
+
export { NormalizedRouteLeaseCreate, NormalizedRouteLeaseRequest, ROUTE_LEASE_API_VERSION, ROUTE_LEASE_CAPABILITIES, ROUTE_LEASE_CAPABILITIES_SCHEMA, ROUTE_LEASE_CODEX_TOKEN_ENV, ROUTE_LEASE_DEFAULT_TTL_SECONDS, ROUTE_LEASE_MAX_CONSUMER_BYTES, ROUTE_LEASE_MAX_EXECUTION_ID_BYTES, ROUTE_LEASE_MAX_IDEMPOTENCY_BYTES, ROUTE_LEASE_MAX_MODEL_BYTES, ROUTE_LEASE_MAX_SESSION_ID_BYTES, ROUTE_LEASE_MAX_TTL_SECONDS, ROUTE_LEASE_REQUEST_SCHEMA, ROUTE_LEASE_RESULT_SCHEMA, ROUTE_LEASE_RUNTIMES, ROUTE_LEASE_RUNTIME_TABLE, ROUTE_LEASE_SESSION_HASH_DOMAIN, RouteLeaseCapabilities, RouteLeaseClock, RouteLeaseCreateOutcome, RouteLeaseCreateResult, RouteLeaseDescriptorPort, RouteLeaseError, RouteLeaseErrorCode, RouteLeaseExecutionMetadata, RouteLeaseExecutionRequest, RouteLeaseLogger, RouteLeaseManager, RouteLeaseManagerOptions, RouteLeaseMetadata, RouteLeaseProviderKeyPreflight, RouteLeaseReleaseResult, RouteLeaseRenewResult, RouteLeaseRequest, RouteLeaseRoutePort, RouteLeaseRuntime, RouteLeaseStatus, RouteLeaseSubscriptionPreflight, RouteLeaseTargetResolver, RouteLeaseTargetResolverOptions, RouteLeaseTargetResolverPort, RouteLeaseUpstream, RuntimeLaunchDescriptor, SYSTEM_ROUTE_LEASE_CLOCK, __resetProviderProxyForTests, canonicalizeRouteLeasePayload, extractRouteToken, getProviderProxy, hashRouteLeasePayload, hashRouteLeaseSessionId, normalizeRouteLeaseIdempotencyKey, normalizeRouteLeaseTtl, parseRouteLeaseCreate, routeLeaseRuntime } from './provider-proxy.cjs';
|
|
21
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';
|
|
25
25
|
export { registerBuiltinTransformers } from './transformer/transformers.cjs';
|
|
26
|
-
export {
|
|
26
|
+
export { ThinkLevel } from '@omnicross/contracts/completion-types';
|
|
27
|
+
export { Annotation, ImageContent, MessageContent, ModelRoute, ModelTransformerConfig, ReasoningConfig, RequestConfig, RequestRouteInfo, ResolvedTransformerChain, StreamChunk, TextContent, ThinkingContent, ToolCall, ToolChoice, ToolParameterSchema, TransformRequestResult, Transformer, TransformerChainConfig, TransformerConfigEntry, TransformerConstructor, TransformerContext, TransformerLogger, TransformerOptions, TransformerReference, TransformerServiceConfig, UnifiedChatRequest, UnifiedChatResponse, UnifiedMessage, UnifiedTool, UrlCitation } from './transformer/types.cjs';
|
|
27
28
|
export { AUDIT_REDACTED, redactAuditText } from './outbound-api/auditRedact.cjs';
|
|
28
29
|
export { AuditCaptureContext, beginAuditCapture } from './outbound-api/auditCapture.cjs';
|
|
29
30
|
export { BillingCaptureContext, beginBillingCapture } from './outbound-api/billingCapture.cjs';
|
|
30
31
|
export { BoundAccountFallbackPolicy, BoundAccountSelectionError, BoundAccountSelectionFailureReason, boundAccountSelectionMessage, isBoundAccountSelectionError } from './pipeline/BoundAccountSelectionError.cjs';
|
|
31
|
-
export { D as DEFAULT_ROUTE_IDLE_MS, P as ProviderProxy, a as ProviderProxyRouteMap } from './ProviderProxy-
|
|
32
|
+
export { D as DEFAULT_ROUTE_IDLE_MS, P as ProviderProxy, a as ProviderProxyRouteMap, R as RouteEvictionReason, b as RouteRegistrationOptions, i as isLoopbackAddress } from './ProviderProxy-QdwNV6l1.cjs';
|
|
32
33
|
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-
|
|
34
|
+
export { S as SUBSCRIPTION_PROVIDER_IDS, e as endpointSupportsSubscription, i as isSubscriptionProviderId, p as parseModelRef, a as pickModelRefFromList, r as resolveRoute } from './routeResolver-CVFE8KKe.cjs';
|
|
34
35
|
import '@omnicross/contracts/message-blocks';
|
|
35
|
-
import '@omnicross/contracts/completion-types';
|
|
36
36
|
import '@omnicross/contracts/mcp-types';
|
|
37
37
|
import '@omnicross/contracts/pricing-types';
|
|
38
38
|
import '@omnicross/contracts/usage-stats-types';
|
package/dist/index.d.ts
CHANGED
|
@@ -8,8 +8,8 @@ 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
|
-
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, 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-
|
|
11
|
+
export { AnthropicIngressHandler, AnthropicIngressHandlerFactory, AnthropicRouteHandlerParams, AnthropicSdkHints, ExtendedContextHint, IngressFormat, ProviderProxyDeps, ProxyAttribution, RetryCallback, RouteAuthMode, RouteContext, RouteLeaseUsageAttribution, StreamEventCallback, SubscriptionDispatchProfile, SubscriptionRequestSummary, TargetProviderFormat, UsageRecorderImport, UsageRecorderImport as UsageSink } from './provider-proxy/types.js';
|
|
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-BB8pxk_3.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';
|
|
@@ -17,22 +17,22 @@ export { C as CompletionService, V as VisionFallbackProvider } from './Completio
|
|
|
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
|
-
export { __resetProviderProxyForTests, extractRouteToken, getProviderProxy } from './provider-proxy.js';
|
|
20
|
+
export { NormalizedRouteLeaseCreate, NormalizedRouteLeaseRequest, ROUTE_LEASE_API_VERSION, ROUTE_LEASE_CAPABILITIES, ROUTE_LEASE_CAPABILITIES_SCHEMA, ROUTE_LEASE_CODEX_TOKEN_ENV, ROUTE_LEASE_DEFAULT_TTL_SECONDS, ROUTE_LEASE_MAX_CONSUMER_BYTES, ROUTE_LEASE_MAX_EXECUTION_ID_BYTES, ROUTE_LEASE_MAX_IDEMPOTENCY_BYTES, ROUTE_LEASE_MAX_MODEL_BYTES, ROUTE_LEASE_MAX_SESSION_ID_BYTES, ROUTE_LEASE_MAX_TTL_SECONDS, ROUTE_LEASE_REQUEST_SCHEMA, ROUTE_LEASE_RESULT_SCHEMA, ROUTE_LEASE_RUNTIMES, ROUTE_LEASE_RUNTIME_TABLE, ROUTE_LEASE_SESSION_HASH_DOMAIN, RouteLeaseCapabilities, RouteLeaseClock, RouteLeaseCreateOutcome, RouteLeaseCreateResult, RouteLeaseDescriptorPort, RouteLeaseError, RouteLeaseErrorCode, RouteLeaseExecutionMetadata, RouteLeaseExecutionRequest, RouteLeaseLogger, RouteLeaseManager, RouteLeaseManagerOptions, RouteLeaseMetadata, RouteLeaseProviderKeyPreflight, RouteLeaseReleaseResult, RouteLeaseRenewResult, RouteLeaseRequest, RouteLeaseRoutePort, RouteLeaseRuntime, RouteLeaseStatus, RouteLeaseSubscriptionPreflight, RouteLeaseTargetResolver, RouteLeaseTargetResolverOptions, RouteLeaseTargetResolverPort, RouteLeaseUpstream, RuntimeLaunchDescriptor, SYSTEM_ROUTE_LEASE_CLOCK, __resetProviderProxyForTests, canonicalizeRouteLeasePayload, extractRouteToken, getProviderProxy, hashRouteLeasePayload, hashRouteLeaseSessionId, normalizeRouteLeaseIdempotencyKey, normalizeRouteLeaseTtl, parseRouteLeaseCreate, routeLeaseRuntime } from './provider-proxy.js';
|
|
21
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';
|
|
25
25
|
export { registerBuiltinTransformers } from './transformer/transformers.js';
|
|
26
|
-
export {
|
|
26
|
+
export { ThinkLevel } from '@omnicross/contracts/completion-types';
|
|
27
|
+
export { Annotation, ImageContent, MessageContent, ModelRoute, ModelTransformerConfig, ReasoningConfig, RequestConfig, RequestRouteInfo, ResolvedTransformerChain, StreamChunk, TextContent, ThinkingContent, ToolCall, ToolChoice, ToolParameterSchema, TransformRequestResult, Transformer, TransformerChainConfig, TransformerConfigEntry, TransformerConstructor, TransformerContext, TransformerLogger, TransformerOptions, TransformerReference, TransformerServiceConfig, UnifiedChatRequest, UnifiedChatResponse, UnifiedMessage, UnifiedTool, UrlCitation } from './transformer/types.js';
|
|
27
28
|
export { AUDIT_REDACTED, redactAuditText } from './outbound-api/auditRedact.js';
|
|
28
29
|
export { AuditCaptureContext, beginAuditCapture } from './outbound-api/auditCapture.js';
|
|
29
30
|
export { BillingCaptureContext, beginBillingCapture } from './outbound-api/billingCapture.js';
|
|
30
31
|
export { BoundAccountFallbackPolicy, BoundAccountSelectionError, BoundAccountSelectionFailureReason, boundAccountSelectionMessage, isBoundAccountSelectionError } from './pipeline/BoundAccountSelectionError.js';
|
|
31
|
-
export { D as DEFAULT_ROUTE_IDLE_MS, P as ProviderProxy, a as ProviderProxyRouteMap } from './ProviderProxy
|
|
32
|
+
export { D as DEFAULT_ROUTE_IDLE_MS, P as ProviderProxy, a as ProviderProxyRouteMap, R as RouteEvictionReason, b as RouteRegistrationOptions, i as isLoopbackAddress } from './ProviderProxy--ROec6VI.js';
|
|
32
33
|
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-
|
|
34
|
+
export { S as SUBSCRIPTION_PROVIDER_IDS, e as endpointSupportsSubscription, i as isSubscriptionProviderId, p as parseModelRef, a as pickModelRefFromList, r as resolveRoute } from './routeResolver-C0mkkZaM.js';
|
|
34
35
|
import '@omnicross/contracts/message-blocks';
|
|
35
|
-
import '@omnicross/contracts/completion-types';
|
|
36
36
|
import '@omnicross/contracts/mcp-types';
|
|
37
37
|
import '@omnicross/contracts/pricing-types';
|
|
38
38
|
import '@omnicross/contracts/usage-stats-types';
|
package/dist/index.js
CHANGED
|
@@ -18,6 +18,26 @@ import {
|
|
|
18
18
|
OutboundRateLimiter,
|
|
19
19
|
ProviderProxy,
|
|
20
20
|
ProviderProxyRouteMap,
|
|
21
|
+
ROUTE_LEASE_API_VERSION,
|
|
22
|
+
ROUTE_LEASE_CAPABILITIES,
|
|
23
|
+
ROUTE_LEASE_CAPABILITIES_SCHEMA,
|
|
24
|
+
ROUTE_LEASE_CODEX_TOKEN_ENV,
|
|
25
|
+
ROUTE_LEASE_DEFAULT_TTL_SECONDS,
|
|
26
|
+
ROUTE_LEASE_MAX_CONSUMER_BYTES,
|
|
27
|
+
ROUTE_LEASE_MAX_EXECUTION_ID_BYTES,
|
|
28
|
+
ROUTE_LEASE_MAX_IDEMPOTENCY_BYTES,
|
|
29
|
+
ROUTE_LEASE_MAX_MODEL_BYTES,
|
|
30
|
+
ROUTE_LEASE_MAX_SESSION_ID_BYTES,
|
|
31
|
+
ROUTE_LEASE_MAX_TTL_SECONDS,
|
|
32
|
+
ROUTE_LEASE_REQUEST_SCHEMA,
|
|
33
|
+
ROUTE_LEASE_RESULT_SCHEMA,
|
|
34
|
+
ROUTE_LEASE_RUNTIMES,
|
|
35
|
+
ROUTE_LEASE_RUNTIME_TABLE,
|
|
36
|
+
ROUTE_LEASE_SESSION_HASH_DOMAIN,
|
|
37
|
+
RouteLeaseError,
|
|
38
|
+
RouteLeaseManager,
|
|
39
|
+
RouteLeaseTargetResolver,
|
|
40
|
+
SYSTEM_ROUTE_LEASE_CLOCK,
|
|
21
41
|
SerialQueueTimeoutError,
|
|
22
42
|
UserMessageSerialQueue,
|
|
23
43
|
__resetOutboundApiServerForTests,
|
|
@@ -26,6 +46,7 @@ import {
|
|
|
26
46
|
attach,
|
|
27
47
|
candidateBackgroundModelIds,
|
|
28
48
|
candidateGatewayBindings,
|
|
49
|
+
canonicalizeRouteLeasePayload,
|
|
29
50
|
checkKeyQuota,
|
|
30
51
|
computeKeyExpiry,
|
|
31
52
|
computeVoucherGrant,
|
|
@@ -45,8 +66,11 @@ import {
|
|
|
45
66
|
getProviderProxy,
|
|
46
67
|
handleVoucherRedeem,
|
|
47
68
|
hashKey,
|
|
69
|
+
hashRouteLeasePayload,
|
|
70
|
+
hashRouteLeaseSessionId,
|
|
48
71
|
hashVoucherCode,
|
|
49
72
|
isConcurrencyRejection,
|
|
73
|
+
isLoopbackAddress,
|
|
50
74
|
isRedeemRequest,
|
|
51
75
|
isSerialQueueTimeout,
|
|
52
76
|
isUserMessageRequest,
|
|
@@ -64,14 +88,18 @@ import {
|
|
|
64
88
|
normalizeProxyConfig,
|
|
65
89
|
normalizeProxySegment,
|
|
66
90
|
normalizeQueueSegments,
|
|
91
|
+
normalizeRouteLeaseIdempotencyKey,
|
|
92
|
+
normalizeRouteLeaseTtl,
|
|
67
93
|
normalizeServerConfig,
|
|
68
94
|
normalizeVoucher,
|
|
69
95
|
normalizeWebhookDestination,
|
|
70
96
|
normalizeWebhookSegment,
|
|
97
|
+
parseRouteLeaseCreate,
|
|
71
98
|
randomBase62,
|
|
72
99
|
register,
|
|
73
100
|
release,
|
|
74
101
|
resolveGatewayBinding,
|
|
102
|
+
routeLeaseRuntime,
|
|
75
103
|
saveServerConfig,
|
|
76
104
|
startOfLocalDay,
|
|
77
105
|
startOfLocalWeek,
|
|
@@ -79,27 +107,27 @@ import {
|
|
|
79
107
|
verifyKey,
|
|
80
108
|
verifyPresentedKey,
|
|
81
109
|
voucherCodePrefix
|
|
82
|
-
} from "./chunk-
|
|
110
|
+
} from "./chunk-CQIJCPMF.js";
|
|
83
111
|
import {
|
|
84
112
|
createSSEParser,
|
|
85
113
|
streamSSEResponse
|
|
86
114
|
} from "./chunk-VVEHS2LI.js";
|
|
87
|
-
import "./chunk-
|
|
115
|
+
import "./chunk-WTQMX2Q6.js";
|
|
88
116
|
import {
|
|
89
117
|
registerBuiltinTransformers
|
|
90
|
-
} from "./chunk-
|
|
91
|
-
import "./chunk-
|
|
92
|
-
import "./chunk-
|
|
93
|
-
import "./chunk-
|
|
118
|
+
} from "./chunk-NGYOO5TO.js";
|
|
119
|
+
import "./chunk-HKB656B4.js";
|
|
120
|
+
import "./chunk-55FMGZ3L.js";
|
|
121
|
+
import "./chunk-45FHEOKW.js";
|
|
94
122
|
import "./chunk-FU7EAR73.js";
|
|
95
|
-
import "./chunk-
|
|
123
|
+
import "./chunk-CCVRRJOX.js";
|
|
96
124
|
import "./chunk-7VU7V2E4.js";
|
|
97
125
|
import {
|
|
98
126
|
PricingEngine
|
|
99
127
|
} from "./chunk-FXR6N3SR.js";
|
|
100
128
|
import {
|
|
101
129
|
UsageRecorder
|
|
102
|
-
} from "./chunk-
|
|
130
|
+
} from "./chunk-UAPBLNN2.js";
|
|
103
131
|
import {
|
|
104
132
|
TransformerChainExecutor
|
|
105
133
|
} from "./chunk-WNKWAEUR.js";
|
|
@@ -188,8 +216,10 @@ import {
|
|
|
188
216
|
hasImageContent,
|
|
189
217
|
hasThinkingEnabled
|
|
190
218
|
} from "./chunk-5NJLQ6T6.js";
|
|
191
|
-
import "./chunk-
|
|
192
|
-
import "./chunk-
|
|
219
|
+
import "./chunk-2UTGX6FM.js";
|
|
220
|
+
import "./chunk-S3DYFEBE.js";
|
|
221
|
+
import "./chunk-WYVGULTQ.js";
|
|
222
|
+
import "./chunk-N2EIM2XJ.js";
|
|
193
223
|
import "./chunk-RJ5ZGNI3.js";
|
|
194
224
|
import "./chunk-3WD4HTR2.js";
|
|
195
225
|
import "./chunk-MKF46GNZ.js";
|
|
@@ -239,7 +269,27 @@ export {
|
|
|
239
269
|
PricingEngine,
|
|
240
270
|
ProviderProxy,
|
|
241
271
|
ProviderProxyRouteMap,
|
|
272
|
+
ROUTE_LEASE_API_VERSION,
|
|
273
|
+
ROUTE_LEASE_CAPABILITIES,
|
|
274
|
+
ROUTE_LEASE_CAPABILITIES_SCHEMA,
|
|
275
|
+
ROUTE_LEASE_CODEX_TOKEN_ENV,
|
|
276
|
+
ROUTE_LEASE_DEFAULT_TTL_SECONDS,
|
|
277
|
+
ROUTE_LEASE_MAX_CONSUMER_BYTES,
|
|
278
|
+
ROUTE_LEASE_MAX_EXECUTION_ID_BYTES,
|
|
279
|
+
ROUTE_LEASE_MAX_IDEMPOTENCY_BYTES,
|
|
280
|
+
ROUTE_LEASE_MAX_MODEL_BYTES,
|
|
281
|
+
ROUTE_LEASE_MAX_SESSION_ID_BYTES,
|
|
282
|
+
ROUTE_LEASE_MAX_TTL_SECONDS,
|
|
283
|
+
ROUTE_LEASE_REQUEST_SCHEMA,
|
|
284
|
+
ROUTE_LEASE_RESULT_SCHEMA,
|
|
285
|
+
ROUTE_LEASE_RUNTIMES,
|
|
286
|
+
ROUTE_LEASE_RUNTIME_TABLE,
|
|
287
|
+
ROUTE_LEASE_SESSION_HASH_DOMAIN,
|
|
288
|
+
RouteLeaseError,
|
|
289
|
+
RouteLeaseManager,
|
|
290
|
+
RouteLeaseTargetResolver,
|
|
242
291
|
SUBSCRIPTION_PROVIDER_IDS,
|
|
292
|
+
SYSTEM_ROUTE_LEASE_CLOCK,
|
|
243
293
|
SerialQueueTimeoutError,
|
|
244
294
|
TransformerChainExecutor,
|
|
245
295
|
TransformerService,
|
|
@@ -262,6 +312,7 @@ export {
|
|
|
262
312
|
buildProviderApiUrl,
|
|
263
313
|
candidateBackgroundModelIds,
|
|
264
314
|
candidateGatewayBindings,
|
|
315
|
+
canonicalizeRouteLeasePayload,
|
|
265
316
|
checkKeyQuota,
|
|
266
317
|
classifyModelPrefix,
|
|
267
318
|
computeKeyExpiry,
|
|
@@ -301,10 +352,13 @@ export {
|
|
|
301
352
|
hasImageContent,
|
|
302
353
|
hasThinkingEnabled,
|
|
303
354
|
hashKey,
|
|
355
|
+
hashRouteLeasePayload,
|
|
356
|
+
hashRouteLeaseSessionId,
|
|
304
357
|
hashVoucherCode,
|
|
305
358
|
isBoundAccountSelectionError,
|
|
306
359
|
isConcurrencyRejection,
|
|
307
360
|
isKindMappedEndpoint,
|
|
361
|
+
isLoopbackAddress,
|
|
308
362
|
isOpenRouterProvider,
|
|
309
363
|
isRedeemRequest,
|
|
310
364
|
isSerialQueueTimeout,
|
|
@@ -326,11 +380,14 @@ export {
|
|
|
326
380
|
normalizeProxyConfig,
|
|
327
381
|
normalizeProxySegment,
|
|
328
382
|
normalizeQueueSegments,
|
|
383
|
+
normalizeRouteLeaseIdempotencyKey,
|
|
384
|
+
normalizeRouteLeaseTtl,
|
|
329
385
|
normalizeServerConfig,
|
|
330
386
|
normalizeVoucher,
|
|
331
387
|
normalizeWebhookDestination,
|
|
332
388
|
normalizeWebhookSegment,
|
|
333
389
|
parseModelRef,
|
|
390
|
+
parseRouteLeaseCreate,
|
|
334
391
|
pickModelRefFromList,
|
|
335
392
|
randomBase62,
|
|
336
393
|
redactAuditText,
|
|
@@ -342,6 +399,7 @@ export {
|
|
|
342
399
|
resolvePrefixTarget,
|
|
343
400
|
resolveProviderEndpoint,
|
|
344
401
|
resolveRoute,
|
|
402
|
+
routeLeaseRuntime,
|
|
345
403
|
saveServerConfig,
|
|
346
404
|
serializeError,
|
|
347
405
|
setOpenRouterAppIdentity,
|
|
@@ -1,12 +1,12 @@
|
|
|
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-C2MwkLah.cjs';
|
|
4
|
+
export { R as RouteResolveError, b as RouteResolveResult, i as isSubscriptionProviderId, p as parseModelRef, a as pickModelRefFromList, r as resolveRoute } from '../routeResolver-CVFE8KKe.cjs';
|
|
5
5
|
import '@omnicross/contracts/llm-config';
|
|
6
6
|
import '../transformer/types.cjs';
|
|
7
|
+
import '@omnicross/contracts/completion-types';
|
|
7
8
|
import '../transformer/TransformerService.cjs';
|
|
8
9
|
import 'node:http';
|
|
9
|
-
import '@omnicross/contracts/completion-types';
|
|
10
10
|
import '@omnicross/contracts/usage-stats-types';
|
|
11
11
|
import '@omnicross/contracts/subscription-types';
|
|
12
12
|
import '@omnicross/contracts/usage-types';
|
|
@@ -24,5 +24,5 @@ import '@omnicross/contracts/billing-types';
|
|
|
24
24
|
import '@omnicross/contracts/health-logging-types';
|
|
25
25
|
import '@omnicross/contracts/voucher-types';
|
|
26
26
|
import '@omnicross/contracts/webhook-types';
|
|
27
|
-
import '../ProviderProxy-
|
|
27
|
+
import '../ProviderProxy-QdwNV6l1.cjs';
|
|
28
28
|
import '../keyPolicy-zdWTu3CQ.cjs';
|
|
@@ -1,12 +1,12 @@
|
|
|
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-BB8pxk_3.js';
|
|
4
|
+
export { R as RouteResolveError, b as RouteResolveResult, i as isSubscriptionProviderId, p as parseModelRef, a as pickModelRefFromList, r as resolveRoute } from '../routeResolver-C0mkkZaM.js';
|
|
5
5
|
import '@omnicross/contracts/llm-config';
|
|
6
6
|
import '../transformer/types.js';
|
|
7
|
+
import '@omnicross/contracts/completion-types';
|
|
7
8
|
import '../transformer/TransformerService.js';
|
|
8
9
|
import 'node:http';
|
|
9
|
-
import '@omnicross/contracts/completion-types';
|
|
10
10
|
import '@omnicross/contracts/usage-stats-types';
|
|
11
11
|
import '@omnicross/contracts/subscription-types';
|
|
12
12
|
import '@omnicross/contracts/usage-types';
|
|
@@ -24,5 +24,5 @@ import '@omnicross/contracts/billing-types';
|
|
|
24
24
|
import '@omnicross/contracts/health-logging-types';
|
|
25
25
|
import '@omnicross/contracts/voucher-types';
|
|
26
26
|
import '@omnicross/contracts/webhook-types';
|
|
27
|
-
import '../ProviderProxy
|
|
27
|
+
import '../ProviderProxy--ROec6VI.js';
|
|
28
28
|
import '../keyPolicy-zdWTu3CQ.js';
|
|
@@ -6,15 +6,15 @@ import '@omnicross/contracts/voucher-types';
|
|
|
6
6
|
import '@omnicross/contracts/webhook-types';
|
|
7
7
|
import '../logger-4GvQNzhE.cjs';
|
|
8
8
|
import '../ports/provider-config-source.cjs';
|
|
9
|
-
import '../ProviderProxy-
|
|
9
|
+
import '../ProviderProxy-QdwNV6l1.cjs';
|
|
10
10
|
import '../provider-proxy/types.cjs';
|
|
11
|
+
export { S as AccountHealthConfig, 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 KindMappedEndpoint, M as MessagesModelKind, l as ModelKind, m as ModelPrefixTargets, Q as ModelRef, n as OutboundApiDeps, o as OutboundApiKeyCreated, p as OutboundApiKeyInfo, q as OutboundApiServerConfig, r as OutboundApiServerStatus, s as OutboundEndpoint, t as OutboundFormatUrls, u as OutboundKeyActivationMode, O as OutboundKeyDb, v as OutboundKeyDbRow, T as OutboundKeyModelRestrictionMode, w as OutboundKeyPolicy, x as OutboundProxyConfig, R as RequestRole, y as ResponsesModelKind, U as UserMessageQueueConfig } from '../types-C2MwkLah.cjs';
|
|
11
12
|
import '../pipeline/BoundAccountSelectionError.cjs';
|
|
12
|
-
export { S as AccountHealthConfig, 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 KindMappedEndpoint, M as MessagesModelKind, l as ModelKind, m as ModelPrefixTargets, Q as ModelRef, n as OutboundApiDeps, o as OutboundApiKeyCreated, p as OutboundApiKeyInfo, q as OutboundApiServerConfig, r as OutboundApiServerStatus, s as OutboundEndpoint, t as OutboundFormatUrls, u as OutboundKeyActivationMode, O as OutboundKeyDb, v as OutboundKeyDbRow, T as OutboundKeyModelRestrictionMode, w as OutboundKeyPolicy, x as OutboundProxyConfig, R as RequestRole, y as ResponsesModelKind, U as UserMessageQueueConfig } from '../types-gjJ5lJ5n.cjs';
|
|
13
13
|
import '@omnicross/contracts/llm-config';
|
|
14
14
|
import '../transformer/types.cjs';
|
|
15
|
+
import '@omnicross/contracts/completion-types';
|
|
15
16
|
import '../transformer/TransformerService.cjs';
|
|
16
17
|
import 'node:http';
|
|
17
|
-
import '@omnicross/contracts/completion-types';
|
|
18
18
|
import '@omnicross/contracts/usage-stats-types';
|
|
19
19
|
import '@omnicross/contracts/subscription-types';
|
|
20
20
|
import '@omnicross/contracts/usage-types';
|
|
@@ -6,15 +6,15 @@ import '@omnicross/contracts/voucher-types';
|
|
|
6
6
|
import '@omnicross/contracts/webhook-types';
|
|
7
7
|
import '../logger-4GvQNzhE.js';
|
|
8
8
|
import '../ports/provider-config-source.js';
|
|
9
|
-
import '../ProviderProxy
|
|
9
|
+
import '../ProviderProxy--ROec6VI.js';
|
|
10
10
|
import '../provider-proxy/types.js';
|
|
11
|
+
export { S as AccountHealthConfig, 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 KindMappedEndpoint, M as MessagesModelKind, l as ModelKind, m as ModelPrefixTargets, Q as ModelRef, n as OutboundApiDeps, o as OutboundApiKeyCreated, p as OutboundApiKeyInfo, q as OutboundApiServerConfig, r as OutboundApiServerStatus, s as OutboundEndpoint, t as OutboundFormatUrls, u as OutboundKeyActivationMode, O as OutboundKeyDb, v as OutboundKeyDbRow, T as OutboundKeyModelRestrictionMode, w as OutboundKeyPolicy, x as OutboundProxyConfig, R as RequestRole, y as ResponsesModelKind, U as UserMessageQueueConfig } from '../types-BB8pxk_3.js';
|
|
11
12
|
import '../pipeline/BoundAccountSelectionError.js';
|
|
12
|
-
export { S as AccountHealthConfig, 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 KindMappedEndpoint, M as MessagesModelKind, l as ModelKind, m as ModelPrefixTargets, Q as ModelRef, n as OutboundApiDeps, o as OutboundApiKeyCreated, p as OutboundApiKeyInfo, q as OutboundApiServerConfig, r as OutboundApiServerStatus, s as OutboundEndpoint, t as OutboundFormatUrls, u as OutboundKeyActivationMode, O as OutboundKeyDb, v as OutboundKeyDbRow, T as OutboundKeyModelRestrictionMode, w as OutboundKeyPolicy, x as OutboundProxyConfig, R as RequestRole, y as ResponsesModelKind, U as UserMessageQueueConfig } from '../types-CqZD77rS.js';
|
|
13
13
|
import '@omnicross/contracts/llm-config';
|
|
14
14
|
import '../transformer/types.js';
|
|
15
|
+
import '@omnicross/contracts/completion-types';
|
|
15
16
|
import '../transformer/TransformerService.js';
|
|
16
17
|
import 'node:http';
|
|
17
|
-
import '@omnicross/contracts/completion-types';
|
|
18
18
|
import '@omnicross/contracts/usage-stats-types';
|
|
19
19
|
import '@omnicross/contracts/subscription-types';
|
|
20
20
|
import '@omnicross/contracts/usage-types';
|
package/dist/outbound-api.cjs
CHANGED
|
@@ -63,18 +63,18 @@
|
|
|
63
63
|
|
|
64
64
|
|
|
65
65
|
|
|
66
|
-
var
|
|
66
|
+
var _chunkXELFM7KLcjs = require('./chunk-XELFM7KL.cjs');
|
|
67
67
|
require('./chunk-HQP3K7PU.cjs');
|
|
68
|
-
require('./chunk-
|
|
69
|
-
require('./chunk-
|
|
70
|
-
require('./chunk-
|
|
71
|
-
require('./chunk-
|
|
72
|
-
require('./chunk-
|
|
68
|
+
require('./chunk-QVOB2DNX.cjs');
|
|
69
|
+
require('./chunk-P7EM6BND.cjs');
|
|
70
|
+
require('./chunk-ZQQUD66M.cjs');
|
|
71
|
+
require('./chunk-5LNYGCIW.cjs');
|
|
72
|
+
require('./chunk-CMVXX7ON.cjs');
|
|
73
73
|
require('./chunk-5RSZYQJH.cjs');
|
|
74
|
-
require('./chunk-
|
|
74
|
+
require('./chunk-56QD3YW6.cjs');
|
|
75
75
|
require('./chunk-EYZYXJTJ.cjs');
|
|
76
76
|
require('./chunk-2E42SAW3.cjs');
|
|
77
|
-
require('./chunk-
|
|
77
|
+
require('./chunk-EPN67EGP.cjs');
|
|
78
78
|
require('./chunk-IIRPUVPH.cjs');
|
|
79
79
|
require('./chunk-GBHYAGX3.cjs');
|
|
80
80
|
require('./chunk-3OPYJG76.cjs');
|
|
@@ -134,8 +134,10 @@ var _chunkFCR77GYMcjs = require('./chunk-FCR77GYM.cjs');
|
|
|
134
134
|
require('./chunk-AEOZIDEB.cjs');
|
|
135
135
|
require('./chunk-XSVNC2UD.cjs');
|
|
136
136
|
require('./chunk-GDIXXKF2.cjs');
|
|
137
|
-
require('./chunk-
|
|
138
|
-
require('./chunk-
|
|
137
|
+
require('./chunk-OC6DOOFX.cjs');
|
|
138
|
+
require('./chunk-RICPANBY.cjs');
|
|
139
|
+
require('./chunk-77USGNRW.cjs');
|
|
140
|
+
require('./chunk-AOFWNWLT.cjs');
|
|
139
141
|
require('./chunk-RJUONLUQ.cjs');
|
|
140
142
|
require('./chunk-235MXAGX.cjs');
|
|
141
143
|
require('./chunk-HVBBDBS3.cjs');
|
|
@@ -231,4 +233,4 @@ require('./chunk-UNEFIWXI.cjs');
|
|
|
231
233
|
|
|
232
234
|
|
|
233
235
|
|
|
234
|
-
exports.AUDIT_REDACTED = _chunkFCR77GYMcjs.AUDIT_REDACTED; exports.BoundAccountSelectionError = _chunk25GXJCEZcjs.BoundAccountSelectionError; exports.ConcurrencyQueueFullError =
|
|
236
|
+
exports.AUDIT_REDACTED = _chunkFCR77GYMcjs.AUDIT_REDACTED; exports.BoundAccountSelectionError = _chunk25GXJCEZcjs.BoundAccountSelectionError; exports.ConcurrencyQueueFullError = _chunkXELFM7KLcjs.ConcurrencyQueueFullError; exports.ConcurrencyWaitCancelledError = _chunkXELFM7KLcjs.ConcurrencyWaitCancelledError; exports.ConcurrencyWaitTimeoutError = _chunkXELFM7KLcjs.ConcurrencyWaitTimeoutError; exports.DEFAULT_ACCOUNT_PROBE = _chunkXELFM7KLcjs.DEFAULT_ACCOUNT_PROBE; exports.DEFAULT_ALLOWANCE_SCHEDULING = _chunkXELFM7KLcjs.DEFAULT_ALLOWANCE_SCHEDULING; exports.DEFAULT_CONCURRENCY_QUEUE = _chunkXELFM7KLcjs.DEFAULT_CONCURRENCY_QUEUE; exports.DEFAULT_FINGERPRINT = _chunkXELFM7KLcjs.DEFAULT_FINGERPRINT; exports.DEFAULT_OUTBOUND_PORT = _chunkXELFM7KLcjs.DEFAULT_OUTBOUND_PORT; exports.DEFAULT_USER_MESSAGE_QUEUE = _chunkXELFM7KLcjs.DEFAULT_USER_MESSAGE_QUEUE; exports.ENDPOINT_MODEL_KINDS = _chunk4IH4EL7Mcjs.ENDPOINT_MODEL_KINDS; exports.KeySpendTracker = _chunkXELFM7KLcjs.KeySpendTracker; exports.KeyedMutex = _chunkXELFM7KLcjs.KeyedMutex; exports.OUTBOUND_API_SERVER_CONFIG_KEY = _chunkXELFM7KLcjs.OUTBOUND_API_SERVER_CONFIG_KEY; exports.OutboundApiServer = _chunkXELFM7KLcjs.OutboundApiServer; exports.OutboundConcurrencyGate = _chunkXELFM7KLcjs.OutboundConcurrencyGate; exports.OutboundRateLimiter = _chunkXELFM7KLcjs.OutboundRateLimiter; exports.SUBSCRIPTION_PROVIDER_IDS = _chunk4VZX5F4Tcjs.SUBSCRIPTION_PROVIDER_IDS; exports.SerialQueueTimeoutError = _chunkXELFM7KLcjs.SerialQueueTimeoutError; exports.UserMessageSerialQueue = _chunkXELFM7KLcjs.UserMessageSerialQueue; exports.__resetOutboundApiServerForTests = _chunkXELFM7KLcjs.__resetOutboundApiServerForTests; exports.beginAuditCapture = _chunkXPIOJQS2cjs.beginAuditCapture; exports.beginBillingCapture = _chunkAPYG5QD7cjs.beginBillingCapture; exports.boundAccountSelectionMessage = _chunk25GXJCEZcjs.boundAccountSelectionMessage; exports.candidateBackgroundModelIds = _chunkXELFM7KLcjs.candidateBackgroundModelIds; exports.candidateGatewayBindings = _chunkXELFM7KLcjs.candidateGatewayBindings; exports.checkKeyQuota = _chunkXELFM7KLcjs.checkKeyQuota; exports.classifyModelPrefix = _chunk4VZX5F4Tcjs.classifyModelPrefix; exports.computeKeyExpiry = _chunkXELFM7KLcjs.computeKeyExpiry; exports.computeVoucherGrant = _chunkXELFM7KLcjs.computeVoucherGrant; exports.createIntegrationKey = _chunkXELFM7KLcjs.createIntegrationKey; exports.createNamedKey = _chunkXELFM7KLcjs.createNamedKey; exports.defaultServerConfig = _chunkXELFM7KLcjs.defaultServerConfig; exports.detectModelKind = _chunk4VZX5F4Tcjs.detectModelKind; exports.detectRequestRole = _chunk4VZX5F4Tcjs.detectRequestRole; exports.endpointSupportsSubscription = _chunk4VZX5F4Tcjs.endpointSupportsSubscription; exports.endpointToIngressFormat = _chunk4VZX5F4Tcjs.endpointToIngressFormat; exports.formatUrls = _chunkXELFM7KLcjs.formatUrls; exports.gatewayBindingToEndpointConfig = _chunkXELFM7KLcjs.gatewayBindingToEndpointConfig; exports.generateVoucherCode = _chunkXELFM7KLcjs.generateVoucherCode; exports.getOutboundApiServer = _chunkXELFM7KLcjs.getOutboundApiServer; exports.handleVoucherRedeem = _chunkXELFM7KLcjs.handleVoucherRedeem; exports.hashKey = _chunkXELFM7KLcjs.hashKey; exports.hashVoucherCode = _chunkXELFM7KLcjs.hashVoucherCode; exports.isBoundAccountSelectionError = _chunk25GXJCEZcjs.isBoundAccountSelectionError; exports.isConcurrencyRejection = _chunkXELFM7KLcjs.isConcurrencyRejection; exports.isKindMappedEndpoint = _chunk4VZX5F4Tcjs.isKindMappedEndpoint; exports.isRedeemRequest = _chunkXELFM7KLcjs.isRedeemRequest; exports.isSerialQueueTimeout = _chunkXELFM7KLcjs.isSerialQueueTimeout; exports.isSubscriptionProviderId = _chunk4VZX5F4Tcjs.isSubscriptionProviderId; exports.isUserMessageRequest = _chunkXELFM7KLcjs.isUserMessageRequest; exports.legacyEndpointsToBindings = _chunkXELFM7KLcjs.legacyEndpointsToBindings; exports.loadServerConfig = _chunkXELFM7KLcjs.loadServerConfig; exports.mergeServerConfig = _chunkXELFM7KLcjs.mergeServerConfig; exports.modelKindsForEndpoint = _chunk4VZX5F4Tcjs.modelKindsForEndpoint; exports.newVoucherId = _chunkXELFM7KLcjs.newVoucherId; exports.normalizeAccountProbe = _chunkXELFM7KLcjs.normalizeAccountProbe; exports.normalizeAllowanceScheduling = _chunkXELFM7KLcjs.normalizeAllowanceScheduling; exports.normalizeAudit = _chunkXELFM7KLcjs.normalizeAudit; exports.normalizeBilling = _chunkXELFM7KLcjs.normalizeBilling; exports.normalizeFingerprint = _chunkXELFM7KLcjs.normalizeFingerprint; exports.normalizeGatewayBindings = _chunkXELFM7KLcjs.normalizeGatewayBindings; exports.normalizePrefixTargets = _chunkXELFM7KLcjs.normalizePrefixTargets; exports.normalizeProxyConfig = _chunkXELFM7KLcjs.normalizeProxyConfig; exports.normalizeProxySegment = _chunkXELFM7KLcjs.normalizeProxySegment; exports.normalizeQueueSegments = _chunkXELFM7KLcjs.normalizeQueueSegments; exports.normalizeServerConfig = _chunkXELFM7KLcjs.normalizeServerConfig; exports.normalizeVoucher = _chunkXELFM7KLcjs.normalizeVoucher; exports.normalizeWebhookDestination = _chunkXELFM7KLcjs.normalizeWebhookDestination; exports.normalizeWebhookSegment = _chunkXELFM7KLcjs.normalizeWebhookSegment; exports.parseModelRef = _chunk4VZX5F4Tcjs.parseModelRef; exports.pickModelRefFromList = _chunk4VZX5F4Tcjs.pickModelRefFromList; exports.randomBase62 = _chunkXELFM7KLcjs.randomBase62; exports.redactAuditText = _chunkFCR77GYMcjs.redactAuditText; exports.resolveGatewayBinding = _chunkXELFM7KLcjs.resolveGatewayBinding; exports.resolvePrefixTarget = _chunk4VZX5F4Tcjs.resolvePrefixTarget; exports.resolveRoute = _chunk4VZX5F4Tcjs.resolveRoute; exports.saveServerConfig = _chunkXELFM7KLcjs.saveServerConfig; exports.startOfLocalDay = _chunkXELFM7KLcjs.startOfLocalDay; exports.startOfLocalWeek = _chunkXELFM7KLcjs.startOfLocalWeek; exports.toVoucherInfo = _chunkXELFM7KLcjs.toVoucherInfo; exports.validateEndpointModelConfig = _chunk4VZX5F4Tcjs.validateEndpointModelConfig; exports.verifyKey = _chunkXELFM7KLcjs.verifyKey; exports.verifyPresentedKey = _chunkXELFM7KLcjs.verifyPresentedKey; exports.voucherCodePrefix = _chunkXELFM7KLcjs.voucherCodePrefix;
|