@argo-video/cli 0.3.0 → 0.4.0

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 CHANGED
@@ -17,7 +17,8 @@ Write a demo script with Playwright. Add a voiceover manifest. Run one command.
17
17
 
18
18
  ## Showcase
19
19
 
20
- [Watch the demo video](https://gist.github.com/user-attachments/assets/1344780c-75e4-40fc-ab4a-c9e546f8c2ea)
20
+ [Watch the demo video](
21
+ https://gist.github.com/user-attachments/assets/ddc11570-7149-4203-8c65-5700386bba5b)
21
22
 
22
23
  > *This demo was recorded by Argo, using Argo. Yes, really.*
23
24
 
@@ -178,6 +179,7 @@ Argo exports Playwright fixtures and helpers for use in demo scripts:
178
179
  ```ts
179
180
  import { test, expect, demoType } from '@argo-video/cli';
180
181
  import { showOverlay, hideOverlay, withOverlay } from '@argo-video/cli';
182
+ import { showConfetti } from '@argo-video/cli';
181
183
  import { showCaption, hideCaption, withCaption } from '@argo-video/cli';
182
184
  import { defineConfig, demosProject } from '@argo-video/cli';
183
185
  ```
@@ -190,6 +192,7 @@ import { defineConfig, demosProject } from '@argo-video/cli';
190
192
  | `showOverlay(page, scene, cue, durationMs)` | Show a templated overlay (lower-third, headline-card, callout, image-card) |
191
193
  | `withOverlay(page, scene, cue, action)` | Show overlay during an async action |
192
194
  | `hideOverlay(page, zone?)` | Remove overlay from a zone |
195
+ | `showConfetti(page, opts?)` | Burst confetti animation (`spread: 'burst' \| 'rain'`) |
193
196
  | `showCaption(page, scene, text, durationMs)` | Show a simple text caption |
194
197
  | `withCaption(page, scene, text, action)` | Show caption during an async action |
195
198
  | `hideCaption(page)` | Remove caption |
@@ -221,6 +224,17 @@ choco install ffmpeg # Windows
221
224
 
222
225
  4. **Export** — ffmpeg combines the screen recording (WebM) with the aligned narration (WAV) into an H.264 MP4.
223
226
 
227
+ ## LLM Skill
228
+
229
+ Argo ships as a **Claude Code skill** so LLMs can create demo videos autonomously. Install it as a plugin:
230
+
231
+ ```bash
232
+ # In Claude Code
233
+ /plugin marketplace add shreyaskarnik/argo
234
+ ```
235
+
236
+ The skill teaches Claude how to write demo scripts, voiceover manifests, overlay cues, and run the pipeline — no manual guidance needed.
237
+
224
238
  ## License
225
239
 
226
240
  MIT
@@ -0,0 +1,15 @@
1
+ import type { Page } from '@playwright/test';
2
+ export interface ConfettiOptions {
3
+ /** Milliseconds before auto-fade. Default: 3000 */
4
+ duration?: number;
5
+ /** Number of confetti pieces. Default: 150 */
6
+ pieces?: number;
7
+ /** 'burst' fans from center-top (Raycast-style), 'rain' falls across full width. Default: 'burst' */
8
+ spread?: 'burst' | 'rain';
9
+ /** Hex color strings for confetti pieces. Default: blue, cyan, green, amber, red, purple */
10
+ colors?: string[];
11
+ /** Fade-out duration in ms. Default: 800 */
12
+ fadeOut?: number;
13
+ }
14
+ export declare function showConfetti(page: Page, opts?: ConfettiOptions): Promise<void>;
15
+ //# sourceMappingURL=effects.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"effects.d.ts","sourceRoot":"","sources":["../src/effects.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,kBAAkB,CAAC;AAE7C,MAAM,WAAW,eAAe;IAC9B,mDAAmD;IACnD,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,8CAA8C;IAC9C,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,qGAAqG;IACrG,MAAM,CAAC,EAAE,OAAO,GAAG,MAAM,CAAC;IAC1B,4FAA4F;IAC5F,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;IAClB,4CAA4C;IAC5C,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB;AAMD,wBAAsB,YAAY,CAChC,IAAI,EAAE,IAAI,EACV,IAAI,CAAC,EAAE,eAAe,GACrB,OAAO,CAAC,IAAI,CAAC,CAuHf"}
@@ -0,0 +1,99 @@
1
+ const DEFAULT_COLORS = ['#3b82f6', '#06b6d4', '#4ade80', '#f59e0b', '#ef4444', '#a78bfa'];
2
+ const CONFETTI_ID = 'argo-confetti';
3
+ export async function showConfetti(page, opts) {
4
+ const duration = opts?.duration ?? 3000;
5
+ const pieces = opts?.pieces ?? 150;
6
+ const spread = opts?.spread ?? 'burst';
7
+ const colors = opts?.colors ?? DEFAULT_COLORS;
8
+ const fadeOut = opts?.fadeOut ?? 800;
9
+ await page.evaluate(({ pieces, spread, colors, duration, fadeOut, id }) => {
10
+ // Remove any existing confetti
11
+ document.getElementById(id)?.remove();
12
+ const canvas = document.createElement('canvas');
13
+ canvas.id = id;
14
+ canvas.style.cssText =
15
+ 'position:fixed;top:0;left:0;width:100vw;height:100vh;pointer-events:none;z-index:99999';
16
+ document.body.appendChild(canvas);
17
+ canvas.width = window.innerWidth;
18
+ canvas.height = window.innerHeight;
19
+ const ctx = canvas.getContext('2d');
20
+ const particles = [];
21
+ for (let i = 0; i < pieces; i++) {
22
+ const color = colors[Math.floor(Math.random() * colors.length)];
23
+ const w = 6 + Math.random() * 8;
24
+ const h = 4 + Math.random() * 6;
25
+ const rot = Math.random() * Math.PI * 2;
26
+ const rv = (Math.random() - 0.5) * 0.2;
27
+ if (spread === 'burst') {
28
+ // Raycast-style: burst from center-top, fan outward
29
+ const cx = canvas.width / 2;
30
+ const angle = -Math.PI / 2 + (Math.random() - 0.5) * Math.PI * 0.8;
31
+ const speed = 4 + Math.random() * 8;
32
+ particles.push({
33
+ x: cx + (Math.random() - 0.5) * 40,
34
+ y: -10,
35
+ w,
36
+ h,
37
+ color,
38
+ vx: Math.cos(angle) * speed,
39
+ vy: Math.sin(angle) * speed,
40
+ rot,
41
+ rv,
42
+ });
43
+ }
44
+ else {
45
+ // Rain: spawn across full width above viewport
46
+ particles.push({
47
+ x: Math.random() * canvas.width,
48
+ y: -Math.random() * canvas.height,
49
+ w,
50
+ h,
51
+ color,
52
+ vx: (Math.random() - 0.5) * 4,
53
+ vy: 2 + Math.random() * 4,
54
+ rot,
55
+ rv,
56
+ });
57
+ }
58
+ }
59
+ const startTime = performance.now();
60
+ function frame() {
61
+ const elapsed = performance.now() - startTime;
62
+ ctx.clearRect(0, 0, canvas.width, canvas.height);
63
+ for (const p of particles) {
64
+ p.x += p.vx;
65
+ p.y += p.vy;
66
+ p.rot += p.rv;
67
+ p.vy += 0.15; // gravity
68
+ if (spread === 'burst') {
69
+ p.vx *= 0.99; // air resistance for burst spread
70
+ }
71
+ ctx.save();
72
+ ctx.translate(p.x, p.y);
73
+ ctx.rotate(p.rot);
74
+ ctx.fillStyle = p.color;
75
+ ctx.fillRect(-p.w / 2, -p.h / 2, p.w, p.h);
76
+ ctx.restore();
77
+ }
78
+ // Start fade-out when duration reached
79
+ if (elapsed >= duration) {
80
+ const fadeProgress = Math.min(1, (elapsed - duration) / fadeOut);
81
+ canvas.style.opacity = String(1 - fadeProgress);
82
+ if (fadeProgress >= 1) {
83
+ canvas.remove();
84
+ return;
85
+ }
86
+ }
87
+ if (particles.some((p) => p.y < canvas.height + 50) || elapsed < duration + fadeOut) {
88
+ requestAnimationFrame(frame);
89
+ }
90
+ else {
91
+ canvas.remove();
92
+ }
93
+ }
94
+ requestAnimationFrame(frame);
95
+ }, { pieces, spread, colors, duration, fadeOut, id: CONFETTI_ID });
96
+ // Wait for the full animation + fade to complete
97
+ await page.waitForTimeout(duration + fadeOut);
98
+ }
99
+ //# sourceMappingURL=effects.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"effects.js","sourceRoot":"","sources":["../src/effects.ts"],"names":[],"mappings":"AAeA,MAAM,cAAc,GAAG,CAAC,SAAS,EAAE,SAAS,EAAE,SAAS,EAAE,SAAS,EAAE,SAAS,EAAE,SAAS,CAAC,CAAC;AAE1F,MAAM,WAAW,GAAG,eAAe,CAAC;AAEpC,MAAM,CAAC,KAAK,UAAU,YAAY,CAChC,IAAU,EACV,IAAsB;IAEtB,MAAM,QAAQ,GAAG,IAAI,EAAE,QAAQ,IAAI,IAAI,CAAC;IACxC,MAAM,MAAM,GAAG,IAAI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CAAC;YAED,uCAAuC;YACvC,IAAI,OAAO,IAAI,QAAQ,EAAE,CAAC;gBACxB,MAAM,YAAY,GAAG,IAAI,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,OAAO,GAAG,QAAQ,CAAC,GAAG,OAAO,CAAC,CAAC;gBACjE,MAAM,CAAC,KAAK,CAAC,OAAO,GAAG,MAAM,CAAC,CAAC,GAAG,YAAY,CAAC,CAAC;gBAChD,IAAI,YAAY,IAAI,CAAC,EAAE,CAAC;oBACtB,MAAM,CAAC,MAAM,EAAE,CAAC;oBAChB,OAAO;gBACT,CAAC;YACH,CAAC;YAED,IAAI,SAAS,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,CAAC,GAAG,MAAM,CAAC,MAAM,GAAG,EAAE,CAAC,IAAI,OAAO,GAAG,QAAQ,GAAG,OAAO,EAAE,CAAC;gBACpF,qBAAqB,CAAC,KAAK,CAAC,CAAC;YAC/B,CAAC;iBAAM,CAAC;gBACN,MAAM,CAAC,MAAM,EAAE,CAAC;YAClB,CAAC;QACH,CAAC;QAED,qBAAqB,CAAC,KAAK,CAAC,CAAC;IAC/B,CAAC,EACD,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,QAAQ,EAAE,OAAO,EAAE,EAAE,EAAE,WAAW,EAAE,CAC/D,CAAC;IAEF,iDAAiD;IACjD,MAAM,IAAI,CAAC,cAAc,CAAC,QAAQ,GAAG,OAAO,CAAC,CAAC;AAChD,CAAC"}
package/dist/index.d.ts CHANGED
@@ -3,6 +3,7 @@ export { test, expect, demoType } from './fixtures.js';
3
3
  export { NarrationTimeline, type SceneDurationOptions } from './narration.js';
4
4
  export { showCaption, hideCaption, withCaption } from './captions.js';
5
5
  export { showOverlay, hideOverlay, withOverlay, type OverlayCue, type OverlayManifestEntry, type Zone, type TemplateType, type MotionPreset, } from './overlays/index.js';
6
+ export { showConfetti, type ConfettiOptions } from './effects.js';
6
7
  export { type TTSEngineOptions } from './tts/engine.js';
7
8
  export { init } from './init.js';
8
9
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAGA,OAAO,EACL,YAAY,EACZ,UAAU,EACV,YAAY,EACZ,KAAK,UAAU,EACf,KAAK,UAAU,EACf,KAAK,SAAS,EACd,KAAK,SAAS,EACd,KAAK,WAAW,EAChB,KAAK,YAAY,GAClB,MAAM,aAAa,CAAC;AAGrB,OAAO,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AAGvD,OAAO,EAAE,iBAAiB,EAAE,KAAK,oBAAoB,EAAE,MAAM,gBAAgB,CAAC;AAG9E,OAAO,EAAE,WAAW,EAAE,WAAW,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAGtE,OAAO,EACL,WAAW,EACX,WAAW,EACX,WAAW,EACX,KAAK,UAAU,EACf,KAAK,oBAAoB,EACzB,KAAK,IAAI,EACT,KAAK,YAAY,EACjB,KAAK,YAAY,GAClB,MAAM,qBAAqB,CAAC;AAG7B,OAAO,EAAE,KAAK,gBAAgB,EAAE,MAAM,iBAAiB,CAAC;AAGxD,OAAO,EAAE,IAAI,EAAE,MAAM,WAAW,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAGA,OAAO,EACL,YAAY,EACZ,UAAU,EACV,YAAY,EACZ,KAAK,UAAU,EACf,KAAK,UAAU,EACf,KAAK,SAAS,EACd,KAAK,SAAS,EACd,KAAK,WAAW,EAChB,KAAK,YAAY,GAClB,MAAM,aAAa,CAAC;AAGrB,OAAO,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AAGvD,OAAO,EAAE,iBAAiB,EAAE,KAAK,oBAAoB,EAAE,MAAM,gBAAgB,CAAC;AAG9E,OAAO,EAAE,WAAW,EAAE,WAAW,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAGtE,OAAO,EACL,WAAW,EACX,WAAW,EACX,WAAW,EACX,KAAK,UAAU,EACf,KAAK,oBAAoB,EACzB,KAAK,IAAI,EACT,KAAK,YAAY,EACjB,KAAK,YAAY,GAClB,MAAM,qBAAqB,CAAC;AAG7B,OAAO,EAAE,YAAY,EAAE,KAAK,eAAe,EAAE,MAAM,cAAc,CAAC;AAGlE,OAAO,EAAE,KAAK,gBAAgB,EAAE,MAAM,iBAAiB,CAAC;AAGxD,OAAO,EAAE,IAAI,EAAE,MAAM,WAAW,CAAC"}
package/dist/index.js CHANGED
@@ -9,6 +9,8 @@ export { NarrationTimeline } from './narration.js';
9
9
  export { showCaption, hideCaption, withCaption } from './captions.js';
10
10
  // Overlays
11
11
  export { showOverlay, hideOverlay, withOverlay, } from './overlays/index.js';
12
+ // Effects
13
+ export { showConfetti } from './effects.js';
12
14
  // Init
13
15
  export { init } from './init.js';
14
16
  //# sourceMappingURL=index.js.map
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,qDAAqD;AAErD,SAAS;AACT,OAAO,EACL,YAAY,EACZ,UAAU,EACV,YAAY,GAOb,MAAM,aAAa,CAAC;AAErB,WAAW;AACX,OAAO,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AAEvD,YAAY;AACZ,OAAO,EAAE,iBAAiB,EAA6B,MAAM,gBAAgB,CAAC;AAE9E,WAAW;AACX,OAAO,EAAE,WAAW,EAAE,WAAW,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAEtE,WAAW;AACX,OAAO,EACL,WAAW,EACX,WAAW,EACX,WAAW,GAMZ,MAAM,qBAAqB,CAAC;AAK7B,OAAO;AACP,OAAO,EAAE,IAAI,EAAE,MAAM,WAAW,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,qDAAqD;AAErD,SAAS;AACT,OAAO,EACL,YAAY,EACZ,UAAU,EACV,YAAY,GAOb,MAAM,aAAa,CAAC;AAErB,WAAW;AACX,OAAO,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AAEvD,YAAY;AACZ,OAAO,EAAE,iBAAiB,EAA6B,MAAM,gBAAgB,CAAC;AAE9E,WAAW;AACX,OAAO,EAAE,WAAW,EAAE,WAAW,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAEtE,WAAW;AACX,OAAO,EACL,WAAW,EACX,WAAW,EACX,WAAW,GAMZ,MAAM,qBAAqB,CAAC;AAE7B,UAAU;AACV,OAAO,EAAE,YAAY,EAAwB,MAAM,cAAc,CAAC;AAKlE,OAAO;AACP,OAAO,EAAE,IAAI,EAAE,MAAM,WAAW,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@argo-video/cli",
3
- "version": "0.3.0",
3
+ "version": "0.4.0",
4
4
  "description": "Turn Playwright demo scripts into polished product demo videos with AI voiceover",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -10,8 +10,9 @@
10
10
  },
11
11
  "exports": {
12
12
  ".": {
13
+ "types": "./dist/index.d.ts",
13
14
  "import": "./dist/index.js",
14
- "types": "./dist/index.d.ts"
15
+ "default": "./dist/index.js"
15
16
  }
16
17
  },
17
18
  "scripts": {