@openclaw/voice-call 2026.5.19-beta.2 → 2026.5.20-beta.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/{config-compat-DJqJ8NzH.js → config-compat-HORl1Cdw.js} +1 -1
- package/dist/{guarded-json-api-CUsmSwWt.js → guarded-json-api-rKTsx3cI.js} +1 -1
- package/dist/index.js +3 -3
- package/dist/{plivo-BjXtz_Wv.js → plivo-D-aI2vqU.js} +2 -2
- package/dist/{realtime-handler-Cj_3954k.js → realtime-handler-Cb1RMR2c.js} +1 -1
- package/dist/{response-generator-Ccuf7pQe.js → response-generator-Dy0gnjdn.js} +2 -2
- package/dist/{runtime-entry-X0kPF8Cf.js → runtime-entry-BjQ6eW2b.js} +9 -9
- package/dist/runtime-entry.js +1 -1
- package/dist/setup-api.js +1 -1
- package/dist/{telnyx-CAP9_gRF.js → telnyx-D0vR_a_i.js} +1 -1
- package/dist/{twilio-DsggjKEf.js → twilio-Bh8YmXIj.js} +2 -2
- package/package.json +4 -4
- /package/dist/{config-C8gX5Cik.js → config-CmO0pHE1.js} +0 -0
- /package/dist/{mock-BvTP8Rmx.js → mock-YAo3QDri.js} +0 -0
- /package/dist/{realtime-transcription.runtime-CuOCFrMc.js → realtime-transcription.runtime-CbJAs5t_.js} +0 -0
- /package/dist/{realtime-voice.runtime-BM0lAf0B.js → realtime-voice.runtime-vtdCOWg-.js} +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as VoiceCallConfigSchema } from "./config-
|
|
1
|
+
import { t as VoiceCallConfigSchema } from "./config-CmO0pHE1.js";
|
|
2
2
|
import { asOptionalRecord, readStringField } from "openclaw/plugin-sdk/string-coerce-runtime";
|
|
3
3
|
//#region extensions/voice-call/src/config-compat.ts
|
|
4
4
|
const VOICE_CALL_LEGACY_CONFIG_REMOVAL_VERSION = "2026.6.0";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { fetchWithSsrFGuard } from "./runtime-api.js";
|
|
2
2
|
import "./api.js";
|
|
3
|
-
import { a as getHeader } from "./runtime-entry-
|
|
3
|
+
import { a as getHeader } from "./runtime-entry-BjQ6eW2b.js";
|
|
4
4
|
import { formatErrorMessage } from "openclaw/plugin-sdk/error-runtime";
|
|
5
5
|
import { isLoopbackHost } from "openclaw/plugin-sdk/gateway-runtime";
|
|
6
6
|
import { normalizeLowercaseStringOrEmpty } from "openclaw/plugin-sdk/string-coerce-runtime";
|
package/dist/index.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { definePluginEntry, sleep } from "./runtime-api.js";
|
|
2
2
|
import "./api.js";
|
|
3
|
-
import { i as resolveVoiceCallConfig, s as validateProviderConfig } from "./config-
|
|
4
|
-
import { c as getTailscaleSelfInfo, l as setupTailscaleExposureRoute, o as resolveWebhookExposureStatus, p as resolveUserPath, s as cleanupTailscaleExposureRoute, t as createVoiceCallRuntime } from "./runtime-entry-
|
|
5
|
-
import { i as parseVoiceCallPluginConfig, r as normalizeVoiceCallLegacyConfigInput, t as formatVoiceCallLegacyConfigWarnings } from "./config-compat-
|
|
3
|
+
import { i as resolveVoiceCallConfig, s as validateProviderConfig } from "./config-CmO0pHE1.js";
|
|
4
|
+
import { c as getTailscaleSelfInfo, l as setupTailscaleExposureRoute, o as resolveWebhookExposureStatus, p as resolveUserPath, s as cleanupTailscaleExposureRoute, t as createVoiceCallRuntime } from "./runtime-entry-BjQ6eW2b.js";
|
|
5
|
+
import { i as parseVoiceCallPluginConfig, r as normalizeVoiceCallLegacyConfigInput, t as formatVoiceCallLegacyConfigWarnings } from "./config-compat-HORl1Cdw.js";
|
|
6
6
|
import { formatErrorMessage } from "openclaw/plugin-sdk/error-runtime";
|
|
7
7
|
import { ErrorCodes, callGatewayFromCli, errorShape } from "openclaw/plugin-sdk/gateway-runtime";
|
|
8
8
|
import { normalizeOptionalLowercaseString, normalizeOptionalString } from "openclaw/plugin-sdk/string-coerce-runtime";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { a as getHeader, m as escapeXml } from "./runtime-entry-
|
|
2
|
-
import { n as reconstructWebhookUrl, r as verifyPlivoWebhook, t as guardedJsonApiRequest } from "./guarded-json-api-
|
|
1
|
+
import { a as getHeader, m as escapeXml } from "./runtime-entry-BjQ6eW2b.js";
|
|
2
|
+
import { n as reconstructWebhookUrl, r as verifyPlivoWebhook, t as guardedJsonApiRequest } from "./guarded-json-api-rKTsx3cI.js";
|
|
3
3
|
import { normalizeLowercaseStringOrEmpty, normalizeOptionalString } from "openclaw/plugin-sdk/string-coerce-runtime";
|
|
4
4
|
import crypto from "node:crypto";
|
|
5
5
|
//#region extensions/voice-call/src/providers/plivo.ts
|
|
@@ -358,7 +358,7 @@ function appendTranscriptText(base, fragment) {
|
|
|
358
358
|
}
|
|
359
359
|
function limitPartialUserTranscript(text) {
|
|
360
360
|
if (text.length <= MAX_PARTIAL_USER_TRANSCRIPT_CHARS) return text;
|
|
361
|
-
const tail = text.slice(-
|
|
361
|
+
const tail = text.slice(-1200);
|
|
362
362
|
return tail.replace(/^\S+\s+/, "").trimStart() || tail.trimStart();
|
|
363
363
|
}
|
|
364
364
|
function withFallbackConsultQuestion(args, fallback) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { o as resolveVoiceCallSessionKey } from "./config-
|
|
2
|
-
import { f as resolveVoiceResponseModel } from "./runtime-entry-
|
|
1
|
+
import { o as resolveVoiceCallSessionKey } from "./config-CmO0pHE1.js";
|
|
2
|
+
import { f as resolveVoiceResponseModel } from "./runtime-entry-BjQ6eW2b.js";
|
|
3
3
|
import { normalizeLowercaseStringOrEmpty } from "openclaw/plugin-sdk/string-coerce-runtime";
|
|
4
4
|
import crypto from "node:crypto";
|
|
5
5
|
import { applyModelOverrideToSessionEntry } from "openclaw/plugin-sdk/model-session-runtime";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { isBlockedHostnameOrIp, isRequestBodyLimitError, readRequestBodyWithLimit, requestBodyErrorToText } from "./runtime-api.js";
|
|
2
2
|
import "./api.js";
|
|
3
|
-
import { a as resolveVoiceCallEffectiveConfig, c as deepMergeDefined, i as resolveVoiceCallConfig, n as normalizeVoiceCallConfig, o as resolveVoiceCallSessionKey, r as resolveTwilioAuthToken, s as validateProviderConfig } from "./config-
|
|
3
|
+
import { a as resolveVoiceCallEffectiveConfig, c as deepMergeDefined, i as resolveVoiceCallConfig, n as normalizeVoiceCallConfig, o as resolveVoiceCallSessionKey, r as resolveTwilioAuthToken, s as validateProviderConfig } from "./config-CmO0pHE1.js";
|
|
4
4
|
import { formatErrorMessage } from "openclaw/plugin-sdk/error-runtime";
|
|
5
5
|
import { isLoopbackHost } from "openclaw/plugin-sdk/gateway-runtime";
|
|
6
6
|
import { normalizeLowercaseStringOrEmpty, normalizeOptionalLowercaseString, normalizeOptionalString } from "openclaw/plugin-sdk/string-coerce-runtime";
|
|
@@ -2527,11 +2527,11 @@ const TRANSCRIPT_LOG_MAX_CHARS = 200;
|
|
|
2527
2527
|
let realtimeTranscriptionRuntimePromise;
|
|
2528
2528
|
let responseGeneratorModulePromise;
|
|
2529
2529
|
function loadRealtimeTranscriptionRuntime() {
|
|
2530
|
-
realtimeTranscriptionRuntimePromise ??= import("./realtime-transcription.runtime-
|
|
2530
|
+
realtimeTranscriptionRuntimePromise ??= import("./realtime-transcription.runtime-CbJAs5t_.js");
|
|
2531
2531
|
return realtimeTranscriptionRuntimePromise;
|
|
2532
2532
|
}
|
|
2533
2533
|
function loadResponseGeneratorModule() {
|
|
2534
|
-
responseGeneratorModulePromise ??= import("./response-generator-
|
|
2534
|
+
responseGeneratorModulePromise ??= import("./response-generator-Dy0gnjdn.js");
|
|
2535
2535
|
return responseGeneratorModulePromise;
|
|
2536
2536
|
}
|
|
2537
2537
|
function sanitizeTranscriptForLog(value) {
|
|
@@ -3148,27 +3148,27 @@ let mockProviderPromise;
|
|
|
3148
3148
|
let realtimeVoiceRuntimePromise;
|
|
3149
3149
|
let realtimeHandlerPromise;
|
|
3150
3150
|
function loadTelnyxProvider() {
|
|
3151
|
-
telnyxProviderPromise ??= import("./telnyx-
|
|
3151
|
+
telnyxProviderPromise ??= import("./telnyx-D0vR_a_i.js");
|
|
3152
3152
|
return telnyxProviderPromise;
|
|
3153
3153
|
}
|
|
3154
3154
|
function loadTwilioProvider() {
|
|
3155
|
-
twilioProviderPromise ??= import("./twilio-
|
|
3155
|
+
twilioProviderPromise ??= import("./twilio-Bh8YmXIj.js");
|
|
3156
3156
|
return twilioProviderPromise;
|
|
3157
3157
|
}
|
|
3158
3158
|
function loadPlivoProvider() {
|
|
3159
|
-
plivoProviderPromise ??= import("./plivo-
|
|
3159
|
+
plivoProviderPromise ??= import("./plivo-D-aI2vqU.js");
|
|
3160
3160
|
return plivoProviderPromise;
|
|
3161
3161
|
}
|
|
3162
3162
|
function loadMockProvider() {
|
|
3163
|
-
mockProviderPromise ??= import("./mock-
|
|
3163
|
+
mockProviderPromise ??= import("./mock-YAo3QDri.js");
|
|
3164
3164
|
return mockProviderPromise;
|
|
3165
3165
|
}
|
|
3166
3166
|
function loadRealtimeVoiceRuntime() {
|
|
3167
|
-
realtimeVoiceRuntimePromise ??= import("./realtime-voice.runtime-
|
|
3167
|
+
realtimeVoiceRuntimePromise ??= import("./realtime-voice.runtime-vtdCOWg-.js");
|
|
3168
3168
|
return realtimeVoiceRuntimePromise;
|
|
3169
3169
|
}
|
|
3170
3170
|
function loadRealtimeHandler() {
|
|
3171
|
-
realtimeHandlerPromise ??= import("./realtime-handler-
|
|
3171
|
+
realtimeHandlerPromise ??= import("./realtime-handler-Cb1RMR2c.js");
|
|
3172
3172
|
return realtimeHandlerPromise;
|
|
3173
3173
|
}
|
|
3174
3174
|
function resolveVoiceCallConsultSessionKey(call) {
|
package/dist/runtime-entry.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as createVoiceCallRuntime } from "./runtime-entry-
|
|
1
|
+
import { t as createVoiceCallRuntime } from "./runtime-entry-BjQ6eW2b.js";
|
|
2
2
|
export { createVoiceCallRuntime };
|
package/dist/setup-api.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as migrateVoiceCallLegacyConfigInput } from "./config-compat-
|
|
1
|
+
import { n as migrateVoiceCallLegacyConfigInput } from "./config-compat-HORl1Cdw.js";
|
|
2
2
|
import { isRecord } from "openclaw/plugin-sdk/string-coerce-runtime";
|
|
3
3
|
import { definePluginEntry } from "openclaw/plugin-sdk/plugin-entry";
|
|
4
4
|
//#region extensions/voice-call/setup-api.ts
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { i as verifyTelnyxWebhook, t as guardedJsonApiRequest } from "./guarded-json-api-
|
|
1
|
+
import { i as verifyTelnyxWebhook, t as guardedJsonApiRequest } from "./guarded-json-api-rKTsx3cI.js";
|
|
2
2
|
import crypto from "node:crypto";
|
|
3
3
|
//#region extensions/voice-call/src/providers/telnyx.ts
|
|
4
4
|
function normalizeTelnyxDirection(direction) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { fetchWithSsrFGuard } from "./runtime-api.js";
|
|
2
2
|
import "./api.js";
|
|
3
|
-
import { a as getHeader, d as chunkAudio, h as mapVoiceToPolly, i as normalizeProviderStatus, m as escapeXml, n as isProviderStatusTerminal, r as mapProviderStatusToEndReason } from "./runtime-entry-
|
|
4
|
-
import { a as verifyTwilioWebhook, t as guardedJsonApiRequest } from "./guarded-json-api-
|
|
3
|
+
import { a as getHeader, d as chunkAudio, h as mapVoiceToPolly, i as normalizeProviderStatus, m as escapeXml, n as isProviderStatusTerminal, r as mapProviderStatusToEndReason } from "./runtime-entry-BjQ6eW2b.js";
|
|
4
|
+
import { a as verifyTwilioWebhook, t as guardedJsonApiRequest } from "./guarded-json-api-rKTsx3cI.js";
|
|
5
5
|
import { normalizeOptionalString } from "openclaw/plugin-sdk/string-coerce-runtime";
|
|
6
6
|
import crypto from "node:crypto";
|
|
7
7
|
import { safeEqualSecret } from "openclaw/plugin-sdk/security-runtime";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@openclaw/voice-call",
|
|
3
|
-
"version": "2026.5.
|
|
3
|
+
"version": "2026.5.20-beta.1",
|
|
4
4
|
"description": "OpenClaw voice-call plugin",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
"openclaw": "workspace:*"
|
|
19
19
|
},
|
|
20
20
|
"peerDependencies": {
|
|
21
|
-
"openclaw": ">=2026.5.
|
|
21
|
+
"openclaw": ">=2026.5.20-beta.1"
|
|
22
22
|
},
|
|
23
23
|
"peerDependenciesMeta": {
|
|
24
24
|
"openclaw": {
|
|
@@ -35,10 +35,10 @@
|
|
|
35
35
|
"minHostVersion": ">=2026.4.10"
|
|
36
36
|
},
|
|
37
37
|
"compat": {
|
|
38
|
-
"pluginApi": ">=2026.5.
|
|
38
|
+
"pluginApi": ">=2026.5.20-beta.1"
|
|
39
39
|
},
|
|
40
40
|
"build": {
|
|
41
|
-
"openclawVersion": "2026.5.
|
|
41
|
+
"openclawVersion": "2026.5.20-beta.1"
|
|
42
42
|
},
|
|
43
43
|
"release": {
|
|
44
44
|
"publishToClawHub": true,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|