editorbrain 0.59.0 → 0.60.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 +12998 -4265
- package/package.json +1 -1
- package/skill/editorbrain/SKILL.md +27 -3
- package/skill/editorbrain/references/agency.md +12 -3
- package/skill/editorbrain/references/audio-production.md +8 -4
- package/skill/editorbrain/references/caption-styles.md +31 -4
- package/skill/editorbrain/references/choice-page.md +45 -0
- package/skill/editorbrain/references/cli-mcp.md +16 -2
- package/skill/editorbrain/references/editorial-profile.md +12 -1
- package/skill/editorbrain/references/first-edit.md +2 -0
- package/skill/editorbrain/references/first-session-choosing.md +48 -0
- package/skill/editorbrain/references/first-session-money.md +59 -0
- package/skill/editorbrain/references/first-session-pages.md +22 -0
- package/skill/editorbrain/references/first-session-records.md +59 -0
- package/skill/editorbrain/references/first-session-video.md +125 -0
- package/skill/editorbrain/references/library-sheets.md +38 -0
- package/skill/editorbrain/references/local-production.md +21 -1
- package/skill/editorbrain/references/mcp-studio-artifact.md +27 -2
- package/skill/editorbrain/references/onboarding.md +28 -6
- package/skill/editorbrain/references/pro-moves.md +41 -0
- package/skill/editorbrain/references/production-and-review.md +16 -1
- package/skill/editorbrain/references/production-continuity.md +66 -9
- package/skill/editorbrain/references/quality-checks.md +53 -0
- package/skill/editorbrain/references/real-media.md +32 -0
- package/skill/editorbrain/references/sfx-library.md +61 -1
- package/skill/editorbrain/references/starting-an-edit.md +4 -4
- package/skill/editorbrain/references/starting-points.md +52 -0
- package/skill/editorbrain/references/studio-review.md +16 -2
- package/skill/editorbrain/references/studio.md +4 -2
- package/skill/editorbrain/references/style-source.md +5 -2
- package/skill/editorbrain/references/task-map.md +5 -3
- package/skill/editorbrain/references/voice-cleanup.md +83 -31
- package/skill/editorbrain/references/workflow-evidence.md +9 -3
- package/skill/editorbrain/references/workflows/correction.md +6 -0
- package/skill/editorbrain/references/workflows/delivery.md +15 -3
- package/skill/editorbrain/references/workflows/first-creation.md +155 -0
- package/skill/editorbrain/references/workflows/not-there-yet.md +95 -0
- package/skill/editorbrain/references/workflows/setup.md +6 -0
- package/skill/editorbrain/references/workflows/start.md +65 -7
- package/skill/editorbrain-motion/SKILL.md +1 -1
- package/skill/editorbrain-motion/references/authored-scenes.md +5 -4
package/package.json
CHANGED
|
@@ -20,6 +20,7 @@ Read **one** relevant workflow, or continue its already-loaded instructions:
|
|
|
20
20
|
|---|---|
|
|
21
21
|
| New video or materially new direction | [Start](references/workflows/start.md) |
|
|
22
22
|
| Change or review an existing version | [Correct](references/workflows/correction.md) |
|
|
23
|
+
| They correct the look a second time, or say it is not there yet | [Not there yet](references/workflows/not-there-yet.md) |
|
|
23
24
|
| Continue a project from another session | [Resume](references/workflows/resume.md) |
|
|
24
25
|
| Present a proposal, sample or finished version | [Deliver](references/workflows/delivery.md) |
|
|
25
26
|
| Set up, update or change preferences/connections | [Configure](references/workflows/setup.md) |
|
|
@@ -27,6 +28,8 @@ Read **one** relevant workflow, or continue its already-loaded instructions:
|
|
|
27
28
|
**More than one video → use `batches`:** one batch Studio, one upload with
|
|
28
29
|
`batches submit`, approve per video or all ([batch](references/production-continuity.md#multiple-videos-one-batch-isolated-projects)).
|
|
29
30
|
|
|
31
|
+
For someone new (an offered, accepted or resumed first creation in the route returned by setup or `prepare_edit`), run the [first session](references/workflows/first-creation.md#open-the-first-creative-conversation): a conversation that creates their editor and their first video, showing each choice on a [choice page](references/choice-page.md). While that first session is open its guide leads the conversation and replaces the brief, directions and variants steps; every other guide here still governs how the work is done, what needs consent and how a final is approved. Read that guide in full, and each of its step pages in full when you reach it: [choosing](references/first-session-choosing.md), [the video](references/first-session-video.md), [money, tools and plans](references/first-session-money.md), [records](references/first-session-records.md) and [guide pages](references/first-session-pages.md). A completed web setup uses the saved brand and normal edit.
|
|
32
|
+
|
|
30
33
|
These are entry points, not five mandatory stages. Skip resolved decisions and
|
|
31
34
|
preserve scoped approvals. When the user hands over a video or images as a model
|
|
32
35
|
to imitate («edita como este video», «analiza este video», «copia este estilo»),
|
|
@@ -53,7 +56,11 @@ technical pass do not establish audiovisual review or creative quality.
|
|
|
53
56
|
|
|
54
57
|
## Choose the available execution route
|
|
55
58
|
|
|
56
|
-
Use the available CLI, MCP and host tools.
|
|
59
|
+
Use the available CLI, MCP and host tools. The default MCP catalog groups related
|
|
60
|
+
operations: a name in these guides (`list_projects`, `quote_vox`…) may be a
|
|
61
|
+
`request.operation` inside a task tool such as `proyecto` or `voz`. When a named
|
|
62
|
+
tool is not listed, call `get_tool_guide(name)` once and use its `invocation`.
|
|
63
|
+
MCP-only reads this same guide through
|
|
57
64
|
`get_editing_guide`, then only needed references; finish relevant pages and cache
|
|
58
65
|
by returned version/hash. A remote connection grants no local filesystem access.
|
|
59
66
|
Follow [remote editing](references/cloud-production.md) only for unfamiliar host,
|
|
@@ -67,11 +74,20 @@ an unavailable route is a blocker, never permission for a silent fallback.
|
|
|
67
74
|
Load only the specialty needed: [audio](references/audio-production.md),
|
|
68
75
|
[subtitles](references/caption-styles.md) (library styles, likes, «crea un estilo
|
|
69
76
|
de subtítulos con la tipografía X»; legacy presets in [captions](references/captions.md)),
|
|
70
|
-
[media](references/real-media.md),
|
|
77
|
+
[media](references/real-media.md) (including when an element should be a photo, a generated image or code),
|
|
71
78
|
[motion](../editorbrain-motion/SKILL.md),
|
|
72
79
|
[formats](../editorbrain-formats/SKILL.md) or, to learn a style from a video or
|
|
73
80
|
images the user supplies, [reference](../editorbrain-reference/SKILL.md).
|
|
81
|
+
A named «Clases y cursos» format («edita mi clase con el formato «…» de
|
|
82
|
+
EditorBrain») is a library recipe: find it with `list_course_formats`, read
|
|
83
|
+
`get_course_format_skill` and ask its questions before editing; it adds no stages.
|
|
74
84
|
Ordinary cuts need no specialty.
|
|
85
|
+
|
|
86
|
+
Before anyone sees a render, run the [quality checks](references/quality-checks.md): they look at every frame of the risky moments and measure the sound, and a `must-fix` blocks delivery. When nothing else decides a pace, a pause or an ending, start from the [measured starting points](references/starting-points.md).
|
|
87
|
+
|
|
88
|
+
To pick a style, subtitle look, animation, sound or ad, never search by name:
|
|
89
|
+
read its sheet, shortlist three to five and open only those
|
|
90
|
+
([choosing from the libraries](references/library-sheets.md)).
|
|
75
91
|
When the user names a style or for a style implementation, read
|
|
76
92
|
[style source](references/style-source.md) first (saved copy, exact code, brand);
|
|
77
93
|
for optional tools use [production routing](references/production-routing.md).
|
|
@@ -90,11 +106,19 @@ submission and the user's choice of scope.
|
|
|
90
106
|
## Review and deliver the actual version
|
|
91
107
|
|
|
92
108
|
Follow saved review mode: `direct` implements/reviews; `directions` presents
|
|
93
|
-
alternatives; `sample` needs a representative preview and approval.
|
|
109
|
+
alternatives; `sample` needs a representative preview and approval. Saved
|
|
110
|
+
`variants` (ON by default) add a moment-choice step before the full render:
|
|
111
|
+
follow the [editing flow](references/workflows/start.md#produce-the-editing-flow). **Style
|
|
94
112
|
proposals never go as chat text:** present them in Studio, directions phase, as
|
|
95
113
|
1–3 options with previews of real inspected references and one recommended. Reuse valid
|
|
96
114
|
approval; never approve for the user. Direct mode still delivers the canonical
|
|
97
115
|
Studio artifact. A path, uploaded file or generated HTML alone is not presentation.
|
|
116
|
+
**Local Studio URLs (127.0.0.1) open only on this computer.** At the computer, make
|
|
117
|
+
the Studio visible (show a hidden Browser pane, or `--browser`) and ask. Away or
|
|
118
|
+
unknown (Remote Control alone is not "away"): offer the private cloud Studio
|
|
119
|
+
(`--share`). Record any presentation only after the user confirms they see it
|
|
120
|
+
(`--user-confirmed-viewed`).
|
|
121
|
+
See [make sure the user sees it](references/production-continuity.md#make-sure-the-user-actually-sees-the-studio).
|
|
98
122
|
Use [delivery](references/workflows/delivery.md) for the current phase, exact
|
|
99
123
|
version, observed presentation and pending memory. Disclose unverified modalities.
|
|
100
124
|
|
|
@@ -58,19 +58,28 @@ anything completed or send a delivery based only on this dashboard.
|
|
|
58
58
|
|
|
59
59
|
## Configure only what the owner requested
|
|
60
60
|
|
|
61
|
-
Web: `/app/agency` for identity, client portals, reports and brand caps;
|
|
61
|
+
Web: `/app/agency` for identity, the agency's logo, client portals, reports and brand caps;
|
|
62
62
|
`/app/team` for collaborators. The client's logo/accent comes from the existing
|
|
63
63
|
brand. The visible agency name and reply-to address do not verify a new sending
|
|
64
64
|
domain or authorize uploading a logo from an unrelated client.
|
|
65
65
|
|
|
66
|
-
CLI examples (replace placeholders with values read from the current account):
|
|
66
|
+
CLI examples (replace placeholders with values read from the current account; `agency settings` always needs `--reply-to`, with `none` when the owner gave no address):
|
|
67
67
|
|
|
68
68
|
```sh
|
|
69
69
|
editorbrain agency settings --name "Estudio Norte" --reply-to "hola@example.com" --expected-revision 0 --confirm
|
|
70
|
-
editorbrain team allowance --user USER_ID --credits 100 --expected-revision 0 --confirm
|
|
71
70
|
editorbrain agency limit --brand CLIENT_ID --credits 200 --expected-revision 0 --confirm
|
|
72
71
|
```
|
|
73
72
|
|
|
73
|
+
The usual connection (device login or OAuth) cannot manage the team: inviting,
|
|
74
|
+
permissions, removing someone and `team allowance` return `owner_required`. Say
|
|
75
|
+
so and send the owner to `https://editorbrain.com/app/team`. Only an owner API
|
|
76
|
+
key can run `editorbrain team allowance --user USER_ID --credits 100
|
|
77
|
+
--expected-revision 0 --confirm`.
|
|
78
|
+
|
|
79
|
+
Nobody is notified when a client comments or approves. Read `agency overview` /
|
|
80
|
+
`agency_status` when the owner asks what is waiting, and never say «te aviso
|
|
81
|
+
cuando apruebe».
|
|
82
|
+
|
|
74
83
|
MCP uses `agency_update({change:{action:"settings",displayName,replyTo,
|
|
75
84
|
expectedRevision,userConfirmed:true}})` or action `brand_limit` with `brandId`,
|
|
76
85
|
`monthlyCredits` and `expectedRevision`. `team_manage` has actions `invite`,
|
|
@@ -12,7 +12,7 @@ Fields (optional except `schemaVersion:1`):
|
|
|
12
12
|
|---|---|
|
|
13
13
|
| `voice` | `{mode:"original"}` or `{mode:"none"}`; generated voice requires `{mode:"catalog"\|"cloned",provider,voiceId}`. Never infer a cloned voice. |
|
|
14
14
|
| `music.intensity` | `none\|subtle\|present` or `null`; none disables music only. Qualitative prominence, not a universal volume/LUFS target. `music:null` clears the block. |
|
|
15
|
-
| `sfx.library` | `{bankId:"my-sounds"}`. Use `search_sfx` / `sfx search
|
|
15
|
+
| `sfx.library` | `{bankId:"my-sounds"}`. Use `list_sfx` / `sfx sheet` to see the bank, `search_sfx` / `sfx search` to query it, or explicit local mode; keep actual directory/map paths in private local files. An ID does not prove access. |
|
|
16
16
|
| `sfx.generation` | `allowed\|forbidden`; preference does not authorize spending or verify tool access. |
|
|
17
17
|
| `sfx.density` | `none\|sparse\|moderate\|dense`; qualitative, not a sound quota. |
|
|
18
18
|
| `sfx.character` | `organic\|digital\|cinematic\|mixed` or `null` for adaptation. A preference, not a mandatory sound on each cut. |
|
|
@@ -86,12 +86,14 @@ SFX, language, media-source or access restrictions. Never write one merely to
|
|
|
86
86
|
silence an error. If the installed client/service does not support the field,
|
|
87
87
|
update to a release that supports it instead of changing the shared brand.
|
|
88
88
|
|
|
89
|
-
For sound selection, read [SFX library](sfx-library.md) on demand: search fitting candidates, retrieve the pinned asset, audition and place by purpose. Do not borrow another member's files, silently switch a configured bank, or interpret empty results as permission to generate/buy. A library's presence alone does not forbid generation, but generation preferences never authorize spending. Recheck workflow before rendering and listen to the actual final mix.
|
|
89
|
+
For sound selection, read [SFX library](sfx-library.md) on demand: search fitting candidates, retrieve the pinned asset, audition and place by purpose. Do not borrow another member's files, silently switch a configured bank, or interpret empty results as permission to generate/buy. A library's presence alone does not forbid generation, but generation preferences never authorize spending. When the library lacks a sound or a variant, the optional local [earshot fallback](sfx-library.md#generated-fallback-with-earshot-optional-local) renders a catalogue design by id; it never replaces the library. Recheck workflow before rendering and listen to the actual final mix.
|
|
90
90
|
|
|
91
91
|
## Clean dialogue only when useful
|
|
92
92
|
|
|
93
|
-
For requested noise reduction
|
|
94
|
-
|
|
93
|
+
For requested noise reduction, inspected interference with speech, or a constant
|
|
94
|
+
background hiss/hum under the voice (air conditioning, fans), propose
|
|
95
|
+
[optional DeepFilterNet3 cleanup](voice-cleanup.md) (`editorbrain audio cleanup`;
|
|
96
|
+
the one-time install needs the user's yes). Preserve the original and
|
|
95
97
|
meaningful ambience; an unprocessed-audio instruction wins. Run on the intended
|
|
96
98
|
dialogue track before final mixing, verify latency/sample count and compare
|
|
97
99
|
naturalness at matched listening levels. It is an external host tool with a
|
|
@@ -232,6 +234,8 @@ When normalizing elsewhere, inspect actual processing mode: FFmpeg [loudnorm](ht
|
|
|
232
234
|
|
|
233
235
|
### Retakes and speech cuts
|
|
234
236
|
|
|
237
|
+
Where the person, the style or the reference does not decide how tight to cut, begin from the [measured starting points](starting-points.md) for that kind of video: pauses inside a sentence, pauses at the end of one and how soon the first word arrives. After mixing, `production audio-check` with the script tells you whether any word was lost or clipped ([quality checks](quality-checks.md)).
|
|
238
|
+
|
|
235
239
|
ASR can collapse repeated takes into one phrase with an abnormally long word.
|
|
236
240
|
Inspect suspicious durations and repeated starts in short source windows; retain
|
|
237
241
|
one complete take rather than both attempts or half a word from each. Compare the
|
|
@@ -31,8 +31,11 @@ Por MCP: `list_caption_styles`, `get_caption_style`,
|
|
|
31
31
|
4. Sus favoritos de subtítulos que encajen con el material, el tono y la
|
|
32
32
|
legibilidad. Un like es una señal de gusto, no una obligación: un estilo que
|
|
33
33
|
encaja mejor gana a un favorito que no encaja.
|
|
34
|
-
5.
|
|
35
|
-
o números, si la persona ocupa el centro del cuadro).
|
|
34
|
+
5. La hoja del catálogo: `editorbrain captions sheet --brief "…"` (nicho, ritmo,
|
|
35
|
+
plataforma, si hay datos o números, si la persona ocupa el centro del cuadro).
|
|
36
|
+
Lee todas las filas y juzga por `useFor` y `avoidFor`, no por el nombre; pide
|
|
37
|
+
el detalle solo de tres a cinco (`--ids a,b,c --detail`). El brief ordena, no
|
|
38
|
+
esconde. Ver [elegir en las bibliotecas](library-sheets.md).
|
|
36
39
|
|
|
37
40
|
Cuando haya que decidir, presenta 2–3 opciones en Studio (fase de direcciones)
|
|
38
41
|
con su vista previa, nunca como texto en el chat. Un estilo `behind` solo se
|
|
@@ -94,8 +97,32 @@ una palabra mal transcrita conserva su tiempo medido.
|
|
|
94
97
|
editorbrain captions prepare --project mi-video --file words.json --out .editorbrain-local/mi-video/subtitulos.html
|
|
95
98
|
```
|
|
96
99
|
|
|
97
|
-
El HTML es transparente y determinista (`editorbrainSeek(segundos)`).
|
|
98
|
-
|
|
100
|
+
El HTML es transparente y determinista (`editorbrainSeek(segundos)`). Los
|
|
101
|
+
tiempos de `words.json` son segundos del video final (ya remapeados por los
|
|
102
|
+
cortes). Si el ASR trae palabras encimadas unos milisegundos, `prepare` recorta
|
|
103
|
+
el final de la anterior y lo avisa en `warnings`; un hueco de más de 1 s abre un
|
|
104
|
+
cue nuevo. `--out` debe ser un archivo nuevo.
|
|
105
|
+
|
|
106
|
+
**En HyperFrames** (receta usada en la prueba del 25-11-2026): deja el HTML sin
|
|
107
|
+
tocar junto a la composición, cárgalo en un iframe a tamaño de salida y muévelo
|
|
108
|
+
desde el timeline pausado con un tween que dura todo el video:
|
|
109
|
+
|
|
110
|
+
```html
|
|
111
|
+
<iframe id="subs" src="subtitulos.html" style="position:absolute;inset:0;width:1080px;height:1920px;border:0;background:transparent;pointer-events:none"></iframe>
|
|
112
|
+
<script>
|
|
113
|
+
const subs = document.getElementById('subs'), clock = {t: 0};
|
|
114
|
+
// DURATION = duración del video en segundos; tl = el timeline de la composición.
|
|
115
|
+
tl.to(clock, {t: DURATION, duration: DURATION, ease: 'none',
|
|
116
|
+
onUpdate: () => subs.contentWindow?.editorbrainSeek?.(clock.t)}, 0);
|
|
117
|
+
</script>
|
|
118
|
+
```
|
|
119
|
+
|
|
120
|
+
`editorbrainSeek` termina en microtareas cuando las fuentes ya cargaron, antes de
|
|
121
|
+
que se capture el cuadro. Revisa el primer segundo y un par de cortes en la hoja
|
|
122
|
+
de cuadros. No edites el HTML generado para exponer su `render`: cambia su hash
|
|
123
|
+
y la siguiente `prepare` lo pierde.
|
|
124
|
+
|
|
125
|
+
Para un estilo `behind`:
|
|
99
126
|
|
|
100
127
|
1. Genera y revisa la máscara del montaje completo (`production matte`,
|
|
101
128
|
`production review-sheet --matte`; ver local-production).
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
# Choice page: show options instead of describing them
|
|
2
|
+
|
|
3
|
+
Use it whenever a person has to choose something they need to see or hear: example videos from the library, three openings of their own video, a look, subtitles, a sound. It is one local page with the options side by side. They look, then answer in the chat. It uploads nothing, spends nothing and saves nothing by itself.
|
|
4
|
+
|
|
5
|
+
## Make one
|
|
6
|
+
|
|
7
|
+
1. Write `options.json` in the project folder with the fields below. Write every text in the person's language.
|
|
8
|
+
2. Run `editorbrain choices show --file options.json --lang es` (`--lang en` for English). It checks the file, writes the page into a visible `Opciones` folder (`Options` in English) of the project, copies local previews beside it and opens it in their default browser.
|
|
9
|
+
3. Read the result. With `"opened": true`, say "I opened a page in your browser", what they are looking at and which number you recommend. Do not paste the file path or a `file://` link: to most people it looks like a virus, and the chat is not where they look. Only with `"opened": false`, tell them the page is in the `Opciones` folder of their project and give the path once.
|
|
10
|
+
4. Ask them to answer with the number. Do not assume they saw it; if they do not answer about it, ask whether the page opened.
|
|
11
|
+
5. Their answer is the choice. Save it at the scope they mean, following the guide that sent you here.
|
|
12
|
+
|
|
13
|
+
Running it again with the same title refreshes the same page. `--dir` chooses the project folder (default: the current one); `--no-browser` only writes the page.
|
|
14
|
+
|
|
15
|
+
## Fill `options.json`
|
|
16
|
+
|
|
17
|
+
| Field | Use |
|
|
18
|
+
|---|---|
|
|
19
|
+
| `title`, `note` | What they are choosing and, in one line, why these options fit them. The title also names the file. |
|
|
20
|
+
| `fonts` | Google Fonts families used by the options. They load when the computer is online. |
|
|
21
|
+
| `multiple` | `true` when several answers make sense, such as favourite letterings. |
|
|
22
|
+
| `options[].name`, `why` | A short name and one line on what this option does for their video. For a library piece keep its catalog name, so they can find it in the library. |
|
|
23
|
+
| `options[].recommended` | `true` on the one you would pick. Exactly one. |
|
|
24
|
+
| `options[].look` | Colours and lettering drawn on a phone frame: `background`, `text`, `accent`, `heading`, `body`, plus the `headline` and `line` to display. Use a real headline from their topic. Write each lettering with a fallback kind so the options still differ offline: `"Fraunces, serif"`, `"Baloo 2, ui-rounded, sans-serif"`, `"Caveat, cursive"`. The page shows no font names; describe the lettering in `why` in plain words. |
|
|
25
|
+
| `options[].caption` | A subtitle drawn over the frame: `text`, `font`, `color`, optional `highlight` (colour of the emphasised word), `emphasis` (that word), `background`, `uppercase`, `outline`, `position` (`bottom`, `middle`, `top`). Combine with `look` or `media`. |
|
|
26
|
+
| `options[].media` | A real preview instead of a drawing: a video, an image or a sound. Use a path relative to `options.json` (for example the three openings you rendered; the command copies it beside the page) or an `https` preview from the library (`demoUrl` from `editorbrain styles sheet --ids … --detail`). Videos play muted in a loop and a tap turns the sound on; a sound gets its own play button. A temporary preview link without a file name (an animation preview) is accepted too: the page downloads it once and keeps its own copy, so pass it right after you get it. |
|
|
27
|
+
|
|
28
|
+
```json
|
|
29
|
+
{"title": "Elige el look de tu marca", "note": "Los armé pensando en tu cafetería.", "fonts": ["Fraunces", "Inter"],
|
|
30
|
+
"options": [
|
|
31
|
+
{"name": "Tostado", "why": "Cálido y artesanal, como tu barra.", "recommended": true,
|
|
32
|
+
"look": {"background": "#1E1611", "text": "#F6EDE0", "accent": "#E8A33D", "heading": "Fraunces, serif", "body": "Inter, sans-serif",
|
|
33
|
+
"headline": "El café que tomas no es el que crees", "line": "3 señales de un buen espresso"}},
|
|
34
|
+
{"name": "Tu apertura", "why": "Empieza con el resultado.", "media": "renders/apertura-1.mp4"}]}
|
|
35
|
+
```
|
|
36
|
+
|
|
37
|
+
Give three to five options that are clearly different from each other (two to nine are accepted; keys 1 to 9 select). Five near-identical palettes teach nothing. Use the person's real words, product and colours; an option that could belong to anyone is a wasted slot. The EditorBrain libraries already hold subtitles, styles, animations and sound effects: show those with `media` and their real preview, never a drawing or a description of what one might be like. Draw with `look` and `caption` only what is new for this person, such as their colours and lettering.
|
|
38
|
+
|
|
39
|
+
## Without the CLI
|
|
40
|
+
|
|
41
|
+
When the host cannot run `editorbrain` on their computer, show the same options with the host's own artifact or preview pane, or as images or videos in the chat, numbered the same way. Never invent a local link.
|
|
42
|
+
|
|
43
|
+
## Handing over the finished video
|
|
44
|
+
|
|
45
|
+
When they approve the final video, leave a copy where they look for files: `editorbrain projects deliver --file renders/final.mp4 --name "Reel de la cafetería"` (`--to downloads` or `--to FOLDER` if they prefer; `--lang en` for English). It never moves or replaces anything. Tell them where it is in plain words, as the result's `next` says ("it's on your Desktop as …"), not as a system path.
|
|
@@ -23,6 +23,17 @@ Serialized catalog size is not a measurement of billed token savings. No
|
|
|
23
23
|
profile requires installing a skill or CLI; existing CLI/API commands remain
|
|
24
24
|
compatible. Discover profile/tool support before relying on it in an older service.
|
|
25
25
|
|
|
26
|
+
## Default task catalog
|
|
27
|
+
|
|
28
|
+
`https://api.editorbrain.com/mcp` with no query uses the task catalog. Related
|
|
29
|
+
reads share a tool such as `proyecto`, `marca`, `estilo`, `referencias` or
|
|
30
|
+
`revision`. Quotes (`transcribir`, `imagen`, `voz`, `musica`, `render_quote`) do
|
|
31
|
+
not spend. `studio_run` and `render_submit` are the charging calls. `entregar`
|
|
32
|
+
attaches an uploaded final, registers the review and returns the link; it does
|
|
33
|
+
not approve. `get_tool_guide` maps an older name to the current invocation.
|
|
34
|
+
`?profile=standard` keeps the previous full catalog for debugging. Operator
|
|
35
|
+
support tools are only on `/mcp/operator`.
|
|
36
|
+
|
|
26
37
|
## Workflow profile and preparation (discover availability)
|
|
27
38
|
|
|
28
39
|
The optional `/mcp?profile=workflow` groups related operations into typed domain
|
|
@@ -433,9 +444,11 @@ GET requests use bounded retries and respect Retry-After. Writes are not retried
|
|
|
433
444
|
|
|
434
445
|
`editorbrain setup --dir ./mis-videos --agent codex --workspace <expected-id>` authorizes the CLI when necessary, pulls documents, installs the complete skill and registers an absent MCP connection. Use `claude`, `gemini`, `both` (Claude Code and Codex) or `all` for other hosts. The expected ID is a check, never authorization. Setup preserves existing MCP entries and customized guidance. Exit 2 means action is still required; inspect each step instead of repeating blindly. `--no-browser` defers MCP registration; `--skip-mcp` prepares only the CLI/skill.
|
|
435
446
|
|
|
436
|
-
|
|
447
|
+
When the user gives an install code from the web, run `editorbrain setup --code EB-XXXXX-XXXXX --agent claude|codex|gemini|both|all [--dir folder]` with the chosen host. Setup redeems the code once without a browser and stores the account credential like `login`. The default `--mcp-auth key` configures the credential in a header in Claude Code user scope, Codex `$CODEX_HOME/config.toml`, or Gemini CLI user `~/.gemini/settings.json`. Setup preserves existing connections. Codes expire after 10 minutes. On `SETUP_CODE_INVALID`, ask for a fresh code. Keep codes and credentials out of chat and files.
|
|
448
|
+
|
|
449
|
+
When `cliReady` is true, continue in this chat using the returned route. For a guided first edit, follow the [first creative conversation](workflows/first-creation.md#open-the-first-creative-conversation). If MCP is loaded, verify `workspace_info` against the CLI workspace before using it. Otherwise continue with the verified CLI. See the [installation handoff](workflows/setup.md#handoff-from-installation) for unfinished setup.
|
|
437
450
|
|
|
438
|
-
Codex can use `codex mcp login editorbrain`; Claude Code completes OAuth from `/mcp`; Gemini CLI uses `/mcp auth editorbrain`. Gemini CLI reads the skill from `.gemini/skills/editorbrain` and `GEMINI.md`; a different copy in `.agents/skills/editorbrain` takes precedence there. Native host configuration is not proof of an authenticated MCP. Call `workspace_info` inside the host and compare it with CLI `status`. A read-only consent cannot save documents: ask for editing scope only when needed. Revoke OAuth connections from the app’s connection settings. CLI device credentials and MCP OAuth connections are separate.
|
|
451
|
+
With `--mcp-auth oauth`, Codex can use `codex mcp login editorbrain`; Claude Code completes OAuth from `/mcp`; Gemini CLI uses `/mcp auth editorbrain`. Gemini CLI reads the skill from `.gemini/skills/editorbrain` and `GEMINI.md`; a different copy in `.agents/skills/editorbrain` takes precedence there. Native host configuration is not proof of an authenticated MCP. Call `workspace_info` inside the host and compare it with CLI `status`. A read-only consent cannot save documents: ask for editing scope only when needed. Revoke OAuth connections from the app’s connection settings. CLI device credentials and MCP OAuth connections are separate.
|
|
439
452
|
|
|
440
453
|
`editorbrain narrative search [query] --kind hook --channel visual` finds candidates. `narrative get <video-id> --sha256 <document-hash> --event-offset 0 --relation-offset 0 --limit 50` pages through one pinned narrative document; follow returned offsets. Missing narrative coverage stays explicit.
|
|
441
454
|
|
|
@@ -594,6 +607,7 @@ shared API key must not change them.
|
|
|
594
607
|
|
|
595
608
|
`production present --project ID` reads current evidence and its CAS `version`.
|
|
596
609
|
After an actual handoff, `production present --project ID --file receipt.json`
|
|
610
|
+
plus `--user-confirmed-viewed` once the user confirmed seeing the Studio,
|
|
597
611
|
records the exact phase/artifact and explicit `presented:true`; it does not render,
|
|
598
612
|
upload media, approve a sample or change the review mode. MCP names are
|
|
599
613
|
`get_review_evidence`, `record_review_evidence` and `revoke_review_evidence`.
|
|
@@ -4,13 +4,24 @@ How to interpret the confirmed editorial profile of a brand: the JSON block betw
|
|
|
4
4
|
|
|
5
5
|
Brands saved before this guide existed repeat the same rules inside design.md; `resolve` and `export` show them in the compact form. Both describe the same fields.
|
|
6
6
|
|
|
7
|
+
**The user's own choices («A mi manera»).** design.md may also hold a block between `<!-- editorbrain:custom-choices -->` and `<!-- /editorbrain:custom-choices -->`: the user's own words for a section, written because no listed option fit. Resolved context shows them as `customChoices` (keys `ask`, `review`, `hook`, `editing`, `text`, `audio`, `format`, `close`, `limits`). Each one wins over the saved option of that same section; `limits` adds to the chosen limits. Apply them as written and never rewrite them. If one cannot be met with the material, tools or permissions of the project, say so and ask; do not swap in a listed option silently.
|
|
8
|
+
|
|
9
|
+
## Variants per moment (`variants.json`)
|
|
10
|
+
|
|
11
|
+
`.editorbrain/brands/<brand>/variants.json` = `{"schemaVersion":1,"enabled":true,
|
|
12
|
+
"moments":["hook","cta"],"count":3}`; moments are `hook|title|cta|captions`,
|
|
13
|
+
count `2|3`. Absent means the product default (ON, hook + cta, 3) and
|
|
14
|
+
`editorialSnapshot.variants.isDefault` is true. Users change it in
|
|
15
|
+
**Cómo editas → Variantes por momento** (/app/preferences); an explicit request for one video overrides it
|
|
16
|
+
for that video only. How it changes the edit: [editing flow](workflows/start.md#produce-the-editing-flow).
|
|
17
|
+
|
|
7
18
|
## Rules (as written for the user, in Spanish)
|
|
8
19
|
|
|
9
20
|
Estas preferencias pertenecen a esta marca. experience regula la explicación y acompañamiento, nunca la calidad: a principiantes explicar decisiones con ejemplos y lenguaje simple; a profesionales ofrecer control y decisiones precisas sin tutoriales innecesarios. role indica el contexto de trabajo; no mezclar marcas ni preferencias de clientes distintos. creatorContext describe el equipo y su revisión editorial; no crea miembros, no autoriza publicar ni comparte preferencias entre clientes. Interpretar solo las respuestas aplicables al rol vigente; las demás se conservan para un cambio posterior. Cada cliente tiene su propia marca. contentPresence describe quién suele aparecer (face, voice, ai, others, screen o product) y formatos secundarios; no demuestra qué material tiene este proyecto ni autoriza generar personas, avatares, clonar voces, habilitar fuentes o cambiar audio, revisión o gasto. Inspeccionar el material actual; ocultar un control no borra sus elecciones. referenceLinks son inspiración aportada por el usuario, no evidencia analizada ni permiso para descargar o redistribuir. Comprueba su contenido antes de atribuir técnicas. Los campos vacíos están por definir; no son autorizaciones. Adapta las preferencias al guion, los recursos y la plataforma del proyecto. Respeta las restricciones de avoid. Los pedidos actuales explícitos gobiernan la tarea; conserva las excepciones en el ámbito del proyecto. Los tokens obligatorios de marca siguen en tokens.json y requieren una excepción deliberada con motivo para cambiarlos.
|
|
10
21
|
|
|
11
22
|
creativeDirection separa quién decide del modo de revisión: automatic encarga al agente elegir la dirección de cada video consultando material y evidencia de la biblioteca de ediciones; guided parte de tus elecciones y resuelve los detalles abiertos. La calidad exigida es la misma. En automatic no exigir un cuestionario de estética ni imponer una plantilla; favoritos orientan y las restricciones explícitas siguen vigentes. No borrar preferencias ni guardar automáticamente las decisiones del proyecto como estilo de marca. Un estilo reutilizable se guarda cuando el usuario lo pide. creativePreferencesReviewed registra únicamente categorías revisadas explícitamente por el usuario, incluyendo su decisión de delegar campos abiertos. No inferir revisiones por valores precargados ni marcarlas al saltar pasos. Con guided explícito, completar las categorías pendientes antes de editar salvo questionMode=autonomous, que delega los detalles abiertos para ese proyecto sin marcar categorías confirmadas; conservar elecciones previas y no repetir las ya confirmadas. automatic conserva ese registro para un cambio posterior. La ausencia de creativeDirection conserva el comportamiento previo. project.json puede cambiar creativeDirection solo para ese video. No modifica revisión, integraciones, gasto ni permisos.
|
|
12
23
|
|
|
13
|
-
questionMode regula las consultas
|
|
24
|
+
questionMode regula las consultas. En collaborative, el valor predeterminado, el agente propone ideas y consulta decisiones que cambian la edición. Si la persona elige autonomous, el agente decide detalles reversibles con la evidencia disponible y deja pendiente cualquier acción que requiera material o autorización. Reutilizar el pedido y las preferencias. Una excepción en project.json se aplica solo a ese video y conserva las reglas de revisión y gasto.
|
|
14
25
|
|
|
15
26
|
Las referencias indican únicamente los aspectos que gustaron o se quieren evitar. Consulta su evidencia por videoId y exampleId antes de adaptar; un frame no demuestra ritmo ni sonido. No copies toda la edición ni heredes colores o tipografías automáticamente. Una selección sin aspectos solo indica interés, no una técnica confirmada.
|
|
16
27
|
|
|
@@ -4,6 +4,8 @@ Use this only when the user's environment or project is not ready. Do not re-onb
|
|
|
4
4
|
to reuse supplied material, selections and answers; setup is only for a missing
|
|
5
5
|
dependency, not a required introduction on every video.
|
|
6
6
|
|
|
7
|
+
After authentication, use the personal route in setup or `prepare_edit.firstCreation`. For guided creation follow the [first creative conversation](workflows/first-creation.md#open-the-first-creative-conversation); a completed web setup uses the existing brand.
|
|
8
|
+
|
|
7
9
|
## Establish a working workspace
|
|
8
10
|
|
|
9
11
|
- For local work, choose or reuse one EditorBrain folder for this workspace/device and open it in Claude Code, Codex or Gemini CLI. Keep each video's files under its own project destinations. Installing npm/npx or connecting MCP does not organize existing files. A host without filesystem access uses service documents/assets and needs neither a local folder nor CLI.
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
# First session: choosing an example and a look
|
|
2
|
+
|
|
3
|
+
Steps 2 and 3 of [Speed Brain](workflows/first-creation.md). The person chooses by looking at real things made for them or taken from the libraries, never by describing.
|
|
4
|
+
|
|
5
|
+
## Point or paste: choose a whole video
|
|
6
|
+
|
|
7
|
+
The catalog styles are the recipes: each is a finished video with tested code, a list of what it needs and its own review checklist. All of them are included in every plan.
|
|
8
|
+
|
|
9
|
+
1. **Read the style sheet for what they bring**, in one call:
|
|
10
|
+
|
|
11
|
+
```sh
|
|
12
|
+
editorbrain styles sheet --needs recording|voice|none [--only-clip] [--brief "what the video is about and for whom"] [--lang en]
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
MCP: `list_style_packs` with `view: "sheet"` and the same fields. Every row says what the style is ideal for, how the video is built (how it opens, what the body does, how it closes), what it feels like and what it is not for.
|
|
16
|
+
- Read every row and judge by structure and feel, never by the name: a style that is not called an ad can sell, and a style shown with a product can teach. `--brief` only changes the order.
|
|
17
|
+
- Match the style to what the video is for (sell, explain, share something interesting, show themselves: [what must be on screen](first-session-video.md#what-the-video-is-for-decides-what-must-be-on-screen)), not to their business type.
|
|
18
|
+
- One recording and nothing else: add `--only-clip`. Nothing recorded: read `none` and `voice`; a voice style carries a generated voice, with its cost or with [their own tool](first-session-money.md#their-own-tools-come-first). Before you offer one, confirm a voice can be made in this session (`editorbrain studio catalog` lists the voice tool as available, or their own tool answers). Never let them choose something you cannot finish.
|
|
19
|
+
- Shortlist three to five, then get their demos and versions in one more call: `editorbrain styles sheet --ids a,b,c --detail` (MCP: the same with `ids` and `detail: "full"`). Do not open guides or watch demos for the rest.
|
|
20
|
+
- If nothing fits well, say so plainly and show the closest ones; never present a style as something it is not.
|
|
21
|
+
2. **Show two or three** that suit them with `editorbrain choices show` ([choice page](choice-page.md)), each with its real demo as `media`. Recommend one and say why in a line. Say that the demo shows another brand and theirs will carry their own colours, and that the style is only the starting point: anything in it can change.
|
|
22
|
+
3. **Give the library link** («aquí están todos; si ves otro que te guste, copia su nombre y pégamelo») and invite them to paste a video of their own that they would like to resemble.
|
|
23
|
+
|
|
24
|
+
In that same message invite one real ingredient if they have it at hand: their logo or a photo of the product, even from the phone. It is never a question of its own. Look at it yourself and take colours and tone from it. Nothing at hand is fine.
|
|
25
|
+
|
|
26
|
+
### When they paste their own example
|
|
27
|
+
|
|
28
|
+
Learn it with [reference](../../editorbrain-reference/SKILL.md) before describing it; it leads over your suggestions. If they paste a link you cannot open, do not ask them to record or download it: ask them to describe it in a sentence (rhythm, text, background, music) and work from that.
|
|
29
|
+
|
|
30
|
+
### When no style fits
|
|
31
|
+
|
|
32
|
+
Say so and build from the library's animations, not from scratch: read the animation sheet with a brief of what they want to say and shortlist the scenes that open, show and close their message ([choosing from the libraries](library-sheets.md)). Show their real movement, not a drawing of the idea: `editorbrain motion preview ID --scene-version V --ratio tall` returns a temporary link; give it as `media` to `choices show` right away and the page keeps its own copy. Subtitles and sounds are chosen the same way, from their sheets: show real ones and let them say which they like or would adapt.
|
|
33
|
+
|
|
34
|
+
## Their opening in three looks
|
|
35
|
+
|
|
36
|
+
Make the first five seconds of their video in the chosen style, three times, each with a different combination of colours and lettering drawn from their logo, photo or business.
|
|
37
|
+
|
|
38
|
+
The looks already show their real product: settle its picture first (their photo, or a generated one they approved, see [the video](first-session-video.md#make-it-from-the-recipe)). Never show a look with a stand-in object or a product you drew.
|
|
39
|
+
|
|
40
|
+
- If they told you their brand colours, all three use only those colours and differ in lettering and in which colour leads. A neutral outside their palette is never the recommended one.
|
|
41
|
+
- Show the three side by side, on a choice page with the three clips or as moments in Studio, and recommend one.
|
|
42
|
+
- Describe each as a treatment over their video («títulos en blanco sobre tu toma»), never as a «pantalla».
|
|
43
|
+
- Their answer («la 2», «la 1 con la letra de la 3») is the look of their brand. [Save it](first-session-records.md), say what it changes («guardado: desde hoy tus videos arrancan con estos colores») and that they can change it whenever they want.
|
|
44
|
+
|
|
45
|
+
In that same message, ask for the two things the ending needs, so the video is not finished without them:
|
|
46
|
+
|
|
47
|
+
- Where people should go: WhatsApp, a handle or a link, with the name to show. Say why you ask for a phone number: it only appears in the video.
|
|
48
|
+
- Whether they want soft sound effects or no sound at all.
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
# First session: money, their own tools and their plan
|
|
2
|
+
|
|
3
|
+
Open it from [Speed Brain](workflows/first-creation.md) whenever a cost, credits, an AI tool, their plan or a client comes up.
|
|
4
|
+
|
|
5
|
+
## Money, in plain words
|
|
6
|
+
|
|
7
|
+
Read the prices before you mention a cost, and whenever they ask «¿esto cuesta?»:
|
|
8
|
+
|
|
9
|
+
```sh
|
|
10
|
+
editorbrain billing prices --plan PLAN [--lang en]
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
MCP: `billing_status.prices`. It gives you the sentence that explains a credit, what never uses credits, the price of each tool with examples, how far their balance goes and the plan prices.
|
|
14
|
+
|
|
15
|
+
- Answer with those numbers, rounded up to whole credits. Never quote a price from memory.
|
|
16
|
+
- Editing with their material, the library's styles, subtitles and sounds, and saving their brand and rules never use credits. Say so early: it removes the fear of spending by accident.
|
|
17
|
+
- Before a paid tool, give the approximate cost and ask for a yes with a ceiling («hasta 10 créditos»).
|
|
18
|
+
- Afterwards say exactly how many were used and how many are left.
|
|
19
|
+
|
|
20
|
+
## Their own tools come first
|
|
21
|
+
|
|
22
|
+
People may already pay for tools that make voice, images, music or video (Higgsfield, ElevenLabs, Suno or any other) and have them connected to this same chat. Those work with EditorBrain: the result goes into their video the same way.
|
|
23
|
+
|
|
24
|
+
- If this chat has such a tool, say so and offer it: «veo que tienes Higgsfield conectado; puedo hacer la imagen ahí, con tu cuenta, sin gastar créditos de EditorBrain».
|
|
25
|
+
- That tool charges them, not EditorBrain. Say whose balance it touches and still ask before generating.
|
|
26
|
+
- Check that the tool really answers in this session before you promise it ([integrations](integrations.md)). A tool they only mention is not connected; do not send them to set one up in the middle of their first video.
|
|
27
|
+
- Without one, EditorBrain's [AI tools](studio.md) are the default and nobody has to sign up anywhere else.
|
|
28
|
+
- If they say they always want their own tool, save that preference ([integrations](integrations.md)) so the next video does not ask again.
|
|
29
|
+
|
|
30
|
+
## Fit their plan
|
|
31
|
+
|
|
32
|
+
Read `learning.plan` now (`get_first_creation` / `editorbrain onboarding journey`) before promising anything; the install output can be out of date. The session works on every plan. Offer only what theirs has; if they ask for more, say so and give the link, without selling.
|
|
33
|
+
|
|
34
|
+
| Plan | In this session |
|
|
35
|
+
|---|---|
|
|
36
|
+
| Gratis | One brand and a starting balance. Keep the video short so the credits cover it. |
|
|
37
|
+
| Creator | A second brand, premium animations and [formats](../../editorbrain-formats/SKILL.md): propose one when the idea fits, such as an ad or a reel series. |
|
|
38
|
+
| Pro | Several brands, editors and reviews with the client's brand. If they edit for others, set up the first client. |
|
|
39
|
+
| Comunidad | Pro plus the library of viral ads: point to it when they sell a product. |
|
|
40
|
+
| Agencia | Client portals, emails with the agency's name and a team: make [a client's first video](#a-clients-first-video). |
|
|
41
|
+
|
|
42
|
+
## A client's first video
|
|
43
|
+
|
|
44
|
+
When they edit for a client, the Speed Brain is about that client.
|
|
45
|
+
|
|
46
|
+
- Create the client's brand with the client's name and colours. Put the answers in a file with a new `brandId` and the client's `identity.name` and `identity.description` ([records](first-session-records.md)), then:
|
|
47
|
+
|
|
48
|
+
```sh
|
|
49
|
+
editorbrain onboarding choices --new-brand --file intake.json
|
|
50
|
+
editorbrain onboarding choices --new-brand --file intake.json --apply PLAN_HASH
|
|
51
|
+
```
|
|
52
|
+
|
|
53
|
+
Include `"language":{"defaultLanguage":"en"}` when the client's audience reads English, so their review page is in English. Later saves for that brand use the same command without `--new-brand`. `BRAND_LIMIT_REACHED` means their plan has no room: say how many brands it allows, keep working with the ones they have, and never delete or reuse another brand to make space.
|
|
54
|
+
- Keep the two apart: what they tell you about their agency (its city, its name, its contact) never goes into the client's brand.
|
|
55
|
+
- Make the video in a project of that brand, not in the starter project, and create it before you record any progress: the session stays tied to the first project you record. If you already recorded progress in the starter project, send `start-agent` again with the client's `projectId`; it moves the session there and you record `intent` and `style` again. A new brand has no earlier project to copy from, so pass both: `editorbrain projects create ID --brand BRAND --style STYLE --output-profile PROFILE --name "…"` (take the style and output profile from the starter project).
|
|
56
|
+
- The agency's own name and logo belong to the [agency](agency.md) settings, never to the client's brand.
|
|
57
|
+
- Show the review link the client will get and say what the client will see: the client's brand, and on Agencia «Preparado por» with the agency's name or logo. The owner uploads the agency's logo on the web, in `https://editorbrain.com/app/agency`.
|
|
58
|
+
- If the client has to approve before it is final, share that version from the client's project (`editorbrain production review --project CLIENT_PROJECT --file VIDEO --share`), paste the link it returns to the owner so they open it first, and [close while they approve](first-session-video.md#when-someone-else-has-to-approve).
|
|
59
|
+
- The team is invited on the web (`https://editorbrain.com/app/team`); you cannot do that from here with the usual connection.
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
# Guide pages: a picture instead of a paragraph
|
|
2
|
+
|
|
3
|
+
Five ready pages explain EditorBrain to the person. Each opens in their browser as a local file; nothing is uploaded. Use one when a picture would land better than your explanation, at most one per step. They support [Speed Brain](workflows/first-creation.md) and work in any later conversation too.
|
|
4
|
+
|
|
5
|
+
```sh
|
|
6
|
+
editorbrain guides list [--lang en]
|
|
7
|
+
editorbrain guides show speed-brain|cerebro|regla|bibliotecas|pidelo [--lang en] [--dir FOLDER]
|
|
8
|
+
```
|
|
9
|
+
|
|
10
|
+
| Page | What it shows | Open it when |
|
|
11
|
+
|---|---|---|
|
|
12
|
+
| `speed-brain` | The four steps, who does what and how they will know it is over | They ask how this works, seem lost, or come back another day. Not with the welcome: it already lists the steps |
|
|
13
|
+
| `cerebro` | What EditorBrain keeps for them: brand, taste, rules, projects | They ask what EditorBrain is or what it saves, or right after their look is saved |
|
|
14
|
+
| `regla` | A correction that stays in this video or becomes a rule of their brand | After the first version, before you ask what they would change |
|
|
15
|
+
| `bibliotecas` | The libraries: styles, animations, subtitles and sounds, with links | They choose an example, or ask what there is to choose from |
|
|
16
|
+
| `pidelo` | How to ask for the next video in one sentence, and what uses credits | At the end, or when they ask how to ask or what costs |
|
|
17
|
+
|
|
18
|
+
- Say «te abrí una página en tu navegador» and one line on what they are looking at. The answer `opened: false` means it did not open: then give the `file` it returned.
|
|
19
|
+
- The buttons at the bottom of each page copy a sentence they can paste back to you. Treat a pasted one as their message.
|
|
20
|
+
- English aliases work (`brain`, `rules`, `libraries`, `ask`); with an English speaker add `--lang en`.
|
|
21
|
+
- A page never replaces doing the thing: show the page, then show their own video.
|
|
22
|
+
- When a page is open, keep your message short and do not repeat what the page says.
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
# First-session records: where each answer goes
|
|
2
|
+
|
|
3
|
+
Load it from the first session, [Speed Brain](workflows/first-creation.md), when you save an answer or record progress. It only covers the mechanics; the conversation leads.
|
|
4
|
+
|
|
5
|
+
## Brand answers
|
|
6
|
+
|
|
7
|
+
| What | Where |
|
|
8
|
+
|---|---|
|
|
9
|
+
| Brand name, what they do, audience, tone, links | `identity` |
|
|
10
|
+
| `role` («Marca personal / creador», «Negocio / equipo de marketing», «Agencia / editor para clientes»), goal, platforms | `profile` |
|
|
11
|
+
| The language they speak with you | `language.defaultLanguage` (`es` or `en`). Their Studio page and the pages their clients open follow it, so save it for an English speaker, and always for a new client brand |
|
|
12
|
+
| What you learned about them: their problem, their goal, their context | `profile.notes`. A new note replaces the old one: send the whole text |
|
|
13
|
+
| Colours and lettering, from the opening they picked | `tokens`: `color.background`, `color.text`, `color.accent`, `typography.heading`, `typography.body` |
|
|
14
|
+
| The example style they chose | the project (`styles source ID --style-version V`); their taste in their words in `customChoices.editing` |
|
|
15
|
+
| Taste and limits in their words | `customChoices`: `hook`, `editing`, `text`, `audio`, `close`, `limits` |
|
|
16
|
+
| Subtitle style | `editorbrain captions use STYLE --project ID` for this video; their taste for the next ones in `customChoices.text` («etiqueta rosa, letra grande») |
|
|
17
|
+
| A choice for this video only | the project's direction, never the brand |
|
|
18
|
+
|
|
19
|
+
Put the answers in one file:
|
|
20
|
+
|
|
21
|
+
```json
|
|
22
|
+
{"schemaVersion":1,"brandId":"studio",
|
|
23
|
+
"identity":{"name":"Dulce Nube","description":"Pastelería en Monterrey"},
|
|
24
|
+
"profile":{"role":"Negocio / equipo de marketing","notes":"Nunca has editado. Sientes que tus reels se ven caseros y casi nadie los ve."},
|
|
25
|
+
"tokens":{"color.accent":{"value":"#F2A9BC","strength":"preferred"}},
|
|
26
|
+
"customChoices":{"editing":"Sin cortes bruscos."}}
|
|
27
|
+
```
|
|
28
|
+
|
|
29
|
+
- CLI: `editorbrain onboarding choices --file intake.json`, then the same command with `--apply PLAN_HASH`. `phase: verified` means the service has it. Run `editorbrain pull` afterwards so the local folder shows it too.
|
|
30
|
+
- MCP: `plan_onboarding_update`, then `write_document` in the returned order.
|
|
31
|
+
- Read what a brand already has with `editorbrain onboarding status --brand ID --summary` or `get_onboarding_guide({brandId,detail:"summary"})`. Other fields and their options are in [onboarding](onboarding.md#configure-directly-in-an-mcp-chat).
|
|
32
|
+
|
|
33
|
+
## What they will see on their web
|
|
34
|
+
|
|
35
|
+
Everything you save for a brand through the CLI or MCP shows filled in on their pages «Mi marca», «Cómo editas» and «Memoria», marked «Sin revisar» until they confirm or change it there. Only the person can mark it reviewed.
|
|
36
|
+
|
|
37
|
+
- Save each answer once. Saving the same value again does not mark it again; a different value does.
|
|
38
|
+
- Their contact and closing line go in `customChoices.close`, sound and voice in `customChoices.audio`, subtitle taste in `customChoices.text`, limits in their words in `customChoices.limits`.
|
|
39
|
+
- Write `profile.notes` in second person and plain words: it appears on «Mi marca» as «Lo que tu IA sabe de ti».
|
|
40
|
+
- After `--apply`, read `unreviewed.count` and `unreviewed.pages` (also in `onboarding status --brand ID --summary` / `get_onboarding_guide`).
|
|
41
|
+
- At the end tell them where to look: «lo que guardé está en tu página, en Mi marca y Cómo editas, marcado como "Sin revisar". Míralo una vez; si algo no es así, cámbialo ahí o dímelo».
|
|
42
|
+
|
|
43
|
+
## Corrections that should last
|
|
44
|
+
|
|
45
|
+
Save their words as a note, one note per request: `editorbrain feedback add --project ID --text "…" --capture-memory` / `save_editorial_feedback`. When they said «para siempre», promote that note to the brand with [memory](memory-and-review.md). After a correction, set the checkpoint back to in progress before you sync (`editorbrain push --project ID`) and present the new version ([correction](workflows/correction.md)).
|
|
46
|
+
|
|
47
|
+
## Progress
|
|
48
|
+
|
|
49
|
+
Their progress through the first session is personal. Record it with `update_first_creation` / `editorbrain onboarding journey --file event.json`, using the current `expectedRevision` and a new UUID as `operationId` each time:
|
|
50
|
+
|
|
51
|
+
```json
|
|
52
|
+
{"action":"milestone","milestone":"intent","projectId":"introduction","expectedRevision":1,"operationId":"…"}
|
|
53
|
+
```
|
|
54
|
+
|
|
55
|
+
- `start-agent` when they join in (already recorded when they chose this session on the web); `pause` or `skip` when they say so.
|
|
56
|
+
- Milestones, in order: `intent` (you know what the video is), `style` (look and style chosen or delegated), `sample` (they confirmed they saw the sample in Studio), `brain` (they heard what their editor saved and had the chance to correct it).
|
|
57
|
+
- `{"action":"topic","topic":"captions","disposition":"shown","projectId":"…",…}` for a feature you really demonstrated; `later` or `dismissed` if they passed. Topics: `style`, `brand`, `captions`, `motion`, `audio`, `tools`, `projects`, `sharing`, `variants`.
|
|
58
|
+
- `complete-agent` after they accepted the final. The answer carries their `resultUrl`.
|
|
59
|
+
- `{"action":"complete-agent","awaitingApproval":true,"projectId":"…",…}` when the video is shared for someone else's approval and not final yet. It needs a review you shared for that project; without one it answers `FIRST_CREATION_REVIEW_SHARE_REQUIRED`. Record the final later with `projects finalize` when they confirm the approval.
|