@omnicross/core 0.1.7 → 0.1.8
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/{ProviderProxy-C-xqrkKi.d.ts → ProviderProxy--ROec6VI.d.ts} +22 -3
- package/dist/{ProviderProxy-CnMQYN59.d.cts → ProviderProxy-QdwNV6l1.d.cts} +22 -3
- package/dist/{chunk-4BB343BI.cjs → chunk-26K6T2YS.cjs} +1209 -472
- package/dist/{chunk-OJGQKHN5.cjs → chunk-EPN67EGP.cjs} +3 -0
- package/dist/{chunk-E3COOKUP.js → chunk-QYC54PMG.js} +924 -187
- package/dist/{chunk-SOO562NM.js → chunk-UAPBLNN2.js} +3 -0
- package/dist/completion/ApiKeyPoolService.cjs +32 -1
- package/dist/completion/ApiKeyPoolService.d.cts +17 -1
- package/dist/completion/ApiKeyPoolService.d.ts +17 -1
- package/dist/completion/ApiKeyPoolService.js +31 -0
- package/dist/completion/CompletionService.cjs +3 -3
- package/dist/completion/CompletionService.js +2 -2
- package/dist/completion.cjs +3 -3
- package/dist/completion.js +2 -2
- package/dist/index.cjs +59 -3
- package/dist/index.d.cts +5 -5
- package/dist/index.d.ts +5 -5
- package/dist/index.js +58 -2
- package/dist/outbound-api/routeResolver.d.cts +3 -3
- package/dist/outbound-api/routeResolver.d.ts +3 -3
- package/dist/outbound-api/types.d.cts +2 -2
- package/dist/outbound-api/types.d.ts +2 -2
- package/dist/outbound-api.cjs +3 -3
- package/dist/outbound-api.d.cts +4 -4
- package/dist/outbound-api.d.ts +4 -4
- package/dist/outbound-api.js +2 -2
- package/dist/pipeline/AccountAllowanceScheduling.d.cts +2 -2
- package/dist/pipeline/AccountAllowanceScheduling.d.ts +2 -2
- package/dist/ports.d.cts +2 -2
- package/dist/ports.d.ts +2 -2
- package/dist/provider-proxy/ProviderProxy.cjs +3 -3
- package/dist/provider-proxy/ProviderProxy.d.cts +1 -1
- package/dist/provider-proxy/ProviderProxy.d.ts +1 -1
- package/dist/provider-proxy/ProviderProxy.js +2 -2
- package/dist/provider-proxy/ingress/providerProxyShared.cjs +3 -3
- package/dist/provider-proxy/ingress/providerProxyShared.js +2 -2
- package/dist/provider-proxy/types.d.cts +15 -1
- package/dist/provider-proxy/types.d.ts +15 -1
- package/dist/provider-proxy.cjs +59 -3
- package/dist/provider-proxy.d.cts +254 -8
- package/dist/provider-proxy.d.ts +254 -8
- package/dist/provider-proxy.js +60 -4
- package/dist/{routeResolver-BxOfunbm.d.ts → routeResolver-C0mkkZaM.d.ts} +1 -1
- package/dist/{routeResolver-D5OzD0iM.d.cts → routeResolver-CVFE8KKe.d.cts} +1 -1
- package/dist/{types-CqZD77rS.d.ts → types-BB8pxk_3.d.ts} +1 -1
- package/dist/{types-gjJ5lJ5n.d.cts → types-C2MwkLah.d.cts} +1 -1
- package/dist/usage/usage-recorder.cjs +2 -2
- package/dist/usage/usage-recorder.d.cts +6 -0
- package/dist/usage/usage-recorder.d.ts +6 -0
- package/dist/usage/usage-recorder.js +1 -1
- package/dist/usage.cjs +2 -2
- package/dist/usage.js +1 -1
- package/package.json +1 -1
|
@@ -6,7 +6,7 @@ import { VoucherRecord, VoucherGrant, VoucherInfo, VoucherConfig } from '@omnicr
|
|
|
6
6
|
import { WebhookConfig } from '@omnicross/contracts/webhook-types';
|
|
7
7
|
import { L as Logger } from './logger-4GvQNzhE.cjs';
|
|
8
8
|
import { ProviderConfigSource } from './ports/provider-config-source.cjs';
|
|
9
|
-
import { P as ProviderProxy } from './ProviderProxy-
|
|
9
|
+
import { P as ProviderProxy } from './ProviderProxy-QdwNV6l1.cjs';
|
|
10
10
|
import { ProviderProxyDeps } from './provider-proxy/types.cjs';
|
|
11
11
|
import { BoundAccountFallbackPolicy } from './pipeline/BoundAccountSelectionError.cjs';
|
|
12
12
|
import { c as KeySpend } from './keyPolicy-zdWTu3CQ.cjs';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _chunkEPN67EGPcjs = require('../chunk-EPN67EGP.cjs');
|
|
4
4
|
require('../chunk-XSVNC2UD.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
exports.UsageRecorder =
|
|
7
|
+
exports.UsageRecorder = _chunkEPN67EGPcjs.UsageRecorder;
|
|
@@ -32,6 +32,12 @@ interface UsageRecordInput {
|
|
|
32
32
|
rawUsage?: unknown;
|
|
33
33
|
/** Host run-correlation id. Optional / additive. */
|
|
34
34
|
runId?: string | null;
|
|
35
|
+
/** Token-free process-local Route Lease id. */
|
|
36
|
+
routeLeaseId?: string | null;
|
|
37
|
+
/** Bounded logical Route Lease consumer. */
|
|
38
|
+
routeLeaseConsumer?: string | null;
|
|
39
|
+
/** Bounded Route Lease stage attribution. */
|
|
40
|
+
routeLeaseStageId?: string | null;
|
|
35
41
|
/** Host event-correlation id for this call. Optional / additive. */
|
|
36
42
|
eventId?: string | null;
|
|
37
43
|
/** Safe prompt-cache-key provenance; raw key material is never recorded. */
|
|
@@ -32,6 +32,12 @@ interface UsageRecordInput {
|
|
|
32
32
|
rawUsage?: unknown;
|
|
33
33
|
/** Host run-correlation id. Optional / additive. */
|
|
34
34
|
runId?: string | null;
|
|
35
|
+
/** Token-free process-local Route Lease id. */
|
|
36
|
+
routeLeaseId?: string | null;
|
|
37
|
+
/** Bounded logical Route Lease consumer. */
|
|
38
|
+
routeLeaseConsumer?: string | null;
|
|
39
|
+
/** Bounded Route Lease stage attribution. */
|
|
40
|
+
routeLeaseStageId?: string | null;
|
|
35
41
|
/** Host event-correlation id for this call. Optional / additive. */
|
|
36
42
|
eventId?: string | null;
|
|
37
43
|
/** Safe prompt-cache-key provenance; raw key material is never recorded. */
|
package/dist/usage.cjs
CHANGED
|
@@ -4,9 +4,9 @@
|
|
|
4
4
|
var _chunk2E42SAW3cjs = require('./chunk-2E42SAW3.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
7
|
+
var _chunkEPN67EGPcjs = require('./chunk-EPN67EGP.cjs');
|
|
8
8
|
require('./chunk-XSVNC2UD.cjs');
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
|
|
12
|
-
exports.PricingEngine = _chunk2E42SAW3cjs.PricingEngine; exports.UsageRecorder =
|
|
12
|
+
exports.PricingEngine = _chunk2E42SAW3cjs.PricingEngine; exports.UsageRecorder = _chunkEPN67EGPcjs.UsageRecorder;
|
package/dist/usage.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@omnicross/core",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.8",
|
|
4
4
|
"description": "Omnicross LLM serving core 鈥?provider dispatch, completion pipeline, transformers, and the provider proxy.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "Sayo (https://github.com/Dumoedss)",
|