mirror of
https://github.com/openclaw/openclaw.git
synced 2026-08-27 04:47:03 -06:00
d58c216500
* fix(voice-call): honor state directory override * chore(voice-call): leave release notes to release flow * docs(voice-call): document state-dir store root
9 lines
402 B
TypeScript
9 lines
402 B
TypeScript
// Voice Call plugin module resolves its default persistence root.
|
|
import path from "node:path";
|
|
import { resolveStateDir } from "openclaw/plugin-sdk/state-paths";
|
|
|
|
/** Resolve the plugin-owned store below OpenClaw's canonical state directory. */
|
|
export function resolveDefaultVoiceCallStoreDir(env: NodeJS.ProcessEnv = process.env): string {
|
|
return path.join(resolveStateDir(env), "voice-calls");
|
|
}
|