@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.
Files changed (53) hide show
  1. package/dist/{ProviderProxy-C-xqrkKi.d.ts → ProviderProxy--ROec6VI.d.ts} +22 -3
  2. package/dist/{ProviderProxy-CnMQYN59.d.cts → ProviderProxy-QdwNV6l1.d.cts} +22 -3
  3. package/dist/{chunk-4BB343BI.cjs → chunk-26K6T2YS.cjs} +1209 -472
  4. package/dist/{chunk-OJGQKHN5.cjs → chunk-EPN67EGP.cjs} +3 -0
  5. package/dist/{chunk-E3COOKUP.js → chunk-QYC54PMG.js} +924 -187
  6. package/dist/{chunk-SOO562NM.js → chunk-UAPBLNN2.js} +3 -0
  7. package/dist/completion/ApiKeyPoolService.cjs +32 -1
  8. package/dist/completion/ApiKeyPoolService.d.cts +17 -1
  9. package/dist/completion/ApiKeyPoolService.d.ts +17 -1
  10. package/dist/completion/ApiKeyPoolService.js +31 -0
  11. package/dist/completion/CompletionService.cjs +3 -3
  12. package/dist/completion/CompletionService.js +2 -2
  13. package/dist/completion.cjs +3 -3
  14. package/dist/completion.js +2 -2
  15. package/dist/index.cjs +59 -3
  16. package/dist/index.d.cts +5 -5
  17. package/dist/index.d.ts +5 -5
  18. package/dist/index.js +58 -2
  19. package/dist/outbound-api/routeResolver.d.cts +3 -3
  20. package/dist/outbound-api/routeResolver.d.ts +3 -3
  21. package/dist/outbound-api/types.d.cts +2 -2
  22. package/dist/outbound-api/types.d.ts +2 -2
  23. package/dist/outbound-api.cjs +3 -3
  24. package/dist/outbound-api.d.cts +4 -4
  25. package/dist/outbound-api.d.ts +4 -4
  26. package/dist/outbound-api.js +2 -2
  27. package/dist/pipeline/AccountAllowanceScheduling.d.cts +2 -2
  28. package/dist/pipeline/AccountAllowanceScheduling.d.ts +2 -2
  29. package/dist/ports.d.cts +2 -2
  30. package/dist/ports.d.ts +2 -2
  31. package/dist/provider-proxy/ProviderProxy.cjs +3 -3
  32. package/dist/provider-proxy/ProviderProxy.d.cts +1 -1
  33. package/dist/provider-proxy/ProviderProxy.d.ts +1 -1
  34. package/dist/provider-proxy/ProviderProxy.js +2 -2
  35. package/dist/provider-proxy/ingress/providerProxyShared.cjs +3 -3
  36. package/dist/provider-proxy/ingress/providerProxyShared.js +2 -2
  37. package/dist/provider-proxy/types.d.cts +15 -1
  38. package/dist/provider-proxy/types.d.ts +15 -1
  39. package/dist/provider-proxy.cjs +59 -3
  40. package/dist/provider-proxy.d.cts +254 -8
  41. package/dist/provider-proxy.d.ts +254 -8
  42. package/dist/provider-proxy.js +60 -4
  43. package/dist/{routeResolver-BxOfunbm.d.ts → routeResolver-C0mkkZaM.d.ts} +1 -1
  44. package/dist/{routeResolver-D5OzD0iM.d.cts → routeResolver-CVFE8KKe.d.cts} +1 -1
  45. package/dist/{types-CqZD77rS.d.ts → types-BB8pxk_3.d.ts} +1 -1
  46. package/dist/{types-gjJ5lJ5n.d.cts → types-C2MwkLah.d.cts} +1 -1
  47. package/dist/usage/usage-recorder.cjs +2 -2
  48. package/dist/usage/usage-recorder.d.cts +6 -0
  49. package/dist/usage/usage-recorder.d.ts +6 -0
  50. package/dist/usage/usage-recorder.js +1 -1
  51. package/dist/usage.cjs +2 -2
  52. package/dist/usage.js +1 -1
  53. 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-CnMQYN59.cjs';
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 _chunkOJGQKHN5cjs = require('../chunk-OJGQKHN5.cjs');
3
+ var _chunkEPN67EGPcjs = require('../chunk-EPN67EGP.cjs');
4
4
  require('../chunk-XSVNC2UD.cjs');
5
5
 
6
6
 
7
- exports.UsageRecorder = _chunkOJGQKHN5cjs.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. */
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  UsageRecorder
3
- } from "../chunk-SOO562NM.js";
3
+ } from "../chunk-UAPBLNN2.js";
4
4
  import "../chunk-OZFM4X3S.js";
5
5
  export {
6
6
  UsageRecorder
package/dist/usage.cjs CHANGED
@@ -4,9 +4,9 @@
4
4
  var _chunk2E42SAW3cjs = require('./chunk-2E42SAW3.cjs');
5
5
 
6
6
 
7
- var _chunkOJGQKHN5cjs = require('./chunk-OJGQKHN5.cjs');
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 = _chunkOJGQKHN5cjs.UsageRecorder;
12
+ exports.PricingEngine = _chunk2E42SAW3cjs.PricingEngine; exports.UsageRecorder = _chunkEPN67EGPcjs.UsageRecorder;
package/dist/usage.js CHANGED
@@ -4,7 +4,7 @@ import {
4
4
  } from "./chunk-FXR6N3SR.js";
5
5
  import {
6
6
  UsageRecorder
7
- } from "./chunk-SOO562NM.js";
7
+ } from "./chunk-UAPBLNN2.js";
8
8
  import "./chunk-OZFM4X3S.js";
9
9
  export {
10
10
  PricingEngine,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@omnicross/core",
3
- "version": "0.1.7",
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)",