@teamlearners/clawops 0.19.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.
@@ -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 'medium'.
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
  */
@@ -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 'medium'.
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
  */
@@ -1,4 +1,4 @@
1
- import { DEFAULT_BASE_URL, AgentError, AgentConnectionError, VERSION } from '../chunk-XBU5Z7IX.js';
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 : { type: "semantic_vad", eagerness: "medium", interrupt_response: true };
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: "far_field" },
3019
+ noise_reduction: { type: "near_field" },
3015
3020
  transcription: {
3016
- model: "gpt-realtime-whisper",
3021
+ model: "gpt-4o-transcribe-diarize",
3017
3022
  language: this._language
3018
3023
  },
3019
3024
  turn_detection: this._turnDetection