@omnicross/core 0.3.0 → 0.4.0
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 +3 -3
- package/dist/auth/GeminiCodeAssistProjectResolver.js +2 -2
- package/dist/{chunk-HVBBDBS3.cjs → chunk-2T6D7LWE.cjs} +96 -9
- package/dist/{chunk-VL5TUDTM.js → chunk-5DJSOFEP.js} +6 -1
- package/dist/{chunk-LKDAN4D7.js → chunk-5TEWZN5J.js} +112 -38
- package/dist/{chunk-6QQG7YG3.cjs → chunk-BKXC4XM6.cjs} +3 -3
- package/dist/{chunk-OPRS4IQZ.js → chunk-C3NPMQTK.js} +2 -2
- package/dist/{chunk-HOMUGKHR.js → chunk-GTDQCW3H.js} +29 -2
- package/dist/{chunk-23S5OPIO.js → chunk-HDXSPXIN.js} +1 -1
- package/dist/{chunk-MKF46GNZ.js → chunk-PF7YQBKX.js} +91 -4
- package/dist/{chunk-VSYQ6XYN.cjs → chunk-QEOV6Y4E.cjs} +516 -442
- package/dist/{chunk-U47LQXPB.js → chunk-QRXOLINS.js} +4 -1
- package/dist/{chunk-YNJNTCSQ.cjs → chunk-TX3AEV6H.cjs} +2 -2
- package/dist/{chunk-OIKREZVQ.cjs → chunk-TX4UCSOP.cjs} +30 -3
- package/dist/{chunk-T6NWPIYZ.cjs → chunk-YEVWA4C7.cjs} +4 -1
- package/dist/{chunk-4Z3ZLLC2.cjs → chunk-ZSA44G7J.cjs} +13 -8
- package/dist/completion/CompletionService.cjs +8 -8
- package/dist/completion/CompletionService.js +7 -7
- package/dist/completion.cjs +14 -8
- package/dist/completion.d.cts +22 -1
- package/dist/completion.d.ts +22 -1
- package/dist/completion.js +14 -8
- package/dist/index.cjs +14 -8
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +14 -8
- package/dist/outbound-api/routeResolver.cjs +2 -2
- package/dist/outbound-api/routeResolver.js +1 -1
- package/dist/outbound-api.cjs +8 -8
- package/dist/outbound-api.js +7 -7
- package/dist/pipeline/AccountAllowanceScheduling.cjs +3 -3
- package/dist/pipeline/AccountAllowanceScheduling.js +2 -2
- package/dist/pipeline/AccountAllowanceStore.cjs +6 -2
- package/dist/pipeline/AccountAllowanceStore.d.cts +41 -1
- package/dist/pipeline/AccountAllowanceStore.d.ts +41 -1
- package/dist/pipeline/AccountAllowanceStore.js +5 -1
- package/dist/pipeline/LlmConfigProviderAuth.cjs +2 -2
- package/dist/pipeline/LlmConfigProviderAuth.js +1 -1
- package/dist/pipeline/SubscriptionAuthSource.cjs +4 -4
- package/dist/pipeline/SubscriptionAuthSource.js +3 -3
- package/dist/pipeline/upstreamFetch.cjs +3 -3
- package/dist/pipeline/upstreamFetch.js +2 -2
- package/dist/provider-proxy/ProviderProxy.cjs +8 -8
- package/dist/provider-proxy/ProviderProxy.js +7 -7
- package/dist/provider-proxy/ingress/providerProxyShared.cjs +8 -8
- package/dist/provider-proxy/ingress/providerProxyShared.js +7 -7
- package/dist/provider-proxy.cjs +8 -8
- package/dist/provider-proxy.js +7 -7
- package/package.json +2 -2
|
@@ -119,7 +119,10 @@ var SUBSCRIPTION_PROVIDER_IDS = [
|
|
|
119
119
|
"claude",
|
|
120
120
|
"codex",
|
|
121
121
|
"gemini",
|
|
122
|
-
"opencodego"
|
|
122
|
+
"opencodego",
|
|
123
|
+
"kimi",
|
|
124
|
+
"grok",
|
|
125
|
+
"copilot"
|
|
123
126
|
];
|
|
124
127
|
var SUBSCRIPTION_ID_SET = new Set(SUBSCRIPTION_PROVIDER_IDS);
|
|
125
128
|
function isSubscriptionProviderId(providerId) {
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
var _chunkSVNDB62Dcjs = require('./chunk-SVNDB62D.cjs');
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
var
|
|
6
|
+
var _chunkBKXC4XM6cjs = require('./chunk-BKXC4XM6.cjs');
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
var _chunk25GXJCEZcjs = require('./chunk-25GXJCEZ.cjs');
|
|
@@ -45,7 +45,7 @@ var SubscriptionAuthSource = class {
|
|
|
45
45
|
boundAccountFallbackPolicy: hints.boundAccountFallbackPolicy
|
|
46
46
|
});
|
|
47
47
|
} catch (err) {
|
|
48
|
-
if (
|
|
48
|
+
if (_chunkBKXC4XM6cjs.isAccountAllowanceExhaustedError.call(void 0, err) || _chunk25GXJCEZcjs.isBoundAccountSelectionError.call(void 0, err)) throw err;
|
|
49
49
|
console.warn("[SubscriptionAuthSource] authStrategy.applyHeaders threw:", _chunkSVNDB62Dcjs.serializeError.call(void 0, err));
|
|
50
50
|
}
|
|
51
51
|
}
|
|
@@ -45,10 +45,34 @@ function getProviderHeaders(provider, apiKey) {
|
|
|
45
45
|
};
|
|
46
46
|
break;
|
|
47
47
|
}
|
|
48
|
+
const withExtra = mergeExtraHeaders(headers, provider.extraHeaders);
|
|
48
49
|
if (_chunkUNEFIWXIcjs.isOpenRouterProvider.call(void 0, provider)) {
|
|
49
|
-
return { ...
|
|
50
|
+
return { ...withExtra, ..._chunkUNEFIWXIcjs.OPENROUTER_APP_HEADERS };
|
|
50
51
|
}
|
|
51
|
-
return
|
|
52
|
+
return withExtra;
|
|
53
|
+
}
|
|
54
|
+
function expandHeaderPlaceholder(value) {
|
|
55
|
+
return value.includes("{{platform}}") ? value.replaceAll("{{platform}}", process.platform) : value;
|
|
56
|
+
}
|
|
57
|
+
var EXTRA_HEADER_RESERVED_NAMES = /* @__PURE__ */ new Set([
|
|
58
|
+
"authorization",
|
|
59
|
+
"x-api-key",
|
|
60
|
+
"x-goog-api-key",
|
|
61
|
+
"api-key",
|
|
62
|
+
"cookie",
|
|
63
|
+
"content-type",
|
|
64
|
+
"content-length"
|
|
65
|
+
]);
|
|
66
|
+
function mergeExtraHeaders(base, extra) {
|
|
67
|
+
if (!extra) return base;
|
|
68
|
+
const entries = Object.entries(extra);
|
|
69
|
+
if (entries.length === 0) return base;
|
|
70
|
+
const merged = { ...base };
|
|
71
|
+
for (const [name, value] of entries) {
|
|
72
|
+
if (EXTRA_HEADER_RESERVED_NAMES.has(name.toLowerCase())) continue;
|
|
73
|
+
merged[name] = expandHeaderPlaceholder(value);
|
|
74
|
+
}
|
|
75
|
+
return merged;
|
|
52
76
|
}
|
|
53
77
|
|
|
54
78
|
// src/pipeline/LlmConfigProviderAuth.ts
|
|
@@ -126,4 +150,7 @@ var LlmConfigProviderAuth = class {
|
|
|
126
150
|
|
|
127
151
|
|
|
128
152
|
|
|
129
|
-
|
|
153
|
+
|
|
154
|
+
|
|
155
|
+
|
|
156
|
+
exports.getProviderHeaders = getProviderHeaders; exports.expandHeaderPlaceholder = expandHeaderPlaceholder; exports.EXTRA_HEADER_RESERVED_NAMES = EXTRA_HEADER_RESERVED_NAMES; exports.mergeExtraHeaders = mergeExtraHeaders; exports.LlmConfigProviderAuth = LlmConfigProviderAuth;
|
|
@@ -119,7 +119,10 @@ var SUBSCRIPTION_PROVIDER_IDS = [
|
|
|
119
119
|
"claude",
|
|
120
120
|
"codex",
|
|
121
121
|
"gemini",
|
|
122
|
-
"opencodego"
|
|
122
|
+
"opencodego",
|
|
123
|
+
"kimi",
|
|
124
|
+
"grok",
|
|
125
|
+
"copilot"
|
|
123
126
|
];
|
|
124
127
|
var SUBSCRIPTION_ID_SET = new Set(SUBSCRIPTION_PROVIDER_IDS);
|
|
125
128
|
function isSubscriptionProviderId(providerId) {
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
var _chunk235MXAGXcjs = require('./chunk-235MXAGX.cjs');
|
|
7
7
|
|
|
8
8
|
|
|
9
|
-
var
|
|
9
|
+
var _chunk2T6D7LWEcjs = require('./chunk-2T6D7LWE.cjs');
|
|
10
10
|
|
|
11
11
|
|
|
12
12
|
var _chunkNKVZ6Z3Ycjs = require('./chunk-NKVZ6Z3Y.cjs');
|
|
@@ -118,16 +118,21 @@ function fetchUpstream(url, init, ctx) {
|
|
|
118
118
|
const doFetchWithAllowanceTap = () => doFetch().then((response) => {
|
|
119
119
|
if (_optionalChain([ctx, 'optionalAccess', _4 => _4.providerId]) === "codex" && ctx.accountId) {
|
|
120
120
|
try {
|
|
121
|
-
|
|
121
|
+
_chunk2T6D7LWEcjs.getSharedAccountAllowanceStore.call(void 0, ).recordCodexHeaders(ctx.accountId, response.headers);
|
|
122
122
|
} catch (e4) {
|
|
123
123
|
}
|
|
124
|
+
} else if (_optionalChain([ctx, 'optionalAccess', _5 => _5.providerId]) === "claude" && ctx.accountId) {
|
|
125
|
+
try {
|
|
126
|
+
_chunk2T6D7LWEcjs.getSharedAccountAllowanceStore.call(void 0, ).recordClaudeHeaders(ctx.accountId, response.headers);
|
|
127
|
+
} catch (e5) {
|
|
128
|
+
}
|
|
124
129
|
}
|
|
125
130
|
return response;
|
|
126
131
|
});
|
|
127
|
-
const activity = _optionalChain([ctx, 'optionalAccess',
|
|
128
|
-
const activityStartedAt = activity && _optionalChain([ctx, 'optionalAccess',
|
|
132
|
+
const activity = _optionalChain([ctx, 'optionalAccess', _6 => _6.routeActivity]);
|
|
133
|
+
const activityStartedAt = activity && _optionalChain([ctx, 'optionalAccess', _7 => _7.providerId]) && ctx.accountId ? Date.now() : 0;
|
|
129
134
|
const recordActivity = (status) => {
|
|
130
|
-
if (!activity || !_optionalChain([ctx, 'optionalAccess',
|
|
135
|
+
if (!activity || !_optionalChain([ctx, 'optionalAccess', _8 => _8.providerId]) || !ctx.accountId) return;
|
|
131
136
|
const record = _chunkNKVZ6Z3Ycjs.getSharedAccountRouteActivity.call(void 0, ).record({
|
|
132
137
|
providerId: ctx.providerId,
|
|
133
138
|
accountId: ctx.accountId,
|
|
@@ -140,8 +145,8 @@ function fetchUpstream(url, init, ctx) {
|
|
|
140
145
|
ts: activityStartedAt
|
|
141
146
|
});
|
|
142
147
|
try {
|
|
143
|
-
_optionalChain([activity, 'access',
|
|
144
|
-
} catch (
|
|
148
|
+
_optionalChain([activity, 'access', _9 => _9.onRecorded, 'optionalCall', _10 => _10(record)]);
|
|
149
|
+
} catch (e6) {
|
|
145
150
|
}
|
|
146
151
|
};
|
|
147
152
|
const doFetchWithActivity = () => doFetchWithAllowanceTap().then(
|
|
@@ -155,7 +160,7 @@ function fetchUpstream(url, init, ctx) {
|
|
|
155
160
|
}
|
|
156
161
|
);
|
|
157
162
|
const tracePath = _chunk235MXAGXcjs.getUpstreamTracePath.call(void 0, );
|
|
158
|
-
if (!tracePath || !_optionalChain([ctx, 'optionalAccess',
|
|
163
|
+
if (!tracePath || !_optionalChain([ctx, 'optionalAccess', _11 => _11.providerId])) return doFetchWithActivity();
|
|
159
164
|
const startedAt = Date.now();
|
|
160
165
|
const method = typeof init.method === "string" ? init.method : "GET";
|
|
161
166
|
const requestHeaders = _chunk235MXAGXcjs.redactHeaders.call(void 0,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _chunkQEOV6Y4Ecjs = require('../chunk-QEOV6Y4E.cjs');
|
|
4
4
|
require('../chunk-E4QHVXV5.cjs');
|
|
5
5
|
require('../chunk-HQP3K7PU.cjs');
|
|
6
6
|
require('../chunk-QVOB2DNX.cjs');
|
|
@@ -24,14 +24,14 @@ require('../chunk-J3QQ6JS5.cjs');
|
|
|
24
24
|
require('../chunk-UIBD2YY5.cjs');
|
|
25
25
|
require('../chunk-R3HK6R4B.cjs');
|
|
26
26
|
require('../chunk-KQBLZMP6.cjs');
|
|
27
|
-
require('../chunk-
|
|
27
|
+
require('../chunk-TX4UCSOP.cjs');
|
|
28
28
|
require('../chunk-QXD4MV2X.cjs');
|
|
29
29
|
require('../chunk-NYUNU75A.cjs');
|
|
30
30
|
require('../chunk-OTZC4TNH.cjs');
|
|
31
31
|
require('../chunk-7LRTPNFL.cjs');
|
|
32
|
-
require('../chunk-
|
|
32
|
+
require('../chunk-TX3AEV6H.cjs');
|
|
33
33
|
require('../chunk-SVNDB62D.cjs');
|
|
34
|
-
require('../chunk-
|
|
34
|
+
require('../chunk-BKXC4XM6.cjs');
|
|
35
35
|
require('../chunk-25GXJCEZ.cjs');
|
|
36
36
|
require('../chunk-FX325I5Q.cjs');
|
|
37
37
|
require('../chunk-AEOZIDEB.cjs');
|
|
@@ -40,7 +40,7 @@ require('../chunk-APYG5QD7.cjs');
|
|
|
40
40
|
require('../chunk-L74VDN4A.cjs');
|
|
41
41
|
require('../chunk-XSVNC2UD.cjs');
|
|
42
42
|
require('../chunk-4YINUUKQ.cjs');
|
|
43
|
-
require('../chunk-
|
|
43
|
+
require('../chunk-YEVWA4C7.cjs');
|
|
44
44
|
require('../chunk-QBZJ7P2T.cjs');
|
|
45
45
|
require('../chunk-4IH4EL7M.cjs');
|
|
46
46
|
require('../chunk-JMJBSACD.cjs');
|
|
@@ -52,13 +52,13 @@ require('../chunk-VXRTQZF2.cjs');
|
|
|
52
52
|
require('../chunk-WX2E2G7H.cjs');
|
|
53
53
|
require('../chunk-77USGNRW.cjs');
|
|
54
54
|
require('../chunk-IUL4VWNU.cjs');
|
|
55
|
-
require('../chunk-
|
|
55
|
+
require('../chunk-ZSA44G7J.cjs');
|
|
56
56
|
require('../chunk-235MXAGX.cjs');
|
|
57
|
-
require('../chunk-
|
|
57
|
+
require('../chunk-2T6D7LWE.cjs');
|
|
58
58
|
require('../chunk-NKVZ6Z3Y.cjs');
|
|
59
59
|
require('../chunk-UPQIWJIE.cjs');
|
|
60
60
|
require('../chunk-G4CZIUIB.cjs');
|
|
61
61
|
require('../chunk-2RCCLQYV.cjs');
|
|
62
62
|
|
|
63
63
|
|
|
64
|
-
exports.CompletionService =
|
|
64
|
+
exports.CompletionService = _chunkQEOV6Y4Ecjs.CompletionService;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
CompletionService
|
|
3
|
-
} from "../chunk-
|
|
3
|
+
} from "../chunk-5TEWZN5J.js";
|
|
4
4
|
import "../chunk-MZEGQSKQ.js";
|
|
5
5
|
import "../chunk-VVEHS2LI.js";
|
|
6
6
|
import "../chunk-WTQMX2Q6.js";
|
|
@@ -24,14 +24,14 @@ import "../chunk-GFIZ6LQI.js";
|
|
|
24
24
|
import "../chunk-OE6TDIWW.js";
|
|
25
25
|
import "../chunk-DRWHTIIZ.js";
|
|
26
26
|
import "../chunk-X335TJNS.js";
|
|
27
|
-
import "../chunk-
|
|
27
|
+
import "../chunk-GTDQCW3H.js";
|
|
28
28
|
import "../chunk-JWC6APFQ.js";
|
|
29
29
|
import "../chunk-5ERIZW3D.js";
|
|
30
30
|
import "../chunk-PO3XB56Z.js";
|
|
31
31
|
import "../chunk-V2UKUTJ3.js";
|
|
32
|
-
import "../chunk-
|
|
32
|
+
import "../chunk-HDXSPXIN.js";
|
|
33
33
|
import "../chunk-AVYJ4YBN.js";
|
|
34
|
-
import "../chunk-
|
|
34
|
+
import "../chunk-C3NPMQTK.js";
|
|
35
35
|
import "../chunk-2JYRIADS.js";
|
|
36
36
|
import "../chunk-6OKXH2TW.js";
|
|
37
37
|
import "../chunk-WNY4WMRF.js";
|
|
@@ -40,7 +40,7 @@ import "../chunk-WLYIIEAF.js";
|
|
|
40
40
|
import "../chunk-TKJMZBAH.js";
|
|
41
41
|
import "../chunk-OZFM4X3S.js";
|
|
42
42
|
import "../chunk-3QFXFCHG.js";
|
|
43
|
-
import "../chunk-
|
|
43
|
+
import "../chunk-QRXOLINS.js";
|
|
44
44
|
import "../chunk-AQ5TNQB7.js";
|
|
45
45
|
import "../chunk-XEKD23J5.js";
|
|
46
46
|
import "../chunk-Y7FO65VT.js";
|
|
@@ -52,9 +52,9 @@ import "../chunk-4VVCXVB7.js";
|
|
|
52
52
|
import "../chunk-R4VCO2CB.js";
|
|
53
53
|
import "../chunk-WYVGULTQ.js";
|
|
54
54
|
import "../chunk-ZLNHPUFA.js";
|
|
55
|
-
import "../chunk-
|
|
55
|
+
import "../chunk-5DJSOFEP.js";
|
|
56
56
|
import "../chunk-3WD4HTR2.js";
|
|
57
|
-
import "../chunk-
|
|
57
|
+
import "../chunk-PF7YQBKX.js";
|
|
58
58
|
import "../chunk-GL6XM527.js";
|
|
59
59
|
import "../chunk-LQYS2N47.js";
|
|
60
60
|
import "../chunk-4JOU54M5.js";
|
package/dist/completion.cjs
CHANGED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
|
|
12
|
-
var
|
|
12
|
+
var _chunkQEOV6Y4Ecjs = require('./chunk-QEOV6Y4E.cjs');
|
|
13
13
|
require('./chunk-E4QHVXV5.cjs');
|
|
14
14
|
require('./chunk-HQP3K7PU.cjs');
|
|
15
15
|
require('./chunk-QVOB2DNX.cjs');
|
|
@@ -35,14 +35,17 @@ require('./chunk-R3HK6R4B.cjs');
|
|
|
35
35
|
require('./chunk-KQBLZMP6.cjs');
|
|
36
36
|
|
|
37
37
|
|
|
38
|
-
|
|
38
|
+
|
|
39
|
+
|
|
40
|
+
|
|
41
|
+
var _chunkTX4UCSOPcjs = require('./chunk-TX4UCSOP.cjs');
|
|
39
42
|
require('./chunk-QXD4MV2X.cjs');
|
|
40
43
|
require('./chunk-NYUNU75A.cjs');
|
|
41
44
|
require('./chunk-OTZC4TNH.cjs');
|
|
42
45
|
require('./chunk-7LRTPNFL.cjs');
|
|
43
|
-
require('./chunk-
|
|
46
|
+
require('./chunk-TX3AEV6H.cjs');
|
|
44
47
|
require('./chunk-SVNDB62D.cjs');
|
|
45
|
-
require('./chunk-
|
|
48
|
+
require('./chunk-BKXC4XM6.cjs');
|
|
46
49
|
require('./chunk-25GXJCEZ.cjs');
|
|
47
50
|
require('./chunk-FX325I5Q.cjs');
|
|
48
51
|
require('./chunk-AEOZIDEB.cjs');
|
|
@@ -51,7 +54,7 @@ require('./chunk-APYG5QD7.cjs');
|
|
|
51
54
|
require('./chunk-L74VDN4A.cjs');
|
|
52
55
|
require('./chunk-XSVNC2UD.cjs');
|
|
53
56
|
require('./chunk-4YINUUKQ.cjs');
|
|
54
|
-
require('./chunk-
|
|
57
|
+
require('./chunk-YEVWA4C7.cjs');
|
|
55
58
|
require('./chunk-QBZJ7P2T.cjs');
|
|
56
59
|
require('./chunk-4IH4EL7M.cjs');
|
|
57
60
|
|
|
@@ -79,9 +82,9 @@ require('./chunk-VXRTQZF2.cjs');
|
|
|
79
82
|
require('./chunk-WX2E2G7H.cjs');
|
|
80
83
|
require('./chunk-77USGNRW.cjs');
|
|
81
84
|
require('./chunk-IUL4VWNU.cjs');
|
|
82
|
-
require('./chunk-
|
|
85
|
+
require('./chunk-ZSA44G7J.cjs');
|
|
83
86
|
require('./chunk-235MXAGX.cjs');
|
|
84
|
-
require('./chunk-
|
|
87
|
+
require('./chunk-2T6D7LWE.cjs');
|
|
85
88
|
require('./chunk-NKVZ6Z3Y.cjs');
|
|
86
89
|
require('./chunk-UPQIWJIE.cjs');
|
|
87
90
|
require('./chunk-G4CZIUIB.cjs');
|
|
@@ -116,4 +119,7 @@ var _chunk2RCCLQYVcjs = require('./chunk-2RCCLQYV.cjs');
|
|
|
116
119
|
|
|
117
120
|
|
|
118
121
|
|
|
119
|
-
|
|
122
|
+
|
|
123
|
+
|
|
124
|
+
|
|
125
|
+
exports.BuiltinToolExecutor = _chunk2RCCLQYVcjs.BuiltinToolExecutor; exports.CompletionService = _chunkQEOV6Y4Ecjs.CompletionService; exports.EXTRA_HEADER_RESERVED_NAMES = _chunkTX4UCSOPcjs.EXTRA_HEADER_RESERVED_NAMES; exports.NATIVE_SEARCH_TOOL_NAMES = _chunkGMMT7RVNcjs.NATIVE_SEARCH_TOOL_NAMES; exports.addOpenRouterProviderToRequest = _chunkQEOV6Y4Ecjs.addOpenRouterProviderToRequest; exports.applyAugmentation = _chunkJMJBSACDcjs.applyAugmentation; exports.attachStreamEventBuffer = _chunkQEOV6Y4Ecjs.attach; exports.buildAnthropicApiUrl = _chunkA2YMUCBTcjs.buildAnthropicApiUrl; exports.buildAzureOpenAIApiUrl = _chunkA2YMUCBTcjs.buildAzureOpenAIApiUrl; exports.buildGeminiApiUrl = _chunkA2YMUCBTcjs.buildGeminiApiUrl; exports.buildNativeSearchAugmentation = _chunkJMJBSACDcjs.buildNativeSearchAugmentation; exports.buildOpenAIApiUrl = _chunkA2YMUCBTcjs.buildOpenAIApiUrl; exports.buildOpenAIResponseApiUrl = _chunkA2YMUCBTcjs.buildOpenAIResponseApiUrl; exports.buildProviderApiUrl = _chunkA2YMUCBTcjs.buildProviderApiUrl; exports.convertMessageToAnthropic = _chunkQEOV6Y4Ecjs.convertMessageToAnthropic; exports.convertMessageToGemini = _chunkQEOV6Y4Ecjs.convertMessageToGemini; exports.convertMessageToOpenAI = _chunkQEOV6Y4Ecjs.convertMessageToOpenAI; exports.detectNativeSearch = _chunkJMJBSACDcjs.detectNativeSearch; exports.emitStreamEvent = _chunkQEOV6Y4Ecjs.emit; exports.expandHeaderPlaceholder = _chunkTX4UCSOPcjs.expandHeaderPlaceholder; exports.getBuiltinSearchTools = _chunk2RCCLQYVcjs.getBuiltinSearchTools; exports.getOpenRouterProviderConfig = _chunkQEOV6Y4Ecjs.getOpenRouterProviderConfig; exports.getProviderHeaders = _chunkTX4UCSOPcjs.getProviderHeaders; exports.mergeExtraHeaders = _chunkTX4UCSOPcjs.mergeExtraHeaders; exports.normalizeAzureEndpoint = _chunkA2YMUCBTcjs.normalizeAzureEndpoint; exports.registerStreamEventBuffer = _chunkQEOV6Y4Ecjs.register; exports.releaseStreamEventBuffer = _chunkQEOV6Y4Ecjs.release; exports.resolveApiFormat = _chunkA2YMUCBTcjs.resolveApiFormat; exports.resolveProviderEndpoint = _chunkA2YMUCBTcjs.resolveProviderEndpoint;
|
package/dist/completion.d.cts
CHANGED
|
@@ -90,6 +90,27 @@ declare function release(streamId: string): void;
|
|
|
90
90
|
* Get request headers based on provider format
|
|
91
91
|
*/
|
|
92
92
|
declare function getProviderHeaders(provider: LLMProvider, apiKey: string): Record<string, string>;
|
|
93
|
+
/**
|
|
94
|
+
* Expand the `{{platform}}` placeholder in an extra-header value to the local
|
|
95
|
+
* `process.platform` (a gateway may pin a per-OS identity header). The ONLY
|
|
96
|
+
* supported placeholder — deliberately not a general template engine.
|
|
97
|
+
*/
|
|
98
|
+
declare function expandHeaderPlaceholder(value: string): string;
|
|
99
|
+
/**
|
|
100
|
+
* Header names an `extraHeaders` entry may NEVER take (matched
|
|
101
|
+
* case-insensitively) — the SINGLE canonical list, shared with the daemon's
|
|
102
|
+
* config write/load guards. Credentials come only from the key fields (the
|
|
103
|
+
* masked secret spine), and body framing is the format funnel's job; the merge
|
|
104
|
+
* below re-enforces the set so a value that bypassed a guard (hand-built
|
|
105
|
+
* in-process row) still cannot override auth or framing.
|
|
106
|
+
*/
|
|
107
|
+
declare const EXTRA_HEADER_RESERVED_NAMES: ReadonlySet<string>;
|
|
108
|
+
/**
|
|
109
|
+
* Merge a provider's static `extraHeaders` over the format base, expanding
|
|
110
|
+
* placeholders and re-enforcing the reserved-name set. `undefined`/empty (or a
|
|
111
|
+
* fully-reserved map) returns the base unchanged.
|
|
112
|
+
*/
|
|
113
|
+
declare function mergeExtraHeaders(base: Record<string, string>, extra: Record<string, string> | undefined): Record<string, string>;
|
|
93
114
|
|
|
94
115
|
/**
|
|
95
116
|
* Message Format Conversion Utilities
|
|
@@ -162,4 +183,4 @@ declare function getOpenRouterProviderConfig(provider: LLMProvider, modelId: str
|
|
|
162
183
|
*/
|
|
163
184
|
declare function addOpenRouterProviderToRequest(requestBody: Record<string, unknown>, provider: LLMProvider, modelId: string): Record<string, unknown>;
|
|
164
185
|
|
|
165
|
-
export { type SimpleChatGeminiMessage, type SimpleChatGeminiPart, type StreamEvent, type StreamEventType, type StreamSender, addOpenRouterProviderToRequest, attach as attachStreamEventBuffer, convertMessageToAnthropic, convertMessageToGemini, convertMessageToOpenAI, emit as emitStreamEvent, getOpenRouterProviderConfig, getProviderHeaders, register as registerStreamEventBuffer, release as releaseStreamEventBuffer };
|
|
186
|
+
export { EXTRA_HEADER_RESERVED_NAMES, type SimpleChatGeminiMessage, type SimpleChatGeminiPart, type StreamEvent, type StreamEventType, type StreamSender, addOpenRouterProviderToRequest, attach as attachStreamEventBuffer, convertMessageToAnthropic, convertMessageToGemini, convertMessageToOpenAI, emit as emitStreamEvent, expandHeaderPlaceholder, getOpenRouterProviderConfig, getProviderHeaders, mergeExtraHeaders, register as registerStreamEventBuffer, release as releaseStreamEventBuffer };
|
package/dist/completion.d.ts
CHANGED
|
@@ -90,6 +90,27 @@ declare function release(streamId: string): void;
|
|
|
90
90
|
* Get request headers based on provider format
|
|
91
91
|
*/
|
|
92
92
|
declare function getProviderHeaders(provider: LLMProvider, apiKey: string): Record<string, string>;
|
|
93
|
+
/**
|
|
94
|
+
* Expand the `{{platform}}` placeholder in an extra-header value to the local
|
|
95
|
+
* `process.platform` (a gateway may pin a per-OS identity header). The ONLY
|
|
96
|
+
* supported placeholder — deliberately not a general template engine.
|
|
97
|
+
*/
|
|
98
|
+
declare function expandHeaderPlaceholder(value: string): string;
|
|
99
|
+
/**
|
|
100
|
+
* Header names an `extraHeaders` entry may NEVER take (matched
|
|
101
|
+
* case-insensitively) — the SINGLE canonical list, shared with the daemon's
|
|
102
|
+
* config write/load guards. Credentials come only from the key fields (the
|
|
103
|
+
* masked secret spine), and body framing is the format funnel's job; the merge
|
|
104
|
+
* below re-enforces the set so a value that bypassed a guard (hand-built
|
|
105
|
+
* in-process row) still cannot override auth or framing.
|
|
106
|
+
*/
|
|
107
|
+
declare const EXTRA_HEADER_RESERVED_NAMES: ReadonlySet<string>;
|
|
108
|
+
/**
|
|
109
|
+
* Merge a provider's static `extraHeaders` over the format base, expanding
|
|
110
|
+
* placeholders and re-enforcing the reserved-name set. `undefined`/empty (or a
|
|
111
|
+
* fully-reserved map) returns the base unchanged.
|
|
112
|
+
*/
|
|
113
|
+
declare function mergeExtraHeaders(base: Record<string, string>, extra: Record<string, string> | undefined): Record<string, string>;
|
|
93
114
|
|
|
94
115
|
/**
|
|
95
116
|
* Message Format Conversion Utilities
|
|
@@ -162,4 +183,4 @@ declare function getOpenRouterProviderConfig(provider: LLMProvider, modelId: str
|
|
|
162
183
|
*/
|
|
163
184
|
declare function addOpenRouterProviderToRequest(requestBody: Record<string, unknown>, provider: LLMProvider, modelId: string): Record<string, unknown>;
|
|
164
185
|
|
|
165
|
-
export { type SimpleChatGeminiMessage, type SimpleChatGeminiPart, type StreamEvent, type StreamEventType, type StreamSender, addOpenRouterProviderToRequest, attach as attachStreamEventBuffer, convertMessageToAnthropic, convertMessageToGemini, convertMessageToOpenAI, emit as emitStreamEvent, getOpenRouterProviderConfig, getProviderHeaders, register as registerStreamEventBuffer, release as releaseStreamEventBuffer };
|
|
186
|
+
export { EXTRA_HEADER_RESERVED_NAMES, type SimpleChatGeminiMessage, type SimpleChatGeminiPart, type StreamEvent, type StreamEventType, type StreamSender, addOpenRouterProviderToRequest, attach as attachStreamEventBuffer, convertMessageToAnthropic, convertMessageToGemini, convertMessageToOpenAI, emit as emitStreamEvent, expandHeaderPlaceholder, getOpenRouterProviderConfig, getProviderHeaders, mergeExtraHeaders, register as registerStreamEventBuffer, release as releaseStreamEventBuffer };
|
package/dist/completion.js
CHANGED
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
getOpenRouterProviderConfig,
|
|
10
10
|
register,
|
|
11
11
|
release
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-5TEWZN5J.js";
|
|
13
13
|
import "./chunk-MZEGQSKQ.js";
|
|
14
14
|
import "./chunk-VVEHS2LI.js";
|
|
15
15
|
import "./chunk-WTQMX2Q6.js";
|
|
@@ -34,15 +34,18 @@ import "./chunk-OE6TDIWW.js";
|
|
|
34
34
|
import "./chunk-DRWHTIIZ.js";
|
|
35
35
|
import "./chunk-X335TJNS.js";
|
|
36
36
|
import {
|
|
37
|
-
|
|
38
|
-
|
|
37
|
+
EXTRA_HEADER_RESERVED_NAMES,
|
|
38
|
+
expandHeaderPlaceholder,
|
|
39
|
+
getProviderHeaders,
|
|
40
|
+
mergeExtraHeaders
|
|
41
|
+
} from "./chunk-GTDQCW3H.js";
|
|
39
42
|
import "./chunk-JWC6APFQ.js";
|
|
40
43
|
import "./chunk-5ERIZW3D.js";
|
|
41
44
|
import "./chunk-PO3XB56Z.js";
|
|
42
45
|
import "./chunk-V2UKUTJ3.js";
|
|
43
|
-
import "./chunk-
|
|
46
|
+
import "./chunk-HDXSPXIN.js";
|
|
44
47
|
import "./chunk-AVYJ4YBN.js";
|
|
45
|
-
import "./chunk-
|
|
48
|
+
import "./chunk-C3NPMQTK.js";
|
|
46
49
|
import "./chunk-2JYRIADS.js";
|
|
47
50
|
import "./chunk-6OKXH2TW.js";
|
|
48
51
|
import "./chunk-WNY4WMRF.js";
|
|
@@ -51,7 +54,7 @@ import "./chunk-WLYIIEAF.js";
|
|
|
51
54
|
import "./chunk-TKJMZBAH.js";
|
|
52
55
|
import "./chunk-OZFM4X3S.js";
|
|
53
56
|
import "./chunk-3QFXFCHG.js";
|
|
54
|
-
import "./chunk-
|
|
57
|
+
import "./chunk-QRXOLINS.js";
|
|
55
58
|
import "./chunk-AQ5TNQB7.js";
|
|
56
59
|
import "./chunk-XEKD23J5.js";
|
|
57
60
|
import {
|
|
@@ -79,9 +82,9 @@ import "./chunk-4VVCXVB7.js";
|
|
|
79
82
|
import "./chunk-R4VCO2CB.js";
|
|
80
83
|
import "./chunk-WYVGULTQ.js";
|
|
81
84
|
import "./chunk-ZLNHPUFA.js";
|
|
82
|
-
import "./chunk-
|
|
85
|
+
import "./chunk-5DJSOFEP.js";
|
|
83
86
|
import "./chunk-3WD4HTR2.js";
|
|
84
|
-
import "./chunk-
|
|
87
|
+
import "./chunk-PF7YQBKX.js";
|
|
85
88
|
import "./chunk-GL6XM527.js";
|
|
86
89
|
import "./chunk-LQYS2N47.js";
|
|
87
90
|
import "./chunk-4JOU54M5.js";
|
|
@@ -92,6 +95,7 @@ import {
|
|
|
92
95
|
export {
|
|
93
96
|
BuiltinToolExecutor,
|
|
94
97
|
CompletionService,
|
|
98
|
+
EXTRA_HEADER_RESERVED_NAMES,
|
|
95
99
|
NATIVE_SEARCH_TOOL_NAMES,
|
|
96
100
|
addOpenRouterProviderToRequest,
|
|
97
101
|
applyAugmentation,
|
|
@@ -108,9 +112,11 @@ export {
|
|
|
108
112
|
convertMessageToOpenAI,
|
|
109
113
|
detectNativeSearch,
|
|
110
114
|
emit as emitStreamEvent,
|
|
115
|
+
expandHeaderPlaceholder,
|
|
111
116
|
getBuiltinSearchTools,
|
|
112
117
|
getOpenRouterProviderConfig,
|
|
113
118
|
getProviderHeaders,
|
|
119
|
+
mergeExtraHeaders,
|
|
114
120
|
normalizeAzureEndpoint,
|
|
115
121
|
register as registerStreamEventBuffer,
|
|
116
122
|
release as releaseStreamEventBuffer,
|
package/dist/index.cjs
CHANGED
|
@@ -128,7 +128,7 @@
|
|
|
128
128
|
|
|
129
129
|
|
|
130
130
|
|
|
131
|
-
var
|
|
131
|
+
var _chunkQEOV6Y4Ecjs = require('./chunk-QEOV6Y4E.cjs');
|
|
132
132
|
require('./chunk-E4QHVXV5.cjs');
|
|
133
133
|
|
|
134
134
|
|
|
@@ -167,16 +167,19 @@ require('./chunk-R3HK6R4B.cjs');
|
|
|
167
167
|
require('./chunk-KQBLZMP6.cjs');
|
|
168
168
|
|
|
169
169
|
|
|
170
|
-
|
|
170
|
+
|
|
171
|
+
|
|
172
|
+
|
|
173
|
+
var _chunkTX4UCSOPcjs = require('./chunk-TX4UCSOP.cjs');
|
|
171
174
|
require('./chunk-QXD4MV2X.cjs');
|
|
172
175
|
require('./chunk-NYUNU75A.cjs');
|
|
173
176
|
require('./chunk-OTZC4TNH.cjs');
|
|
174
177
|
require('./chunk-7LRTPNFL.cjs');
|
|
175
|
-
require('./chunk-
|
|
178
|
+
require('./chunk-TX3AEV6H.cjs');
|
|
176
179
|
|
|
177
180
|
|
|
178
181
|
var _chunkSVNDB62Dcjs = require('./chunk-SVNDB62D.cjs');
|
|
179
|
-
require('./chunk-
|
|
182
|
+
require('./chunk-BKXC4XM6.cjs');
|
|
180
183
|
|
|
181
184
|
|
|
182
185
|
|
|
@@ -211,7 +214,7 @@ require('./chunk-4YINUUKQ.cjs');
|
|
|
211
214
|
|
|
212
215
|
|
|
213
216
|
|
|
214
|
-
var
|
|
217
|
+
var _chunkYEVWA4C7cjs = require('./chunk-YEVWA4C7.cjs');
|
|
215
218
|
require('./chunk-QBZJ7P2T.cjs');
|
|
216
219
|
|
|
217
220
|
|
|
@@ -257,9 +260,9 @@ require('./chunk-VXRTQZF2.cjs');
|
|
|
257
260
|
require('./chunk-WX2E2G7H.cjs');
|
|
258
261
|
require('./chunk-77USGNRW.cjs');
|
|
259
262
|
require('./chunk-IUL4VWNU.cjs');
|
|
260
|
-
require('./chunk-
|
|
263
|
+
require('./chunk-ZSA44G7J.cjs');
|
|
261
264
|
require('./chunk-235MXAGX.cjs');
|
|
262
|
-
require('./chunk-
|
|
265
|
+
require('./chunk-2T6D7LWE.cjs');
|
|
263
266
|
require('./chunk-NKVZ6Z3Y.cjs');
|
|
264
267
|
|
|
265
268
|
|
|
@@ -521,4 +524,7 @@ var _chunk2RCCLQYVcjs = require('./chunk-2RCCLQYV.cjs');
|
|
|
521
524
|
|
|
522
525
|
|
|
523
526
|
|
|
524
|
-
exports.AUDIT_REDACTED = _chunkHCOQQAZEcjs.AUDIT_REDACTED; exports.BoundAccountSelectionError = _chunk25GXJCEZcjs.BoundAccountSelectionError; exports.BuiltinToolExecutor = _chunk2RCCLQYVcjs.BuiltinToolExecutor; exports.CompletionService = _chunkVSYQ6XYNcjs.CompletionService; exports.ConcurrencyQueueFullError = _chunkVSYQ6XYNcjs.ConcurrencyQueueFullError; exports.ConcurrencyWaitCancelledError = _chunkVSYQ6XYNcjs.ConcurrencyWaitCancelledError; exports.ConcurrencyWaitTimeoutError = _chunkVSYQ6XYNcjs.ConcurrencyWaitTimeoutError; exports.DEFAULT_ACCOUNT_PROBE = _chunkVSYQ6XYNcjs.DEFAULT_ACCOUNT_PROBE; exports.DEFAULT_ALLOWANCE_SCHEDULING = _chunkVSYQ6XYNcjs.DEFAULT_ALLOWANCE_SCHEDULING; exports.DEFAULT_CONCURRENCY_QUEUE = _chunkVSYQ6XYNcjs.DEFAULT_CONCURRENCY_QUEUE; exports.DEFAULT_FINGERPRINT = _chunkVSYQ6XYNcjs.DEFAULT_FINGERPRINT; exports.DEFAULT_IMAGES_SERVER_CONFIG = _chunkVSYQ6XYNcjs.DEFAULT_IMAGES_SERVER_CONFIG; exports.DEFAULT_IMAGE_API_LIMITS = _chunkUPQIWJIEcjs.DEFAULT_IMAGE_API_LIMITS; exports.DEFAULT_OUTBOUND_PORT = _chunkVSYQ6XYNcjs.DEFAULT_OUTBOUND_PORT; exports.DEFAULT_ROUTE_IDLE_MS = _chunkVSYQ6XYNcjs.DEFAULT_ROUTE_IDLE_MS; exports.DEFAULT_SEARCH_SERVER_CONFIG = _chunkVSYQ6XYNcjs.DEFAULT_SEARCH_SERVER_CONFIG; exports.DEFAULT_USER_MESSAGE_QUEUE = _chunkVSYQ6XYNcjs.DEFAULT_USER_MESSAGE_QUEUE; exports.ENDPOINT_MODEL_KINDS = _chunk4IH4EL7Mcjs.ENDPOINT_MODEL_KINDS; exports.IMAGE_REQUEST_DIRECTORY_MARKER_CONTENT = _chunkUPQIWJIEcjs.IMAGE_REQUEST_DIRECTORY_MARKER_CONTENT; exports.IMAGE_REQUEST_DIRECTORY_MARKER_NAME = _chunkUPQIWJIEcjs.IMAGE_REQUEST_DIRECTORY_MARKER_NAME; exports.IMAGE_SERVER_HARD_CEILINGS = _chunkVSYQ6XYNcjs.IMAGE_SERVER_HARD_CEILINGS; exports.ImageGenerationError = _chunkUPQIWJIEcjs.ImageGenerationError; exports.ImageOrchestrator = _chunkUPQIWJIEcjs.ImageOrchestrator; exports.ImageProviderRegistry = _chunkUPQIWJIEcjs.ImageProviderRegistry; exports.ImageRequestResourceScope = _chunkUPQIWJIEcjs.ImageRequestResourceScope; exports.InMemoryImageAsset = _chunkUPQIWJIEcjs.InMemoryImageAsset; exports.InMemoryImageReferenceStore = _chunkUPQIWJIEcjs.InMemoryImageReferenceStore; exports.InMemoryResponsesImageStateStore = _chunkUPQIWJIEcjs.InMemoryResponsesImageStateStore; exports.KeySpendTracker = _chunkVSYQ6XYNcjs.KeySpendTracker; exports.KeyedMutex = _chunkVSYQ6XYNcjs.KeyedMutex; exports.LEGACY_OUTBOUND_PERMISSIONS = _chunkVSYQ6XYNcjs.LEGACY_OUTBOUND_PERMISSIONS; exports.NATIVE_SEARCH_TOOL_NAMES = _chunkGMMT7RVNcjs.NATIVE_SEARCH_TOOL_NAMES; exports.OPENROUTER_APP_HEADERS = _chunkUNEFIWXIcjs.OPENROUTER_APP_HEADERS; exports.OUTBOUND_API_SERVER_CONFIG_KEY = _chunkVSYQ6XYNcjs.OUTBOUND_API_SERVER_CONFIG_KEY; exports.OpenAIOperationError = _chunkG4CZIUIBcjs.OpenAIOperationError; exports.OpenAIOperationRegistrationError = _chunkG4CZIUIBcjs.OpenAIOperationRegistrationError; exports.OpenAIOperationRegistry = _chunkG4CZIUIBcjs.OpenAIOperationRegistry; exports.OutboundApiServer = _chunkVSYQ6XYNcjs.OutboundApiServer; exports.OutboundConcurrencyGate = _chunkVSYQ6XYNcjs.OutboundConcurrencyGate; exports.OutboundRateLimiter = _chunkVSYQ6XYNcjs.OutboundRateLimiter; exports.PricingEngine = _chunk2E42SAW3cjs.PricingEngine; exports.ProviderProxy = _chunkVSYQ6XYNcjs.ProviderProxy; exports.ProviderProxyRouteMap = _chunkVSYQ6XYNcjs.ProviderProxyRouteMap; exports.ROUTE_LEASE_API_VERSION = _chunkVSYQ6XYNcjs.ROUTE_LEASE_API_VERSION; exports.ROUTE_LEASE_CAPABILITIES = _chunkVSYQ6XYNcjs.ROUTE_LEASE_CAPABILITIES; exports.ROUTE_LEASE_CAPABILITIES_SCHEMA = _chunkVSYQ6XYNcjs.ROUTE_LEASE_CAPABILITIES_SCHEMA; exports.ROUTE_LEASE_CODEX_TOKEN_ENV = _chunkVSYQ6XYNcjs.ROUTE_LEASE_CODEX_TOKEN_ENV; exports.ROUTE_LEASE_DEFAULT_TTL_SECONDS = _chunkVSYQ6XYNcjs.ROUTE_LEASE_DEFAULT_TTL_SECONDS; exports.ROUTE_LEASE_MAX_CONSUMER_BYTES = _chunkVSYQ6XYNcjs.ROUTE_LEASE_MAX_CONSUMER_BYTES; exports.ROUTE_LEASE_MAX_EXECUTION_ID_BYTES = _chunkVSYQ6XYNcjs.ROUTE_LEASE_MAX_EXECUTION_ID_BYTES; exports.ROUTE_LEASE_MAX_IDEMPOTENCY_BYTES = _chunkVSYQ6XYNcjs.ROUTE_LEASE_MAX_IDEMPOTENCY_BYTES; exports.ROUTE_LEASE_MAX_MODEL_BYTES = _chunkVSYQ6XYNcjs.ROUTE_LEASE_MAX_MODEL_BYTES; exports.ROUTE_LEASE_MAX_SESSION_ID_BYTES = _chunkVSYQ6XYNcjs.ROUTE_LEASE_MAX_SESSION_ID_BYTES; exports.ROUTE_LEASE_MAX_TTL_SECONDS = _chunkVSYQ6XYNcjs.ROUTE_LEASE_MAX_TTL_SECONDS; exports.ROUTE_LEASE_REQUEST_SCHEMA = _chunkVSYQ6XYNcjs.ROUTE_LEASE_REQUEST_SCHEMA; exports.ROUTE_LEASE_RESULT_SCHEMA = _chunkVSYQ6XYNcjs.ROUTE_LEASE_RESULT_SCHEMA; exports.ROUTE_LEASE_RUNTIMES = _chunkVSYQ6XYNcjs.ROUTE_LEASE_RUNTIMES; exports.ROUTE_LEASE_RUNTIME_TABLE = _chunkVSYQ6XYNcjs.ROUTE_LEASE_RUNTIME_TABLE; exports.ROUTE_LEASE_SESSION_HASH_DOMAIN = _chunkVSYQ6XYNcjs.ROUTE_LEASE_SESSION_HASH_DOMAIN; exports.ResponsesAffinityStore = _chunkVSYQ6XYNcjs.ResponsesAffinityStore; exports.RouteLeaseError = _chunkVSYQ6XYNcjs.RouteLeaseError; exports.RouteLeaseManager = _chunkVSYQ6XYNcjs.RouteLeaseManager; exports.RouteLeaseTargetResolver = _chunkVSYQ6XYNcjs.RouteLeaseTargetResolver; exports.SUBSCRIPTION_PROVIDER_IDS = _chunkT6NWPIYZcjs.SUBSCRIPTION_PROVIDER_IDS; exports.SYSTEM_ROUTE_LEASE_CLOCK = _chunkVSYQ6XYNcjs.SYSTEM_ROUTE_LEASE_CLOCK; exports.SerialQueueTimeoutError = _chunkVSYQ6XYNcjs.SerialQueueTimeoutError; exports.TransformerChainExecutor = _chunk7ZHBN75Ncjs.TransformerChainExecutor; exports.TransformerService = _chunk3OPYJG76cjs.TransformerService; exports.UsageRecorder = _chunk5UK3KLE2cjs.UsageRecorder; exports.UserMessageSerialQueue = _chunkVSYQ6XYNcjs.UserMessageSerialQueue; exports.__resetOutboundApiServerForTests = _chunkVSYQ6XYNcjs.__resetOutboundApiServerForTests; exports.__resetProviderProxyForTests = _chunkVSYQ6XYNcjs.__resetProviderProxyForTests; exports.addOpenRouterProviderToRequest = _chunkVSYQ6XYNcjs.addOpenRouterProviderToRequest; exports.applyAugmentation = _chunkJMJBSACDcjs.applyAugmentation; exports.assertFiniteImageApiLimits = _chunkUPQIWJIEcjs.assertFiniteImageApiLimits; exports.attachStreamEventBuffer = _chunkVSYQ6XYNcjs.attach; exports.beginAuditCapture = _chunkFX325I5Qcjs.beginAuditCapture; exports.beginBillingCapture = _chunkAPYG5QD7cjs.beginBillingCapture; exports.boundAccountSelectionMessage = _chunk25GXJCEZcjs.boundAccountSelectionMessage; exports.buildAnthropicApiUrl = _chunkA2YMUCBTcjs.buildAnthropicApiUrl; exports.buildAzureOpenAIApiUrl = _chunkA2YMUCBTcjs.buildAzureOpenAIApiUrl; exports.buildGeminiApiUrl = _chunkA2YMUCBTcjs.buildGeminiApiUrl; exports.buildNativeSearchAugmentation = _chunkJMJBSACDcjs.buildNativeSearchAugmentation; exports.buildOpenAIApiUrl = _chunkA2YMUCBTcjs.buildOpenAIApiUrl; exports.buildOpenAIResponseApiUrl = _chunkA2YMUCBTcjs.buildOpenAIResponseApiUrl; exports.buildProviderApiUrl = _chunkA2YMUCBTcjs.buildProviderApiUrl; exports.candidateBackgroundModelIds = _chunkVSYQ6XYNcjs.candidateBackgroundModelIds; exports.candidateGatewayBindings = _chunkVSYQ6XYNcjs.candidateGatewayBindings; exports.canonicalizeRouteLeasePayload = _chunkVSYQ6XYNcjs.canonicalizeRouteLeasePayload; exports.checkKeyQuota = _chunkVSYQ6XYNcjs.checkKeyQuota; exports.classifyModelPrefix = _chunkT6NWPIYZcjs.classifyModelPrefix; exports.classifyOpenAIOperation = _chunkG4CZIUIBcjs.classifyOpenAIOperation; exports.classifyResponsesProfile = _chunkVSYQ6XYNcjs.classifyResponsesProfile; exports.codexSearchRoutePath = _chunkVSYQ6XYNcjs.codexSearchRoutePath; exports.computeKeyExpiry = _chunkVSYQ6XYNcjs.computeKeyExpiry; exports.computeVoucherGrant = _chunkVSYQ6XYNcjs.computeVoucherGrant; exports.convertAnthropicRequestToOpenAI = _chunkGDIXXKF2cjs.convertAnthropicRequestToOpenAI; exports.convertAnthropicStreamToOpenAI = _chunkGDIXXKF2cjs.convertAnthropicStreamToOpenAI; exports.convertAnthropicToOpenAI = _chunkGDIXXKF2cjs.convertAnthropicToOpenAI; exports.convertAnthropicToOpenAIWithThinking = _chunkGDIXXKF2cjs.convertAnthropicToOpenAIWithThinking; exports.convertMessageToAnthropic = _chunkVSYQ6XYNcjs.convertMessageToAnthropic; exports.convertMessageToGemini = _chunkVSYQ6XYNcjs.convertMessageToGemini; exports.convertMessageToOpenAI = _chunkVSYQ6XYNcjs.convertMessageToOpenAI; exports.convertOpenAIResponseToAnthropic = _chunkGDIXXKF2cjs.convertOpenAIResponseToAnthropic; exports.convertOpenAIStreamToAnthropic = _chunkGDIXXKF2cjs.convertOpenAIStreamToAnthropic; exports.convertOpenAIToAnthropic = _chunkGDIXXKF2cjs.convertOpenAIToAnthropic; exports.convertOpenAIToAnthropicWithThinking = _chunkGDIXXKF2cjs.convertOpenAIToAnthropicWithThinking; exports.createImageApiContributions = _chunkUPQIWJIEcjs.createImageApiContributions; exports.createImageRequestResourceScope = _chunkUPQIWJIEcjs.createImageRequestResourceScope; exports.createIntegrationKey = _chunkVSYQ6XYNcjs.createIntegrationKey; exports.createNamedKey = _chunkVSYQ6XYNcjs.createNamedKey; exports.createNativeResponsesHostedImageIngress = _chunkVSYQ6XYNcjs.createNativeResponsesHostedImageIngress; exports.createResponsesCompactHandler = _chunkVSYQ6XYNcjs.createResponsesCompactHandler; exports.createResponsesImageGenerationContribution = _chunkUPQIWJIEcjs.createResponsesImageGenerationContribution; exports.createSSEParser = _chunkHQP3K7PUcjs.createSSEParser; exports.createSafeRemoteImageResolver = _chunkUPQIWJIEcjs.createSafeRemoteImageResolver; exports.defaultServerConfig = _chunkVSYQ6XYNcjs.defaultServerConfig; exports.detectModelKind = _chunkT6NWPIYZcjs.detectModelKind; exports.detectNativeSearch = _chunkJMJBSACDcjs.detectNativeSearch; exports.detectRequestRole = _chunkT6NWPIYZcjs.detectRequestRole; exports.effectiveOutboundPermissions = _chunkVSYQ6XYNcjs.effectiveOutboundPermissions; exports.emitImageTelemetry = _chunkUPQIWJIEcjs.emitImageTelemetry; exports.emitStreamEvent = _chunkVSYQ6XYNcjs.emit; exports.endpointSupportsSubscription = _chunkT6NWPIYZcjs.endpointSupportsSubscription; exports.endpointToIngressFormat = _chunkT6NWPIYZcjs.endpointToIngressFormat; exports.extractRouteToken = _chunkVSYQ6XYNcjs.extractRouteToken; exports.formatUrls = _chunkVSYQ6XYNcjs.formatUrls; exports.gatewayBindingToEndpointConfig = _chunkVSYQ6XYNcjs.gatewayBindingToEndpointConfig; exports.generateVoucherCode = _chunkVSYQ6XYNcjs.generateVoucherCode; exports.getBuiltinSearchTools = _chunk2RCCLQYVcjs.getBuiltinSearchTools; exports.getOpenAIOperation = _chunkG4CZIUIBcjs.getOpenAIOperation; exports.getOpenRouterAppIdentity = _chunkUNEFIWXIcjs.getOpenRouterAppIdentity; exports.getOpenRouterProviderConfig = _chunkVSYQ6XYNcjs.getOpenRouterProviderConfig; exports.getOutboundApiServer = _chunkVSYQ6XYNcjs.getOutboundApiServer; exports.getProviderHeaders = _chunkOIKREZVQcjs.getProviderHeaders; exports.getProviderProxy = _chunkVSYQ6XYNcjs.getProviderProxy; exports.getResponsesAffinityStore = _chunkVSYQ6XYNcjs.getResponsesAffinityStore; exports.handleCodexSearchRequest = _chunkVSYQ6XYNcjs.handleCodexSearchRequest; exports.handleVoucherRedeem = _chunkVSYQ6XYNcjs.handleVoucherRedeem; exports.hasImageContent = _chunkGDIXXKF2cjs.hasImageContent; exports.hasThinkingEnabled = _chunkGDIXXKF2cjs.hasThinkingEnabled; exports.hashKey = _chunkVSYQ6XYNcjs.hashKey; exports.hashRouteLeasePayload = _chunkVSYQ6XYNcjs.hashRouteLeasePayload; exports.hashRouteLeaseSessionId = _chunkVSYQ6XYNcjs.hashRouteLeaseSessionId; exports.hashVoucherCode = _chunkVSYQ6XYNcjs.hashVoucherCode; exports.imageGenerationErrorFromPublic = _chunkUPQIWJIEcjs.imageGenerationErrorFromPublic; exports.inspectResponsesImageRequest = _chunkUPQIWJIEcjs.inspectResponsesImageRequest; exports.isBoundAccountSelectionError = _chunk25GXJCEZcjs.isBoundAccountSelectionError; exports.isCodexSearchRequest = _chunkVSYQ6XYNcjs.isCodexSearchRequest; exports.isConcurrencyRejection = _chunkVSYQ6XYNcjs.isConcurrencyRejection; exports.isImageGenerationError = _chunkUPQIWJIEcjs.isImageGenerationError; exports.isKindMappedEndpoint = _chunkT6NWPIYZcjs.isKindMappedEndpoint; exports.isLoopbackAddress = _chunkVSYQ6XYNcjs.isLoopbackAddress; exports.isOpenRouterProvider = _chunkUNEFIWXIcjs.isOpenRouterProvider; exports.isRedeemRequest = _chunkVSYQ6XYNcjs.isRedeemRequest; exports.isSerialQueueTimeout = _chunkVSYQ6XYNcjs.isSerialQueueTimeout; exports.isSubscriptionProviderId = _chunkT6NWPIYZcjs.isSubscriptionProviderId; exports.isUserMessageRequest = _chunkVSYQ6XYNcjs.isUserMessageRequest; exports.legacyEndpointsToBindings = _chunkVSYQ6XYNcjs.legacyEndpointsToBindings; exports.loadServerConfig = _chunkVSYQ6XYNcjs.loadServerConfig; exports.mergeServerConfig = _chunkVSYQ6XYNcjs.mergeServerConfig; exports.modelKindsForEndpoint = _chunkT6NWPIYZcjs.modelKindsForEndpoint; exports.newVoucherId = _chunkVSYQ6XYNcjs.newVoucherId; exports.normalizeAccountProbe = _chunkVSYQ6XYNcjs.normalizeAccountProbe; exports.normalizeAllowanceScheduling = _chunkVSYQ6XYNcjs.normalizeAllowanceScheduling; exports.normalizeAudit = _chunkVSYQ6XYNcjs.normalizeAudit; exports.normalizeAzureEndpoint = _chunkA2YMUCBTcjs.normalizeAzureEndpoint; exports.normalizeBilling = _chunkVSYQ6XYNcjs.normalizeBilling; exports.normalizeFingerprint = _chunkVSYQ6XYNcjs.normalizeFingerprint; exports.normalizeGatewayBindings = _chunkVSYQ6XYNcjs.normalizeGatewayBindings; exports.normalizeImageGenerationError = _chunkUPQIWJIEcjs.normalizeImageGenerationError; exports.normalizeImagesServerConfig = _chunkVSYQ6XYNcjs.normalizeImagesServerConfig; exports.normalizePrefixTargets = _chunkVSYQ6XYNcjs.normalizePrefixTargets; exports.normalizeProxyConfig = _chunkVSYQ6XYNcjs.normalizeProxyConfig; exports.normalizeProxySegment = _chunkVSYQ6XYNcjs.normalizeProxySegment; exports.normalizeQueueSegments = _chunkVSYQ6XYNcjs.normalizeQueueSegments; exports.normalizeRouteLeaseIdempotencyKey = _chunkVSYQ6XYNcjs.normalizeRouteLeaseIdempotencyKey; exports.normalizeRouteLeaseTtl = _chunkVSYQ6XYNcjs.normalizeRouteLeaseTtl; exports.normalizeSearchApiProviderConfigs = _chunkVSYQ6XYNcjs.normalizeSearchApiProviderConfigs; exports.normalizeSearchServerConfig = _chunkVSYQ6XYNcjs.normalizeSearchServerConfig; exports.normalizeServerConfig = _chunkVSYQ6XYNcjs.normalizeServerConfig; exports.normalizeVoucher = _chunkVSYQ6XYNcjs.normalizeVoucher; exports.normalizeWebhookDestination = _chunkVSYQ6XYNcjs.normalizeWebhookDestination; exports.normalizeWebhookSegment = _chunkVSYQ6XYNcjs.normalizeWebhookSegment; exports.parseModelRef = _chunkT6NWPIYZcjs.parseModelRef; exports.parseRouteLeaseCreate = _chunkVSYQ6XYNcjs.parseRouteLeaseCreate; exports.pickModelRefFromList = _chunkT6NWPIYZcjs.pickModelRefFromList; exports.previousResponseNotFound = _chunkVSYQ6XYNcjs.previousResponseNotFound; exports.randomBase62 = _chunkVSYQ6XYNcjs.randomBase62; exports.readImageAssetBytes = _chunkUPQIWJIEcjs.readImageAssetBytes; exports.redactAuditText = _chunkHCOQQAZEcjs.redactAuditText; exports.registerBuiltinTransformers = _chunkZAPN7XA6cjs.registerBuiltinTransformers; exports.registerResponsesCompactOperation = _chunkVSYQ6XYNcjs.registerResponsesCompactOperation; exports.registerStreamEventBuffer = _chunkVSYQ6XYNcjs.register; exports.releaseStreamEventBuffer = _chunkVSYQ6XYNcjs.release; exports.resolveApiFormat = _chunkA2YMUCBTcjs.resolveApiFormat; exports.resolveGatewayBinding = _chunkVSYQ6XYNcjs.resolveGatewayBinding; exports.resolveImageCapabilities = _chunkUPQIWJIEcjs.resolveImageCapabilities; exports.resolvePrefixTarget = _chunkT6NWPIYZcjs.resolvePrefixTarget; exports.resolveProviderEndpoint = _chunkA2YMUCBTcjs.resolveProviderEndpoint; exports.resolveRoute = _chunkT6NWPIYZcjs.resolveRoute; exports.routeLeaseRuntime = _chunkVSYQ6XYNcjs.routeLeaseRuntime; exports.saveServerConfig = _chunkVSYQ6XYNcjs.saveServerConfig; exports.serializeError = _chunkSVNDB62Dcjs.serializeError; exports.serializeImageGenerationError = _chunkUPQIWJIEcjs.serializeImageGenerationError; exports.setOpenRouterAppIdentity = _chunkUNEFIWXIcjs.setOpenRouterAppIdentity; exports.startOfLocalDay = _chunkVSYQ6XYNcjs.startOfLocalDay; exports.startOfLocalWeek = _chunkVSYQ6XYNcjs.startOfLocalWeek; exports.streamSSEResponse = _chunkHQP3K7PUcjs.streamSSEResponse; exports.toVoucherInfo = _chunkVSYQ6XYNcjs.toVoucherInfo; exports.unsupportedOpenAIOperation = _chunkG4CZIUIBcjs.unsupportedOpenAIOperation; exports.validateEndpointModelConfig = _chunkT6NWPIYZcjs.validateEndpointModelConfig; exports.validateImagesServerConfig = _chunkVSYQ6XYNcjs.validateImagesServerConfig; exports.validateOutboundPermissions = _chunkVSYQ6XYNcjs.validateOutboundPermissions; exports.validateResponsesImageSelection = _chunkUPQIWJIEcjs.validateResponsesImageSelection; exports.validateSearchServerConfig = _chunkVSYQ6XYNcjs.validateSearchServerConfig; exports.verifyKey = _chunkVSYQ6XYNcjs.verifyKey; exports.verifyPresentedKey = _chunkVSYQ6XYNcjs.verifyPresentedKey; exports.voucherCodePrefix = _chunkVSYQ6XYNcjs.voucherCodePrefix; exports.writeOpenAIOperationError = _chunkG4CZIUIBcjs.writeOpenAIOperationError;
|
|
527
|
+
|
|
528
|
+
|
|
529
|
+
|
|
530
|
+
exports.AUDIT_REDACTED = _chunkHCOQQAZEcjs.AUDIT_REDACTED; exports.BoundAccountSelectionError = _chunk25GXJCEZcjs.BoundAccountSelectionError; exports.BuiltinToolExecutor = _chunk2RCCLQYVcjs.BuiltinToolExecutor; exports.CompletionService = _chunkQEOV6Y4Ecjs.CompletionService; exports.ConcurrencyQueueFullError = _chunkQEOV6Y4Ecjs.ConcurrencyQueueFullError; exports.ConcurrencyWaitCancelledError = _chunkQEOV6Y4Ecjs.ConcurrencyWaitCancelledError; exports.ConcurrencyWaitTimeoutError = _chunkQEOV6Y4Ecjs.ConcurrencyWaitTimeoutError; exports.DEFAULT_ACCOUNT_PROBE = _chunkQEOV6Y4Ecjs.DEFAULT_ACCOUNT_PROBE; exports.DEFAULT_ALLOWANCE_SCHEDULING = _chunkQEOV6Y4Ecjs.DEFAULT_ALLOWANCE_SCHEDULING; exports.DEFAULT_CONCURRENCY_QUEUE = _chunkQEOV6Y4Ecjs.DEFAULT_CONCURRENCY_QUEUE; exports.DEFAULT_FINGERPRINT = _chunkQEOV6Y4Ecjs.DEFAULT_FINGERPRINT; exports.DEFAULT_IMAGES_SERVER_CONFIG = _chunkQEOV6Y4Ecjs.DEFAULT_IMAGES_SERVER_CONFIG; exports.DEFAULT_IMAGE_API_LIMITS = _chunkUPQIWJIEcjs.DEFAULT_IMAGE_API_LIMITS; exports.DEFAULT_OUTBOUND_PORT = _chunkQEOV6Y4Ecjs.DEFAULT_OUTBOUND_PORT; exports.DEFAULT_ROUTE_IDLE_MS = _chunkQEOV6Y4Ecjs.DEFAULT_ROUTE_IDLE_MS; exports.DEFAULT_SEARCH_SERVER_CONFIG = _chunkQEOV6Y4Ecjs.DEFAULT_SEARCH_SERVER_CONFIG; exports.DEFAULT_USER_MESSAGE_QUEUE = _chunkQEOV6Y4Ecjs.DEFAULT_USER_MESSAGE_QUEUE; exports.ENDPOINT_MODEL_KINDS = _chunk4IH4EL7Mcjs.ENDPOINT_MODEL_KINDS; exports.EXTRA_HEADER_RESERVED_NAMES = _chunkTX4UCSOPcjs.EXTRA_HEADER_RESERVED_NAMES; exports.IMAGE_REQUEST_DIRECTORY_MARKER_CONTENT = _chunkUPQIWJIEcjs.IMAGE_REQUEST_DIRECTORY_MARKER_CONTENT; exports.IMAGE_REQUEST_DIRECTORY_MARKER_NAME = _chunkUPQIWJIEcjs.IMAGE_REQUEST_DIRECTORY_MARKER_NAME; exports.IMAGE_SERVER_HARD_CEILINGS = _chunkQEOV6Y4Ecjs.IMAGE_SERVER_HARD_CEILINGS; exports.ImageGenerationError = _chunkUPQIWJIEcjs.ImageGenerationError; exports.ImageOrchestrator = _chunkUPQIWJIEcjs.ImageOrchestrator; exports.ImageProviderRegistry = _chunkUPQIWJIEcjs.ImageProviderRegistry; exports.ImageRequestResourceScope = _chunkUPQIWJIEcjs.ImageRequestResourceScope; exports.InMemoryImageAsset = _chunkUPQIWJIEcjs.InMemoryImageAsset; exports.InMemoryImageReferenceStore = _chunkUPQIWJIEcjs.InMemoryImageReferenceStore; exports.InMemoryResponsesImageStateStore = _chunkUPQIWJIEcjs.InMemoryResponsesImageStateStore; exports.KeySpendTracker = _chunkQEOV6Y4Ecjs.KeySpendTracker; exports.KeyedMutex = _chunkQEOV6Y4Ecjs.KeyedMutex; exports.LEGACY_OUTBOUND_PERMISSIONS = _chunkQEOV6Y4Ecjs.LEGACY_OUTBOUND_PERMISSIONS; exports.NATIVE_SEARCH_TOOL_NAMES = _chunkGMMT7RVNcjs.NATIVE_SEARCH_TOOL_NAMES; exports.OPENROUTER_APP_HEADERS = _chunkUNEFIWXIcjs.OPENROUTER_APP_HEADERS; exports.OUTBOUND_API_SERVER_CONFIG_KEY = _chunkQEOV6Y4Ecjs.OUTBOUND_API_SERVER_CONFIG_KEY; exports.OpenAIOperationError = _chunkG4CZIUIBcjs.OpenAIOperationError; exports.OpenAIOperationRegistrationError = _chunkG4CZIUIBcjs.OpenAIOperationRegistrationError; exports.OpenAIOperationRegistry = _chunkG4CZIUIBcjs.OpenAIOperationRegistry; exports.OutboundApiServer = _chunkQEOV6Y4Ecjs.OutboundApiServer; exports.OutboundConcurrencyGate = _chunkQEOV6Y4Ecjs.OutboundConcurrencyGate; exports.OutboundRateLimiter = _chunkQEOV6Y4Ecjs.OutboundRateLimiter; exports.PricingEngine = _chunk2E42SAW3cjs.PricingEngine; exports.ProviderProxy = _chunkQEOV6Y4Ecjs.ProviderProxy; exports.ProviderProxyRouteMap = _chunkQEOV6Y4Ecjs.ProviderProxyRouteMap; exports.ROUTE_LEASE_API_VERSION = _chunkQEOV6Y4Ecjs.ROUTE_LEASE_API_VERSION; exports.ROUTE_LEASE_CAPABILITIES = _chunkQEOV6Y4Ecjs.ROUTE_LEASE_CAPABILITIES; exports.ROUTE_LEASE_CAPABILITIES_SCHEMA = _chunkQEOV6Y4Ecjs.ROUTE_LEASE_CAPABILITIES_SCHEMA; exports.ROUTE_LEASE_CODEX_TOKEN_ENV = _chunkQEOV6Y4Ecjs.ROUTE_LEASE_CODEX_TOKEN_ENV; exports.ROUTE_LEASE_DEFAULT_TTL_SECONDS = _chunkQEOV6Y4Ecjs.ROUTE_LEASE_DEFAULT_TTL_SECONDS; exports.ROUTE_LEASE_MAX_CONSUMER_BYTES = _chunkQEOV6Y4Ecjs.ROUTE_LEASE_MAX_CONSUMER_BYTES; exports.ROUTE_LEASE_MAX_EXECUTION_ID_BYTES = _chunkQEOV6Y4Ecjs.ROUTE_LEASE_MAX_EXECUTION_ID_BYTES; exports.ROUTE_LEASE_MAX_IDEMPOTENCY_BYTES = _chunkQEOV6Y4Ecjs.ROUTE_LEASE_MAX_IDEMPOTENCY_BYTES; exports.ROUTE_LEASE_MAX_MODEL_BYTES = _chunkQEOV6Y4Ecjs.ROUTE_LEASE_MAX_MODEL_BYTES; exports.ROUTE_LEASE_MAX_SESSION_ID_BYTES = _chunkQEOV6Y4Ecjs.ROUTE_LEASE_MAX_SESSION_ID_BYTES; exports.ROUTE_LEASE_MAX_TTL_SECONDS = _chunkQEOV6Y4Ecjs.ROUTE_LEASE_MAX_TTL_SECONDS; exports.ROUTE_LEASE_REQUEST_SCHEMA = _chunkQEOV6Y4Ecjs.ROUTE_LEASE_REQUEST_SCHEMA; exports.ROUTE_LEASE_RESULT_SCHEMA = _chunkQEOV6Y4Ecjs.ROUTE_LEASE_RESULT_SCHEMA; exports.ROUTE_LEASE_RUNTIMES = _chunkQEOV6Y4Ecjs.ROUTE_LEASE_RUNTIMES; exports.ROUTE_LEASE_RUNTIME_TABLE = _chunkQEOV6Y4Ecjs.ROUTE_LEASE_RUNTIME_TABLE; exports.ROUTE_LEASE_SESSION_HASH_DOMAIN = _chunkQEOV6Y4Ecjs.ROUTE_LEASE_SESSION_HASH_DOMAIN; exports.ResponsesAffinityStore = _chunkQEOV6Y4Ecjs.ResponsesAffinityStore; exports.RouteLeaseError = _chunkQEOV6Y4Ecjs.RouteLeaseError; exports.RouteLeaseManager = _chunkQEOV6Y4Ecjs.RouteLeaseManager; exports.RouteLeaseTargetResolver = _chunkQEOV6Y4Ecjs.RouteLeaseTargetResolver; exports.SUBSCRIPTION_PROVIDER_IDS = _chunkYEVWA4C7cjs.SUBSCRIPTION_PROVIDER_IDS; exports.SYSTEM_ROUTE_LEASE_CLOCK = _chunkQEOV6Y4Ecjs.SYSTEM_ROUTE_LEASE_CLOCK; exports.SerialQueueTimeoutError = _chunkQEOV6Y4Ecjs.SerialQueueTimeoutError; exports.TransformerChainExecutor = _chunk7ZHBN75Ncjs.TransformerChainExecutor; exports.TransformerService = _chunk3OPYJG76cjs.TransformerService; exports.UsageRecorder = _chunk5UK3KLE2cjs.UsageRecorder; exports.UserMessageSerialQueue = _chunkQEOV6Y4Ecjs.UserMessageSerialQueue; exports.__resetOutboundApiServerForTests = _chunkQEOV6Y4Ecjs.__resetOutboundApiServerForTests; exports.__resetProviderProxyForTests = _chunkQEOV6Y4Ecjs.__resetProviderProxyForTests; exports.addOpenRouterProviderToRequest = _chunkQEOV6Y4Ecjs.addOpenRouterProviderToRequest; exports.applyAugmentation = _chunkJMJBSACDcjs.applyAugmentation; exports.assertFiniteImageApiLimits = _chunkUPQIWJIEcjs.assertFiniteImageApiLimits; exports.attachStreamEventBuffer = _chunkQEOV6Y4Ecjs.attach; exports.beginAuditCapture = _chunkFX325I5Qcjs.beginAuditCapture; exports.beginBillingCapture = _chunkAPYG5QD7cjs.beginBillingCapture; exports.boundAccountSelectionMessage = _chunk25GXJCEZcjs.boundAccountSelectionMessage; exports.buildAnthropicApiUrl = _chunkA2YMUCBTcjs.buildAnthropicApiUrl; exports.buildAzureOpenAIApiUrl = _chunkA2YMUCBTcjs.buildAzureOpenAIApiUrl; exports.buildGeminiApiUrl = _chunkA2YMUCBTcjs.buildGeminiApiUrl; exports.buildNativeSearchAugmentation = _chunkJMJBSACDcjs.buildNativeSearchAugmentation; exports.buildOpenAIApiUrl = _chunkA2YMUCBTcjs.buildOpenAIApiUrl; exports.buildOpenAIResponseApiUrl = _chunkA2YMUCBTcjs.buildOpenAIResponseApiUrl; exports.buildProviderApiUrl = _chunkA2YMUCBTcjs.buildProviderApiUrl; exports.candidateBackgroundModelIds = _chunkQEOV6Y4Ecjs.candidateBackgroundModelIds; exports.candidateGatewayBindings = _chunkQEOV6Y4Ecjs.candidateGatewayBindings; exports.canonicalizeRouteLeasePayload = _chunkQEOV6Y4Ecjs.canonicalizeRouteLeasePayload; exports.checkKeyQuota = _chunkQEOV6Y4Ecjs.checkKeyQuota; exports.classifyModelPrefix = _chunkYEVWA4C7cjs.classifyModelPrefix; exports.classifyOpenAIOperation = _chunkG4CZIUIBcjs.classifyOpenAIOperation; exports.classifyResponsesProfile = _chunkQEOV6Y4Ecjs.classifyResponsesProfile; exports.codexSearchRoutePath = _chunkQEOV6Y4Ecjs.codexSearchRoutePath; exports.computeKeyExpiry = _chunkQEOV6Y4Ecjs.computeKeyExpiry; exports.computeVoucherGrant = _chunkQEOV6Y4Ecjs.computeVoucherGrant; exports.convertAnthropicRequestToOpenAI = _chunkGDIXXKF2cjs.convertAnthropicRequestToOpenAI; exports.convertAnthropicStreamToOpenAI = _chunkGDIXXKF2cjs.convertAnthropicStreamToOpenAI; exports.convertAnthropicToOpenAI = _chunkGDIXXKF2cjs.convertAnthropicToOpenAI; exports.convertAnthropicToOpenAIWithThinking = _chunkGDIXXKF2cjs.convertAnthropicToOpenAIWithThinking; exports.convertMessageToAnthropic = _chunkQEOV6Y4Ecjs.convertMessageToAnthropic; exports.convertMessageToGemini = _chunkQEOV6Y4Ecjs.convertMessageToGemini; exports.convertMessageToOpenAI = _chunkQEOV6Y4Ecjs.convertMessageToOpenAI; exports.convertOpenAIResponseToAnthropic = _chunkGDIXXKF2cjs.convertOpenAIResponseToAnthropic; exports.convertOpenAIStreamToAnthropic = _chunkGDIXXKF2cjs.convertOpenAIStreamToAnthropic; exports.convertOpenAIToAnthropic = _chunkGDIXXKF2cjs.convertOpenAIToAnthropic; exports.convertOpenAIToAnthropicWithThinking = _chunkGDIXXKF2cjs.convertOpenAIToAnthropicWithThinking; exports.createImageApiContributions = _chunkUPQIWJIEcjs.createImageApiContributions; exports.createImageRequestResourceScope = _chunkUPQIWJIEcjs.createImageRequestResourceScope; exports.createIntegrationKey = _chunkQEOV6Y4Ecjs.createIntegrationKey; exports.createNamedKey = _chunkQEOV6Y4Ecjs.createNamedKey; exports.createNativeResponsesHostedImageIngress = _chunkQEOV6Y4Ecjs.createNativeResponsesHostedImageIngress; exports.createResponsesCompactHandler = _chunkQEOV6Y4Ecjs.createResponsesCompactHandler; exports.createResponsesImageGenerationContribution = _chunkUPQIWJIEcjs.createResponsesImageGenerationContribution; exports.createSSEParser = _chunkHQP3K7PUcjs.createSSEParser; exports.createSafeRemoteImageResolver = _chunkUPQIWJIEcjs.createSafeRemoteImageResolver; exports.defaultServerConfig = _chunkQEOV6Y4Ecjs.defaultServerConfig; exports.detectModelKind = _chunkYEVWA4C7cjs.detectModelKind; exports.detectNativeSearch = _chunkJMJBSACDcjs.detectNativeSearch; exports.detectRequestRole = _chunkYEVWA4C7cjs.detectRequestRole; exports.effectiveOutboundPermissions = _chunkQEOV6Y4Ecjs.effectiveOutboundPermissions; exports.emitImageTelemetry = _chunkUPQIWJIEcjs.emitImageTelemetry; exports.emitStreamEvent = _chunkQEOV6Y4Ecjs.emit; exports.endpointSupportsSubscription = _chunkYEVWA4C7cjs.endpointSupportsSubscription; exports.endpointToIngressFormat = _chunkYEVWA4C7cjs.endpointToIngressFormat; exports.expandHeaderPlaceholder = _chunkTX4UCSOPcjs.expandHeaderPlaceholder; exports.extractRouteToken = _chunkQEOV6Y4Ecjs.extractRouteToken; exports.formatUrls = _chunkQEOV6Y4Ecjs.formatUrls; exports.gatewayBindingToEndpointConfig = _chunkQEOV6Y4Ecjs.gatewayBindingToEndpointConfig; exports.generateVoucherCode = _chunkQEOV6Y4Ecjs.generateVoucherCode; exports.getBuiltinSearchTools = _chunk2RCCLQYVcjs.getBuiltinSearchTools; exports.getOpenAIOperation = _chunkG4CZIUIBcjs.getOpenAIOperation; exports.getOpenRouterAppIdentity = _chunkUNEFIWXIcjs.getOpenRouterAppIdentity; exports.getOpenRouterProviderConfig = _chunkQEOV6Y4Ecjs.getOpenRouterProviderConfig; exports.getOutboundApiServer = _chunkQEOV6Y4Ecjs.getOutboundApiServer; exports.getProviderHeaders = _chunkTX4UCSOPcjs.getProviderHeaders; exports.getProviderProxy = _chunkQEOV6Y4Ecjs.getProviderProxy; exports.getResponsesAffinityStore = _chunkQEOV6Y4Ecjs.getResponsesAffinityStore; exports.handleCodexSearchRequest = _chunkQEOV6Y4Ecjs.handleCodexSearchRequest; exports.handleVoucherRedeem = _chunkQEOV6Y4Ecjs.handleVoucherRedeem; exports.hasImageContent = _chunkGDIXXKF2cjs.hasImageContent; exports.hasThinkingEnabled = _chunkGDIXXKF2cjs.hasThinkingEnabled; exports.hashKey = _chunkQEOV6Y4Ecjs.hashKey; exports.hashRouteLeasePayload = _chunkQEOV6Y4Ecjs.hashRouteLeasePayload; exports.hashRouteLeaseSessionId = _chunkQEOV6Y4Ecjs.hashRouteLeaseSessionId; exports.hashVoucherCode = _chunkQEOV6Y4Ecjs.hashVoucherCode; exports.imageGenerationErrorFromPublic = _chunkUPQIWJIEcjs.imageGenerationErrorFromPublic; exports.inspectResponsesImageRequest = _chunkUPQIWJIEcjs.inspectResponsesImageRequest; exports.isBoundAccountSelectionError = _chunk25GXJCEZcjs.isBoundAccountSelectionError; exports.isCodexSearchRequest = _chunkQEOV6Y4Ecjs.isCodexSearchRequest; exports.isConcurrencyRejection = _chunkQEOV6Y4Ecjs.isConcurrencyRejection; exports.isImageGenerationError = _chunkUPQIWJIEcjs.isImageGenerationError; exports.isKindMappedEndpoint = _chunkYEVWA4C7cjs.isKindMappedEndpoint; exports.isLoopbackAddress = _chunkQEOV6Y4Ecjs.isLoopbackAddress; exports.isOpenRouterProvider = _chunkUNEFIWXIcjs.isOpenRouterProvider; exports.isRedeemRequest = _chunkQEOV6Y4Ecjs.isRedeemRequest; exports.isSerialQueueTimeout = _chunkQEOV6Y4Ecjs.isSerialQueueTimeout; exports.isSubscriptionProviderId = _chunkYEVWA4C7cjs.isSubscriptionProviderId; exports.isUserMessageRequest = _chunkQEOV6Y4Ecjs.isUserMessageRequest; exports.legacyEndpointsToBindings = _chunkQEOV6Y4Ecjs.legacyEndpointsToBindings; exports.loadServerConfig = _chunkQEOV6Y4Ecjs.loadServerConfig; exports.mergeExtraHeaders = _chunkTX4UCSOPcjs.mergeExtraHeaders; exports.mergeServerConfig = _chunkQEOV6Y4Ecjs.mergeServerConfig; exports.modelKindsForEndpoint = _chunkYEVWA4C7cjs.modelKindsForEndpoint; exports.newVoucherId = _chunkQEOV6Y4Ecjs.newVoucherId; exports.normalizeAccountProbe = _chunkQEOV6Y4Ecjs.normalizeAccountProbe; exports.normalizeAllowanceScheduling = _chunkQEOV6Y4Ecjs.normalizeAllowanceScheduling; exports.normalizeAudit = _chunkQEOV6Y4Ecjs.normalizeAudit; exports.normalizeAzureEndpoint = _chunkA2YMUCBTcjs.normalizeAzureEndpoint; exports.normalizeBilling = _chunkQEOV6Y4Ecjs.normalizeBilling; exports.normalizeFingerprint = _chunkQEOV6Y4Ecjs.normalizeFingerprint; exports.normalizeGatewayBindings = _chunkQEOV6Y4Ecjs.normalizeGatewayBindings; exports.normalizeImageGenerationError = _chunkUPQIWJIEcjs.normalizeImageGenerationError; exports.normalizeImagesServerConfig = _chunkQEOV6Y4Ecjs.normalizeImagesServerConfig; exports.normalizePrefixTargets = _chunkQEOV6Y4Ecjs.normalizePrefixTargets; exports.normalizeProxyConfig = _chunkQEOV6Y4Ecjs.normalizeProxyConfig; exports.normalizeProxySegment = _chunkQEOV6Y4Ecjs.normalizeProxySegment; exports.normalizeQueueSegments = _chunkQEOV6Y4Ecjs.normalizeQueueSegments; exports.normalizeRouteLeaseIdempotencyKey = _chunkQEOV6Y4Ecjs.normalizeRouteLeaseIdempotencyKey; exports.normalizeRouteLeaseTtl = _chunkQEOV6Y4Ecjs.normalizeRouteLeaseTtl; exports.normalizeSearchApiProviderConfigs = _chunkQEOV6Y4Ecjs.normalizeSearchApiProviderConfigs; exports.normalizeSearchServerConfig = _chunkQEOV6Y4Ecjs.normalizeSearchServerConfig; exports.normalizeServerConfig = _chunkQEOV6Y4Ecjs.normalizeServerConfig; exports.normalizeVoucher = _chunkQEOV6Y4Ecjs.normalizeVoucher; exports.normalizeWebhookDestination = _chunkQEOV6Y4Ecjs.normalizeWebhookDestination; exports.normalizeWebhookSegment = _chunkQEOV6Y4Ecjs.normalizeWebhookSegment; exports.parseModelRef = _chunkYEVWA4C7cjs.parseModelRef; exports.parseRouteLeaseCreate = _chunkQEOV6Y4Ecjs.parseRouteLeaseCreate; exports.pickModelRefFromList = _chunkYEVWA4C7cjs.pickModelRefFromList; exports.previousResponseNotFound = _chunkQEOV6Y4Ecjs.previousResponseNotFound; exports.randomBase62 = _chunkQEOV6Y4Ecjs.randomBase62; exports.readImageAssetBytes = _chunkUPQIWJIEcjs.readImageAssetBytes; exports.redactAuditText = _chunkHCOQQAZEcjs.redactAuditText; exports.registerBuiltinTransformers = _chunkZAPN7XA6cjs.registerBuiltinTransformers; exports.registerResponsesCompactOperation = _chunkQEOV6Y4Ecjs.registerResponsesCompactOperation; exports.registerStreamEventBuffer = _chunkQEOV6Y4Ecjs.register; exports.releaseStreamEventBuffer = _chunkQEOV6Y4Ecjs.release; exports.resolveApiFormat = _chunkA2YMUCBTcjs.resolveApiFormat; exports.resolveGatewayBinding = _chunkQEOV6Y4Ecjs.resolveGatewayBinding; exports.resolveImageCapabilities = _chunkUPQIWJIEcjs.resolveImageCapabilities; exports.resolvePrefixTarget = _chunkYEVWA4C7cjs.resolvePrefixTarget; exports.resolveProviderEndpoint = _chunkA2YMUCBTcjs.resolveProviderEndpoint; exports.resolveRoute = _chunkYEVWA4C7cjs.resolveRoute; exports.routeLeaseRuntime = _chunkQEOV6Y4Ecjs.routeLeaseRuntime; exports.saveServerConfig = _chunkQEOV6Y4Ecjs.saveServerConfig; exports.serializeError = _chunkSVNDB62Dcjs.serializeError; exports.serializeImageGenerationError = _chunkUPQIWJIEcjs.serializeImageGenerationError; exports.setOpenRouterAppIdentity = _chunkUNEFIWXIcjs.setOpenRouterAppIdentity; exports.startOfLocalDay = _chunkQEOV6Y4Ecjs.startOfLocalDay; exports.startOfLocalWeek = _chunkQEOV6Y4Ecjs.startOfLocalWeek; exports.streamSSEResponse = _chunkHQP3K7PUcjs.streamSSEResponse; exports.toVoucherInfo = _chunkQEOV6Y4Ecjs.toVoucherInfo; exports.unsupportedOpenAIOperation = _chunkG4CZIUIBcjs.unsupportedOpenAIOperation; exports.validateEndpointModelConfig = _chunkYEVWA4C7cjs.validateEndpointModelConfig; exports.validateImagesServerConfig = _chunkQEOV6Y4Ecjs.validateImagesServerConfig; exports.validateOutboundPermissions = _chunkQEOV6Y4Ecjs.validateOutboundPermissions; exports.validateResponsesImageSelection = _chunkUPQIWJIEcjs.validateResponsesImageSelection; exports.validateSearchServerConfig = _chunkQEOV6Y4Ecjs.validateSearchServerConfig; exports.verifyKey = _chunkQEOV6Y4Ecjs.verifyKey; exports.verifyPresentedKey = _chunkQEOV6Y4Ecjs.verifyPresentedKey; exports.voucherCodePrefix = _chunkQEOV6Y4Ecjs.voucherCodePrefix; exports.writeOpenAIOperationError = _chunkG4CZIUIBcjs.writeOpenAIOperationError;
|
package/dist/index.d.cts
CHANGED
|
@@ -16,7 +16,7 @@ export { ImageCapabilityEvidenceSet, ImageGenerationError, ImageGenerationErrorO
|
|
|
16
16
|
export { C as CreateImageRequestResourceScopeOptions, D as DEFAULT_IMAGE_API_LIMITS, I as IMAGE_REQUEST_DIRECTORY_MARKER_CONTENT, a as IMAGE_REQUEST_DIRECTORY_MARKER_NAME, b as ImageApiAuditRecord, c as ImageApiContributions, d as ImageApiContributionsDeps, e as ImageApiLimits, f as ImageApiRuntime, g as ImageApiRuntimeResolver, h as ImageOpenAIOperationContribution, i as ImageRemoteMaterializer, j as ImageRequestResourceOwnership, k as ImageRequestResourceScope, l as ImageTemporaryResourceBudget, m as ImageTemporaryResourceBudgetLease, R as RemoteImageAssetResolver, n as assertFiniteImageApiLimits, o as createImageRequestResourceScope } from './types-Be-yt_6T.cjs';
|
|
17
17
|
export { A as ApiFormat, C as CompletionOptions, a as CompletionResult, N as NATIVE_SEARCH_TOOL_NAMES, b as NativeSearchAugmentation, c as NativeSearchDetectionResult, d as NativeSearchProvider, e as NativeSearchUserConfig, S as StreamCallbacks } from './types-BScIHmPr.cjs';
|
|
18
18
|
export { C as CompletionService, V as VisionFallbackProvider } from './CompletionService-BniP7j88.cjs';
|
|
19
|
-
export { SimpleChatGeminiMessage, SimpleChatGeminiPart, StreamEvent, StreamEventType, StreamSender, addOpenRouterProviderToRequest, attachStreamEventBuffer, convertMessageToAnthropic, convertMessageToGemini, convertMessageToOpenAI, emitStreamEvent, getOpenRouterProviderConfig, getProviderHeaders, registerStreamEventBuffer, releaseStreamEventBuffer } from './completion.cjs';
|
|
19
|
+
export { EXTRA_HEADER_RESERVED_NAMES, SimpleChatGeminiMessage, SimpleChatGeminiPart, StreamEvent, StreamEventType, StreamSender, addOpenRouterProviderToRequest, attachStreamEventBuffer, convertMessageToAnthropic, convertMessageToGemini, convertMessageToOpenAI, emitStreamEvent, expandHeaderPlaceholder, getOpenRouterProviderConfig, getProviderHeaders, mergeExtraHeaders, registerStreamEventBuffer, releaseStreamEventBuffer } from './completion.cjs';
|
|
20
20
|
export { buildAnthropicApiUrl, buildAzureOpenAIApiUrl, buildGeminiApiUrl, buildOpenAIApiUrl, buildOpenAIResponseApiUrl, buildProviderApiUrl, normalizeAzureEndpoint, resolveApiFormat, resolveProviderEndpoint } from './completion/url-builder.cjs';
|
|
21
21
|
export { applyAugmentation, buildNativeSearchAugmentation, detectNativeSearch } from './completion/NativeSearchInjector.cjs';
|
|
22
22
|
export { NormalizedRouteLeaseCreate, NormalizedRouteLeaseRequest, ROUTE_LEASE_API_VERSION, ROUTE_LEASE_CAPABILITIES, ROUTE_LEASE_CAPABILITIES_SCHEMA, ROUTE_LEASE_CODEX_TOKEN_ENV, ROUTE_LEASE_DEFAULT_TTL_SECONDS, ROUTE_LEASE_MAX_CONSUMER_BYTES, ROUTE_LEASE_MAX_EXECUTION_ID_BYTES, ROUTE_LEASE_MAX_IDEMPOTENCY_BYTES, ROUTE_LEASE_MAX_MODEL_BYTES, ROUTE_LEASE_MAX_SESSION_ID_BYTES, ROUTE_LEASE_MAX_TTL_SECONDS, ROUTE_LEASE_REQUEST_SCHEMA, ROUTE_LEASE_RESULT_SCHEMA, ROUTE_LEASE_RUNTIMES, ROUTE_LEASE_RUNTIME_TABLE, ROUTE_LEASE_SESSION_HASH_DOMAIN, ResponsesCompactRegistrationOptions, RouteLeaseCapabilities, RouteLeaseClock, RouteLeaseCreateOutcome, RouteLeaseCreateResult, RouteLeaseDescriptorPort, RouteLeaseError, RouteLeaseErrorCode, RouteLeaseExecutionMetadata, RouteLeaseExecutionRequest, RouteLeaseLogger, RouteLeaseManager, RouteLeaseManagerOptions, RouteLeaseMetadata, RouteLeaseProviderKeyPreflight, RouteLeaseReleaseResult, RouteLeaseRenewResult, RouteLeaseRequest, RouteLeaseRoutePort, RouteLeaseRuntime, RouteLeaseStatus, RouteLeaseSubscriptionPreflight, RouteLeaseTargetResolver, RouteLeaseTargetResolverOptions, RouteLeaseTargetResolverPort, RouteLeaseUpstream, RuntimeLaunchDescriptor, SYSTEM_ROUTE_LEASE_CLOCK, __resetProviderProxyForTests, canonicalizeRouteLeasePayload, createNativeResponsesHostedImageIngress, createResponsesCompactHandler, extractRouteToken, getProviderProxy, hashRouteLeasePayload, hashRouteLeaseSessionId, normalizeRouteLeaseIdempotencyKey, normalizeRouteLeaseTtl, parseRouteLeaseCreate, registerResponsesCompactOperation, routeLeaseRuntime } from './provider-proxy.cjs';
|
package/dist/index.d.ts
CHANGED
|
@@ -16,7 +16,7 @@ export { ImageCapabilityEvidenceSet, ImageGenerationError, ImageGenerationErrorO
|
|
|
16
16
|
export { C as CreateImageRequestResourceScopeOptions, D as DEFAULT_IMAGE_API_LIMITS, I as IMAGE_REQUEST_DIRECTORY_MARKER_CONTENT, a as IMAGE_REQUEST_DIRECTORY_MARKER_NAME, b as ImageApiAuditRecord, c as ImageApiContributions, d as ImageApiContributionsDeps, e as ImageApiLimits, f as ImageApiRuntime, g as ImageApiRuntimeResolver, h as ImageOpenAIOperationContribution, i as ImageRemoteMaterializer, j as ImageRequestResourceOwnership, k as ImageRequestResourceScope, l as ImageTemporaryResourceBudget, m as ImageTemporaryResourceBudgetLease, R as RemoteImageAssetResolver, n as assertFiniteImageApiLimits, o as createImageRequestResourceScope } from './types-Dm4_36V4.js';
|
|
17
17
|
export { A as ApiFormat, C as CompletionOptions, a as CompletionResult, N as NATIVE_SEARCH_TOOL_NAMES, b as NativeSearchAugmentation, c as NativeSearchDetectionResult, d as NativeSearchProvider, e as NativeSearchUserConfig, S as StreamCallbacks } from './types-BScIHmPr.js';
|
|
18
18
|
export { C as CompletionService, V as VisionFallbackProvider } from './CompletionService-BqrKPwfA.js';
|
|
19
|
-
export { SimpleChatGeminiMessage, SimpleChatGeminiPart, StreamEvent, StreamEventType, StreamSender, addOpenRouterProviderToRequest, attachStreamEventBuffer, convertMessageToAnthropic, convertMessageToGemini, convertMessageToOpenAI, emitStreamEvent, getOpenRouterProviderConfig, getProviderHeaders, registerStreamEventBuffer, releaseStreamEventBuffer } from './completion.js';
|
|
19
|
+
export { EXTRA_HEADER_RESERVED_NAMES, SimpleChatGeminiMessage, SimpleChatGeminiPart, StreamEvent, StreamEventType, StreamSender, addOpenRouterProviderToRequest, attachStreamEventBuffer, convertMessageToAnthropic, convertMessageToGemini, convertMessageToOpenAI, emitStreamEvent, expandHeaderPlaceholder, getOpenRouterProviderConfig, getProviderHeaders, mergeExtraHeaders, registerStreamEventBuffer, releaseStreamEventBuffer } from './completion.js';
|
|
20
20
|
export { buildAnthropicApiUrl, buildAzureOpenAIApiUrl, buildGeminiApiUrl, buildOpenAIApiUrl, buildOpenAIResponseApiUrl, buildProviderApiUrl, normalizeAzureEndpoint, resolveApiFormat, resolveProviderEndpoint } from './completion/url-builder.js';
|
|
21
21
|
export { applyAugmentation, buildNativeSearchAugmentation, detectNativeSearch } from './completion/NativeSearchInjector.js';
|
|
22
22
|
export { NormalizedRouteLeaseCreate, NormalizedRouteLeaseRequest, ROUTE_LEASE_API_VERSION, ROUTE_LEASE_CAPABILITIES, ROUTE_LEASE_CAPABILITIES_SCHEMA, ROUTE_LEASE_CODEX_TOKEN_ENV, ROUTE_LEASE_DEFAULT_TTL_SECONDS, ROUTE_LEASE_MAX_CONSUMER_BYTES, ROUTE_LEASE_MAX_EXECUTION_ID_BYTES, ROUTE_LEASE_MAX_IDEMPOTENCY_BYTES, ROUTE_LEASE_MAX_MODEL_BYTES, ROUTE_LEASE_MAX_SESSION_ID_BYTES, ROUTE_LEASE_MAX_TTL_SECONDS, ROUTE_LEASE_REQUEST_SCHEMA, ROUTE_LEASE_RESULT_SCHEMA, ROUTE_LEASE_RUNTIMES, ROUTE_LEASE_RUNTIME_TABLE, ROUTE_LEASE_SESSION_HASH_DOMAIN, ResponsesCompactRegistrationOptions, RouteLeaseCapabilities, RouteLeaseClock, RouteLeaseCreateOutcome, RouteLeaseCreateResult, RouteLeaseDescriptorPort, RouteLeaseError, RouteLeaseErrorCode, RouteLeaseExecutionMetadata, RouteLeaseExecutionRequest, RouteLeaseLogger, RouteLeaseManager, RouteLeaseManagerOptions, RouteLeaseMetadata, RouteLeaseProviderKeyPreflight, RouteLeaseReleaseResult, RouteLeaseRenewResult, RouteLeaseRequest, RouteLeaseRoutePort, RouteLeaseRuntime, RouteLeaseStatus, RouteLeaseSubscriptionPreflight, RouteLeaseTargetResolver, RouteLeaseTargetResolverOptions, RouteLeaseTargetResolverPort, RouteLeaseUpstream, RuntimeLaunchDescriptor, SYSTEM_ROUTE_LEASE_CLOCK, __resetProviderProxyForTests, canonicalizeRouteLeasePayload, createNativeResponsesHostedImageIngress, createResponsesCompactHandler, extractRouteToken, getProviderProxy, hashRouteLeasePayload, hashRouteLeaseSessionId, normalizeRouteLeaseIdempotencyKey, normalizeRouteLeaseTtl, parseRouteLeaseCreate, registerResponsesCompactOperation, routeLeaseRuntime } from './provider-proxy.js';
|