@mevdragon/vidfarm-devcli 0.3.0 → 0.3.1
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/SKILL.director.md +9 -6
- package/package.json +1 -1
package/SKILL.director.md
CHANGED
|
@@ -254,17 +254,20 @@ For agents that operate Vidfarm headlessly, the typical loop is:
|
|
|
254
254
|
|
|
255
255
|
Always send a stable `tracer` on publish to make retries idempotent.
|
|
256
256
|
|
|
257
|
-
## Local dev loop with `vidfarm
|
|
257
|
+
## Local dev loop with `vidfarm-devcli`
|
|
258
258
|
|
|
259
|
-
For iterating on a composition on disk (e.g. Claude Code editing HTML directly),
|
|
259
|
+
For iterating on a composition on disk (e.g. Claude Code editing HTML directly), pair the hosted editor with a local composition directory:
|
|
260
260
|
|
|
261
261
|
```bash
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
#
|
|
262
|
+
npx -y @mevdragon/vidfarm-devcli <template_id>
|
|
263
|
+
# → downloads composition.html/json + manifest.json into .vidfarm/<template_id>/
|
|
264
|
+
# → starts dev-serve on http://localhost:4321
|
|
265
|
+
# → prints https://vidfarm.cc/editor/<template_id>?fork=<forkId>&dev=http%3A%2F%2Flocalhost%3A4321
|
|
265
266
|
```
|
|
266
267
|
|
|
267
|
-
|
|
268
|
+
Open the printed URL in your browser. An orange **LOCAL DEV MODE** banner pins to the top with an Exit button. All fork API fetches now route to your local dir instead of the deployed API; disk edits push an SSE reload event and the editor re-fetches automatically.
|
|
269
|
+
|
|
270
|
+
Flags: `--port`, `--dir`, `--host`, `--fork`, `--api-key` (or set `VIDFARM_API_KEY`), `--share`, `--refetch`. For a fork that already has composition files on disk (or that you've populated manually), use `vidfarm-devcli dev-serve --dir ./my-fork --port 4321` to skip the fetch step.
|
|
268
271
|
|
|
269
272
|
The dev source is persisted in `localStorage.VIDFARM_DEV_SOURCE`, so you don't need to keep the `?dev=` param in the URL after the first load.
|
|
270
273
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mevdragon/vidfarm-devcli",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.1",
|
|
4
4
|
"description": "Local bridge for the Vidfarm Trackpad Editor. Point it at a template id, edit composition.html on disk (Claude Code, Codex, etc.), preview live in the browser at https://vidfarm.cc/editor/.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|