@urun-sh/openai 0.6.51 → 0.6.53
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/{chunk-USE56WRQ.js → chunk-5PA6542H.js} +1 -1
- package/dist/chunk-7IT4XK2K.js +66 -0
- package/dist/{chunk-7OUSAG7O.js → chunk-D7PBMXB6.js} +1 -1
- package/dist/{chunk-5L7LOBL7.js → chunk-K5TQMHAY.js} +1 -1
- package/dist/{chunk-H4KFMIEV.js → chunk-ZWDQPTSH.js} +1 -1
- package/dist/{composite-D7icObdD.d.cts → composite-4ppY0Kv6.d.cts} +11 -0
- package/dist/{composite-DyRe-KRu.d.ts → composite-BKEde6hP.d.ts} +2 -0
- package/dist/hosted/bin.cjs +47 -47
- package/dist/hosted/bin.js +1 -1
- package/dist/hosted/index.cjs +45 -45
- package/dist/hosted/index.d.cts +1 -1
- package/dist/hosted/index.d.ts +1 -1
- package/dist/hosted/index.js +1 -1
- package/dist/pooler/bin.js +1 -1
- package/dist/proxy/cli.cjs +51 -51
- package/dist/proxy/cli.js +1 -1
- package/dist/proxy/index.cjs +32 -32
- package/dist/proxy/index.d.cts +68 -2
- package/dist/proxy/index.d.ts +32 -2
- package/dist/proxy/index.js +1 -1
- package/package.json +2 -2
- package/dist/chunk-AW5X2PRN.js +0 -66
package/dist/hosted/index.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Server } from 'node:http';
|
|
2
|
-
import { c as LedgerOutcome, I as InferenceRecord, m as RouteTarget, S as SessionGoneError, p as billingIdentityOf, P as ProxyClients, M as ModelRouter, n as UsageRowReporter, b as InferenceUsageRecord, e as LedgerWrite, d as LedgerRecorded, L as LedgerFailure, l as RealtimeCompanionsFor } from '../composite-
|
|
2
|
+
import { c as LedgerOutcome, I as InferenceRecord, m as RouteTarget, S as SessionGoneError, p as billingIdentityOf, P as ProxyClients, M as ModelRouter, n as UsageRowReporter, b as InferenceUsageRecord, e as LedgerWrite, d as LedgerRecorded, L as LedgerFailure, l as RealtimeCompanionsFor } from '../composite-4ppY0Kv6.cjs';
|
|
3
3
|
import * as _prometheus_io_client from '@prometheus-io/client';
|
|
4
4
|
import { Registry } from '@prometheus-io/client';
|
|
5
5
|
import { createClientToken, SessionPhaseName } from '@urun-sh/core';
|
package/dist/hosted/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Server } from 'node:http';
|
|
2
|
-
import { c as LedgerOutcome, I as InferenceRecord, m as RouteTarget, S as SessionGoneError, p as billingIdentityOf, P as ProxyClients, M as ModelRouter, n as UsageRowReporter, b as InferenceUsageRecord, e as LedgerWrite, d as LedgerRecorded, L as LedgerFailure, l as RealtimeCompanionsFor } from '../composite-
|
|
2
|
+
import { c as LedgerOutcome, I as InferenceRecord, m as RouteTarget, S as SessionGoneError, p as billingIdentityOf, P as ProxyClients, M as ModelRouter, n as UsageRowReporter, b as InferenceUsageRecord, e as LedgerWrite, d as LedgerRecorded, L as LedgerFailure, l as RealtimeCompanionsFor } from '../composite-BKEde6hP.js';
|
|
3
3
|
import * as _prometheus_io_client from '@prometheus-io/client';
|
|
4
4
|
import { Registry } from '@prometheus-io/client';
|
|
5
5
|
import { createClientToken, SessionPhaseName } from '@urun-sh/core';
|
package/dist/hosted/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{A as x,B as v,C as m,D as y,E as B,F as H,G as P,H as u,I as G,J as U,K as F,L as X,M as Y,N as b,O as h,P as k,Q as K,R as V,S as j,T as W,U as q,a as r,b as o,c as t,d as E,e as n,f as _,g as a,h as T,i as O,j as i,k as s,l as I,m as p,n as A,o as R,p as S,q as N,r as C,s as D,t as L,u as M,v as d,w as f,x as l,y as c,z as g}from"../chunk-
|
|
1
|
+
import{A as x,B as v,C as m,D as y,E as B,F as H,G as P,H as u,I as G,J as U,K as F,L as X,M as Y,N as b,O as h,P as k,Q as K,R as V,S as j,T as W,U as q,a as r,b as o,c as t,d as E,e as n,f as _,g as a,h as T,i as O,j as i,k as s,l as I,m as p,n as A,o as R,p as S,q as N,r as C,s as D,t as L,u as M,v as d,w as f,x as l,y as c,z as g}from"../chunk-5PA6542H.js";import"../chunk-K5TQMHAY.js";import"../chunk-CAR4AEQJ.js";import"../chunk-7IT4XK2K.js";import"../chunk-X5BLQXHK.js";import"../chunk-64VO62LW.js";import"../chunk-D7PBMXB6.js";import"../chunk-XGAF2NDT.js";import"../chunk-ZWDQPTSH.js";import"../chunk-XNRPTMSL.js";import"../chunk-526ZJAOW.js";import"../chunk-AWCC5WRB.js";import"../chunk-7KRHHEKZ.js";import"../chunk-C452ZIU5.js";import{c as e}from"../chunk-YSFSRI3D.js";e();export{N as ANONYMOUS_KEY_ID,y as BIND_HOST,R as BUCKET_DOMAIN,O as BoundedLabel,f as ControlPlaneUnavailableError,X as ConversationBackhauls,F as ConversationCapacityError,v as DEFAULT_PORT,I as EDGE_IDENTITY_PORT,A as EDGE_KEY_FINGERPRINT_HEADER,p as EDGE_KEY_ID_HEADER,i as InferenceMetrics,Y as LEDGER_FUNCTION_PATH,b as LEDGER_WRITE_TIMEOUT_MS,V as LedgerClient,h as LedgerDuplicateError,k as LedgerSurfaceError,g as MAX_CACHED_KEYS,G as MAX_CONVERSATIONS,U as MAX_CONVERSATION_HANDLES,n as MAX_MODEL_LABELS,_ as MAX_ORG_LABELS,H as MAX_TENANTS,o as METRICS_PATH,r as METRICS_PORT,E as NO_MODEL_LABEL,c as ORG_BINDING_TTL_MS,t as OTHER_LABEL,x as OrgResolver,d as ProxyAuthError,W as READINESS_TIMEOUT_MS,j as READINESS_TTL_MS,m as SERVE_FUNCTION,S as TIER_DOMAIN,u as TenantRegistry,l as bearerFrom,L as bearerTokenOf,M as createEdgeIdentityServer,q as createHostedProxy,s as createMetricsServer,C as edgeBucketId,D as edgeTierFingerprint,a as laneOf,K as parseLedgerRecorded,B as resolveHostedConfig,T as statusClassOf,P as tenantSubject};
|
package/dist/pooler/bin.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import{a as Ce}from"../chunk-LM4E5YM2.js";import{a as te,b as ne,c as se,d as re}from"../chunk-
|
|
2
|
+
import{a as Ce}from"../chunk-LM4E5YM2.js";import{a as te,b as ne,c as se,d as re}from"../chunk-D7PBMXB6.js";import{a as X}from"../chunk-XGAF2NDT.js";import{c as W,v as N,w as z}from"../chunk-ZWDQPTSH.js";import{a as Q,b as Z,d as ee}from"../chunk-XNRPTMSL.js";import{a as J}from"../chunk-7KRHHEKZ.js";import{j as q}from"../chunk-C452ZIU5.js";import{b as Ge,c as p}from"../chunk-YSFSRI3D.js";p();var mn=Ge(Ce(),1);import R from"process";import{Redis as kt}from"ioredis";p();p();var D=`
|
|
3
3
|
local slot, retired, meta, idx = KEYS[1], KEYS[2], KEYS[3], KEYS[4]
|
|
4
4
|
local key, gen, now = ARGV[1], tonumber(ARGV[2]), ARGV[3]
|
|
5
5
|
-- The session-as-routing-identity schema (docs/pooler-session-registry.md
|