@higgsfield/video-editor-mcp 1.1.1-dev.0 → 2.0.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.
Files changed (59) hide show
  1. package/README.md +63 -26
  2. package/dist/cli.mjs +284 -112
  3. package/dist/guide.md +2 -3
  4. package/dist/index.html +1 -1
  5. package/dist/launcher.mjs +34 -14
  6. package/dist/server.mjs +209 -265
  7. package/node_modules/@higgsfield/higgsedit/dist/api.d.ts +481 -0
  8. package/node_modules/@higgsfield/higgsedit/dist/{chunk-PFQYUJQL.mjs → chunk-3XVMJSV2.mjs} +1 -1
  9. package/node_modules/@higgsfield/higgsedit/dist/{chunk-F4CMIG5G.mjs → chunk-4VE54E4U.mjs} +3 -1
  10. package/node_modules/@higgsfield/higgsedit/dist/{chunk-2JYLVSVV.mjs → chunk-55JARHLA.mjs} +205 -65
  11. package/node_modules/@higgsfield/higgsedit/dist/{chunk-YLVXQIPX.mjs → chunk-E4N76T2R.mjs} +1 -1
  12. package/node_modules/@higgsfield/higgsedit/dist/{chunk-OCIZ36XD.mjs → chunk-ECRSOIKI.mjs} +1 -1
  13. package/node_modules/@higgsfield/higgsedit/dist/{chunk-IEPPEDEU.mjs → chunk-ENALCTAD.mjs} +1 -1
  14. package/node_modules/@higgsfield/higgsedit/dist/chunk-HY2E7IWX.mjs +43 -0
  15. package/node_modules/@higgsfield/higgsedit/dist/{chunk-NARTAWRN.mjs → chunk-HYCUOCUQ.mjs} +9 -4
  16. package/node_modules/@higgsfield/higgsedit/dist/{chunk-C3GSB3XZ.mjs → chunk-NLEIBCAK.mjs} +1 -7
  17. package/node_modules/@higgsfield/higgsedit/dist/{chunk-2WKNH7OL.mjs → chunk-O3AVYZ6U.mjs} +1 -1
  18. package/node_modules/@higgsfield/higgsedit/dist/chunk-UXO22E3P.mjs +22 -0
  19. package/node_modules/@higgsfield/higgsedit/dist/{chunk-BH2QF635.mjs → chunk-V5XTCFYK.mjs} +4 -100
  20. package/node_modules/@higgsfield/higgsedit/dist/chunk-W2TANYEH.mjs +118 -0
  21. package/node_modules/@higgsfield/higgsedit/dist/{chunk-DVN4LUXV.mjs → chunk-XY5CCUOZ.mjs} +2 -6
  22. package/node_modules/@higgsfield/higgsedit/dist/{chunk-KIWGVAPJ.mjs → chunk-Y7SAX2P4.mjs} +8 -12
  23. package/node_modules/@higgsfield/higgsedit/dist/chunk-YNAIRXOP.mjs +22 -0
  24. package/node_modules/@higgsfield/higgsedit/dist/{chunk-WENFTPXQ.mjs → chunk-ZO3NDQD3.mjs} +1 -1
  25. package/node_modules/@higgsfield/higgsedit/dist/higgsedit.mjs +13 -13
  26. package/node_modules/@higgsfield/higgsedit/package.json +4 -1
  27. package/package.json +4 -4
  28. package/plugin/.codex-plugin/plugin.json +1 -1
  29. package/plugin/skills/video-editing/SKILL.md +109 -95
  30. package/plugin/mcp.json +0 -10
  31. package/plugin/plugin.json +0 -41
  32. package/plugin/skills/motion-craft/SKILL.md +0 -87
  33. package/plugin/skills/motion-craft/agents/openai.yaml +0 -6
  34. package/plugin/skills/motion-craft/references/causality.md +0 -25
  35. package/plugin/skills/motion-craft/references/composition.md +0 -20
  36. package/plugin/skills/motion-craft/references/easing.md +0 -19
  37. package/plugin/skills/motion-craft/references/qc.md +0 -33
  38. package/plugin/skills/motion-craft/references/recipes.md +0 -31
  39. package/plugin/skills/motion-craft/references/stepped.md +0 -43
  40. package/plugin/skills/motion-craft/references/timing.md +0 -60
  41. package/plugin/skills/motion-craft/references/tsx.md +0 -60
  42. package/plugin/skills/motion-craft/references/typography.md +0 -22
  43. package/plugin/skills/video-editing/agents/openai.yaml +0 -6
  44. package/plugin/skills/video-editing/references/animation-contract.md +0 -45
  45. package/plugin/skills/video-editing/references/assembly.md +0 -58
  46. package/plugin/skills/video-editing/references/caption-systems.md +0 -29
  47. package/plugin/skills/video-editing/references/caption-titling.md +0 -41
  48. package/plugin/skills/video-editing/references/clip-geometry.md +0 -37
  49. package/plugin/skills/video-editing/references/compose.md +0 -283
  50. package/plugin/skills/video-editing/references/editor-measured.md +0 -37
  51. package/plugin/skills/video-editing/references/failure-modes.md +0 -37
  52. package/plugin/skills/video-editing/references/local-setup.md +0 -25
  53. package/plugin/skills/video-editing/references/motion-language.md +0 -27
  54. package/plugin/skills/video-editing/references/provenance.md +0 -7
  55. package/plugin/skills/video-editing/references/sandbox.md +0 -31
  56. package/plugin/skills/video-editing/references/shot-blueprints.md +0 -24
  57. package/plugin/skills/video-editing/references/title-animation.md +0 -29
  58. package/plugin/skills/video-editing/references/tsx-projects.md +0 -187
  59. package/plugin/skills/video-editing/references/workflows.md +0 -41
package/README.md CHANGED
@@ -1,38 +1,75 @@
1
1
  # Higgsfield Video Editor
2
2
 
3
- Edit and render video projects on your Mac with the Higgsfield Video Editor plugin for the ChatGPT
4
- desktop app. Arrange clips, text, audio and motion graphics, preview the timeline, and render a video.
5
- The package includes the local MCP server, the editor, Higgsedit and the editing skills.
3
+ Edit videos with ChatGPT on your Mac. Say what you want: cut the clips, add a title, caption the speech, put
4
+ music under it, animate the text. The edit opens in the Video Editor panel inside the chat and updates as you
5
+ talk. You can scrub, trim and tweak there too. When it is right, export an MP4.
6
6
 
7
- Requires macOS and Node.js 22.12 or later. Chrome is downloaded on the first render.
7
+ Your footage and projects stay on your Mac. Only image and video generation, if you use it, goes through your
8
+ Higgsfield account.
9
+
10
+ ## Install
11
+
12
+ You need macOS, the ChatGPT desktop app, Node.js 22.12 or newer and ffmpeg (`brew install node ffmpeg`).
13
+
14
+ ```sh
15
+ npx @higgsfield/video-editor-mcp install
16
+ ```
17
+
18
+ Then start a new chat, type `@` and pick **Higgsfield Video Editor**. No restart needed. Headless Chrome
19
+ (about 100 MB) downloads on the first preview or export.
20
+
21
+ ## Use it
22
+
23
+ Try, with the mention in front:
24
+
25
+ - "@Higgsfield Video Editor Create a vertical video project with an animated title and music."
26
+ - "@Higgsfield Video Editor Trim the dead air in ~/Movies/trip, caption the interview and add a lower third at 0:06."
27
+ - "@Higgsfield Video Editor Export it, then a 1:1 version for the feed."
28
+
29
+ A project is a folder under Movies, Documents or Downloads: `index.tsx` is the edit, `media/` holds your
30
+ footage, exports land in `renders/`. Set `HIGGSEDIT_PROJECT_ROOTS` (folders separated by `:`) to allow other
31
+ locations.
32
+
33
+ ## Updates
34
+
35
+ The editor checks npm for a newer version once an hour, in the background, and uses it from the next new chat.
36
+ To update now, run the install line again; a new chat has the update. **Edit video → Settings → Check for updates…** in the panel
37
+ shows the running version. `VIDEO_EDITOR_AUTO_UPDATE=0` in the server's environment turns the background
38
+ check off.
39
+
40
+ ## Other MCP clients
41
+
42
+ The same install serves Claude Code, Claude Desktop and the Codex CLI. This prints the server entry, with
43
+ absolute paths so it works whatever your PATH holds:
8
44
 
9
45
  ```sh
10
- dir="$HOME/.higgsfield/video-editor-mcp"
11
- npm install --prefix "$dir" --registry=https://registry.npmjs.org/ --ignore-scripts --no-audit --no-fund @higgsfield/video-editor-mcp@latest
12
- cli="$dir/node_modules/@higgsfield/video-editor-mcp/dist/cli.mjs"
13
- node "$cli" doctor
14
- node "$cli" install-plugin
46
+ npx @higgsfield/video-editor-mcp config
15
47
  ```
16
48
 
17
- Reload the desktop app to discover the skills, then start a new chat for the tools. Keep the installed
18
- package on disk: the plugin launches that persistent copy. `install-codex` registers only the MCP
19
- server, and `config` prints the entry for another MCP client.
49
+ The project knowledge ships with the tools, so those clients need no plugin.
20
50
 
21
- Image and video generation requires connecting your Higgsfield account. The first generation call
22
- opens the browser to sign in; credentials stay in `~/.higgsfield/mcp-auth`.
51
+ ## When something is off
52
+
53
+ ```sh
54
+ npx @higgsfield/video-editor-mcp doctor
55
+ ```
56
+
57
+ checks Node, ffmpeg, the bundled `higgsedit` CLI, the server and the panel, and shows the last update check.
58
+ In a chat, ask the editor to run its diagnostics.
59
+
60
+ ## Remove
61
+
62
+ ```sh
63
+ npx @higgsfield/video-editor-mcp uninstall
64
+ ```
23
65
 
24
- Projects must be under `~/Movies`, `~/Documents` or `~/Downloads`. `HIGGSEDIT_PROJECT_ROOTS` overrides
25
- these locations with a list separated by `:`.
66
+ removes the plugin from ChatGPT and the installed package. Your projects stay where they are.
26
67
 
27
- The launcher checks npmjs for updates in the background at startup, at most once per hour. Prereleases
28
- follow `next`; stable installations follow `latest`. Updates install an exact version with lifecycle
29
- scripts disabled and pass the package's doctor before activation. Active chats keep their version.
30
- Reload the app for updated skills and start a new chat to use the new editor.
68
+ ## Under the hood
31
69
 
32
- The **Edit video → Settings → Check for updates…** menu item shows the running version and any
33
- prepared update. **Check for updates**, or `node "$cli" update`, forces a check. Offline or failed checks keep the installed version.
34
- `VIDEO_EDITOR_AUTO_UPDATE=0` disables background checks. `VIDEO_EDITOR_UPDATE_CHANNEL=next` or `latest`
35
- selects the channel. Public update state lives in `~/.higgsfield/video-editor-mcp/public-updates/`.
70
+ The package is a local MCP server over stdio. It bundles [`@higgsfield/higgsedit`](https://www.npmjs.com/package/@higgsfield/higgsedit),
71
+ the command-line video editor, and starts `higgsedit dev` for each open project. That server holds the project,
72
+ applies edits to `index.tsx` by element id, renders frames and MP4s with headless Chrome and ffmpeg, and serves
73
+ the editor panel. The chat's tools and the panel talk to the same server, so they share one undo history.
36
74
 
37
- Proprietary: see `LICENSE`. Bundled open source software and fonts are covered by
38
- `THIRD_PARTY_NOTICES.md`.
75
+ Proprietary: see `LICENSE`. Bundled open source software and fonts are listed in `THIRD_PARTY_NOTICES.md`.