@urun-sh/openai 0.6.49 → 0.6.50
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-3JZAWWVV.js → chunk-6WTMEJZS.js} +1 -1
- package/dist/chunk-OZVX4WPP.js +4 -0
- package/dist/chunk-PL4MNBET.js +20 -0
- package/dist/{chunk-X23WP5HQ.js → chunk-V6WQRPUO.js} +4 -4
- package/dist/{chunk-2KMMXZLV.js → chunk-XKKQ2NEZ.js} +1 -1
- package/dist/{composite-QilJ-Faj.d.cts → composite-D7icObdD.d.cts} +25 -0
- package/dist/{composite-D0ivH65M.d.ts → composite-DyRe-KRu.d.ts} +8 -0
- package/dist/hosted/bin.cjs +46 -46
- package/dist/hosted/bin.js +1 -1
- package/dist/hosted/index.cjs +44 -44
- package/dist/hosted/index.d.cts +10 -1
- package/dist/hosted/index.d.ts +5 -1
- package/dist/hosted/index.js +1 -1
- package/dist/pi-extension/standalone.cjs +52 -52
- package/dist/pooler/bin.js +1 -1
- package/dist/proxy/cli.cjs +44 -44
- package/dist/proxy/cli.js +1 -1
- package/dist/proxy/index.cjs +3 -3
- package/dist/proxy/index.d.cts +3 -3
- package/dist/proxy/index.d.ts +3 -3
- package/dist/proxy/index.js +1 -1
- package/package.json +2 -2
- package/dist/chunk-ELH2AYM6.js +0 -20
- package/dist/chunk-NZ5EWOMJ.js +0 -4
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-D7icObdD.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';
|
|
@@ -573,6 +573,15 @@ type OwnedSession = UrunSessionLike & {
|
|
|
573
573
|
* there), and never approximates with `end()`.
|
|
574
574
|
*/
|
|
575
575
|
cancel?: () => Promise<unknown>;
|
|
576
|
+
/**
|
|
577
|
+
* THE EXPLICIT-PRESENCE GATE (owner GO 2026-11-16): the core Session's own
|
|
578
|
+
* activity stamp — real caller activity recorded on the session's activity
|
|
579
|
+
* clock (which drives the `$presence` state). Optional: a session double
|
|
580
|
+
* without it simply reports no presence activity.
|
|
581
|
+
*/
|
|
582
|
+
activity?: () => void;
|
|
583
|
+
/** The core Session's IMMEDIATE `$presence` detach (a caller socket close). */
|
|
584
|
+
presenceDetach?: () => void;
|
|
576
585
|
};
|
|
577
586
|
/**
|
|
578
587
|
* One pooled backhaul: the session, its (stateful) Responses client, and the
|
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-DyRe-KRu.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';
|
|
@@ -246,6 +246,10 @@ type OwnedSession = UrunSessionLike & {
|
|
|
246
246
|
};
|
|
247
247
|
|
|
248
248
|
cancel?: () => Promise<unknown>;
|
|
249
|
+
|
|
250
|
+
activity?: () => void;
|
|
251
|
+
|
|
252
|
+
presenceDetach?: () => void;
|
|
249
253
|
};
|
|
250
254
|
|
|
251
255
|
type PoolEntry = {
|
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-PL4MNBET.js";import"../chunk-OZVX4WPP.js";import"../chunk-CAR4AEQJ.js";import"../chunk-V6WQRPUO.js";import"../chunk-X5BLQXHK.js";import"../chunk-64VO62LW.js";import"../chunk-XKKQ2NEZ.js";import"../chunk-XGAF2NDT.js";import"../chunk-6WTMEJZS.js";import"../chunk-XNRPTMSL.js";import"../chunk-Q3AIBMET.js";import"../chunk-PXV7QBSD.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};
|