@omnicross/core 0.4.4 → 0.4.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{CompletionService-BniP7j88.d.cts → CompletionService-BJu4AWVc.d.cts} +1 -1
- package/dist/{CompletionService-BqrKPwfA.d.ts → CompletionService-C4W2gBi_.d.ts} +1 -1
- package/dist/{ProviderProxy-Ckr6oTrE.d.ts → ProviderProxy-DxsNi3cO.d.ts} +1 -1
- package/dist/{ProviderProxy-Bz_nkOwq.d.cts → ProviderProxy-OuQPYW2I.d.cts} +1 -1
- package/dist/auth/GeminiCodeAssistProjectResolver.cjs +4 -4
- package/dist/auth/GeminiCodeAssistProjectResolver.js +3 -3
- package/dist/{chunk-NKVZ6Z3Y.cjs → chunk-4HMAS74X.cjs} +8 -3
- package/dist/{chunk-MPFOC7AT.js → chunk-5XG6FR5F.js} +2 -2
- package/dist/{chunk-VFFCV4J6.cjs → chunk-CXRJMNJJ.cjs} +12 -6
- package/dist/{chunk-E5RCCGE7.cjs → chunk-DF5JXK36.cjs} +2 -2
- package/dist/{chunk-NCZDUBC2.js → chunk-DRUT7H5H.js} +1 -1
- package/dist/{chunk-RX3BCX53.cjs → chunk-DV7656NN.cjs} +1208 -527
- package/dist/{chunk-CGEZQC2G.cjs → chunk-F3TT5XPV.cjs} +2 -2
- package/dist/{chunk-EE7VP4O3.js → chunk-HQ7C3VB6.js} +1 -1
- package/dist/{chunk-ZJJBITUN.js → chunk-IAWLTZUP.js} +2 -2
- package/dist/{chunk-57Y2EA2G.cjs → chunk-JGRNVH7C.cjs} +1 -1
- package/dist/{chunk-NTF7TLT7.js → chunk-LBIXTHP7.js} +11 -5
- package/dist/{chunk-GWC7HCZI.cjs → chunk-LWBXQXZ3.cjs} +1 -1
- package/dist/{chunk-7PIUVCKK.js → chunk-MZCJL3QU.js} +1 -1
- package/dist/{chunk-K6J2RIEX.js → chunk-NDJSLJIA.js} +1 -1
- package/dist/{chunk-UOOLU64V.cjs → chunk-QLVRJ5FS.cjs} +4 -4
- package/dist/{chunk-F6P4DIBL.js → chunk-TLYFFUW4.js} +1 -1
- package/dist/{chunk-YV4JSBPA.js → chunk-TU4BB776.js} +789 -108
- package/dist/{chunk-GL6XM527.js → chunk-TX7ZM4OI.js} +8 -3
- package/dist/{chunk-ZMERU7D3.js → chunk-VXHN5IDL.js} +1 -1
- package/dist/{chunk-NDIBVTBZ.cjs → chunk-XYFCNDJK.cjs} +2 -2
- package/dist/{chunk-X6GHTNDL.cjs → chunk-ZG57GAVU.cjs} +7 -7
- package/dist/{chunk-QWNUOR7F.cjs → chunk-ZTN2PVKO.cjs} +1 -1
- package/dist/completion/CompletionService.cjs +12 -12
- package/dist/completion/CompletionService.d.cts +2 -2
- package/dist/completion/CompletionService.d.ts +2 -2
- package/dist/completion/CompletionService.js +11 -11
- package/dist/completion.cjs +12 -12
- package/dist/completion.d.cts +2 -2
- package/dist/completion.d.ts +2 -2
- package/dist/completion.js +11 -11
- package/dist/image-generation.d.cts +4 -4
- package/dist/image-generation.d.ts +4 -4
- package/dist/index.cjs +14 -12
- package/dist/index.d.cts +7 -7
- package/dist/index.d.ts +7 -7
- package/dist/index.js +13 -11
- package/dist/openai-operation.d.cts +1 -1
- package/dist/openai-operation.d.ts +1 -1
- package/dist/outbound-api/routeResolver.cjs +2 -2
- package/dist/outbound-api/routeResolver.d.cts +5 -5
- package/dist/outbound-api/routeResolver.d.ts +5 -5
- package/dist/outbound-api/routeResolver.js +1 -1
- package/dist/outbound-api/subscriptionRegistryPort.d.cts +9 -1
- package/dist/outbound-api/subscriptionRegistryPort.d.ts +9 -1
- package/dist/outbound-api/types.d.cts +5 -5
- package/dist/outbound-api/types.d.ts +5 -5
- package/dist/outbound-api.cjs +14 -12
- package/dist/outbound-api.d.cts +49 -8
- package/dist/outbound-api.d.ts +49 -8
- package/dist/outbound-api.js +13 -11
- package/dist/pipeline/AccountAllowanceScheduling.d.cts +4 -4
- package/dist/pipeline/AccountAllowanceScheduling.d.ts +4 -4
- package/dist/pipeline/AccountRouteActivity.cjs +2 -2
- package/dist/pipeline/AccountRouteActivity.d.cts +33 -8
- package/dist/pipeline/AccountRouteActivity.d.ts +33 -8
- package/dist/pipeline/AccountRouteActivity.js +1 -1
- package/dist/pipeline/SubscriptionAuthSource.d.cts +11 -0
- package/dist/pipeline/SubscriptionAuthSource.d.ts +11 -0
- package/dist/pipeline/upstreamFetch.cjs +3 -3
- package/dist/pipeline/upstreamFetch.d.cts +15 -1
- package/dist/pipeline/upstreamFetch.d.ts +15 -1
- package/dist/pipeline/upstreamFetch.js +2 -2
- package/dist/ports.d.cts +4 -4
- package/dist/ports.d.ts +4 -4
- package/dist/provider-proxy/ProviderProxy.cjs +12 -12
- package/dist/provider-proxy/ProviderProxy.d.cts +2 -2
- package/dist/provider-proxy/ProviderProxy.d.ts +2 -2
- package/dist/provider-proxy/ProviderProxy.js +11 -11
- package/dist/provider-proxy/identity/codexCliHeaders.d.cts +6 -4
- package/dist/provider-proxy/identity/codexCliHeaders.d.ts +6 -4
- package/dist/provider-proxy/identity/openCodeGoHeaders.cjs +2 -2
- package/dist/provider-proxy/identity/openCodeGoHeaders.js +1 -1
- package/dist/provider-proxy/ingress/providerProxyShared.cjs +20 -12
- package/dist/provider-proxy/ingress/providerProxyShared.d.cts +54 -2
- package/dist/provider-proxy/ingress/providerProxyShared.d.ts +54 -2
- package/dist/provider-proxy/ingress/providerProxyShared.js +19 -11
- package/dist/provider-proxy/types.d.cts +1 -1
- package/dist/provider-proxy/types.d.ts +1 -1
- package/dist/provider-proxy.cjs +12 -12
- package/dist/provider-proxy.d.cts +6 -6
- package/dist/provider-proxy.d.ts +6 -6
- package/dist/provider-proxy.js +11 -11
- package/dist/{routeResolver-C2z0pp-q.d.cts → routeResolver-BQYMEXer.d.cts} +2 -2
- package/dist/{routeResolver-BLTleO4H.d.ts → routeResolver-DTfyzaFb.d.ts} +2 -2
- package/dist/transformer/transformers/AntigravityTransformer.cjs +6 -6
- package/dist/transformer/transformers/AntigravityTransformer.js +5 -5
- package/dist/transformer/transformers/OpenAITransformer.cjs +2 -2
- package/dist/transformer/transformers/OpenAITransformer.js +1 -1
- package/dist/transformer/transformers/antigravityFailover.cjs +7 -7
- package/dist/transformer/transformers/antigravityFailover.js +6 -6
- package/dist/transformer/transformers/antigravityIdentity.cjs +4 -4
- package/dist/transformer/transformers/antigravityIdentity.js +3 -3
- package/dist/transformer/transformers.cjs +9 -9
- package/dist/transformer/transformers.js +8 -8
- package/dist/transformer.cjs +9 -9
- package/dist/transformer.js +8 -8
- package/dist/{types-C6m-Db26.d.cts → types-BpSkj2JA.d.cts} +66 -5
- package/dist/{types-BVwJQ9ZS.d.cts → types-BsZ1s_a_.d.cts} +1 -1
- package/dist/{types-By9Tg6-I.d.ts → types-Di8VH1c9.d.ts} +12 -0
- package/dist/{types-BSIJdsyl.d.cts → types-Dpr5IAaP.d.cts} +12 -0
- package/dist/{types-Da735j2d.d.ts → types-EReErShW.d.ts} +66 -5
- package/dist/{types-VAHRysdP.d.ts → types-USaixzVP.d.ts} +1 -1
- package/package.json +2 -2
|
@@ -10,15 +10,20 @@ var AccountRouteActivityStore = class {
|
|
|
10
10
|
record(input) {
|
|
11
11
|
const ts = input.ts ?? Date.now();
|
|
12
12
|
const sessionKey = input.sessionKey?.trim() || void 0;
|
|
13
|
+
const credentialKind = input.credentialKind ?? "subscription-account";
|
|
14
|
+
const credentialId = credentialKind === "provider-key" ? input.keyId ?? "" : input.accountId ?? "";
|
|
13
15
|
const previous = sessionKey ? this.records.find((record2) => record2.providerId === input.providerId && record2.endpoint === input.endpoint && record2.sessionKey === sessionKey) : void 0;
|
|
14
|
-
const
|
|
16
|
+
const previousId = previous ? (previous.credentialKind ?? "subscription-account") === "provider-key" ? previous.keyId ?? "" : previous.accountId ?? "" : void 0;
|
|
17
|
+
const affinity = !sessionKey ? "untracked" : !previous ? "new" : previousId === credentialId ? "sticky" : "switched";
|
|
15
18
|
const record = {
|
|
16
19
|
...input,
|
|
20
|
+
credentialKind,
|
|
17
21
|
id: `${ts.toString(36)}-${(this.sequence++).toString(36)}`,
|
|
18
22
|
ts,
|
|
19
23
|
sessionKey,
|
|
20
24
|
affinity,
|
|
21
|
-
...affinity === "switched" && previous ? { previousAccountId: previous.accountId } : {}
|
|
25
|
+
...affinity === "switched" && previous && credentialKind === "subscription-account" && previous.accountId ? { previousAccountId: previous.accountId } : {},
|
|
26
|
+
...affinity === "switched" && previous && credentialKind === "provider-key" && previous.keyId ? { previousKeyId: previous.keyId } : {}
|
|
22
27
|
};
|
|
23
28
|
this.records.unshift(record);
|
|
24
29
|
if (this.records.length > ACCOUNT_ROUTE_ACTIVITY_LIMIT) {
|
|
@@ -30,7 +35,7 @@ var AccountRouteActivityStore = class {
|
|
|
30
35
|
const providerId = query.providerId?.trim();
|
|
31
36
|
const accountId = query.accountId?.trim();
|
|
32
37
|
const sessionKey = query.sessionKey?.trim();
|
|
33
|
-
return this.records.filter((record) => !providerId || record.providerId === providerId).filter((record) => !accountId || record.accountId === accountId).filter((record) => !sessionKey || record.sessionKey === sessionKey).slice(0, boundedLimit(query.limit)).map((record) => ({ ...record }));
|
|
38
|
+
return this.records.filter((record) => !providerId || record.providerId === providerId).filter((record) => !accountId || record.accountId === accountId).filter((record) => !sessionKey || record.sessionKey === sessionKey).filter((record) => !query.credentialKind || (record.credentialKind ?? "subscription-account") === query.credentialKind).slice(0, boundedLimit(query.limit)).map((record) => ({ ...record }));
|
|
34
39
|
}
|
|
35
40
|
clear() {
|
|
36
41
|
this.records.length = 0;
|
|
@@ -353,7 +353,7 @@ async function resolveSubscriptionRoute(args) {
|
|
|
353
353
|
boundAccountFallbackPolicy: config.boundAccountFallbackPolicy,
|
|
354
354
|
attribution: { sessionId, apiKeyId: apiKeyId ?? null }
|
|
355
355
|
};
|
|
356
|
-
const subscriptionConfig = providerId === "opencodego" ? await registry?.getOpenCodeGoConfig?.() : void 0;
|
|
356
|
+
const subscriptionConfig = providerId === "opencodego" ? await registry?.getOpenCodeGoConfig?.() : providerId === "copilot" ? await registry?.getCopilotConfig?.() : void 0;
|
|
357
357
|
const route = {
|
|
358
358
|
sessionId,
|
|
359
359
|
targetProviderFormat: "transform",
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
var _chunkN3MGNLCUcjs = require('./chunk-N3MGNLCU.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
7
|
+
var _chunkCXRJMNJJcjs = require('./chunk-CXRJMNJJ.cjs');
|
|
8
8
|
|
|
9
9
|
// src/auth/GeminiCodeAssistProjectResolver.ts
|
|
10
10
|
var FREE_TIER_ID = "free-tier";
|
|
@@ -35,7 +35,7 @@ var GeminiCodeAssistProjectResolver = (_class = class {
|
|
|
35
35
|
this.dialect = _nullishCoalesce(options.dialect, () => ( "gemini-cli"));
|
|
36
36
|
this.endpoint = options.endpoint;
|
|
37
37
|
const providerId = _nullishCoalesce(options.proxyProviderId, () => ( "gemini"));
|
|
38
|
-
this.fetchImpl = _nullishCoalesce(fetchImpl, () => ( ((url, init) =>
|
|
38
|
+
this.fetchImpl = _nullishCoalesce(fetchImpl, () => ( ((url, init) => _chunkCXRJMNJJcjs.fetchUpstream.call(void 0, url, init, { providerId }))));
|
|
39
39
|
}
|
|
40
40
|
|
|
41
41
|
/** Test/diagnostic helper — clear the cached resolution for an account. */
|
|
@@ -3,13 +3,13 @@
|
|
|
3
3
|
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
var
|
|
6
|
+
var _chunkDF5JXK36cjs = require('./chunk-DF5JXK36.cjs');
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
var _chunkKSMK45RDcjs = require('./chunk-KSMK45RD.cjs');
|
|
10
10
|
|
|
11
11
|
|
|
12
|
-
var
|
|
12
|
+
var _chunkXYFCNDJKcjs = require('./chunk-XYFCNDJK.cjs');
|
|
13
13
|
|
|
14
14
|
|
|
15
15
|
|
|
@@ -327,7 +327,7 @@ function resolveAntigravityWireModelId(logicalModelId, request, provider) {
|
|
|
327
327
|
}
|
|
328
328
|
return { wireModelId: _nullishCoalesce(routes.default, () => ( logicalModelId)), variantEngaged: false, effort };
|
|
329
329
|
}
|
|
330
|
-
var ANTIGRAVITY_ENDPOINT =
|
|
330
|
+
var ANTIGRAVITY_ENDPOINT = _chunkXYFCNDJKcjs.ANTIGRAVITY_CODE_ASSIST_ENDPOINT;
|
|
331
331
|
function buildAntigravityUrl(stream, base = ANTIGRAVITY_ENDPOINT) {
|
|
332
332
|
return _chunkN3MGNLCUcjs.buildCcaMethodUrl.call(void 0, base, "v1internal", stream);
|
|
333
333
|
}
|
|
@@ -359,8 +359,8 @@ var AntigravityTransformer = (_class = class {constructor() { _class.prototype._
|
|
|
359
359
|
/** The URL is built per-request (colon-method, no fixed endpoint pattern). */
|
|
360
360
|
__init2() {this.endPoint = void 0}
|
|
361
361
|
async transformRequestIn(request, provider, _context) {
|
|
362
|
-
void
|
|
363
|
-
checkForcedToolAssetDrift(
|
|
362
|
+
void _chunkDF5JXK36cjs.ensureAntigravityVersion.call(void 0, ).catch(() => void 0);
|
|
363
|
+
checkForcedToolAssetDrift(_chunkDF5JXK36cjs.getAntigravityVersion.call(void 0, ), _optionalChain([this, 'access', _9 => _9.logger, 'optionalAccess', _10 => _10.warn, 'optionalAccess', _11 => _11.bind, 'call', _12 => _12(this.logger)]));
|
|
364
364
|
const family = _nullishCoalesce(_chunkKSMK45RDcjs.antigravityModelFamily.call(void 0, request.model), () => ( "gemini"));
|
|
365
365
|
const { wireModelId, variantEngaged } = resolveAntigravityWireModelId(request.model, request, provider);
|
|
366
366
|
const inner = _chunk4NAMH4UEcjs.buildRequestBody.call(void 0, { ...request, model: wireModelId }, provider);
|
|
@@ -368,7 +368,7 @@ var AntigravityTransformer = (_class = class {constructor() { _class.prototype._
|
|
|
368
368
|
if (variantEngaged) {
|
|
369
369
|
delete generationConfig["thinkingConfig"];
|
|
370
370
|
}
|
|
371
|
-
const profile =
|
|
371
|
+
const profile = _chunkDF5JXK36cjs.getAntigravityModelWireProfile.call(void 0, wireModelId);
|
|
372
372
|
if (profile) {
|
|
373
373
|
generationConfig["maxOutputTokens"] = profile.maxOutputTokens;
|
|
374
374
|
}
|
|
@@ -431,7 +431,7 @@ var AntigravityTransformer = (_class = class {constructor() { _class.prototype._
|
|
|
431
431
|
const headers = {
|
|
432
432
|
"x-goog-api-key": void 0,
|
|
433
433
|
"X-Goog-Api-Key": void 0,
|
|
434
|
-
"User-Agent":
|
|
434
|
+
"User-Agent": _chunkDF5JXK36cjs.getAntigravityUserAgent.call(void 0, ),
|
|
435
435
|
// Claude thinking models ride the interleaved-thinking beta (the CCA
|
|
436
436
|
// backend needs it to return thinking blocks for Anthropic ids).
|
|
437
437
|
...family === "claude" ? { "anthropic-beta": CLAUDE_THINKING_BETA_HEADER } : {}
|
|
@@ -6,7 +6,7 @@ var _chunkIUL4VWNUcjs = require('./chunk-IUL4VWNU.cjs');
|
|
|
6
6
|
|
|
7
7
|
// src/transformer/transformers/OpenAITransformer.ts
|
|
8
8
|
var FOREIGN_MESSAGE_KEYS = ["cache_control", "thinking"];
|
|
9
|
-
var FOREIGN_BODY_KEYS = ["meta", "reasoning", "thinking", "top_k", "metadata_user_id", "_transformWarnings"];
|
|
9
|
+
var FOREIGN_BODY_KEYS = ["meta", "reasoning", "thinking", "top_k", "metadata_user_id", "_transformWarnings", "_serverSideTools"];
|
|
10
10
|
function normalizeContent(content) {
|
|
11
11
|
if (!Array.isArray(content)) return content;
|
|
12
12
|
const cleaned = content.map((block) => {
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _chunkDV7656NNcjs = require('../chunk-DV7656NN.cjs');
|
|
4
4
|
require('../chunk-QVOB2DNX.cjs');
|
|
5
|
-
require('../chunk-
|
|
5
|
+
require('../chunk-QLVRJ5FS.cjs');
|
|
6
6
|
require('../chunk-NOITAVHA.cjs');
|
|
7
|
-
require('../chunk-
|
|
7
|
+
require('../chunk-ZTN2PVKO.cjs');
|
|
8
8
|
require('../chunk-47E3I5PF.cjs');
|
|
9
9
|
require('../chunk-5RSZYQJH.cjs');
|
|
10
10
|
require('../chunk-VGBJPHHD.cjs');
|
|
11
|
-
require('../chunk-
|
|
12
|
-
require('../chunk-
|
|
13
|
-
require('../chunk-
|
|
11
|
+
require('../chunk-F3TT5XPV.cjs');
|
|
12
|
+
require('../chunk-ZG57GAVU.cjs');
|
|
13
|
+
require('../chunk-DF5JXK36.cjs');
|
|
14
14
|
require('../chunk-BTSADEX4.cjs');
|
|
15
15
|
require('../chunk-32SRZFFP.cjs');
|
|
16
16
|
require('../chunk-2E42SAW3.cjs');
|
|
@@ -24,7 +24,7 @@ require('../chunk-HQP3K7PU.cjs');
|
|
|
24
24
|
require('../chunk-SQU2FGXI.cjs');
|
|
25
25
|
require('../chunk-RPII3E6Z.cjs');
|
|
26
26
|
require('../chunk-6RPZADX3.cjs');
|
|
27
|
-
require('../chunk-
|
|
27
|
+
require('../chunk-LWBXQXZ3.cjs');
|
|
28
28
|
require('../chunk-UKQHBK4Q.cjs');
|
|
29
29
|
require('../chunk-UIBD2YY5.cjs');
|
|
30
30
|
require('../chunk-R3HK6R4B.cjs');
|
|
@@ -46,7 +46,7 @@ require('../chunk-APYG5QD7.cjs');
|
|
|
46
46
|
require('../chunk-L74VDN4A.cjs');
|
|
47
47
|
require('../chunk-XSVNC2UD.cjs');
|
|
48
48
|
require('../chunk-4YINUUKQ.cjs');
|
|
49
|
-
require('../chunk-
|
|
49
|
+
require('../chunk-JGRNVH7C.cjs');
|
|
50
50
|
require('../chunk-QBZJ7P2T.cjs');
|
|
51
51
|
require('../chunk-LL3MZ7O5.cjs');
|
|
52
52
|
require('../chunk-JMJBSACD.cjs');
|
|
@@ -54,18 +54,18 @@ require('../chunk-GMMT7RVN.cjs');
|
|
|
54
54
|
require('../chunk-UNEFIWXI.cjs');
|
|
55
55
|
require('../chunk-A2YMUCBT.cjs');
|
|
56
56
|
require('../chunk-GDIXXKF2.cjs');
|
|
57
|
-
require('../chunk-
|
|
57
|
+
require('../chunk-XYFCNDJK.cjs');
|
|
58
58
|
require('../chunk-N3MGNLCU.cjs');
|
|
59
59
|
require('../chunk-4NAMH4UE.cjs');
|
|
60
60
|
require('../chunk-77USGNRW.cjs');
|
|
61
61
|
require('../chunk-IUL4VWNU.cjs');
|
|
62
|
-
require('../chunk-
|
|
62
|
+
require('../chunk-CXRJMNJJ.cjs');
|
|
63
63
|
require('../chunk-235MXAGX.cjs');
|
|
64
64
|
require('../chunk-VYOBVPNB.cjs');
|
|
65
|
-
require('../chunk-
|
|
65
|
+
require('../chunk-4HMAS74X.cjs');
|
|
66
66
|
require('../chunk-INY54AYX.cjs');
|
|
67
67
|
require('../chunk-G4CZIUIB.cjs');
|
|
68
68
|
require('../chunk-2RCCLQYV.cjs');
|
|
69
69
|
|
|
70
70
|
|
|
71
|
-
exports.CompletionService =
|
|
71
|
+
exports.CompletionService = _chunkDV7656NNcjs.CompletionService;
|
|
@@ -3,10 +3,10 @@ import '@omnicross/contracts/llm-config';
|
|
|
3
3
|
import '../usage-event-sink-BX7FE1NL.cjs';
|
|
4
4
|
import '../logger-4GvQNzhE.cjs';
|
|
5
5
|
import '../ports/provider-config-source.cjs';
|
|
6
|
-
import '../types-
|
|
6
|
+
import '../types-Dpr5IAaP.cjs';
|
|
7
7
|
import '../BuiltinToolExecutor-BHgH-EaZ.cjs';
|
|
8
8
|
export { C as CompletionOptions, a as CompletionResult, S as StreamCallbacks } from '../types-BScIHmPr.cjs';
|
|
9
|
-
export { C as CompletionService } from '../CompletionService-
|
|
9
|
+
export { C as CompletionService } from '../CompletionService-BJu4AWVc.cjs';
|
|
10
10
|
import './ApiKeyPoolService.cjs';
|
|
11
11
|
import '../transformer/types.cjs';
|
|
12
12
|
import '../transformer/TransformerService.cjs';
|
|
@@ -3,10 +3,10 @@ import '@omnicross/contracts/llm-config';
|
|
|
3
3
|
import '../usage-event-sink-BX7FE1NL.js';
|
|
4
4
|
import '../logger-4GvQNzhE.js';
|
|
5
5
|
import '../ports/provider-config-source.js';
|
|
6
|
-
import '../types-
|
|
6
|
+
import '../types-Di8VH1c9.js';
|
|
7
7
|
import '../BuiltinToolExecutor-Bi1LmiTP.js';
|
|
8
8
|
export { C as CompletionOptions, a as CompletionResult, S as StreamCallbacks } from '../types-BScIHmPr.js';
|
|
9
|
-
export { C as CompletionService } from '../CompletionService-
|
|
9
|
+
export { C as CompletionService } from '../CompletionService-C4W2gBi_.js';
|
|
10
10
|
import './ApiKeyPoolService.js';
|
|
11
11
|
import '../transformer/types.js';
|
|
12
12
|
import '../transformer/TransformerService.js';
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
CompletionService
|
|
3
|
-
} from "../chunk-
|
|
3
|
+
} from "../chunk-TU4BB776.js";
|
|
4
4
|
import "../chunk-WTQMX2Q6.js";
|
|
5
|
-
import "../chunk-
|
|
5
|
+
import "../chunk-5XG6FR5F.js";
|
|
6
6
|
import "../chunk-V53ZEFXC.js";
|
|
7
|
-
import "../chunk-
|
|
7
|
+
import "../chunk-MZCJL3QU.js";
|
|
8
8
|
import "../chunk-TKZ3DZS5.js";
|
|
9
9
|
import "../chunk-FU7EAR73.js";
|
|
10
10
|
import "../chunk-IDPMD4B7.js";
|
|
11
|
-
import "../chunk-
|
|
12
|
-
import "../chunk-
|
|
13
|
-
import "../chunk-
|
|
11
|
+
import "../chunk-NDJSLJIA.js";
|
|
12
|
+
import "../chunk-IAWLTZUP.js";
|
|
13
|
+
import "../chunk-TLYFFUW4.js";
|
|
14
14
|
import "../chunk-OXBGNEYR.js";
|
|
15
15
|
import "../chunk-QIIAMBTM.js";
|
|
16
16
|
import "../chunk-FXR6N3SR.js";
|
|
@@ -24,7 +24,7 @@ import "../chunk-VVEHS2LI.js";
|
|
|
24
24
|
import "../chunk-4LSZ7NFM.js";
|
|
25
25
|
import "../chunk-XTEI64OU.js";
|
|
26
26
|
import "../chunk-XX6NQJMA.js";
|
|
27
|
-
import "../chunk-
|
|
27
|
+
import "../chunk-DRUT7H5H.js";
|
|
28
28
|
import "../chunk-ONTTXSRL.js";
|
|
29
29
|
import "../chunk-OE6TDIWW.js";
|
|
30
30
|
import "../chunk-DRWHTIIZ.js";
|
|
@@ -46,7 +46,7 @@ import "../chunk-WLYIIEAF.js";
|
|
|
46
46
|
import "../chunk-TKJMZBAH.js";
|
|
47
47
|
import "../chunk-OZFM4X3S.js";
|
|
48
48
|
import "../chunk-3QFXFCHG.js";
|
|
49
|
-
import "../chunk-
|
|
49
|
+
import "../chunk-VXHN5IDL.js";
|
|
50
50
|
import "../chunk-AQ5TNQB7.js";
|
|
51
51
|
import "../chunk-6I4SAWCN.js";
|
|
52
52
|
import "../chunk-Y7FO65VT.js";
|
|
@@ -54,15 +54,15 @@ import "../chunk-FMOBD2OQ.js";
|
|
|
54
54
|
import "../chunk-HUZZZ3JL.js";
|
|
55
55
|
import "../chunk-H5JUT3KV.js";
|
|
56
56
|
import "../chunk-5NJLQ6T6.js";
|
|
57
|
-
import "../chunk-
|
|
57
|
+
import "../chunk-HQ7C3VB6.js";
|
|
58
58
|
import "../chunk-QSOHEDKO.js";
|
|
59
59
|
import "../chunk-YEHQ5FXZ.js";
|
|
60
60
|
import "../chunk-WYVGULTQ.js";
|
|
61
61
|
import "../chunk-ZLNHPUFA.js";
|
|
62
|
-
import "../chunk-
|
|
62
|
+
import "../chunk-LBIXTHP7.js";
|
|
63
63
|
import "../chunk-3WD4HTR2.js";
|
|
64
64
|
import "../chunk-FYPKKMB3.js";
|
|
65
|
-
import "../chunk-
|
|
65
|
+
import "../chunk-TX7ZM4OI.js";
|
|
66
66
|
import "../chunk-4RM22ETG.js";
|
|
67
67
|
import "../chunk-4JOU54M5.js";
|
|
68
68
|
import "../chunk-4PFWFODB.js";
|
package/dist/completion.cjs
CHANGED
|
@@ -9,17 +9,17 @@
|
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
|
|
12
|
-
var
|
|
12
|
+
var _chunkDV7656NNcjs = require('./chunk-DV7656NN.cjs');
|
|
13
13
|
require('./chunk-QVOB2DNX.cjs');
|
|
14
|
-
require('./chunk-
|
|
14
|
+
require('./chunk-QLVRJ5FS.cjs');
|
|
15
15
|
require('./chunk-NOITAVHA.cjs');
|
|
16
|
-
require('./chunk-
|
|
16
|
+
require('./chunk-ZTN2PVKO.cjs');
|
|
17
17
|
require('./chunk-47E3I5PF.cjs');
|
|
18
18
|
require('./chunk-5RSZYQJH.cjs');
|
|
19
19
|
require('./chunk-VGBJPHHD.cjs');
|
|
20
|
-
require('./chunk-
|
|
21
|
-
require('./chunk-
|
|
22
|
-
require('./chunk-
|
|
20
|
+
require('./chunk-F3TT5XPV.cjs');
|
|
21
|
+
require('./chunk-ZG57GAVU.cjs');
|
|
22
|
+
require('./chunk-DF5JXK36.cjs');
|
|
23
23
|
require('./chunk-BTSADEX4.cjs');
|
|
24
24
|
require('./chunk-32SRZFFP.cjs');
|
|
25
25
|
require('./chunk-2E42SAW3.cjs');
|
|
@@ -33,7 +33,7 @@ require('./chunk-HQP3K7PU.cjs');
|
|
|
33
33
|
require('./chunk-SQU2FGXI.cjs');
|
|
34
34
|
require('./chunk-RPII3E6Z.cjs');
|
|
35
35
|
require('./chunk-6RPZADX3.cjs');
|
|
36
|
-
require('./chunk-
|
|
36
|
+
require('./chunk-LWBXQXZ3.cjs');
|
|
37
37
|
require('./chunk-UKQHBK4Q.cjs');
|
|
38
38
|
require('./chunk-UIBD2YY5.cjs');
|
|
39
39
|
require('./chunk-R3HK6R4B.cjs');
|
|
@@ -60,7 +60,7 @@ require('./chunk-APYG5QD7.cjs');
|
|
|
60
60
|
require('./chunk-L74VDN4A.cjs');
|
|
61
61
|
require('./chunk-XSVNC2UD.cjs');
|
|
62
62
|
require('./chunk-4YINUUKQ.cjs');
|
|
63
|
-
require('./chunk-
|
|
63
|
+
require('./chunk-JGRNVH7C.cjs');
|
|
64
64
|
require('./chunk-QBZJ7P2T.cjs');
|
|
65
65
|
require('./chunk-LL3MZ7O5.cjs');
|
|
66
66
|
|
|
@@ -84,15 +84,15 @@ require('./chunk-UNEFIWXI.cjs');
|
|
|
84
84
|
|
|
85
85
|
var _chunkA2YMUCBTcjs = require('./chunk-A2YMUCBT.cjs');
|
|
86
86
|
require('./chunk-GDIXXKF2.cjs');
|
|
87
|
-
require('./chunk-
|
|
87
|
+
require('./chunk-XYFCNDJK.cjs');
|
|
88
88
|
require('./chunk-N3MGNLCU.cjs');
|
|
89
89
|
require('./chunk-4NAMH4UE.cjs');
|
|
90
90
|
require('./chunk-77USGNRW.cjs');
|
|
91
91
|
require('./chunk-IUL4VWNU.cjs');
|
|
92
|
-
require('./chunk-
|
|
92
|
+
require('./chunk-CXRJMNJJ.cjs');
|
|
93
93
|
require('./chunk-235MXAGX.cjs');
|
|
94
94
|
require('./chunk-VYOBVPNB.cjs');
|
|
95
|
-
require('./chunk-
|
|
95
|
+
require('./chunk-4HMAS74X.cjs');
|
|
96
96
|
require('./chunk-INY54AYX.cjs');
|
|
97
97
|
require('./chunk-G4CZIUIB.cjs');
|
|
98
98
|
|
|
@@ -129,4 +129,4 @@ var _chunk2RCCLQYVcjs = require('./chunk-2RCCLQYV.cjs');
|
|
|
129
129
|
|
|
130
130
|
|
|
131
131
|
|
|
132
|
-
exports.BuiltinToolExecutor = _chunk2RCCLQYVcjs.BuiltinToolExecutor; exports.CompletionService =
|
|
132
|
+
exports.BuiltinToolExecutor = _chunk2RCCLQYVcjs.BuiltinToolExecutor; exports.CompletionService = _chunkDV7656NNcjs.CompletionService; exports.EXTRA_HEADER_RESERVED_NAMES = _chunkTX4UCSOPcjs.EXTRA_HEADER_RESERVED_NAMES; exports.NATIVE_SEARCH_TOOL_NAMES = _chunkGMMT7RVNcjs.NATIVE_SEARCH_TOOL_NAMES; exports.addOpenRouterProviderToRequest = _chunkDV7656NNcjs.addOpenRouterProviderToRequest; exports.applyAugmentation = _chunkJMJBSACDcjs.applyAugmentation; exports.attachStreamEventBuffer = _chunkDV7656NNcjs.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 = _chunkDV7656NNcjs.convertMessageToAnthropic; exports.convertMessageToGemini = _chunkDV7656NNcjs.convertMessageToGemini; exports.convertMessageToOpenAI = _chunkDV7656NNcjs.convertMessageToOpenAI; exports.detectNativeSearch = _chunkJMJBSACDcjs.detectNativeSearch; exports.emitStreamEvent = _chunkDV7656NNcjs.emit; exports.expandHeaderPlaceholder = _chunkTX4UCSOPcjs.expandHeaderPlaceholder; exports.getBuiltinSearchTools = _chunk2RCCLQYVcjs.getBuiltinSearchTools; exports.getOpenRouterProviderConfig = _chunkDV7656NNcjs.getOpenRouterProviderConfig; exports.getProviderHeaders = _chunkTX4UCSOPcjs.getProviderHeaders; exports.mergeExtraHeaders = _chunkTX4UCSOPcjs.mergeExtraHeaders; exports.normalizeAzureEndpoint = _chunkA2YMUCBTcjs.normalizeAzureEndpoint; exports.registerStreamEventBuffer = _chunkDV7656NNcjs.register; exports.releaseStreamEventBuffer = _chunkDV7656NNcjs.release; exports.resolveApiFormat = _chunkA2YMUCBTcjs.resolveApiFormat; exports.resolveProviderEndpoint = _chunkA2YMUCBTcjs.resolveProviderEndpoint;
|
package/dist/completion.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
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';
|
|
2
|
-
export { C as CompletionService, V as VisionFallbackProvider } from './CompletionService-
|
|
2
|
+
export { C as CompletionService, V as VisionFallbackProvider } from './CompletionService-BJu4AWVc.cjs';
|
|
3
3
|
export { buildAnthropicApiUrl, buildAzureOpenAIApiUrl, buildGeminiApiUrl, buildOpenAIApiUrl, buildOpenAIResponseApiUrl, buildProviderApiUrl, normalizeAzureEndpoint, resolveApiFormat, resolveProviderEndpoint } from './completion/url-builder.cjs';
|
|
4
4
|
import { LLMProvider, OpenRouterProviderRouting } from '@omnicross/contracts/llm-config';
|
|
5
5
|
import { SimpleChatMessage, AnthropicMessage, OpenAIMessage } from '@omnicross/contracts/completion-types';
|
|
@@ -11,7 +11,7 @@ import './logger-4GvQNzhE.cjs';
|
|
|
11
11
|
import './ports/provider-config-source.cjs';
|
|
12
12
|
import './transformer/types.cjs';
|
|
13
13
|
import './transformer/TransformerService.cjs';
|
|
14
|
-
import './types-
|
|
14
|
+
import './types-Dpr5IAaP.cjs';
|
|
15
15
|
import 'node:http';
|
|
16
16
|
import '@omnicross/contracts/usage-stats-types';
|
|
17
17
|
import '@omnicross/contracts/subscription-types';
|
package/dist/completion.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
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';
|
|
2
|
-
export { C as CompletionService, V as VisionFallbackProvider } from './CompletionService-
|
|
2
|
+
export { C as CompletionService, V as VisionFallbackProvider } from './CompletionService-C4W2gBi_.js';
|
|
3
3
|
export { buildAnthropicApiUrl, buildAzureOpenAIApiUrl, buildGeminiApiUrl, buildOpenAIApiUrl, buildOpenAIResponseApiUrl, buildProviderApiUrl, normalizeAzureEndpoint, resolveApiFormat, resolveProviderEndpoint } from './completion/url-builder.js';
|
|
4
4
|
import { LLMProvider, OpenRouterProviderRouting } from '@omnicross/contracts/llm-config';
|
|
5
5
|
import { SimpleChatMessage, AnthropicMessage, OpenAIMessage } from '@omnicross/contracts/completion-types';
|
|
@@ -11,7 +11,7 @@ import './logger-4GvQNzhE.js';
|
|
|
11
11
|
import './ports/provider-config-source.js';
|
|
12
12
|
import './transformer/types.js';
|
|
13
13
|
import './transformer/TransformerService.js';
|
|
14
|
-
import './types-
|
|
14
|
+
import './types-Di8VH1c9.js';
|
|
15
15
|
import 'node:http';
|
|
16
16
|
import '@omnicross/contracts/usage-stats-types';
|
|
17
17
|
import '@omnicross/contracts/subscription-types';
|
package/dist/completion.js
CHANGED
|
@@ -9,17 +9,17 @@ import {
|
|
|
9
9
|
getOpenRouterProviderConfig,
|
|
10
10
|
register,
|
|
11
11
|
release
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-TU4BB776.js";
|
|
13
13
|
import "./chunk-WTQMX2Q6.js";
|
|
14
|
-
import "./chunk-
|
|
14
|
+
import "./chunk-5XG6FR5F.js";
|
|
15
15
|
import "./chunk-V53ZEFXC.js";
|
|
16
|
-
import "./chunk-
|
|
16
|
+
import "./chunk-MZCJL3QU.js";
|
|
17
17
|
import "./chunk-TKZ3DZS5.js";
|
|
18
18
|
import "./chunk-FU7EAR73.js";
|
|
19
19
|
import "./chunk-IDPMD4B7.js";
|
|
20
|
-
import "./chunk-
|
|
21
|
-
import "./chunk-
|
|
22
|
-
import "./chunk-
|
|
20
|
+
import "./chunk-NDJSLJIA.js";
|
|
21
|
+
import "./chunk-IAWLTZUP.js";
|
|
22
|
+
import "./chunk-TLYFFUW4.js";
|
|
23
23
|
import "./chunk-OXBGNEYR.js";
|
|
24
24
|
import "./chunk-QIIAMBTM.js";
|
|
25
25
|
import "./chunk-FXR6N3SR.js";
|
|
@@ -33,7 +33,7 @@ import "./chunk-VVEHS2LI.js";
|
|
|
33
33
|
import "./chunk-4LSZ7NFM.js";
|
|
34
34
|
import "./chunk-XTEI64OU.js";
|
|
35
35
|
import "./chunk-XX6NQJMA.js";
|
|
36
|
-
import "./chunk-
|
|
36
|
+
import "./chunk-DRUT7H5H.js";
|
|
37
37
|
import "./chunk-ONTTXSRL.js";
|
|
38
38
|
import "./chunk-OE6TDIWW.js";
|
|
39
39
|
import "./chunk-DRWHTIIZ.js";
|
|
@@ -60,7 +60,7 @@ import "./chunk-WLYIIEAF.js";
|
|
|
60
60
|
import "./chunk-TKJMZBAH.js";
|
|
61
61
|
import "./chunk-OZFM4X3S.js";
|
|
62
62
|
import "./chunk-3QFXFCHG.js";
|
|
63
|
-
import "./chunk-
|
|
63
|
+
import "./chunk-VXHN5IDL.js";
|
|
64
64
|
import "./chunk-AQ5TNQB7.js";
|
|
65
65
|
import "./chunk-6I4SAWCN.js";
|
|
66
66
|
import {
|
|
@@ -84,15 +84,15 @@ import {
|
|
|
84
84
|
resolveProviderEndpoint
|
|
85
85
|
} from "./chunk-H5JUT3KV.js";
|
|
86
86
|
import "./chunk-5NJLQ6T6.js";
|
|
87
|
-
import "./chunk-
|
|
87
|
+
import "./chunk-HQ7C3VB6.js";
|
|
88
88
|
import "./chunk-QSOHEDKO.js";
|
|
89
89
|
import "./chunk-YEHQ5FXZ.js";
|
|
90
90
|
import "./chunk-WYVGULTQ.js";
|
|
91
91
|
import "./chunk-ZLNHPUFA.js";
|
|
92
|
-
import "./chunk-
|
|
92
|
+
import "./chunk-LBIXTHP7.js";
|
|
93
93
|
import "./chunk-3WD4HTR2.js";
|
|
94
94
|
import "./chunk-FYPKKMB3.js";
|
|
95
|
-
import "./chunk-
|
|
95
|
+
import "./chunk-TX7ZM4OI.js";
|
|
96
96
|
import "./chunk-4RM22ETG.js";
|
|
97
97
|
import "./chunk-4JOU54M5.js";
|
|
98
98
|
import {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { ImageCapabilityEvidenceLayer, ImageCapabilities, ImageGenerationErrorCode, ImageRetrySafety, ImageModerationDetails, ImageGenerationPublicError } from '@omnicross/contracts/image-generation-types';
|
|
2
|
-
import { al as ResponsesImageGenerationContributionDeps, ak as ResponsesImageGenerationContribution, am as ResponsesImageInspectionInput, a9 as ResponsesImageAdmission, a7 as ResponsesHostedToolSelection } from './types-
|
|
3
|
-
export { I as ImageAsset, e as ImageJob, f as ImageJobObservability, g as ImageJobObservabilitySnapshot, h as ImageOrchestrator, i as ImageOrchestratorOptions, j as ImageOrchestratorRunOptions, k as ImageProvider, l as ImageProviderContext, m as ImageProviderLease, n as ImageProviderRegistry, o as ImageProviderRequest, p as ImageReferenceLease, q as ImageReferenceResolution, r as ImageReferenceSaveInput, s as ImageReferenceStore, t as ImageReferenceValue, u as ImageRetentionPolicy, v as ImageTelemetryOutputMetadata, w as ImageTelemetryRecord, x as ImageTelemetrySink, y as InMemoryImageAsset, z as InMemoryImageReferenceStore, B as InMemoryResponsesImageStateStore, C as InMemoryResponsesImageStateStoreOptions, a6 as ResponsesHostedToolIdentity, a8 as ResponsesImageAction, aa as ResponsesImageCallBinding, ab as ResponsesImageCallId, ac as ResponsesImageCallResolution, ad as ResponsesImageCallStateLease, ae as ResponsesImageCompletedRecord, af as ResponsesImageEventAllocator, ag as ResponsesImageExecutionEvent, ah as ResponsesImageFailedRecord, ai as ResponsesImageGenerationCallItem, aj as ResponsesImageGenerationCallStartedItem, an as ResponsesImageNormalizedOptions, ao as ResponsesImagePartialEvent, ap as ResponsesImageRequestScope, aq as ResponsesImageRequestScopeInput, ar as ResponsesImageResponseResolution, as as ResponsesImageResponseStateLease, at as ResponsesImageSelectionPolicy, au as ResponsesImageStartedRecord, av as ResponsesImageStateCommitInput, aw as ResponsesImageStateStore, ax as ResponsesImageTrustedRuntime, aA as ResponsesSelectedImageCall, aL as emitImageTelemetry, aP as readImageAssetBytes } from './types-
|
|
4
|
-
import { d as ImageApiContributionsDeps, c as ImageApiContributions, R as RemoteImageAssetResolver } from './types-
|
|
5
|
-
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, 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, n as assertFiniteImageApiLimits, o as createImageRequestResourceScope } from './types-
|
|
2
|
+
import { al as ResponsesImageGenerationContributionDeps, ak as ResponsesImageGenerationContribution, am as ResponsesImageInspectionInput, a9 as ResponsesImageAdmission, a7 as ResponsesHostedToolSelection } from './types-Dpr5IAaP.cjs';
|
|
3
|
+
export { I as ImageAsset, e as ImageJob, f as ImageJobObservability, g as ImageJobObservabilitySnapshot, h as ImageOrchestrator, i as ImageOrchestratorOptions, j as ImageOrchestratorRunOptions, k as ImageProvider, l as ImageProviderContext, m as ImageProviderLease, n as ImageProviderRegistry, o as ImageProviderRequest, p as ImageReferenceLease, q as ImageReferenceResolution, r as ImageReferenceSaveInput, s as ImageReferenceStore, t as ImageReferenceValue, u as ImageRetentionPolicy, v as ImageTelemetryOutputMetadata, w as ImageTelemetryRecord, x as ImageTelemetrySink, y as InMemoryImageAsset, z as InMemoryImageReferenceStore, B as InMemoryResponsesImageStateStore, C as InMemoryResponsesImageStateStoreOptions, a6 as ResponsesHostedToolIdentity, a8 as ResponsesImageAction, aa as ResponsesImageCallBinding, ab as ResponsesImageCallId, ac as ResponsesImageCallResolution, ad as ResponsesImageCallStateLease, ae as ResponsesImageCompletedRecord, af as ResponsesImageEventAllocator, ag as ResponsesImageExecutionEvent, ah as ResponsesImageFailedRecord, ai as ResponsesImageGenerationCallItem, aj as ResponsesImageGenerationCallStartedItem, an as ResponsesImageNormalizedOptions, ao as ResponsesImagePartialEvent, ap as ResponsesImageRequestScope, aq as ResponsesImageRequestScopeInput, ar as ResponsesImageResponseResolution, as as ResponsesImageResponseStateLease, at as ResponsesImageSelectionPolicy, au as ResponsesImageStartedRecord, av as ResponsesImageStateCommitInput, aw as ResponsesImageStateStore, ax as ResponsesImageTrustedRuntime, aA as ResponsesSelectedImageCall, aL as emitImageTelemetry, aP as readImageAssetBytes } from './types-Dpr5IAaP.cjs';
|
|
4
|
+
import { d as ImageApiContributionsDeps, c as ImageApiContributions, R as RemoteImageAssetResolver } from './types-BsZ1s_a_.cjs';
|
|
5
|
+
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, 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, n as assertFiniteImageApiLimits, o as createImageRequestResourceScope } from './types-BsZ1s_a_.cjs';
|
|
6
6
|
import 'node:http';
|
|
7
7
|
import '@omnicross/contracts/completion-types';
|
|
8
8
|
import '@omnicross/contracts/usage-stats-types';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { ImageCapabilityEvidenceLayer, ImageCapabilities, ImageGenerationErrorCode, ImageRetrySafety, ImageModerationDetails, ImageGenerationPublicError } from '@omnicross/contracts/image-generation-types';
|
|
2
|
-
import { al as ResponsesImageGenerationContributionDeps, ak as ResponsesImageGenerationContribution, am as ResponsesImageInspectionInput, a9 as ResponsesImageAdmission, a7 as ResponsesHostedToolSelection } from './types-
|
|
3
|
-
export { I as ImageAsset, e as ImageJob, f as ImageJobObservability, g as ImageJobObservabilitySnapshot, h as ImageOrchestrator, i as ImageOrchestratorOptions, j as ImageOrchestratorRunOptions, k as ImageProvider, l as ImageProviderContext, m as ImageProviderLease, n as ImageProviderRegistry, o as ImageProviderRequest, p as ImageReferenceLease, q as ImageReferenceResolution, r as ImageReferenceSaveInput, s as ImageReferenceStore, t as ImageReferenceValue, u as ImageRetentionPolicy, v as ImageTelemetryOutputMetadata, w as ImageTelemetryRecord, x as ImageTelemetrySink, y as InMemoryImageAsset, z as InMemoryImageReferenceStore, B as InMemoryResponsesImageStateStore, C as InMemoryResponsesImageStateStoreOptions, a6 as ResponsesHostedToolIdentity, a8 as ResponsesImageAction, aa as ResponsesImageCallBinding, ab as ResponsesImageCallId, ac as ResponsesImageCallResolution, ad as ResponsesImageCallStateLease, ae as ResponsesImageCompletedRecord, af as ResponsesImageEventAllocator, ag as ResponsesImageExecutionEvent, ah as ResponsesImageFailedRecord, ai as ResponsesImageGenerationCallItem, aj as ResponsesImageGenerationCallStartedItem, an as ResponsesImageNormalizedOptions, ao as ResponsesImagePartialEvent, ap as ResponsesImageRequestScope, aq as ResponsesImageRequestScopeInput, ar as ResponsesImageResponseResolution, as as ResponsesImageResponseStateLease, at as ResponsesImageSelectionPolicy, au as ResponsesImageStartedRecord, av as ResponsesImageStateCommitInput, aw as ResponsesImageStateStore, ax as ResponsesImageTrustedRuntime, aA as ResponsesSelectedImageCall, aL as emitImageTelemetry, aP as readImageAssetBytes } from './types-
|
|
4
|
-
import { d as ImageApiContributionsDeps, c as ImageApiContributions, R as RemoteImageAssetResolver } from './types-
|
|
5
|
-
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, 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, n as assertFiniteImageApiLimits, o as createImageRequestResourceScope } from './types-
|
|
2
|
+
import { al as ResponsesImageGenerationContributionDeps, ak as ResponsesImageGenerationContribution, am as ResponsesImageInspectionInput, a9 as ResponsesImageAdmission, a7 as ResponsesHostedToolSelection } from './types-Di8VH1c9.js';
|
|
3
|
+
export { I as ImageAsset, e as ImageJob, f as ImageJobObservability, g as ImageJobObservabilitySnapshot, h as ImageOrchestrator, i as ImageOrchestratorOptions, j as ImageOrchestratorRunOptions, k as ImageProvider, l as ImageProviderContext, m as ImageProviderLease, n as ImageProviderRegistry, o as ImageProviderRequest, p as ImageReferenceLease, q as ImageReferenceResolution, r as ImageReferenceSaveInput, s as ImageReferenceStore, t as ImageReferenceValue, u as ImageRetentionPolicy, v as ImageTelemetryOutputMetadata, w as ImageTelemetryRecord, x as ImageTelemetrySink, y as InMemoryImageAsset, z as InMemoryImageReferenceStore, B as InMemoryResponsesImageStateStore, C as InMemoryResponsesImageStateStoreOptions, a6 as ResponsesHostedToolIdentity, a8 as ResponsesImageAction, aa as ResponsesImageCallBinding, ab as ResponsesImageCallId, ac as ResponsesImageCallResolution, ad as ResponsesImageCallStateLease, ae as ResponsesImageCompletedRecord, af as ResponsesImageEventAllocator, ag as ResponsesImageExecutionEvent, ah as ResponsesImageFailedRecord, ai as ResponsesImageGenerationCallItem, aj as ResponsesImageGenerationCallStartedItem, an as ResponsesImageNormalizedOptions, ao as ResponsesImagePartialEvent, ap as ResponsesImageRequestScope, aq as ResponsesImageRequestScopeInput, ar as ResponsesImageResponseResolution, as as ResponsesImageResponseStateLease, at as ResponsesImageSelectionPolicy, au as ResponsesImageStartedRecord, av as ResponsesImageStateCommitInput, aw as ResponsesImageStateStore, ax as ResponsesImageTrustedRuntime, aA as ResponsesSelectedImageCall, aL as emitImageTelemetry, aP as readImageAssetBytes } from './types-Di8VH1c9.js';
|
|
4
|
+
import { d as ImageApiContributionsDeps, c as ImageApiContributions, R as RemoteImageAssetResolver } from './types-USaixzVP.js';
|
|
5
|
+
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, 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, n as assertFiniteImageApiLimits, o as createImageRequestResourceScope } from './types-USaixzVP.js';
|
|
6
6
|
import 'node:http';
|
|
7
7
|
import '@omnicross/contracts/completion-types';
|
|
8
8
|
import '@omnicross/contracts/usage-stats-types';
|