@officexapp/vidfarm-devcli 0.21.55 → 0.21.57
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/.agents/skills/vidfarm/SKILL.md +87 -1
- package/.agents/skills/vidfarm/harnesses/README.md +1 -0
- package/.agents/skills/vidfarm/references/automation-and-local-dev.md +6 -1
- package/.agents/skills/vidfarm/references/reviewing-renders.md +11 -2
- package/SKILL.director.md +104 -4
- package/SKILL.md +77 -5
- package/clipper.md +36 -4
- package/dist/src/cli.js +168 -4
- package/dist/src/devcli/clipper-run.js +941 -0
- package/dist/src/devcli/doctor.js +23 -1
- package/dist/src/devcli/local-frontend-server.js +10 -2
- package/dist/src/devcli/local-render.js +28 -2
- package/dist/src/devcli/marketplace-gigs.js +545 -39
- package/dist/src/devcli/qa-check.js +27 -1
- package/dist/src/devcli/update-check.js +340 -0
- package/dist/src/lib/engine-globals.js +138 -0
- package/dist/src/lib/frozen-render.js +130 -0
- package/dist/src/services/composition-lint.js +16 -0
- package/experimental/engaging-chat-convo.md +1370 -0
- package/experimental/flash-harness.md +549 -0
- package/marketplace.md +544 -14
- package/package.json +7 -2
- package/public/serve-shells/editor.html +27 -0
- package/public/serve-shells/library-files.html +28 -1
- package/public/serve-shells/library-raws.html +27 -0
- package/public/serve-shells/tools-clipper.html +27 -0
- package/public/serve-shells/tools-image.html +27 -0
- package/public/serve-shells/tools-video.html +27 -0
- package/update.md +27 -2
|
@@ -5,6 +5,7 @@
|
|
|
5
5
|
// composition vocabulary (data-vf-* proxies, transition holds, caption spans).
|
|
6
6
|
import { parseHTML } from "linkedom";
|
|
7
7
|
import { CAPTION_ANIMATIONS, KEN_BURNS_PRESETS, TRANSITION_OUT_PRESETS, TRANSITION_PRESETS } from "../hyperframes/composition.js";
|
|
8
|
+
import { ENGINE_GLOBALS_FIX, findEngineOwnedGlobalAssignments, usesTimelineLibraryWithoutRegistry } from "../lib/engine-globals.js";
|
|
8
9
|
const OVERLAP_EPSILON = 0.011;
|
|
9
10
|
function parseNumberAttr(value) {
|
|
10
11
|
if (typeof value !== "string" || !value.trim()) {
|
|
@@ -175,6 +176,21 @@ export function lintCompositionHtml(html) {
|
|
|
175
176
|
}
|
|
176
177
|
}
|
|
177
178
|
}
|
|
179
|
+
// ── Engine-owned globals ────────────────────────────────────────────────────
|
|
180
|
+
// The highest-value check in this file. A composition that assigns
|
|
181
|
+
// window.__player (or window.__hf) still renders, still exits 0, and still
|
|
182
|
+
// writes a correct-length MP4 — in which nothing moves. Nothing downstream
|
|
183
|
+
// catches it, so it has to be an ERROR here. See lib/engine-globals.ts.
|
|
184
|
+
for (const hit of findEngineOwnedGlobalAssignments(trimmed)) {
|
|
185
|
+
push("error", "engine_owned_global_assigned", `Line ${hit.line} assigns window.${hit.global} — the HyperFrames engine owns that global. ` +
|
|
186
|
+
"Assigning it destroys the frame-capture bridge: the render still succeeds and writes a video in which NOTHING MOVES. " +
|
|
187
|
+
ENGINE_GLOBALS_FIX, hit.snippet);
|
|
188
|
+
}
|
|
189
|
+
if (usesTimelineLibraryWithoutRegistry(trimmed)) {
|
|
190
|
+
push("warning", "missing_timeline_registry", 'Composition builds a GSAP/anime timeline but never registers one on window.__timelines. ' +
|
|
191
|
+
'The engine drives motion by SEEKING a registered paused timeline — without it the render is a still image. ' +
|
|
192
|
+
'Add: window.__timelines = window.__timelines || {}; window.__timelines["<data-composition-id>"] = tl;');
|
|
193
|
+
}
|
|
178
194
|
const scripts = document.querySelectorAll("script");
|
|
179
195
|
if (scripts.length > 0) {
|
|
180
196
|
push("warning", "scripts_stripped_on_save", `Composition contains ${scripts.length} <script> tag(s). Scripts survive local serve/disk renders, but every cloud/web editor save strips them (stored-XSS defense) — script-driven animation will be lost there. Prefer the declarative preset vocabulary (data-kenburns, data-transition, data-caption-animation) for compositions that round-trip through the web editor.`);
|