You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CLAUDE.md
+5-3Lines changed: 5 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -17,7 +17,9 @@ Example projects live under `examples/`; runtime projects are copied to `~/.next
17
17
`target/debug/nf open --project=<slug> --composition=<slug>` — open a v2 composition in the desktop editor.
18
18
`target/debug/nf screenshot --project=<slug> --episode=<slug> --region=editor --out=<png>` — probe a desktop editor region and write a size stub PNG; use `capture` for visual evidence.
19
19
`target/debug/nf capture --project=<slug> --episode=<slug> --out=<png>` — capture the native macOS window PNG for real visual verification.
20
+
`target/debug/nf click --project=<slug> --episode=<slug> --selector=<css>` — simulate a real desktop click, including shadow DOM selectors.
20
21
`target/debug/nf devtools --project=<slug> --episode=<slug> --query=<css> --get=<prop>` — inspect live DOM, including shadow DOM selectors.
22
+
`target/debug/nf devtools --project=<slug> --episode=<slug> --query=<css> --fill=<value> [--get=<prop>]` — fill a live input through the same input/change path as human editing.
21
23
`target/debug/nf composition show --project=<slug> --composition=<slug> [--track=<id>] [--field=<path>]` — read raw v2 composition JSON or one track field.
22
24
`target/debug/nf composition patch --project=<slug> --composition=<slug> --track=<id> --field=<path> --value=<json-or-string>` — patch one v2 track field such as `params.title`, `style.x`, or `time.start`.
23
25
`target/debug/nf composition validate --project=<slug> --composition=<slug>` — validate v2 component registry, files, mount/update exports, import-free ABI, used tracks, and observed params.
@@ -41,9 +43,9 @@ Do not write generated videos, screenshots, node_modules, Cargo targets, or one-
41
43
42
44
## Current Focus
43
45
44
-
v0.17.0 is the component engineering version: v2 composition components now have a machine-readable validation report before preview/export.
46
+
v0.18.0 completed the online editing loop: select a v2 track, edit inspector fields, preview updates, JSON saves with correct types, and draft export reads the saved source. Next project focus is v0.19.0, the TTS and subtitle generation loop.
-`composition-preview` now marks the inspector dirty by updating the existing save-state node instead of setting a host attribute that rerenders the whole inspector during typing.
2000
+
-`nf devtools --fill` now dispatches only real `input` and `change` events, so AI verification uses the same path as a human edit and no longer double-saves through a manual host event.
2001
+
- v0.18.0 kickoff/spec records and the `v2-editor-authoring` BDD scenarios now cover select → edit → save → export.
2002
+
-`CLAUDE.md` now indexes `nf click` and `devtools --fill`, and points Current Focus at v0.18.0 completion / v0.19.0 next.
2003
+
2004
+
Verification:
2005
+
-`target/debug/nf open --project v2-showcase --composition showreel-24s` opened the real desktop editor.
2006
+
-`target/debug/nf devtools --project v2-showcase --episode showreel-24s --query 'nf-timeline::shadow [data-track-id="final-title"]' --get outerHTML` found the final-title row.
-`target/debug/nf devtools --project v2-showcase --episode showreel-24s --query 'nf-inspector::shadow [data-field-path="params.title"]' --fill 'NEXTFRAME LIVE EDIT' --get value` filled the title through the input path.
-`npm run check` and `PATH=/Users/Zhuanz/workspace/NextFrame/frontend/nf-components/node_modules/.bin:$PATH npm run build` passed for `frontend/nf-components`.
- Set v0.19.0 TTS and subtitle generation loop as current.
2034
+
2035
+
Why:
2036
+
- PM-visible editing now has a verified loop: select final-title, type in inspector, preview updates, saved JSON keeps numeric types, and draft export reads the saved source.
2037
+
- TTS/subtitle generation remains a separate end-to-end user flow and is the next independent milestone.
0 commit comments