@omnicross/core 0.1.8 → 0.1.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (113) hide show
  1. package/dist/auth/GeminiCodeAssistProjectResolver.cjs +5 -3
  2. package/dist/auth/GeminiCodeAssistProjectResolver.js +4 -2
  3. package/dist/{chunk-N5T4M4GU.js → chunk-2UTGX6FM.js} +2 -2
  4. package/dist/{chunk-32O35CIF.js → chunk-45FHEOKW.js} +22 -7
  5. package/dist/{chunk-LVUCAWMK.js → chunk-55FMGZ3L.js} +13 -5
  6. package/dist/{chunk-OF3BECU2.cjs → chunk-56QD3YW6.cjs} +18 -5
  7. package/dist/{chunk-V4TXMEJS.cjs → chunk-5LNYGCIW.cjs} +15 -7
  8. package/dist/{chunk-EPN67EGP.cjs → chunk-5UK3KLE2.cjs} +9 -1
  9. package/dist/chunk-6D4W22P4.js +150 -0
  10. package/dist/chunk-77USGNRW.cjs +37 -0
  11. package/dist/chunk-AOFWNWLT.cjs +203 -0
  12. package/dist/{chunk-UAPBLNN2.js → chunk-AQDON6MB.js} +8 -0
  13. package/dist/{chunk-LB6EBS6Y.js → chunk-CCVRRJOX.js} +17 -4
  14. package/dist/{chunk-OVQBNVSV.cjs → chunk-CMVXX7ON.cjs} +42 -27
  15. package/dist/{chunk-QYC54PMG.js → chunk-FEBAQI5A.js} +255 -92
  16. package/dist/{chunk-7C7DET6S.js → chunk-GXEZ2R3E.js} +156 -1
  17. package/dist/{chunk-PEGTIPB3.js → chunk-HKB656B4.js} +37 -43
  18. package/dist/chunk-N2EIM2XJ.js +203 -0
  19. package/dist/{chunk-MYYR3HZL.js → chunk-NGYOO5TO.js} +5 -5
  20. package/dist/{chunk-OKMJLEXX.cjs → chunk-OC6DOOFX.cjs} +5 -5
  21. package/dist/{chunk-2Z4XM3H5.cjs → chunk-P7EM6BND.cjs} +10 -10
  22. package/dist/chunk-QUSEZNYS.cjs +150 -0
  23. package/dist/{chunk-KBM2W6UY.cjs → chunk-RICPANBY.cjs} +41 -24
  24. package/dist/{chunk-TOVPMMHM.js → chunk-S3DYFEBE.js} +37 -20
  25. package/dist/{chunk-26K6T2YS.cjs → chunk-TIT74RIL.cjs} +407 -244
  26. package/dist/{chunk-XPIOJQS2.cjs → chunk-UWDW6PN3.cjs} +159 -4
  27. package/dist/chunk-WYVGULTQ.js +37 -0
  28. package/dist/{chunk-OXHNSZ53.cjs → chunk-ZQQUD66M.cjs} +54 -60
  29. package/dist/completion/CompletionService.cjs +15 -13
  30. package/dist/completion/CompletionService.js +14 -12
  31. package/dist/completion.cjs +15 -13
  32. package/dist/completion.js +14 -12
  33. package/dist/index.cjs +15 -13
  34. package/dist/index.d.cts +2 -2
  35. package/dist/index.d.ts +2 -2
  36. package/dist/index.js +14 -12
  37. package/dist/outbound-api/auditCapture.cjs +2 -2
  38. package/dist/outbound-api/auditCapture.d.cts +6 -0
  39. package/dist/outbound-api/auditCapture.d.ts +6 -0
  40. package/dist/outbound-api/auditCapture.js +1 -1
  41. package/dist/outbound-api/routeResolver.d.cts +1 -1
  42. package/dist/outbound-api/routeResolver.d.ts +1 -1
  43. package/dist/outbound-api/types.d.cts +1 -1
  44. package/dist/outbound-api/types.d.ts +1 -1
  45. package/dist/outbound-api.cjs +15 -13
  46. package/dist/outbound-api.d.cts +3 -2
  47. package/dist/outbound-api.d.ts +3 -2
  48. package/dist/outbound-api.js +14 -12
  49. package/dist/pipeline/AccountAllowanceScheduling.d.cts +1 -1
  50. package/dist/pipeline/AccountAllowanceScheduling.d.ts +1 -1
  51. package/dist/pipeline/executeProviderCall.d.cts +2 -0
  52. package/dist/pipeline/executeProviderCall.d.ts +2 -0
  53. package/dist/pipeline/resolveProviderChain.d.cts +1 -0
  54. package/dist/pipeline/resolveProviderChain.d.ts +1 -0
  55. package/dist/pipeline/resolveSubscriptionChain.d.cts +2 -0
  56. package/dist/pipeline/resolveSubscriptionChain.d.ts +2 -0
  57. package/dist/ports/provider-config-source.d.cts +1 -0
  58. package/dist/ports/provider-config-source.d.ts +1 -0
  59. package/dist/ports.d.cts +1 -1
  60. package/dist/ports.d.ts +1 -1
  61. package/dist/provider-proxy/ProviderProxy.cjs +15 -13
  62. package/dist/provider-proxy/ProviderProxy.js +14 -12
  63. package/dist/provider-proxy/ingress/providerProxyShared.cjs +15 -13
  64. package/dist/provider-proxy/ingress/providerProxyShared.js +14 -12
  65. package/dist/provider-proxy.cjs +15 -13
  66. package/dist/provider-proxy.js +14 -12
  67. package/dist/transformer/TransformerChainExecutor.d.cts +2 -0
  68. package/dist/transformer/TransformerChainExecutor.d.ts +2 -0
  69. package/dist/transformer/TransformerService.d.cts +2 -0
  70. package/dist/transformer/TransformerService.d.ts +2 -0
  71. package/dist/transformer/transformers/AnthropicTransformer.cjs +4 -2
  72. package/dist/transformer/transformers/AnthropicTransformer.d.cts +7 -2
  73. package/dist/transformer/transformers/AnthropicTransformer.d.ts +7 -2
  74. package/dist/transformer/transformers/AnthropicTransformer.js +3 -1
  75. package/dist/transformer/transformers/GeminiCodeAssistTransformer.cjs +5 -3
  76. package/dist/transformer/transformers/GeminiCodeAssistTransformer.d.cts +2 -0
  77. package/dist/transformer/transformers/GeminiCodeAssistTransformer.d.ts +2 -0
  78. package/dist/transformer/transformers/GeminiCodeAssistTransformer.js +4 -2
  79. package/dist/transformer/transformers/GeminiTransformer.cjs +5 -3
  80. package/dist/transformer/transformers/GeminiTransformer.d.cts +4 -2
  81. package/dist/transformer/transformers/GeminiTransformer.d.ts +4 -2
  82. package/dist/transformer/transformers/GeminiTransformer.js +4 -2
  83. package/dist/transformer/transformers/OpenAIResponseTransformer.cjs +3 -2
  84. package/dist/transformer/transformers/OpenAIResponseTransformer.d.cts +4 -2
  85. package/dist/transformer/transformers/OpenAIResponseTransformer.d.ts +4 -2
  86. package/dist/transformer/transformers/OpenAIResponseTransformer.js +2 -1
  87. package/dist/transformer/transformers/OpenAITransformer.cjs +3 -2
  88. package/dist/transformer/transformers/OpenAITransformer.d.cts +3 -1
  89. package/dist/transformer/transformers/OpenAITransformer.d.ts +3 -1
  90. package/dist/transformer/transformers/OpenAITransformer.js +2 -1
  91. package/dist/transformer/transformers.cjs +10 -8
  92. package/dist/transformer/transformers.d.cts +2 -0
  93. package/dist/transformer/transformers.d.ts +2 -0
  94. package/dist/transformer/transformers.js +9 -7
  95. package/dist/transformer/types.d.cts +16 -5
  96. package/dist/transformer/types.d.ts +16 -5
  97. package/dist/transformer.cjs +28 -9
  98. package/dist/transformer.d.cts +76 -1
  99. package/dist/transformer.d.ts +76 -1
  100. package/dist/transformer.js +28 -9
  101. package/dist/usage/usage-recorder.cjs +2 -2
  102. package/dist/usage/usage-recorder.d.cts +12 -2
  103. package/dist/usage/usage-recorder.d.ts +12 -2
  104. package/dist/usage/usage-recorder.js +1 -1
  105. package/dist/usage.cjs +20 -3
  106. package/dist/usage.d.cts +149 -0
  107. package/dist/usage.d.ts +149 -0
  108. package/dist/usage.js +20 -3
  109. package/package.json +2 -2
  110. package/dist/chunk-7VU7V2E4.js +0 -0
  111. package/dist/chunk-FZ46M34D.cjs +0 -1
  112. /package/dist/{chunk-EYZYXJTJ.cjs → chunk-QVOB2DNX.cjs} +0 -0
  113. /package/dist/{chunk-46RLHI7D.js → chunk-WTQMX2Q6.js} +0 -0
@@ -9,18 +9,18 @@ import {
9
9
  getOpenRouterProviderConfig,
10
10
  register,
11
11
  release
12
- } from "./chunk-QYC54PMG.js";
12
+ } from "./chunk-FEBAQI5A.js";
13
13
  import "./chunk-VVEHS2LI.js";
14
- import "./chunk-46RLHI7D.js";
15
- import "./chunk-MYYR3HZL.js";
16
- import "./chunk-PEGTIPB3.js";
17
- import "./chunk-LVUCAWMK.js";
18
- import "./chunk-32O35CIF.js";
14
+ import "./chunk-WTQMX2Q6.js";
15
+ import "./chunk-NGYOO5TO.js";
16
+ import "./chunk-HKB656B4.js";
17
+ import "./chunk-55FMGZ3L.js";
18
+ import "./chunk-45FHEOKW.js";
19
19
  import "./chunk-FU7EAR73.js";
20
- import "./chunk-LB6EBS6Y.js";
21
- import "./chunk-7VU7V2E4.js";
20
+ import "./chunk-CCVRRJOX.js";
21
+ import "./chunk-6D4W22P4.js";
22
22
  import "./chunk-FXR6N3SR.js";
23
- import "./chunk-UAPBLNN2.js";
23
+ import "./chunk-AQDON6MB.js";
24
24
  import "./chunk-WNKWAEUR.js";
25
25
  import "./chunk-MZNPGW5Q.js";
26
26
  import "./chunk-DK4A7DLE.js";
@@ -59,13 +59,15 @@ import {
59
59
  resolveApiFormat,
60
60
  resolveProviderEndpoint
61
61
  } from "./chunk-H5JUT3KV.js";
62
- import "./chunk-7C7DET6S.js";
62
+ import "./chunk-GXEZ2R3E.js";
63
63
  import "./chunk-K5NM7VAH.js";
64
64
  import "./chunk-WNY4WMRF.js";
65
65
  import "./chunk-OZFM4X3S.js";
66
66
  import "./chunk-5NJLQ6T6.js";
67
- import "./chunk-N5T4M4GU.js";
68
- import "./chunk-TOVPMMHM.js";
67
+ import "./chunk-2UTGX6FM.js";
68
+ import "./chunk-S3DYFEBE.js";
69
+ import "./chunk-WYVGULTQ.js";
70
+ import "./chunk-N2EIM2XJ.js";
69
71
  import "./chunk-RJ5ZGNI3.js";
70
72
  import "./chunk-3WD4HTR2.js";
71
73
  import "./chunk-MKF46GNZ.js";
package/dist/index.cjs CHANGED
@@ -107,27 +107,27 @@
107
107
 
108
108
 
109
109
 
110
- var _chunk26K6T2YScjs = require('./chunk-26K6T2YS.cjs');
110
+ var _chunkTIT74RILcjs = require('./chunk-TIT74RIL.cjs');
111
111
 
112
112
 
113
113
 
114
114
  var _chunkHQP3K7PUcjs = require('./chunk-HQP3K7PU.cjs');
115
- require('./chunk-FZ46M34D.cjs');
115
+ require('./chunk-QVOB2DNX.cjs');
116
116
 
117
117
 
118
- var _chunk2Z4XM3H5cjs = require('./chunk-2Z4XM3H5.cjs');
119
- require('./chunk-OXHNSZ53.cjs');
120
- require('./chunk-V4TXMEJS.cjs');
121
- require('./chunk-OVQBNVSV.cjs');
118
+ var _chunkP7EM6BNDcjs = require('./chunk-P7EM6BND.cjs');
119
+ require('./chunk-ZQQUD66M.cjs');
120
+ require('./chunk-5LNYGCIW.cjs');
121
+ require('./chunk-CMVXX7ON.cjs');
122
122
  require('./chunk-5RSZYQJH.cjs');
123
- require('./chunk-OF3BECU2.cjs');
124
- require('./chunk-EYZYXJTJ.cjs');
123
+ require('./chunk-56QD3YW6.cjs');
124
+ require('./chunk-QUSEZNYS.cjs');
125
125
 
126
126
 
127
127
  var _chunk2E42SAW3cjs = require('./chunk-2E42SAW3.cjs');
128
128
 
129
129
 
130
- var _chunkEPN67EGPcjs = require('./chunk-EPN67EGP.cjs');
130
+ var _chunk5UK3KLE2cjs = require('./chunk-5UK3KLE2.cjs');
131
131
 
132
132
 
133
133
  var _chunkIIRPUVPHcjs = require('./chunk-IIRPUVPH.cjs');
@@ -197,7 +197,7 @@ var _chunk4IH4EL7Mcjs = require('./chunk-4IH4EL7M.cjs');
197
197
  var _chunkA2YMUCBTcjs = require('./chunk-A2YMUCBT.cjs');
198
198
 
199
199
 
200
- var _chunkXPIOJQS2cjs = require('./chunk-XPIOJQS2.cjs');
200
+ var _chunkUWDW6PN3cjs = require('./chunk-UWDW6PN3.cjs');
201
201
 
202
202
 
203
203
 
@@ -216,8 +216,10 @@ require('./chunk-XSVNC2UD.cjs');
216
216
 
217
217
 
218
218
  var _chunkGDIXXKF2cjs = require('./chunk-GDIXXKF2.cjs');
219
- require('./chunk-OKMJLEXX.cjs');
220
- require('./chunk-KBM2W6UY.cjs');
219
+ require('./chunk-OC6DOOFX.cjs');
220
+ require('./chunk-RICPANBY.cjs');
221
+ require('./chunk-77USGNRW.cjs');
222
+ require('./chunk-AOFWNWLT.cjs');
221
223
  require('./chunk-RJUONLUQ.cjs');
222
224
  require('./chunk-235MXAGX.cjs');
223
225
  require('./chunk-HVBBDBS3.cjs');
@@ -409,4 +411,4 @@ var _chunkUNEFIWXIcjs = require('./chunk-UNEFIWXI.cjs');
409
411
 
410
412
 
411
413
 
412
- exports.AUDIT_REDACTED = _chunkFCR77GYMcjs.AUDIT_REDACTED; exports.BoundAccountSelectionError = _chunk25GXJCEZcjs.BoundAccountSelectionError; exports.BuiltinToolExecutor = _chunkNZYN7C3Pcjs.BuiltinToolExecutor; exports.CompletionService = _chunk26K6T2YScjs.CompletionService; exports.ConcurrencyQueueFullError = _chunk26K6T2YScjs.ConcurrencyQueueFullError; exports.ConcurrencyWaitCancelledError = _chunk26K6T2YScjs.ConcurrencyWaitCancelledError; exports.ConcurrencyWaitTimeoutError = _chunk26K6T2YScjs.ConcurrencyWaitTimeoutError; exports.DEFAULT_ACCOUNT_PROBE = _chunk26K6T2YScjs.DEFAULT_ACCOUNT_PROBE; exports.DEFAULT_ALLOWANCE_SCHEDULING = _chunk26K6T2YScjs.DEFAULT_ALLOWANCE_SCHEDULING; exports.DEFAULT_CONCURRENCY_QUEUE = _chunk26K6T2YScjs.DEFAULT_CONCURRENCY_QUEUE; exports.DEFAULT_FINGERPRINT = _chunk26K6T2YScjs.DEFAULT_FINGERPRINT; exports.DEFAULT_OUTBOUND_PORT = _chunk26K6T2YScjs.DEFAULT_OUTBOUND_PORT; exports.DEFAULT_ROUTE_IDLE_MS = _chunk26K6T2YScjs.DEFAULT_ROUTE_IDLE_MS; exports.DEFAULT_USER_MESSAGE_QUEUE = _chunk26K6T2YScjs.DEFAULT_USER_MESSAGE_QUEUE; exports.ENDPOINT_MODEL_KINDS = _chunk4IH4EL7Mcjs.ENDPOINT_MODEL_KINDS; exports.KeySpendTracker = _chunk26K6T2YScjs.KeySpendTracker; exports.KeyedMutex = _chunk26K6T2YScjs.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 = _chunk26K6T2YScjs.OUTBOUND_API_SERVER_CONFIG_KEY; exports.OutboundApiServer = _chunk26K6T2YScjs.OutboundApiServer; exports.OutboundConcurrencyGate = _chunk26K6T2YScjs.OutboundConcurrencyGate; exports.OutboundRateLimiter = _chunk26K6T2YScjs.OutboundRateLimiter; exports.PricingEngine = _chunk2E42SAW3cjs.PricingEngine; exports.ProviderProxy = _chunk26K6T2YScjs.ProviderProxy; exports.ProviderProxyRouteMap = _chunk26K6T2YScjs.ProviderProxyRouteMap; exports.ROUTE_LEASE_API_VERSION = _chunk26K6T2YScjs.ROUTE_LEASE_API_VERSION; exports.ROUTE_LEASE_CAPABILITIES = _chunk26K6T2YScjs.ROUTE_LEASE_CAPABILITIES; exports.ROUTE_LEASE_CAPABILITIES_SCHEMA = _chunk26K6T2YScjs.ROUTE_LEASE_CAPABILITIES_SCHEMA; exports.ROUTE_LEASE_CODEX_TOKEN_ENV = _chunk26K6T2YScjs.ROUTE_LEASE_CODEX_TOKEN_ENV; exports.ROUTE_LEASE_DEFAULT_TTL_SECONDS = _chunk26K6T2YScjs.ROUTE_LEASE_DEFAULT_TTL_SECONDS; exports.ROUTE_LEASE_MAX_CONSUMER_BYTES = _chunk26K6T2YScjs.ROUTE_LEASE_MAX_CONSUMER_BYTES; exports.ROUTE_LEASE_MAX_EXECUTION_ID_BYTES = _chunk26K6T2YScjs.ROUTE_LEASE_MAX_EXECUTION_ID_BYTES; exports.ROUTE_LEASE_MAX_IDEMPOTENCY_BYTES = _chunk26K6T2YScjs.ROUTE_LEASE_MAX_IDEMPOTENCY_BYTES; exports.ROUTE_LEASE_MAX_MODEL_BYTES = _chunk26K6T2YScjs.ROUTE_LEASE_MAX_MODEL_BYTES; exports.ROUTE_LEASE_MAX_SESSION_ID_BYTES = _chunk26K6T2YScjs.ROUTE_LEASE_MAX_SESSION_ID_BYTES; exports.ROUTE_LEASE_MAX_TTL_SECONDS = _chunk26K6T2YScjs.ROUTE_LEASE_MAX_TTL_SECONDS; exports.ROUTE_LEASE_REQUEST_SCHEMA = _chunk26K6T2YScjs.ROUTE_LEASE_REQUEST_SCHEMA; exports.ROUTE_LEASE_RESULT_SCHEMA = _chunk26K6T2YScjs.ROUTE_LEASE_RESULT_SCHEMA; exports.ROUTE_LEASE_RUNTIMES = _chunk26K6T2YScjs.ROUTE_LEASE_RUNTIMES; exports.ROUTE_LEASE_RUNTIME_TABLE = _chunk26K6T2YScjs.ROUTE_LEASE_RUNTIME_TABLE; exports.ROUTE_LEASE_SESSION_HASH_DOMAIN = _chunk26K6T2YScjs.ROUTE_LEASE_SESSION_HASH_DOMAIN; exports.RouteLeaseError = _chunk26K6T2YScjs.RouteLeaseError; exports.RouteLeaseManager = _chunk26K6T2YScjs.RouteLeaseManager; exports.RouteLeaseTargetResolver = _chunk26K6T2YScjs.RouteLeaseTargetResolver; exports.SUBSCRIPTION_PROVIDER_IDS = _chunk4VZX5F4Tcjs.SUBSCRIPTION_PROVIDER_IDS; exports.SYSTEM_ROUTE_LEASE_CLOCK = _chunk26K6T2YScjs.SYSTEM_ROUTE_LEASE_CLOCK; exports.SerialQueueTimeoutError = _chunk26K6T2YScjs.SerialQueueTimeoutError; exports.TransformerChainExecutor = _chunkIIRPUVPHcjs.TransformerChainExecutor; exports.TransformerService = _chunk3OPYJG76cjs.TransformerService; exports.UsageRecorder = _chunkEPN67EGPcjs.UsageRecorder; exports.UserMessageSerialQueue = _chunk26K6T2YScjs.UserMessageSerialQueue; exports.__resetOutboundApiServerForTests = _chunk26K6T2YScjs.__resetOutboundApiServerForTests; exports.__resetProviderProxyForTests = _chunk26K6T2YScjs.__resetProviderProxyForTests; exports.addOpenRouterProviderToRequest = _chunk26K6T2YScjs.addOpenRouterProviderToRequest; exports.applyAugmentation = _chunkJMJBSACDcjs.applyAugmentation; exports.attachStreamEventBuffer = _chunk26K6T2YScjs.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 = _chunk26K6T2YScjs.candidateBackgroundModelIds; exports.candidateGatewayBindings = _chunk26K6T2YScjs.candidateGatewayBindings; exports.canonicalizeRouteLeasePayload = _chunk26K6T2YScjs.canonicalizeRouteLeasePayload; exports.checkKeyQuota = _chunk26K6T2YScjs.checkKeyQuota; exports.classifyModelPrefix = _chunk4VZX5F4Tcjs.classifyModelPrefix; exports.computeKeyExpiry = _chunk26K6T2YScjs.computeKeyExpiry; exports.computeVoucherGrant = _chunk26K6T2YScjs.computeVoucherGrant; exports.convertAnthropicRequestToOpenAI = _chunkGDIXXKF2cjs.convertAnthropicRequestToOpenAI; exports.convertAnthropicStreamToOpenAI = _chunkGDIXXKF2cjs.convertAnthropicStreamToOpenAI; exports.convertAnthropicToOpenAI = _chunkGDIXXKF2cjs.convertAnthropicToOpenAI; exports.convertAnthropicToOpenAIWithThinking = _chunkGDIXXKF2cjs.convertAnthropicToOpenAIWithThinking; exports.convertMessageToAnthropic = _chunk26K6T2YScjs.convertMessageToAnthropic; exports.convertMessageToGemini = _chunk26K6T2YScjs.convertMessageToGemini; exports.convertMessageToOpenAI = _chunk26K6T2YScjs.convertMessageToOpenAI; exports.convertOpenAIResponseToAnthropic = _chunkGDIXXKF2cjs.convertOpenAIResponseToAnthropic; exports.convertOpenAIStreamToAnthropic = _chunkGDIXXKF2cjs.convertOpenAIStreamToAnthropic; exports.convertOpenAIToAnthropic = _chunkGDIXXKF2cjs.convertOpenAIToAnthropic; exports.convertOpenAIToAnthropicWithThinking = _chunkGDIXXKF2cjs.convertOpenAIToAnthropicWithThinking; exports.createIntegrationKey = _chunk26K6T2YScjs.createIntegrationKey; exports.createNamedKey = _chunk26K6T2YScjs.createNamedKey; exports.createSSEParser = _chunkHQP3K7PUcjs.createSSEParser; exports.defaultServerConfig = _chunk26K6T2YScjs.defaultServerConfig; exports.detectModelKind = _chunk4VZX5F4Tcjs.detectModelKind; exports.detectNativeSearch = _chunkJMJBSACDcjs.detectNativeSearch; exports.detectRequestRole = _chunk4VZX5F4Tcjs.detectRequestRole; exports.emitStreamEvent = _chunk26K6T2YScjs.emit; exports.endpointSupportsSubscription = _chunk4VZX5F4Tcjs.endpointSupportsSubscription; exports.endpointToIngressFormat = _chunk4VZX5F4Tcjs.endpointToIngressFormat; exports.extractRouteToken = _chunk26K6T2YScjs.extractRouteToken; exports.formatUrls = _chunk26K6T2YScjs.formatUrls; exports.gatewayBindingToEndpointConfig = _chunk26K6T2YScjs.gatewayBindingToEndpointConfig; exports.generateVoucherCode = _chunk26K6T2YScjs.generateVoucherCode; exports.getBuiltinSearchTools = _chunkNZYN7C3Pcjs.getBuiltinSearchTools; exports.getOpenRouterAppIdentity = _chunkUNEFIWXIcjs.getOpenRouterAppIdentity; exports.getOpenRouterProviderConfig = _chunk26K6T2YScjs.getOpenRouterProviderConfig; exports.getOutboundApiServer = _chunk26K6T2YScjs.getOutboundApiServer; exports.getProviderHeaders = _chunkQ27JY5RGcjs.getProviderHeaders; exports.getProviderProxy = _chunk26K6T2YScjs.getProviderProxy; exports.handleVoucherRedeem = _chunk26K6T2YScjs.handleVoucherRedeem; exports.hasImageContent = _chunkGDIXXKF2cjs.hasImageContent; exports.hasThinkingEnabled = _chunkGDIXXKF2cjs.hasThinkingEnabled; exports.hashKey = _chunk26K6T2YScjs.hashKey; exports.hashRouteLeasePayload = _chunk26K6T2YScjs.hashRouteLeasePayload; exports.hashRouteLeaseSessionId = _chunk26K6T2YScjs.hashRouteLeaseSessionId; exports.hashVoucherCode = _chunk26K6T2YScjs.hashVoucherCode; exports.isBoundAccountSelectionError = _chunk25GXJCEZcjs.isBoundAccountSelectionError; exports.isConcurrencyRejection = _chunk26K6T2YScjs.isConcurrencyRejection; exports.isKindMappedEndpoint = _chunk4VZX5F4Tcjs.isKindMappedEndpoint; exports.isLoopbackAddress = _chunk26K6T2YScjs.isLoopbackAddress; exports.isOpenRouterProvider = _chunkUNEFIWXIcjs.isOpenRouterProvider; exports.isRedeemRequest = _chunk26K6T2YScjs.isRedeemRequest; exports.isSerialQueueTimeout = _chunk26K6T2YScjs.isSerialQueueTimeout; exports.isSubscriptionProviderId = _chunk4VZX5F4Tcjs.isSubscriptionProviderId; exports.isUserMessageRequest = _chunk26K6T2YScjs.isUserMessageRequest; exports.legacyEndpointsToBindings = _chunk26K6T2YScjs.legacyEndpointsToBindings; exports.loadServerConfig = _chunk26K6T2YScjs.loadServerConfig; exports.mergeServerConfig = _chunk26K6T2YScjs.mergeServerConfig; exports.modelKindsForEndpoint = _chunk4VZX5F4Tcjs.modelKindsForEndpoint; exports.newVoucherId = _chunk26K6T2YScjs.newVoucherId; exports.normalizeAccountProbe = _chunk26K6T2YScjs.normalizeAccountProbe; exports.normalizeAllowanceScheduling = _chunk26K6T2YScjs.normalizeAllowanceScheduling; exports.normalizeAudit = _chunk26K6T2YScjs.normalizeAudit; exports.normalizeAzureEndpoint = _chunkA2YMUCBTcjs.normalizeAzureEndpoint; exports.normalizeBilling = _chunk26K6T2YScjs.normalizeBilling; exports.normalizeFingerprint = _chunk26K6T2YScjs.normalizeFingerprint; exports.normalizeGatewayBindings = _chunk26K6T2YScjs.normalizeGatewayBindings; exports.normalizePrefixTargets = _chunk26K6T2YScjs.normalizePrefixTargets; exports.normalizeProxyConfig = _chunk26K6T2YScjs.normalizeProxyConfig; exports.normalizeProxySegment = _chunk26K6T2YScjs.normalizeProxySegment; exports.normalizeQueueSegments = _chunk26K6T2YScjs.normalizeQueueSegments; exports.normalizeRouteLeaseIdempotencyKey = _chunk26K6T2YScjs.normalizeRouteLeaseIdempotencyKey; exports.normalizeRouteLeaseTtl = _chunk26K6T2YScjs.normalizeRouteLeaseTtl; exports.normalizeServerConfig = _chunk26K6T2YScjs.normalizeServerConfig; exports.normalizeVoucher = _chunk26K6T2YScjs.normalizeVoucher; exports.normalizeWebhookDestination = _chunk26K6T2YScjs.normalizeWebhookDestination; exports.normalizeWebhookSegment = _chunk26K6T2YScjs.normalizeWebhookSegment; exports.parseModelRef = _chunk4VZX5F4Tcjs.parseModelRef; exports.parseRouteLeaseCreate = _chunk26K6T2YScjs.parseRouteLeaseCreate; exports.pickModelRefFromList = _chunk4VZX5F4Tcjs.pickModelRefFromList; exports.randomBase62 = _chunk26K6T2YScjs.randomBase62; exports.redactAuditText = _chunkFCR77GYMcjs.redactAuditText; exports.registerBuiltinTransformers = _chunk2Z4XM3H5cjs.registerBuiltinTransformers; exports.registerStreamEventBuffer = _chunk26K6T2YScjs.register; exports.releaseStreamEventBuffer = _chunk26K6T2YScjs.release; exports.resolveApiFormat = _chunkA2YMUCBTcjs.resolveApiFormat; exports.resolveGatewayBinding = _chunk26K6T2YScjs.resolveGatewayBinding; exports.resolvePrefixTarget = _chunk4VZX5F4Tcjs.resolvePrefixTarget; exports.resolveProviderEndpoint = _chunkA2YMUCBTcjs.resolveProviderEndpoint; exports.resolveRoute = _chunk4VZX5F4Tcjs.resolveRoute; exports.routeLeaseRuntime = _chunk26K6T2YScjs.routeLeaseRuntime; exports.saveServerConfig = _chunk26K6T2YScjs.saveServerConfig; exports.serializeError = _chunkSVNDB62Dcjs.serializeError; exports.setOpenRouterAppIdentity = _chunkUNEFIWXIcjs.setOpenRouterAppIdentity; exports.startOfLocalDay = _chunk26K6T2YScjs.startOfLocalDay; exports.startOfLocalWeek = _chunk26K6T2YScjs.startOfLocalWeek; exports.streamSSEResponse = _chunkHQP3K7PUcjs.streamSSEResponse; exports.toVoucherInfo = _chunk26K6T2YScjs.toVoucherInfo; exports.validateEndpointModelConfig = _chunk4VZX5F4Tcjs.validateEndpointModelConfig; exports.verifyKey = _chunk26K6T2YScjs.verifyKey; exports.verifyPresentedKey = _chunk26K6T2YScjs.verifyPresentedKey; exports.voucherCodePrefix = _chunk26K6T2YScjs.voucherCodePrefix;
414
+ exports.AUDIT_REDACTED = _chunkFCR77GYMcjs.AUDIT_REDACTED; exports.BoundAccountSelectionError = _chunk25GXJCEZcjs.BoundAccountSelectionError; exports.BuiltinToolExecutor = _chunkNZYN7C3Pcjs.BuiltinToolExecutor; exports.CompletionService = _chunkTIT74RILcjs.CompletionService; exports.ConcurrencyQueueFullError = _chunkTIT74RILcjs.ConcurrencyQueueFullError; exports.ConcurrencyWaitCancelledError = _chunkTIT74RILcjs.ConcurrencyWaitCancelledError; exports.ConcurrencyWaitTimeoutError = _chunkTIT74RILcjs.ConcurrencyWaitTimeoutError; exports.DEFAULT_ACCOUNT_PROBE = _chunkTIT74RILcjs.DEFAULT_ACCOUNT_PROBE; exports.DEFAULT_ALLOWANCE_SCHEDULING = _chunkTIT74RILcjs.DEFAULT_ALLOWANCE_SCHEDULING; exports.DEFAULT_CONCURRENCY_QUEUE = _chunkTIT74RILcjs.DEFAULT_CONCURRENCY_QUEUE; exports.DEFAULT_FINGERPRINT = _chunkTIT74RILcjs.DEFAULT_FINGERPRINT; exports.DEFAULT_OUTBOUND_PORT = _chunkTIT74RILcjs.DEFAULT_OUTBOUND_PORT; exports.DEFAULT_ROUTE_IDLE_MS = _chunkTIT74RILcjs.DEFAULT_ROUTE_IDLE_MS; exports.DEFAULT_USER_MESSAGE_QUEUE = _chunkTIT74RILcjs.DEFAULT_USER_MESSAGE_QUEUE; exports.ENDPOINT_MODEL_KINDS = _chunk4IH4EL7Mcjs.ENDPOINT_MODEL_KINDS; exports.KeySpendTracker = _chunkTIT74RILcjs.KeySpendTracker; exports.KeyedMutex = _chunkTIT74RILcjs.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 = _chunkTIT74RILcjs.OUTBOUND_API_SERVER_CONFIG_KEY; exports.OutboundApiServer = _chunkTIT74RILcjs.OutboundApiServer; exports.OutboundConcurrencyGate = _chunkTIT74RILcjs.OutboundConcurrencyGate; exports.OutboundRateLimiter = _chunkTIT74RILcjs.OutboundRateLimiter; exports.PricingEngine = _chunk2E42SAW3cjs.PricingEngine; exports.ProviderProxy = _chunkTIT74RILcjs.ProviderProxy; exports.ProviderProxyRouteMap = _chunkTIT74RILcjs.ProviderProxyRouteMap; exports.ROUTE_LEASE_API_VERSION = _chunkTIT74RILcjs.ROUTE_LEASE_API_VERSION; exports.ROUTE_LEASE_CAPABILITIES = _chunkTIT74RILcjs.ROUTE_LEASE_CAPABILITIES; exports.ROUTE_LEASE_CAPABILITIES_SCHEMA = _chunkTIT74RILcjs.ROUTE_LEASE_CAPABILITIES_SCHEMA; exports.ROUTE_LEASE_CODEX_TOKEN_ENV = _chunkTIT74RILcjs.ROUTE_LEASE_CODEX_TOKEN_ENV; exports.ROUTE_LEASE_DEFAULT_TTL_SECONDS = _chunkTIT74RILcjs.ROUTE_LEASE_DEFAULT_TTL_SECONDS; exports.ROUTE_LEASE_MAX_CONSUMER_BYTES = _chunkTIT74RILcjs.ROUTE_LEASE_MAX_CONSUMER_BYTES; exports.ROUTE_LEASE_MAX_EXECUTION_ID_BYTES = _chunkTIT74RILcjs.ROUTE_LEASE_MAX_EXECUTION_ID_BYTES; exports.ROUTE_LEASE_MAX_IDEMPOTENCY_BYTES = _chunkTIT74RILcjs.ROUTE_LEASE_MAX_IDEMPOTENCY_BYTES; exports.ROUTE_LEASE_MAX_MODEL_BYTES = _chunkTIT74RILcjs.ROUTE_LEASE_MAX_MODEL_BYTES; exports.ROUTE_LEASE_MAX_SESSION_ID_BYTES = _chunkTIT74RILcjs.ROUTE_LEASE_MAX_SESSION_ID_BYTES; exports.ROUTE_LEASE_MAX_TTL_SECONDS = _chunkTIT74RILcjs.ROUTE_LEASE_MAX_TTL_SECONDS; exports.ROUTE_LEASE_REQUEST_SCHEMA = _chunkTIT74RILcjs.ROUTE_LEASE_REQUEST_SCHEMA; exports.ROUTE_LEASE_RESULT_SCHEMA = _chunkTIT74RILcjs.ROUTE_LEASE_RESULT_SCHEMA; exports.ROUTE_LEASE_RUNTIMES = _chunkTIT74RILcjs.ROUTE_LEASE_RUNTIMES; exports.ROUTE_LEASE_RUNTIME_TABLE = _chunkTIT74RILcjs.ROUTE_LEASE_RUNTIME_TABLE; exports.ROUTE_LEASE_SESSION_HASH_DOMAIN = _chunkTIT74RILcjs.ROUTE_LEASE_SESSION_HASH_DOMAIN; exports.RouteLeaseError = _chunkTIT74RILcjs.RouteLeaseError; exports.RouteLeaseManager = _chunkTIT74RILcjs.RouteLeaseManager; exports.RouteLeaseTargetResolver = _chunkTIT74RILcjs.RouteLeaseTargetResolver; exports.SUBSCRIPTION_PROVIDER_IDS = _chunk4VZX5F4Tcjs.SUBSCRIPTION_PROVIDER_IDS; exports.SYSTEM_ROUTE_LEASE_CLOCK = _chunkTIT74RILcjs.SYSTEM_ROUTE_LEASE_CLOCK; exports.SerialQueueTimeoutError = _chunkTIT74RILcjs.SerialQueueTimeoutError; exports.TransformerChainExecutor = _chunkIIRPUVPHcjs.TransformerChainExecutor; exports.TransformerService = _chunk3OPYJG76cjs.TransformerService; exports.UsageRecorder = _chunk5UK3KLE2cjs.UsageRecorder; exports.UserMessageSerialQueue = _chunkTIT74RILcjs.UserMessageSerialQueue; exports.__resetOutboundApiServerForTests = _chunkTIT74RILcjs.__resetOutboundApiServerForTests; exports.__resetProviderProxyForTests = _chunkTIT74RILcjs.__resetProviderProxyForTests; exports.addOpenRouterProviderToRequest = _chunkTIT74RILcjs.addOpenRouterProviderToRequest; exports.applyAugmentation = _chunkJMJBSACDcjs.applyAugmentation; exports.attachStreamEventBuffer = _chunkTIT74RILcjs.attach; exports.beginAuditCapture = _chunkUWDW6PN3cjs.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 = _chunkTIT74RILcjs.candidateBackgroundModelIds; exports.candidateGatewayBindings = _chunkTIT74RILcjs.candidateGatewayBindings; exports.canonicalizeRouteLeasePayload = _chunkTIT74RILcjs.canonicalizeRouteLeasePayload; exports.checkKeyQuota = _chunkTIT74RILcjs.checkKeyQuota; exports.classifyModelPrefix = _chunk4VZX5F4Tcjs.classifyModelPrefix; exports.computeKeyExpiry = _chunkTIT74RILcjs.computeKeyExpiry; exports.computeVoucherGrant = _chunkTIT74RILcjs.computeVoucherGrant; exports.convertAnthropicRequestToOpenAI = _chunkGDIXXKF2cjs.convertAnthropicRequestToOpenAI; exports.convertAnthropicStreamToOpenAI = _chunkGDIXXKF2cjs.convertAnthropicStreamToOpenAI; exports.convertAnthropicToOpenAI = _chunkGDIXXKF2cjs.convertAnthropicToOpenAI; exports.convertAnthropicToOpenAIWithThinking = _chunkGDIXXKF2cjs.convertAnthropicToOpenAIWithThinking; exports.convertMessageToAnthropic = _chunkTIT74RILcjs.convertMessageToAnthropic; exports.convertMessageToGemini = _chunkTIT74RILcjs.convertMessageToGemini; exports.convertMessageToOpenAI = _chunkTIT74RILcjs.convertMessageToOpenAI; exports.convertOpenAIResponseToAnthropic = _chunkGDIXXKF2cjs.convertOpenAIResponseToAnthropic; exports.convertOpenAIStreamToAnthropic = _chunkGDIXXKF2cjs.convertOpenAIStreamToAnthropic; exports.convertOpenAIToAnthropic = _chunkGDIXXKF2cjs.convertOpenAIToAnthropic; exports.convertOpenAIToAnthropicWithThinking = _chunkGDIXXKF2cjs.convertOpenAIToAnthropicWithThinking; exports.createIntegrationKey = _chunkTIT74RILcjs.createIntegrationKey; exports.createNamedKey = _chunkTIT74RILcjs.createNamedKey; exports.createSSEParser = _chunkHQP3K7PUcjs.createSSEParser; exports.defaultServerConfig = _chunkTIT74RILcjs.defaultServerConfig; exports.detectModelKind = _chunk4VZX5F4Tcjs.detectModelKind; exports.detectNativeSearch = _chunkJMJBSACDcjs.detectNativeSearch; exports.detectRequestRole = _chunk4VZX5F4Tcjs.detectRequestRole; exports.emitStreamEvent = _chunkTIT74RILcjs.emit; exports.endpointSupportsSubscription = _chunk4VZX5F4Tcjs.endpointSupportsSubscription; exports.endpointToIngressFormat = _chunk4VZX5F4Tcjs.endpointToIngressFormat; exports.extractRouteToken = _chunkTIT74RILcjs.extractRouteToken; exports.formatUrls = _chunkTIT74RILcjs.formatUrls; exports.gatewayBindingToEndpointConfig = _chunkTIT74RILcjs.gatewayBindingToEndpointConfig; exports.generateVoucherCode = _chunkTIT74RILcjs.generateVoucherCode; exports.getBuiltinSearchTools = _chunkNZYN7C3Pcjs.getBuiltinSearchTools; exports.getOpenRouterAppIdentity = _chunkUNEFIWXIcjs.getOpenRouterAppIdentity; exports.getOpenRouterProviderConfig = _chunkTIT74RILcjs.getOpenRouterProviderConfig; exports.getOutboundApiServer = _chunkTIT74RILcjs.getOutboundApiServer; exports.getProviderHeaders = _chunkQ27JY5RGcjs.getProviderHeaders; exports.getProviderProxy = _chunkTIT74RILcjs.getProviderProxy; exports.handleVoucherRedeem = _chunkTIT74RILcjs.handleVoucherRedeem; exports.hasImageContent = _chunkGDIXXKF2cjs.hasImageContent; exports.hasThinkingEnabled = _chunkGDIXXKF2cjs.hasThinkingEnabled; exports.hashKey = _chunkTIT74RILcjs.hashKey; exports.hashRouteLeasePayload = _chunkTIT74RILcjs.hashRouteLeasePayload; exports.hashRouteLeaseSessionId = _chunkTIT74RILcjs.hashRouteLeaseSessionId; exports.hashVoucherCode = _chunkTIT74RILcjs.hashVoucherCode; exports.isBoundAccountSelectionError = _chunk25GXJCEZcjs.isBoundAccountSelectionError; exports.isConcurrencyRejection = _chunkTIT74RILcjs.isConcurrencyRejection; exports.isKindMappedEndpoint = _chunk4VZX5F4Tcjs.isKindMappedEndpoint; exports.isLoopbackAddress = _chunkTIT74RILcjs.isLoopbackAddress; exports.isOpenRouterProvider = _chunkUNEFIWXIcjs.isOpenRouterProvider; exports.isRedeemRequest = _chunkTIT74RILcjs.isRedeemRequest; exports.isSerialQueueTimeout = _chunkTIT74RILcjs.isSerialQueueTimeout; exports.isSubscriptionProviderId = _chunk4VZX5F4Tcjs.isSubscriptionProviderId; exports.isUserMessageRequest = _chunkTIT74RILcjs.isUserMessageRequest; exports.legacyEndpointsToBindings = _chunkTIT74RILcjs.legacyEndpointsToBindings; exports.loadServerConfig = _chunkTIT74RILcjs.loadServerConfig; exports.mergeServerConfig = _chunkTIT74RILcjs.mergeServerConfig; exports.modelKindsForEndpoint = _chunk4VZX5F4Tcjs.modelKindsForEndpoint; exports.newVoucherId = _chunkTIT74RILcjs.newVoucherId; exports.normalizeAccountProbe = _chunkTIT74RILcjs.normalizeAccountProbe; exports.normalizeAllowanceScheduling = _chunkTIT74RILcjs.normalizeAllowanceScheduling; exports.normalizeAudit = _chunkTIT74RILcjs.normalizeAudit; exports.normalizeAzureEndpoint = _chunkA2YMUCBTcjs.normalizeAzureEndpoint; exports.normalizeBilling = _chunkTIT74RILcjs.normalizeBilling; exports.normalizeFingerprint = _chunkTIT74RILcjs.normalizeFingerprint; exports.normalizeGatewayBindings = _chunkTIT74RILcjs.normalizeGatewayBindings; exports.normalizePrefixTargets = _chunkTIT74RILcjs.normalizePrefixTargets; exports.normalizeProxyConfig = _chunkTIT74RILcjs.normalizeProxyConfig; exports.normalizeProxySegment = _chunkTIT74RILcjs.normalizeProxySegment; exports.normalizeQueueSegments = _chunkTIT74RILcjs.normalizeQueueSegments; exports.normalizeRouteLeaseIdempotencyKey = _chunkTIT74RILcjs.normalizeRouteLeaseIdempotencyKey; exports.normalizeRouteLeaseTtl = _chunkTIT74RILcjs.normalizeRouteLeaseTtl; exports.normalizeServerConfig = _chunkTIT74RILcjs.normalizeServerConfig; exports.normalizeVoucher = _chunkTIT74RILcjs.normalizeVoucher; exports.normalizeWebhookDestination = _chunkTIT74RILcjs.normalizeWebhookDestination; exports.normalizeWebhookSegment = _chunkTIT74RILcjs.normalizeWebhookSegment; exports.parseModelRef = _chunk4VZX5F4Tcjs.parseModelRef; exports.parseRouteLeaseCreate = _chunkTIT74RILcjs.parseRouteLeaseCreate; exports.pickModelRefFromList = _chunk4VZX5F4Tcjs.pickModelRefFromList; exports.randomBase62 = _chunkTIT74RILcjs.randomBase62; exports.redactAuditText = _chunkFCR77GYMcjs.redactAuditText; exports.registerBuiltinTransformers = _chunkP7EM6BNDcjs.registerBuiltinTransformers; exports.registerStreamEventBuffer = _chunkTIT74RILcjs.register; exports.releaseStreamEventBuffer = _chunkTIT74RILcjs.release; exports.resolveApiFormat = _chunkA2YMUCBTcjs.resolveApiFormat; exports.resolveGatewayBinding = _chunkTIT74RILcjs.resolveGatewayBinding; exports.resolvePrefixTarget = _chunk4VZX5F4Tcjs.resolvePrefixTarget; exports.resolveProviderEndpoint = _chunkA2YMUCBTcjs.resolveProviderEndpoint; exports.resolveRoute = _chunk4VZX5F4Tcjs.resolveRoute; exports.routeLeaseRuntime = _chunkTIT74RILcjs.routeLeaseRuntime; exports.saveServerConfig = _chunkTIT74RILcjs.saveServerConfig; exports.serializeError = _chunkSVNDB62Dcjs.serializeError; exports.setOpenRouterAppIdentity = _chunkUNEFIWXIcjs.setOpenRouterAppIdentity; exports.startOfLocalDay = _chunkTIT74RILcjs.startOfLocalDay; exports.startOfLocalWeek = _chunkTIT74RILcjs.startOfLocalWeek; exports.streamSSEResponse = _chunkHQP3K7PUcjs.streamSSEResponse; exports.toVoucherInfo = _chunkTIT74RILcjs.toVoucherInfo; exports.validateEndpointModelConfig = _chunk4VZX5F4Tcjs.validateEndpointModelConfig; exports.verifyKey = _chunkTIT74RILcjs.verifyKey; exports.verifyPresentedKey = _chunkTIT74RILcjs.verifyPresentedKey; exports.voucherCodePrefix = _chunkTIT74RILcjs.voucherCodePrefix;
package/dist/index.d.cts CHANGED
@@ -23,7 +23,8 @@ export { convertAnthropicRequestToOpenAI, convertAnthropicStreamToOpenAI, conver
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 { Annotation, ImageContent, MessageContent, ModelRoute, ModelTransformerConfig, ReasoningConfig, RequestConfig, RequestRouteInfo, ResolvedTransformerChain, StreamChunk, TextContent, ThinkLevel, ThinkingContent, ToolCall, ToolChoice, ToolParameterSchema, TransformRequestResult, Transformer, TransformerChainConfig, TransformerConfigEntry, TransformerConstructor, TransformerContext, TransformerLogger, TransformerOptions, TransformerReference, TransformerServiceConfig, UnifiedChatRequest, UnifiedChatResponse, UnifiedMessage, UnifiedTool, UrlCitation } from './transformer/types.cjs';
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';
@@ -32,7 +33,6 @@ export { D as DEFAULT_ROUTE_IDLE_MS, P as ProviderProxy, a as ProviderProxyRoute
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
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
@@ -23,7 +23,8 @@ export { convertAnthropicRequestToOpenAI, convertAnthropicStreamToOpenAI, conver
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 { Annotation, ImageContent, MessageContent, ModelRoute, ModelTransformerConfig, ReasoningConfig, RequestConfig, RequestRouteInfo, ResolvedTransformerChain, StreamChunk, TextContent, ThinkLevel, ThinkingContent, ToolCall, ToolChoice, ToolParameterSchema, TransformRequestResult, Transformer, TransformerChainConfig, TransformerConfigEntry, TransformerConstructor, TransformerContext, TransformerLogger, TransformerOptions, TransformerReference, TransformerServiceConfig, UnifiedChatRequest, UnifiedChatResponse, UnifiedMessage, UnifiedTool, UrlCitation } from './transformer/types.js';
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';
@@ -32,7 +33,6 @@ export { D as DEFAULT_ROUTE_IDLE_MS, P as ProviderProxy, a as ProviderProxyRoute
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
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
@@ -107,27 +107,27 @@ import {
107
107
  verifyKey,
108
108
  verifyPresentedKey,
109
109
  voucherCodePrefix
110
- } from "./chunk-QYC54PMG.js";
110
+ } from "./chunk-FEBAQI5A.js";
111
111
  import {
112
112
  createSSEParser,
113
113
  streamSSEResponse
114
114
  } from "./chunk-VVEHS2LI.js";
115
- import "./chunk-46RLHI7D.js";
115
+ import "./chunk-WTQMX2Q6.js";
116
116
  import {
117
117
  registerBuiltinTransformers
118
- } from "./chunk-MYYR3HZL.js";
119
- import "./chunk-PEGTIPB3.js";
120
- import "./chunk-LVUCAWMK.js";
121
- import "./chunk-32O35CIF.js";
118
+ } from "./chunk-NGYOO5TO.js";
119
+ import "./chunk-HKB656B4.js";
120
+ import "./chunk-55FMGZ3L.js";
121
+ import "./chunk-45FHEOKW.js";
122
122
  import "./chunk-FU7EAR73.js";
123
- import "./chunk-LB6EBS6Y.js";
124
- import "./chunk-7VU7V2E4.js";
123
+ import "./chunk-CCVRRJOX.js";
124
+ import "./chunk-6D4W22P4.js";
125
125
  import {
126
126
  PricingEngine
127
127
  } from "./chunk-FXR6N3SR.js";
128
128
  import {
129
129
  UsageRecorder
130
- } from "./chunk-UAPBLNN2.js";
130
+ } from "./chunk-AQDON6MB.js";
131
131
  import {
132
132
  TransformerChainExecutor
133
133
  } from "./chunk-WNKWAEUR.js";
@@ -197,7 +197,7 @@ import {
197
197
  } from "./chunk-H5JUT3KV.js";
198
198
  import {
199
199
  beginAuditCapture
200
- } from "./chunk-7C7DET6S.js";
200
+ } from "./chunk-GXEZ2R3E.js";
201
201
  import {
202
202
  AUDIT_REDACTED,
203
203
  redactAuditText
@@ -216,8 +216,10 @@ import {
216
216
  hasImageContent,
217
217
  hasThinkingEnabled
218
218
  } from "./chunk-5NJLQ6T6.js";
219
- import "./chunk-N5T4M4GU.js";
220
- import "./chunk-TOVPMMHM.js";
219
+ import "./chunk-2UTGX6FM.js";
220
+ import "./chunk-S3DYFEBE.js";
221
+ import "./chunk-WYVGULTQ.js";
222
+ import "./chunk-N2EIM2XJ.js";
221
223
  import "./chunk-RJ5ZGNI3.js";
222
224
  import "./chunk-3WD4HTR2.js";
223
225
  import "./chunk-MKF46GNZ.js";
@@ -1,9 +1,9 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
- var _chunkXPIOJQS2cjs = require('../chunk-XPIOJQS2.cjs');
3
+ var _chunkUWDW6PN3cjs = require('../chunk-UWDW6PN3.cjs');
4
4
  require('../chunk-FCR77GYM.cjs');
5
5
  require('../chunk-AEOZIDEB.cjs');
6
6
  require('../chunk-XSVNC2UD.cjs');
7
7
 
8
8
 
9
- exports.beginAuditCapture = _chunkXPIOJQS2cjs.beginAuditCapture;
9
+ exports.beginAuditCapture = _chunkUWDW6PN3cjs.beginAuditCapture;
@@ -40,6 +40,12 @@ interface AuditCaptureContext {
40
40
  provider?: string;
41
41
  /** Sanitized error message (set on a relay/dispatch failure). */
42
42
  error?: string;
43
+ /**
44
+ * Derived conversation-session key (set by the router once the request body is
45
+ * parsed). Shards the audit body store and anchors its per-turn delta chain.
46
+ * A truncated digest — NEVER a raw client id.
47
+ */
48
+ sessionKey?: string;
43
49
  /** Stash the raw request body for capture (a no-op unless `captureBodies`). */
44
50
  setRequestBody(raw: string): void;
45
51
  }
@@ -40,6 +40,12 @@ interface AuditCaptureContext {
40
40
  provider?: string;
41
41
  /** Sanitized error message (set on a relay/dispatch failure). */
42
42
  error?: string;
43
+ /**
44
+ * Derived conversation-session key (set by the router once the request body is
45
+ * parsed). Shards the audit body store and anchors its per-turn delta chain.
46
+ * A truncated digest — NEVER a raw client id.
47
+ */
48
+ sessionKey?: string;
43
49
  /** Stash the raw request body for capture (a no-op unless `captureBodies`). */
44
50
  setRequestBody(raw: string): void;
45
51
  }
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  beginAuditCapture
3
- } from "../chunk-7C7DET6S.js";
3
+ } from "../chunk-GXEZ2R3E.js";
4
4
  import "../chunk-K5NM7VAH.js";
5
5
  import "../chunk-WNY4WMRF.js";
6
6
  import "../chunk-OZFM4X3S.js";
@@ -4,9 +4,9 @@ import '../types-C2MwkLah.cjs';
4
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';
@@ -4,9 +4,9 @@ import '../types-BB8pxk_3.js';
4
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';
@@ -12,9 +12,9 @@ export { S as AccountHealthConfig, A as AccountProbeConfig, a as AllowanceSchedu
12
12
  import '../pipeline/BoundAccountSelectionError.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';
@@ -12,9 +12,9 @@ export { S as AccountHealthConfig, A as AccountProbeConfig, a as AllowanceSchedu
12
12
  import '../pipeline/BoundAccountSelectionError.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';
@@ -63,18 +63,18 @@
63
63
 
64
64
 
65
65
 
66
- var _chunk26K6T2YScjs = require('./chunk-26K6T2YS.cjs');
66
+ var _chunkTIT74RILcjs = require('./chunk-TIT74RIL.cjs');
67
67
  require('./chunk-HQP3K7PU.cjs');
68
- require('./chunk-FZ46M34D.cjs');
69
- require('./chunk-2Z4XM3H5.cjs');
70
- require('./chunk-OXHNSZ53.cjs');
71
- require('./chunk-V4TXMEJS.cjs');
72
- require('./chunk-OVQBNVSV.cjs');
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-OF3BECU2.cjs');
75
- require('./chunk-EYZYXJTJ.cjs');
74
+ require('./chunk-56QD3YW6.cjs');
75
+ require('./chunk-QUSEZNYS.cjs');
76
76
  require('./chunk-2E42SAW3.cjs');
77
- require('./chunk-EPN67EGP.cjs');
77
+ require('./chunk-5UK3KLE2.cjs');
78
78
  require('./chunk-IIRPUVPH.cjs');
79
79
  require('./chunk-GBHYAGX3.cjs');
80
80
  require('./chunk-3OPYJG76.cjs');
@@ -126,7 +126,7 @@ var _chunk4IH4EL7Mcjs = require('./chunk-4IH4EL7M.cjs');
126
126
  require('./chunk-A2YMUCBT.cjs');
127
127
 
128
128
 
129
- var _chunkXPIOJQS2cjs = require('./chunk-XPIOJQS2.cjs');
129
+ var _chunkUWDW6PN3cjs = require('./chunk-UWDW6PN3.cjs');
130
130
 
131
131
 
132
132
 
@@ -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-OKMJLEXX.cjs');
138
- require('./chunk-KBM2W6UY.cjs');
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 = _chunk26K6T2YScjs.ConcurrencyQueueFullError; exports.ConcurrencyWaitCancelledError = _chunk26K6T2YScjs.ConcurrencyWaitCancelledError; exports.ConcurrencyWaitTimeoutError = _chunk26K6T2YScjs.ConcurrencyWaitTimeoutError; exports.DEFAULT_ACCOUNT_PROBE = _chunk26K6T2YScjs.DEFAULT_ACCOUNT_PROBE; exports.DEFAULT_ALLOWANCE_SCHEDULING = _chunk26K6T2YScjs.DEFAULT_ALLOWANCE_SCHEDULING; exports.DEFAULT_CONCURRENCY_QUEUE = _chunk26K6T2YScjs.DEFAULT_CONCURRENCY_QUEUE; exports.DEFAULT_FINGERPRINT = _chunk26K6T2YScjs.DEFAULT_FINGERPRINT; exports.DEFAULT_OUTBOUND_PORT = _chunk26K6T2YScjs.DEFAULT_OUTBOUND_PORT; exports.DEFAULT_USER_MESSAGE_QUEUE = _chunk26K6T2YScjs.DEFAULT_USER_MESSAGE_QUEUE; exports.ENDPOINT_MODEL_KINDS = _chunk4IH4EL7Mcjs.ENDPOINT_MODEL_KINDS; exports.KeySpendTracker = _chunk26K6T2YScjs.KeySpendTracker; exports.KeyedMutex = _chunk26K6T2YScjs.KeyedMutex; exports.OUTBOUND_API_SERVER_CONFIG_KEY = _chunk26K6T2YScjs.OUTBOUND_API_SERVER_CONFIG_KEY; exports.OutboundApiServer = _chunk26K6T2YScjs.OutboundApiServer; exports.OutboundConcurrencyGate = _chunk26K6T2YScjs.OutboundConcurrencyGate; exports.OutboundRateLimiter = _chunk26K6T2YScjs.OutboundRateLimiter; exports.SUBSCRIPTION_PROVIDER_IDS = _chunk4VZX5F4Tcjs.SUBSCRIPTION_PROVIDER_IDS; exports.SerialQueueTimeoutError = _chunk26K6T2YScjs.SerialQueueTimeoutError; exports.UserMessageSerialQueue = _chunk26K6T2YScjs.UserMessageSerialQueue; exports.__resetOutboundApiServerForTests = _chunk26K6T2YScjs.__resetOutboundApiServerForTests; exports.beginAuditCapture = _chunkXPIOJQS2cjs.beginAuditCapture; exports.beginBillingCapture = _chunkAPYG5QD7cjs.beginBillingCapture; exports.boundAccountSelectionMessage = _chunk25GXJCEZcjs.boundAccountSelectionMessage; exports.candidateBackgroundModelIds = _chunk26K6T2YScjs.candidateBackgroundModelIds; exports.candidateGatewayBindings = _chunk26K6T2YScjs.candidateGatewayBindings; exports.checkKeyQuota = _chunk26K6T2YScjs.checkKeyQuota; exports.classifyModelPrefix = _chunk4VZX5F4Tcjs.classifyModelPrefix; exports.computeKeyExpiry = _chunk26K6T2YScjs.computeKeyExpiry; exports.computeVoucherGrant = _chunk26K6T2YScjs.computeVoucherGrant; exports.createIntegrationKey = _chunk26K6T2YScjs.createIntegrationKey; exports.createNamedKey = _chunk26K6T2YScjs.createNamedKey; exports.defaultServerConfig = _chunk26K6T2YScjs.defaultServerConfig; exports.detectModelKind = _chunk4VZX5F4Tcjs.detectModelKind; exports.detectRequestRole = _chunk4VZX5F4Tcjs.detectRequestRole; exports.endpointSupportsSubscription = _chunk4VZX5F4Tcjs.endpointSupportsSubscription; exports.endpointToIngressFormat = _chunk4VZX5F4Tcjs.endpointToIngressFormat; exports.formatUrls = _chunk26K6T2YScjs.formatUrls; exports.gatewayBindingToEndpointConfig = _chunk26K6T2YScjs.gatewayBindingToEndpointConfig; exports.generateVoucherCode = _chunk26K6T2YScjs.generateVoucherCode; exports.getOutboundApiServer = _chunk26K6T2YScjs.getOutboundApiServer; exports.handleVoucherRedeem = _chunk26K6T2YScjs.handleVoucherRedeem; exports.hashKey = _chunk26K6T2YScjs.hashKey; exports.hashVoucherCode = _chunk26K6T2YScjs.hashVoucherCode; exports.isBoundAccountSelectionError = _chunk25GXJCEZcjs.isBoundAccountSelectionError; exports.isConcurrencyRejection = _chunk26K6T2YScjs.isConcurrencyRejection; exports.isKindMappedEndpoint = _chunk4VZX5F4Tcjs.isKindMappedEndpoint; exports.isRedeemRequest = _chunk26K6T2YScjs.isRedeemRequest; exports.isSerialQueueTimeout = _chunk26K6T2YScjs.isSerialQueueTimeout; exports.isSubscriptionProviderId = _chunk4VZX5F4Tcjs.isSubscriptionProviderId; exports.isUserMessageRequest = _chunk26K6T2YScjs.isUserMessageRequest; exports.legacyEndpointsToBindings = _chunk26K6T2YScjs.legacyEndpointsToBindings; exports.loadServerConfig = _chunk26K6T2YScjs.loadServerConfig; exports.mergeServerConfig = _chunk26K6T2YScjs.mergeServerConfig; exports.modelKindsForEndpoint = _chunk4VZX5F4Tcjs.modelKindsForEndpoint; exports.newVoucherId = _chunk26K6T2YScjs.newVoucherId; exports.normalizeAccountProbe = _chunk26K6T2YScjs.normalizeAccountProbe; exports.normalizeAllowanceScheduling = _chunk26K6T2YScjs.normalizeAllowanceScheduling; exports.normalizeAudit = _chunk26K6T2YScjs.normalizeAudit; exports.normalizeBilling = _chunk26K6T2YScjs.normalizeBilling; exports.normalizeFingerprint = _chunk26K6T2YScjs.normalizeFingerprint; exports.normalizeGatewayBindings = _chunk26K6T2YScjs.normalizeGatewayBindings; exports.normalizePrefixTargets = _chunk26K6T2YScjs.normalizePrefixTargets; exports.normalizeProxyConfig = _chunk26K6T2YScjs.normalizeProxyConfig; exports.normalizeProxySegment = _chunk26K6T2YScjs.normalizeProxySegment; exports.normalizeQueueSegments = _chunk26K6T2YScjs.normalizeQueueSegments; exports.normalizeServerConfig = _chunk26K6T2YScjs.normalizeServerConfig; exports.normalizeVoucher = _chunk26K6T2YScjs.normalizeVoucher; exports.normalizeWebhookDestination = _chunk26K6T2YScjs.normalizeWebhookDestination; exports.normalizeWebhookSegment = _chunk26K6T2YScjs.normalizeWebhookSegment; exports.parseModelRef = _chunk4VZX5F4Tcjs.parseModelRef; exports.pickModelRefFromList = _chunk4VZX5F4Tcjs.pickModelRefFromList; exports.randomBase62 = _chunk26K6T2YScjs.randomBase62; exports.redactAuditText = _chunkFCR77GYMcjs.redactAuditText; exports.resolveGatewayBinding = _chunk26K6T2YScjs.resolveGatewayBinding; exports.resolvePrefixTarget = _chunk4VZX5F4Tcjs.resolvePrefixTarget; exports.resolveRoute = _chunk4VZX5F4Tcjs.resolveRoute; exports.saveServerConfig = _chunk26K6T2YScjs.saveServerConfig; exports.startOfLocalDay = _chunk26K6T2YScjs.startOfLocalDay; exports.startOfLocalWeek = _chunk26K6T2YScjs.startOfLocalWeek; exports.toVoucherInfo = _chunk26K6T2YScjs.toVoucherInfo; exports.validateEndpointModelConfig = _chunk4VZX5F4Tcjs.validateEndpointModelConfig; exports.verifyKey = _chunk26K6T2YScjs.verifyKey; exports.verifyPresentedKey = _chunk26K6T2YScjs.verifyPresentedKey; exports.voucherCodePrefix = _chunk26K6T2YScjs.voucherCodePrefix;
236
+ exports.AUDIT_REDACTED = _chunkFCR77GYMcjs.AUDIT_REDACTED; exports.BoundAccountSelectionError = _chunk25GXJCEZcjs.BoundAccountSelectionError; exports.ConcurrencyQueueFullError = _chunkTIT74RILcjs.ConcurrencyQueueFullError; exports.ConcurrencyWaitCancelledError = _chunkTIT74RILcjs.ConcurrencyWaitCancelledError; exports.ConcurrencyWaitTimeoutError = _chunkTIT74RILcjs.ConcurrencyWaitTimeoutError; exports.DEFAULT_ACCOUNT_PROBE = _chunkTIT74RILcjs.DEFAULT_ACCOUNT_PROBE; exports.DEFAULT_ALLOWANCE_SCHEDULING = _chunkTIT74RILcjs.DEFAULT_ALLOWANCE_SCHEDULING; exports.DEFAULT_CONCURRENCY_QUEUE = _chunkTIT74RILcjs.DEFAULT_CONCURRENCY_QUEUE; exports.DEFAULT_FINGERPRINT = _chunkTIT74RILcjs.DEFAULT_FINGERPRINT; exports.DEFAULT_OUTBOUND_PORT = _chunkTIT74RILcjs.DEFAULT_OUTBOUND_PORT; exports.DEFAULT_USER_MESSAGE_QUEUE = _chunkTIT74RILcjs.DEFAULT_USER_MESSAGE_QUEUE; exports.ENDPOINT_MODEL_KINDS = _chunk4IH4EL7Mcjs.ENDPOINT_MODEL_KINDS; exports.KeySpendTracker = _chunkTIT74RILcjs.KeySpendTracker; exports.KeyedMutex = _chunkTIT74RILcjs.KeyedMutex; exports.OUTBOUND_API_SERVER_CONFIG_KEY = _chunkTIT74RILcjs.OUTBOUND_API_SERVER_CONFIG_KEY; exports.OutboundApiServer = _chunkTIT74RILcjs.OutboundApiServer; exports.OutboundConcurrencyGate = _chunkTIT74RILcjs.OutboundConcurrencyGate; exports.OutboundRateLimiter = _chunkTIT74RILcjs.OutboundRateLimiter; exports.SUBSCRIPTION_PROVIDER_IDS = _chunk4VZX5F4Tcjs.SUBSCRIPTION_PROVIDER_IDS; exports.SerialQueueTimeoutError = _chunkTIT74RILcjs.SerialQueueTimeoutError; exports.UserMessageSerialQueue = _chunkTIT74RILcjs.UserMessageSerialQueue; exports.__resetOutboundApiServerForTests = _chunkTIT74RILcjs.__resetOutboundApiServerForTests; exports.beginAuditCapture = _chunkUWDW6PN3cjs.beginAuditCapture; exports.beginBillingCapture = _chunkAPYG5QD7cjs.beginBillingCapture; exports.boundAccountSelectionMessage = _chunk25GXJCEZcjs.boundAccountSelectionMessage; exports.candidateBackgroundModelIds = _chunkTIT74RILcjs.candidateBackgroundModelIds; exports.candidateGatewayBindings = _chunkTIT74RILcjs.candidateGatewayBindings; exports.checkKeyQuota = _chunkTIT74RILcjs.checkKeyQuota; exports.classifyModelPrefix = _chunk4VZX5F4Tcjs.classifyModelPrefix; exports.computeKeyExpiry = _chunkTIT74RILcjs.computeKeyExpiry; exports.computeVoucherGrant = _chunkTIT74RILcjs.computeVoucherGrant; exports.createIntegrationKey = _chunkTIT74RILcjs.createIntegrationKey; exports.createNamedKey = _chunkTIT74RILcjs.createNamedKey; exports.defaultServerConfig = _chunkTIT74RILcjs.defaultServerConfig; exports.detectModelKind = _chunk4VZX5F4Tcjs.detectModelKind; exports.detectRequestRole = _chunk4VZX5F4Tcjs.detectRequestRole; exports.endpointSupportsSubscription = _chunk4VZX5F4Tcjs.endpointSupportsSubscription; exports.endpointToIngressFormat = _chunk4VZX5F4Tcjs.endpointToIngressFormat; exports.formatUrls = _chunkTIT74RILcjs.formatUrls; exports.gatewayBindingToEndpointConfig = _chunkTIT74RILcjs.gatewayBindingToEndpointConfig; exports.generateVoucherCode = _chunkTIT74RILcjs.generateVoucherCode; exports.getOutboundApiServer = _chunkTIT74RILcjs.getOutboundApiServer; exports.handleVoucherRedeem = _chunkTIT74RILcjs.handleVoucherRedeem; exports.hashKey = _chunkTIT74RILcjs.hashKey; exports.hashVoucherCode = _chunkTIT74RILcjs.hashVoucherCode; exports.isBoundAccountSelectionError = _chunk25GXJCEZcjs.isBoundAccountSelectionError; exports.isConcurrencyRejection = _chunkTIT74RILcjs.isConcurrencyRejection; exports.isKindMappedEndpoint = _chunk4VZX5F4Tcjs.isKindMappedEndpoint; exports.isRedeemRequest = _chunkTIT74RILcjs.isRedeemRequest; exports.isSerialQueueTimeout = _chunkTIT74RILcjs.isSerialQueueTimeout; exports.isSubscriptionProviderId = _chunk4VZX5F4Tcjs.isSubscriptionProviderId; exports.isUserMessageRequest = _chunkTIT74RILcjs.isUserMessageRequest; exports.legacyEndpointsToBindings = _chunkTIT74RILcjs.legacyEndpointsToBindings; exports.loadServerConfig = _chunkTIT74RILcjs.loadServerConfig; exports.mergeServerConfig = _chunkTIT74RILcjs.mergeServerConfig; exports.modelKindsForEndpoint = _chunk4VZX5F4Tcjs.modelKindsForEndpoint; exports.newVoucherId = _chunkTIT74RILcjs.newVoucherId; exports.normalizeAccountProbe = _chunkTIT74RILcjs.normalizeAccountProbe; exports.normalizeAllowanceScheduling = _chunkTIT74RILcjs.normalizeAllowanceScheduling; exports.normalizeAudit = _chunkTIT74RILcjs.normalizeAudit; exports.normalizeBilling = _chunkTIT74RILcjs.normalizeBilling; exports.normalizeFingerprint = _chunkTIT74RILcjs.normalizeFingerprint; exports.normalizeGatewayBindings = _chunkTIT74RILcjs.normalizeGatewayBindings; exports.normalizePrefixTargets = _chunkTIT74RILcjs.normalizePrefixTargets; exports.normalizeProxyConfig = _chunkTIT74RILcjs.normalizeProxyConfig; exports.normalizeProxySegment = _chunkTIT74RILcjs.normalizeProxySegment; exports.normalizeQueueSegments = _chunkTIT74RILcjs.normalizeQueueSegments; exports.normalizeServerConfig = _chunkTIT74RILcjs.normalizeServerConfig; exports.normalizeVoucher = _chunkTIT74RILcjs.normalizeVoucher; exports.normalizeWebhookDestination = _chunkTIT74RILcjs.normalizeWebhookDestination; exports.normalizeWebhookSegment = _chunkTIT74RILcjs.normalizeWebhookSegment; exports.parseModelRef = _chunk4VZX5F4Tcjs.parseModelRef; exports.pickModelRefFromList = _chunk4VZX5F4Tcjs.pickModelRefFromList; exports.randomBase62 = _chunkTIT74RILcjs.randomBase62; exports.redactAuditText = _chunkFCR77GYMcjs.redactAuditText; exports.resolveGatewayBinding = _chunkTIT74RILcjs.resolveGatewayBinding; exports.resolvePrefixTarget = _chunk4VZX5F4Tcjs.resolvePrefixTarget; exports.resolveRoute = _chunk4VZX5F4Tcjs.resolveRoute; exports.saveServerConfig = _chunkTIT74RILcjs.saveServerConfig; exports.startOfLocalDay = _chunkTIT74RILcjs.startOfLocalDay; exports.startOfLocalWeek = _chunkTIT74RILcjs.startOfLocalWeek; exports.toVoucherInfo = _chunkTIT74RILcjs.toVoucherInfo; exports.validateEndpointModelConfig = _chunk4VZX5F4Tcjs.validateEndpointModelConfig; exports.verifyKey = _chunkTIT74RILcjs.verifyKey; exports.verifyPresentedKey = _chunkTIT74RILcjs.verifyPresentedKey; exports.voucherCodePrefix = _chunkTIT74RILcjs.voucherCodePrefix;
@@ -19,9 +19,9 @@ import './logger-4GvQNzhE.cjs';
19
19
  import './ports/provider-config-source.cjs';
20
20
  import '@omnicross/contracts/llm-config';
21
21
  import './transformer/types.cjs';
22
+ import '@omnicross/contracts/completion-types';
22
23
  import './transformer/TransformerService.cjs';
23
24
  import './ProviderProxy-QdwNV6l1.cjs';
24
- import '@omnicross/contracts/completion-types';
25
25
  import '@omnicross/contracts/usage-stats-types';
26
26
  import '@omnicross/contracts/subscription-types';
27
27
  import '@omnicross/contracts/usage-types';
@@ -197,7 +197,8 @@ declare function normalizeAccountProbe(raw: Partial<OutboundApiServerConfig> | u
197
197
  * (request-audit-log, design D2). Lenient like the other segment normalizers:
198
198
  * `enabled`/`captureBodies`/`trustForwardedFor` coerce to booleans (default
199
199
  * false). `maxBodyBytes:-1` means unlimited; other finite values clamp to
200
- * `[0, 1_048_576]`. `retentionDays` clamps to `[1, 365]`. Default (all-off) ⇒
200
+ * `[0, 1_048_576]`. `retentionDays` clamps to `[1, 365]`;
201
+ * `compactStreamingBodies` coerces to a boolean (default false). Default (all-off) ⇒
201
202
  * no capture ⇒ zero regression.
202
203
  */
203
204
  declare function normalizeAudit(raw: Partial<OutboundApiServerConfig> | undefined | null): AuditConfig;
@@ -19,9 +19,9 @@ import './logger-4GvQNzhE.js';
19
19
  import './ports/provider-config-source.js';
20
20
  import '@omnicross/contracts/llm-config';
21
21
  import './transformer/types.js';
22
+ import '@omnicross/contracts/completion-types';
22
23
  import './transformer/TransformerService.js';
23
24
  import './ProviderProxy--ROec6VI.js';
24
- import '@omnicross/contracts/completion-types';
25
25
  import '@omnicross/contracts/usage-stats-types';
26
26
  import '@omnicross/contracts/subscription-types';
27
27
  import '@omnicross/contracts/usage-types';
@@ -197,7 +197,8 @@ declare function normalizeAccountProbe(raw: Partial<OutboundApiServerConfig> | u
197
197
  * (request-audit-log, design D2). Lenient like the other segment normalizers:
198
198
  * `enabled`/`captureBodies`/`trustForwardedFor` coerce to booleans (default
199
199
  * false). `maxBodyBytes:-1` means unlimited; other finite values clamp to
200
- * `[0, 1_048_576]`. `retentionDays` clamps to `[1, 365]`. Default (all-off) ⇒
200
+ * `[0, 1_048_576]`. `retentionDays` clamps to `[1, 365]`;
201
+ * `compactStreamingBodies` coerces to a boolean (default false). Default (all-off) ⇒
201
202
  * no capture ⇒ zero regression.
202
203
  */
203
204
  declare function normalizeAudit(raw: Partial<OutboundApiServerConfig> | undefined | null): AuditConfig;
@@ -63,18 +63,18 @@ import {
63
63
  verifyKey,
64
64
  verifyPresentedKey,
65
65
  voucherCodePrefix
66
- } from "./chunk-QYC54PMG.js";
66
+ } from "./chunk-FEBAQI5A.js";
67
67
  import "./chunk-VVEHS2LI.js";
68
- import "./chunk-46RLHI7D.js";
69
- import "./chunk-MYYR3HZL.js";
70
- import "./chunk-PEGTIPB3.js";
71
- import "./chunk-LVUCAWMK.js";
72
- import "./chunk-32O35CIF.js";
68
+ import "./chunk-WTQMX2Q6.js";
69
+ import "./chunk-NGYOO5TO.js";
70
+ import "./chunk-HKB656B4.js";
71
+ import "./chunk-55FMGZ3L.js";
72
+ import "./chunk-45FHEOKW.js";
73
73
  import "./chunk-FU7EAR73.js";
74
- import "./chunk-LB6EBS6Y.js";
75
- import "./chunk-7VU7V2E4.js";
74
+ import "./chunk-CCVRRJOX.js";
75
+ import "./chunk-6D4W22P4.js";
76
76
  import "./chunk-FXR6N3SR.js";
77
- import "./chunk-UAPBLNN2.js";
77
+ import "./chunk-AQDON6MB.js";
78
78
  import "./chunk-WNKWAEUR.js";
79
79
  import "./chunk-MZNPGW5Q.js";
80
80
  import "./chunk-DK4A7DLE.js";
@@ -126,7 +126,7 @@ import {
126
126
  import "./chunk-H5JUT3KV.js";
127
127
  import {
128
128
  beginAuditCapture
129
- } from "./chunk-7C7DET6S.js";
129
+ } from "./chunk-GXEZ2R3E.js";
130
130
  import {
131
131
  AUDIT_REDACTED,
132
132
  redactAuditText
@@ -134,8 +134,10 @@ import {
134
134
  import "./chunk-WNY4WMRF.js";
135
135
  import "./chunk-OZFM4X3S.js";
136
136
  import "./chunk-5NJLQ6T6.js";
137
- import "./chunk-N5T4M4GU.js";
138
- import "./chunk-TOVPMMHM.js";
137
+ import "./chunk-2UTGX6FM.js";
138
+ import "./chunk-S3DYFEBE.js";
139
+ import "./chunk-WYVGULTQ.js";
140
+ import "./chunk-N2EIM2XJ.js";
139
141
  import "./chunk-RJ5ZGNI3.js";
140
142
  import "./chunk-3WD4HTR2.js";
141
143
  import "./chunk-MKF46GNZ.js";
@@ -11,11 +11,11 @@ import '../logger-4GvQNzhE.cjs';
11
11
  import '../ports/provider-config-source.cjs';
12
12
  import '@omnicross/contracts/llm-config';
13
13
  import '../transformer/types.cjs';
14
+ import '@omnicross/contracts/completion-types';
14
15
  import '../transformer/TransformerService.cjs';
15
16
  import '../ProviderProxy-QdwNV6l1.cjs';
16
17
  import '../provider-proxy/types.cjs';
17
18
  import 'node:http';
18
- import '@omnicross/contracts/completion-types';
19
19
  import '@omnicross/contracts/usage-stats-types';
20
20
  import '@omnicross/contracts/usage-types';
21
21
  import '../completion/ApiKeyPoolService.cjs';
@@ -11,11 +11,11 @@ import '../logger-4GvQNzhE.js';
11
11
  import '../ports/provider-config-source.js';
12
12
  import '@omnicross/contracts/llm-config';
13
13
  import '../transformer/types.js';
14
+ import '@omnicross/contracts/completion-types';
14
15
  import '../transformer/TransformerService.js';
15
16
  import '../ProviderProxy--ROec6VI.js';
16
17
  import '../provider-proxy/types.js';
17
18
  import 'node:http';
18
- import '@omnicross/contracts/completion-types';
19
19
  import '@omnicross/contracts/usage-stats-types';
20
20
  import '@omnicross/contracts/usage-types';
21
21
  import '../completion/ApiKeyPoolService.js';
@@ -1,5 +1,7 @@
1
1
  import { TransformerChainExecutor, ChainExecutionOptions } from '../transformer/TransformerChainExecutor.cjs';
2
2
  import { UnifiedChatRequest, LLMProvider, ResolvedTransformerChain, Transformer, RequestConfig } from '../transformer/types.cjs';
3
+ import '@omnicross/contracts/llm-config';
4
+ import '@omnicross/contracts/completion-types';
3
5
 
4
6
  /**
5
7
  * executeProviderCall — shared provider-request exchange core.
@@ -1,5 +1,7 @@
1
1
  import { TransformerChainExecutor, ChainExecutionOptions } from '../transformer/TransformerChainExecutor.js';
2
2
  import { UnifiedChatRequest, LLMProvider, ResolvedTransformerChain, Transformer, RequestConfig } from '../transformer/types.js';
3
+ import '@omnicross/contracts/llm-config';
4
+ import '@omnicross/contracts/completion-types';
3
5
 
4
6
  /**
5
7
  * executeProviderCall — shared provider-request exchange core.
@@ -2,6 +2,7 @@ import { ProviderConfigSource } from '../ports/provider-config-source.cjs';
2
2
  import { Transformer } from '../transformer/types.cjs';
3
3
  import '@omnicross/contracts/llm-config';
4
4
  import '../transformer/TransformerService.cjs';
5
+ import '@omnicross/contracts/completion-types';
5
6
 
6
7
  /**
7
8
  * resolveProviderChain — shared transformer-chain resolution helper.
@@ -2,6 +2,7 @@ import { ProviderConfigSource } from '../ports/provider-config-source.js';
2
2
  import { Transformer } from '../transformer/types.js';
3
3
  import '@omnicross/contracts/llm-config';
4
4
  import '../transformer/TransformerService.js';
5
+ import '@omnicross/contracts/completion-types';
5
6
 
6
7
  /**
7
8
  * resolveProviderChain — shared transformer-chain resolution helper.
@@ -1,6 +1,8 @@
1
1
  import { TransformerService } from '../transformer/TransformerService.cjs';
2
2
  import { Transformer, ResolvedTransformerChain } from '../transformer/types.cjs';
3
3
  import { SubscriptionAuthProfile } from './SubscriptionAuthSource.cjs';
4
+ import '@omnicross/contracts/llm-config';
5
+ import '@omnicross/contracts/completion-types';
4
6
  import '@omnicross/contracts/subscription-types';
5
7
  import './AuthSource.cjs';
6
8
  import './BoundAccountSelectionError.cjs';