cueframe 0.11.4 → 0.12.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 +36 -30
- package/dist/analyze-OBHAAM3S.js +2 -0
- package/dist/{chunk-HB4NDWMH.js → chunk-JBQC3HBB.js} +9 -9
- package/dist/cueframe.js +65 -65
- package/dist/skills/composing-video/SKILL.md +2 -0
- package/dist/skills/composing-video/references/tool-map.md +14 -0
- package/dist/skills/cueframe-brand-demo/SKILL.md +1 -1
- package/dist/skills/cueframe-cli/SKILL.md +44 -44
- package/dist/skills/cueframe-component-authoring/SKILL.md +4 -2
- package/dist/skills/cueframe-component-authoring/references/native-component-workflows.md +29 -12
- package/dist/skills/cueframe-component-authoring/references/optical-pill-study.md +38 -0
- package/dist/skills/cueframe-component-authoring/references/optical-pill-study.scene.json +212 -0
- package/dist/skills/cueframe-component-authoring/references/parented-device-card.json +1 -1
- package/dist/skills/cueframe-component-authoring/references/parented-motion.md +6 -0
- package/dist/skills/cueframe-component-authoring/references/worked-examples.md +56 -0
- package/dist/skills/cueframe-compose-loop/SKILL.md +6 -2
- package/dist/skills/cueframe-connect/SKILL.md +1 -1
- package/dist/skills/cueframe-connect/references/tools.md +14 -4
- package/dist/skills/cueframe-product-video/SKILL.md +7 -7
- package/dist/skills/cueframe-reference-video/SKILL.md +3 -1
- package/dist/skills/cueframe-reference-video/references/measurement-and-comparison.md +6 -0
- package/dist/skills/cueframe-scene-shot/SKILL.md +34 -6
- package/package.json +3 -3
- package/dist/analyze-I7B5SFLM.js +0 -2
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
# Reusable studies and evidence boundaries
|
|
2
|
+
|
|
3
|
+
These are existing implementation references and engineering input records, not completed films or a new example collection. Resolve the installed exact artifact before using it. A source check does not demonstrate received pixels, motion, rights, save/reopen or successor reuse.
|
|
4
|
+
|
|
5
|
+
## Seed 1: mounted card with an editable event clock
|
|
6
|
+
|
|
7
|
+
Implementation: [complete card](parented-device-card.json), [clock and parenting](parented-motion.md). Raw packaged JSON SHA-256: `bd90d4ffa2d9934ae2640476be187594e6cfd3b6c88303f211ec7585d8aa59d5`. It is original Apache-2.0 sample artwork, with no external images or bundled font. Arial is a system-font request: record the actual resolved font on the qualified route; font substitution can change glyph bounds. The full-frame opaque wrapper is 1920×1080, 30 fps, 120 frames. Its host clock is clip-local `--cf-t`, not wall time.
|
|
8
|
+
|
|
9
|
+
Use A/B as the two own-input records and `retimed` as the isolated clock-only step on the same source. JSON strings for CSS `content` deliberately include their quote characters. No token changes the fixed design-space phone or parent pose.
|
|
10
|
+
|
|
11
|
+
```json
|
|
12
|
+
{
|
|
13
|
+
"A": {"contactSec":"2.0","holder":"\"MAYA\"","accent":"#4265d5"},
|
|
14
|
+
"retimed": {"contactSec":"2.5","holder":"\"MAYA\"","accent":"#4265d5"},
|
|
15
|
+
"B": {"contactSec":"2.5","holder":"\"ALEXANDRA CHEN-RIVERA\"","accent":"#8357b8"}
|
|
16
|
+
}
|
|
17
|
+
```
|
|
18
|
+
|
|
19
|
+
Engineering assertions: the pointer tip reaches screen coordinate (180,435); contact shifts from frame 60 to 75 and response completion from 66 to 81; parent transforms and all other copy remain fixed; the longer holder stays within its bounded card text box; frame 119 still displays the final state. Capture arrival, settled pose, the frame before/at contact, response and final tail, plus continuous motion. Current evidence is source admission/input checking only; captured two-input motion and independent readability verdict remain pending.
|
|
20
|
+
|
|
21
|
+
## Seed 2: exact maintained overlapping screenshot cards
|
|
22
|
+
|
|
23
|
+
Use `resolve_builtin_component` for this selected **preset**, preserving its full source, preset values and historical document. Identity: collection `curated-looks`, id `builtin:reference-component-carousel-card-shuffle`, revision/preset `22390815b0b38ac1d06db7bd3b2716003357315e9cffb35fa99b89c610c1503a`. Definition: collection `curated-definitions`, component `curated-b44c933ef164085019727b9c-164at30`, version 4, source `ed91ad0ee14b60714a692f1a0770e946ebe25eba631a6dd2ee99f9f1402a645a`. Historical document SHA-256: `95cd65e37fc3d4f314b3af28b5a9b339d45cdaf295d1e0070434deac736954ec`.
|
|
24
|
+
|
|
25
|
+
The maintained implementation is in the kernel's curated component artifacts, not duplicated in this skill. Resolve its returned `documentText` and verify the returned document hash before insertion. Preserve the exact source/preset seed and saved duration (164 frames at 30 fps); a display name or poster cannot reconstruct it. `image1` is required; `image2`–`image8` are optional declared media inputs. Replace the declared slots with owned or cleared screenshots and retain their rights, byte hashes and dimensions. A declared sample URL is not evidence of customer media rights or a delivered image.
|
|
26
|
+
|
|
27
|
+
The actual definition declares `pace` (0.4–2.5; saved value 1.0975609756097562), `stagger` (0–1), `direction` (forward/reverse), position and tilt controls. For a parameter-only engineering comparison, preserve every saved value except `pace:1.25`; do not invent `duration`, `speed`, or a replacement clock. Its motion controls preserve the saved composition duration. Bind two separately cleared screenshot sets: one wide app-layout set and one portrait/dense-layout set, with the same slot order. Record crops, visible text rectangles and overlap at matched saved frames, plus final tail. These input sets and visual comparisons are required runtime evidence, not assets secretly embedded by this guide.
|
|
28
|
+
|
|
29
|
+
Hosted insertion uses the resolved exact document pin, current project revision/brand witness and supported `apply_template` contract. Reopen, inspect the placed exact source/params/assets, make a scoped control change, undo/redo and export. A complete resolver response plus honest delivered/unavailable preview status is the engineering fixture; actual model receipt of pixels and adaptation remain acceptance gates.
|
|
30
|
+
|
|
31
|
+
## Existing brief coverage, not an added inventory
|
|
32
|
+
|
|
33
|
+
| Existing brief ID | Representative job and study | Required own-input and successor evidence |
|
|
34
|
+
| --- | --- | --- |
|
|
35
|
+
| `ui-interaction` (13), “One interaction, clearly” | Mounted UI: seed 1; screenshot arrangement: seed 2 | New screenshot/copy/brand, A/B clock or palette inputs, normal author and fresh actor correction. |
|
|
36
|
+
| `commerce-product` (08), “Made for every day” | Material/geometry job through the admitted canonical scene capability | Two geometry/material/lighting inputs; exact scene/source/environment assets and route proof. EA09 capability and creative acceptance remain dependent work; no completed example is asserted here. |
|
|
37
|
+
| `author-teaser` (19), “The first page, in motion” | Media/type/caption composition with different source media and long copy/glyphs | Cleared media, actual resolved font/glyph bounds and caption timing; source and final captured output review. Seed 1's bounded name is one text input check, not this whole job. |
|
|
38
|
+
| `batch-production` (22), “Three inputs, three finished videos” | Parameterized API reuse of retained source/package | At least two input records, scoped revision and preserved unrelated fields, save/reopen, portable restoration and a fresh actor retrieving persisted evidence. The retained brief's three-output obligation remains. |
|
|
39
|
+
|
|
40
|
+
These IDs belong to the existing 22-brief plan. Its provisional editorial timings are not API values. Record source/asset identity, cold/warm state, mechanical assertions, creative verdict and the declared timing bar per journey; retain failures and unknown charges. The normal-author browser harness records actual tools/skills/images and saved context; injected MCP headers are contract testing only.
|
|
41
|
+
|
|
42
|
+
## Seed 3: experimental optical pill study
|
|
43
|
+
|
|
44
|
+
Implementation: [complete canonical scene](optical-pill-study.scene.json) and [bounded inputs, clock and closure](optical-pill-study.md). It combines an existing bounded shader field, physical transmission slab and canonical screen text in SceneShotSpecV2; use `scene.add` / `scene.update`, not a native component wrapper. The guide defines independent field/pill controls and two input records with 15→45→15 clock checks, exact bundled Inter font facts and separate rights notices.
|
|
45
|
+
|
|
46
|
+
The complete source passes canonical parsing and combined production Node preparation seals its plan. Actual normal-product two-input motion, received pixels, runtime resolved font, portable successor reuse and final-scale review are still required. No ring/phone fidelity or completed creative result is asserted. EA07 and the related EA09 creative obligations remain open until the integrated candidate is frozen and those runtime/creative gates pass.
|
|
47
|
+
|
|
48
|
+
## Engineering harness handoff
|
|
49
|
+
|
|
50
|
+
The existing web test owner is `packages/web/tests/example-authoring.spec.ts`. Its maintained Playwright global setup owns isolated auth/backend/seed media; the test adds no source injection or tool router. Do not run its natural-author turn before the integrated candidate freeze. Set `CUEFRAME_EXAMPLE_AUTHORING_RUN=1` only for that authorized runtime gate, with `CUEFRAME_EXAMPLE_AUTHORING_FIXTURE` naming a local JSON record. The record selects one existing brief ID above, `transport` (`eve` or `native-cli`), `modelLabel` (and native `providerModel`, checked against the actual provider turn), per-turn `timeoutMs` (up to one hour), `candidateReceiptPath` and `candidateIdentity` (the exact SHA-256 of that freeze receipt). It also supplies `initial` and `revision` records with ordinary `intent` plus `assets:[{url,sha256,rights,width,height}]`, a plain-language `successorIntent`, an existing `requiredSkill`, and booleans `requireExampleDiscovery`/`preserveExistingClips`. Discovery reuse requires two different cleared input sets. These are test controls and assertions, not prescribed artifact IDs or tools in the actor prompt.
|
|
51
|
+
|
|
52
|
+
The harness records the actual selected model label, received editor stream, source-preserving composition snapshots, actual encoded image attachments and hashes, a scoped revision, product undo/redo, close/reopen and a new-conversation correction from persisted editorial context. A returned URL, a skill path in UI text or a guide hash is not received pixels or a complete skill read. Negative outcomes retain their trace and remain failures. Model capability or a guide file cannot substitute for the missing runtime gate.
|
|
53
|
+
|
|
54
|
+
Native UI progress can omit image payloads and provider-local reads. The initial supplemental provider-trace reader supports Codex JSONL only; other native providers remain an explicit instrumentation gap. For this route set `CUEFRAME_EXAMPLE_AUTHORING_NATIVE_TRACE_MANIFEST` to an authorized observer's local manifest. Each entry has `stage` (`initial`, `scoped-revision`, `fresh-successor`), `tracePath`, raw trace `sha256`, and `thread`, the actual owner-scoped `agentThreads` snapshot including its canonical `nativeBinding`. The export must preserve original session metadata and timestamps, have mode 0600, and match the browser conversation/project/user, native session and scoped workspace digest. The test reads only that correlated existing trace; it never writes a binding or sends a replacement turn. A private trace's received tool output may still be truncated: the receipt labels the read attempt, returned text and truncation separately, with complete skill-byte delivery unproved. Provider-local image bytes are attached only when actually present; absence fails the pixel gate.
|
|
55
|
+
|
|
56
|
+
The delegated-editor fixtures in private `services/selfhost/e2e-mcp.mjs` separately test literal discovery, exact raw document/source/preset pins, explicit delivered/unavailable preview status, stale pin/media/revision refusals and pinned insertion/replay/fresh read. They prescribe the exact seed intentionally and use injected platform headers, so they are contract evidence rather than natural uptake. Record the actual loaded server/archive/skill identities through the candidate installation receipt; the script's local catalog export hash identifies only its installed client catalog bytes.
|
|
@@ -7,7 +7,7 @@ description: "Use when previewing, reviewing or revising a CueFrame composition,
|
|
|
7
7
|
|
|
8
8
|
Use the [project and capability policy](../composing-video/references/project-policy.md). This skill owns evidence, revision scope and delivery; craft and format skills describe what to look for.
|
|
9
9
|
|
|
10
|
-
Read the current saved composition and relevant source before changing it. Reuse the approved brief or supplied reference. A local correction does not restart planning. For exact builtin preset/recipe insertion, use [builtin insertion](references/builtin-insertion.md).
|
|
10
|
+
Read the current saved composition and relevant source before changing it. Reuse the approved brief or supplied reference. A local correction does not restart planning. On a resumed or delegated turn, recover the full goal, the distinct scoped amendment and the current saved review state from the existing brief, ledger or notes; inspect the relevant evidence before continuing. For exact builtin preset/recipe insertion, use [builtin insertion](references/builtin-insertion.md).
|
|
11
11
|
|
|
12
12
|
## Inspect the behavior that matters
|
|
13
13
|
|
|
@@ -15,11 +15,15 @@ Read [preview workflow](references/preview-workflow.md) to choose the supported
|
|
|
15
15
|
|
|
16
16
|
Locate a finding in the film: when it happens, what is visible or audible, what the brief/reference requires, and which relationship needs to change. For reconstruction, compare matching source/output landmarks and the interval between them. If a requested revision deliberately changed timing, compare corresponding events rather than pretending they still share timestamps.
|
|
17
17
|
|
|
18
|
+
For a card or title covered by media, inspect the saved [visual track order](../composing-video/references/tool-map.md#visual-track-order) before changing its HTML or typography.
|
|
19
|
+
|
|
18
20
|
Fix the highest-impact cause you can explain. A layout failure may need a grid change, a position adjustment, a different parent transform or a new shot choice. Do not force every correction into one technique. Use targeted atomic operations against the observed revision and retain concurrent edits. Every committing batch needs the required `if_match` from the current read. After a conflict, reread the changed state and rebuild the intended change; never resend old operations with the error's `currentEtag`.
|
|
19
21
|
|
|
20
22
|
## Recheck the affected scene
|
|
21
23
|
|
|
22
|
-
A timing change can affect more than the edited clip: backing plates, screen masks, linked controls, captions, sound and neighboring handoffs. Inspect the changed window with its entrance/exit context. If the ending must be preserved, verify the complete final scene through its last frame, not just an unchanged logo object. Check saved values as well as actual output.
|
|
24
|
+
A timing change can affect more than the edited clip: backing plates, screen masks, linked controls, captions, sound and neighboring handoffs. Inspect the changed window with its entrance/exit context. If the ending must be preserved, verify the complete final scene through its last frame, not just an unchanged logo object. Check saved values as well as actual output. Review verdicts cover only the inspected windows and identified composition/source versions. Retain unaffected review results; recheck affected windows when their source or version changes.
|
|
25
|
+
|
|
26
|
+
Return a failed saved comparison to the same author, or an explicit successor with the goal, amendment, saved state and evidence intact. Saving source changes alone leaves review unfinished. Do not report a repair complete until its saved output has been reinspected; see [handoff and review continuity](../cueframe-reference-video/references/measurement-and-comparison.md#handoff-and-review-continuity).
|
|
23
27
|
|
|
24
28
|
`score_composition` can supply broader editorial, spatial, brand and caption critique when useful and within budget. Its fixed caption criterion can penalize intentionally uncaptioned work; do not add captions solely to improve a score. These instructions do not change judge behavior. A failed brief requirement remains a failure regardless of a numerical score.
|
|
25
29
|
|
|
@@ -17,7 +17,7 @@ When a required capability is missing, explain the limitation and the supported
|
|
|
17
17
|
- **Claude.ai / Claude Desktop:** Settings → Connectors → add a custom connector with
|
|
18
18
|
`https://api.cueframe.ai/v1/mcp`.
|
|
19
19
|
- **Other agents (Cursor, Codex, VS Code, Windsurf, Zed, Antigravity CLI, Copilot CLI, …):**
|
|
20
|
-
use `npx -y cueframe@0.
|
|
20
|
+
use `npx -y cueframe@0.12 install --help` to select the intended client; preserve existing configuration and avoid duplicate installs.
|
|
21
21
|
- **ChatGPT:** the CLI cannot wire it because there is no local config to write; add
|
|
22
22
|
`https://api.cueframe.ai/v1/mcp` as a custom connector instead.
|
|
23
23
|
- **No account (pay per call):** connect
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# CueFrame tool reference
|
|
2
2
|
|
|
3
|
-
Generated from the @cueframe/mcp 0.13.
|
|
3
|
+
Generated from the @cueframe/mcp 0.13.2-ea20261029.3 catalog (commit 7448f95b9). Do not edit it by hand.
|
|
4
4
|
|
|
5
5
|
Every CueFrame tool by its catalog name. A host may show it with a connection prefix (`mcp__cueframe__get_account`, `cueframe-read__get_account`); the name after the last `__` is the catalog name. **read** tools change no state, though some are metered; **write** tools change state, and a composition write takes the revision it edits.
|
|
6
6
|
|
|
@@ -8,6 +8,7 @@ Hosted surfaces: `api` is the MCP server at `https://api.cueframe.ai/v1/mcp`; `e
|
|
|
8
8
|
|
|
9
9
|
| Tool | Access | Hosted | Desktop |
|
|
10
10
|
| --- | --- | --- | --- |
|
|
11
|
+
| `acquire_registry_item` | write | api, editor, compose | director, external, cli |
|
|
11
12
|
| `analyze_transcript` | read | editor, compose | director, plan, external, cli |
|
|
12
13
|
| `apply_composition` | write | api, editor, compose | director, external, cli |
|
|
13
14
|
| `apply_template` | write | api, editor | director, external, cli |
|
|
@@ -28,6 +29,7 @@ Hosted surfaces: `api` is the MCP server at `https://api.cueframe.ai/v1/mcp`; `e
|
|
|
28
29
|
| `create_component` | write | api, editor, compose | director, external, cli |
|
|
29
30
|
| `create_project` | write | api | external |
|
|
30
31
|
| `create_render` | write | api, editor, compose | director, external, cli |
|
|
32
|
+
| `create_template_package_upload` | write | api | - |
|
|
31
33
|
| `create_upload` | write | api | - |
|
|
32
34
|
| `create_webhook` | write | api | - |
|
|
33
35
|
| `delete_brief` | write | api | - |
|
|
@@ -38,7 +40,7 @@ Hosted surfaces: `api` is the MCP server at `https://api.cueframe.ai/v1/mcp`; `e
|
|
|
38
40
|
| `delete_webhook` | write | api | - |
|
|
39
41
|
| `derive_composition` | write | api, editor, compose | director, external, cli |
|
|
40
42
|
| `describe_composition_ops` | read | api, editor, compose | director, plan, external, cli |
|
|
41
|
-
| `download_media` | read | api | - |
|
|
43
|
+
| `download_media` | read | api, editor | - |
|
|
42
44
|
| `edit_component` | write | - | director, external, cli |
|
|
43
45
|
| `editorial_apply` | write | api, editor, compose | director, cli |
|
|
44
46
|
| `editorial_begin` | write | - | director, cli |
|
|
@@ -57,6 +59,7 @@ Hosted surfaces: `api` is the MCP server at `https://api.cueframe.ai/v1/mcp`; `e
|
|
|
57
59
|
| `editorial_run_source` | read | api, editor, compose | director, plan, external, cli |
|
|
58
60
|
| `editorial_sample_motion` | write | api, editor, compose | director, cli |
|
|
59
61
|
| `export_project` | write | - | external |
|
|
62
|
+
| `export_template_package` | write | api, editor | - |
|
|
60
63
|
| `extract_brand_kit` | write | api | - |
|
|
61
64
|
| `finalize_upload` | write | api | - |
|
|
62
65
|
| `forget_taste` | write | api, editor, compose | director, external, cli |
|
|
@@ -75,14 +78,19 @@ Hosted surfaces: `api` is the MCP server at `https://api.cueframe.ai/v1/mcp`; `e
|
|
|
75
78
|
| `get_media_facts` | read | api | director, plan, external, cli |
|
|
76
79
|
| `get_profile` | read | api, editor, compose | director, plan, external, cli |
|
|
77
80
|
| `get_project_settings` | read | - | external |
|
|
81
|
+
| `get_registry_acquisition` | read | api, editor, compose | director, plan, external, cli |
|
|
82
|
+
| `get_registry_item` | read | api, editor, compose | director, plan, external, cli |
|
|
78
83
|
| `get_render` | read | api | - |
|
|
79
84
|
| `get_scene_contract` | read | - | director, plan, external, cli |
|
|
80
85
|
| `get_template` | read | api, editor | director, plan, external, cli |
|
|
86
|
+
| `get_template_job` | read | api, editor | - |
|
|
87
|
+
| `get_template_package_download` | read | api, editor | - |
|
|
81
88
|
| `get_transcript` | read | api, editor, compose | director, plan, external, cli |
|
|
82
89
|
| `get_usage` | read | api, editor, compose | director, plan, external, cli |
|
|
83
90
|
| `import_local_media` | write | - | director, external, cli |
|
|
84
91
|
| `import_media` | write | api, editor, compose | director, external, cli |
|
|
85
92
|
| `import_resource` | write | api, editor, compose | director, external, cli |
|
|
93
|
+
| `import_template_package` | write | api | - |
|
|
86
94
|
| `install_local_person_runtime` | write | - | director, external, cli |
|
|
87
95
|
| `list_briefs` | read | api | - |
|
|
88
96
|
| `list_catalog` | read | api, editor, compose | director, plan, external, cli |
|
|
@@ -93,7 +101,7 @@ Hosted surfaces: `api` is the MCP server at `https://api.cueframe.ai/v1/mcp`; `e
|
|
|
93
101
|
| `list_media` | read | api, editor, compose | director, plan, external, cli |
|
|
94
102
|
| `list_plans` | read | api | - |
|
|
95
103
|
| `list_projects` | read | api | external |
|
|
96
|
-
| `list_render_fonts` | read | api | director, plan, external, cli |
|
|
104
|
+
| `list_render_fonts` | read | api, editor | director, plan, external, cli |
|
|
97
105
|
| `list_taste` | read | api, editor, compose | director, plan, external, cli |
|
|
98
106
|
| `list_templates` | read | api, editor | director, plan, external, cli |
|
|
99
107
|
| `new_composition` | write | api, editor, compose | director, external, cli |
|
|
@@ -111,19 +119,21 @@ Hosted surfaces: `api` is the MCP server at `https://api.cueframe.ai/v1/mcp`; `e
|
|
|
111
119
|
| `publish_component` | write | - | external |
|
|
112
120
|
| `read_component` | read | - | director, plan, external, cli |
|
|
113
121
|
| `redo_edit` | write | - | external |
|
|
122
|
+
| `refresh_registry_snapshot` | write | api, editor, compose | director, external, cli |
|
|
114
123
|
| `refresh_render_url` | write | api | - |
|
|
115
124
|
| `register_critic` | write | api | - |
|
|
116
125
|
| `remember_taste` | write | api, editor, compose | director, external, cli |
|
|
117
126
|
| `rename_project` | write | - | external |
|
|
118
127
|
| `render_component_preview_frame` | read | - | director, plan, external, cli |
|
|
119
128
|
| `repin_component` | write | api | director, external, cli |
|
|
120
|
-
| `resolve_builtin_component` | read | api | - |
|
|
129
|
+
| `resolve_builtin_component` | read | api, editor | - |
|
|
121
130
|
| `resume` | write | api | - |
|
|
122
131
|
| `retry_render` | write | api | - |
|
|
123
132
|
| `save_as_template` | write | - | director, external, cli |
|
|
124
133
|
| `score_composition` | write | api, editor, compose | director, external, cli |
|
|
125
134
|
| `search_fonts` | read | api, editor, compose | director, plan, external, cli |
|
|
126
135
|
| `search_library` | read | editor, compose | director, plan, external, cli |
|
|
136
|
+
| `search_registry_items` | read | api, editor, compose | director, plan, external, cli |
|
|
127
137
|
| `search_resources` | read | api, editor, compose | director, plan, external, cli |
|
|
128
138
|
| `seek` | write | - | director, plan, external, cli |
|
|
129
139
|
| `select_candidate` | write | api | - |
|
|
@@ -15,7 +15,7 @@ to author, not how to transport it.
|
|
|
15
15
|
|
|
16
16
|
**Drive the primitives over MCP if you can call tools** (`new_composition` /
|
|
17
17
|
`apply_composition` / `validate_composition` / `create_render` — see the
|
|
18
|
-
`cueframe-connect` skill for the one-line setup). The `npx -y cueframe@0.
|
|
18
|
+
`cueframe-connect` skill for the one-line setup). The `npx -y cueframe@0.12 …` commands
|
|
19
19
|
written out below are the same operations for a terminal or CI job with no MCP
|
|
20
20
|
host; see the `cueframe-cli` skill.
|
|
21
21
|
|
|
@@ -58,7 +58,7 @@ style's) over each window. Result → `source.reframe.segments` on the clip.
|
|
|
58
58
|
## 3. Compose
|
|
59
59
|
|
|
60
60
|
One video track, the screen recording as a media clip carrying the reframe.
|
|
61
|
-
`npx -y cueframe@0.
|
|
61
|
+
`npx -y cueframe@0.12 composition put <projectId> -b @composition.json --if-match <etag>`, with the
|
|
62
62
|
ETag from `composition get` (`--create` for the project's first composition; see `cueframe-cli`).
|
|
63
63
|
Choose `-a 16:9` for landscape product video, `9:16` for social.
|
|
64
64
|
|
|
@@ -96,21 +96,21 @@ check framing with `preview_frame` and click/zoom timing with an affected-window
|
|
|
96
96
|
For a small revision, verify that change and relevant regressions without exporting the whole film.
|
|
97
97
|
When delivering the finished video:
|
|
98
98
|
|
|
99
|
-
`npx -y cueframe@0.
|
|
99
|
+
`npx -y cueframe@0.12 render <projectId> -o out.mp4 --json`. Verify the output (ffprobe +
|
|
100
100
|
sample frames) before declaring done.
|
|
101
101
|
|
|
102
102
|
## Worked examples — composition JSON
|
|
103
103
|
|
|
104
104
|
These are **orientation, not the contract.** The live wire schema is
|
|
105
|
-
`npx -y cueframe@0.
|
|
106
|
-
`npx -y cueframe@0.
|
|
105
|
+
`npx -y cueframe@0.12 schema composition`, and the way to know a draft is correct is
|
|
106
|
+
`npx -y cueframe@0.12 composition validate -b @composition.json` — it runs the same
|
|
107
107
|
validator the server enforces, with no save and no render. Discover + validate
|
|
108
108
|
before you render; never spend a render to find a schema mistake.
|
|
109
109
|
|
|
110
110
|
Each block below is a complete `@composition.json` (the bare object `composition put`
|
|
111
111
|
accepts: top-level `v`, `format`, `tracks`, optional `captions`). All five validate
|
|
112
112
|
against the real wire schema + save invariants (swap the `<…MediaId>` placeholders for
|
|
113
|
-
real `npx -y cueframe@0.
|
|
113
|
+
real `npx -y cueframe@0.12 upload` ids). Conventions that keep them valid:
|
|
114
114
|
|
|
115
115
|
- Tracks hold **`contents`** (not `clips`); each clip wraps a `source`.
|
|
116
116
|
- A clip's `source.kind` must match the track `kind`: `media` → `video`/`image`/`audio`
|
|
@@ -292,4 +292,4 @@ Talking-head with an `active-speaker` reframe and a `heroText` title at `zPlane:
|
|
|
292
292
|
background. See EX3 / EX4 below.
|
|
293
293
|
- This recipe lives in a skill on purpose: the engine stays use-case-free; the
|
|
294
294
|
product opinions (style, which primitives, layout) live here and ship via
|
|
295
|
-
`npx -y cueframe@0.
|
|
295
|
+
`npx -y cueframe@0.12 install`. Add sibling recipes (`cueframe-podcast-clip`, …) the same way.
|
|
@@ -15,6 +15,8 @@ Treat the supplied film as the acceptance anchor. Reconstruct what it communicat
|
|
|
15
15
|
|
|
16
16
|
Use the current runtime's advertised source and motion-inspection capabilities. An overview finds the phrases; denser samples around a transformation reveal its path, overlap, masking, occlusion and settling. Increase coverage where adjacent observations do not explain the motion. Distinguish a visible cut from an inferred continuous morph.
|
|
17
17
|
|
|
18
|
+
Before dependent authoring, the receiving author must inspect the actual reference media or delivered frames and relevant consecutive motion. An asset ID, path or prose description alone is not delivery. Recover missing evidence through supported tools; continue independent work while it is unavailable. Reference assets may remain analysis-only and need not appear in the output.
|
|
19
|
+
|
|
18
20
|
Keep a concise [reference ledger](references/measurement-and-comparison.md) linking observed timing, geometry, type, materials and sound events to evidence. Measure relevant landmarks and projected dimensions before guessing easing or camera behavior. Record unknown assets, fonts and audio separately from observations.
|
|
19
21
|
|
|
20
22
|
Eve may have no shell or local media access. Use delivered source/motion evidence through available tools; do not assume FFmpeg, downloads or local scripts can run. A capable local host can use FFprobe/FFmpeg for analysis, comparisons and decode checks. These are not substitute renderers for CueFrame. Report missing observation capabilities rather than claiming unseen motion or unheard sound.
|
|
@@ -23,7 +25,7 @@ For a local file, `bash scripts/motion-grid.sh INPUT OUTPUT_DIR` creates overvie
|
|
|
23
25
|
|
|
24
26
|
## Author, compare and deliver
|
|
25
27
|
|
|
26
|
-
Choose useful fidelity anchors and prove the difficult motion early through supported component or timeline previews. Use CueFrame tools for saved authoring, previews and rendering. Keep related motion and sound tied to the same timing decisions; preserve editable text and meaningful parameters. Native peers can help when separate authored work is useful, but continuity still needs integrated review.
|
|
28
|
+
Choose useful fidelity anchors and prove the difficult motion early through supported component or timeline previews. Use CueFrame tools for saved authoring, previews and rendering. Keep related motion and sound tied to the same timing decisions; preserve editable text and meaningful parameters. Native peers can help when separate authored work is useful, but continuity still needs integrated review. Hand off inspectable reference evidence and, once available, candidate evidence with their identities, timestamps and current findings, and verify that the receiver inspected it; coordinator inspection alone is insufficient. Share existing media even while a render slot is busy. See the [comparison handoff guidance](references/measurement-and-comparison.md#handoff-and-review-continuity).
|
|
27
29
|
|
|
28
30
|
Compare actual output at the reference's timestamps and inspect the intervening motion. When available, use `compare_frames` on an identified source frame and saved preview artifact; its unaligned pair/overlay exposes layout drift without rendering the composition again. Read the [worked comparison](references/measurement-and-comparison.md) for geometry, intentional retiming and evidence limits. Fix located mismatches in scale, pose, direction, timing, readability or material before decorative polish. A score or successful compile cannot approve a failed reference requirement. Separate measured audio properties from listening and reused audio from new sound design.
|
|
29
31
|
|
|
@@ -22,6 +22,12 @@ Record findings as `time/window · observed mismatch → intended correction ·
|
|
|
22
22
|
|
|
23
23
|
A complete delivery can include a small set of fidelity anchors, critical motion comparisons, actual movie identity, asset/source provenance and unresolved differences. Audio signal measurements establish technical properties, not a listening verdict. Reusing the reference mix can isolate picture timing, but it does not demonstrate an authored score; reordering visuals may require reconsidering that mix.
|
|
24
24
|
|
|
25
|
+
## Handoff and review continuity
|
|
26
|
+
|
|
27
|
+
Use the existing brief, ledger or review notes for continuity. For reference work, supply inspectable reference media/frames and their identities and relevant timestamps. Once a candidate exists, include its evidence, saved composition and pinned source versions, and the current finding with its intended correction. Include consecutive motion where a still cannot establish behavior. Confirm the receiving author can access and has inspected this evidence before dependent authoring; a coordinator's inspection, ID, path or verbal summary does not establish receipt. If evidence is missing, recover it through supported tools and continue independent work. A busy render slot does not prevent sharing existing artifacts, and analysis-only reference media need not be added to the authored output.
|
|
28
|
+
|
|
29
|
+
Keep the full delivery goal distinct from the latest scoped amendment. After resumption or delegation, recover both and the current saved review state before acting. Route failed saved comparisons back to their author or name a successor with that continuity. Source-only changes leave an open review until the saved result is reinspected. Tie each review verdict to the inspected window and composition/source versions: preserve unrelated review results, and recheck windows affected by changed source or timing.
|
|
30
|
+
|
|
25
31
|
## Worked correction: title spacing and a list thumbnail
|
|
26
32
|
|
|
27
33
|
In a 1920×1080, 30 fps reference study, the title at frame 117 had a 34px gap from its left word to a central mark and a 41px gap from that mark to the right word. The saved reproduction measured about 3px and 22px. Its type group was also narrower: 1021px against 1304px. These were visible glyph bounds in the output, not the HTML elements' CSS widths.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: cueframe-scene-shot
|
|
3
|
-
description: Author a CueFrame 3D world-object shot as canonical SceneShotSpecV2 JSON. Use for
|
|
3
|
+
description: Author a CueFrame 3D world-object shot as canonical SceneShotSpecV2 JSON. Use for devices, meshes, owned static models, captured component or video surfaces, world text, materials, bounded shader fields, camera motion, lighting, focus, and product-shot recipes.
|
|
4
4
|
---
|
|
5
5
|
|
|
6
6
|
# CueFrame scene shots
|
|
@@ -20,7 +20,7 @@ for the available hosted/local lane. Inspect affected camera/focus/entrance wind
|
|
|
20
20
|
not only keyframes. A scene tweak can finish with preview evidence; export for final delivery.
|
|
21
21
|
|
|
22
22
|
1. Create or open a composition at the target aspect and FPS.
|
|
23
|
-
2. Register every image or
|
|
23
|
+
2. Register every image, video, model, or environment asset through the supported media workflow. Bind owned media ids to the declared slots; retain the exact asset bytes for restoration. Capture-backed component surfaces use an exact component id, source version id, capture frame, layout, and optional bake scale.
|
|
24
24
|
3. Read `cueframe://scene-shot` (desktop: `get_scene_contract`), copy its `world-objects` recipe, and replace placeholder ids and copy.
|
|
25
25
|
4. Send `apply_composition` with `dry_run: true`. Fix the exact reported field path.
|
|
26
26
|
5. Apply the same batch for real. Preview the first frame, object entrances, focus transitions, and the last frame.
|
|
@@ -37,7 +37,7 @@ Animation keyframe `at` is normalized over clip duration. Easing belongs to the
|
|
|
37
37
|
|
|
38
38
|
## Objects and surfaces
|
|
39
39
|
|
|
40
|
-
V2 supports nested `group` layers and canonical `slab`, `page`, `phone`, `laptop`, and `
|
|
40
|
+
V2 supports nested `group` layers and canonical `slab`, `page`, `phone`, `laptop`, `text`, `mesh`, and `model` layers. Use only capabilities and profiles returned by the installed contract. Use each object's declared surface slot:
|
|
41
41
|
|
|
42
42
|
- `source: "image"` binds an admitted PNG, JPEG, or WebP through the outer `assets` map.
|
|
43
43
|
- `source: "component"` captures an immutable component source at the declared frame and layout. Omitted `bakeScale` lets preparation select 2× or 3×; an explicit insufficient scale refuses.
|
|
@@ -48,17 +48,45 @@ Never insert a URL, raw HTML, shader source, or placeholder art into a surface.
|
|
|
48
48
|
|
|
49
49
|
World text participates in camera, depth, occlusion, and focus. Screen text stays fixed above the world result. Both are line-authored with no automatic reflow. Every exact font family, weight, and style used by base or emphasized runs must be admitted.
|
|
50
50
|
|
|
51
|
+
Meshes use bounded indexed geometry with positions, normals, UVs and indices, or a tube described by points and segment counts. Keep topology static; use declared transforms and material controls for motion. Static instances share the admitted geometry where the contract permits them.
|
|
52
|
+
|
|
53
|
+
Models bind an owned GLB data asset through `assetSlot`. Select `static-glb-untextured-v1` or `static-glb-textured-v1` explicitly. The textured profile admits bounded embedded PNG/JPEG images; external image/buffer URLs, unsupported extensions/codecs, animation, skeletons and subnode editing remain refused. Model-level transforms are editable. Scalar material overrides must carry the exact bound `materialSourceSha256`; do not reuse an override against a replacement asset with another digest. Read the live profile's bounds before choosing an input file.
|
|
54
|
+
|
|
55
|
+
## Shader fields
|
|
56
|
+
|
|
57
|
+
Use `mesh.shader` only when the installed contract advertises `stateless-fragment-display-linear-v1`. It requires UV geometry, no instances or physical material override, and effective opacity 1 throughout its parent hierarchy. This is an opaque field material, not arbitrary GLSL or a surface binding.
|
|
58
|
+
|
|
59
|
+
The source defines `vec3 field(vec2 uv, vec3 localPosition)`. Uniforms are finite typed values; samplers name owned PNG/JPEG image slots with `colorSpace: "srgb"` for color or `"data"` for numeric samples. Shader images use fixed linear filtering and clamp wrapping without mipmaps; supported model textures retain their declared glTF samplers. The engine provides `cfFrame`, `cfRate`, `cfTime`, `cfSeed` and `cfResolution`. Use those clock/seed inputs for repeatable motion. Return display-linear RGB; the fixed wrapper clamps finite output to [0, 1], replaces non-finite components with zero, and writes alpha 1.
|
|
60
|
+
|
|
61
|
+
For example, this shader descriptor produces a field controlled by two editable colors:
|
|
62
|
+
|
|
63
|
+
```json
|
|
64
|
+
{
|
|
65
|
+
"profile": "stateless-fragment-display-linear-v1",
|
|
66
|
+
"source": "vec3 field(vec2 uv, vec3 localPosition) { return mix(tintA, tintB, clamp(uv.x, 0.0, 1.0)); }",
|
|
67
|
+
"uniforms": {
|
|
68
|
+
"tintA": { "type": "vec3", "value": [0.02, 0.08, 0.3] },
|
|
69
|
+
"tintB": { "type": "vec3", "value": [0.8, 0.15, 0.03] }
|
|
70
|
+
},
|
|
71
|
+
"samplers": {}
|
|
72
|
+
}
|
|
73
|
+
```
|
|
74
|
+
|
|
75
|
+
The profile bounds source size, parsed structure, expanded operations and texture samples; it allows at most 32 uniforms and 4 samplers. Loops, recursion, macros, extensions, derivatives, depth writes, feedback and scene-color/depth sampling are refused. Fix the returned source location or field path instead of bypassing the profile. Both live preview and capture must finish preparation and compile/draw readiness on their actual graphics context. A successful capture does not prove a different preview driver works.
|
|
76
|
+
|
|
51
77
|
## Lighting and post
|
|
52
78
|
|
|
53
|
-
Choose the generated studio environment for named studio profiles or `{kind:"photographic-studio-v1"}` for the fixed photographic recipe.
|
|
79
|
+
Choose the generated studio environment for named studio profiles or `{kind:"photographic-studio-v1"}` for the fixed photographic recipe. An owned environment uses `{kind:"owned-hdr-v1",assetSlot,intensity,rotation}` and an admitted RGBE 1024×512 data asset, at most 8 MiB encoded. External HDR URLs and other unadvertised profiles remain refused. Backdrops may be transparent, solid, linear, or radial. Focus is per-pixel world depth; sample the actual object face rather than its layer origin when choosing distance and range.
|
|
80
|
+
|
|
81
|
+
Use physical material fields only on the declared body roles. Transmission, thickness, attenuation and dispersion require the executing route's admitted resource profile; they are not unlit UI-surface controls. Verify the background and lighting through the transmitted object in motion. `post.bloom` uses `display-linear-bloom-v1` with strength, threshold, smoothing and radius, followed by grain/vignette. Read the installed ranges and budget refusals; zero/off bloom preserves the ordinary post path. These capabilities do not establish fidelity to a reference without inspecting the saved output.
|
|
54
82
|
|
|
55
83
|
Brand tokens are allowed only in schema-declared color and font-family fields. Read the token enums from the resource. A font token resolves the family only; authored weight and style still require exact admitted bytes.
|
|
56
84
|
|
|
57
85
|
## Limits and refusals
|
|
58
86
|
|
|
59
|
-
The contract admits at most 32 layers, 4 devices, 16 distinct image slots, 256 keyframes per channel, and 2048 keyframes per shot. Raw HTML,
|
|
87
|
+
The contract admits at most 32 layers, 4 devices, 16 distinct image slots, 256 keyframes per channel, and 2048 keyframes per shot, with additional per-profile geometry, decode and GPU budgets. Raw HTML, arbitrary shader properties or full GLSL, unsupported GLB/HDR profiles, skeletal animation and physics remain unsupported. Unknown keys, duplicate ids, missing bindings, non-finite values, aspect mismatch, budget overflow, and unsupported capabilities fail with a named code and exact path.
|
|
60
88
|
|
|
61
|
-
Composition-level global wrap effects do not reach front-overlay scene clips. Author grain, vignette, focus, backdrop, and environment inside the scene.
|
|
89
|
+
Composition-level global wrap effects do not reach front-overlay scene clips. Author bloom, grain, vignette, focus, backdrop, and environment inside the scene.
|
|
62
90
|
|
|
63
91
|
## Delivery checks
|
|
64
92
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "cueframe",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.12.0",
|
|
4
4
|
"description": "CueFrame video editing CLI: manage media, edit compositions and render MP4s from terminals and scripts.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"cueframe",
|
|
@@ -46,8 +46,8 @@
|
|
|
46
46
|
"typescript": "npm:@typescript/typescript6@^6.0.2",
|
|
47
47
|
"vitest": "^5.0.3",
|
|
48
48
|
"@typescript/native": "npm:typescript@^7.0.2",
|
|
49
|
-
"@cueframe/
|
|
50
|
-
"@cueframe/
|
|
49
|
+
"@cueframe/skills": "0.4.6",
|
|
50
|
+
"@cueframe/sdk": "^0.17.1"
|
|
51
51
|
},
|
|
52
52
|
"repository": {
|
|
53
53
|
"type": "git",
|
package/dist/analyze-I7B5SFLM.js
DELETED