Все плагины

dsh-video-tools

@piedpiper911/dsh-video-tools · Версия 0.1.0 · Обновлён 29 нояб. 2026 г.

Инструменты для работы с аудио и видео в DeepSeek Harness (DSH) работают локально в браузере на базе FFmpeg.wasm.

  • проверка каждой версии
  • Инструменты
  • MIT
  • Загрузок: 0

Описание

Ниже — оригинальный текст автора.

dsh-video-tools 🎬

Browser-local audio/video tools for DeepSeek Harness (DSH), powered by FFmpeg.wasm.

No uploads, no servers — every operation runs in your browser via WebAssembly.

Install

sole plugin add @piedpiper911/dsh-video-tools

Tools

ToolWhat it does
video_infoProbe a video's duration, resolution, and codecs without transcoding.
video_framesExtract evenly-spaced frames as JPEGs, or a single frame at a timestamp.
image_compressRecompress an image to JPEG at a target width to shrink it for vision models.
video_to_gifConvert a video clip to an animated GIF (two-pass palette optimization).

Example: give a vision model frames from a local video

1. upload the video → workspace
2. video_frames { input: "demo.mp4", count: 4 }
3. describe what you see in each frame

How it works

  • One shared FFmpeg instance is lazily loaded on first use and reused for the whole session — the ~30 MB core downloads exactly once.
  • All I/O happens in FFmpeg's in-memory virtual filesystem; nothing touches disk.
  • Tool arguments are validated with the DSH schema DSL (defineTool), so the model only ever sees well-formed inputs.

Development

npm ci
npm run build      # tsc → lib/
npm test           # vitest

License

MIT

История версий

  • 0.1.029 нояб. 2026 г. · 9 KB
dsh-video-tools · плагин SoleAPI Agent | SoleAPI