mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-08 00:00:42 +00:00
Fix Telegram portrait video distortion by probing video dimensions through the shared media helper and passing width/height to sendVideo. Validation: - Targeted Telegram/media tests passed locally. - Plugin SDK API baseline check passed locally. - Formatter and git diff whitespace checks passed locally. CI note: current boundary drift observed on prior run came from existing src/plugin-sdk/discord.ts and src/plugin-sdk/telegram-account.ts, not this PR diff.
37 lines
1.6 KiB
TypeScript
37 lines
1.6 KiB
TypeScript
// Public media/payload helpers for plugins that fetch, transform, or send attachments.
|
|
|
|
export * from "../media/audio.js";
|
|
export * from "../media/audio-transcode.js";
|
|
export * from "../media/base64.js";
|
|
export * from "../media/constants.js";
|
|
export * from "../media/fetch.js";
|
|
export * from "../media/ffmpeg-exec.js";
|
|
export * from "../media/ffmpeg-limits.js";
|
|
export * from "../media/image-ops.js";
|
|
export * from "../media/inbound-path-policy.js";
|
|
export * from "../media/load-options.js";
|
|
export * from "../media/local-media-access.js";
|
|
export * from "../media/local-roots.js";
|
|
export * from "../media/mime.js";
|
|
export * from "../media/outbound-attachment.js";
|
|
export * from "../media/png-encode.ts";
|
|
export * from "../media/qr-image.ts";
|
|
export * from "../media/qr-terminal.ts";
|
|
export * from "../media/read-response-with-limit.js";
|
|
export * from "../media/store.js";
|
|
export * from "../media/temp-files.js";
|
|
export * from "../media/video-dimensions.js";
|
|
export { resolveChannelMediaMaxBytes } from "../channels/plugins/media-limits.js";
|
|
export * from "./agent-media-payload.js";
|
|
export * from "../media-understanding/audio-preflight.ts";
|
|
export * from "../media-understanding/defaults.js";
|
|
export * from "../media-understanding/image-runtime.ts";
|
|
export * from "../media-understanding/runner.js";
|
|
export { normalizeMediaProviderId } from "../media-understanding/provider-registry.js";
|
|
export * from "../polls.js";
|
|
export {
|
|
createDirectTextMediaOutbound,
|
|
createScopedChannelMediaMaxBytesResolver,
|
|
resolveScopedChannelMediaMaxBytes,
|
|
} from "../channels/plugins/outbound/direct-text-media.js";
|