Skip to content

Write HTML. Render video. Built for agents.

fix(media-use): format resolver diagnostics (#2466)

Miguel Ángelbf8432bca806
diff --git a/skills-manifest.json b/skills-manifest.json
index 6246a40ee9..b915e239ae 100644
--- a/skills-manifest.json
+++ b/skills-manifest.json
@@ -46,7 +46,7 @@
"files": 10
},
"media-use": {
- "hash": "a842eab0c9d3a0c0",
+ "hash": "11f3025c7c97dd8f",
"files": 124
},
"motion-graphics": {
diff --git a/skills/media-use/scripts/resolve.mjs b/skills/media-use/scripts/resolve.mjs
index ab193f1dcc..528683e950 100644
--- a/skills/media-use/scripts/resolve.mjs
+++ b/skills/media-use/scripts/resolve.mjs
@@ -35,10 +35,7 @@ import {
flushHeygenFailureTracking,
versionLessThan,
} from "./lib/heygen-cli.mjs";
-import {
- BundledSfxAssetsError,
- inspectBundledSfxAssets,
-} from "./lib/bundled-sfx-provider.mjs";
+import { BundledSfxAssetsError, inspectBundledSfxAssets } from "./lib/bundled-sfx-provider.mjs";
const INGEST_TYPES = [...listTypes(), "video"];
@@ -387,10 +384,10 @@ async function run() {
providerFailure instanceof BundledSfxAssetsError
? providerFailure.message
: type === "brand"
- ? "no brand spec found — add a frame.md or design.md (colors/font/logo) to this project. Run the HyperFrames design flow to create one; brand tokens are read locally for deterministic rendering."
- : args.provider
- ? `provider "${args.provider}" could not resolve ${type}: "${intent}"${localOnly ? " (--local-only skips network providers; drop it or the --provider override)" : ""}`
- : `no provider could resolve ${type}: "${intent}"`;
+ ? "no brand spec found — add a frame.md or design.md (colors/font/logo) to this project. Run the HyperFrames design flow to create one; brand tokens are read locally for deterministic rendering."
+ : args.provider
+ ? `provider "${args.provider}" could not resolve ${type}: "${intent}"${localOnly ? " (--local-only skips network providers; drop it or the --provider override)" : ""}`
+ : `no provider could resolve ${type}: "${intent}"`;
if (args.json) {
console.log(
JSON.stringify({