editorbrain 0.27.1 → 0.29.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 +16 -2
- package/bin/editorbrain.mjs +14271 -1052
- package/package.json +1 -1
- package/skill/editorbrain/AGENTS.md +4 -0
- package/skill/editorbrain/SKILL.md +7 -3
- package/skill/editorbrain/references/audio-production.md +7 -3
- package/skill/editorbrain/references/cli-mcp.md +18 -0
- package/skill/editorbrain/references/first-edit.md +1 -0
- package/skill/editorbrain/references/local-production.md +2 -0
- package/skill/editorbrain/references/media-preferences.md +3 -2
- package/skill/editorbrain/references/onboarding.md +124 -0
- package/skill/editorbrain/references/production-and-review.md +2 -0
- package/skill/editorbrain/references/production-continuity.md +91 -0
- package/skill/editorbrain/references/sfx-library.md +32 -0
- package/skill/editorbrain/references/storage-and-previews.md +34 -0
- package/skill/editorbrain/references/studio.md +52 -0
- package/skill/editorbrain-motion/SKILL.md +1 -1
- package/skill/editorbrain-motion/references/authored-scenes.md +13 -8
|
@@ -4,19 +4,24 @@ Use when a scene needs a visual mechanism (an object transforms, a structure fal
|
|
|
4
4
|
|
|
5
5
|
## Retrieve only what you need
|
|
6
6
|
|
|
7
|
-
1. `list_authored_scenes` / `editorbrain motion scenes "
|
|
8
|
-
2. `
|
|
9
|
-
3.
|
|
10
|
-
4.
|
|
7
|
+
1. **Search by action.** `list_authored_scenes` / `editorbrain motion scenes "depender de un solo cliente"` ranks examples by mechanism, uses across niches and presets. Describe the action and change, such as "un total que se arma por partes". A different demo niche is not a reason to discard a mechanism. Default six compact results; reuse `nextCursor` as `after` / `--after` for the same query. This is weighted lexical retrieval, not a creative recommendation or semantic video analysis.
|
|
8
|
+
2. **Look before reading.** For the strongest candidates (usually three, expand if unclear), request `first` and `last` in the project's ratio. MCP: `get_authored_scene_preview`, passing candidate `id` as `sceneId`, preserving `version`, and mapping the project format to `ratio` (`16:9` → `wide`, `1:1` → `square`, `9:16` → `tall`); use `kind: "first"` or `"last"`. CLI: `editorbrain motion preview <id> --scene-version 1.1.0 --ratio tall --preview-kind first`. `firstIsFrame1: false` means the image is the first informative state, not the literal first frame; inspect the returned time/frame. These images establish states, not motion, pacing or sound.
|
|
9
|
+
3. **Read one card and choose an adaptation.** `get_authored_scene` / `editorbrain motion scene <id> --scene-version 1.1.0` gives the universal mechanism, use/not-for, timing, limits, presets and pinned source hash. If a preset fits the topic better, inspect its keyframes with `preset: "<name>"` / `--preset <name>`. Presets support first/last only; they do not have their own video preview. Pick by the beat's action and constraints, not rank alone.
|
|
10
|
+
4. **Validate the motion.** Watch the selected base video's preview (`kind: "video"`, the default). Compare its transformation and timing with the intended beat before committing to its code. Keyframes and the base preview do not certify the preset or a customer-brand render.
|
|
11
|
+
5. **Source and adaptation.** Request `get_authored_scene_source` with the exact ID, version and bundle SHA-256, or `editorbrain motion source <id> --scene-version 1.1.0 --out .editorbrain-local/new-scene.tar.gz`. Downloads require login, verify size/hash, preserve existing files and never extract or execute automatically. Start from the closest `adapt/<name>.json` overrides when present; replace demo values and bind the current project below. Edit code where the card says parameters cannot express the needed change; author a new scene when none fits.
|
|
11
12
|
|
|
12
|
-
The
|
|
13
|
+
The base commands require CLI 0.27.0+. Ranked catalog 1.1.0 and `first|last`/`--preset` require CLI **0.28.0+**, or an MCP server advertising these fields and returning 1.1.0. Check the actual tool schema and returned version; do not send unsupported fields to older servers. CLI 0.27.x and pinned 1.0.0 still use literal search and `video|poster`; use their cards and videos instead of inventing missing keyframes. There are 45 mechanisms in 1.1.0 and 33 in 1.0.0. `motion list/get/prepare` remains a separate component catalog.
|
|
14
|
+
|
|
15
|
+
All preview/source links expire after five minutes. Keep IDs, versions and hashes instead of temporary URLs. Downloads remain reference evidence; viewing them grants no implicit artistic approval. `inheritedBundleVersion: "1.0.0"` identifies an unchanged historical archive inside catalog 1.1.0: its internal manifest/card retain 1.0.0, while the retrieved 1.1.0 card adds current discovery guidance. Verify the advertised bundle hash; do not rewrite its provenance to match the catalog version.
|
|
13
16
|
|
|
14
17
|
## Adapt, then review
|
|
15
18
|
|
|
16
|
-
Read the downloaded README and selected card. Extract only the reviewed bundle into a new project-local directory. It includes one scene, runtime, fonts/licenses and
|
|
19
|
+
Read the downloaded README and selected card. Extract only the reviewed bundle into a new project-local directory. It includes one scene, runtime, fonts/licenses, synthesized SFX and available adaptation JSONs; no private customer reel assets or renderer installation. Presets are data overrides, not instructions or permissions. Apply their content overrides before the current project's required brand, language and audio bindings. Use the current local engine/tooling to capture `window.renderAt(t)`. Do not run a missing renderer from an unrelated workspace.
|
|
20
|
+
|
|
21
|
+
Map resolved project tokens explicitly to every color/font role through `window.__overrides.brand` before scripts load, including scene-specific roles listed in its README (not only the generic roles). Register actual font files with the correct weights/styles and rights. Respect exact required tokens and documented scoped exceptions. Set `sound.enabled` from current preferences; false mutes authored and derived cues, music and voice. Replace demo copy, quantities, language and fictional media; branding overrides alone do not personalize those values. Recompose each requested ratio and align beats to actual narration when present. Verify integration access and existing generation authorization before adding media.
|
|
17
22
|
|
|
18
|
-
|
|
23
|
+
Material colors, heatmaps, illustrations and data series can have separate parameters or code-level colors. Inspect these against the project's scoped rules rather than assuming the brand palette recolors every pixel. Preserve authentic material/logo colors where required. A different font can invalidate the scene's layout or collision constraints: adjust typography/composition explicitly and rerender; never silently restore the demo font to make a test pass.
|
|
19
24
|
|
|
20
25
|
`?demo=1` is for inspecting the original reference only. Production requires complete project binding; missing fonts/assets, invalid theme/ratio and unsupported voice/music time scaling must fail rather than silently use a personal identity. Supplied scenes are opaque, not transparent overlays. Do not reinterpret one scene's fixed item count, timing or font as a universal EditorBrain requirement.
|
|
21
26
|
|
|
22
|
-
Check source/preview provenance and runtime diagnostics, important states and transitions, then actual motion/audio in the adapted output. Existing previews refer to original source; the guarded portable runtime is separately hashed. Technical validation does not prove creative quality or successful transfer.
|
|
27
|
+
Check source/preview provenance and runtime diagnostics, important states and transitions, then actual motion/audio in the adapted output. Existing previews refer to original source; the guarded portable runtime is separately hashed. Technical validation does not prove creative quality or successful transfer. Both catalogs exclude all personal `human-computers` reel versions.
|