@omnicross/core 0.4.1 → 0.4.3
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/auth/GeminiCodeAssistProjectResolver.cjs +11 -184
- package/dist/auth/GeminiCodeAssistProjectResolver.d.cts +41 -3
- package/dist/auth/GeminiCodeAssistProjectResolver.d.ts +41 -3
- package/dist/auth/GeminiCodeAssistProjectResolver.js +12 -185
- package/dist/{chunk-POUTD5AM.cjs → chunk-47E3I5PF.cjs} +10 -3
- package/dist/{chunk-WX2E2G7H.cjs → chunk-4NAMH4UE.cjs} +79 -51
- package/dist/{chunk-LQYS2N47.js → chunk-4RM22ETG.js} +14 -2
- package/dist/{chunk-YEVWA4C7.cjs → chunk-57Y2EA2G.cjs} +6 -5
- package/dist/chunk-6I4SAWCN.js +24 -0
- package/dist/chunk-AFH5CEMF.cjs +38 -0
- package/dist/{chunk-KIQ2HA2A.cjs → chunk-BTSADEX4.cjs} +5 -5
- package/dist/chunk-CGEZQC2G.cjs +67 -0
- package/dist/chunk-E5RCCGE7.cjs +95 -0
- package/dist/chunk-EE7VP4O3.js +230 -0
- package/dist/chunk-F6P4DIBL.js +95 -0
- package/dist/{chunk-BKXC4XM6.cjs → chunk-FORICQ5U.cjs} +15 -11
- package/dist/{chunk-PF7YQBKX.js → chunk-FYPKKMB3.js} +6 -2
- package/dist/chunk-HRBXQ5AC.js +44 -0
- package/dist/{chunk-LFEH7CEO.js → chunk-IDPMD4B7.js} +22 -0
- package/dist/{chunk-UPQIWJIE.cjs → chunk-INY54AYX.cjs} +14 -2
- package/dist/{chunk-QEOV6Y4E.cjs → chunk-J5XMB5KY.cjs} +359 -170
- package/dist/{chunk-C3NPMQTK.js → chunk-JHJRZ75C.js} +14 -10
- package/dist/chunk-K6J2RIEX.js +67 -0
- package/dist/chunk-KSMK45RD.cjs +45 -0
- package/dist/chunk-LL3MZ7O5.cjs +24 -0
- package/dist/{chunk-ECZ3ZE2C.js → chunk-M6PKXP6T.js} +4 -29
- package/dist/{chunk-PAXJGABW.js → chunk-MPFOC7AT.js} +10 -5
- package/dist/{chunk-DKBXDV5U.cjs → chunk-N3MGNLCU.cjs} +49 -44
- package/dist/chunk-NDIBVTBZ.cjs +230 -0
- package/dist/{chunk-5DJSOFEP.js → chunk-NTF7TLT7.js} +1 -1
- package/dist/chunk-ONTTXSRL.js +32 -0
- package/dist/{chunk-HN74IGEO.js → chunk-OXBGNEYR.js} +1 -1
- package/dist/{chunk-5GXOYVLB.js → chunk-QSOHEDKO.js} +44 -39
- package/dist/{chunk-TX3AEV6H.cjs → chunk-RXMF7GNF.cjs} +4 -3
- package/dist/{chunk-5TEWZN5J.js → chunk-SWY2LTMR.js} +277 -88
- package/dist/{chunk-EUZRH544.js → chunk-TKZ3DZS5.js} +10 -3
- package/dist/{chunk-MXI2PWIC.cjs → chunk-UKQHBK4Q.cjs} +1 -32
- package/dist/{chunk-3XVDFRCQ.cjs → chunk-UOOLU64V.cjs} +13 -8
- package/dist/{chunk-ZSA44G7J.cjs → chunk-VFFCV4J6.cjs} +3 -3
- package/dist/{chunk-6DDYNS2B.cjs → chunk-VGBJPHHD.cjs} +36 -14
- package/dist/{chunk-2T6D7LWE.cjs → chunk-VYOBVPNB.cjs} +6 -2
- package/dist/chunk-WYECWQ3J.cjs +44 -0
- package/dist/chunk-X6GHTNDL.cjs +482 -0
- package/dist/chunk-XBQTVRMK.js +45 -0
- package/dist/{chunk-R4VCO2CB.js → chunk-YEHQ5FXZ.js} +28 -0
- package/dist/{chunk-HDXSPXIN.js → chunk-ZBDDPWVQ.js} +4 -3
- package/dist/chunk-ZJJBITUN.js +482 -0
- package/dist/{chunk-QRXOLINS.js → chunk-ZMERU7D3.js} +3 -2
- package/dist/completion/CompletionService.cjs +29 -22
- package/dist/completion/CompletionService.js +28 -21
- package/dist/completion.cjs +29 -22
- package/dist/completion.js +28 -21
- package/dist/image-generation.cjs +2 -2
- package/dist/image-generation.d.cts +2 -2
- package/dist/image-generation.d.ts +2 -2
- package/dist/image-generation.js +1 -1
- package/dist/index.cjs +40 -29
- package/dist/index.d.cts +6 -3
- package/dist/index.d.ts +6 -3
- package/dist/index.js +40 -29
- package/dist/outbound-api/routeResolver.cjs +3 -3
- package/dist/outbound-api/routeResolver.d.cts +3 -3
- package/dist/outbound-api/routeResolver.d.ts +3 -3
- package/dist/outbound-api/routeResolver.js +2 -2
- package/dist/outbound-api/types.cjs +6 -2
- package/dist/outbound-api/types.d.cts +2 -2
- package/dist/outbound-api/types.d.ts +2 -2
- package/dist/outbound-api/types.js +7 -3
- package/dist/outbound-api.cjs +33 -22
- package/dist/outbound-api.d.cts +4 -4
- package/dist/outbound-api.d.ts +4 -4
- package/dist/outbound-api.js +33 -22
- package/dist/pipeline/AccountAllowanceScheduling.cjs +4 -3
- package/dist/pipeline/AccountAllowanceScheduling.d.cts +4 -4
- package/dist/pipeline/AccountAllowanceScheduling.d.ts +4 -4
- package/dist/pipeline/AccountAllowanceScheduling.js +3 -2
- package/dist/pipeline/AccountAllowanceStore.cjs +2 -2
- package/dist/pipeline/AccountAllowanceStore.js +1 -1
- package/dist/pipeline/AuthSource.d.cts +6 -0
- package/dist/pipeline/AuthSource.d.ts +6 -0
- package/dist/pipeline/SubscriptionAuthSource.cjs +5 -4
- package/dist/pipeline/SubscriptionAuthSource.js +4 -3
- package/dist/pipeline/SubscriptionAuthStrategy.d.cts +7 -0
- package/dist/pipeline/SubscriptionAuthStrategy.d.ts +7 -0
- package/dist/pipeline/antigravityQuotaFamily.cjs +16 -0
- package/dist/pipeline/antigravityQuotaFamily.d.cts +52 -0
- package/dist/pipeline/antigravityQuotaFamily.d.ts +52 -0
- package/dist/pipeline/antigravityQuotaFamily.js +16 -0
- package/dist/pipeline/upstreamFetch.cjs +3 -3
- package/dist/pipeline/upstreamFetch.js +2 -2
- package/dist/ports.d.cts +2 -2
- package/dist/ports.d.ts +2 -2
- package/dist/provider-proxy/ProviderProxy.cjs +29 -22
- package/dist/provider-proxy/ProviderProxy.js +28 -21
- package/dist/provider-proxy/identity/codexCliHeaders.cjs +4 -2
- package/dist/provider-proxy/identity/codexCliHeaders.js +4 -2
- package/dist/provider-proxy/identity/openCodeGoHeaders.cjs +17 -0
- package/dist/provider-proxy/identity/openCodeGoHeaders.d.cts +71 -0
- package/dist/provider-proxy/identity/openCodeGoHeaders.d.ts +71 -0
- package/dist/provider-proxy/identity/openCodeGoHeaders.js +17 -0
- package/dist/provider-proxy/ingress/providerProxyShared.cjs +29 -22
- package/dist/provider-proxy/ingress/providerProxyShared.js +28 -21
- package/dist/provider-proxy.cjs +29 -22
- package/dist/provider-proxy.d.cts +2 -2
- package/dist/provider-proxy.d.ts +2 -2
- package/dist/provider-proxy.js +28 -21
- package/dist/{routeResolver-STwMz_G4.d.ts → routeResolver-BLTleO4H.d.ts} +1 -1
- package/dist/{routeResolver-Da0yvkL1.d.cts → routeResolver-C2z0pp-q.d.cts} +1 -1
- package/dist/transformer/transformers/AnthropicOpenAIToAnthropicStream.cjs +2 -2
- package/dist/transformer/transformers/AnthropicOpenAIToAnthropicStream.js +1 -1
- package/dist/transformer/transformers/AnthropicTransformer.cjs +3 -3
- package/dist/transformer/transformers/AnthropicTransformer.js +2 -2
- package/dist/transformer/transformers/AntigravityTransformer.cjs +31 -0
- package/dist/transformer/transformers/AntigravityTransformer.d.cts +104 -0
- package/dist/transformer/transformers/AntigravityTransformer.d.ts +104 -0
- package/dist/transformer/transformers/AntigravityTransformer.js +31 -0
- package/dist/transformer/transformers/GeminiCodeAssistTransformer.cjs +3 -3
- package/dist/transformer/transformers/GeminiCodeAssistTransformer.d.cts +2 -1
- package/dist/transformer/transformers/GeminiCodeAssistTransformer.d.ts +2 -1
- 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/antigravityFailover.cjs +30 -0
- package/dist/transformer/transformers/antigravityFailover.d.cts +52 -0
- package/dist/transformer/transformers/antigravityFailover.d.ts +52 -0
- package/dist/transformer/transformers/antigravityFailover.js +30 -0
- package/dist/transformer/transformers/antigravityIdentity.cjs +24 -0
- package/dist/transformer/transformers/antigravityIdentity.d.cts +76 -0
- package/dist/transformer/transformers/antigravityIdentity.d.ts +76 -0
- package/dist/transformer/transformers/antigravityIdentity.js +24 -0
- package/dist/transformer/transformers.cjs +61 -9
- package/dist/transformer/transformers.d.cts +7 -2
- package/dist/transformer/transformers.d.ts +7 -2
- package/dist/transformer/transformers.js +61 -9
- package/dist/transformer/types.d.cts +11 -0
- package/dist/transformer/types.d.ts +11 -0
- package/dist/transformer.cjs +21 -12
- package/dist/transformer.d.cts +3 -0
- package/dist/transformer.d.ts +3 -0
- package/dist/transformer.js +20 -11
- package/dist/{types-Be-yt_6T.d.cts → types-BVwJQ9ZS.d.cts} +3 -0
- package/dist/{types-D-oHYusb.d.cts → types-C6m-Db26.d.cts} +25 -4
- package/dist/{types-Dvlpjn0d.d.ts → types-Da735j2d.d.ts} +25 -4
- package/dist/{types-Dm4_36V4.d.ts → types-VAHRysdP.d.ts} +3 -0
- package/package.json +2 -2
- package/dist/chunk-4IH4EL7M.cjs +0 -9
- package/dist/chunk-XEKD23J5.js +0 -9
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* openCodeGoHeaders — the outbound identity headers every OpenCodeGo
|
|
3
|
+
* (`opencode.ai` zen/go) egress must carry.
|
|
4
|
+
*
|
|
5
|
+
* WHY THIS EXISTS: opencode.ai announced that tools hitting their API must (1)
|
|
6
|
+
* identify themselves with a clear `user-agent` — a bare relay falls to Node's
|
|
7
|
+
* default `node` UA, exactly the "too generic" shape their traffic monitoring
|
|
8
|
+
* flags — and (2) send `x-opencode-session` so they can optimize prompt
|
|
9
|
+
* caching. The OpenCodeGo relay previously sent neither: a downstream client's
|
|
10
|
+
* own `x-opencode-session` was dropped at the ingress and nothing replaced it.
|
|
11
|
+
*
|
|
12
|
+
* The split this module draws (mirrors claudeCodeHeaders / codexCliHeaders):
|
|
13
|
+
* - `user-agent` is a LIBRARY-LEVEL identity, not a per-request client
|
|
14
|
+
* concern: an app embedding omnicross (elftia) configures it via the daemon
|
|
15
|
+
* config (`opencodego.userAgent`, wired at bootstrap through
|
|
16
|
+
* {@link setOpenCodeGoUserAgent}); absent a configuration the product
|
|
17
|
+
* default `omnicross/<version>` is sent. The downstream client's UA is
|
|
18
|
+
* deliberately NOT forwarded — every HTTP client sends one, so passthrough
|
|
19
|
+
* would relay generic `curl`/`node` values and hide the tool the
|
|
20
|
+
* announcement asks to identify.
|
|
21
|
+
* - `x-opencode-session` IS a per-request caller value: forwarded verbatim
|
|
22
|
+
* when the downstream client sent one (an OpenCode CLI does); otherwise the
|
|
23
|
+
* relay's own stable per-conversation session key stands in, so the
|
|
24
|
+
* upstream still sees a session-stable id for cache affinity.
|
|
25
|
+
*
|
|
26
|
+
* The header APPLICATION lives in the OpenCodeGo auth strategy
|
|
27
|
+
* (`StaticBearerAuthStrategy`, the only consumer of these values' provider) —
|
|
28
|
+
* the antigravity-User-Agent-in-applyHeaders precedent — plus the daemon's
|
|
29
|
+
* usage collector for its background poll.
|
|
30
|
+
*
|
|
31
|
+
* @module provider-proxy/identity/openCodeGoHeaders
|
|
32
|
+
*/
|
|
33
|
+
/** The header opencode.ai reads to key prompt-cache session affinity. */
|
|
34
|
+
declare const OPENCODE_SESSION_HEADER = "x-opencode-session";
|
|
35
|
+
/**
|
|
36
|
+
* Set (or clear) the library-configured `user-agent` for OpenCodeGo egress.
|
|
37
|
+
* Boot wiring only (the daemon's bootstrap passes the validated
|
|
38
|
+
* `opencodego.userAgent` config field here); trimmed-empty / null / undefined
|
|
39
|
+
* clears the slot back to the default. Idempotent — last write wins.
|
|
40
|
+
*/
|
|
41
|
+
declare function setOpenCodeGoUserAgent(userAgent: string | null | undefined): void;
|
|
42
|
+
/**
|
|
43
|
+
* The `user-agent` every OpenCodeGo egress carries: the configured value,
|
|
44
|
+
* else `omnicross/<workspace version>`. Never returns an empty string.
|
|
45
|
+
*/
|
|
46
|
+
declare function getOpenCodeGoUserAgent(): string;
|
|
47
|
+
/**
|
|
48
|
+
* Extract the caller's `x-opencode-session` from a raw request header bag
|
|
49
|
+
* (case-insensitive key lookup; a duplicate header is flattened to one joined
|
|
50
|
+
* value). Absent / empty / whitespace-only ⇒ `undefined` (treated as "the
|
|
51
|
+
* client did not send one").
|
|
52
|
+
*/
|
|
53
|
+
declare function extractOpenCodeSessionHeader(reqHeaders: Record<string, string | string[] | undefined>): string | undefined;
|
|
54
|
+
/**
|
|
55
|
+
* Resolve the outbound `x-opencode-session` VALUE (not the header itself):
|
|
56
|
+
* the caller-supplied session wins verbatim; otherwise the relay's stable
|
|
57
|
+
* per-conversation session key stands in; neither present ⇒ `undefined`
|
|
58
|
+
* (the header is omitted entirely — never send an empty value).
|
|
59
|
+
*
|
|
60
|
+
* NOTE the two session-key derivations that feed `sessionKey` on the live
|
|
61
|
+
* paths: the Anthropic ingress hashes the body anchor (`system` + first user
|
|
62
|
+
* message, FNV-1a 8-hex) and the Responses ingress hashes header-aware ids
|
|
63
|
+
* (SHA-256 32-hex). Both are stable, non-sensitive per-conversation digests —
|
|
64
|
+
* a conversation that crosses ingresses presents two values, which is
|
|
65
|
+
* acceptable for the upstream's cache-affinity purpose.
|
|
66
|
+
*/
|
|
67
|
+
declare function resolveOpenCodeSessionHeader(callerSession: string | null | undefined, sessionKey?: string): string | undefined;
|
|
68
|
+
/** TEST SEAM — clear the configured UA slot so a suite starts from the default. */
|
|
69
|
+
declare function __resetOpenCodeGoHeadersForTests(): void;
|
|
70
|
+
|
|
71
|
+
export { OPENCODE_SESSION_HEADER, __resetOpenCodeGoHeadersForTests, extractOpenCodeSessionHeader, getOpenCodeGoUserAgent, resolveOpenCodeSessionHeader, setOpenCodeGoUserAgent };
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* openCodeGoHeaders — the outbound identity headers every OpenCodeGo
|
|
3
|
+
* (`opencode.ai` zen/go) egress must carry.
|
|
4
|
+
*
|
|
5
|
+
* WHY THIS EXISTS: opencode.ai announced that tools hitting their API must (1)
|
|
6
|
+
* identify themselves with a clear `user-agent` — a bare relay falls to Node's
|
|
7
|
+
* default `node` UA, exactly the "too generic" shape their traffic monitoring
|
|
8
|
+
* flags — and (2) send `x-opencode-session` so they can optimize prompt
|
|
9
|
+
* caching. The OpenCodeGo relay previously sent neither: a downstream client's
|
|
10
|
+
* own `x-opencode-session` was dropped at the ingress and nothing replaced it.
|
|
11
|
+
*
|
|
12
|
+
* The split this module draws (mirrors claudeCodeHeaders / codexCliHeaders):
|
|
13
|
+
* - `user-agent` is a LIBRARY-LEVEL identity, not a per-request client
|
|
14
|
+
* concern: an app embedding omnicross (elftia) configures it via the daemon
|
|
15
|
+
* config (`opencodego.userAgent`, wired at bootstrap through
|
|
16
|
+
* {@link setOpenCodeGoUserAgent}); absent a configuration the product
|
|
17
|
+
* default `omnicross/<version>` is sent. The downstream client's UA is
|
|
18
|
+
* deliberately NOT forwarded — every HTTP client sends one, so passthrough
|
|
19
|
+
* would relay generic `curl`/`node` values and hide the tool the
|
|
20
|
+
* announcement asks to identify.
|
|
21
|
+
* - `x-opencode-session` IS a per-request caller value: forwarded verbatim
|
|
22
|
+
* when the downstream client sent one (an OpenCode CLI does); otherwise the
|
|
23
|
+
* relay's own stable per-conversation session key stands in, so the
|
|
24
|
+
* upstream still sees a session-stable id for cache affinity.
|
|
25
|
+
*
|
|
26
|
+
* The header APPLICATION lives in the OpenCodeGo auth strategy
|
|
27
|
+
* (`StaticBearerAuthStrategy`, the only consumer of these values' provider) —
|
|
28
|
+
* the antigravity-User-Agent-in-applyHeaders precedent — plus the daemon's
|
|
29
|
+
* usage collector for its background poll.
|
|
30
|
+
*
|
|
31
|
+
* @module provider-proxy/identity/openCodeGoHeaders
|
|
32
|
+
*/
|
|
33
|
+
/** The header opencode.ai reads to key prompt-cache session affinity. */
|
|
34
|
+
declare const OPENCODE_SESSION_HEADER = "x-opencode-session";
|
|
35
|
+
/**
|
|
36
|
+
* Set (or clear) the library-configured `user-agent` for OpenCodeGo egress.
|
|
37
|
+
* Boot wiring only (the daemon's bootstrap passes the validated
|
|
38
|
+
* `opencodego.userAgent` config field here); trimmed-empty / null / undefined
|
|
39
|
+
* clears the slot back to the default. Idempotent — last write wins.
|
|
40
|
+
*/
|
|
41
|
+
declare function setOpenCodeGoUserAgent(userAgent: string | null | undefined): void;
|
|
42
|
+
/**
|
|
43
|
+
* The `user-agent` every OpenCodeGo egress carries: the configured value,
|
|
44
|
+
* else `omnicross/<workspace version>`. Never returns an empty string.
|
|
45
|
+
*/
|
|
46
|
+
declare function getOpenCodeGoUserAgent(): string;
|
|
47
|
+
/**
|
|
48
|
+
* Extract the caller's `x-opencode-session` from a raw request header bag
|
|
49
|
+
* (case-insensitive key lookup; a duplicate header is flattened to one joined
|
|
50
|
+
* value). Absent / empty / whitespace-only ⇒ `undefined` (treated as "the
|
|
51
|
+
* client did not send one").
|
|
52
|
+
*/
|
|
53
|
+
declare function extractOpenCodeSessionHeader(reqHeaders: Record<string, string | string[] | undefined>): string | undefined;
|
|
54
|
+
/**
|
|
55
|
+
* Resolve the outbound `x-opencode-session` VALUE (not the header itself):
|
|
56
|
+
* the caller-supplied session wins verbatim; otherwise the relay's stable
|
|
57
|
+
* per-conversation session key stands in; neither present ⇒ `undefined`
|
|
58
|
+
* (the header is omitted entirely — never send an empty value).
|
|
59
|
+
*
|
|
60
|
+
* NOTE the two session-key derivations that feed `sessionKey` on the live
|
|
61
|
+
* paths: the Anthropic ingress hashes the body anchor (`system` + first user
|
|
62
|
+
* message, FNV-1a 8-hex) and the Responses ingress hashes header-aware ids
|
|
63
|
+
* (SHA-256 32-hex). Both are stable, non-sensitive per-conversation digests —
|
|
64
|
+
* a conversation that crosses ingresses presents two values, which is
|
|
65
|
+
* acceptable for the upstream's cache-affinity purpose.
|
|
66
|
+
*/
|
|
67
|
+
declare function resolveOpenCodeSessionHeader(callerSession: string | null | undefined, sessionKey?: string): string | undefined;
|
|
68
|
+
/** TEST SEAM — clear the configured UA slot so a suite starts from the default. */
|
|
69
|
+
declare function __resetOpenCodeGoHeadersForTests(): void;
|
|
70
|
+
|
|
71
|
+
export { OPENCODE_SESSION_HEADER, __resetOpenCodeGoHeadersForTests, extractOpenCodeSessionHeader, getOpenCodeGoUserAgent, resolveOpenCodeSessionHeader, setOpenCodeGoUserAgent };
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import {
|
|
2
|
+
OPENCODE_SESSION_HEADER,
|
|
3
|
+
__resetOpenCodeGoHeadersForTests,
|
|
4
|
+
extractOpenCodeSessionHeader,
|
|
5
|
+
getOpenCodeGoUserAgent,
|
|
6
|
+
resolveOpenCodeSessionHeader,
|
|
7
|
+
setOpenCodeGoUserAgent
|
|
8
|
+
} from "../../chunk-HRBXQ5AC.js";
|
|
9
|
+
import "../../chunk-ONTTXSRL.js";
|
|
10
|
+
export {
|
|
11
|
+
OPENCODE_SESSION_HEADER,
|
|
12
|
+
__resetOpenCodeGoHeadersForTests,
|
|
13
|
+
extractOpenCodeSessionHeader,
|
|
14
|
+
getOpenCodeGoUserAgent,
|
|
15
|
+
resolveOpenCodeSessionHeader,
|
|
16
|
+
setOpenCodeGoUserAgent
|
|
17
|
+
};
|
|
@@ -11,27 +11,32 @@
|
|
|
11
11
|
|
|
12
12
|
|
|
13
13
|
|
|
14
|
-
var
|
|
15
|
-
require('../../chunk-E4QHVXV5.cjs');
|
|
16
|
-
require('../../chunk-HQP3K7PU.cjs');
|
|
14
|
+
var _chunkJ5XMB5KYcjs = require('../../chunk-J5XMB5KY.cjs');
|
|
17
15
|
require('../../chunk-QVOB2DNX.cjs');
|
|
18
|
-
require('../../chunk-
|
|
19
|
-
require('../../chunk-GBHYAGX3.cjs');
|
|
20
|
-
require('../../chunk-3OPYJG76.cjs');
|
|
21
|
-
require('../../chunk-3XVDFRCQ.cjs');
|
|
22
|
-
require('../../chunk-KIQ2HA2A.cjs');
|
|
16
|
+
require('../../chunk-UOOLU64V.cjs');
|
|
23
17
|
require('../../chunk-NOITAVHA.cjs');
|
|
24
18
|
require('../../chunk-QWNUOR7F.cjs');
|
|
25
|
-
require('../../chunk-
|
|
26
|
-
require('../../chunk-6DDYNS2B.cjs');
|
|
19
|
+
require('../../chunk-47E3I5PF.cjs');
|
|
27
20
|
require('../../chunk-5RSZYQJH.cjs');
|
|
21
|
+
require('../../chunk-VGBJPHHD.cjs');
|
|
22
|
+
require('../../chunk-CGEZQC2G.cjs');
|
|
23
|
+
require('../../chunk-X6GHTNDL.cjs');
|
|
24
|
+
require('../../chunk-E5RCCGE7.cjs');
|
|
25
|
+
require('../../chunk-BTSADEX4.cjs');
|
|
28
26
|
require('../../chunk-32SRZFFP.cjs');
|
|
29
27
|
require('../../chunk-2E42SAW3.cjs');
|
|
30
28
|
require('../../chunk-5UK3KLE2.cjs');
|
|
31
|
-
require('../../chunk-
|
|
29
|
+
require('../../chunk-7ZHBN75N.cjs');
|
|
30
|
+
require('../../chunk-GBHYAGX3.cjs');
|
|
31
|
+
require('../../chunk-3OPYJG76.cjs');
|
|
32
|
+
require('../../chunk-J3QQ6JS5.cjs');
|
|
33
|
+
require('../../chunk-E4QHVXV5.cjs');
|
|
34
|
+
require('../../chunk-HQP3K7PU.cjs');
|
|
35
|
+
require('../../chunk-AFH5CEMF.cjs');
|
|
32
36
|
require('../../chunk-RPII3E6Z.cjs');
|
|
33
37
|
require('../../chunk-6RPZADX3.cjs');
|
|
34
|
-
require('../../chunk-
|
|
38
|
+
require('../../chunk-WYECWQ3J.cjs');
|
|
39
|
+
require('../../chunk-UKQHBK4Q.cjs');
|
|
35
40
|
require('../../chunk-UIBD2YY5.cjs');
|
|
36
41
|
require('../../chunk-R3HK6R4B.cjs');
|
|
37
42
|
require('../../chunk-KQBLZMP6.cjs');
|
|
@@ -40,10 +45,11 @@ require('../../chunk-QXD4MV2X.cjs');
|
|
|
40
45
|
require('../../chunk-NYUNU75A.cjs');
|
|
41
46
|
require('../../chunk-OTZC4TNH.cjs');
|
|
42
47
|
require('../../chunk-7LRTPNFL.cjs');
|
|
43
|
-
require('../../chunk-
|
|
48
|
+
require('../../chunk-RXMF7GNF.cjs');
|
|
44
49
|
require('../../chunk-SVNDB62D.cjs');
|
|
45
|
-
require('../../chunk-BKXC4XM6.cjs');
|
|
46
50
|
require('../../chunk-25GXJCEZ.cjs');
|
|
51
|
+
require('../../chunk-FORICQ5U.cjs');
|
|
52
|
+
require('../../chunk-KSMK45RD.cjs');
|
|
47
53
|
require('../../chunk-FX325I5Q.cjs');
|
|
48
54
|
require('../../chunk-AEOZIDEB.cjs');
|
|
49
55
|
require('../../chunk-HCOQQAZE.cjs');
|
|
@@ -51,23 +57,24 @@ require('../../chunk-APYG5QD7.cjs');
|
|
|
51
57
|
require('../../chunk-L74VDN4A.cjs');
|
|
52
58
|
require('../../chunk-XSVNC2UD.cjs');
|
|
53
59
|
require('../../chunk-4YINUUKQ.cjs');
|
|
54
|
-
require('../../chunk-
|
|
60
|
+
require('../../chunk-57Y2EA2G.cjs');
|
|
55
61
|
require('../../chunk-QBZJ7P2T.cjs');
|
|
56
|
-
require('../../chunk-
|
|
62
|
+
require('../../chunk-LL3MZ7O5.cjs');
|
|
57
63
|
require('../../chunk-JMJBSACD.cjs');
|
|
58
64
|
require('../../chunk-GMMT7RVN.cjs');
|
|
59
65
|
require('../../chunk-UNEFIWXI.cjs');
|
|
60
66
|
require('../../chunk-A2YMUCBT.cjs');
|
|
61
67
|
require('../../chunk-GDIXXKF2.cjs');
|
|
62
|
-
require('../../chunk-
|
|
63
|
-
require('../../chunk-
|
|
68
|
+
require('../../chunk-NDIBVTBZ.cjs');
|
|
69
|
+
require('../../chunk-N3MGNLCU.cjs');
|
|
70
|
+
require('../../chunk-4NAMH4UE.cjs');
|
|
64
71
|
require('../../chunk-77USGNRW.cjs');
|
|
65
72
|
require('../../chunk-IUL4VWNU.cjs');
|
|
66
|
-
require('../../chunk-
|
|
73
|
+
require('../../chunk-VFFCV4J6.cjs');
|
|
67
74
|
require('../../chunk-235MXAGX.cjs');
|
|
68
|
-
require('../../chunk-
|
|
75
|
+
require('../../chunk-VYOBVPNB.cjs');
|
|
69
76
|
require('../../chunk-NKVZ6Z3Y.cjs');
|
|
70
|
-
require('../../chunk-
|
|
77
|
+
require('../../chunk-INY54AYX.cjs');
|
|
71
78
|
require('../../chunk-G4CZIUIB.cjs');
|
|
72
79
|
require('../../chunk-2RCCLQYV.cjs');
|
|
73
80
|
|
|
@@ -83,4 +90,4 @@ require('../../chunk-2RCCLQYV.cjs');
|
|
|
83
90
|
|
|
84
91
|
|
|
85
92
|
|
|
86
|
-
exports.aggregateAnthropicSseToJsonBody =
|
|
93
|
+
exports.aggregateAnthropicSseToJsonBody = _chunkJ5XMB5KYcjs.aggregateAnthropicSseToJsonBody; exports.cancelDiscardedResponse = _chunkJ5XMB5KYcjs.cancelDiscardedResponse; exports.getAnthropicEndpointTransformer = _chunkJ5XMB5KYcjs.getAnthropicEndpointTransformer; exports.getGeminiEndpointTransformer = _chunkJ5XMB5KYcjs.getGeminiEndpointTransformer; exports.getResponsesEndpointTransformer = _chunkJ5XMB5KYcjs.getResponsesEndpointTransformer; exports.getSharedExecutor = _chunkJ5XMB5KYcjs.getSharedExecutor; exports.projectUpstreamResponseHeaders = _chunkJ5XMB5KYcjs.projectUpstreamResponseHeaders; exports.readBody = _chunkJ5XMB5KYcjs.readBody; exports.relayResponse = _chunkJ5XMB5KYcjs.relayResponse; exports.resolvePoolBoundKey = _chunkJ5XMB5KYcjs.resolvePoolBoundKey; exports.writeBoundAccountError = _chunkJ5XMB5KYcjs.writeBoundAccountError; exports.writeError = _chunkJ5XMB5KYcjs.writeError;
|
|
@@ -11,27 +11,32 @@ import {
|
|
|
11
11
|
resolvePoolBoundKey,
|
|
12
12
|
writeBoundAccountError,
|
|
13
13
|
writeError
|
|
14
|
-
} from "../../chunk-
|
|
15
|
-
import "../../chunk-MZEGQSKQ.js";
|
|
16
|
-
import "../../chunk-VVEHS2LI.js";
|
|
14
|
+
} from "../../chunk-SWY2LTMR.js";
|
|
17
15
|
import "../../chunk-WTQMX2Q6.js";
|
|
18
|
-
import "../../chunk-
|
|
19
|
-
import "../../chunk-MZNPGW5Q.js";
|
|
20
|
-
import "../../chunk-DK4A7DLE.js";
|
|
21
|
-
import "../../chunk-PAXJGABW.js";
|
|
22
|
-
import "../../chunk-HN74IGEO.js";
|
|
16
|
+
import "../../chunk-MPFOC7AT.js";
|
|
23
17
|
import "../../chunk-V53ZEFXC.js";
|
|
24
18
|
import "../../chunk-7PIUVCKK.js";
|
|
25
|
-
import "../../chunk-
|
|
26
|
-
import "../../chunk-LFEH7CEO.js";
|
|
19
|
+
import "../../chunk-TKZ3DZS5.js";
|
|
27
20
|
import "../../chunk-FU7EAR73.js";
|
|
21
|
+
import "../../chunk-IDPMD4B7.js";
|
|
22
|
+
import "../../chunk-K6J2RIEX.js";
|
|
23
|
+
import "../../chunk-ZJJBITUN.js";
|
|
24
|
+
import "../../chunk-F6P4DIBL.js";
|
|
25
|
+
import "../../chunk-OXBGNEYR.js";
|
|
28
26
|
import "../../chunk-QIIAMBTM.js";
|
|
29
27
|
import "../../chunk-FXR6N3SR.js";
|
|
30
28
|
import "../../chunk-AQDON6MB.js";
|
|
31
|
-
import "../../chunk-
|
|
29
|
+
import "../../chunk-EYGBM2VC.js";
|
|
30
|
+
import "../../chunk-MZNPGW5Q.js";
|
|
31
|
+
import "../../chunk-DK4A7DLE.js";
|
|
32
|
+
import "../../chunk-GFIZ6LQI.js";
|
|
33
|
+
import "../../chunk-MZEGQSKQ.js";
|
|
34
|
+
import "../../chunk-VVEHS2LI.js";
|
|
35
|
+
import "../../chunk-M6PKXP6T.js";
|
|
32
36
|
import "../../chunk-XTEI64OU.js";
|
|
33
37
|
import "../../chunk-XX6NQJMA.js";
|
|
34
|
-
import "../../chunk-
|
|
38
|
+
import "../../chunk-HRBXQ5AC.js";
|
|
39
|
+
import "../../chunk-ONTTXSRL.js";
|
|
35
40
|
import "../../chunk-OE6TDIWW.js";
|
|
36
41
|
import "../../chunk-DRWHTIIZ.js";
|
|
37
42
|
import "../../chunk-X335TJNS.js";
|
|
@@ -40,10 +45,11 @@ import "../../chunk-JWC6APFQ.js";
|
|
|
40
45
|
import "../../chunk-5ERIZW3D.js";
|
|
41
46
|
import "../../chunk-PO3XB56Z.js";
|
|
42
47
|
import "../../chunk-V2UKUTJ3.js";
|
|
43
|
-
import "../../chunk-
|
|
48
|
+
import "../../chunk-ZBDDPWVQ.js";
|
|
44
49
|
import "../../chunk-AVYJ4YBN.js";
|
|
45
|
-
import "../../chunk-C3NPMQTK.js";
|
|
46
50
|
import "../../chunk-2JYRIADS.js";
|
|
51
|
+
import "../../chunk-JHJRZ75C.js";
|
|
52
|
+
import "../../chunk-XBQTVRMK.js";
|
|
47
53
|
import "../../chunk-6OKXH2TW.js";
|
|
48
54
|
import "../../chunk-WNY4WMRF.js";
|
|
49
55
|
import "../../chunk-N76KU6F5.js";
|
|
@@ -51,23 +57,24 @@ import "../../chunk-WLYIIEAF.js";
|
|
|
51
57
|
import "../../chunk-TKJMZBAH.js";
|
|
52
58
|
import "../../chunk-OZFM4X3S.js";
|
|
53
59
|
import "../../chunk-3QFXFCHG.js";
|
|
54
|
-
import "../../chunk-
|
|
60
|
+
import "../../chunk-ZMERU7D3.js";
|
|
55
61
|
import "../../chunk-AQ5TNQB7.js";
|
|
56
|
-
import "../../chunk-
|
|
62
|
+
import "../../chunk-6I4SAWCN.js";
|
|
57
63
|
import "../../chunk-Y7FO65VT.js";
|
|
58
64
|
import "../../chunk-FMOBD2OQ.js";
|
|
59
65
|
import "../../chunk-HUZZZ3JL.js";
|
|
60
66
|
import "../../chunk-H5JUT3KV.js";
|
|
61
67
|
import "../../chunk-5NJLQ6T6.js";
|
|
62
|
-
import "../../chunk-
|
|
63
|
-
import "../../chunk-
|
|
68
|
+
import "../../chunk-EE7VP4O3.js";
|
|
69
|
+
import "../../chunk-QSOHEDKO.js";
|
|
70
|
+
import "../../chunk-YEHQ5FXZ.js";
|
|
64
71
|
import "../../chunk-WYVGULTQ.js";
|
|
65
72
|
import "../../chunk-ZLNHPUFA.js";
|
|
66
|
-
import "../../chunk-
|
|
73
|
+
import "../../chunk-NTF7TLT7.js";
|
|
67
74
|
import "../../chunk-3WD4HTR2.js";
|
|
68
|
-
import "../../chunk-
|
|
75
|
+
import "../../chunk-FYPKKMB3.js";
|
|
69
76
|
import "../../chunk-GL6XM527.js";
|
|
70
|
-
import "../../chunk-
|
|
77
|
+
import "../../chunk-4RM22ETG.js";
|
|
71
78
|
import "../../chunk-4JOU54M5.js";
|
|
72
79
|
import "../../chunk-4PFWFODB.js";
|
|
73
80
|
export {
|
package/dist/provider-proxy.cjs
CHANGED
|
@@ -40,27 +40,32 @@
|
|
|
40
40
|
|
|
41
41
|
|
|
42
42
|
|
|
43
|
-
var
|
|
44
|
-
require('./chunk-E4QHVXV5.cjs');
|
|
45
|
-
require('./chunk-HQP3K7PU.cjs');
|
|
43
|
+
var _chunkJ5XMB5KYcjs = require('./chunk-J5XMB5KY.cjs');
|
|
46
44
|
require('./chunk-QVOB2DNX.cjs');
|
|
47
|
-
require('./chunk-
|
|
48
|
-
require('./chunk-GBHYAGX3.cjs');
|
|
49
|
-
require('./chunk-3OPYJG76.cjs');
|
|
50
|
-
require('./chunk-3XVDFRCQ.cjs');
|
|
51
|
-
require('./chunk-KIQ2HA2A.cjs');
|
|
45
|
+
require('./chunk-UOOLU64V.cjs');
|
|
52
46
|
require('./chunk-NOITAVHA.cjs');
|
|
53
47
|
require('./chunk-QWNUOR7F.cjs');
|
|
54
|
-
require('./chunk-
|
|
55
|
-
require('./chunk-6DDYNS2B.cjs');
|
|
48
|
+
require('./chunk-47E3I5PF.cjs');
|
|
56
49
|
require('./chunk-5RSZYQJH.cjs');
|
|
50
|
+
require('./chunk-VGBJPHHD.cjs');
|
|
51
|
+
require('./chunk-CGEZQC2G.cjs');
|
|
52
|
+
require('./chunk-X6GHTNDL.cjs');
|
|
53
|
+
require('./chunk-E5RCCGE7.cjs');
|
|
54
|
+
require('./chunk-BTSADEX4.cjs');
|
|
57
55
|
require('./chunk-32SRZFFP.cjs');
|
|
58
56
|
require('./chunk-2E42SAW3.cjs');
|
|
59
57
|
require('./chunk-5UK3KLE2.cjs');
|
|
60
|
-
require('./chunk-
|
|
58
|
+
require('./chunk-7ZHBN75N.cjs');
|
|
59
|
+
require('./chunk-GBHYAGX3.cjs');
|
|
60
|
+
require('./chunk-3OPYJG76.cjs');
|
|
61
|
+
require('./chunk-J3QQ6JS5.cjs');
|
|
62
|
+
require('./chunk-E4QHVXV5.cjs');
|
|
63
|
+
require('./chunk-HQP3K7PU.cjs');
|
|
64
|
+
require('./chunk-AFH5CEMF.cjs');
|
|
61
65
|
require('./chunk-RPII3E6Z.cjs');
|
|
62
66
|
require('./chunk-6RPZADX3.cjs');
|
|
63
|
-
require('./chunk-
|
|
67
|
+
require('./chunk-WYECWQ3J.cjs');
|
|
68
|
+
require('./chunk-UKQHBK4Q.cjs');
|
|
64
69
|
require('./chunk-UIBD2YY5.cjs');
|
|
65
70
|
require('./chunk-R3HK6R4B.cjs');
|
|
66
71
|
require('./chunk-KQBLZMP6.cjs');
|
|
@@ -69,10 +74,11 @@ require('./chunk-QXD4MV2X.cjs');
|
|
|
69
74
|
require('./chunk-NYUNU75A.cjs');
|
|
70
75
|
require('./chunk-OTZC4TNH.cjs');
|
|
71
76
|
require('./chunk-7LRTPNFL.cjs');
|
|
72
|
-
require('./chunk-
|
|
77
|
+
require('./chunk-RXMF7GNF.cjs');
|
|
73
78
|
require('./chunk-SVNDB62D.cjs');
|
|
74
|
-
require('./chunk-BKXC4XM6.cjs');
|
|
75
79
|
require('./chunk-25GXJCEZ.cjs');
|
|
80
|
+
require('./chunk-FORICQ5U.cjs');
|
|
81
|
+
require('./chunk-KSMK45RD.cjs');
|
|
76
82
|
require('./chunk-FX325I5Q.cjs');
|
|
77
83
|
require('./chunk-AEOZIDEB.cjs');
|
|
78
84
|
require('./chunk-HCOQQAZE.cjs');
|
|
@@ -80,23 +86,24 @@ require('./chunk-APYG5QD7.cjs');
|
|
|
80
86
|
require('./chunk-L74VDN4A.cjs');
|
|
81
87
|
require('./chunk-XSVNC2UD.cjs');
|
|
82
88
|
require('./chunk-4YINUUKQ.cjs');
|
|
83
|
-
require('./chunk-
|
|
89
|
+
require('./chunk-57Y2EA2G.cjs');
|
|
84
90
|
require('./chunk-QBZJ7P2T.cjs');
|
|
85
|
-
require('./chunk-
|
|
91
|
+
require('./chunk-LL3MZ7O5.cjs');
|
|
86
92
|
require('./chunk-JMJBSACD.cjs');
|
|
87
93
|
require('./chunk-GMMT7RVN.cjs');
|
|
88
94
|
require('./chunk-UNEFIWXI.cjs');
|
|
89
95
|
require('./chunk-A2YMUCBT.cjs');
|
|
90
96
|
require('./chunk-GDIXXKF2.cjs');
|
|
91
|
-
require('./chunk-
|
|
92
|
-
require('./chunk-
|
|
97
|
+
require('./chunk-NDIBVTBZ.cjs');
|
|
98
|
+
require('./chunk-N3MGNLCU.cjs');
|
|
99
|
+
require('./chunk-4NAMH4UE.cjs');
|
|
93
100
|
require('./chunk-77USGNRW.cjs');
|
|
94
101
|
require('./chunk-IUL4VWNU.cjs');
|
|
95
|
-
require('./chunk-
|
|
102
|
+
require('./chunk-VFFCV4J6.cjs');
|
|
96
103
|
require('./chunk-235MXAGX.cjs');
|
|
97
|
-
require('./chunk-
|
|
104
|
+
require('./chunk-VYOBVPNB.cjs');
|
|
98
105
|
require('./chunk-NKVZ6Z3Y.cjs');
|
|
99
|
-
require('./chunk-
|
|
106
|
+
require('./chunk-INY54AYX.cjs');
|
|
100
107
|
require('./chunk-G4CZIUIB.cjs');
|
|
101
108
|
require('./chunk-2RCCLQYV.cjs');
|
|
102
109
|
|
|
@@ -141,4 +148,4 @@ require('./chunk-2RCCLQYV.cjs');
|
|
|
141
148
|
|
|
142
149
|
|
|
143
150
|
|
|
144
|
-
exports.DEFAULT_ROUTE_IDLE_MS =
|
|
151
|
+
exports.DEFAULT_ROUTE_IDLE_MS = _chunkJ5XMB5KYcjs.DEFAULT_ROUTE_IDLE_MS; exports.ProviderProxy = _chunkJ5XMB5KYcjs.ProviderProxy; exports.ProviderProxyRouteMap = _chunkJ5XMB5KYcjs.ProviderProxyRouteMap; exports.ROUTE_LEASE_API_VERSION = _chunkJ5XMB5KYcjs.ROUTE_LEASE_API_VERSION; exports.ROUTE_LEASE_CAPABILITIES = _chunkJ5XMB5KYcjs.ROUTE_LEASE_CAPABILITIES; exports.ROUTE_LEASE_CAPABILITIES_SCHEMA = _chunkJ5XMB5KYcjs.ROUTE_LEASE_CAPABILITIES_SCHEMA; exports.ROUTE_LEASE_CODEX_TOKEN_ENV = _chunkJ5XMB5KYcjs.ROUTE_LEASE_CODEX_TOKEN_ENV; exports.ROUTE_LEASE_DEFAULT_TTL_SECONDS = _chunkJ5XMB5KYcjs.ROUTE_LEASE_DEFAULT_TTL_SECONDS; exports.ROUTE_LEASE_MAX_CONSUMER_BYTES = _chunkJ5XMB5KYcjs.ROUTE_LEASE_MAX_CONSUMER_BYTES; exports.ROUTE_LEASE_MAX_EXECUTION_ID_BYTES = _chunkJ5XMB5KYcjs.ROUTE_LEASE_MAX_EXECUTION_ID_BYTES; exports.ROUTE_LEASE_MAX_IDEMPOTENCY_BYTES = _chunkJ5XMB5KYcjs.ROUTE_LEASE_MAX_IDEMPOTENCY_BYTES; exports.ROUTE_LEASE_MAX_MODEL_BYTES = _chunkJ5XMB5KYcjs.ROUTE_LEASE_MAX_MODEL_BYTES; exports.ROUTE_LEASE_MAX_SESSION_ID_BYTES = _chunkJ5XMB5KYcjs.ROUTE_LEASE_MAX_SESSION_ID_BYTES; exports.ROUTE_LEASE_MAX_TTL_SECONDS = _chunkJ5XMB5KYcjs.ROUTE_LEASE_MAX_TTL_SECONDS; exports.ROUTE_LEASE_REQUEST_SCHEMA = _chunkJ5XMB5KYcjs.ROUTE_LEASE_REQUEST_SCHEMA; exports.ROUTE_LEASE_RESULT_SCHEMA = _chunkJ5XMB5KYcjs.ROUTE_LEASE_RESULT_SCHEMA; exports.ROUTE_LEASE_RUNTIMES = _chunkJ5XMB5KYcjs.ROUTE_LEASE_RUNTIMES; exports.ROUTE_LEASE_RUNTIME_TABLE = _chunkJ5XMB5KYcjs.ROUTE_LEASE_RUNTIME_TABLE; exports.ROUTE_LEASE_SESSION_HASH_DOMAIN = _chunkJ5XMB5KYcjs.ROUTE_LEASE_SESSION_HASH_DOMAIN; exports.ResponsesAffinityStore = _chunkJ5XMB5KYcjs.ResponsesAffinityStore; exports.RouteLeaseError = _chunkJ5XMB5KYcjs.RouteLeaseError; exports.RouteLeaseManager = _chunkJ5XMB5KYcjs.RouteLeaseManager; exports.RouteLeaseTargetResolver = _chunkJ5XMB5KYcjs.RouteLeaseTargetResolver; exports.SYSTEM_ROUTE_LEASE_CLOCK = _chunkJ5XMB5KYcjs.SYSTEM_ROUTE_LEASE_CLOCK; exports.__resetProviderProxyForTests = _chunkJ5XMB5KYcjs.__resetProviderProxyForTests; exports.canonicalizeRouteLeasePayload = _chunkJ5XMB5KYcjs.canonicalizeRouteLeasePayload; exports.classifyResponsesProfile = _chunkJ5XMB5KYcjs.classifyResponsesProfile; exports.createNativeResponsesHostedImageIngress = _chunkJ5XMB5KYcjs.createNativeResponsesHostedImageIngress; exports.createResponsesCompactHandler = _chunkJ5XMB5KYcjs.createResponsesCompactHandler; exports.extractRouteToken = _chunkJ5XMB5KYcjs.extractRouteToken; exports.getProviderProxy = _chunkJ5XMB5KYcjs.getProviderProxy; exports.getResponsesAffinityStore = _chunkJ5XMB5KYcjs.getResponsesAffinityStore; exports.hashRouteLeasePayload = _chunkJ5XMB5KYcjs.hashRouteLeasePayload; exports.hashRouteLeaseSessionId = _chunkJ5XMB5KYcjs.hashRouteLeaseSessionId; exports.isLoopbackAddress = _chunkJ5XMB5KYcjs.isLoopbackAddress; exports.normalizeRouteLeaseIdempotencyKey = _chunkJ5XMB5KYcjs.normalizeRouteLeaseIdempotencyKey; exports.normalizeRouteLeaseTtl = _chunkJ5XMB5KYcjs.normalizeRouteLeaseTtl; exports.parseRouteLeaseCreate = _chunkJ5XMB5KYcjs.parseRouteLeaseCreate; exports.previousResponseNotFound = _chunkJ5XMB5KYcjs.previousResponseNotFound; exports.registerResponsesCompactOperation = _chunkJ5XMB5KYcjs.registerResponsesCompactOperation; exports.routeLeaseRuntime = _chunkJ5XMB5KYcjs.routeLeaseRuntime;
|
|
@@ -2,7 +2,7 @@ import { b as RouteRegistrationOptions, P as ProviderProxy } from './ProviderPro
|
|
|
2
2
|
export { D as DEFAULT_ROUTE_IDLE_MS, a as ProviderProxyRouteMap, R as RouteEvictionReason, i as isLoopbackAddress } from './ProviderProxy-Bz_nkOwq.cjs';
|
|
3
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-BSIJdsyl.cjs';
|
|
4
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-BSIJdsyl.cjs';
|
|
5
|
-
import { g as GatewayBindingTarget } from './types-
|
|
5
|
+
import { g as GatewayBindingTarget } from './types-C6m-Db26.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-BVwJQ9ZS.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
|
@@ -2,7 +2,7 @@ import { b as RouteRegistrationOptions, P as ProviderProxy } from './ProviderPro
|
|
|
2
2
|
export { D as DEFAULT_ROUTE_IDLE_MS, a as ProviderProxyRouteMap, R as RouteEvictionReason, i as isLoopbackAddress } from './ProviderProxy-Ckr6oTrE.js';
|
|
3
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-By9Tg6-I.js';
|
|
4
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-By9Tg6-I.js';
|
|
5
|
-
import { g as GatewayBindingTarget } from './types-
|
|
5
|
+
import { g as GatewayBindingTarget } from './types-Da735j2d.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-VAHRysdP.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,27 +40,32 @@ import {
|
|
|
40
40
|
previousResponseNotFound,
|
|
41
41
|
registerResponsesCompactOperation,
|
|
42
42
|
routeLeaseRuntime
|
|
43
|
-
} from "./chunk-
|
|
44
|
-
import "./chunk-MZEGQSKQ.js";
|
|
45
|
-
import "./chunk-VVEHS2LI.js";
|
|
43
|
+
} from "./chunk-SWY2LTMR.js";
|
|
46
44
|
import "./chunk-WTQMX2Q6.js";
|
|
47
|
-
import "./chunk-
|
|
48
|
-
import "./chunk-MZNPGW5Q.js";
|
|
49
|
-
import "./chunk-DK4A7DLE.js";
|
|
50
|
-
import "./chunk-PAXJGABW.js";
|
|
51
|
-
import "./chunk-HN74IGEO.js";
|
|
45
|
+
import "./chunk-MPFOC7AT.js";
|
|
52
46
|
import "./chunk-V53ZEFXC.js";
|
|
53
47
|
import "./chunk-7PIUVCKK.js";
|
|
54
|
-
import "./chunk-
|
|
55
|
-
import "./chunk-LFEH7CEO.js";
|
|
48
|
+
import "./chunk-TKZ3DZS5.js";
|
|
56
49
|
import "./chunk-FU7EAR73.js";
|
|
50
|
+
import "./chunk-IDPMD4B7.js";
|
|
51
|
+
import "./chunk-K6J2RIEX.js";
|
|
52
|
+
import "./chunk-ZJJBITUN.js";
|
|
53
|
+
import "./chunk-F6P4DIBL.js";
|
|
54
|
+
import "./chunk-OXBGNEYR.js";
|
|
57
55
|
import "./chunk-QIIAMBTM.js";
|
|
58
56
|
import "./chunk-FXR6N3SR.js";
|
|
59
57
|
import "./chunk-AQDON6MB.js";
|
|
60
|
-
import "./chunk-
|
|
58
|
+
import "./chunk-EYGBM2VC.js";
|
|
59
|
+
import "./chunk-MZNPGW5Q.js";
|
|
60
|
+
import "./chunk-DK4A7DLE.js";
|
|
61
|
+
import "./chunk-GFIZ6LQI.js";
|
|
62
|
+
import "./chunk-MZEGQSKQ.js";
|
|
63
|
+
import "./chunk-VVEHS2LI.js";
|
|
64
|
+
import "./chunk-M6PKXP6T.js";
|
|
61
65
|
import "./chunk-XTEI64OU.js";
|
|
62
66
|
import "./chunk-XX6NQJMA.js";
|
|
63
|
-
import "./chunk-
|
|
67
|
+
import "./chunk-HRBXQ5AC.js";
|
|
68
|
+
import "./chunk-ONTTXSRL.js";
|
|
64
69
|
import "./chunk-OE6TDIWW.js";
|
|
65
70
|
import "./chunk-DRWHTIIZ.js";
|
|
66
71
|
import "./chunk-X335TJNS.js";
|
|
@@ -69,10 +74,11 @@ import "./chunk-JWC6APFQ.js";
|
|
|
69
74
|
import "./chunk-5ERIZW3D.js";
|
|
70
75
|
import "./chunk-PO3XB56Z.js";
|
|
71
76
|
import "./chunk-V2UKUTJ3.js";
|
|
72
|
-
import "./chunk-
|
|
77
|
+
import "./chunk-ZBDDPWVQ.js";
|
|
73
78
|
import "./chunk-AVYJ4YBN.js";
|
|
74
|
-
import "./chunk-C3NPMQTK.js";
|
|
75
79
|
import "./chunk-2JYRIADS.js";
|
|
80
|
+
import "./chunk-JHJRZ75C.js";
|
|
81
|
+
import "./chunk-XBQTVRMK.js";
|
|
76
82
|
import "./chunk-6OKXH2TW.js";
|
|
77
83
|
import "./chunk-WNY4WMRF.js";
|
|
78
84
|
import "./chunk-N76KU6F5.js";
|
|
@@ -80,23 +86,24 @@ import "./chunk-WLYIIEAF.js";
|
|
|
80
86
|
import "./chunk-TKJMZBAH.js";
|
|
81
87
|
import "./chunk-OZFM4X3S.js";
|
|
82
88
|
import "./chunk-3QFXFCHG.js";
|
|
83
|
-
import "./chunk-
|
|
89
|
+
import "./chunk-ZMERU7D3.js";
|
|
84
90
|
import "./chunk-AQ5TNQB7.js";
|
|
85
|
-
import "./chunk-
|
|
91
|
+
import "./chunk-6I4SAWCN.js";
|
|
86
92
|
import "./chunk-Y7FO65VT.js";
|
|
87
93
|
import "./chunk-FMOBD2OQ.js";
|
|
88
94
|
import "./chunk-HUZZZ3JL.js";
|
|
89
95
|
import "./chunk-H5JUT3KV.js";
|
|
90
96
|
import "./chunk-5NJLQ6T6.js";
|
|
91
|
-
import "./chunk-
|
|
92
|
-
import "./chunk-
|
|
97
|
+
import "./chunk-EE7VP4O3.js";
|
|
98
|
+
import "./chunk-QSOHEDKO.js";
|
|
99
|
+
import "./chunk-YEHQ5FXZ.js";
|
|
93
100
|
import "./chunk-WYVGULTQ.js";
|
|
94
101
|
import "./chunk-ZLNHPUFA.js";
|
|
95
|
-
import "./chunk-
|
|
102
|
+
import "./chunk-NTF7TLT7.js";
|
|
96
103
|
import "./chunk-3WD4HTR2.js";
|
|
97
|
-
import "./chunk-
|
|
104
|
+
import "./chunk-FYPKKMB3.js";
|
|
98
105
|
import "./chunk-GL6XM527.js";
|
|
99
|
-
import "./chunk-
|
|
106
|
+
import "./chunk-4RM22ETG.js";
|
|
100
107
|
import "./chunk-4JOU54M5.js";
|
|
101
108
|
import "./chunk-4PFWFODB.js";
|
|
102
109
|
export {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ProviderConfigSource } from './ports/provider-config-source.js';
|
|
2
2
|
import { D as IngressFormat, aD as RouteContext } from './types-By9Tg6-I.js';
|
|
3
|
-
import {
|
|
3
|
+
import { v as OutboundEndpoint, _ as ModelRef, c as EndpointRoutingConfig, R as RequestRole } from './types-Da735j2d.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 { D as IngressFormat, aD as RouteContext } from './types-BSIJdsyl.cjs';
|
|
3
|
-
import {
|
|
3
|
+
import { v as OutboundEndpoint, _ as ModelRef, c as EndpointRoutingConfig, R as RequestRole } from './types-C6m-Db26.cjs';
|
|
4
4
|
import { SubscriptionProviderId } from '@omnicross/contracts/subscription-types';
|
|
5
5
|
|
|
6
6
|
/**
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
var
|
|
8
|
+
var _chunkVGBJPHHDcjs = require('../../chunk-VGBJPHHD.cjs');
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
|
|
@@ -13,4 +13,4 @@ var _chunk6DDYNS2Bcjs = require('../../chunk-6DDYNS2B.cjs');
|
|
|
13
13
|
|
|
14
14
|
|
|
15
15
|
|
|
16
|
-
exports.DEFAULT_ANTHROPIC_PING_HEARTBEAT_MS =
|
|
16
|
+
exports.DEFAULT_ANTHROPIC_PING_HEARTBEAT_MS = _chunkVGBJPHHDcjs.DEFAULT_ANTHROPIC_PING_HEARTBEAT_MS; exports.__resetStopReasonContentFilterCountForTests = _chunkVGBJPHHDcjs.__resetStopReasonContentFilterCountForTests; exports.convertOpenAIStreamToAnthropic = _chunkVGBJPHHDcjs.convertOpenAIStreamToAnthropic; exports.getAnthropicPingHeartbeatMs = _chunkVGBJPHHDcjs.getAnthropicPingHeartbeatMs; exports.setAnthropicPingHeartbeatMs = _chunkVGBJPHHDcjs.setAnthropicPingHeartbeatMs; exports.stopReasonContentFilterCount = _chunkVGBJPHHDcjs.stopReasonContentFilterCount;
|
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
getAnthropicPingHeartbeatMs,
|
|
6
6
|
setAnthropicPingHeartbeatMs,
|
|
7
7
|
stopReasonContentFilterCount
|
|
8
|
-
} from "../../chunk-
|
|
8
|
+
} from "../../chunk-IDPMD4B7.js";
|
|
9
9
|
export {
|
|
10
10
|
DEFAULT_ANTHROPIC_PING_HEARTBEAT_MS,
|
|
11
11
|
__resetStopReasonContentFilterCountForTests,
|