Files
openclaw/src/plugin-sdk/media-store.ts
T
Ayaan Zaidi d90dcc2111 feat(plugin-sdk): export saveMediaSource from media-store (#125278)
Plugins holding a remote URL had no non-deprecated Plugin SDK path to turn it into managed media; saveMediaSource was only reachable through the deprecated media-runtime barrel while docs pointed at media-store. Re-export it from the focused subpath and move the bundled qa-channel plugin off the deprecated barrel. Maintainer decision: full saveMediaSource (local path + HTTP(S)) is the supported media-store contract.

Fixes #125259
2026-08-17 12:54:52 +00:00

11 lines
285 B
TypeScript

// Narrow media store helpers for channel runtimes that do not need the full media runtime.
export {
readMediaBuffer,
resolveMediaBufferPath,
saveMediaBuffer,
saveMediaSource,
saveMediaStream,
} from "../media/store.js";
export type { SavedMedia } from "../media/store.js";