@openclaw/voice-call 2026.8.2 → 2026.8.34

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.
@@ -1,7 +1,7 @@
1
- import { fetchWithSsrFGuard } from "./runtime-api.js";
2
- import "./api.js";
3
- import { n as normalizeProxyIp, s as getHeader } from "./runtime-entry-CJkbbEgg.js";
4
- import { n as reserveWebhookReplay, t as createWebhookReplayCache } from "./webhook-replay-CCQSoBNF.js";
1
+ import { fetchWithSsrFGuard } from "../runtime-api.js";
2
+ import "../api.js";
3
+ import { n as normalizeProxyIp, s as getHeader } from "./runtime-entry-CX9KlZZd.mjs";
4
+ import { n as reserveWebhookReplay, t as createWebhookReplayCache } from "./webhook-replay-CCQSoBNF.mjs";
5
5
  import { formatErrorMessage } from "openclaw/plugin-sdk/error-runtime";
6
6
  import { isLoopbackHost } from "openclaw/plugin-sdk/gateway-runtime";
7
7
  import { normalizeLowercaseStringOrEmpty, normalizeStringEntries } from "openclaw/plugin-sdk/string-coerce-runtime";
@@ -1,4 +1,4 @@
1
- import { n as reserveWebhookReplay, t as createWebhookReplayCache } from "./webhook-replay-CCQSoBNF.js";
1
+ import { n as reserveWebhookReplay, t as createWebhookReplayCache } from "./webhook-replay-CCQSoBNF.mjs";
2
2
  import { normalizeLowercaseStringOrEmpty } from "openclaw/plugin-sdk/string-coerce-runtime";
3
3
  import crypto from "node:crypto";
4
4
  //#region extensions/voice-call/src/providers/mock.ts
@@ -1,5 +1,5 @@
1
- import { _ as escapeXml, s as getHeader } from "./runtime-entry-CJkbbEgg.js";
2
- import { a as reconstructWebhookUrl, o as verifyPlivoWebhook, t as guardedJsonApiRequest } from "./guarded-json-api-BL8mhcJj.js";
1
+ import { _ as escapeXml, s as getHeader } from "./runtime-entry-CX9KlZZd.mjs";
2
+ import { a as reconstructWebhookUrl, o as verifyPlivoWebhook, t as guardedJsonApiRequest } from "./guarded-json-api-fGAzQXOn.mjs";
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
@@ -1,4 +1,4 @@
1
- import { T as REALTIME_VOICE_END_CALL_TOOL_NAME, o as canonicalizeVoiceCallMediaBase64, x as resolveVoiceCallPublicPathPrefix } from "./runtime-entry-CJkbbEgg.js";
1
+ import { T as REALTIME_VOICE_END_CALL_TOOL_NAME, o as canonicalizeVoiceCallMediaBase64, x as resolveVoiceCallPublicPathPrefix } from "./runtime-entry-CX9KlZZd.mjs";
2
2
  import { formatErrorMessage } from "openclaw/plugin-sdk/error-runtime";
3
3
  import { asNullableRecord, asOptionalObjectRecord } from "openclaw/plugin-sdk/string-coerce-runtime";
4
4
  import { createSubsystemLogger } from "openclaw/plugin-sdk/runtime-env";
@@ -1,4 +1,4 @@
1
- import { S as resolveVoiceCallSessionKey, h as resolveCallAgentId, m as resolveVoiceResponseModel } from "./runtime-entry-CJkbbEgg.js";
1
+ import { S as resolveVoiceCallSessionKey, h as resolveCallAgentId, m as resolveVoiceResponseModel } from "./runtime-entry-CX9KlZZd.mjs";
2
2
  import { filterStringEntries, isRecord, normalizeLowercaseStringOrEmpty, normalizeStringEntries } from "openclaw/plugin-sdk/string-coerce-runtime";
3
3
  import { resolveAgentConfig } from "openclaw/plugin-sdk/agent-scope-runtime";
4
4
  import crypto from "node:crypto";
@@ -1,7 +1,7 @@
1
- import { TtsConfigSchema, isBlockedHostnameOrIp, isRequestBodyLimitError, readRequestBodyWithLimit, requestBodyErrorToText } from "./runtime-api.js";
2
- import "./api.js";
3
- import { t as TWILIO_REGIONS } from "./twilio-region-4fkgz3UG.js";
4
- import { _ as releaseRejectedProviderCall, b as setVoiceCallStateRuntime, d as loadActiveCallsFromStore, g as appendCallReplayKey, l as findCallInStore, p as persistCallRecord, t as resolveDefaultVoiceCallStoreDir, u as getCallHistoryFromStore, v as rememberManagerReplayKey, x as TerminalStates, y as reserveRejectedProviderCall } from "./store-path-C_z9zKnA.js";
1
+ import { TtsConfigSchema, isBlockedHostnameOrIp, isRequestBodyLimitError, readRequestBodyWithLimit, requestBodyErrorToText } from "../runtime-api.js";
2
+ import "../api.js";
3
+ import { t as TWILIO_REGIONS } from "./twilio-region-4fkgz3UG.mjs";
4
+ import { _ as releaseRejectedProviderCall, b as setVoiceCallStateRuntime, d as loadActiveCallsFromStore, g as appendCallReplayKey, l as findCallInStore, p as persistCallRecord, t as resolveDefaultVoiceCallStoreDir, u as getCallHistoryFromStore, v as rememberManagerReplayKey, x as TerminalStates, y as reserveRejectedProviderCall } from "./store-path-C_z9zKnA.mjs";
5
5
  import { formatErrorMessage } from "openclaw/plugin-sdk/error-runtime";
6
6
  import { isLoopbackHost } from "openclaw/plugin-sdk/gateway-runtime";
7
7
  import { normalizeAgentId, parseAgentSessionKey } from "openclaw/plugin-sdk/routing";
@@ -3368,8 +3368,8 @@ var StreamDisconnectGrace = class {
3368
3368
  const MAX_WEBHOOK_BODY_BYTES = WEBHOOK_BODY_READ_DEFAULTS.preAuth.maxBytes;
3369
3369
  const WEBHOOK_BODY_TIMEOUT_MS = WEBHOOK_BODY_READ_DEFAULTS.preAuth.timeoutMs;
3370
3370
  const MISSING_REMOTE_ADDRESS_IN_FLIGHT_KEY = "__voice_call_no_remote__";
3371
- const loadRealtimeTranscriptionRuntime = createLazyRuntimeModule(() => import("./realtime-transcription.runtime-CbJAs5t_.js"));
3372
- const loadResponseGeneratorModule = createLazyRuntimeModule(() => import("./response-generator-BPKgHnuI.js"));
3371
+ const loadRealtimeTranscriptionRuntime = createLazyRuntimeModule(() => import("./realtime-transcription.runtime-CbJAs5t_.mjs"));
3372
+ const loadResponseGeneratorModule = createLazyRuntimeModule(() => import("./response-generator-MsMcTCY9.mjs"));
3373
3373
  function appendRecentTalkEventMetadata(call, event) {
3374
3374
  const metadata = call.metadata ?? {};
3375
3375
  const recent = Array.isArray(metadata.recentTalkEvents) ? metadata.recentTalkEvents.filter((entry) => Boolean(entry) && typeof entry === "object" && !Array.isArray(entry)) : [];
@@ -4094,12 +4094,12 @@ const REALTIME_VOICE_CONSULT_SYSTEM_PROMPT = [
4094
4094
  "Do not print secret values or dump environment variables; only check whether required configuration is present.",
4095
4095
  "Be accurate, brief, and speakable."
4096
4096
  ].join(" ");
4097
- const loadTelnyxProvider = createLazyRuntimeModule(() => import("./telnyx-BWmhDBtd.js"));
4098
- const loadTwilioProvider = createLazyRuntimeModule(() => import("./twilio-78mzH8Lk.js"));
4099
- const loadPlivoProvider = createLazyRuntimeModule(() => import("./plivo-CgYWuWVr.js"));
4100
- const loadMockProvider = createLazyRuntimeModule(() => import("./mock-C57qj18W.js"));
4101
- const loadRealtimeVoiceRuntime = createLazyRuntimeModule(() => import("./realtime-voice.runtime-vtdCOWg-.js"));
4102
- const loadRealtimeHandler = createLazyRuntimeModule(() => import("./realtime-handler-oehCkuE2.js"));
4097
+ const loadTelnyxProvider = createLazyRuntimeModule(() => import("./telnyx-B26xTHvm.mjs"));
4098
+ const loadTwilioProvider = createLazyRuntimeModule(() => import("./twilio-CrQ4jZeX.mjs"));
4099
+ const loadPlivoProvider = createLazyRuntimeModule(() => import("./plivo-BMJhR_X0.mjs"));
4100
+ const loadMockProvider = createLazyRuntimeModule(() => import("./mock-CcYEAUhV.mjs"));
4101
+ const loadRealtimeVoiceRuntime = createLazyRuntimeModule(() => import("./realtime-voice.runtime-vtdCOWg-.mjs"));
4102
+ const loadRealtimeHandler = createLazyRuntimeModule(() => import("./realtime-handler-C4pd6EPf.mjs"));
4103
4103
  function resolveVoiceCallConsultSessionKey(call) {
4104
4104
  return resolveVoiceCallSessionKey({
4105
4105
  config: call.config,
@@ -1,4 +1,4 @@
1
- import { s as verifyTelnyxWebhook, t as guardedJsonApiRequest } from "./guarded-json-api-BL8mhcJj.js";
1
+ import { s as verifyTelnyxWebhook, t as guardedJsonApiRequest } from "./guarded-json-api-fGAzQXOn.mjs";
2
2
  import crypto from "node:crypto";
3
3
  //#region extensions/voice-call/src/providers/telnyx.ts
4
4
  function normalizeTelnyxDirection(direction) {
@@ -1,8 +1,8 @@
1
- import { fetchWithSsrFGuard } from "./runtime-api.js";
2
- import "./api.js";
3
- import { n as requireSupportedTwilioApiHostname, r as resolveTwilioApiBaseUrl } from "./twilio-region-4fkgz3UG.js";
4
- import { _ as escapeXml, a as normalizeProviderStatus, i as mapProviderStatusToEndReason, p as chunkAudio, r as isProviderStatusTerminal, s as getHeader, v as mapVoiceToPolly } from "./runtime-entry-CJkbbEgg.js";
5
- import { c as verifyTwilioWebhook, i as readVoiceCallProviderJsonResponse, n as cancelProviderResponseBody, r as readProviderErrorResponseSnippet, t as guardedJsonApiRequest } from "./guarded-json-api-BL8mhcJj.js";
1
+ import { fetchWithSsrFGuard } from "../runtime-api.js";
2
+ import "../api.js";
3
+ import { n as requireSupportedTwilioApiHostname, r as resolveTwilioApiBaseUrl } from "./twilio-region-4fkgz3UG.mjs";
4
+ import { _ as escapeXml, a as normalizeProviderStatus, i as mapProviderStatusToEndReason, p as chunkAudio, r as isProviderStatusTerminal, s as getHeader, v as mapVoiceToPolly } from "./runtime-entry-CX9KlZZd.mjs";
5
+ import { c as verifyTwilioWebhook, i as readVoiceCallProviderJsonResponse, n as cancelProviderResponseBody, r as readProviderErrorResponseSnippet, t as guardedJsonApiRequest } from "./guarded-json-api-fGAzQXOn.mjs";
6
6
  import { normalizeOptionalString } from "openclaw/plugin-sdk/string-coerce-runtime";
7
7
  import { sleepWithAbort } from "openclaw/plugin-sdk/runtime-env";
8
8
  import crypto from "node:crypto";
@@ -1,4 +1,4 @@
1
- import { a as CALL_RECORD_EVENT_META_MAX_ENTRIES, c as buildVoiceCallLegacyJsonlEventKey, f as parseVoiceCallRecordLine, h as resolveVoiceCallLegacyCallLogPath, i as CALL_RECORD_EVENT_CHUNKS_NAMESPACE, m as prepareVoiceCallRecordForStorage, n as CALL_RECORD_CHUNK_MAX_ENTRIES, o as MAX_CALL_RECORD_EVENTS, r as CALL_RECORD_EVENTS_NAMESPACE, s as RAW_CALL_RECORD_CHUNK_BYTES, t as resolveDefaultVoiceCallStoreDir } from "./store-path-C_z9zKnA.js";
1
+ import { a as CALL_RECORD_EVENT_META_MAX_ENTRIES, c as buildVoiceCallLegacyJsonlEventKey, f as parseVoiceCallRecordLine, h as resolveVoiceCallLegacyCallLogPath, i as CALL_RECORD_EVENT_CHUNKS_NAMESPACE, m as prepareVoiceCallRecordForStorage, n as CALL_RECORD_CHUNK_MAX_ENTRIES, o as MAX_CALL_RECORD_EVENTS, r as CALL_RECORD_EVENTS_NAMESPACE, s as RAW_CALL_RECORD_CHUNK_BYTES, t as resolveDefaultVoiceCallStoreDir } from "./.setup/store-path-C_z9zKnA.mjs";
2
2
  import { normalizeAgentId } from "openclaw/plugin-sdk/routing";
3
3
  import { asOptionalRecord } from "openclaw/plugin-sdk/string-coerce-runtime";
4
4
  import path from "node:path";
package/dist/index.js CHANGED
@@ -1,8 +1,8 @@
1
1
  import { definePluginEntry, sleep } from "./runtime-api.js";
2
2
  import "./api.js";
3
3
  import { VOICE_CALL_CLI_DESCRIPTOR } from "./cli-output-mode.js";
4
- import { C as resolveVoiceCallStreamExposurePaths, b as resolveVoiceCallConfig, c as resolveWebhookExposureStatus, d as setupTailscaleExposureRoutes, g as resolveUserPath, l as cleanupTailscaleExposureRoute, t as createVoiceCallRuntime, u as getTailscaleSelfInfo, w as validateProviderConfig, y as VoiceCallConfigSchema } from "./runtime-entry-CJkbbEgg.js";
5
- import { b as setVoiceCallStateRuntime, d as loadActiveCallsFromStore, l as findCallInStore, t as resolveDefaultVoiceCallStoreDir, u as getCallHistoryFromStore } from "./store-path-C_z9zKnA.js";
4
+ import { C as resolveVoiceCallStreamExposurePaths, b as resolveVoiceCallConfig, c as resolveWebhookExposureStatus, d as setupTailscaleExposureRoutes, g as resolveUserPath, l as cleanupTailscaleExposureRoute, t as createVoiceCallRuntime, u as getTailscaleSelfInfo, w as validateProviderConfig, y as VoiceCallConfigSchema } from "./.setup/runtime-entry-CX9KlZZd.mjs";
5
+ import { b as setVoiceCallStateRuntime, d as loadActiveCallsFromStore, l as findCallInStore, t as resolveDefaultVoiceCallStoreDir, u as getCallHistoryFromStore } from "./.setup/store-path-C_z9zKnA.mjs";
6
6
  import { formatErrorMessage } from "openclaw/plugin-sdk/error-runtime";
7
7
  import { ErrorCodes, callGatewayFromCli, errorShape, isGatewayClientRequestError, isGatewayTransportError, redactSensitiveUrlLikeString } from "openclaw/plugin-sdk/gateway-runtime";
8
8
  import { resolveGlobalSingleton } from "openclaw/plugin-sdk/global-singleton";
@@ -1,2 +1,2 @@
1
- import { t as createVoiceCallRuntime } from "./runtime-entry-CJkbbEgg.js";
1
+ import { t as createVoiceCallRuntime } from "./.setup/runtime-entry-CX9KlZZd.mjs";
2
2
  export { createVoiceCallRuntime };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openclaw/voice-call",
3
- "version": "2026.8.2",
3
+ "version": "2026.8.34",
4
4
  "description": "OpenClaw voice-call plugin for Twilio, Telnyx, and Plivo phone calls.",
5
5
  "repository": {
6
6
  "type": "git",
@@ -13,7 +13,7 @@
13
13
  "zod": "4.4.3"
14
14
  },
15
15
  "peerDependencies": {
16
- "openclaw": ">=2026.8.2"
16
+ "openclaw": ">=2026.8.34"
17
17
  },
18
18
  "peerDependenciesMeta": {
19
19
  "openclaw": {
@@ -31,10 +31,10 @@
31
31
  "minHostVersion": ">=2026.4.10"
32
32
  },
33
33
  "compat": {
34
- "pluginApi": ">=2026.8.2"
34
+ "pluginApi": ">=2026.8.34"
35
35
  },
36
36
  "build": {
37
- "openclawVersion": "2026.8.2"
37
+ "openclawVersion": "2026.8.34"
38
38
  },
39
39
  "release": {
40
40
  "publishToClawHub": true,