@scenerok/cli 2.2.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 +173 -0
- package/dist/commands/auth.d.ts +3 -0
- package/dist/commands/auth.d.ts.map +1 -0
- package/dist/commands/auth.js +94 -0
- package/dist/commands/cache.d.ts +3 -0
- package/dist/commands/cache.d.ts.map +1 -0
- package/dist/commands/cache.js +65 -0
- package/dist/commands/lint-video.d.ts +21 -0
- package/dist/commands/lint-video.d.ts.map +1 -0
- package/dist/commands/lint-video.js +122 -0
- package/dist/commands/project.d.ts +3 -0
- package/dist/commands/project.d.ts.map +1 -0
- package/dist/commands/project.js +173 -0
- package/dist/commands/render.d.ts +4 -0
- package/dist/commands/render.d.ts.map +1 -0
- package/dist/commands/render.js +242 -0
- package/dist/commands/skills.d.ts +3 -0
- package/dist/commands/skills.d.ts.map +1 -0
- package/dist/commands/skills.js +208 -0
- package/dist/commands/validate.d.ts +3 -0
- package/dist/commands/validate.d.ts.map +1 -0
- package/dist/commands/validate.js +254 -0
- package/dist/index.d.ts +3 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +51 -0
- package/dist/lib/api.d.ts +268 -0
- package/dist/lib/api.d.ts.map +1 -0
- package/dist/lib/api.js +160 -0
- package/dist/lib/config.d.ts +13 -0
- package/dist/lib/config.d.ts.map +1 -0
- package/dist/lib/config.js +53 -0
- package/dist/lib/format-api-error.d.ts +2 -0
- package/dist/lib/format-api-error.d.ts.map +1 -0
- package/dist/lib/format-api-error.js +24 -0
- package/dist/lib/language.d.ts +3 -0
- package/dist/lib/language.d.ts.map +1 -0
- package/dist/lib/language.js +9 -0
- package/dist/lib/logger.d.ts +8 -0
- package/dist/lib/logger.d.ts.map +1 -0
- package/dist/lib/logger.js +51 -0
- package/dist/lib/project.d.ts +29 -0
- package/dist/lib/project.d.ts.map +1 -0
- package/dist/lib/project.js +156 -0
- package/dist/lib/sdk-scene-modules.d.ts +7 -0
- package/dist/lib/sdk-scene-modules.d.ts.map +1 -0
- package/dist/lib/sdk-scene-modules.js +35 -0
- package/dist/utils/skillsManifest.d.ts +42 -0
- package/dist/utils/skillsManifest.d.ts.map +1 -0
- package/dist/utils/skillsManifest.js +122 -0
- package/examples/system/3-tips-fitness.vid +45 -0
- package/examples/system/ecom-product-launch.vid +31 -0
- package/examples/system/glitch-title.vid +17 -0
- package/examples/system/meme-remix.vid +15 -0
- package/examples/system/minimal-text-reel.vid +11 -0
- package/examples/system/product-launch.vid +18 -0
- package/examples/system/rokmilk-chocolate-promo.vid +25 -0
- package/examples/system/testimonial-cut.vid +16 -0
- package/examples/system/ugc-testimonial-voiceover.vid +33 -0
- package/examples/system/voice-visual-promo.vid +21 -0
- package/package.json +51 -0
- package/skills/remote/ai-models.md +65 -0
- package/skills/remote/animations-catalog.md +89 -0
- package/skills/remote/animations-picker.md +77 -0
- package/skills/remote/brand-setup.md +69 -0
- package/skills/remote/catalog-index.json +1810 -0
- package/skills/remote/environments.md +73 -0
- package/skills/remote/intent-router.md +81 -0
- package/skills/remote/media-stdlib.md +66 -0
- package/skills/remote/music.md +69 -0
- package/skills/remote/sdk-guide.md +201 -0
- package/skills/remote/shaders-filters.md +97 -0
- package/skills/remote/text-styles.md +108 -0
- package/skills/remote/transitions-catalog.md +55 -0
- package/skills/remote/tts.md +82 -0
- package/skills/remote/vidscript-guide.md +574 -0
- package/skills/remote/vidscript-sample.md +28 -0
- package/skills/remote/vidscript-strict.md +251 -0
- package/skills/remote/workflow.md +72 -0
- package/skills/shared/SKILL.md +157 -0
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
# Brand Setup for Agents
|
|
2
|
+
|
|
3
|
+
Collect brand context **only when it improves the video** and **only when your runtime allows asking the user or discovering assets**. Never block composition on a long questionnaire.
|
|
4
|
+
|
|
5
|
+
## When to ask (vs infer)
|
|
6
|
+
|
|
7
|
+
| Situation | Action |
|
|
8
|
+
| --- | --- |
|
|
9
|
+
| User gave product/company URL + you can browse | Extract colors, logo, hero imagery from the site first |
|
|
10
|
+
| User mentioned a brand by name with no assets | Ask for logo URL and primary color (one message, ≤3 fields) |
|
|
11
|
+
| Template has `color` placeholders | Use template defaults; offer to customize |
|
|
12
|
+
| Motion graphic / code demo with no brand | Skip brand questions |
|
|
13
|
+
| User already specified hex colors / logo | Use as-is; do not re-ask |
|
|
14
|
+
|
|
15
|
+
**Ask at most one short brand message** with combined fields, not a multi-step wizard.
|
|
16
|
+
|
|
17
|
+
## What to collect (priority order)
|
|
18
|
+
|
|
19
|
+
1. **Primary brand color** — hex, e.g. `#6366F1` (for text `color:`, lower-third `accent:`, animation `accentColor:`)
|
|
20
|
+
2. **Logo** — HTTPS URL or uploaded asset (editor library / ChatGPT import / local path on CLI)
|
|
21
|
+
3. **Secondary / text color** — default white `#FFFFFF` on dark or dark `#0F172A` on light
|
|
22
|
+
4. **Font preference** — only if user cares; default `Inter` / system stacks in examples
|
|
23
|
+
5. **Tagline or CTA** — for promos and `logo_outro`
|
|
24
|
+
|
|
25
|
+
## Where brand lands in VidScript
|
|
26
|
+
|
|
27
|
+
```vidscript
|
|
28
|
+
import motion from "@scenerok/basic-animations"
|
|
29
|
+
import animations from "@scenerok/animations"
|
|
30
|
+
|
|
31
|
+
input logo = "https://cdn.example.com/brand-logo.png"
|
|
32
|
+
|
|
33
|
+
let brandColor = "#6366F1"
|
|
34
|
+
|
|
35
|
+
[0s .. 3s] = text "Launch Week", color: brandColor, style: title, animate: motion.popIn(0.6s)
|
|
36
|
+
[3s .. 8s] = animations.lt_clean_bar("Product Name", "Tagline here", accent: brandColor)
|
|
37
|
+
[8s .. 14s] = animations.logo_outro("Thanks for watching", url: "scenerok.com")
|
|
38
|
+
```
|
|
39
|
+
|
|
40
|
+
Use `accent`, `accentColor`, and `color` params consistently across text and animation blocks.
|
|
41
|
+
|
|
42
|
+
## Per-environment collection
|
|
43
|
+
|
|
44
|
+
| Environment | How to get brand assets |
|
|
45
|
+
| --- | --- |
|
|
46
|
+
| **Web editor** | Ask in chat; user can upload to asset library and paste URLs into script |
|
|
47
|
+
| **CLI / desktop agent** | Ask in terminal; accept local paths; user may run `scenerok auth login` for cloud assets |
|
|
48
|
+
| **ChatGPT** | Ask in conversation; user uploads logo/screenshot → `importOpenAIConversationFiles` → use returned `asset.url` |
|
|
49
|
+
| **URL-only (no uploads)** | Screenshot logo from site; probe dimensions before placement |
|
|
50
|
+
|
|
51
|
+
## Website-derived brand (preferred when URL given)
|
|
52
|
+
|
|
53
|
+
1. Visit the URL (browser tool or user-provided screenshots).
|
|
54
|
+
2. Note dominant accent from buttons, links, or hero — sample one hex.
|
|
55
|
+
3. Save logo and product stills; **probe width/height** before composing.
|
|
56
|
+
4. Do not invent claims, pricing, or testimonials — extract or ask.
|
|
57
|
+
|
|
58
|
+
See `workflow.md` for the full URL asset pipeline.
|
|
59
|
+
|
|
60
|
+
## Defaults when user declines
|
|
61
|
+
|
|
62
|
+
- Accent: `#6366F1` (SceneRok indigo) or high-contrast pair white on `#0B1020`
|
|
63
|
+
- No logo: kinetic `text` + `motion.popIn` instead of `logo_outro`
|
|
64
|
+
- Music: neutral instrumental bed from `music.md`
|
|
65
|
+
|
|
66
|
+
## Privacy
|
|
67
|
+
|
|
68
|
+
- Do not paste API tokens or OAuth secrets into VidScript or chat logs.
|
|
69
|
+
- Use only assets the user provided or that are public on their stated URL.
|