Extensions: migrate voice-call plugin-sdk imports

This commit is contained in:
Gustavo Madeira Santana 2026-03-04 01:20:19 -05:00
parent 9d102b762e
commit b361cac753
4 changed files with 4 additions and 4 deletions

View File

@ -2,7 +2,7 @@ import fs from "node:fs";
import os from "node:os";
import path from "node:path";
import type { Command } from "commander";
import { sleep } from "openclaw/plugin-sdk";
import { sleep } from "openclaw/plugin-sdk/compat";
import type { VoiceCallConfig } from "./config.js";
import type { VoiceCallRuntime } from "./runtime.js";
import { resolveUserPath } from "./utils.js";

View File

@ -3,7 +3,7 @@ import {
TtsConfigSchema,
TtsModeSchema,
TtsProviderSchema,
} from "openclaw/plugin-sdk";
} from "openclaw/plugin-sdk/compat";
import { z } from "zod";
// -----------------------------------------------------------------------------

View File

@ -1,4 +1,4 @@
import { fetchWithSsrFGuard } from "openclaw/plugin-sdk";
import { fetchWithSsrFGuard } from "openclaw/plugin-sdk/compat";
type GuardedJsonApiRequestParams = {
url: string;

View File

@ -4,7 +4,7 @@ import {
isRequestBodyLimitError,
readRequestBodyWithLimit,
requestBodyErrorToText,
} from "openclaw/plugin-sdk";
} from "openclaw/plugin-sdk/compat";
import type { VoiceCallConfig } from "./config.js";
import type { CoreConfig } from "./core-bridge.js";
import type { CallManager } from "./manager.js";