@omnicross/core 0.4.5 → 0.4.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/{CompletionService-BniP7j88.d.cts → CompletionService-BJu4AWVc.d.cts} +1 -1
- package/dist/{CompletionService-BqrKPwfA.d.ts → CompletionService-C4W2gBi_.d.ts} +1 -1
- package/dist/{ProviderProxy-Ckr6oTrE.d.ts → ProviderProxy-DxsNi3cO.d.ts} +1 -1
- package/dist/{ProviderProxy-Bz_nkOwq.d.cts → ProviderProxy-OuQPYW2I.d.cts} +1 -1
- package/dist/{chunk-24W3DVGI.js → chunk-5XG6FR5F.js} +1 -1
- package/dist/{chunk-WYUXJKMK.js → chunk-DRUT7H5H.js} +1 -1
- package/dist/{chunk-NCCEWVWY.cjs → chunk-DV7656NN.cjs} +571 -364
- package/dist/{chunk-57Y2EA2G.cjs → chunk-JGRNVH7C.cjs} +1 -1
- package/dist/{chunk-2DMOOZ4F.cjs → chunk-LWBXQXZ3.cjs} +1 -1
- package/dist/{chunk-7PIUVCKK.js → chunk-MZCJL3QU.js} +1 -1
- package/dist/{chunk-LVQOCIES.cjs → chunk-QLVRJ5FS.cjs} +2 -2
- package/dist/{chunk-L4L77G3X.js → chunk-TU4BB776.js} +221 -14
- package/dist/{chunk-ZMERU7D3.js → chunk-VXHN5IDL.js} +1 -1
- package/dist/{chunk-QWNUOR7F.cjs → chunk-ZTN2PVKO.cjs} +1 -1
- package/dist/completion/CompletionService.cjs +6 -6
- package/dist/completion/CompletionService.d.cts +2 -2
- package/dist/completion/CompletionService.d.ts +2 -2
- package/dist/completion/CompletionService.js +5 -5
- package/dist/completion.cjs +6 -6
- package/dist/completion.d.cts +2 -2
- package/dist/completion.d.ts +2 -2
- package/dist/completion.js +5 -5
- package/dist/image-generation.d.cts +4 -4
- package/dist/image-generation.d.ts +4 -4
- package/dist/index.cjs +6 -6
- package/dist/index.d.cts +6 -6
- package/dist/index.d.ts +6 -6
- package/dist/index.js +5 -5
- package/dist/openai-operation.d.cts +1 -1
- package/dist/openai-operation.d.ts +1 -1
- package/dist/outbound-api/routeResolver.cjs +2 -2
- package/dist/outbound-api/routeResolver.d.cts +5 -5
- package/dist/outbound-api/routeResolver.d.ts +5 -5
- package/dist/outbound-api/routeResolver.js +1 -1
- package/dist/outbound-api/subscriptionRegistryPort.d.cts +9 -1
- package/dist/outbound-api/subscriptionRegistryPort.d.ts +9 -1
- package/dist/outbound-api/types.d.cts +4 -4
- package/dist/outbound-api/types.d.ts +4 -4
- package/dist/outbound-api.cjs +6 -6
- package/dist/outbound-api.d.cts +6 -6
- package/dist/outbound-api.d.ts +6 -6
- package/dist/outbound-api.js +5 -5
- package/dist/pipeline/AccountAllowanceScheduling.d.cts +4 -4
- package/dist/pipeline/AccountAllowanceScheduling.d.ts +4 -4
- package/dist/pipeline/SubscriptionAuthSource.d.cts +11 -0
- package/dist/pipeline/SubscriptionAuthSource.d.ts +11 -0
- package/dist/ports.d.cts +4 -4
- package/dist/ports.d.ts +4 -4
- package/dist/provider-proxy/ProviderProxy.cjs +6 -6
- package/dist/provider-proxy/ProviderProxy.d.cts +2 -2
- package/dist/provider-proxy/ProviderProxy.d.ts +2 -2
- package/dist/provider-proxy/ProviderProxy.js +5 -5
- package/dist/provider-proxy/identity/openCodeGoHeaders.cjs +2 -2
- package/dist/provider-proxy/identity/openCodeGoHeaders.js +1 -1
- package/dist/provider-proxy/ingress/providerProxyShared.cjs +12 -6
- package/dist/provider-proxy/ingress/providerProxyShared.d.cts +36 -2
- package/dist/provider-proxy/ingress/providerProxyShared.d.ts +36 -2
- package/dist/provider-proxy/ingress/providerProxyShared.js +11 -5
- package/dist/provider-proxy/types.d.cts +1 -1
- package/dist/provider-proxy/types.d.ts +1 -1
- package/dist/provider-proxy.cjs +6 -6
- package/dist/provider-proxy.d.cts +6 -6
- package/dist/provider-proxy.d.ts +6 -6
- package/dist/provider-proxy.js +5 -5
- package/dist/{routeResolver-BdNJvTZP.d.cts → routeResolver-BQYMEXer.d.cts} +2 -2
- package/dist/{routeResolver-zVoCx9r3.d.ts → routeResolver-DTfyzaFb.d.ts} +2 -2
- package/dist/transformer/transformers/OpenAITransformer.cjs +2 -2
- package/dist/transformer/transformers/OpenAITransformer.js +1 -1
- package/dist/transformer/transformers.cjs +3 -3
- package/dist/transformer/transformers.js +2 -2
- package/dist/transformer.cjs +3 -3
- package/dist/transformer.js +2 -2
- package/dist/{types-Dt1bgHPg.d.cts → types-BpSkj2JA.d.cts} +3 -3
- package/dist/{types-BVwJQ9ZS.d.cts → types-BsZ1s_a_.d.cts} +1 -1
- package/dist/{types-By9Tg6-I.d.ts → types-Di8VH1c9.d.ts} +12 -0
- package/dist/{types-BSIJdsyl.d.cts → types-Dpr5IAaP.d.cts} +12 -0
- package/dist/{types-IRPv4i1Y.d.ts → types-EReErShW.d.ts} +3 -3
- package/dist/{types-VAHRysdP.d.ts → types-USaixzVP.d.ts} +1 -1
- package/package.json +2 -2
package/dist/provider-proxy.cjs
CHANGED
|
@@ -40,11 +40,11 @@
|
|
|
40
40
|
|
|
41
41
|
|
|
42
42
|
|
|
43
|
-
var
|
|
43
|
+
var _chunkDV7656NNcjs = require('./chunk-DV7656NN.cjs');
|
|
44
44
|
require('./chunk-QVOB2DNX.cjs');
|
|
45
|
-
require('./chunk-
|
|
45
|
+
require('./chunk-QLVRJ5FS.cjs');
|
|
46
46
|
require('./chunk-NOITAVHA.cjs');
|
|
47
|
-
require('./chunk-
|
|
47
|
+
require('./chunk-ZTN2PVKO.cjs');
|
|
48
48
|
require('./chunk-47E3I5PF.cjs');
|
|
49
49
|
require('./chunk-5RSZYQJH.cjs');
|
|
50
50
|
require('./chunk-VGBJPHHD.cjs');
|
|
@@ -64,7 +64,7 @@ require('./chunk-HQP3K7PU.cjs');
|
|
|
64
64
|
require('./chunk-SQU2FGXI.cjs');
|
|
65
65
|
require('./chunk-RPII3E6Z.cjs');
|
|
66
66
|
require('./chunk-6RPZADX3.cjs');
|
|
67
|
-
require('./chunk-
|
|
67
|
+
require('./chunk-LWBXQXZ3.cjs');
|
|
68
68
|
require('./chunk-UKQHBK4Q.cjs');
|
|
69
69
|
require('./chunk-UIBD2YY5.cjs');
|
|
70
70
|
require('./chunk-R3HK6R4B.cjs');
|
|
@@ -86,7 +86,7 @@ require('./chunk-APYG5QD7.cjs');
|
|
|
86
86
|
require('./chunk-L74VDN4A.cjs');
|
|
87
87
|
require('./chunk-XSVNC2UD.cjs');
|
|
88
88
|
require('./chunk-4YINUUKQ.cjs');
|
|
89
|
-
require('./chunk-
|
|
89
|
+
require('./chunk-JGRNVH7C.cjs');
|
|
90
90
|
require('./chunk-QBZJ7P2T.cjs');
|
|
91
91
|
require('./chunk-LL3MZ7O5.cjs');
|
|
92
92
|
require('./chunk-JMJBSACD.cjs');
|
|
@@ -148,4 +148,4 @@ require('./chunk-2RCCLQYV.cjs');
|
|
|
148
148
|
|
|
149
149
|
|
|
150
150
|
|
|
151
|
-
exports.DEFAULT_ROUTE_IDLE_MS =
|
|
151
|
+
exports.DEFAULT_ROUTE_IDLE_MS = _chunkDV7656NNcjs.DEFAULT_ROUTE_IDLE_MS; exports.ProviderProxy = _chunkDV7656NNcjs.ProviderProxy; exports.ProviderProxyRouteMap = _chunkDV7656NNcjs.ProviderProxyRouteMap; exports.ROUTE_LEASE_API_VERSION = _chunkDV7656NNcjs.ROUTE_LEASE_API_VERSION; exports.ROUTE_LEASE_CAPABILITIES = _chunkDV7656NNcjs.ROUTE_LEASE_CAPABILITIES; exports.ROUTE_LEASE_CAPABILITIES_SCHEMA = _chunkDV7656NNcjs.ROUTE_LEASE_CAPABILITIES_SCHEMA; exports.ROUTE_LEASE_CODEX_TOKEN_ENV = _chunkDV7656NNcjs.ROUTE_LEASE_CODEX_TOKEN_ENV; exports.ROUTE_LEASE_DEFAULT_TTL_SECONDS = _chunkDV7656NNcjs.ROUTE_LEASE_DEFAULT_TTL_SECONDS; exports.ROUTE_LEASE_MAX_CONSUMER_BYTES = _chunkDV7656NNcjs.ROUTE_LEASE_MAX_CONSUMER_BYTES; exports.ROUTE_LEASE_MAX_EXECUTION_ID_BYTES = _chunkDV7656NNcjs.ROUTE_LEASE_MAX_EXECUTION_ID_BYTES; exports.ROUTE_LEASE_MAX_IDEMPOTENCY_BYTES = _chunkDV7656NNcjs.ROUTE_LEASE_MAX_IDEMPOTENCY_BYTES; exports.ROUTE_LEASE_MAX_MODEL_BYTES = _chunkDV7656NNcjs.ROUTE_LEASE_MAX_MODEL_BYTES; exports.ROUTE_LEASE_MAX_SESSION_ID_BYTES = _chunkDV7656NNcjs.ROUTE_LEASE_MAX_SESSION_ID_BYTES; exports.ROUTE_LEASE_MAX_TTL_SECONDS = _chunkDV7656NNcjs.ROUTE_LEASE_MAX_TTL_SECONDS; exports.ROUTE_LEASE_REQUEST_SCHEMA = _chunkDV7656NNcjs.ROUTE_LEASE_REQUEST_SCHEMA; exports.ROUTE_LEASE_RESULT_SCHEMA = _chunkDV7656NNcjs.ROUTE_LEASE_RESULT_SCHEMA; exports.ROUTE_LEASE_RUNTIMES = _chunkDV7656NNcjs.ROUTE_LEASE_RUNTIMES; exports.ROUTE_LEASE_RUNTIME_TABLE = _chunkDV7656NNcjs.ROUTE_LEASE_RUNTIME_TABLE; exports.ROUTE_LEASE_SESSION_HASH_DOMAIN = _chunkDV7656NNcjs.ROUTE_LEASE_SESSION_HASH_DOMAIN; exports.ResponsesAffinityStore = _chunkDV7656NNcjs.ResponsesAffinityStore; exports.RouteLeaseError = _chunkDV7656NNcjs.RouteLeaseError; exports.RouteLeaseManager = _chunkDV7656NNcjs.RouteLeaseManager; exports.RouteLeaseTargetResolver = _chunkDV7656NNcjs.RouteLeaseTargetResolver; exports.SYSTEM_ROUTE_LEASE_CLOCK = _chunkDV7656NNcjs.SYSTEM_ROUTE_LEASE_CLOCK; exports.__resetProviderProxyForTests = _chunkDV7656NNcjs.__resetProviderProxyForTests; exports.canonicalizeRouteLeasePayload = _chunkDV7656NNcjs.canonicalizeRouteLeasePayload; exports.classifyResponsesProfile = _chunkDV7656NNcjs.classifyResponsesProfile; exports.createNativeResponsesHostedImageIngress = _chunkDV7656NNcjs.createNativeResponsesHostedImageIngress; exports.createResponsesCompactHandler = _chunkDV7656NNcjs.createResponsesCompactHandler; exports.extractRouteToken = _chunkDV7656NNcjs.extractRouteToken; exports.getProviderProxy = _chunkDV7656NNcjs.getProviderProxy; exports.getResponsesAffinityStore = _chunkDV7656NNcjs.getResponsesAffinityStore; exports.hashRouteLeasePayload = _chunkDV7656NNcjs.hashRouteLeasePayload; exports.hashRouteLeaseSessionId = _chunkDV7656NNcjs.hashRouteLeaseSessionId; exports.isLoopbackAddress = _chunkDV7656NNcjs.isLoopbackAddress; exports.normalizeRouteLeaseIdempotencyKey = _chunkDV7656NNcjs.normalizeRouteLeaseIdempotencyKey; exports.normalizeRouteLeaseTtl = _chunkDV7656NNcjs.normalizeRouteLeaseTtl; exports.parseRouteLeaseCreate = _chunkDV7656NNcjs.parseRouteLeaseCreate; exports.previousResponseNotFound = _chunkDV7656NNcjs.previousResponseNotFound; exports.registerResponsesCompactOperation = _chunkDV7656NNcjs.registerResponsesCompactOperation; exports.routeLeaseRuntime = _chunkDV7656NNcjs.routeLeaseRuntime;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { b as RouteRegistrationOptions, P as ProviderProxy } from './ProviderProxy-
|
|
2
|
-
export { D as DEFAULT_ROUTE_IDLE_MS, a as ProviderProxyRouteMap, R as RouteEvictionReason, i as isLoopbackAddress } from './ProviderProxy-
|
|
3
|
-
import { D as IngressFormat, aD as RouteContext, $ as ResponsesAffinityStore, K as OpenAIOperationHandler, R as OpenAIOperationRegistry, a4 as ResponsesHostedImageRuntimeFactory, a2 as ResponsesHostedImageIngress, W as ProviderProxyDeps } from './types-
|
|
4
|
-
export { A as AnthropicIngressHandler, a as AnthropicIngressHandlerFactory, b as AnthropicRouteHandlerParams, c as AnthropicSdkHints, E as ExtendedContextHint, X as ProxyAttribution, Y as ResponsesAffinityEntry, Z as ResponsesAffinityRecord, _ as ResponsesAffinityScope, a0 as ResponsesAffinityStoreOptions, a1 as ResponsesCredentialIdentity, a3 as ResponsesHostedImageRequestLease, a5 as ResponsesHostedImageRuntimeLease, ay as ResponsesProfile, az as ResponsesProfileDeclaration, aB as RetryCallback, aC as RouteAuthMode, aE as RouteLeaseUsageAttribution, aF as StreamEventCallback, aG as SubscriptionDispatchProfile, aH as SubscriptionRequestSummary, aI as TargetProviderFormat, aK as classifyResponsesProfile, aN as getResponsesAffinityStore, aO as previousResponseNotFound } from './types-
|
|
5
|
-
import { g as GatewayBindingTarget } from './types-
|
|
1
|
+
import { b as RouteRegistrationOptions, P as ProviderProxy } from './ProviderProxy-OuQPYW2I.cjs';
|
|
2
|
+
export { D as DEFAULT_ROUTE_IDLE_MS, a as ProviderProxyRouteMap, R as RouteEvictionReason, i as isLoopbackAddress } from './ProviderProxy-OuQPYW2I.cjs';
|
|
3
|
+
import { D as IngressFormat, aD as RouteContext, $ as ResponsesAffinityStore, K as OpenAIOperationHandler, R as OpenAIOperationRegistry, a4 as ResponsesHostedImageRuntimeFactory, a2 as ResponsesHostedImageIngress, W as ProviderProxyDeps } from './types-Dpr5IAaP.cjs';
|
|
4
|
+
export { A as AnthropicIngressHandler, a as AnthropicIngressHandlerFactory, b as AnthropicRouteHandlerParams, c as AnthropicSdkHints, E as ExtendedContextHint, X as ProxyAttribution, Y as ResponsesAffinityEntry, Z as ResponsesAffinityRecord, _ as ResponsesAffinityScope, a0 as ResponsesAffinityStoreOptions, a1 as ResponsesCredentialIdentity, a3 as ResponsesHostedImageRequestLease, a5 as ResponsesHostedImageRuntimeLease, ay as ResponsesProfile, az as ResponsesProfileDeclaration, aB as RetryCallback, aC as RouteAuthMode, aE as RouteLeaseUsageAttribution, aF as StreamEventCallback, aG as SubscriptionDispatchProfile, aH as SubscriptionRequestSummary, aI as TargetProviderFormat, aK as classifyResponsesProfile, aN as getResponsesAffinityStore, aO as previousResponseNotFound } from './types-Dpr5IAaP.cjs';
|
|
5
|
+
import { g as GatewayBindingTarget } from './types-BpSkj2JA.cjs';
|
|
6
6
|
import { ProviderConfigSource } from './ports/provider-config-source.cjs';
|
|
7
7
|
import 'node:http';
|
|
8
8
|
import '@omnicross/contracts/completion-types';
|
|
@@ -22,7 +22,7 @@ import './frontends-Doz0RaWu.cjs';
|
|
|
22
22
|
import '@omnicross/contracts/search-types';
|
|
23
23
|
import './runtime-t8AZacFF.cjs';
|
|
24
24
|
import '@omnicross/contracts/image-generation-types';
|
|
25
|
-
import './types-
|
|
25
|
+
import './types-BsZ1s_a_.cjs';
|
|
26
26
|
import 'node:fs/promises';
|
|
27
27
|
import '@omnicross/contracts/account-tokens-types';
|
|
28
28
|
import '@omnicross/contracts/audit-types';
|
package/dist/provider-proxy.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { b as RouteRegistrationOptions, P as ProviderProxy } from './ProviderProxy-
|
|
2
|
-
export { D as DEFAULT_ROUTE_IDLE_MS, a as ProviderProxyRouteMap, R as RouteEvictionReason, i as isLoopbackAddress } from './ProviderProxy-
|
|
3
|
-
import { D as IngressFormat, aD as RouteContext, $ as ResponsesAffinityStore, K as OpenAIOperationHandler, R as OpenAIOperationRegistry, a4 as ResponsesHostedImageRuntimeFactory, a2 as ResponsesHostedImageIngress, W as ProviderProxyDeps } from './types-
|
|
4
|
-
export { A as AnthropicIngressHandler, a as AnthropicIngressHandlerFactory, b as AnthropicRouteHandlerParams, c as AnthropicSdkHints, E as ExtendedContextHint, X as ProxyAttribution, Y as ResponsesAffinityEntry, Z as ResponsesAffinityRecord, _ as ResponsesAffinityScope, a0 as ResponsesAffinityStoreOptions, a1 as ResponsesCredentialIdentity, a3 as ResponsesHostedImageRequestLease, a5 as ResponsesHostedImageRuntimeLease, ay as ResponsesProfile, az as ResponsesProfileDeclaration, aB as RetryCallback, aC as RouteAuthMode, aE as RouteLeaseUsageAttribution, aF as StreamEventCallback, aG as SubscriptionDispatchProfile, aH as SubscriptionRequestSummary, aI as TargetProviderFormat, aK as classifyResponsesProfile, aN as getResponsesAffinityStore, aO as previousResponseNotFound } from './types-
|
|
5
|
-
import { g as GatewayBindingTarget } from './types-
|
|
1
|
+
import { b as RouteRegistrationOptions, P as ProviderProxy } from './ProviderProxy-DxsNi3cO.js';
|
|
2
|
+
export { D as DEFAULT_ROUTE_IDLE_MS, a as ProviderProxyRouteMap, R as RouteEvictionReason, i as isLoopbackAddress } from './ProviderProxy-DxsNi3cO.js';
|
|
3
|
+
import { D as IngressFormat, aD as RouteContext, $ as ResponsesAffinityStore, K as OpenAIOperationHandler, R as OpenAIOperationRegistry, a4 as ResponsesHostedImageRuntimeFactory, a2 as ResponsesHostedImageIngress, W as ProviderProxyDeps } from './types-Di8VH1c9.js';
|
|
4
|
+
export { A as AnthropicIngressHandler, a as AnthropicIngressHandlerFactory, b as AnthropicRouteHandlerParams, c as AnthropicSdkHints, E as ExtendedContextHint, X as ProxyAttribution, Y as ResponsesAffinityEntry, Z as ResponsesAffinityRecord, _ as ResponsesAffinityScope, a0 as ResponsesAffinityStoreOptions, a1 as ResponsesCredentialIdentity, a3 as ResponsesHostedImageRequestLease, a5 as ResponsesHostedImageRuntimeLease, ay as ResponsesProfile, az as ResponsesProfileDeclaration, aB as RetryCallback, aC as RouteAuthMode, aE as RouteLeaseUsageAttribution, aF as StreamEventCallback, aG as SubscriptionDispatchProfile, aH as SubscriptionRequestSummary, aI as TargetProviderFormat, aK as classifyResponsesProfile, aN as getResponsesAffinityStore, aO as previousResponseNotFound } from './types-Di8VH1c9.js';
|
|
5
|
+
import { g as GatewayBindingTarget } from './types-EReErShW.js';
|
|
6
6
|
import { ProviderConfigSource } from './ports/provider-config-source.js';
|
|
7
7
|
import 'node:http';
|
|
8
8
|
import '@omnicross/contracts/completion-types';
|
|
@@ -22,7 +22,7 @@ import './frontends-Doz0RaWu.js';
|
|
|
22
22
|
import '@omnicross/contracts/search-types';
|
|
23
23
|
import './runtime-t8AZacFF.js';
|
|
24
24
|
import '@omnicross/contracts/image-generation-types';
|
|
25
|
-
import './types-
|
|
25
|
+
import './types-USaixzVP.js';
|
|
26
26
|
import 'node:fs/promises';
|
|
27
27
|
import '@omnicross/contracts/account-tokens-types';
|
|
28
28
|
import '@omnicross/contracts/audit-types';
|
package/dist/provider-proxy.js
CHANGED
|
@@ -40,11 +40,11 @@ import {
|
|
|
40
40
|
previousResponseNotFound,
|
|
41
41
|
registerResponsesCompactOperation,
|
|
42
42
|
routeLeaseRuntime
|
|
43
|
-
} from "./chunk-
|
|
43
|
+
} from "./chunk-TU4BB776.js";
|
|
44
44
|
import "./chunk-WTQMX2Q6.js";
|
|
45
|
-
import "./chunk-
|
|
45
|
+
import "./chunk-5XG6FR5F.js";
|
|
46
46
|
import "./chunk-V53ZEFXC.js";
|
|
47
|
-
import "./chunk-
|
|
47
|
+
import "./chunk-MZCJL3QU.js";
|
|
48
48
|
import "./chunk-TKZ3DZS5.js";
|
|
49
49
|
import "./chunk-FU7EAR73.js";
|
|
50
50
|
import "./chunk-IDPMD4B7.js";
|
|
@@ -64,7 +64,7 @@ import "./chunk-VVEHS2LI.js";
|
|
|
64
64
|
import "./chunk-4LSZ7NFM.js";
|
|
65
65
|
import "./chunk-XTEI64OU.js";
|
|
66
66
|
import "./chunk-XX6NQJMA.js";
|
|
67
|
-
import "./chunk-
|
|
67
|
+
import "./chunk-DRUT7H5H.js";
|
|
68
68
|
import "./chunk-ONTTXSRL.js";
|
|
69
69
|
import "./chunk-OE6TDIWW.js";
|
|
70
70
|
import "./chunk-DRWHTIIZ.js";
|
|
@@ -86,7 +86,7 @@ import "./chunk-WLYIIEAF.js";
|
|
|
86
86
|
import "./chunk-TKJMZBAH.js";
|
|
87
87
|
import "./chunk-OZFM4X3S.js";
|
|
88
88
|
import "./chunk-3QFXFCHG.js";
|
|
89
|
-
import "./chunk-
|
|
89
|
+
import "./chunk-VXHN5IDL.js";
|
|
90
90
|
import "./chunk-AQ5TNQB7.js";
|
|
91
91
|
import "./chunk-6I4SAWCN.js";
|
|
92
92
|
import "./chunk-Y7FO65VT.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ProviderConfigSource } from './ports/provider-config-source.cjs';
|
|
2
|
-
import { D as IngressFormat, aD as RouteContext } from './types-
|
|
3
|
-
import { v as OutboundEndpoint, _ as ModelRef, c as EndpointRoutingConfig, R as RequestRole } from './types-
|
|
2
|
+
import { D as IngressFormat, aD as RouteContext } from './types-Dpr5IAaP.cjs';
|
|
3
|
+
import { v as OutboundEndpoint, _ as ModelRef, c as EndpointRoutingConfig, R as RequestRole } from './types-BpSkj2JA.cjs';
|
|
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.js';
|
|
2
|
-
import { D as IngressFormat, aD as RouteContext } from './types-
|
|
3
|
-
import { v as OutboundEndpoint, _ as ModelRef, c as EndpointRoutingConfig, R as RequestRole } from './types-
|
|
2
|
+
import { D as IngressFormat, aD as RouteContext } from './types-Di8VH1c9.js';
|
|
3
|
+
import { v as OutboundEndpoint, _ as ModelRef, c as EndpointRoutingConfig, R as RequestRole } from './types-EReErShW.js';
|
|
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 _chunkZTN2PVKOcjs = require('../../chunk-ZTN2PVKO.cjs');
|
|
4
4
|
require('../../chunk-IUL4VWNU.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
exports.OpenAITransformer =
|
|
7
|
+
exports.OpenAITransformer = _chunkZTN2PVKOcjs.OpenAITransformer;
|
|
@@ -3,13 +3,13 @@
|
|
|
3
3
|
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
var
|
|
6
|
+
var _chunkQLVRJ5FScjs = require('../chunk-QLVRJ5FS.cjs');
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
var _chunkNOITAVHAcjs = require('../chunk-NOITAVHA.cjs');
|
|
10
10
|
|
|
11
11
|
|
|
12
|
-
var
|
|
12
|
+
var _chunkZTN2PVKOcjs = require('../chunk-ZTN2PVKO.cjs');
|
|
13
13
|
|
|
14
14
|
|
|
15
15
|
var _chunk47E3I5PFcjs = require('../chunk-47E3I5PF.cjs');
|
|
@@ -96,4 +96,4 @@ require('../chunk-4HMAS74X.cjs');
|
|
|
96
96
|
|
|
97
97
|
|
|
98
98
|
|
|
99
|
-
exports.ANTIGRAVITY_ENDPOINT = _chunkZG57GAVUcjs.ANTIGRAVITY_ENDPOINT; exports.ANTIGRAVITY_FORCED_TOOL_ASSET_VERSION = _chunkZG57GAVUcjs.ANTIGRAVITY_FORCED_TOOL_ASSET_VERSION; exports.ANTIGRAVITY_FORCED_TOOL_DIRECTIVE = _chunkZG57GAVUcjs.ANTIGRAVITY_FORCED_TOOL_DIRECTIVE; exports.ANTIGRAVITY_MODEL_WIRE_PROFILES = _chunkDF5JXK36cjs.ANTIGRAVITY_MODEL_WIRE_PROFILES; exports.ANTIGRAVITY_SANDBOX_ENDPOINT = _chunkF3TT5XPVcjs.ANTIGRAVITY_SANDBOX_ENDPOINT; exports.AnthropicTransformer = _chunk47E3I5PFcjs.AnthropicTransformer; exports.AntigravityTransformer = _chunkZG57GAVUcjs.AntigravityTransformer; exports.BUILTIN_TRANSFORMER_NAMES =
|
|
99
|
+
exports.ANTIGRAVITY_ENDPOINT = _chunkZG57GAVUcjs.ANTIGRAVITY_ENDPOINT; exports.ANTIGRAVITY_FORCED_TOOL_ASSET_VERSION = _chunkZG57GAVUcjs.ANTIGRAVITY_FORCED_TOOL_ASSET_VERSION; exports.ANTIGRAVITY_FORCED_TOOL_DIRECTIVE = _chunkZG57GAVUcjs.ANTIGRAVITY_FORCED_TOOL_DIRECTIVE; exports.ANTIGRAVITY_MODEL_WIRE_PROFILES = _chunkDF5JXK36cjs.ANTIGRAVITY_MODEL_WIRE_PROFILES; exports.ANTIGRAVITY_SANDBOX_ENDPOINT = _chunkF3TT5XPVcjs.ANTIGRAVITY_SANDBOX_ENDPOINT; exports.AnthropicTransformer = _chunk47E3I5PFcjs.AnthropicTransformer; exports.AntigravityTransformer = _chunkZG57GAVUcjs.AntigravityTransformer; exports.BUILTIN_TRANSFORMER_NAMES = _chunkQLVRJ5FScjs.BUILTIN_TRANSFORMER_NAMES; exports.BuiltinTransformers = _chunkQLVRJ5FScjs.BuiltinTransformers; exports.DEFAULT_ANTIGRAVITY_VERSION = _chunkDF5JXK36cjs.DEFAULT_ANTIGRAVITY_VERSION; exports.GeminiCodeAssistTransformer = _chunkN3MGNLCUcjs.GeminiCodeAssistTransformer; exports.GeminiTransformer = _chunkBTSADEX4cjs.GeminiTransformer; exports.OpenAIResponseTransformer = _chunkNOITAVHAcjs.OpenAIResponseTransformer; exports.OpenAITransformer = _chunkZTN2PVKOcjs.OpenAITransformer; exports.buildAntigravityUrl = _chunkZG57GAVUcjs.buildAntigravityUrl; exports.buildCodeAssistUrl = _chunkN3MGNLCUcjs.buildCodeAssistUrl; exports.checkForcedToolAssetDrift = _chunkZG57GAVUcjs.checkForcedToolAssetDrift; exports.deriveAntigravitySessionId = _chunkZG57GAVUcjs.deriveAntigravitySessionId; exports.ensureAntigravityVersion = _chunkDF5JXK36cjs.ensureAntigravityVersion; exports.getAntigravityModelWireProfile = _chunkDF5JXK36cjs.getAntigravityModelWireProfile; exports.getAntigravityUserAgent = _chunkDF5JXK36cjs.getAntigravityUserAgent; exports.getAntigravityVersion = _chunkDF5JXK36cjs.getAntigravityVersion; exports.getBuiltinTransformers = _chunkQLVRJ5FScjs.getBuiltinTransformers; exports.getGeminiCliIdentityHeaders = _chunkN3MGNLCUcjs.getGeminiCliIdentityHeaders; exports.getGeminiCliUserAgent = _chunkN3MGNLCUcjs.getGeminiCliUserAgent; exports.isAntigravityRetryableFailure = _chunkF3TT5XPVcjs.isAntigravityRetryableFailure; exports.isAntigravitySandboxFailoverEnabled = _chunkF3TT5XPVcjs.isAntigravitySandboxFailoverEnabled; exports.maybeAntigravityFailoverUrl = _chunkF3TT5XPVcjs.maybeAntigravityFailoverUrl; exports.parseAntigravityManifestVersion = _chunkDF5JXK36cjs.parseAntigravityManifestVersion; exports.registerBuiltinTransformers = _chunkQLVRJ5FScjs.registerBuiltinTransformers; exports.resolveAntigravityWireModelId = _chunkZG57GAVUcjs.resolveAntigravityWireModelId; exports.resolveCodeAssistApiVersion = _chunkN3MGNLCUcjs.resolveCodeAssistApiVersion; exports.resolveCodeAssistEndpoint = _chunkN3MGNLCUcjs.resolveCodeAssistEndpoint; exports.setAntigravitySandboxFailover = _chunkF3TT5XPVcjs.setAntigravitySandboxFailover;
|
|
@@ -3,13 +3,13 @@ import {
|
|
|
3
3
|
BuiltinTransformers,
|
|
4
4
|
getBuiltinTransformers,
|
|
5
5
|
registerBuiltinTransformers
|
|
6
|
-
} from "../chunk-
|
|
6
|
+
} from "../chunk-5XG6FR5F.js";
|
|
7
7
|
import {
|
|
8
8
|
OpenAIResponseTransformer
|
|
9
9
|
} from "../chunk-V53ZEFXC.js";
|
|
10
10
|
import {
|
|
11
11
|
OpenAITransformer
|
|
12
|
-
} from "../chunk-
|
|
12
|
+
} from "../chunk-MZCJL3QU.js";
|
|
13
13
|
import {
|
|
14
14
|
AnthropicTransformer
|
|
15
15
|
} from "../chunk-TKZ3DZS5.js";
|
package/dist/transformer.cjs
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});require('./chunk-QVOB2DNX.cjs');
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var _chunkQLVRJ5FScjs = require('./chunk-QLVRJ5FS.cjs');
|
|
5
5
|
require('./chunk-NOITAVHA.cjs');
|
|
6
|
-
require('./chunk-
|
|
6
|
+
require('./chunk-ZTN2PVKO.cjs');
|
|
7
7
|
require('./chunk-47E3I5PF.cjs');
|
|
8
8
|
require('./chunk-5RSZYQJH.cjs');
|
|
9
9
|
require('./chunk-VGBJPHHD.cjs');
|
|
@@ -49,4 +49,4 @@ require('./chunk-4HMAS74X.cjs');
|
|
|
49
49
|
|
|
50
50
|
|
|
51
51
|
|
|
52
|
-
exports.THINK_LEVELS = _chunkIUL4VWNUcjs.THINK_LEVELS; exports.TransformerChainExecutor = _chunk7ZHBN75Ncjs.TransformerChainExecutor; exports.TransformerService = _chunk3OPYJG76cjs.TransformerService; exports.extractReasoningIntent = _chunkIUL4VWNUcjs.extractReasoningIntent; exports.normalizeThinkLevel = _chunkIUL4VWNUcjs.normalizeThinkLevel; exports.registerBuiltinTransformers =
|
|
52
|
+
exports.THINK_LEVELS = _chunkIUL4VWNUcjs.THINK_LEVELS; exports.TransformerChainExecutor = _chunk7ZHBN75Ncjs.TransformerChainExecutor; exports.TransformerService = _chunk3OPYJG76cjs.TransformerService; exports.extractReasoningIntent = _chunkIUL4VWNUcjs.extractReasoningIntent; exports.normalizeThinkLevel = _chunkIUL4VWNUcjs.normalizeThinkLevel; exports.registerBuiltinTransformers = _chunkQLVRJ5FScjs.registerBuiltinTransformers; exports.resolveReasoningEffort = _chunkIUL4VWNUcjs.resolveReasoningEffort; exports.resolveReasoningPlan = _chunkIUL4VWNUcjs.resolveReasoningPlan; exports.resolveReasoningTokenLimit = _chunkIUL4VWNUcjs.resolveReasoningTokenLimit; exports.resolveRequestReasoning = _chunkIUL4VWNUcjs.resolveRequestReasoning; exports.resolveTargetModelCapabilities = _chunkIUL4VWNUcjs.resolveTargetModelCapabilities;
|
package/dist/transformer.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import "./chunk-WTQMX2Q6.js";
|
|
2
2
|
import {
|
|
3
3
|
registerBuiltinTransformers
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-5XG6FR5F.js";
|
|
5
5
|
import "./chunk-V53ZEFXC.js";
|
|
6
|
-
import "./chunk-
|
|
6
|
+
import "./chunk-MZCJL3QU.js";
|
|
7
7
|
import "./chunk-TKZ3DZS5.js";
|
|
8
8
|
import "./chunk-FU7EAR73.js";
|
|
9
9
|
import "./chunk-IDPMD4B7.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { e as ImageApiLimits } from './types-
|
|
1
|
+
import { e as ImageApiLimits } from './types-BsZ1s_a_.cjs';
|
|
2
2
|
import { ProxyConfig } from '@omnicross/contracts/account-tokens-types';
|
|
3
3
|
import { AuditConfig } from '@omnicross/contracts/audit-types';
|
|
4
4
|
import { BillingConfig } from '@omnicross/contracts/billing-types';
|
|
@@ -8,8 +8,8 @@ import { VoucherRecord, VoucherGrant, VoucherInfo, VoucherConfig } from '@omnicr
|
|
|
8
8
|
import { WebhookConfig } from '@omnicross/contracts/webhook-types';
|
|
9
9
|
import { L as Logger } from './logger-4GvQNzhE.cjs';
|
|
10
10
|
import { ProviderConfigSource } from './ports/provider-config-source.cjs';
|
|
11
|
-
import { P as ProviderProxy } from './ProviderProxy-
|
|
12
|
-
import { W as ProviderProxyDeps } from './types-
|
|
11
|
+
import { P as ProviderProxy } from './ProviderProxy-OuQPYW2I.cjs';
|
|
12
|
+
import { W as ProviderProxyDeps } from './types-Dpr5IAaP.cjs';
|
|
13
13
|
import { BoundAccountFallbackPolicy } from './pipeline/BoundAccountSelectionError.cjs';
|
|
14
14
|
import { S as SearchApiProviderConfigs } from './types-CbCZqLGg.cjs';
|
|
15
15
|
import { d as SearchFrontendModes } from './frontends-Doz0RaWu.cjs';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as _omnicross_contracts_image_generation_types from '@omnicross/contracts/image-generation-types';
|
|
2
2
|
import { ImageArtifactMetadata, ImageRequestOptions } from '@omnicross/contracts/image-generation-types';
|
|
3
|
-
import { I as ImageAsset, p as ImageReferenceLease, K as OpenAIOperationHandler, h as ImageOrchestrator, L as OpenAIOperationHandlerContext, s as ImageReferenceStore, u as ImageRetentionPolicy } from './types-
|
|
3
|
+
import { I as ImageAsset, p as ImageReferenceLease, K as OpenAIOperationHandler, h as ImageOrchestrator, L as OpenAIOperationHandlerContext, s as ImageReferenceStore, u as ImageRetentionPolicy } from './types-Dpr5IAaP.cjs';
|
|
4
4
|
import { FileHandle } from 'node:fs/promises';
|
|
5
5
|
|
|
6
6
|
type ResourceKind = 'input' | 'spool';
|
|
@@ -713,6 +713,18 @@ interface SubscriptionDispatchProfile {
|
|
|
713
713
|
* (which leave this unset). Purely additive (optional).
|
|
714
714
|
*/
|
|
715
715
|
readonly resolveProviderTransformerNames?: (model: string, config?: unknown) => readonly string[];
|
|
716
|
+
/**
|
|
717
|
+
* OPTIONAL chat-bridge-only chain-name resolver (openai-chat-bridge OQ1
|
|
718
|
+
* closure; type-identical mirror on `SubscriptionAuthProfile`). The
|
|
719
|
+
* OpenAI-chat ingress consults it INSTEAD of
|
|
720
|
+
* `resolveProviderTransformerNames`/`providerTransformerNames` because a chat
|
|
721
|
+
* caller's wire is Unified: an anthropic-shape upstream needs the
|
|
722
|
+
* `['anthropic']` ENCODER, whereas the messages path's same-shape `[]` means
|
|
723
|
+
* "the caller already speaks Anthropic" — different answers for the same
|
|
724
|
+
* shape. Only opencodego sets it; absent ⇒ the chat ingress keeps the static
|
|
725
|
+
* `providerTransformerNames` (claude/kimi/grok route-to chains).
|
|
726
|
+
*/
|
|
727
|
+
readonly chatBridgeTransformerNames?: (model: string, config?: unknown) => readonly string[];
|
|
716
728
|
/** Optional model placeholder rewriter — only set for OpenCodeGo. */
|
|
717
729
|
readonly modelMapper?: (sdkModel: string, summary: SubscriptionRequestSummary, config: OpenCodeGoTokenConfig | undefined) => {
|
|
718
730
|
resolvedModel: string;
|
|
@@ -713,6 +713,18 @@ interface SubscriptionDispatchProfile {
|
|
|
713
713
|
* (which leave this unset). Purely additive (optional).
|
|
714
714
|
*/
|
|
715
715
|
readonly resolveProviderTransformerNames?: (model: string, config?: unknown) => readonly string[];
|
|
716
|
+
/**
|
|
717
|
+
* OPTIONAL chat-bridge-only chain-name resolver (openai-chat-bridge OQ1
|
|
718
|
+
* closure; type-identical mirror on `SubscriptionAuthProfile`). The
|
|
719
|
+
* OpenAI-chat ingress consults it INSTEAD of
|
|
720
|
+
* `resolveProviderTransformerNames`/`providerTransformerNames` because a chat
|
|
721
|
+
* caller's wire is Unified: an anthropic-shape upstream needs the
|
|
722
|
+
* `['anthropic']` ENCODER, whereas the messages path's same-shape `[]` means
|
|
723
|
+
* "the caller already speaks Anthropic" — different answers for the same
|
|
724
|
+
* shape. Only opencodego sets it; absent ⇒ the chat ingress keeps the static
|
|
725
|
+
* `providerTransformerNames` (claude/kimi/grok route-to chains).
|
|
726
|
+
*/
|
|
727
|
+
readonly chatBridgeTransformerNames?: (model: string, config?: unknown) => readonly string[];
|
|
716
728
|
/** Optional model placeholder rewriter — only set for OpenCodeGo. */
|
|
717
729
|
readonly modelMapper?: (sdkModel: string, summary: SubscriptionRequestSummary, config: OpenCodeGoTokenConfig | undefined) => {
|
|
718
730
|
resolvedModel: string;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { e as ImageApiLimits } from './types-
|
|
1
|
+
import { e as ImageApiLimits } from './types-USaixzVP.js';
|
|
2
2
|
import { ProxyConfig } from '@omnicross/contracts/account-tokens-types';
|
|
3
3
|
import { AuditConfig } from '@omnicross/contracts/audit-types';
|
|
4
4
|
import { BillingConfig } from '@omnicross/contracts/billing-types';
|
|
@@ -8,8 +8,8 @@ import { VoucherRecord, VoucherGrant, VoucherInfo, VoucherConfig } from '@omnicr
|
|
|
8
8
|
import { WebhookConfig } from '@omnicross/contracts/webhook-types';
|
|
9
9
|
import { L as Logger } from './logger-4GvQNzhE.js';
|
|
10
10
|
import { ProviderConfigSource } from './ports/provider-config-source.js';
|
|
11
|
-
import { P as ProviderProxy } from './ProviderProxy-
|
|
12
|
-
import { W as ProviderProxyDeps } from './types-
|
|
11
|
+
import { P as ProviderProxy } from './ProviderProxy-DxsNi3cO.js';
|
|
12
|
+
import { W as ProviderProxyDeps } from './types-Di8VH1c9.js';
|
|
13
13
|
import { BoundAccountFallbackPolicy } from './pipeline/BoundAccountSelectionError.js';
|
|
14
14
|
import { S as SearchApiProviderConfigs } from './types-CbCZqLGg.js';
|
|
15
15
|
import { d as SearchFrontendModes } from './frontends-Doz0RaWu.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as _omnicross_contracts_image_generation_types from '@omnicross/contracts/image-generation-types';
|
|
2
2
|
import { ImageArtifactMetadata, ImageRequestOptions } from '@omnicross/contracts/image-generation-types';
|
|
3
|
-
import { I as ImageAsset, p as ImageReferenceLease, K as OpenAIOperationHandler, h as ImageOrchestrator, L as OpenAIOperationHandlerContext, s as ImageReferenceStore, u as ImageRetentionPolicy } from './types-
|
|
3
|
+
import { I as ImageAsset, p as ImageReferenceLease, K as OpenAIOperationHandler, h as ImageOrchestrator, L as OpenAIOperationHandlerContext, s as ImageReferenceStore, u as ImageRetentionPolicy } from './types-Di8VH1c9.js';
|
|
4
4
|
import { FileHandle } from 'node:fs/promises';
|
|
5
5
|
|
|
6
6
|
type ResourceKind = 'input' | 'spool';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@omnicross/core",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.6",
|
|
4
4
|
"description": "Omnicross LLM serving core — provider dispatch, completion pipeline, transformers, and the provider proxy.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "Sayo (https://github.com/Dumoedss)",
|
|
@@ -56,7 +56,7 @@
|
|
|
56
56
|
},
|
|
57
57
|
"dependencies": {
|
|
58
58
|
"@mozilla/readability": "^0.6.0",
|
|
59
|
-
"@omnicross/contracts": "^0.4.
|
|
59
|
+
"@omnicross/contracts": "^0.4.6",
|
|
60
60
|
"busboy": "^1.6.0",
|
|
61
61
|
"entities": "^6.0.1",
|
|
62
62
|
"impit": "^0.14.4",
|