@teamlearners/clawops 0.20.0 → 0.20.1
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/agent/index.cjs +17 -12
- package/dist/agent/index.cjs.map +1 -1
- package/dist/agent/index.d.cts +2 -2
- package/dist/agent/index.d.ts +2 -2
- package/dist/agent/index.js +9 -4
- package/dist/agent/index.js.map +1 -1
- package/dist/{chunk-OUO6NTV6.cjs → chunk-H7ENUYGN.cjs} +3 -3
- package/dist/{chunk-OUO6NTV6.cjs.map → chunk-H7ENUYGN.cjs.map} +1 -1
- package/dist/{chunk-VEK4NEET.js → chunk-QSLVO7PM.js} +3 -3
- package/dist/{chunk-VEK4NEET.js.map → chunk-QSLVO7PM.js.map} +1 -1
- package/dist/index.cjs +35 -35
- package/dist/index.js +2 -2
- package/package.json +1 -1
package/dist/agent/index.d.cts
CHANGED
|
@@ -818,8 +818,8 @@ interface OpenAIRealtimeOptions {
|
|
|
818
818
|
/** Language code (BCP 47). Default: 'ko' */
|
|
819
819
|
language?: string;
|
|
820
820
|
/**
|
|
821
|
-
* Turn detection configuration. Default: semantic_vad with eagerness '
|
|
822
|
-
* - `{ type: 'semantic_vad', eagerness?: 'low'|'medium'|'high'|'auto', interrupt_response?: boolean }`
|
|
821
|
+
* Turn detection configuration. Default: semantic_vad with eagerness 'low'.
|
|
822
|
+
* - `{ type: 'semantic_vad', eagerness?: 'low'|'medium'|'high'|'auto', create_response?: boolean, interrupt_response?: boolean }`
|
|
823
823
|
* - `{ type: 'server_vad', threshold?: number, silence_duration_ms?: number, prefix_padding_ms?: number }`
|
|
824
824
|
* - `null` to disable turn detection
|
|
825
825
|
*/
|
package/dist/agent/index.d.ts
CHANGED
|
@@ -818,8 +818,8 @@ interface OpenAIRealtimeOptions {
|
|
|
818
818
|
/** Language code (BCP 47). Default: 'ko' */
|
|
819
819
|
language?: string;
|
|
820
820
|
/**
|
|
821
|
-
* Turn detection configuration. Default: semantic_vad with eagerness '
|
|
822
|
-
* - `{ type: 'semantic_vad', eagerness?: 'low'|'medium'|'high'|'auto', interrupt_response?: boolean }`
|
|
821
|
+
* Turn detection configuration. Default: semantic_vad with eagerness 'low'.
|
|
822
|
+
* - `{ type: 'semantic_vad', eagerness?: 'low'|'medium'|'high'|'auto', create_response?: boolean, interrupt_response?: boolean }`
|
|
823
823
|
* - `{ type: 'server_vad', threshold?: number, silence_duration_ms?: number, prefix_padding_ms?: number }`
|
|
824
824
|
* - `null` to disable turn detection
|
|
825
825
|
*/
|
package/dist/agent/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { DEFAULT_BASE_URL, AgentError, AgentConnectionError, VERSION } from '../chunk-
|
|
1
|
+
import { DEFAULT_BASE_URL, AgentError, AgentConnectionError, VERSION } from '../chunk-QSLVO7PM.js';
|
|
2
2
|
import pino from 'pino';
|
|
3
3
|
import * as fs from 'fs';
|
|
4
4
|
import * as path from 'path';
|
|
@@ -2881,7 +2881,12 @@ var OpenAIRealtime = class {
|
|
|
2881
2881
|
this._model = options.model ?? "gpt-realtime-2";
|
|
2882
2882
|
this._voice = options.voice ?? "marin";
|
|
2883
2883
|
this._language = options.language ?? "ko";
|
|
2884
|
-
this._turnDetection = options.turnDetection !== void 0 ? options.turnDetection : {
|
|
2884
|
+
this._turnDetection = options.turnDetection !== void 0 ? options.turnDetection : {
|
|
2885
|
+
type: "semantic_vad",
|
|
2886
|
+
eagerness: "low",
|
|
2887
|
+
create_response: true,
|
|
2888
|
+
interrupt_response: true
|
|
2889
|
+
};
|
|
2885
2890
|
this._greeting = options.greeting ?? true;
|
|
2886
2891
|
}
|
|
2887
2892
|
/** Inject per-call ToolRegistry. */
|
|
@@ -3011,9 +3016,9 @@ var OpenAIRealtime = class {
|
|
|
3011
3016
|
audio: {
|
|
3012
3017
|
input: {
|
|
3013
3018
|
format: { type: "audio/pcmu" },
|
|
3014
|
-
noise_reduction: { type: "
|
|
3019
|
+
noise_reduction: { type: "near_field" },
|
|
3015
3020
|
transcription: {
|
|
3016
|
-
model: "gpt-
|
|
3021
|
+
model: "gpt-4o-transcribe-diarize",
|
|
3017
3022
|
language: this._language
|
|
3018
3023
|
},
|
|
3019
3024
|
turn_detection: this._turnDetection
|