demobite 1.0.0 → 1.0.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.
- package/README.md +5 -4
- package/launcher/index.mjs +4 -3
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -11,7 +11,8 @@ npx demobite
|
|
|
11
11
|
```
|
|
12
12
|
|
|
13
13
|
That one command checks your setup, installs the recorder skill for
|
|
14
|
-
[Claude Code](https://claude.com/claude-code),
|
|
14
|
+
your coding agent — [Claude Code](https://claude.com/claude-code), Cursor,
|
|
15
|
+
or Codex — and wires the DemoBites
|
|
15
16
|
management MCP so your agent can also run your Update Center and Demo Center.
|
|
16
17
|
Sign-in happens through your own browser — no passwords in the terminal, ever.
|
|
17
18
|
Then you just ask your agent:
|
|
@@ -35,7 +36,7 @@ does the rest.
|
|
|
35
36
|
| Directory | What it is |
|
|
36
37
|
|---|---|
|
|
37
38
|
| `launcher/` | The `npx demobite` entry — environment checks, skill install, login |
|
|
38
|
-
| `skill/` | The DemoBites recorder skill for
|
|
39
|
+
| `skill/` | The DemoBites recorder skill for coding agents (staging, preview, approval flow) |
|
|
39
40
|
| `recorder/` | The open recorder — same filming engine, no account, ends at a polished `demo.mp4` |
|
|
40
41
|
| `scripts/` | The shared engine: filming, clock calibration, cutting |
|
|
41
42
|
|
|
@@ -43,7 +44,7 @@ does the rest.
|
|
|
43
44
|
|
|
44
45
|
The `recorder/` directory is a standalone skill: the same real-browser filming,
|
|
45
46
|
hover-anchor clock calibration and camera work, delivering a finished, styled
|
|
46
|
-
`demo.mp4` on your disk — no account, no upload. Point
|
|
47
|
+
`demo.mp4` on your disk — no account, no upload. Point your coding agent at it and
|
|
47
48
|
film. When you want narration, zooms, an editable timeline and hosting, the
|
|
48
49
|
sibling skill in `skill/` is one login away.
|
|
49
50
|
|
|
@@ -57,7 +58,7 @@ is cryptographically tied to a public commit in this repository.
|
|
|
57
58
|
## Requirements
|
|
58
59
|
|
|
59
60
|
- Node 18+
|
|
60
|
-
- [Claude Code](https://claude.com/claude-code)
|
|
61
|
+
- A coding agent — [Claude Code](https://claude.com/claude-code), Cursor, or Codex; the recorder is agent-driven
|
|
61
62
|
- Google Chrome (recommended; films with the real browser) — otherwise
|
|
62
63
|
Chromium is downloaded on first take
|
|
63
64
|
- ffmpeg (`brew install ffmpeg` on macOS)
|
package/launcher/index.mjs
CHANGED
|
@@ -49,8 +49,8 @@ if (chromePaths.some((p) => fs.existsSync(p)) || hasBin("google-chrome")) ok("Go
|
|
|
49
49
|
else warn("Google Chrome not found — the recorder will download Chromium on first take");
|
|
50
50
|
if (hasBin("ffmpeg")) ok("ffmpeg");
|
|
51
51
|
else warn("ffmpeg not found — install it (macOS: brew install ffmpeg) before recording");
|
|
52
|
-
if (hasBin("claude")) ok("Claude Code (the
|
|
53
|
-
else warn("Claude Code not found —
|
|
52
|
+
if (hasBin("claude")) ok("Claude Code (drives the recorder; MCP registers automatically)");
|
|
53
|
+
else warn("Claude Code not found — using Cursor or Codex? They drive the recorder too; MCP setup prints below");
|
|
54
54
|
|
|
55
55
|
// ── 2. Install / update the skill ──────────────────────────────────────────
|
|
56
56
|
const skillsDir = path.join(os.homedir(), ".claude", "skills");
|
|
@@ -139,7 +139,8 @@ Publishing always shows you a preview to approve first.
|
|
|
139
139
|
const cfg = readCfg();
|
|
140
140
|
if (cfg?.api_key) registerMcp(cfg, { quiet: true });
|
|
141
141
|
console.log(`
|
|
142
|
-
Ready. Everything is agent-driven — open
|
|
142
|
+
Ready. Everything is agent-driven — open your coding agent (Claude Code,
|
|
143
|
+
Cursor, Codex) in your project and ask:
|
|
143
144
|
|
|
144
145
|
"Record a demo of <your flow> and upload it to DemoBites"
|
|
145
146
|
"Create a release with my latest bites and add Spanish"
|
package/package.json
CHANGED