@openclaw/voice-call 2026.6.33 → 2026.6.35

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,6 +1,6 @@
1
1
  import { fetchWithSsrFGuard } from "./runtime-api.js";
2
2
  import "./api.js";
3
- import { a as getHeader } from "./runtime-entry-CZx1atFe.js";
3
+ import { a as getHeader } from "./runtime-entry-CAM4Gf40.js";
4
4
  import { formatErrorMessage } from "openclaw/plugin-sdk/error-runtime";
5
5
  import { isLoopbackHost } from "openclaw/plugin-sdk/gateway-runtime";
6
6
  import { isFutureDateTimestampMs, resolveExpiresAtMsFromDurationMs } from "openclaw/plugin-sdk/number-runtime";
@@ -627,6 +627,7 @@ async function readProviderErrorResponseSnippet(response) {
627
627
  }
628
628
  //#endregion
629
629
  //#region extensions/voice-call/src/providers/shared/guarded-json-api.ts
630
+ const VOICE_CALL_PROVIDER_API_TIMEOUT_MS = 3e4;
630
631
  /** Send a provider JSON request through the SSRF guard and parse bounded JSON responses. */
631
632
  async function guardedJsonApiRequest(params) {
632
633
  const { response, release } = await fetchWithSsrFGuard({
@@ -637,7 +638,8 @@ async function guardedJsonApiRequest(params) {
637
638
  body: params.body ? JSON.stringify(params.body) : void 0
638
639
  },
639
640
  policy: { allowedHostnames: params.allowedHostnames },
640
- auditContext: params.auditContext
641
+ auditContext: params.auditContext,
642
+ timeoutMs: VOICE_CALL_PROVIDER_API_TIMEOUT_MS
641
643
  });
642
644
  try {
643
645
  if (!response.ok) {
package/dist/index.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import { definePluginEntry, sleep } from "./runtime-api.js";
2
2
  import "./api.js";
3
3
  import { i as resolveVoiceCallConfig, s as validateProviderConfig } from "./config-BKDAAd8j.js";
4
- import { c as getTailscaleSelfInfo, l as setupTailscaleExposureRoute, o as resolveWebhookExposureStatus, p as resolveUserPath, s as cleanupTailscaleExposureRoute, t as createVoiceCallRuntime } from "./runtime-entry-CZx1atFe.js";
4
+ import { c as getTailscaleSelfInfo, l as setupTailscaleExposureRoute, o as resolveWebhookExposureStatus, p as resolveUserPath, s as cleanupTailscaleExposureRoute, t as createVoiceCallRuntime } from "./runtime-entry-CAM4Gf40.js";
5
5
  import { c as getCallHistoryFromStore, m as setVoiceCallStateRuntime } from "./store-8M2m4Isq.js";
6
6
  import { i as parseVoiceCallPluginConfig, r as normalizeVoiceCallLegacyConfigInput, t as formatVoiceCallLegacyConfigWarnings } from "./config-compat-qDCcKTUt.js";
7
7
  import { formatErrorMessage } from "openclaw/plugin-sdk/error-runtime";
@@ -1,5 +1,5 @@
1
- import { a as getHeader, m as escapeXml } from "./runtime-entry-CZx1atFe.js";
2
- import { a as reconstructWebhookUrl, o as verifyPlivoWebhook, t as guardedJsonApiRequest } from "./guarded-json-api-CmMKa9uZ.js";
1
+ import { a as getHeader, m as escapeXml } from "./runtime-entry-CAM4Gf40.js";
2
+ import { a as reconstructWebhookUrl, o as verifyPlivoWebhook, t as guardedJsonApiRequest } from "./guarded-json-api-PVMbQqN8.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
@@ -1,5 +1,5 @@
1
1
  import { o as resolveVoiceCallSessionKey } from "./config-BKDAAd8j.js";
2
- import { f as resolveVoiceResponseModel } from "./runtime-entry-CZx1atFe.js";
2
+ import { f as resolveVoiceResponseModel } from "./runtime-entry-CAM4Gf40.js";
3
3
  import { isRecord, normalizeLowercaseStringOrEmpty, normalizeStringEntries } 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";
@@ -2564,7 +2564,7 @@ function loadRealtimeTranscriptionRuntime() {
2564
2564
  return realtimeTranscriptionRuntimePromise;
2565
2565
  }
2566
2566
  function loadResponseGeneratorModule() {
2567
- responseGeneratorModulePromise ??= import("./response-generator-UQneIJrB.js");
2567
+ responseGeneratorModulePromise ??= import("./response-generator--dgJKX7U.js");
2568
2568
  return responseGeneratorModulePromise;
2569
2569
  }
2570
2570
  function sanitizeTranscriptForLog(value) {
@@ -3252,15 +3252,15 @@ let mockProviderPromise;
3252
3252
  let realtimeVoiceRuntimePromise;
3253
3253
  let realtimeHandlerPromise;
3254
3254
  function loadTelnyxProvider() {
3255
- telnyxProviderPromise ??= import("./telnyx-iEUfESPw.js");
3255
+ telnyxProviderPromise ??= import("./telnyx-pqufkG6P.js");
3256
3256
  return telnyxProviderPromise;
3257
3257
  }
3258
3258
  function loadTwilioProvider() {
3259
- twilioProviderPromise ??= import("./twilio-iv98cUsF.js");
3259
+ twilioProviderPromise ??= import("./twilio-MZaA-0nZ.js");
3260
3260
  return twilioProviderPromise;
3261
3261
  }
3262
3262
  function loadPlivoProvider() {
3263
- plivoProviderPromise ??= import("./plivo-5ZPBAFQL.js");
3263
+ plivoProviderPromise ??= import("./plivo-Bfssf5-d.js");
3264
3264
  return plivoProviderPromise;
3265
3265
  }
3266
3266
  function loadMockProvider() {
@@ -1,2 +1,2 @@
1
- import { t as createVoiceCallRuntime } from "./runtime-entry-CZx1atFe.js";
1
+ import { t as createVoiceCallRuntime } from "./runtime-entry-CAM4Gf40.js";
2
2
  export { createVoiceCallRuntime };
@@ -1,4 +1,4 @@
1
- import { s as verifyTelnyxWebhook, t as guardedJsonApiRequest } from "./guarded-json-api-CmMKa9uZ.js";
1
+ import { s as verifyTelnyxWebhook, t as guardedJsonApiRequest } from "./guarded-json-api-PVMbQqN8.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-CZx1atFe.js";
4
- import { c as verifyTwilioWebhook, i as readProviderJsonResponseText, n as cancelProviderResponseBody, r as readProviderErrorResponseSnippet, t as guardedJsonApiRequest } from "./guarded-json-api-CmMKa9uZ.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-CAM4Gf40.js";
4
+ import { c as verifyTwilioWebhook, i as readProviderJsonResponseText, n as cancelProviderResponseBody, r as readProviderErrorResponseSnippet, t as guardedJsonApiRequest } from "./guarded-json-api-PVMbQqN8.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";
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@openclaw/voice-call",
3
- "version": "2026.6.33",
3
+ "version": "2026.6.35",
4
4
  "lockfileVersion": 3,
5
5
  "requires": true,
6
6
  "packages": {
7
7
  "": {
8
8
  "name": "@openclaw/voice-call",
9
- "version": "2026.6.33",
9
+ "version": "2026.6.35",
10
10
  "dependencies": {
11
11
  "commander": "14.0.3",
12
12
  "typebox": "1.1.39",
@@ -14,7 +14,7 @@
14
14
  "zod": "4.4.3"
15
15
  },
16
16
  "peerDependencies": {
17
- "openclaw": ">=2026.6.33"
17
+ "openclaw": ">=2026.6.35"
18
18
  },
19
19
  "peerDependenciesMeta": {
20
20
  "openclaw": {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openclaw/voice-call",
3
- "version": "2026.6.33",
3
+ "version": "2026.6.35",
4
4
  "description": "OpenClaw voice-call plugin for Twilio, Telnyx, and Plivo phone calls.",
5
5
  "repository": {
6
6
  "type": "git",
@@ -14,7 +14,7 @@
14
14
  "zod": "4.4.3"
15
15
  },
16
16
  "peerDependencies": {
17
- "openclaw": ">=2026.6.33"
17
+ "openclaw": ">=2026.6.35"
18
18
  },
19
19
  "peerDependenciesMeta": {
20
20
  "openclaw": {
@@ -31,10 +31,10 @@
31
31
  "minHostVersion": ">=2026.4.10"
32
32
  },
33
33
  "compat": {
34
- "pluginApi": ">=2026.6.33"
34
+ "pluginApi": ">=2026.6.35"
35
35
  },
36
36
  "build": {
37
- "openclawVersion": "2026.6.33"
37
+ "openclawVersion": "2026.6.35"
38
38
  },
39
39
  "release": {
40
40
  "publishToClawHub": true,