@tandryukha/aidemo 0.8.0 → 0.14.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -26,8 +26,11 @@ fetch it first, then follow it:
26
26
  and follow the guide. Pipeline operations (`probe`, `render`, `voice`,
27
27
  `captions`, `compose`, `gif`) are **jobs**: they return a `jobId`
28
28
  immediately — poll **`job_status`** for progress, results, and failure
29
- artifacts. Validate storyboard edits with **`validate_storyboard`** before
30
- rendering. Pass **absolute** demo directories.
29
+ artifacts. Discover selectors with **`inspect`** (unique selectors per
30
+ visible element — no guessing) before writing targets; validate storyboard
31
+ edits with **`validate_storyboard`** and **`lint_storyboard`** (pacing
32
+ forecast: which scenes will freeze or be cut) before rendering; read
33
+ `output/report.json` after. Pass **absolute** demo directories.
31
34
  2. **Fallback — no MCP server registered**: run `aidemo guide` and follow the
32
35
  same document using the CLI commands it maps out.
33
36
  3. **After verifying the final video** (per the guide's "Verify before
package/README.md CHANGED
@@ -15,12 +15,16 @@ demo.
15
15
  [![Website](https://img.shields.io/badge/website-aidemo.top-1a7f37)](https://aidemo.top)
16
16
  [![ci](https://github.com/tandryukha/aidemo/actions/workflows/ci.yml/badge.svg?branch=main)](https://github.com/tandryukha/aidemo/actions/workflows/ci.yml)
17
17
  [![License: MIT](https://img.shields.io/badge/license-MIT-blue.svg)](LICENSE)
18
- [![Release](https://img.shields.io/github/v/release/tandryukha/aidemo)](https://github.com/tandryukha/aidemo/releases)
18
+ [![npm](https://img.shields.io/npm/v/%40tandryukha%2Faidemo?logo=npm&label=npm&color=cb3837)](https://www.npmjs.com/package/@tandryukha/aidemo)
19
+ [![Homebrew](https://img.shields.io/badge/Homebrew-tandryukha%2Faidemo-fbb040?logo=homebrew&logoColor=white)](https://github.com/tandryukha/homebrew-aidemo)
19
20
  [![GitHub Marketplace](https://img.shields.io/badge/Marketplace-aidemo%20Demo%20Video-2ea44f?logo=githubactions&logoColor=white)](https://github.com/marketplace/actions/aidemo-demo-video)
21
+ [![MCP Registry](https://img.shields.io/badge/MCP%20Registry-aidemo-1f6feb)](https://registry.modelcontextprotocol.io)
20
22
  [![Works with Claude Code](https://img.shields.io/badge/works%20with-Claude%20Code-d97757)](#three-ways-to-use-it)
21
23
  [![OpenSSF Scorecard](https://api.scorecard.dev/projects/github.com/tandryukha/aidemo/badge)](https://scorecard.dev/viewer/?uri=github.com/tandryukha/aidemo)
24
+ [![Glama](https://glama.ai/mcp/servers/tandryukha/aidemo/badges/score.svg)](https://glama.ai/mcp/servers/tandryukha/aidemo)
22
25
 
23
- **Install:** `/plugin marketplace add tandryukha/aidemo` (Claude Code) · `uses: tandryukha/aidemo@stable` (CI) · `npx -y github:tandryukha/aidemo#stable` (CLI / any agent)
26
+ **Install:** Claude Code `/plugin marketplace add tandryukha/aidemo` · any agent `npx skills add tandryukha/aidemo` (skill only; add the MCP server with `repo-init`) · CI `uses: tandryukha/aidemo@stable` · CLI `npx -y @tandryukha/aidemo` · Homebrew `brew install tandryukha/aidemo/aidemo`
27
+ <br>Published on the [GitHub Marketplace](https://github.com/marketplace/actions/aidemo-demo-video), [npm](https://www.npmjs.com/package/@tandryukha/aidemo), a [Homebrew tap](https://github.com/tandryukha/homebrew-aidemo), and the [MCP Registry](https://registry.modelcontextprotocol.io).
24
28
 
25
29
  [![aidemo demoing itself on Wikipedia — recorded with aidemo](docs/demo.gif)](https://github.com/tandryukha/aidemo/releases/download/v0.3.0/wikipedia-showcase-demo.mp4)
26
30
 
@@ -171,19 +175,27 @@ re-recording, recompose without re-transcribing, etc.
171
175
 
172
176
  ```bash
173
177
  aidemo init <name> # scaffold demos/<name>/ with a starter storyboard
178
+ aidemo init <name> --from-url <url> # …drafted from the live page's headings + real selectors
179
+ aidemo import-trace trace.zip --name <name> # …or from a Playwright trace / *.spec.ts (actions + selectors → scenes)
174
180
  aidemo voice <dir> # per-scene TTS → narration.mp3 + voice.json
175
181
  aidemo record <dir> # drive Chrome → raw video + timeline.json
176
182
  aidemo probe <dir> # record-only dry run (verify selectors), no key needed
183
+ aidemo validate <dir> # schema-check the storyboard, no browser (non-zero exit on issues)
184
+ aidemo lint <dir> # predict freezes/cuts + selector pitfalls before spending a take
177
185
  aidemo captions <dir> # Whisper → captions.{srt,vtt,cues.json} (--offline for no network)
178
186
  aidemo compose <dir> # trim + sync + zoom + cards + caption + mux → final-demo.mp4
179
187
  aidemo gif <dir> # final-demo.mp4 → README-ready GIF (autoplays on GitHub)
188
+ aidemo frames <dir> # evenly spaced PNGs from the video for review (--source raw)
180
189
  aidemo render <dir> # voice → record → captions → compose
181
190
  aidemo guide # print the canonical authoring guide
182
191
  aidemo doctor # check Node, ffmpeg, Chrome, voice endpoint
183
192
  ```
184
193
 
185
194
  Add `--headless` for CI/fixtures; omit it for real sites that need your
186
- logged-in session. `--profile <dir>` picks the Chrome user-data dir;
195
+ logged-in session. `--profile <dir>` picks the Chrome user-data dir; `--fresh`
196
+ records on a wiped one; `--storage-state <file>` / `--cookie "name=value;domain=host"`
197
+ seed a cookie-gated site before the first action (or declare `setup` in the
198
+ storyboard, which can also run a `preflight` script before every take);
187
199
  `--capture native|obs` switches to high-fidelity screen capture. `voice`/`render`
188
200
  **skip TTS for unchanged scenes**, and `record` **salvages a failed take** (keeps
189
201
  the footage + drops a screenshot/frame-dump in `logs/`).
@@ -264,7 +276,7 @@ demos/<name>/ ← your working area (untracked; scaffold with `aidemo i
264
276
  fully local. The MCP server is **stdio-only** — no listener.
265
277
  - **Small, auditable surface:** ~20 source files, 7 runtime deps, MIT. Pin an
266
278
  immutable ref if you're wary of the moving `#stable` tag:
267
- `npx -y github:tandryukha/aidemo#v0.8.0`.
279
+ `npx -y github:tandryukha/aidemo#v0.14.0` (any released tag).
268
280
  - Full detail: [docs/LOCAL_MODELS.md](docs/LOCAL_MODELS.md#what-leaves-the-machine)
269
281
  · report vulnerabilities privately per [SECURITY.md](SECURITY.md).
270
282