auto-demo-video 是做什么的?
Generic pipeline for live product demos.
Hard rule
Do not add product-specific logic into the auto-demo-video repository
(workspace names, brand prompts, tenancy pickers, app testids).
Keep those in the consumer app / marketing repo and pass them via:
scenario.yaml(steps, captions, prompts)adapter: ./path/to/adapter.mjs+adapterOptions- env credentials /
storage-state.json
Commands
adv plan --scenario <yaml> [--code-root <dir>]
adv record --script <script.json>
adv edit --meta <meta.json> [--target-sec 90]
adv render --plan <edit-plan.json>
adv all --scenario <yaml> --out runs/job
Adapters
Built-in: generic-web only.
External:
adapter: ./demos/adapter.mjs
adapterOptions:
# free-form for your adapter
Shape: export default { loginPath?, isAuthed?, afterLogin?, custom?, composerPlaceholders? }.
Workflow
- Author scenario + optional external adapter in the product repo.
adv plan→ reviewscript.json.- Set
BASE_URL+ credentials (or storage state). adv record→ inspect meta/screens.adv edit→adv render→final.mp4.- Optional Remotion packaging in another project.
Docs
docs/pipeline.mddocs/shotcraft-notes.mdschemas/*.json