@openclaw/voice-call 2026.10.5-beta.4 → 2026.10.5
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/.setup/{carrier-api-BYKw_fsQ.mjs → carrier-api-Yl0hFFEf.mjs} +1 -1
- package/dist/.setup/{cli-dyyK8Upw.mjs → cli-DBPMPq0B.mjs} +1 -1
- package/dist/.setup/{plivo-COfD-Kuc.mjs → plivo-DCdBsD0Y.mjs} +2 -2
- package/dist/.setup/{realtime-handler-BdAuKAC2.mjs → realtime-handler-C-avfqKJ.mjs} +1 -1
- package/dist/.setup/{realtime-transcription.runtime-CbJAs5t_.mjs → realtime-transcription.runtime-DIBopS1D.mjs} +1 -2
- package/dist/.setup/{realtime-voice.runtime-vtdCOWg-.mjs → realtime-voice.runtime-DZo_TorV.mjs} +1 -2
- package/dist/.setup/{response-generator-COu0_8-d.mjs → response-generator-CC2OX9j_.mjs} +1 -1
- package/dist/.setup/{runtime-entry-STjFmi_B.mjs → runtime-entry-Bv4GOoof.mjs} +7 -7
- package/dist/.setup/{telnyx-B4P0peEe.mjs → telnyx-BfRqNrZT.mjs} +1 -1
- package/dist/.setup/{twilio-BzAYgH7M.mjs → twilio-ndN0wO_K.mjs} +2 -2
- package/dist/index.js +2 -2
- package/dist/runtime-entry.js +1 -2
- package/dist/state-retention-api.js +1 -2
- package/package.json +4 -4
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { fetchWithSsrFGuard } from "../api.js";
|
|
2
|
-
import { c as getHeader, r as normalizeProxyIp } from "./runtime-entry-
|
|
2
|
+
import { c as getHeader, r as normalizeProxyIp } from "./runtime-entry-Bv4GOoof.mjs";
|
|
3
3
|
import { n as reserveWebhookReplay, t as createWebhookReplayCache } from "./webhook-replay-B7RJNWNG.mjs";
|
|
4
4
|
import { formatErrorMessage } from "openclaw/plugin-sdk/error-runtime";
|
|
5
5
|
import { isLoopbackHost } from "openclaw/plugin-sdk/gateway-runtime";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { sleep } from "../api.js";
|
|
2
2
|
import { g as CallBriefSchema, l as resolveVoiceCallStreamExposurePaths, u as validateProviderConfig } from "./config-CsrGuamE.mjs";
|
|
3
|
-
import { S as resolveVoiceCallAgentId, _ as findCallInStore, b as setVoiceCallStateRuntime, d as getTailscaleSelfInfo, f as setupTailscaleExposureRoutes, g as MAX_CALL_RECORD_EVENTS, l as resolveWebhookExposureStatus, u as cleanupTailscaleExposureRoute, v as getCallHistoryFromStore, y as loadActiveCallsFromStore } from "./runtime-entry-
|
|
3
|
+
import { S as resolveVoiceCallAgentId, _ as findCallInStore, b as setVoiceCallStateRuntime, d as getTailscaleSelfInfo, f as setupTailscaleExposureRoutes, g as MAX_CALL_RECORD_EVENTS, l as resolveWebhookExposureStatus, u as cleanupTailscaleExposureRoute, v as getCallHistoryFromStore, y as loadActiveCallsFromStore } from "./runtime-entry-Bv4GOoof.mjs";
|
|
4
4
|
import { r as resolveUserPath, t as resolveDefaultVoiceCallStoreDir } from "./store-path-Cfwff6j7.mjs";
|
|
5
5
|
import { formatErrorMessage } from "openclaw/plugin-sdk/error-runtime";
|
|
6
6
|
import { callGatewayFromCli, isGatewayClientRequestError, isGatewayTransportError, redactSensitiveUrlLikeString } from "openclaw/plugin-sdk/gateway-runtime";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { c as getHeader } from "./runtime-entry-
|
|
1
|
+
import { c as getHeader } from "./runtime-entry-Bv4GOoof.mjs";
|
|
2
2
|
import { t as escapeXml } from "./voice-mapping-1lzFmzOF.mjs";
|
|
3
|
-
import { n as reconstructWebhookUrl, r as verifyPlivoWebhook, t as createCarrierApi } from "./carrier-api-
|
|
3
|
+
import { n as reconstructWebhookUrl, r as verifyPlivoWebhook, t as createCarrierApi } from "./carrier-api-Yl0hFFEf.mjs";
|
|
4
4
|
import { normalizeLowercaseStringOrEmpty, normalizeOptionalString } from "openclaw/plugin-sdk/string-coerce-runtime";
|
|
5
5
|
import crypto from "node:crypto";
|
|
6
6
|
//#region extensions/voice-call/src/providers/plivo.ts
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { d as REALTIME_VOICE_END_CALL_TOOL_NAME, g as CallBriefSchema, s as resolveVoiceCallPublicPathPrefix } from "./config-CsrGuamE.mjs";
|
|
2
|
-
import { n as appendRecentTalkEventMetadata, s as canonicalizeVoiceCallMediaBase64 } from "./runtime-entry-
|
|
2
|
+
import { n as appendRecentTalkEventMetadata, s as canonicalizeVoiceCallMediaBase64 } from "./runtime-entry-Bv4GOoof.mjs";
|
|
3
3
|
import { formatErrorMessage } from "openclaw/plugin-sdk/error-runtime";
|
|
4
4
|
import { asNullableRecord, asOptionalObjectRecord, asOptionalRecord, normalizeOptionalString } from "openclaw/plugin-sdk/string-coerce-runtime";
|
|
5
5
|
import { createSubsystemLogger, sleep } from "openclaw/plugin-sdk/runtime-env";
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export { getRealtimeTranscriptionProvider, listRealtimeTranscriptionProviders };
|
|
1
|
+
export { getRealtimeTranscriptionProvider, listRealtimeTranscriptionProviders } from "openclaw/plugin-sdk/realtime-transcription";
|
package/dist/.setup/{realtime-voice.runtime-vtdCOWg-.mjs → realtime-voice.runtime-DZo_TorV.mjs}
RENAMED
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export { getRealtimeVoiceProvider, listRealtimeVoiceProviders, resolveConfiguredRealtimeVoiceProvider };
|
|
1
|
+
export { getRealtimeVoiceProvider, listRealtimeVoiceProviders, resolveConfiguredRealtimeVoiceProvider } from "openclaw/plugin-sdk/realtime-voice";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { c as resolveVoiceCallSessionKey } from "./config-CsrGuamE.mjs";
|
|
2
|
-
import { m as resolveVoiceResponseModel, x as resolveCallAgentId } from "./runtime-entry-
|
|
2
|
+
import { m as resolveVoiceResponseModel, x as resolveCallAgentId } from "./runtime-entry-Bv4GOoof.mjs";
|
|
3
3
|
import { normalizeLowercaseStringOrEmpty, normalizeStringEntries } from "openclaw/plugin-sdk/string-coerce-runtime";
|
|
4
4
|
import { resolveAgentConfig } from "openclaw/plugin-sdk/agent-scope-runtime";
|
|
5
5
|
import { isValidAgentHarnessSessionStoreEntry } from "openclaw/plugin-sdk/session-store-runtime";
|
|
@@ -3449,8 +3449,8 @@ function appendRecentTalkEventMetadata(metadata, event, mode) {
|
|
|
3449
3449
|
const MAX_WEBHOOK_BODY_BYTES = WEBHOOK_BODY_READ_DEFAULTS.preAuth.maxBytes;
|
|
3450
3450
|
const WEBHOOK_BODY_TIMEOUT_MS = WEBHOOK_BODY_READ_DEFAULTS.preAuth.timeoutMs;
|
|
3451
3451
|
const MISSING_REMOTE_ADDRESS_IN_FLIGHT_KEY = "__voice_call_no_remote__";
|
|
3452
|
-
const loadRealtimeTranscriptionRuntime = createLazyRuntimeModule(() => import("./realtime-transcription.runtime-
|
|
3453
|
-
const loadResponseGeneratorModule = createLazyRuntimeModule(() => import("./response-generator-
|
|
3452
|
+
const loadRealtimeTranscriptionRuntime = createLazyRuntimeModule(() => import("./realtime-transcription.runtime-DIBopS1D.mjs"));
|
|
3453
|
+
const loadResponseGeneratorModule = createLazyRuntimeModule(() => import("./response-generator-CC2OX9j_.mjs"));
|
|
3454
3454
|
function buildRequestUrl(requestUrl) {
|
|
3455
3455
|
return new URL$1(requestUrl ?? "/", "http://localhost");
|
|
3456
3456
|
}
|
|
@@ -4123,7 +4123,7 @@ async function resolveProvider(config) {
|
|
|
4123
4123
|
const allowNgrokFreeTierLoopbackBypass = config.tunnel?.provider === "ngrok" && isLoopbackHost(config.serve?.bind ?? "") && (config.tunnel?.allowNgrokFreeTierLoopbackBypass ?? false);
|
|
4124
4124
|
switch (config.provider) {
|
|
4125
4125
|
case "telnyx": {
|
|
4126
|
-
const { TelnyxProvider } = await import("./telnyx-
|
|
4126
|
+
const { TelnyxProvider } = await import("./telnyx-BfRqNrZT.mjs");
|
|
4127
4127
|
return new TelnyxProvider({
|
|
4128
4128
|
apiKey: config.telnyx?.apiKey,
|
|
4129
4129
|
connectionId: config.telnyx?.connectionId,
|
|
@@ -4131,7 +4131,7 @@ async function resolveProvider(config) {
|
|
|
4131
4131
|
}, { skipVerification: config.skipSignatureVerification });
|
|
4132
4132
|
}
|
|
4133
4133
|
case "twilio": {
|
|
4134
|
-
const { TwilioProvider } = await import("./twilio-
|
|
4134
|
+
const { TwilioProvider } = await import("./twilio-ndN0wO_K.mjs");
|
|
4135
4135
|
return new TwilioProvider({
|
|
4136
4136
|
accountSid: config.twilio?.accountSid,
|
|
4137
4137
|
authToken: resolveTwilioAuthToken(config),
|
|
@@ -4145,7 +4145,7 @@ async function resolveProvider(config) {
|
|
|
4145
4145
|
});
|
|
4146
4146
|
}
|
|
4147
4147
|
case "plivo": {
|
|
4148
|
-
const { PlivoProvider } = await import("./plivo-
|
|
4148
|
+
const { PlivoProvider } = await import("./plivo-DCdBsD0Y.mjs");
|
|
4149
4149
|
return new PlivoProvider({
|
|
4150
4150
|
authId: config.plivo?.authId,
|
|
4151
4151
|
authToken: config.plivo?.authToken
|
|
@@ -4228,10 +4228,10 @@ async function createVoiceCallRuntime(params) {
|
|
|
4228
4228
|
const provider = await resolveProvider(config);
|
|
4229
4229
|
if (stateRuntime) setVoiceCallStateRuntime({ state: stateRuntime });
|
|
4230
4230
|
const manager = new CallManager(config, void 0, cfg.session, stateRuntime);
|
|
4231
|
-
const realtimeVoiceRuntime = config.realtime.enabled ? await import("./realtime-voice.runtime-
|
|
4231
|
+
const realtimeVoiceRuntime = config.realtime.enabled ? await import("./realtime-voice.runtime-DZo_TorV.mjs") : null;
|
|
4232
4232
|
const webhookServer = new VoiceCallWebhookServer(params.scheduler, config, manager, provider, coreConfig, cfg, agentRuntime, log);
|
|
4233
4233
|
if (realtimeVoiceRuntime) {
|
|
4234
|
-
const { RealtimeCallHandler } = await import("./realtime-handler-
|
|
4234
|
+
const { RealtimeCallHandler } = await import("./realtime-handler-C-avfqKJ.mjs");
|
|
4235
4235
|
const resolveRealtimeInstructions = await createRealtimeInstructionsResolver({
|
|
4236
4236
|
config,
|
|
4237
4237
|
coreConfig: cfg,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { i as verifyTelnyxWebhook, t as createCarrierApi } from "./carrier-api-
|
|
1
|
+
import { i as verifyTelnyxWebhook, t as createCarrierApi } from "./carrier-api-Yl0hFFEf.mjs";
|
|
2
2
|
import crypto from "node:crypto";
|
|
3
3
|
//#region extensions/voice-call/src/providers/telnyx.ts
|
|
4
4
|
const HANGUP_REASONS = /* @__PURE__ */ new Map([
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { a as mapProviderStatusToEndReason, c as getHeader, h as generateDtmfRedirectTwiml, i as isProviderStatusTerminal, o as normalizeProviderStatus } from "./runtime-entry-
|
|
1
|
+
import { a as mapProviderStatusToEndReason, c as getHeader, h as generateDtmfRedirectTwiml, i as isProviderStatusTerminal, o as normalizeProviderStatus } from "./runtime-entry-Bv4GOoof.mjs";
|
|
2
2
|
import { n as requireSupportedTwilioApiHostname, r as resolveTwilioApiBaseUrl } from "./twilio-region-wBOx-8sz.mjs";
|
|
3
3
|
import { n as mapVoiceToPolly, t as escapeXml } from "./voice-mapping-1lzFmzOF.mjs";
|
|
4
|
-
import { a as verifyTwilioWebhook, t as createCarrierApi } from "./carrier-api-
|
|
4
|
+
import { a as verifyTwilioWebhook, t as createCarrierApi } from "./carrier-api-Yl0hFFEf.mjs";
|
|
5
5
|
import { asNullableObjectRecord, normalizeOptionalString } from "openclaw/plugin-sdk/string-coerce-runtime";
|
|
6
6
|
import { sleepWithAbort } from "openclaw/plugin-sdk/runtime-env";
|
|
7
7
|
import crypto from "node:crypto";
|
package/dist/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { definePluginEntry } from "./api.js";
|
|
2
2
|
import { VOICE_CALL_CLI_DESCRIPTOR } from "./cli-output-mode.js";
|
|
3
3
|
import { g as CallBriefSchema, i as resolveVoiceCallConfig, t as VoiceCallConfigSchema, u as validateProviderConfig } from "./.setup/config-CsrGuamE.mjs";
|
|
4
|
-
import { C as TerminalStates, t as createVoiceCallRuntime } from "./.setup/runtime-entry-
|
|
4
|
+
import { C as TerminalStates, t as createVoiceCallRuntime } from "./.setup/runtime-entry-Bv4GOoof.mjs";
|
|
5
5
|
import { AsyncLocalStorage } from "node:async_hooks";
|
|
6
6
|
import { formatErrorMessage } from "openclaw/plugin-sdk/error-runtime";
|
|
7
7
|
import { ErrorCodes, errorShape } from "openclaw/plugin-sdk/gateway-runtime";
|
|
@@ -597,7 +597,7 @@ var voice_call_default = definePluginEntry({
|
|
|
597
597
|
};
|
|
598
598
|
});
|
|
599
599
|
api.registerCli(async ({ program }) => {
|
|
600
|
-
const { registerVoiceCallCli } = await import("./.setup/cli-
|
|
600
|
+
const { registerVoiceCallCli } = await import("./.setup/cli-DBPMPq0B.mjs");
|
|
601
601
|
registerVoiceCallCli({
|
|
602
602
|
program,
|
|
603
603
|
config,
|
package/dist/runtime-entry.js
CHANGED
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export { createVoiceCallRuntime };
|
|
1
|
+
export { t as createVoiceCallRuntime } from "./.setup/runtime-entry-Bv4GOoof.mjs";
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export { packageName, stateMigrations };
|
|
1
|
+
export { t as packageName, n as stateMigrations } from "./.setup/state-retention-api-ONgqE-_V.mjs";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@openclaw/voice-call",
|
|
3
|
-
"version": "2026.10.5
|
|
3
|
+
"version": "2026.10.5",
|
|
4
4
|
"description": "OpenClaw voice-call plugin for Twilio, Telnyx, and Plivo phone calls.",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
"zod": "4.6.5"
|
|
13
13
|
},
|
|
14
14
|
"peerDependencies": {
|
|
15
|
-
"openclaw": ">=2026.10.5
|
|
15
|
+
"openclaw": ">=2026.10.5"
|
|
16
16
|
},
|
|
17
17
|
"peerDependenciesMeta": {
|
|
18
18
|
"openclaw": {
|
|
@@ -31,10 +31,10 @@
|
|
|
31
31
|
"minHostVersion": ">=2026.4.10"
|
|
32
32
|
},
|
|
33
33
|
"compat": {
|
|
34
|
-
"pluginApi": ">=2026.10.5
|
|
34
|
+
"pluginApi": ">=2026.10.5"
|
|
35
35
|
},
|
|
36
36
|
"build": {
|
|
37
|
-
"openclawVersion": "2026.10.5
|
|
37
|
+
"openclawVersion": "2026.10.5"
|
|
38
38
|
},
|
|
39
39
|
"release": {
|
|
40
40
|
"publishToClawHub": true,
|