OpenViking
volcengine
Self-evolving Context Database for AI Agents. Unify Agent Memory, Knowledge RAG and Skills.
Lumos-789/delivery-video-plugin
Turn a feature that actually runs into a trustworthy delivery demo video: real recordings, edge-tts narration, word-synced subtitles, deterministic quality gate. ZCode plugin + DSH skill plugin, dual-form.
PROJECT TOPICS
INSTALL REFERENCE
dsh plugin --profile web add github:Lumos-789/delivery-video-plugin
该命令指向仓库当前默认分支;尚无绑定当前 commit 的完整验证结果。
PROJECT README
A skill plugin that turns a feature that actually runs into a trustworthy delivery demo video — real screen recordings, synthesized narration, word-synced subtitles, and a deterministic quality gate that refuses to pass a fake or broken demo.
Most "AI demo videos" are stitched from static screenshots, mock pages or stale recordings. This plugin enforces the opposite discipline: every segment must point at a real recording with a traceable time range, the last shot must end on a verified result state, and the artifact must pass hard checks for resolution/FPS/codec, audio presence, loudness, black frames and freeze frames before anything is posted. Bitrate density is reported as an informational notice; text still needs a 1:1 visual check. The uploaded file is always the gated file, bound by SHA256.
In DeepSeek Harness, the skill is registered in both the Host and each live Agent scope. That lets the installed plugin win over an older same-name copy in ~/.agents/skills, even when an Agent preset mounts the filesystem skill provider in a nearer layer.
intent: "feedback" with an issue block to produce a defect report instead of a
delivery: severity and phase chips, a repro-steps overlay, and both feedback.json and a
ticket-ready feedback.generated.md. The gate report binds the artifact SHA256, a
normalized hash of the feedback.json fields and the exact markdown bytes, so
verify_delivery.py fails when the report was edited after rendering, or the markdown is
missing or was edited after rendering. Copy examples/feedback-episode.example.json as a
starting point. The same quality gate applies.render.py synthesizes narration via edge-tts (word-boundary clocks), times each segment to its narration (0.3x–3x speed is hard-checked, never clamped — out of range fails), draws the label chip and word-synced subtitles, concatenates, loudness-normalizes to −14 LUFS, and runs the built-in quality gate. Output: screen_demo.mp4 (1920×1080, 30fps, h264 with AAC audio — a non-AAC track is a gate warning E102, not a failure), timeline.json, cover/preview frames, quality_gate/report.json.preflight.py validates the recipe before rendering (structure, intervals, crops, browser-recording evidence, TTS cache contracts, narration red lines); verify_delivery.py verifies the finished artifact, gate binding and optional independent visual review afterwards.render.py gate runs the same hard checks on any mp4 before it goes into a ticket, chat or customer channel.python3 3.9+ffmpeg and ffprobe on PATHpip install "edge-tts>=7.3.1" Pillowedge-tts 7.2.8 and older can return HTTP 403 from the upstream endpoint. Use 7.3.1 or newer; the renderer fails early with an upgrade command when the installed version is too old.
Run preflight.py, render.py and verify_delivery.py with the same Python interpreter. Preflight fails early when ffmpeg/ffprobe, Pillow, a supported edge-tts version or a CJK font is missing.
Platform setup:
brew install ffmpeg, then python3 -m pip install "edge-tts>=7.3.1" Pillowwinget install --id Gyan.FFmpeg -e (or choco install ffmpeg). If python3 is not available, use py -3 consistently and run py -3 -m pip install "edge-tts>=7.3.1" Pillowffmpeg and a CJK font such as fonts-noto-cjk with your package manager, then install the Python packagesThe renderer needs a CJK font for Chinese labels and subtitles. macOS and Windows normally provide one; minimal Linux images often do not, and preflight reports the missing font before rendering.
tts/ cache, per-segment clips, final mp4, gate reports).ffmpeg/ffprobe locally; the skill never uploads, publishes or deletes anything by itself.Install: dsh plugin add /path/to/delivery-video-plugin (DSH bundle). It exposes the skill in skills/delivery-video/.
Cmd+Shift+5, OBS, or a scripted browser screencast — see the skill's recording reference). For two or more acceptance cases, list them first using examples/cases.example.md as a template, then record one real run per case.build/screen_demo-<slug>/episode.json (copy examples/episode.example.json).py -3 instead of python3 on Windows when needed):python3 <skill>/scripts/preflight.py build/screen_demo-myfeature
python3 <skill>/scripts/render.py render build/screen_demo-myfeature
python3 <skill>/scripts/verify_delivery.py build/screen_demo-myfeature
Run the unit tests with:
python3 -m unittest discover -s tests -v
Suggested trial prompt after install: "用 delivery-video 把这个项目刚完成的功能录成一段 90 秒交付演示视频" — the skill will walk verification, storyboard, recording guidance, recipe assembly, render and gating.
ZCode 0.17.x can keep a user-level skill and a plugin skill with the same name. If an older ~/.agents/skills/delivery-video still exists, the unqualified /skill delivery-video command may select that copy. Select delivery-video:delivery-video in the composer, or use /skill delivery-video:delivery-video <task>, to run the installed plugin.
MIT © Lumos-789
CLASSIFICATION EVIDENCE
系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: sync。