editorbrain 0.44.1 → 0.44.2

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
@@ -5,13 +5,13 @@ Editorial references, brand context and portable video projects for Claude Code
5
5
  Inspect the CLI without configuring your agent:
6
6
 
7
7
  ```sh
8
- npx editorbrain@0.44.1 help
8
+ npx editorbrain@0.44.2 help
9
9
  ```
10
10
 
11
11
  For a persistent installation:
12
12
 
13
13
  ```sh
14
- npm install -g editorbrain@0.44.1
14
+ npm install -g editorbrain@0.44.2
15
15
  editorbrain login --url https://api.editorbrain.com
16
16
  editorbrain status --url https://api.editorbrain.com
17
17
  editorbrain projects list
@@ -203696,6 +203696,8 @@ var searchErrors = {
203696
203696
  studio_preference_conflict: { status: 409, code: "STUDIO_PREFERENCE_CONFLICT", hint: "Reconcile project language, voice, music or media-source preferences before generating." },
203697
203697
  studio_audio_format: { status: 422, code: "STUDIO_AUDIO_FORMAT", hint: "Prepare PCM 16-bit WAV from the original with studio prepare, then upload it." },
203698
203698
  studio_invalid_input: { status: 400, code: "STUDIO_INVALID_INPUT", hint: "Check studio catalog and the request fields; never send provider credentials." },
203699
+ vox_voice_unknown: { status: 400, code: "VOX_VOICE_UNKNOWN", hint: "Run studio voices and use a current public voice ID. Read studio voice for the selected brand/project before changing its preference; never substitute a different voice automatically." },
203700
+ vox_invalid_input: { status: 400, code: "VOX_INVALID_INPUT", hint: "Use studio voices with supported filters, or studio voice with exactly one saved brand/project ID. Saving requires a public voice ID and the current nonnegative expected revision." },
203699
203701
  studio_references_require_premium: { status: 422, code: "STUDIO_REFERENCES_REQUIRE_PREMIUM", hint: "Reference images require Prism Premium. Review saved preferences and explicitly choose Premium before requesting a new quote; never increase the budget automatically." },
203700
203702
  studio_reference_invalid: { status: 400, code: "STUDIO_REFERENCE_INVALID", hint: "Use up to four unique SHA-256 asset IDs uploaded to this workspace, not URLs or file paths." },
203701
203703
  studio_reference_format: { status: 422, code: "STUDIO_REFERENCE_FORMAT", hint: "Use PNG, JPEG or WebP, up to 8 MiB each and 20 MiB total. Convert SVG to PNG locally before upload." },
@@ -203771,7 +203773,7 @@ var ApiError = class extends CliError {
203771
203773
  const diagnostic = searchDiagnostic(status, body);
203772
203774
  const recovery = diagnostic ? recoveryGuidance(diagnostic.serviceCode, status) : void 0;
203773
203775
  const details = diagnostic ? safeDiagnosticDetails(body) : {};
203774
- const preferenceHint = diagnostic?.serviceCode === "studio_preference_conflict" && ["narration", "voice_selection"].includes(String(details.conflict)) ? 'Read workflow and the returned projectPath/documentPath. Only after an explicit user request, save narrationOverride={value:"voiceover",reason:"user-requested reason"} in this project.json and voice={mode:"catalog",provider:"editorbrain",voiceId:"narrator"} in its audio.json. Preserve the brand. Quote again; a preference exception never authorizes spending.' : void 0;
203776
+ const preferenceHint = diagnostic?.serviceCode === "studio_preference_conflict" && details.conflict === "narration" ? 'Read workflow and the returned projectPath/documentPath. Only after an explicit user request, save narrationOverride={value:"voiceover",reason:"user-requested reason"} in this project.json, then choose an authorized public voice with studio voices and studio voice VOICE_ID --project ID --expected-revision N. Preserve the brand. Quote again; a preference exception never authorizes spending.' : diagnostic?.serviceCode === "studio_preference_conflict" && details.conflict === "voice_selection" ? "Read workflow and studio voice --project ID. Reconcile the requested public alias with the authorized saved voice using studio voices; a deliberate change uses studio voice VOICE_ID --project ID --expected-revision N. Preserve original/no-narration restrictions and the brand. Quote again; a voice selection never authorizes spending." : void 0;
203775
203777
  super(diagnostic?.code ?? code, `API request failed (HTTP ${status}).`, recovery ? recoveryHint(recovery) : preferenceHint ?? diagnostic?.hint ?? hint, !diagnostic && safeToRetry && (status === 429 || status >= 500), { status, ...recovery ? { recovery } : {}, ...diagnostic ? { serviceCode: diagnostic.serviceCode, ...details } : {}, ...retryAfterMs === void 0 ? {} : { retryAfterMs } });
203776
203778
  this.status = status;
203777
203779
  this.body = body;
@@ -203938,7 +203940,8 @@ var Client = class {
203938
203940
  try {
203939
203941
  const parsed = await boundedJson(response, 16 * 1024);
203940
203942
  const diagnostic = searchDiagnostic(response.status, parsed);
203941
- errorBody = diagnostic ? { error: { code: diagnostic.serviceCode, ...safeDiagnosticDetails(parsed) } } : void 0;
203943
+ const voiceRevisionConflict = /^\/v1\/studio\/voice-selection(?:\?|$)/.test(path) && response.status === 409 && parsed?.error?.code === "revision_conflict";
203944
+ errorBody = diagnostic ? { error: { code: diagnostic.serviceCode, ...safeDiagnosticDetails(parsed) } } : voiceRevisionConflict ? { error: { code: "revision_conflict" } } : void 0;
203942
203945
  } catch {
203943
203946
  }
203944
203947
  } else await response.body?.cancel();
@@ -206696,6 +206699,54 @@ import { fileURLToPath } from "node:url";
206696
206699
 
206697
206700
  // packages/cli/src/agent-guidance-history.ts
206698
206701
  var VERIFIED_GUIDANCE_RELEASES = [
206702
+ {
206703
+ "version": "0.44.1",
206704
+ "archiveSha256": "ea2a2a324e3676cb39da61be5c9b720e67ff871ca50a9c86459816b69893dc85",
206705
+ "files": {
206706
+ "editorbrain-formats/SKILL.md": "65ea59aae091ca9618b5e479befe0c76edf174df7091ed74d4307485a2252fcd",
206707
+ "editorbrain-formats/references/aspirational-list-demo.md": "e884ce44d15f4496812ed18120f7d4c49c4261e148fcefe05c77c110b589771c",
206708
+ "editorbrain-formats/references/cumulative-tier-list.md": "7b7e8208687c6b925443e55d640ced6c1d09824377884244a09d7f3089d60aa5",
206709
+ "editorbrain-formats/references/numbered-tutorial.md": "95754ae7dbfaa678e11ddf1a2b84710dba83a16e2fa4055051bd4f5f4f868a5f",
206710
+ "editorbrain-motion/SKILL.md": "57292f3a48cc8f1fc2d89f2cc054a3ceabeda9422958fa708f273c662867d5ae",
206711
+ "editorbrain-motion/references/authored-scenes.md": "52e97b89b1d8a288c4ce7bd133eafea84e934ef2bf03ffe2dcef8c368b6f977d",
206712
+ "editorbrain-motion/references/code-motion.md": "50382a797adc1e1596086e2408e81ee75ceb6730ca409be9c884646db643a7cd",
206713
+ "editorbrain-motion/references/component-library.md": "e88ed19d2ab9dca8d2ea02abe6c476021c03b9679bce99292cf7da52d65d2236",
206714
+ "editorbrain-motion/references/generated-motion.md": "a8d214b53c15f742658abd84f03b768fa2821f8cde94f50aab82a3759a30b36b",
206715
+ "editorbrain-motion/references/motion-craft.md": "dae520b0e641fc9c3bf937241936588a855bf3453358e239ccc3cc3a2bcf0825",
206716
+ "editorbrain/AGENTS.md": "ee3428a4e39c6717089e4062396619d73102ac46da10e918b36e784baf8be735",
206717
+ "editorbrain/SKILL.md": "8608d33078717a00b0061d49259b098ba2a5205aaa0875fc4888cb0511a966e6",
206718
+ "editorbrain/references/audio-production.md": "a676511feae7de018da2b4e124e3e3da30b9f2e3736970e4ce29e32e6e94ee68",
206719
+ "editorbrain/references/cli-mcp.md": "8c800570e14fcc926f03e609076e9a7ea2d72a59365d4f5ded6b8750870a0e55",
206720
+ "editorbrain/references/editorial-evidence.md": "79ed5bd90eb903014313c32a1e337822c5cb454e642bcfa852dcb77d30a9392e",
206721
+ "editorbrain/references/editorial-families.md": "b802ec6f02fd079e99df84d69a3c515d63ad058960b568c0c7b7dec1912495dd",
206722
+ "editorbrain/references/family-animated.md": "54a140d0a64b01147c52ea8cbaab4e4599bfe1af330f5a3ad6ef2a30351ab47d",
206723
+ "editorbrain/references/family-demonstration.md": "737334a8d9230682cde3a6ed11bfc02c4f9795c8f25a3b668be9d7393ec3e53d",
206724
+ "editorbrain/references/family-essay.md": "003f2cd450f33ba6641a9b1114cbc578c04cbb658b992c89c765d43198d1b4c2",
206725
+ "editorbrain/references/family-personal.md": "e93c304d7bc7d3eb31a3c9cb3be83f4f48d41319c2ac2e1e6f53f38576f5e644",
206726
+ "editorbrain/references/family-presenter.md": "76b8140b924930b306ce97772d6a7b683870bd14f19772b5339a490752b7de24",
206727
+ "editorbrain/references/first-edit.md": "60a076152150e70331de111067a38265a6aa757b66754a91d993b16cac2207ae",
206728
+ "editorbrain/references/integrations.md": "7e0188ec41babd7f49b37cea82e4b8fd81b36dd50127dad25f563767c661b43b",
206729
+ "editorbrain/references/local-production.md": "fb4e1db9f782cd6a67f4930926cf5a6faeb402b491a250a3b6aabbcbfc1172aa",
206730
+ "editorbrain/references/media-preferences.md": "87e508a75cdb6f4644db767273bfb230fb79f182ed05ee0f6257c6c05ea4dc7a",
206731
+ "editorbrain/references/memory-and-review.md": "406589a18e9e86ad8ce7d71e0f5bf00f67dab42c05af7721482fdca1c25c7c1b",
206732
+ "editorbrain/references/motion-review.md": "0fb09a2d61ecd13114ced5cca5daa4580a922cf7d7b3f8698077ceb0e96da6f0",
206733
+ "editorbrain/references/onboarding.md": "b842dac368455b670543d9a0defdad91708c10788d1474ddfa6b31ca929e930b",
206734
+ "editorbrain/references/personal-resources.md": "92ce6f32191929bd946c97305452521f6048d6bb8ea371e9083536eff5ce9512",
206735
+ "editorbrain/references/production-and-review.md": "6475f1ca50d3c50312cb960bb11fa807534003b998e2c2e223378556b8807064",
206736
+ "editorbrain/references/production-continuity.md": "31b6e9605a823d5bcf3c0c94e71718998919c702b398d8e84fc15c80bb6ee7b1",
206737
+ "editorbrain/references/real-media.md": "cfad1aa15198dfe5ecc1f1b67c96d43a7d2084e7f5119de93d1b360203694938",
206738
+ "editorbrain/references/search-brief.md": "1bd2514f961522675047910f001f33da035382e48e933bc5eadb9d7d01455a0d",
206739
+ "editorbrain/references/sfx-library.md": "d7ee0d2916559ce11a7fd244ccbcb98172413653c3fdbe0545e57b3eda543b16",
206740
+ "editorbrain/references/starting-an-edit.md": "0c7a5091a0b4739fb3633e21499e5bf4e0ba0d687a2ac99e9133177b90158c67",
206741
+ "editorbrain/references/storage-and-previews.md": "80bde58a2802f34e8ec220e2a3d6bac3a0795a9ee17cf98fe9943c07a3e78787",
206742
+ "editorbrain/references/studio.md": "f2d128d8a5f3beafa76a40c42eedc11a993d8dbaeac2832dcd1b7489f78a9064",
206743
+ "editorbrain/references/style-creator.md": "cc8ca31dea21e9230bcc215b16a7391c3e16740ee95802d85e768d45fb49e840",
206744
+ "editorbrain/references/style-source.md": "983fa21b4606c3cdc41b2fa4386ddc8f77a1b14ae782aad8774c000696c14de1",
206745
+ "editorbrain/references/voice-cleanup.md": "75e06cef365306ffb84e550e4c720ddc5eae320b7ea5447d6887187b20691e40",
206746
+ "editorbrain/references/workspace-files.md": "592c594e2b40f2a904fd8b61f2669b1a3ae3a28554a5782060e8def1318b0b2c",
206747
+ "editorbrain/scripts/deepfilter-cleanup.mjs": "e557a31bea16570c7ab16aaf54f883110bad8a42e28fac6282b0a1aa81de635e"
206748
+ }
206749
+ },
206699
206750
  {
206700
206751
  "version": "0.44.0",
206701
206752
  "archiveSha256": "16fd4f790cba31f779f703a3dc6e929da3209e450c252a7c3a50878e23b44514",
@@ -208902,9 +208953,37 @@ async function prepareStudioAudio(root, file2, out, streamIndex) {
208902
208953
 
208903
208954
  // packages/cli/src/studio.ts
208904
208955
  async function studioCommand(client, root, command, argument, flags) {
208905
- const allowed = /* @__PURE__ */ new Set(["dir", "url", ...command === "quote" ? ["file"] : command === "run" ? ["max-credits", "user-confirmed", "batch-lease-token"] : command === "jobs" ? ["after"] : []]);
208956
+ const allowed = /* @__PURE__ */ new Set(["dir", "url", ...command === "quote" ? ["file"] : command === "run" ? ["max-credits", "user-confirmed", "batch-lease-token"] : command === "jobs" ? ["after"] : command === "voices" ? ["query", "language", "accent", "gender"] : command === "voice" ? ["brand", "project", "expected-revision"] : []]);
208906
208957
  for (const flag2 of Object.keys(flags)) if (!allowed.has(flag2)) throw new CliError("INVALID_ARGUMENT", `--${flag2} is not supported for studio ${command}.`, "Read editorbrain help.");
208907
208958
  try {
208959
+ if (command === "voices") {
208960
+ if (argument) throw new CliError("INVALID_ARGUMENT", "studio voices has no positional input.", "Use --query, --language, --accent or --gender to filter the catalog.");
208961
+ const query = new URLSearchParams();
208962
+ for (const flag2 of ["query", "language", "accent", "gender"]) {
208963
+ const value = flags[flag2];
208964
+ if (value === void 0) continue;
208965
+ const limit = flag2 === "query" ? 200 : flag2 === "accent" ? 100 : 40;
208966
+ if (typeof value !== "string" || !value.trim() || value.trim().length > limit) throw new CliError("INVALID_ARGUMENT", `--${flag2} requires 1\u2013${limit} characters.`, "Read editorbrain help.");
208967
+ if (flag2 === "gender" && !["female", "male"].includes(value.trim())) throw new CliError("INVALID_ARGUMENT", "--gender must be female or male.", "Use the values returned by studio voices.");
208968
+ query.set(flag2 === "query" ? "q" : flag2, value.trim());
208969
+ }
208970
+ return await client.request(`/v1/studio/voices${query.size ? "?" + query : ""}`);
208971
+ }
208972
+ if (command === "voice") {
208973
+ const scopes = ["brand", "project"].filter((scope2) => flags[scope2] !== void 0);
208974
+ if (scopes.length !== 1) throw new CliError("INVALID_ARGUMENT", "studio voice requires exactly one of --brand ID or --project ID.", "Use a saved brand/project ID; read its selection before changing it.");
208975
+ const scope = scopes[0], id3 = flags[scope];
208976
+ if (typeof id3 !== "string" || !/^[a-z0-9][a-z0-9_-]{0,79}$/.test(id3)) throw new CliError("INVALID_ARGUMENT", `--${scope} requires a valid saved ID.`, "Use lowercase letters, numbers, hyphens or underscores.");
208977
+ const target = { [scope === "brand" ? "brandId" : "projectId"]: id3 };
208978
+ if (!argument) {
208979
+ if (flags["expected-revision"] !== void 0) throw new CliError("INVALID_ARGUMENT", "--expected-revision applies only when saving a voice ID.", "Read studio voice --brand ID or --project ID first.");
208980
+ return await client.request("/v1/studio/voice-selection?" + new URLSearchParams(target));
208981
+ }
208982
+ if (!/^[a-z0-9][a-z0-9_-]{0,79}$/.test(argument)) throw new CliError("INVALID_ARGUMENT", "Supply a public voice ID returned by studio voices.", "Provider voice IDs and URLs are not accepted.");
208983
+ const revision2 = flags["expected-revision"];
208984
+ if (typeof revision2 !== "string" || !/^\d+$/.test(revision2) || !Number.isSafeInteger(Number(revision2))) throw new CliError("INVALID_ARGUMENT", "Saving a voice requires --expected-revision with a nonnegative integer.", "Read studio voice for this brand/project and use its revision, including 0 for an absent audio document.");
208985
+ return await client.request("/v1/studio/voice-selection", { method: "PUT", body: { ...target, voiceId: argument, expectedRevision: Number(revision2) } });
208986
+ }
208908
208987
  if (command === "catalog" || command === "jobs") {
208909
208988
  if (argument) throw new CliError("INVALID_ARGUMENT", "This command has no positional input.", "Read editorbrain help.");
208910
208989
  const after = flags.after;
@@ -208925,8 +209004,11 @@ async function studioCommand(client, root, command, argument, flags) {
208925
209004
  if (flags["user-confirmed"] !== true || !Number.isFinite(maxCredits) || maxCredits <= 0 || maxCredits > 1e4) throw new CliError("SPENDING_APPROVAL_REQUIRED", "Supply --user-confirmed and --max-credits only after the user authorized this quote or budget.", "Preferences and direct editing mode do not authorize spending.");
208926
209005
  return await client.request("/v1/studio/jobs", { method: "POST", body: { quoteId: argument, maxCredits, userConfirmed: true, ...flags["batch-lease-token"] ? { batchLeaseToken: flags["batch-lease-token"] } : {} } });
208927
209006
  }
208928
- throw new CliError("INVALID_ARGUMENT", "Use studio catalog, quote, run, get or jobs.", "Read editorbrain help.");
209007
+ throw new CliError("INVALID_ARGUMENT", "Use studio catalog, voices, voice, quote, run, get or jobs.", "Read editorbrain help.");
208929
209008
  } catch (error62) {
209009
+ if (command === "voice" && error62 instanceof ApiError && error62.status === 409 && error62.body?.error?.code === "revision_conflict") {
209010
+ throw new CliError("VOX_VOICE_SELECTION_CONFLICT", "The saved voice selection changed.", "Read studio voice for the same brand/project again and reconcile its current revision before saving. Preserve other audio preferences; do not retry the old write automatically.", false, { status: 409, serviceCode: "revision_conflict" });
209011
+ }
208930
209012
  throw error62;
208931
209013
  }
208932
209014
  }
@@ -214426,6 +214508,9 @@ editorbrain workflow set --mode direct|directions|sample --expected-revision N
214426
214508
  editorbrain workflow check [--project id] [--questions needs.json] [--previous-version hash] [--previous-context-version hash]
214427
214509
  editorbrain studio prepare --file source.mp4 --out .editorbrain-local/studio/audio.wav [--audio-stream N]
214428
214510
  editorbrain studio catalog
214511
+ editorbrain studio voices [--language es] [--accent ACCENT] [--gender GENDER] [--query TEXT]
214512
+ editorbrain studio voice --brand ID|--project ID
214513
+ editorbrain studio voice VOICE_ID --brand ID|--project ID --expected-revision N
214429
214514
  editorbrain billing status
214430
214515
  editorbrain studio quote --file request.json [--dir folder]
214431
214516
  editorbrain studio run QUOTE_ID --max-credits N --user-confirmed [--batch-lease-token UUID]
@@ -214553,6 +214638,7 @@ function parseArgs(argv) {
214553
214638
  known.add("batch-lease-token");
214554
214639
  if (argv[0] === "render-cloud") for (const flag2 of ["max-cost-usd", "runtime-seconds", "quote-file", "grant", "bytes"]) known.add(flag2);
214555
214640
  if (argv[0] === "team") for (const flag2 of ["email", "user", "at-ms"]) known.add(flag2);
214641
+ for (const flag2 of ["language", "accent", "gender"]) known.add(flag2);
214556
214642
  for (let i = 0; i < argv.length; i++) {
214557
214643
  const arg = argv[i];
214558
214644
  if (!arg.startsWith("--")) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "editorbrain",
3
- "version": "0.44.1",
3
+ "version": "0.44.2",
4
4
  "description": "EditorBrain editorial knowledge, portable workspaces and skills for AI video agents",
5
5
  "type": "module",
6
6
  "license": "UNLICENSED",
@@ -21,6 +21,19 @@ Fields (optional except `schemaVersion:1`):
21
21
 
22
22
  Resolve current workflow before selecting SFX. `sfxPolicy` summarizes effective density, character, protected hook and bank; source hashes identify preference changes. `none` means no added SFX, including synthesized clicks. An original recording's ambient sound is separate. Music and SFX remain separate: no music does not silence voice. Editorial exclusions override contradictory raw audio fields without deleting them.
23
23
 
24
+ For an EditorBrain Vox catalog voice, use `studio voices` / `list_vox_voices` to
25
+ discover public aliases and preview metadata. Read `studio voice --brand ID` or
26
+ `--project ID` / `get_vox_voice_selection`, then save the chosen alias with
27
+ `studio voice VOICE_ID --brand ID|--project ID --expected-revision N` /
28
+ `set_vox_voice_selection`. Use exactly one scope and its returned revision. This
29
+ updates only canonical `audio.json.voice`; brand defaults and project overrides
30
+ share the same portable preference as the rest of the workflow. It preserves
31
+ music, SFX and loudness and never changes `narrationOverride`. Before later local
32
+ edits or push, inspect `pull --project ID --dry-run` and reconcile local changes,
33
+ then pull the selected project; never discard local work to refresh the remote
34
+ selection. See [Studio](studio.md#discover-and-save-a-vox-voice)
35
+ for preview limits, inheritance and spending rules.
36
+
24
37
  ### A deliberate narration exception for one project
25
38
 
26
39
  When the user's current request deliberately changes narration for one video,
@@ -42,7 +55,7 @@ The exception changes only the effective narration of this project. Removing
42
55
  it restores the inherited narration; shared documents remain unchanged.
43
56
 
44
57
  `voiceover` does not select a voice or provider. For an explicitly requested
45
- EditorBrain Vox exception, also merge the following into this project's
58
+ EditorBrain Vox exception, also select the authorized public catalog alias for this project's
46
59
  `audio.json`, preserving any music, SFX or loudness settings:
47
60
 
48
61
  ```json
@@ -52,10 +65,17 @@ EditorBrain Vox exception, also merge the following into this project's
52
65
  }
53
66
  ```
54
67
 
68
+ `narrator` is an example alias, not a mandatory replacement voice. Use the
69
+ selected catalog alias; the scoped `studio voice` command performs this merge
70
+ with revision protection. Omitted `voice` in a later Vox quote inherits the
71
+ effective saved catalog voice rather than choosing a new one.
72
+
55
73
  Use the actual authorized voice for other integrations; never substitute Vox
56
74
  for a cloned or external voice. Read the current documents and use revision
57
- protection when writing through MCP. With CLI, update both local documents,
58
- validate and `push --dry-run` before normal `push`; then reread workflow.
75
+ protection when writing through MCP. With local CLI document edits, validate
76
+ and `push --dry-run` before normal `push`; after a remote `studio voice` save,
77
+ preview `pull --project ID --dry-run`, reconcile local changes and pull before
78
+ editing its local copy. Then reread workflow.
59
79
  The snapshot reports `narrationOverride` with project scope and reason, plus
60
80
  effective `mediaPreferences.editorialDelivery.narration` and `audioProduction`.
61
81
  Changing or removing either source invalidates unspent quotes: quote again
@@ -5,10 +5,12 @@ These are managed EditorBrain tools. First distinguish them from the user’s ow
5
5
  by Studio credits, permissions or quotes. Conversely, owning an external account
6
6
  does not fund or unlock a Studio job. Never silently switch between these routes.
7
7
 
8
- Load this only when creating/transcribing a resource. Check `editorbrain help` or MCP tool discovery first: earlier clients/services may not support Studio. `studio catalog` / `studio_catalog` reports availability, per-tool `tools[].canSpend` and creative credits. Tempo accepts editing access; Prism/Vox/Aura require a workspace owner (including an owner’s editor-scoped connection). Readers cannot start jobs. On older servers without per-tool permissions, use the legacy catalog `canSpend` and report authorization failures. These credits are separate from library searches. Do not request provider keys or activate personal integrations for built-in tools.
8
+ Load this when creating/transcribing a resource or selecting a Vox voice. Check `editorbrain help` or MCP tool discovery first: earlier clients/services may not support Studio. `studio catalog` / `studio_catalog` reports availability, per-tool `tools[].canSpend` and creative credits. Tempo accepts editing access; Prism/Vox/Aura require a workspace owner (including an owner’s editor-scoped connection). Readers cannot start jobs. On older servers without per-tool permissions, use the legacy catalog `canSpend` and report authorization failures. These credits are separate from library searches. Do not request provider keys or activate personal integrations for built-in tools.
9
9
 
10
10
  When the user explicitly requests Tempo or another tool, keep that choice. If unavailable, out of credits or unauthorized, report the specific blocker before changing methods; an existing local model is not an approved substitute. Continue independent work, but do not finalize speech cuts/captions from a fallback transcript as if the requested transcription had completed. Provider balance and EditorBrain credits are separate, and reconnecting cannot replenish either. A completed transcript still needs editorial review: preserve intended ideas and verify speech joins against the source.
11
11
 
12
+ The searchable Vox voice catalog and `studio voice` commands require CLI 0.44.2+ and matching service capabilities. Discover the tools before using them; older clients retain their existing narration path.
13
+
12
14
  ## Saved tool preferences (web, CLI and MCP)
13
15
 
14
16
  The web page **Herramientas IA** configures the agent; it does not generate or
@@ -103,7 +105,7 @@ These are brand defaults, not permission to use every tool in every edit:
103
105
  - `images`: provider, quality, resolution and aspectRatio (`project` uses output).
104
106
  Respect allowed media sources, actual brand palette and scene purpose first. Prism rejects quotes when effective media-source preferences exclude generated images; reconcile the preference instead of changing it silently.
105
107
  - `narration`: provider and language; never replace an explicitly selected original,
106
- cloned or catalog voice. EditorBrain Vox currently supports Narrator only. Read
108
+ cloned or catalog voice. Discover current Vox voices with `studio voices`. Read
107
109
  the member's voice preference from the selected external integration if relevant.
108
110
  - `music`: provider, target duration (`scene` lets you choose 30/60/120 for Aura), and
109
111
  character. Disabled music stays disabled; free text is editorial data only.
@@ -151,7 +153,52 @@ read the quote's `limitations`, and listen to the actual result.
151
153
  ## Prism / Vox
152
154
 
153
155
  - Prism input: `{"tool":"prism","projectId":"YOUR_PROJECT","prompt":"Describe this scene without logos or lettering…"}`. Ratios: `1:1`, `9:16`, `16:9`; one image per request. Resolve/read branding, prose restrictions and media choices first. The server pins structured palette/preferences, not every free-text editorial rule. Keep exact typography/logos in the editable composition. Use authentic material for factual subjects; generated illustration is not evidence.
154
- - Vox input: `{"tool":"vox","projectId":"YOUR_PROJECT","text":"Exact narration in the resolved project language","voice":"narrator"}`. One initial catalog voice, no cloning. Languages: `es/en/pt/fr/de/it`. A conflicting saved language/voice must be reconciled with the user; do not silently replace their preference or rewrite pronunciation-sensitive text. Maximum 3000 characters.
156
+ - Vox input: `{"tool":"vox","projectId":"YOUR_PROJECT","text":"Exact narration in the resolved project language"}`. Omitted `voice` inherits the effective EditorBrain catalog voice saved in `audio.json`; inspect the quote's returned input. An explicit `voice` is a public alias returned by the catalog, such as `narrator`, never a provider voice ID. Discover supported languages and voices below. A conflicting saved language/voice must be reconciled with the user; do not silently replace their preference or rewrite pronunciation-sensitive text. Maximum 3000 characters; no voice cloning.
157
+
158
+ ### Discover and save a Vox voice
159
+
160
+ ```sh
161
+ editorbrain studio voices --language es
162
+ editorbrain studio voices --accent american --gender female --query cálida
163
+ editorbrain studio voice --brand BRAND_ID
164
+ editorbrain studio voice --project PROJECT_ID
165
+ editorbrain studio voice VOICE_ID --project PROJECT_ID --expected-revision N
166
+ ```
167
+
168
+ Use actual IDs and the revision just read, including `0` if the target audio
169
+ document is absent. Select exactly one scope: `--brand` saves the brand default;
170
+ `--project` saves a voice for that video. The MCP equivalents are
171
+ `list_vox_voices` (`q`, `language`, `accent`, `gender`),
172
+ `get_vox_voice_selection` and `set_vox_voice_selection` (exactly one of
173
+ `brandId`/`projectId`; saving also requires `voiceId` and `expectedRevision`).
174
+
175
+ Catalog entries include public aliases, supported synthesis languages,
176
+ accent/gender and preview metadata when available. `languages` describes
177
+ synthesis support (`es/en/pt/fr/de/it`), not the preview's language; the latter is
178
+ in `preview.language`. `accent` describes the original English voice and does
179
+ not guarantee a regional Spanish accent. Listen to the relevant sample and
180
+ generated result before asserting pronunciation or regional fit.
181
+ A preview URL requires authentication and is
182
+ not a generated project asset. Listing metadata does not play or evaluate audio;
183
+ use an available authenticated playback capability and say if listening was not
184
+ performed. Missing previews are not permission to generate a paid sample. Do not
185
+ store preview URLs in portable documents or expose provider IDs.
186
+
187
+ The selection response identifies the canonical `path`, its `revision`, the
188
+ stored/effective voice and whether it is inherited. Saving changes only the
189
+ `voice` property in that scope's `audio.json`, preserving music/SFX/loudness and
190
+ other fields. On a revision conflict, reread the same scope and reconcile; do not
191
+ repeat the stale write. The command saves remotely, not into the local workspace.
192
+ Before further local edits or push, inspect `pull --project ID --dry-run`,
193
+ reconcile any local changes, then pull that selected project to refresh the
194
+ saved voice. Never force or discard local work to refresh it. Unknown aliases require a fresh catalog
195
+ lookup, never an automatic replacement with Narrator.
196
+
197
+ Discovery, previews and selecting a voice do not generate narration, authorize
198
+ spending or override original/no-narration restrictions. A project narration
199
+ exception remains a separate explicit decision in `project.json`. Reread
200
+ workflow after changing preferences and request a new quote before an authorized
201
+ run. Existing submitted jobs remain unchanged.
155
202
 
156
203
  If Vox returns `studio_preference_conflict`, read its `conflict`, `projectPath`
157
204
  and `documentPath` when present. A brand set to original/no narration stays