@teamlearners/clawops 0.6.0 → 0.8.0

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/README.md CHANGED
@@ -128,6 +128,19 @@ const call = await client.calls.create({
128
128
  });
129
129
  console.log(call.callId);
130
130
 
131
+ // AI Completion 모드 — AI가 직접 통화를 처리
132
+ const aiCall = await client.calls.create({
133
+ to: '01012345678',
134
+ from: '07052358010',
135
+ ai: {
136
+ provider: 'openai',
137
+ model: 'gpt-realtime',
138
+ apiKey: process.env.OPENAI_API_KEY!,
139
+ voice: 'marin',
140
+ messages: [{ role: 'system', content: '당신은 예약 확인 AI입니다.' }],
141
+ },
142
+ });
143
+
131
144
  // 통화 목록 조회 (페이지네이션)
132
145
  const page = await client.calls.list({ status: 'completed', page: 0, pageSize: 20 });
133
146
  for (const call of page) {
@@ -3884,6 +3884,7 @@ exports.GeminiLLM = GeminiLLM;
3884
3884
  exports.GeminiRealtime = GeminiRealtime;
3885
3885
  exports.GroqLLM = GroqLLM;
3886
3886
  exports.MCPClient = MCPClient;
3887
+ exports.MediaWebSocket = MediaWebSocket;
3887
3888
  exports.MistralLLM = MistralLLM;
3888
3889
  exports.OllamaLLM = OllamaLLM;
3889
3890
  exports.OpenAICompatLLM = OpenAICompatLLM;