@omnicross/core 0.1.5 → 0.1.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/ApiConverter.cjs +2 -2
- package/dist/ApiConverter.js +1 -1
- package/dist/{CompletionService-DdWaAxq0.d.ts → CompletionService-C3BX0Ovy.d.ts} +4 -3
- package/dist/{CompletionService-D3a47vdU.d.cts → CompletionService-kNA17cfI.d.cts} +4 -3
- package/dist/auth/GeminiCodeAssistProjectResolver.cjs +6 -5
- package/dist/auth/GeminiCodeAssistProjectResolver.js +4 -3
- package/dist/{chunk-HRRYG2AX.js → chunk-23S5OPIO.js} +10 -1
- package/dist/chunk-25GXJCEZ.cjs +40 -0
- package/dist/chunk-2JYRIADS.js +40 -0
- package/dist/{chunk-4XMYPW46.cjs → chunk-4VLRHHFE.cjs} +75 -33
- package/dist/{chunk-VACWOIRE.cjs → chunk-4VZX5F4T.cjs} +39 -15
- package/dist/{chunk-C6OV7GCC.js → chunk-6CL5HTPQ.js} +44 -2
- package/dist/chunk-6QQG7YG3.cjs +153 -0
- package/dist/{chunk-3Q6Z6JTO.cjs → chunk-6VUQPOV3.cjs} +277 -86
- package/dist/chunk-7AK7B36B.cjs +44 -0
- package/dist/{chunk-5ZQBEOMD.js → chunk-AT7B7SOZ.js} +25 -2
- package/dist/{chunk-IK3KE3AU.js → chunk-DE2SRBFZ.js} +1 -1
- package/dist/chunk-DLXZEZWO.cjs +285 -0
- package/dist/{chunk-UHGVBFU3.js → chunk-EBLFCNPY.js} +38 -14
- package/dist/chunk-EJLH6NFT.cjs +166 -0
- package/dist/chunk-HVBBDBS3.cjs +350 -0
- package/dist/{chunk-46ZIFWYG.cjs → chunk-IIRPUVPH.cjs} +7 -1
- package/dist/{chunk-JWVTXXPX.cjs → chunk-KBM2W6UY.cjs} +8 -4
- package/dist/{chunk-PG7PS2NN.cjs → chunk-KCVJWJST.cjs} +14 -2
- package/dist/chunk-LB6EBS6Y.js +69 -0
- package/dist/{chunk-IWQAX3CS.js → chunk-LVUCAWMK.js} +1 -1
- package/dist/chunk-MKF46GNZ.js +350 -0
- package/dist/{chunk-HYN75H6G.cjs → chunk-MUHWHQVM.cjs} +1 -1
- package/dist/{chunk-MFZ5437A.js → chunk-N5T4M4GU.js} +1 -1
- package/dist/{chunk-BODMAL6G.js → chunk-OEWZUX4G.js} +262 -71
- package/dist/chunk-OF3BECU2.cjs +69 -0
- package/dist/{chunk-DDMRUL76.cjs → chunk-OKMJLEXX.cjs} +5 -5
- package/dist/chunk-OPRS4IQZ.js +153 -0
- package/dist/{chunk-D3TDKWRP.js → chunk-SIZQQD6T.js} +14 -2
- package/dist/{chunk-CGKLE6IW.cjs → chunk-SQYVORNP.cjs} +1219 -510
- package/dist/{chunk-6QZGDLL4.js → chunk-TOVPMMHM.js} +5 -1
- package/dist/{chunk-FH2P4OCD.js → chunk-UDCC7EMR.js} +976 -267
- package/dist/{chunk-ZLX3KGXX.js → chunk-UX7VWA46.js} +135 -23
- package/dist/{chunk-K52THW2C.cjs → chunk-V4TXMEJS.cjs} +5 -5
- package/dist/chunk-VRFBB5DB.js +44 -0
- package/dist/chunk-WB6PH56J.js +166 -0
- package/dist/{chunk-G2UTNSGU.js → chunk-WNKWAEUR.js} +7 -1
- package/dist/{chunk-SUEGJ75D.cjs → chunk-WYTEQ4Q5.cjs} +25 -2
- package/dist/{chunk-5ENKBSWO.js → chunk-YJVHCHQX.js} +42 -6
- package/dist/{chunk-VQY5W4YW.cjs → chunk-YK57NMIF.cjs} +44 -8
- package/dist/{chunk-KFI44N2R.cjs → chunk-YNJNTCSQ.cjs} +10 -1
- package/dist/completion/ApiKeyPoolService.cjs +12 -0
- package/dist/completion/ApiKeyPoolService.d.cts +6 -0
- package/dist/completion/ApiKeyPoolService.d.ts +6 -0
- package/dist/completion/ApiKeyPoolService.js +12 -0
- package/dist/completion/CompletionService.cjs +25 -23
- package/dist/completion/CompletionService.d.cts +2 -1
- package/dist/completion/CompletionService.d.ts +2 -1
- package/dist/completion/CompletionService.js +24 -22
- package/dist/completion.cjs +25 -23
- package/dist/completion.d.cts +2 -1
- package/dist/completion.d.ts +2 -1
- package/dist/completion.js +24 -22
- package/dist/index.cjs +49 -26
- package/dist/index.d.cts +8 -8
- package/dist/index.d.ts +8 -8
- package/dist/index.js +52 -29
- package/dist/{keyPolicy-Cp0FntZl.d.ts → keyPolicy-zdWTu3CQ.d.cts} +1 -1
- package/dist/{keyPolicy-Cp0FntZl.d.cts → keyPolicy-zdWTu3CQ.d.ts} +1 -1
- package/dist/outbound-api/quotaWarn.d.cts +1 -1
- package/dist/outbound-api/quotaWarn.d.ts +1 -1
- package/dist/outbound-api/routeResolver.cjs +2 -2
- package/dist/outbound-api/routeResolver.d.cts +4 -3
- package/dist/outbound-api/routeResolver.d.ts +4 -3
- package/dist/outbound-api/routeResolver.js +1 -1
- package/dist/outbound-api/subscriptionRegistryPort.d.cts +1 -0
- package/dist/outbound-api/subscriptionRegistryPort.d.ts +1 -0
- package/dist/outbound-api/types.d.cts +3 -2
- package/dist/outbound-api/types.d.ts +3 -2
- package/dist/outbound-api.cjs +47 -24
- package/dist/outbound-api.d.cts +127 -85
- package/dist/outbound-api.d.ts +127 -85
- package/dist/outbound-api.js +50 -27
- package/dist/pipeline/AccountAllowanceScheduling.cjs +15 -0
- package/dist/pipeline/AccountAllowanceScheduling.d.cts +90 -0
- package/dist/pipeline/AccountAllowanceScheduling.d.ts +90 -0
- package/dist/pipeline/AccountAllowanceScheduling.js +15 -0
- package/dist/pipeline/AccountAllowanceStore.cjs +20 -0
- package/dist/pipeline/AccountAllowanceStore.d.cts +77 -0
- package/dist/pipeline/AccountAllowanceStore.d.ts +77 -0
- package/dist/pipeline/AccountAllowanceStore.js +20 -0
- package/dist/pipeline/AuthSource.d.cts +11 -2
- package/dist/pipeline/AuthSource.d.ts +11 -2
- package/dist/pipeline/BoundAccountSelectionError.cjs +10 -0
- package/dist/pipeline/BoundAccountSelectionError.d.cts +28 -0
- package/dist/pipeline/BoundAccountSelectionError.d.ts +28 -0
- package/dist/pipeline/BoundAccountSelectionError.js +10 -0
- package/dist/pipeline/LlmConfigProviderAuth.d.cts +1 -0
- package/dist/pipeline/LlmConfigProviderAuth.d.ts +1 -0
- package/dist/pipeline/SubscriptionAccountHealth.cjs +4 -2
- package/dist/pipeline/SubscriptionAccountHealth.d.cts +34 -6
- package/dist/pipeline/SubscriptionAccountHealth.d.ts +34 -6
- package/dist/pipeline/SubscriptionAccountHealth.js +3 -1
- package/dist/pipeline/SubscriptionAuthSource.cjs +5 -2
- package/dist/pipeline/SubscriptionAuthSource.d.cts +1 -0
- package/dist/pipeline/SubscriptionAuthSource.d.ts +1 -0
- package/dist/pipeline/SubscriptionAuthSource.js +4 -1
- package/dist/pipeline/SubscriptionAuthStrategy.d.cts +8 -3
- package/dist/pipeline/SubscriptionAuthStrategy.d.ts +8 -3
- package/dist/pipeline/executeProviderCall.cjs +2 -2
- package/dist/pipeline/executeProviderCall.d.cts +8 -3
- package/dist/pipeline/executeProviderCall.d.ts +8 -3
- package/dist/pipeline/executeProviderCall.js +1 -1
- package/dist/pipeline/resolveProviderChain.d.cts +2 -3
- package/dist/pipeline/resolveProviderChain.d.ts +2 -3
- package/dist/pipeline/resolveSubscriptionChain.d.cts +1 -0
- package/dist/pipeline/resolveSubscriptionChain.d.ts +1 -0
- package/dist/pipeline/upstreamFetch.cjs +3 -2
- package/dist/pipeline/upstreamFetch.js +2 -1
- package/dist/ports/pricing-store.d.cts +4 -3
- package/dist/ports/pricing-store.d.ts +4 -3
- package/dist/ports.d.cts +4 -3
- package/dist/ports.d.ts +4 -3
- package/dist/provider-proxy/ProviderProxy.cjs +25 -23
- package/dist/provider-proxy/ProviderProxy.d.cts +1 -0
- package/dist/provider-proxy/ProviderProxy.d.ts +1 -0
- package/dist/provider-proxy/ProviderProxy.js +24 -22
- package/dist/provider-proxy/ingress/providerProxyShared.cjs +27 -23
- package/dist/provider-proxy/ingress/providerProxyShared.d.cts +34 -5
- package/dist/provider-proxy/ingress/providerProxyShared.d.ts +34 -5
- package/dist/provider-proxy/ingress/providerProxyShared.js +26 -22
- package/dist/provider-proxy/matchText.cjs +4 -2
- package/dist/provider-proxy/matchText.d.cts +41 -6
- package/dist/provider-proxy/matchText.d.ts +41 -6
- package/dist/provider-proxy/matchText.js +3 -1
- package/dist/provider-proxy/types.d.cts +30 -2
- package/dist/provider-proxy/types.d.ts +30 -2
- package/dist/provider-proxy.cjs +25 -23
- package/dist/provider-proxy.d.cts +1 -0
- package/dist/provider-proxy.d.ts +1 -0
- package/dist/provider-proxy.js +24 -22
- package/dist/{routeResolver-C4T7yClx.d.ts → routeResolver-CHTv_Bs5.d.ts} +1 -1
- package/dist/{routeResolver-CB3tvJKy.d.cts → routeResolver-kepxnfcC.d.cts} +1 -1
- package/dist/transformer/TransformerChainExecutor.cjs +2 -2
- package/dist/transformer/TransformerChainExecutor.js +1 -1
- package/dist/transformer/transformers/AnthropicTransformer.cjs +2 -2
- package/dist/transformer/transformers/AnthropicTransformer.js +1 -1
- package/dist/transformer/transformers/GeminiCodeAssistTransformer.cjs +3 -3
- package/dist/transformer/transformers/GeminiCodeAssistTransformer.js +2 -2
- package/dist/transformer/transformers/GeminiTransformer.cjs +3 -3
- package/dist/transformer/transformers/GeminiTransformer.js +2 -2
- package/dist/transformer/transformers/OpenAIResponseTransformer.cjs +2 -2
- package/dist/transformer/transformers/OpenAIResponseTransformer.d.cts +1 -1
- package/dist/transformer/transformers/OpenAIResponseTransformer.d.ts +1 -1
- package/dist/transformer/transformers/OpenAIResponseTransformer.js +1 -1
- package/dist/transformer/transformers/OpenAITransformer.cjs +6 -0
- package/dist/transformer/transformers/OpenAITransformer.d.cts +68 -0
- package/dist/transformer/transformers/OpenAITransformer.d.ts +68 -0
- package/dist/transformer/transformers/OpenAITransformer.js +6 -0
- package/dist/transformer/transformers.cjs +8 -14
- package/dist/transformer/transformers.d.cts +12 -48
- package/dist/transformer/transformers.d.ts +12 -48
- package/dist/transformer/transformers.js +12 -18
- package/dist/transformer/types.d.cts +17 -0
- package/dist/transformer/types.d.ts +17 -0
- package/dist/transformer.cjs +10 -11
- package/dist/transformer.d.cts +1 -2
- package/dist/transformer.d.ts +1 -2
- package/dist/transformer.js +9 -10
- package/dist/{types-B8Arpxn0.d.cts → types-H3wGZSOo.d.cts} +134 -7
- package/dist/{types-lgPYQuZS.d.ts → types-hsoKrVQS.d.ts} +134 -7
- package/dist/usage/pricing-engine.cjs +2 -2
- package/dist/usage/pricing-engine.d.cts +9 -1
- package/dist/usage/pricing-engine.d.ts +9 -1
- package/dist/usage/pricing-engine.js +1 -1
- package/dist/usage.cjs +2 -2
- package/dist/usage.js +1 -1
- package/package.json +1 -1
- package/dist/chunk-7FEBOPJO.cjs +0 -50
- package/dist/chunk-DWKQZ2SK.cjs +0 -254
- package/dist/chunk-IAXWICZU.js +0 -69
- package/dist/chunk-IB3FDI4O.js +0 -50
- package/dist/chunk-OQWKZCXP.js +0 -242
- package/dist/chunk-QWBWGODS.cjs +0 -69
- package/dist/chunk-YMFAJFQT.cjs +0 -173
- package/dist/chunk-ZCIQ3L3R.cjs +0 -242
- package/dist/chunk-ZJZAOKI7.js +0 -254
- package/dist/transformer/transformers/OpenCodeGoTransformer.cjs +0 -6
- package/dist/transformer/transformers/OpenCodeGoTransformer.d.cts +0 -51
- package/dist/transformer/transformers/OpenCodeGoTransformer.d.ts +0 -51
- package/dist/transformer/transformers/OpenCodeGoTransformer.js +0 -6
- package/dist/transformer/transformers/ReasoningTransformer.cjs +0 -6
- package/dist/transformer/transformers/ReasoningTransformer.d.cts +0 -47
- package/dist/transformer/transformers/ReasoningTransformer.d.ts +0 -47
- package/dist/transformer/transformers/ReasoningTransformer.js +0 -6
|
@@ -4,6 +4,7 @@ import { SubscriptionProviderId, OpenCodeGoTokenConfig, OpenCodeGoScenario, Open
|
|
|
4
4
|
import { UsageEngineOrigin, UsageTokens } from '@omnicross/contracts/usage-types';
|
|
5
5
|
import { ApiKeyPoolService } from '../completion/ApiKeyPoolService.js';
|
|
6
6
|
import { AuthSource } from '../pipeline/AuthSource.js';
|
|
7
|
+
import { BoundAccountFallbackPolicy } from '../pipeline/BoundAccountSelectionError.js';
|
|
7
8
|
import { SubscriptionAuthProfile } from '../pipeline/SubscriptionAuthSource.js';
|
|
8
9
|
import { AuthStrategy } from '../pipeline/SubscriptionAuthStrategy.js';
|
|
9
10
|
import { ProviderConfigSource } from '../ports/provider-config-source.js';
|
|
@@ -161,6 +162,15 @@ interface AnthropicRouteHandlerParams {
|
|
|
161
162
|
/** Lazy per-request resolver for the pass-through Bearer (takes precedence over the static one). */
|
|
162
163
|
readonly resolvePassThroughAuthToken?: (() => Promise<string | null>) | null;
|
|
163
164
|
readonly subscriptionProfile?: SubscriptionDispatchProfile | null;
|
|
165
|
+
/** Bound subscription account forwarded to the host's Anthropic handler. */
|
|
166
|
+
readonly preferredAccountId?: string;
|
|
167
|
+
readonly preferredAccountGroup?: string;
|
|
168
|
+
/** Strict by default; pool fallback is an explicit endpoint opt-in. */
|
|
169
|
+
readonly boundAccountFallbackPolicy?: BoundAccountFallbackPolicy;
|
|
170
|
+
/** Preferred provider-pool key selected by a resource-level binding. */
|
|
171
|
+
readonly preferredKeyId?: string;
|
|
172
|
+
/** Strict by default; pool fallback is an explicit binding opt-in. */
|
|
173
|
+
readonly boundKeyFallbackPolicy?: BoundAccountFallbackPolicy;
|
|
164
174
|
readonly maxConcurrency?: number;
|
|
165
175
|
/** Instance-level web-search backend; falls back to the proxy-global one. */
|
|
166
176
|
readonly webSearchService?: WebSearchBackend | null;
|
|
@@ -249,6 +259,15 @@ interface AnthropicSdkHints {
|
|
|
249
259
|
readonly extendedContext?: ExtendedContextHint | null;
|
|
250
260
|
/** Subscription dispatch profile (Codex/Gemini/OpenCodeGo over the SDK wire). */
|
|
251
261
|
readonly subscriptionProfile?: SubscriptionDispatchProfile | null;
|
|
262
|
+
/** Bound subscription account for the delegated Anthropic path. */
|
|
263
|
+
readonly preferredAccountId?: string;
|
|
264
|
+
readonly preferredAccountGroup?: string;
|
|
265
|
+
/** Strict by default; pool fallback is an explicit endpoint opt-in. */
|
|
266
|
+
readonly boundAccountFallbackPolicy?: BoundAccountFallbackPolicy;
|
|
267
|
+
/** Preferred provider-pool key for a delegated BYO Anthropic route. */
|
|
268
|
+
readonly preferredKeyId?: string;
|
|
269
|
+
/** Strict by default; pool fallback is an explicit binding opt-in. */
|
|
270
|
+
readonly boundKeyFallbackPolicy?: BoundAccountFallbackPolicy;
|
|
252
271
|
/** Per-request max-concurrency cap for the error-handler semaphore. */
|
|
253
272
|
readonly maxConcurrency?: number;
|
|
254
273
|
/** Instance-level web-search backend (falls back to the proxy-global one). */
|
|
@@ -338,10 +357,19 @@ interface RouteContext {
|
|
|
338
357
|
/**
|
|
339
358
|
* Per-request preferred subscription account id (provider/subscription
|
|
340
359
|
* duality). Stamped by the outbound `resolveRoute` from
|
|
341
|
-
* `EndpointRoutingConfig.boundAccountId`;
|
|
342
|
-
*
|
|
360
|
+
* `EndpointRoutingConfig.boundAccountId`; strict bindings fail when this
|
|
361
|
+
* account cannot serve. The pool is used only when the route carries the
|
|
362
|
+
* explicit `'pool'` fallback policy. Undefined ⇒ pool auto-schedule.
|
|
343
363
|
*/
|
|
344
364
|
readonly preferredAccountId?: string;
|
|
365
|
+
/** Account-group binding projected by the outbound gateway. */
|
|
366
|
+
readonly preferredAccountGroup?: string;
|
|
367
|
+
/** Bound-account behavior; `'pool'` is the explicit fallback opt-in. */
|
|
368
|
+
readonly boundAccountFallbackPolicy?: BoundAccountFallbackPolicy;
|
|
369
|
+
/** Optional provider key selected by a resource-level gateway binding. */
|
|
370
|
+
readonly preferredKeyId?: string;
|
|
371
|
+
/** Strict by default; `'pool'` permits normal provider key selection. */
|
|
372
|
+
readonly boundKeyFallbackPolicy?: BoundAccountFallbackPolicy;
|
|
345
373
|
/**
|
|
346
374
|
* OPAQUE per-account subscription config (opencodego-only). Populated by the
|
|
347
375
|
* route resolver from the subscription registry's `getOpenCodeGoConfig()`
|
package/dist/provider-proxy.cjs
CHANGED
|
@@ -5,37 +5,38 @@
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
var
|
|
8
|
+
var _chunkSQYVORNPcjs = require('./chunk-SQYVORNP.cjs');
|
|
9
|
+
require('./chunk-EJLH6NFT.cjs');
|
|
9
10
|
require('./chunk-HQP3K7PU.cjs');
|
|
10
11
|
require('./chunk-FZ46M34D.cjs');
|
|
11
|
-
require('./chunk-
|
|
12
|
+
require('./chunk-IIRPUVPH.cjs');
|
|
13
|
+
require('./chunk-GBHYAGX3.cjs');
|
|
12
14
|
require('./chunk-3OPYJG76.cjs');
|
|
13
|
-
require('./chunk-
|
|
14
|
-
require('./chunk-
|
|
15
|
-
require('./chunk-
|
|
16
|
-
require('./chunk-
|
|
17
|
-
require('./chunk-
|
|
18
|
-
require('./chunk-3Q6Z6JTO.cjs');
|
|
15
|
+
require('./chunk-7AK7B36B.cjs');
|
|
16
|
+
require('./chunk-V4TXMEJS.cjs');
|
|
17
|
+
require('./chunk-6VUQPOV3.cjs');
|
|
18
|
+
require('./chunk-OF3BECU2.cjs');
|
|
19
|
+
require('./chunk-4VLRHHFE.cjs');
|
|
19
20
|
require('./chunk-EYZYXJTJ.cjs');
|
|
20
|
-
require('./chunk-
|
|
21
|
+
require('./chunk-DLXZEZWO.cjs');
|
|
21
22
|
require('./chunk-SNYBEXLB.cjs');
|
|
22
|
-
require('./chunk-
|
|
23
|
+
require('./chunk-R3HK6R4B.cjs');
|
|
23
24
|
require('./chunk-RPII3E6Z.cjs');
|
|
24
25
|
require('./chunk-6RPZADX3.cjs');
|
|
25
|
-
require('./chunk-
|
|
26
|
+
require('./chunk-NYUNU75A.cjs');
|
|
27
|
+
require('./chunk-YK57NMIF.cjs');
|
|
28
|
+
require('./chunk-YNJNTCSQ.cjs');
|
|
29
|
+
require('./chunk-SVNDB62D.cjs');
|
|
26
30
|
require('./chunk-UIBD2YY5.cjs');
|
|
27
|
-
require('./chunk-
|
|
28
|
-
require('./chunk-
|
|
31
|
+
require('./chunk-6QQG7YG3.cjs');
|
|
32
|
+
require('./chunk-25GXJCEZ.cjs');
|
|
33
|
+
require('./chunk-MUHWHQVM.cjs');
|
|
29
34
|
require('./chunk-Q27JY5RG.cjs');
|
|
30
35
|
require('./chunk-QXD4MV2X.cjs');
|
|
31
|
-
require('./chunk-NYUNU75A.cjs');
|
|
32
|
-
require('./chunk-VQY5W4YW.cjs');
|
|
33
|
-
require('./chunk-KFI44N2R.cjs');
|
|
34
|
-
require('./chunk-SVNDB62D.cjs');
|
|
35
36
|
require('./chunk-APYG5QD7.cjs');
|
|
36
37
|
require('./chunk-L74VDN4A.cjs');
|
|
37
38
|
require('./chunk-4YINUUKQ.cjs');
|
|
38
|
-
require('./chunk-
|
|
39
|
+
require('./chunk-4VZX5F4T.cjs');
|
|
39
40
|
require('./chunk-QBZJ7P2T.cjs');
|
|
40
41
|
require('./chunk-4IH4EL7M.cjs');
|
|
41
42
|
require('./chunk-A2YMUCBT.cjs');
|
|
@@ -43,11 +44,12 @@ require('./chunk-UNWKG6EI.cjs');
|
|
|
43
44
|
require('./chunk-FCR77GYM.cjs');
|
|
44
45
|
require('./chunk-AEOZIDEB.cjs');
|
|
45
46
|
require('./chunk-XSVNC2UD.cjs');
|
|
46
|
-
require('./chunk-
|
|
47
|
-
require('./chunk-
|
|
48
|
-
require('./chunk-
|
|
49
|
-
require('./chunk-
|
|
47
|
+
require('./chunk-WYTEQ4Q5.cjs');
|
|
48
|
+
require('./chunk-OKMJLEXX.cjs');
|
|
49
|
+
require('./chunk-KBM2W6UY.cjs');
|
|
50
|
+
require('./chunk-KCVJWJST.cjs');
|
|
50
51
|
require('./chunk-3Z5BQZFM.cjs');
|
|
52
|
+
require('./chunk-HVBBDBS3.cjs');
|
|
51
53
|
require('./chunk-NZYN7C3P.cjs');
|
|
52
54
|
require('./chunk-JMJBSACD.cjs');
|
|
53
55
|
require('./chunk-GMMT7RVN.cjs');
|
|
@@ -59,4 +61,4 @@ require('./chunk-UNEFIWXI.cjs');
|
|
|
59
61
|
|
|
60
62
|
|
|
61
63
|
|
|
62
|
-
exports.DEFAULT_ROUTE_IDLE_MS =
|
|
64
|
+
exports.DEFAULT_ROUTE_IDLE_MS = _chunkSQYVORNPcjs.DEFAULT_ROUTE_IDLE_MS; exports.ProviderProxy = _chunkSQYVORNPcjs.ProviderProxy; exports.ProviderProxyRouteMap = _chunkSQYVORNPcjs.ProviderProxyRouteMap; exports.__resetProviderProxyForTests = _chunkSQYVORNPcjs.__resetProviderProxyForTests; exports.extractRouteToken = _chunkSQYVORNPcjs.extractRouteToken; exports.getProviderProxy = _chunkSQYVORNPcjs.getProviderProxy;
|
|
@@ -10,6 +10,7 @@ import './completion/ApiKeyPoolService.cjs';
|
|
|
10
10
|
import '@omnicross/contracts/llm-config';
|
|
11
11
|
import './logger-4GvQNzhE.cjs';
|
|
12
12
|
import './pipeline/AuthSource.cjs';
|
|
13
|
+
import './pipeline/BoundAccountSelectionError.cjs';
|
|
13
14
|
import './pipeline/SubscriptionAuthSource.cjs';
|
|
14
15
|
import './pipeline/SubscriptionAuthStrategy.cjs';
|
|
15
16
|
import './ports/provider-config-source.cjs';
|
package/dist/provider-proxy.d.ts
CHANGED
|
@@ -10,6 +10,7 @@ import './completion/ApiKeyPoolService.js';
|
|
|
10
10
|
import '@omnicross/contracts/llm-config';
|
|
11
11
|
import './logger-4GvQNzhE.js';
|
|
12
12
|
import './pipeline/AuthSource.js';
|
|
13
|
+
import './pipeline/BoundAccountSelectionError.js';
|
|
13
14
|
import './pipeline/SubscriptionAuthSource.js';
|
|
14
15
|
import './pipeline/SubscriptionAuthStrategy.js';
|
|
15
16
|
import './ports/provider-config-source.js';
|
package/dist/provider-proxy.js
CHANGED
|
@@ -5,37 +5,38 @@ import {
|
|
|
5
5
|
__resetProviderProxyForTests,
|
|
6
6
|
extractRouteToken,
|
|
7
7
|
getProviderProxy
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-UDCC7EMR.js";
|
|
9
|
+
import "./chunk-WB6PH56J.js";
|
|
9
10
|
import "./chunk-VVEHS2LI.js";
|
|
10
11
|
import "./chunk-46RLHI7D.js";
|
|
11
|
-
import "./chunk-
|
|
12
|
+
import "./chunk-WNKWAEUR.js";
|
|
13
|
+
import "./chunk-MZNPGW5Q.js";
|
|
12
14
|
import "./chunk-DK4A7DLE.js";
|
|
13
|
-
import "./chunk-
|
|
14
|
-
import "./chunk-
|
|
15
|
-
import "./chunk-
|
|
16
|
-
import "./chunk-
|
|
17
|
-
import "./chunk-
|
|
18
|
-
import "./chunk-BODMAL6G.js";
|
|
15
|
+
import "./chunk-VRFBB5DB.js";
|
|
16
|
+
import "./chunk-LVUCAWMK.js";
|
|
17
|
+
import "./chunk-OEWZUX4G.js";
|
|
18
|
+
import "./chunk-LB6EBS6Y.js";
|
|
19
|
+
import "./chunk-6CL5HTPQ.js";
|
|
19
20
|
import "./chunk-7VU7V2E4.js";
|
|
20
|
-
import "./chunk-
|
|
21
|
+
import "./chunk-UX7VWA46.js";
|
|
21
22
|
import "./chunk-BPKCU575.js";
|
|
22
|
-
import "./chunk-
|
|
23
|
+
import "./chunk-DRWHTIIZ.js";
|
|
23
24
|
import "./chunk-XTEI64OU.js";
|
|
24
25
|
import "./chunk-XX6NQJMA.js";
|
|
25
|
-
import "./chunk-
|
|
26
|
+
import "./chunk-5ERIZW3D.js";
|
|
27
|
+
import "./chunk-YJVHCHQX.js";
|
|
28
|
+
import "./chunk-23S5OPIO.js";
|
|
29
|
+
import "./chunk-AVYJ4YBN.js";
|
|
26
30
|
import "./chunk-OE6TDIWW.js";
|
|
27
|
-
import "./chunk-
|
|
28
|
-
import "./chunk-
|
|
31
|
+
import "./chunk-OPRS4IQZ.js";
|
|
32
|
+
import "./chunk-2JYRIADS.js";
|
|
33
|
+
import "./chunk-DE2SRBFZ.js";
|
|
29
34
|
import "./chunk-ZY6KU6P3.js";
|
|
30
35
|
import "./chunk-JWC6APFQ.js";
|
|
31
|
-
import "./chunk-5ERIZW3D.js";
|
|
32
|
-
import "./chunk-5ENKBSWO.js";
|
|
33
|
-
import "./chunk-HRRYG2AX.js";
|
|
34
|
-
import "./chunk-AVYJ4YBN.js";
|
|
35
36
|
import "./chunk-WLYIIEAF.js";
|
|
36
37
|
import "./chunk-TKJMZBAH.js";
|
|
37
38
|
import "./chunk-3QFXFCHG.js";
|
|
38
|
-
import "./chunk-
|
|
39
|
+
import "./chunk-EBLFCNPY.js";
|
|
39
40
|
import "./chunk-AQ5TNQB7.js";
|
|
40
41
|
import "./chunk-XEKD23J5.js";
|
|
41
42
|
import "./chunk-H5JUT3KV.js";
|
|
@@ -43,11 +44,12 @@ import "./chunk-IFXJ2BG7.js";
|
|
|
43
44
|
import "./chunk-K5NM7VAH.js";
|
|
44
45
|
import "./chunk-WNY4WMRF.js";
|
|
45
46
|
import "./chunk-OZFM4X3S.js";
|
|
46
|
-
import "./chunk-
|
|
47
|
-
import "./chunk-
|
|
48
|
-
import "./chunk-
|
|
49
|
-
import "./chunk-
|
|
47
|
+
import "./chunk-AT7B7SOZ.js";
|
|
48
|
+
import "./chunk-N5T4M4GU.js";
|
|
49
|
+
import "./chunk-TOVPMMHM.js";
|
|
50
|
+
import "./chunk-SIZQQD6T.js";
|
|
50
51
|
import "./chunk-SYQF7OIR.js";
|
|
52
|
+
import "./chunk-MKF46GNZ.js";
|
|
51
53
|
import "./chunk-CDHS2QDC.js";
|
|
52
54
|
import "./chunk-Y7FO65VT.js";
|
|
53
55
|
import "./chunk-FMOBD2OQ.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ProviderConfigSource } from './ports/provider-config-source.js';
|
|
2
2
|
import { IngressFormat, RouteContext } from './provider-proxy/types.js';
|
|
3
|
-
import {
|
|
3
|
+
import { s as OutboundEndpoint, Q as ModelRef, c as EndpointRoutingConfig, R as RequestRole } from './types-hsoKrVQS.js';
|
|
4
4
|
import { SubscriptionProviderId } from '@omnicross/contracts/subscription-types';
|
|
5
5
|
|
|
6
6
|
/**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ProviderConfigSource } from './ports/provider-config-source.cjs';
|
|
2
2
|
import { IngressFormat, RouteContext } from './provider-proxy/types.cjs';
|
|
3
|
-
import {
|
|
3
|
+
import { s as OutboundEndpoint, Q as ModelRef, c as EndpointRoutingConfig, R as RequestRole } from './types-H3wGZSOo.cjs';
|
|
4
4
|
import { SubscriptionProviderId } from '@omnicross/contracts/subscription-types';
|
|
5
5
|
|
|
6
6
|
/**
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _chunkIIRPUVPHcjs = require('../chunk-IIRPUVPH.cjs');
|
|
4
4
|
require('../chunk-GBHYAGX3.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
exports.TransformerChainExecutor =
|
|
7
|
+
exports.TransformerChainExecutor = _chunkIIRPUVPHcjs.TransformerChainExecutor;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _chunk4VLRHHFEcjs = require('../../chunk-4VLRHHFE.cjs');
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
exports.AnthropicTransformer =
|
|
6
|
+
exports.AnthropicTransformer = _chunk4VLRHHFEcjs.AnthropicTransformer;
|
|
@@ -3,11 +3,11 @@
|
|
|
3
3
|
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
var
|
|
7
|
-
require('../../chunk-
|
|
6
|
+
var _chunkOKMJLEXXcjs = require('../../chunk-OKMJLEXX.cjs');
|
|
7
|
+
require('../../chunk-KBM2W6UY.cjs');
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
|
|
12
12
|
|
|
13
|
-
exports.GeminiCodeAssistTransformer =
|
|
13
|
+
exports.GeminiCodeAssistTransformer = _chunkOKMJLEXXcjs.GeminiCodeAssistTransformer; exports.buildCodeAssistUrl = _chunkOKMJLEXXcjs.buildCodeAssistUrl; exports.resolveCodeAssistApiVersion = _chunkOKMJLEXXcjs.resolveCodeAssistApiVersion; exports.resolveCodeAssistEndpoint = _chunkOKMJLEXXcjs.resolveCodeAssistEndpoint;
|
|
@@ -3,8 +3,8 @@ import {
|
|
|
3
3
|
buildCodeAssistUrl,
|
|
4
4
|
resolveCodeAssistApiVersion,
|
|
5
5
|
resolveCodeAssistEndpoint
|
|
6
|
-
} from "../../chunk-
|
|
7
|
-
import "../../chunk-
|
|
6
|
+
} from "../../chunk-N5T4M4GU.js";
|
|
7
|
+
import "../../chunk-TOVPMMHM.js";
|
|
8
8
|
export {
|
|
9
9
|
GeminiCodeAssistTransformer,
|
|
10
10
|
buildCodeAssistUrl,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
require('../../chunk-
|
|
3
|
+
var _chunkV4TXMEJScjs = require('../../chunk-V4TXMEJS.cjs');
|
|
4
|
+
require('../../chunk-KBM2W6UY.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
exports.GeminiTransformer =
|
|
7
|
+
exports.GeminiTransformer = _chunkV4TXMEJScjs.GeminiTransformer;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _chunk6VUQPOV3cjs = require('../../chunk-6VUQPOV3.cjs');
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
exports.OpenAIResponseTransformer =
|
|
6
|
+
exports.OpenAIResponseTransformer = _chunk6VUQPOV3cjs.OpenAIResponseTransformer;
|
|
@@ -47,7 +47,7 @@ declare class OpenAIResponseTransformer implements Transformer {
|
|
|
47
47
|
/**
|
|
48
48
|
* Transform OpenAI CC response → Response API format
|
|
49
49
|
*/
|
|
50
|
-
transformResponseIn(response: Response,
|
|
50
|
+
transformResponseIn(response: Response, context?: TransformerContext): Promise<Response>;
|
|
51
51
|
}
|
|
52
52
|
|
|
53
53
|
export { OpenAIResponseTransformer };
|
|
@@ -47,7 +47,7 @@ declare class OpenAIResponseTransformer implements Transformer {
|
|
|
47
47
|
/**
|
|
48
48
|
* Transform OpenAI CC response → Response API format
|
|
49
49
|
*/
|
|
50
|
-
transformResponseIn(response: Response,
|
|
50
|
+
transformResponseIn(response: Response, context?: TransformerContext): Promise<Response>;
|
|
51
51
|
}
|
|
52
52
|
|
|
53
53
|
export { OpenAIResponseTransformer };
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
import { Transformer, TransformerLogger, UnifiedChatRequest, LLMProvider, TransformerContext } from '../types.cjs';
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* OpenAITransformer — the format-axis encoder for OpenAI Chat Completions
|
|
5
|
+
* upstreams.
|
|
6
|
+
*
|
|
7
|
+
* This is the fourth format transformer, alongside `anthropic`, `gemini`, and
|
|
8
|
+
* `openai-response`. It exists because `Unified` is OpenAI-chat-*shaped* but is
|
|
9
|
+
* NOT byte-identical to the OpenAI chat wire: an endpoint decoder can attach
|
|
10
|
+
* fields that only Anthropic understands, and the pipeline threads internal
|
|
11
|
+
* routing state through the same object. Before this transformer the `openai`
|
|
12
|
+
* format had NO encoder (`getMainTransformer` returned `null`), so every one of
|
|
13
|
+
* those leaks had to be patched per-vendor — `DeepseekTransformer` and
|
|
14
|
+
* `OpenCodeGoTransformer` were two copies of the same sanitizer, and every other
|
|
15
|
+
* OpenAI provider got no sanitizing at all.
|
|
16
|
+
*
|
|
17
|
+
* ## Request (Unified → OpenAI chat wire)
|
|
18
|
+
*
|
|
19
|
+
* BLACKLIST, not whitelist. Only known-foreign fields are touched; everything
|
|
20
|
+
* else passes through verbatim. A whitelist would silently drop the parameters
|
|
21
|
+
* the chat wire legitimately carries but `UnifiedChatRequest` never declared —
|
|
22
|
+
* `top_p`, `seed`, `stop`, `response_format`, `logprobs`, and in particular
|
|
23
|
+
* `stream_options.include_usage`, which is the ONLY reason a chat stream emits
|
|
24
|
+
* a final `usage` chunk (see `openaiChatIngress`'s usage tap). Dropping it would
|
|
25
|
+
* silently zero out streaming usage for every OpenAI provider.
|
|
26
|
+
*
|
|
27
|
+
* - `meta` (top level) — internal routing metadata; `UnifiedChatRequest.meta`
|
|
28
|
+
* documents that it must never be serialised.
|
|
29
|
+
* - `reasoning` (top level) — encoded as `reasoning_effort`.
|
|
30
|
+
* - `thinking` (top level) — Anthropic-shaped; the Anthropic decoder already
|
|
31
|
+
* turned the client's `thinking` into `reasoning`, so any survivor here is
|
|
32
|
+
* residue.
|
|
33
|
+
* - `cache_control` (per message, and inside text content blocks) — an
|
|
34
|
+
* Anthropic prompt-caching marker with no OpenAI-chat equivalent.
|
|
35
|
+
* - `thinking` (per message) — ENCODED, not dropped, as `reasoning_content`.
|
|
36
|
+
* Assistant turns carry prior reasoning that a reasoning upstream requires
|
|
37
|
+
* echoed back on the next tool-result turn; dropping it yields a 400
|
|
38
|
+
* ("reasoning_content must be passed back") on multi-round tool calls. The
|
|
39
|
+
* Anthropic `signature` has no chat-wire representation and is dropped.
|
|
40
|
+
*
|
|
41
|
+
* ## Response (OpenAI chat wire → Unified)
|
|
42
|
+
*
|
|
43
|
+
* Identity. On the `/v1/chat/completions` ingress the client wire IS Unified and
|
|
44
|
+
* there is no endpoint transformer to re-encode, so rewriting `reasoning_content`
|
|
45
|
+
* here would hand an OpenAI SDK a field it cannot read. `reasoning_content`
|
|
46
|
+
* therefore stays the Unified spelling on this path, which is what the Anthropic
|
|
47
|
+
* encoder (`convertOpenAIStreamToAnthropic`) already looks for.
|
|
48
|
+
*
|
|
49
|
+
* @module transformer/transformers/OpenAITransformer
|
|
50
|
+
*/
|
|
51
|
+
|
|
52
|
+
declare class OpenAITransformer implements Transformer {
|
|
53
|
+
static TransformerName: string;
|
|
54
|
+
name: string;
|
|
55
|
+
endPoint: string;
|
|
56
|
+
logger?: TransformerLogger;
|
|
57
|
+
/**
|
|
58
|
+
* Unified → OpenAI Chat Completions.
|
|
59
|
+
*/
|
|
60
|
+
transformRequestIn(request: UnifiedChatRequest, _provider: LLMProvider, _context: TransformerContext): Promise<Record<string, unknown>>;
|
|
61
|
+
/**
|
|
62
|
+
* OpenAI Chat Completions → Unified. Identity — see the module JSDoc for why
|
|
63
|
+
* `reasoning_content` is NOT rewritten here.
|
|
64
|
+
*/
|
|
65
|
+
transformResponseOut(response: Response, _context: TransformerContext): Promise<Response>;
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
export { OpenAITransformer };
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
import { Transformer, TransformerLogger, UnifiedChatRequest, LLMProvider, TransformerContext } from '../types.js';
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* OpenAITransformer — the format-axis encoder for OpenAI Chat Completions
|
|
5
|
+
* upstreams.
|
|
6
|
+
*
|
|
7
|
+
* This is the fourth format transformer, alongside `anthropic`, `gemini`, and
|
|
8
|
+
* `openai-response`. It exists because `Unified` is OpenAI-chat-*shaped* but is
|
|
9
|
+
* NOT byte-identical to the OpenAI chat wire: an endpoint decoder can attach
|
|
10
|
+
* fields that only Anthropic understands, and the pipeline threads internal
|
|
11
|
+
* routing state through the same object. Before this transformer the `openai`
|
|
12
|
+
* format had NO encoder (`getMainTransformer` returned `null`), so every one of
|
|
13
|
+
* those leaks had to be patched per-vendor — `DeepseekTransformer` and
|
|
14
|
+
* `OpenCodeGoTransformer` were two copies of the same sanitizer, and every other
|
|
15
|
+
* OpenAI provider got no sanitizing at all.
|
|
16
|
+
*
|
|
17
|
+
* ## Request (Unified → OpenAI chat wire)
|
|
18
|
+
*
|
|
19
|
+
* BLACKLIST, not whitelist. Only known-foreign fields are touched; everything
|
|
20
|
+
* else passes through verbatim. A whitelist would silently drop the parameters
|
|
21
|
+
* the chat wire legitimately carries but `UnifiedChatRequest` never declared —
|
|
22
|
+
* `top_p`, `seed`, `stop`, `response_format`, `logprobs`, and in particular
|
|
23
|
+
* `stream_options.include_usage`, which is the ONLY reason a chat stream emits
|
|
24
|
+
* a final `usage` chunk (see `openaiChatIngress`'s usage tap). Dropping it would
|
|
25
|
+
* silently zero out streaming usage for every OpenAI provider.
|
|
26
|
+
*
|
|
27
|
+
* - `meta` (top level) — internal routing metadata; `UnifiedChatRequest.meta`
|
|
28
|
+
* documents that it must never be serialised.
|
|
29
|
+
* - `reasoning` (top level) — encoded as `reasoning_effort`.
|
|
30
|
+
* - `thinking` (top level) — Anthropic-shaped; the Anthropic decoder already
|
|
31
|
+
* turned the client's `thinking` into `reasoning`, so any survivor here is
|
|
32
|
+
* residue.
|
|
33
|
+
* - `cache_control` (per message, and inside text content blocks) — an
|
|
34
|
+
* Anthropic prompt-caching marker with no OpenAI-chat equivalent.
|
|
35
|
+
* - `thinking` (per message) — ENCODED, not dropped, as `reasoning_content`.
|
|
36
|
+
* Assistant turns carry prior reasoning that a reasoning upstream requires
|
|
37
|
+
* echoed back on the next tool-result turn; dropping it yields a 400
|
|
38
|
+
* ("reasoning_content must be passed back") on multi-round tool calls. The
|
|
39
|
+
* Anthropic `signature` has no chat-wire representation and is dropped.
|
|
40
|
+
*
|
|
41
|
+
* ## Response (OpenAI chat wire → Unified)
|
|
42
|
+
*
|
|
43
|
+
* Identity. On the `/v1/chat/completions` ingress the client wire IS Unified and
|
|
44
|
+
* there is no endpoint transformer to re-encode, so rewriting `reasoning_content`
|
|
45
|
+
* here would hand an OpenAI SDK a field it cannot read. `reasoning_content`
|
|
46
|
+
* therefore stays the Unified spelling on this path, which is what the Anthropic
|
|
47
|
+
* encoder (`convertOpenAIStreamToAnthropic`) already looks for.
|
|
48
|
+
*
|
|
49
|
+
* @module transformer/transformers/OpenAITransformer
|
|
50
|
+
*/
|
|
51
|
+
|
|
52
|
+
declare class OpenAITransformer implements Transformer {
|
|
53
|
+
static TransformerName: string;
|
|
54
|
+
name: string;
|
|
55
|
+
endPoint: string;
|
|
56
|
+
logger?: TransformerLogger;
|
|
57
|
+
/**
|
|
58
|
+
* Unified → OpenAI Chat Completions.
|
|
59
|
+
*/
|
|
60
|
+
transformRequestIn(request: UnifiedChatRequest, _provider: LLMProvider, _context: TransformerContext): Promise<Record<string, unknown>>;
|
|
61
|
+
/**
|
|
62
|
+
* OpenAI Chat Completions → Unified. Identity — see the module JSDoc for why
|
|
63
|
+
* `reasoning_content` is NOT rewritten here.
|
|
64
|
+
*/
|
|
65
|
+
transformResponseOut(response: Response, _context: TransformerContext): Promise<Response>;
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
export { OpenAITransformer };
|
|
@@ -3,27 +3,26 @@
|
|
|
3
3
|
|
|
4
4
|
|
|
5
5
|
|
|
6
|
+
var _chunk7AK7B36Bcjs = require('../chunk-7AK7B36B.cjs');
|
|
6
7
|
|
|
7
|
-
var _chunkZCIQ3L3Rcjs = require('../chunk-ZCIQ3L3R.cjs');
|
|
8
8
|
|
|
9
|
+
var _chunkV4TXMEJScjs = require('../chunk-V4TXMEJS.cjs');
|
|
9
10
|
|
|
10
|
-
var _chunk7FEBOPJOcjs = require('../chunk-7FEBOPJO.cjs');
|
|
11
11
|
|
|
12
|
+
var _chunk6VUQPOV3cjs = require('../chunk-6VUQPOV3.cjs');
|
|
12
13
|
|
|
13
|
-
var _chunkDWKQZ2SKcjs = require('../chunk-DWKQZ2SK.cjs');
|
|
14
14
|
|
|
15
|
+
var _chunkOF3BECU2cjs = require('../chunk-OF3BECU2.cjs');
|
|
15
16
|
|
|
16
|
-
var _chunk4XMYPW46cjs = require('../chunk-4XMYPW46.cjs');
|
|
17
17
|
|
|
18
|
+
var _chunk4VLRHHFEcjs = require('../chunk-4VLRHHFE.cjs');
|
|
18
19
|
|
|
19
|
-
var _chunkK52THW2Ccjs = require('../chunk-K52THW2C.cjs');
|
|
20
20
|
|
|
21
|
+
var _chunkOKMJLEXXcjs = require('../chunk-OKMJLEXX.cjs');
|
|
22
|
+
require('../chunk-KBM2W6UY.cjs');
|
|
21
23
|
|
|
22
|
-
var _chunk3Q6Z6JTOcjs = require('../chunk-3Q6Z6JTO.cjs');
|
|
23
24
|
|
|
24
25
|
|
|
25
|
-
var _chunkDDMRUL76cjs = require('../chunk-DDMRUL76.cjs');
|
|
26
|
-
require('../chunk-JWVTXXPX.cjs');
|
|
27
26
|
|
|
28
27
|
|
|
29
28
|
|
|
@@ -31,9 +30,4 @@ require('../chunk-JWVTXXPX.cjs');
|
|
|
31
30
|
|
|
32
31
|
|
|
33
32
|
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
exports.AnthropicTransformer = _chunk4XMYPW46cjs.AnthropicTransformer; exports.BUILTIN_TRANSFORMER_NAMES = _chunkZCIQ3L3Rcjs.BUILTIN_TRANSFORMER_NAMES; exports.BuiltinTransformers = _chunkZCIQ3L3Rcjs.BuiltinTransformers; exports.DeepseekTransformer = _chunkZCIQ3L3Rcjs.DeepseekTransformer; exports.GeminiCodeAssistTransformer = _chunkDDMRUL76cjs.GeminiCodeAssistTransformer; exports.GeminiTransformer = _chunkK52THW2Ccjs.GeminiTransformer; exports.OpenAIResponseTransformer = _chunk3Q6Z6JTOcjs.OpenAIResponseTransformer; exports.OpenCodeGoTransformer = _chunk7FEBOPJOcjs.OpenCodeGoTransformer; exports.ReasoningTransformer = _chunkDWKQZ2SKcjs.ReasoningTransformer; exports.getBuiltinTransformers = _chunkZCIQ3L3Rcjs.getBuiltinTransformers; exports.registerBuiltinTransformers = _chunkZCIQ3L3Rcjs.registerBuiltinTransformers;
|
|
33
|
+
exports.AnthropicTransformer = _chunk4VLRHHFEcjs.AnthropicTransformer; exports.BUILTIN_TRANSFORMER_NAMES = _chunk7AK7B36Bcjs.BUILTIN_TRANSFORMER_NAMES; exports.BuiltinTransformers = _chunk7AK7B36Bcjs.BuiltinTransformers; exports.GeminiCodeAssistTransformer = _chunkOKMJLEXXcjs.GeminiCodeAssistTransformer; exports.GeminiTransformer = _chunkV4TXMEJScjs.GeminiTransformer; exports.OpenAIResponseTransformer = _chunk6VUQPOV3cjs.OpenAIResponseTransformer; exports.OpenAITransformer = _chunkOF3BECU2cjs.OpenAITransformer; exports.getBuiltinTransformers = _chunk7AK7B36Bcjs.getBuiltinTransformers; exports.registerBuiltinTransformers = _chunk7AK7B36Bcjs.registerBuiltinTransformers;
|