editorbrain 0.40.1 → 0.41.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 +2 -2
- package/bin/editorbrain.mjs +2126 -585
- package/package.json +1 -1
- package/skill/editorbrain/SKILL.md +1 -1
- package/skill/editorbrain/references/cli-mcp.md +4 -0
- package/skill/editorbrain/references/editorial-evidence.md +2 -0
- package/skill/editorbrain/references/style-source.md +61 -0
- package/skill/editorbrain-motion/SKILL.md +4 -0
package/package.json
CHANGED
|
@@ -13,7 +13,7 @@ For customer footage, reusable B-roll or authentic brand assets, consult [person
|
|
|
13
13
|
|
|
14
14
|
## Create or update a reusable style
|
|
15
15
|
|
|
16
|
-
When the user asks to save an edit as a style, create a new style or improve an existing one, read [style creator](references/style-creator.md). Reuse the current production's evidence and feedback; saving a style does not require editing another video. The guide covers defining the method, adapting it to new material, resource manifests, checks and versioned saves. Keep personal decisions in that user's style, not in this installed skill. For ordinary editing with an existing style, continue below.
|
|
16
|
+
When the user asks to save an edit as a style, create a new style or improve an existing one, read [style creator](references/style-creator.md). Reuse the current production's evidence and feedback; saving a style does not require editing another video. The guide covers defining the method, adapting it to new material, resource manifests, checks and versioned saves. Keep personal decisions in that user's style, not in this installed skill. For ordinary editing with an existing style, continue below. When a library style is chosen, read [style implementation](references/style-source.md) and retrieve its exact code before adapting; a description is not a substitute for an available implementation.
|
|
17
17
|
|
|
18
18
|
## Start here, including a first installation
|
|
19
19
|
|
|
@@ -114,6 +114,8 @@ CLI counterparts for discovery/documents:
|
|
|
114
114
|
|
|
115
115
|
```sh
|
|
116
116
|
editorbrain styles list
|
|
117
|
+
editorbrain styles source <id> --style-version <version> --out source.tar.gz
|
|
118
|
+
editorbrain styles prepare <id> --style-version <version> --file source.tar.gz --out .editorbrain-local/<project>/styles-src/<id>
|
|
117
119
|
editorbrain styles create <style-id> --name "My style" --dir ./my-videos
|
|
118
120
|
editorbrain styles check <style-id> --dir ./my-videos
|
|
119
121
|
editorbrain styles recommend <project-id> --dir ./my-videos
|
|
@@ -122,6 +124,8 @@ editorbrain library get <video-id>
|
|
|
122
124
|
editorbrain library get <video-id> --document <returned-path>
|
|
123
125
|
```
|
|
124
126
|
|
|
127
|
+
`list_style_packs.sourceStyles` lists exact style implementations separately from technique packs. MCP `get_style_source(id, version, sha256)` requires Creator/Studio and returns a short-lived verified-download link plus the selected guides. See [style source](style-source.md); source downloads are inert, and explicit local preparation applies project binding guards before rendering.
|
|
128
|
+
|
|
125
129
|
`styles create/check` work locally without authentication. Create adds an isolated draft without changing any project's selected style. Check validates documents and declared local files/hashes; its warnings and manual checks still require editorial judgment. See [style creator](style-creator.md) for resource manifests, saving revisions and the equivalent workflow using existing MCP document tools. Neither command uploads files, executes a renderer or certifies quality.
|
|
126
130
|
|
|
127
131
|
Recommendations and direction drafts use the saved remote project, require a non-empty script and check that local source context matches it. After `init` or local edits, validate and successfully `push` the intended project context before those calls. Do not discard unsynced local changes to silence a context mismatch. An offline draft can be written by the agent from available evidence without claiming a remote recommendation ran.
|
|
@@ -24,6 +24,8 @@ because a new session started.
|
|
|
24
24
|
explicit template request or technical correction needs only its relevant
|
|
25
25
|
scope, not a forced full-video research process.
|
|
26
26
|
|
|
27
|
+
For an elected library style with an implementation, follow [style source](style-source.md). Its verified code carries the demonstrated choreography; inspected evidence and current preferences still govern its adaptation.
|
|
28
|
+
|
|
27
29
|
## Cover the scene needs before narrowing
|
|
28
30
|
|
|
29
31
|
Use [editorial families](editorial-families.md) when a new direction needs a
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
# Use a style's reference implementation
|
|
2
|
+
|
|
3
|
+
Read when the customer elects a library style or a saved style derived from it.
|
|
4
|
+
The style's implementation is a starting point for its choreography, not a new
|
|
5
|
+
source of brand preferences. Do not load all 19 archives or force a style on an
|
|
6
|
+
open brief. Preserve the main editorial workflow and the user's review mode.
|
|
7
|
+
|
|
8
|
+
1. Resolve the exact workspace, brand, project and current preferences. Read the
|
|
9
|
+
selected style's guides and resource requirements. Older saved copies may say
|
|
10
|
+
no source is available: check the current catalog without overwriting edits.
|
|
11
|
+
2. `editorbrain styles list` / MCP `list_style_packs` returns `sourceStyles` alongside
|
|
12
|
+
legacy `packs`. These are different inventories. Find the exact ID and retain
|
|
13
|
+
`sourceVersion`, `sourceSha256`, `sourceBytes`. A sourceStyles ID is not an input
|
|
14
|
+
to the legacy recommend_styles/draft_direction helpers. Never guess a hash or
|
|
15
|
+
pick a different version silently.
|
|
16
|
+
3. Download one original archive:
|
|
17
|
+
```sh
|
|
18
|
+
editorbrain styles source <id> --style-version <version> --out source.tar.gz --dir <workspace>
|
|
19
|
+
```
|
|
20
|
+
MCP: `get_style_source(id, version, sha256)` returns a five-minute link and the
|
|
21
|
+
selected public guides. Verify byte count and SHA-256; save pins, never the URL.
|
|
22
|
+
The CLI streams and verifies bytes and refuses overwrite; it does not extract,
|
|
23
|
+
execute or install anything. Read returned documents if not already saved;
|
|
24
|
+
preserve customized guides. Creator/Studio access is checked on both issue
|
|
25
|
+
and download. Credits do not unlock premium styles. If denied, show the billing
|
|
26
|
+
link and an available free/custom style; do not try old versions to bypass it.
|
|
27
|
+
4. Prepare a fresh working copy explicitly:
|
|
28
|
+
```sh
|
|
29
|
+
editorbrain styles prepare <id> --style-version <version> --file source.tar.gz --out .editorbrain-local/<project>/styles-src/<id> --dir <workspace>
|
|
30
|
+
```
|
|
31
|
+
This offline command checks the known archive and internal manifest, rejects
|
|
32
|
+
links/path traversal and extracts to a NEW directory. It adds the same project
|
|
33
|
+
binding checks as motion and records original/adapted runtime hashes separately
|
|
34
|
+
in PROJECT-BINDING.json. It runs no tools. Read PROJECT-BINDING.md, README.md,
|
|
35
|
+
LICENSES.md and the renderer before executing code locally. If the CLI cannot
|
|
36
|
+
prepare this exact version, update it; do not run an unguarded customer render.
|
|
37
|
+
5. Prepare the customer's clip/voice, word timestamps and authorized media. Never
|
|
38
|
+
deliver the demo's avatar, voice, claims, numbers, names or imagery as the
|
|
39
|
+
customer's. Keep authentic product logos/screens intact. Only 9:16 is composed
|
|
40
|
+
for these implementations; another ratio needs adaptation and visual review.
|
|
41
|
+
The included Apple Vision preparation requires macOS. On other systems use a
|
|
42
|
+
compatible installed presenter-matte engine and the documented output contract;
|
|
43
|
+
never assume Swift works everywhere or silently change paid providers.
|
|
44
|
+
6. Bind a complete current brand via window.__overrides or renderer --params:
|
|
45
|
+
base/scene color roles, licensed registered fonts with family/weight/style,
|
|
46
|
+
language, script, word timing, media and explicit sound.enabled. The guard
|
|
47
|
+
prevents falling back to demo branding. `?demo=1` is solely original-demo
|
|
48
|
+
inspection, never customer production. No inherited SFX density or music:
|
|
49
|
+
follow resolved voice/music/SFX preferences independently. sound.enabled=false
|
|
50
|
+
mutes all sound including voice; for voice-only keep sound enabled, remove SFX
|
|
51
|
+
cues/derived event cues and music in the adapted code/mix, and inspect the final
|
|
52
|
+
audio. No code package grants spending or provider authorization.
|
|
53
|
+
7. Preserve style.md's intended grammar while adapting timing/layout to the real
|
|
54
|
+
material. Start from the code that produced the demo, not a new approximation.
|
|
55
|
+
Use the included local renderer deliberately after binding. Check diagnostics,
|
|
56
|
+
actual cuts, legibility, safe zones, customer assets and final sound. A verified
|
|
57
|
+
source download or demo render does not certify the customer's finished video.
|
|
58
|
+
|
|
59
|
+
If source objects are not published yet, links are expired, or a required font/
|
|
60
|
+
asset is missing, explain the specific blocker and the next supported step.
|
|
61
|
+
Do not claim a faithful implementation while secretly rebuilding from a summary.
|
|
@@ -69,3 +69,7 @@ Check whether the viewer can tell what changed and why from the animation itself
|
|
|
69
69
|
Tie findings to output hash/version and time; distinguish observed, inferred and designed decisions. Frames cannot establish motion, and silent inspection cannot establish sound quality. Report uninspected modalities explicitly. After a local correction, recheck affected events and the delivered whole.
|
|
70
70
|
|
|
71
71
|
Keep source, prompts, detailed plans and review artifacts in `.editorbrain-local/<project-id>/`; save a concise continuation summary in `direction.md`. Preserve prior versions and scoped user feedback. Deliver the artifact, useful checks and unresolved limitations; instructions and technical passes do not certify a perfect render.
|
|
72
|
+
|
|
73
|
+
## Full-video style implementations
|
|
74
|
+
|
|
75
|
+
When the user selects a library editing style, follow [style source](../editorbrain/references/style-source.md) to download its exact implementation and prepare a guarded working copy. Full-video style sources are separate from optional authored motion scenes; do not rebuild an available style from its description or impose its demo branding.
|