@urun-sh/openai 0.6.55 → 0.6.56
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-Z74YK7AL.js → chunk-6R3TCKOH.js} +1 -1
- package/dist/{chunk-BVM4ZQ2Y.js → chunk-B3GQYAJ5.js} +1 -1
- package/dist/{chunk-PPEND4SP.js → chunk-MBIJRS4O.js} +11 -11
- package/dist/{chunk-HLSJAQHY.js → chunk-NMNR3SQ5.js} +1 -1
- package/dist/{chunk-4UE7XH7T.js → chunk-WXO7IIRV.js} +1 -1
- package/dist/{composite-C1oeSkNz.d.cts → composite-CIOofxp2.d.cts} +10 -6
- package/dist/{composite-CmDZAzTq.d.ts → composite-lokLYIya.d.ts} +1 -1
- package/dist/hosted/bin.cjs +2 -2
- package/dist/hosted/bin.js +1 -1
- package/dist/hosted/index.cjs +2 -2
- 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 +3 -3
- package/dist/proxy/cli.js +1 -1
- package/dist/proxy/index.cjs +9 -9
- package/dist/proxy/index.d.cts +8 -2
- package/dist/proxy/index.d.ts +4 -2
- package/dist/proxy/index.js +1 -1
- package/package.json +2 -2
package/dist/proxy/index.d.cts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Server, IncomingMessage } from 'node:http';
|
|
2
|
-
import { h as ProxyHandlerOptions, P as ProxyClients, l as RealtimeCompanionsFor, k as RealtimeBinding, R as RealtimeAdmissionNotifier } from '../composite-
|
|
3
|
-
export { D as DialObserver, a as DialReport, O as OPENAI_REALTIME_PATH, f as OpenAIRealtimeOptions, g as OpenAIRealtimeResolver, i as ProxyIdentity, j as ProxyVideoOutLane, S as SessionGoneError, U as UnknownModelError, o as attachOpenAIRealtime } from '../composite-
|
|
2
|
+
import { h as ProxyHandlerOptions, P as ProxyClients, l as RealtimeCompanionsFor, k as RealtimeBinding, R as RealtimeAdmissionNotifier } from '../composite-CIOofxp2.cjs';
|
|
3
|
+
export { D as DialObserver, a as DialReport, O as OPENAI_REALTIME_PATH, f as OpenAIRealtimeOptions, g as OpenAIRealtimeResolver, i as ProxyIdentity, j as ProxyVideoOutLane, S as SessionGoneError, U as UnknownModelError, o as attachOpenAIRealtime } from '../composite-CIOofxp2.cjs';
|
|
4
4
|
export { h as GEMINI_LIVE_PATH, V as VIDEO_OUT_SETUP_KEY } from '../translator-C6MpaZS-.cjs';
|
|
5
5
|
import { WebSocket } from 'ws';
|
|
6
6
|
import '../models-D7F0bLJ3.cjs';
|
|
@@ -386,6 +386,12 @@ declare class OpenAIRealtimeConnection<S = unknown> {
|
|
|
386
386
|
private duplexSilenceMs;
|
|
387
387
|
/** Transcript length when the open duplex reply opened (its output boundary). */
|
|
388
388
|
private duplexInputCount;
|
|
389
|
+
/**
|
|
390
|
+
* True from the user's `turn_start` to its `turn_end`: while the user holds
|
|
391
|
+
* the floor, a duplex engine's frames never open a reply (a barged reply's
|
|
392
|
+
* in-flight tail, or audio racing the turn_end across lanes, is dropped).
|
|
393
|
+
*/
|
|
394
|
+
private userTurnOpen;
|
|
389
395
|
private audioOnlyTranscriptGapWarned;
|
|
390
396
|
private closed;
|
|
391
397
|
/** The backend's turn/transcript lane consumer (binding.turns), if wired. */
|
package/dist/proxy/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Server, IncomingMessage } from 'node:http';
|
|
2
|
-
import { h as ProxyHandlerOptions, P as ProxyClients, l as RealtimeCompanionsFor, k as RealtimeBinding, R as RealtimeAdmissionNotifier } from '../composite-
|
|
3
|
-
export { D as DialObserver, a as DialReport, O as OPENAI_REALTIME_PATH, f as OpenAIRealtimeOptions, g as OpenAIRealtimeResolver, i as ProxyIdentity, j as ProxyVideoOutLane, S as SessionGoneError, U as UnknownModelError, o as attachOpenAIRealtime } from '../composite-
|
|
2
|
+
import { h as ProxyHandlerOptions, P as ProxyClients, l as RealtimeCompanionsFor, k as RealtimeBinding, R as RealtimeAdmissionNotifier } from '../composite-lokLYIya.js';
|
|
3
|
+
export { D as DialObserver, a as DialReport, O as OPENAI_REALTIME_PATH, f as OpenAIRealtimeOptions, g as OpenAIRealtimeResolver, i as ProxyIdentity, j as ProxyVideoOutLane, S as SessionGoneError, U as UnknownModelError, o as attachOpenAIRealtime } from '../composite-lokLYIya.js';
|
|
4
4
|
export { h as GEMINI_LIVE_PATH, V as VIDEO_OUT_SETUP_KEY } from '../translator-CaOqL-V8.js';
|
|
5
5
|
import { WebSocket } from 'ws';
|
|
6
6
|
import '../models-D7F0bLJ3.js';
|
|
@@ -119,6 +119,8 @@ declare class OpenAIRealtimeConnection<S = unknown> {
|
|
|
119
119
|
private duplexSilenceMs;
|
|
120
120
|
|
|
121
121
|
private duplexInputCount;
|
|
122
|
+
|
|
123
|
+
private userTurnOpen;
|
|
122
124
|
private audioOnlyTranscriptGapWarned;
|
|
123
125
|
private closed;
|
|
124
126
|
|
package/dist/proxy/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{F as I,a as n,b as p,c as m,k as l,l as a,m as x,o as s,r as O,s as f}from"../chunk-
|
|
1
|
+
import{F as I,a as n,b as p,c as m,k as l,l as a,m as x,o as s,r as O,s as f}from"../chunk-MBIJRS4O.js";import{a as o,h as t}from"../chunk-KV3UXLNF.js";import"../chunk-MYNG74AX.js";import"../chunk-6R3TCKOH.js";import{i as r,j as i}from"../chunk-N3Y2GDQK.js";import{c as e}from"../chunk-YSFSRI3D.js";e();export{o as GEMINI_LIVE_PATH,a as OPENAI_REALTIME_PATH,l as OpenAIRealtimeConnection,n as ResumptionRegistry,i as SessionGoneError,r as UnknownModelError,t as VIDEO_OUT_SETUP_KEY,p as attachGeminiLive,x as attachOpenAIRealtime,I as createOpenAIProxy,f as fixedClientsResolver,O as realtimeBindingFor,s as realtimeModelOf,m as serveGeminiLiveSocket};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@urun-sh/openai",
|
|
3
|
-
"version": "0.6.
|
|
3
|
+
"version": "0.6.56",
|
|
4
4
|
"description": "OpenAI-compatible Realtime + Responses SDK over uRun session primitives (not websockets).",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.cjs",
|
|
@@ -70,7 +70,7 @@
|
|
|
70
70
|
"build:bin": "bun build --compile --external @roamhq/wrtc src/proxy/bin.ts --outfile dist/bin/urun-openai && node scripts/assert-bin-transport.mjs"
|
|
71
71
|
},
|
|
72
72
|
"peerDependencies": {
|
|
73
|
-
"@urun-sh/core": "^0.6.
|
|
73
|
+
"@urun-sh/core": "^0.6.56"
|
|
74
74
|
},
|
|
75
75
|
"dependencies": {
|
|
76
76
|
"@prometheus-io/client": "^0.16.1",
|