@motionharness/cli-darwin-arm64 0.0.23 → 0.0.25
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 +27 -11
- package/bin/MotionHarness +4 -0
- package/package.json +3 -3
- package/bin/mh +0 -4
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
#
|
|
1
|
+
# MotionHarness CLI
|
|
2
2
|
|
|
3
3
|
Install the CLI with npm on macOS Apple Silicon / arm64 or Windows 10/11 x64:
|
|
4
4
|
|
|
@@ -24,35 +24,51 @@ or manage them. Project initialization needs registry access to the matching
|
|
|
24
24
|
`@motionharness/sdk` and project dependencies. Run `mh skill` for the authoring
|
|
25
25
|
and Agent guide.
|
|
26
26
|
|
|
27
|
+
Use `mh render ./clip.wav --project ./my-project` to export the audio mix, or
|
|
28
|
+
`mh render ./frames.zip --project ./my-project` for a numbered PNG sequence.
|
|
29
|
+
PNG, APNG, PNG sequences and WAV work without FFmpeg. Studio also offers MP4
|
|
30
|
+
(H.264 or HEVC), ProRes MOV, GIF and WebP when the host supports the encoder.
|
|
31
|
+
|
|
27
32
|
For automatic AI marker delivery, ask your Agent to explain the feature and run
|
|
28
33
|
`mh hook install --agent codex` (or `claude-code` / `kimi-code` for that Agent).
|
|
29
|
-
Each new user message can then include the current
|
|
34
|
+
Each new user message can then include the current MotionHarness project's pending markers
|
|
30
35
|
and layer deletion requests. This does not start conversations. Complete any
|
|
31
36
|
platform trust or session-reload step reported by the command. Studio shows
|
|
32
37
|
configuration status and an off switch; reinstalling preserves a previous opt-out.
|
|
33
38
|
|
|
34
39
|
`@motionharness/cli` provides the `mh` command and selects an exactly matching
|
|
35
|
-
platform package. `@motionharness/cli-darwin-arm64` contains
|
|
36
|
-
|
|
40
|
+
platform package. `@motionharness/cli-darwin-arm64` contains `MotionHarness`;
|
|
41
|
+
`@motionharness/cli-win32-x64` contains `MotionHarness.exe`. The native process uses
|
|
42
|
+
this full product name; the command remains `mh`. Install the main package
|
|
37
43
|
for the command. Windows ARM64, WSL and Linux packages are not provided; Linux
|
|
38
44
|
can run from source. Keep optional dependencies enabled. Installation works with
|
|
39
45
|
`--ignore-scripts`: there are no postinstall hooks or extra binary downloads.
|
|
40
46
|
|
|
47
|
+
For installations predating this native filename, update with
|
|
48
|
+
`npm install -g @motionharness/cli@latest --include=optional`.
|
|
49
|
+
|
|
41
50
|
The npm command verifies the platform package and its version. On macOS it uses
|
|
42
51
|
experimental `process.execve()` to replace Node with Rust; unavailable API support
|
|
43
|
-
produces an upgrade prompt. On Windows it starts and waits for `
|
|
52
|
+
produces an upgrade prompt. On Windows it starts and waits for `MotionHarness.exe`, preserving
|
|
44
53
|
arguments, stdin/stdout/stderr and exit status.
|
|
45
|
-
`mh open [directory]` returns a Studio URL and exits
|
|
46
|
-
|
|
47
|
-
|
|
54
|
+
`mh open [directory]` returns a Studio URL and exits. Project commands default to
|
|
55
|
+
the current working directory (`--project` selects another) and start sessions
|
|
56
|
+
on demand. First successful preparation automatically opens or reuses Studio
|
|
57
|
+
once per session, without waiting for its connection. Edits and exports keep the
|
|
58
|
+
user's page open and do not reopen a closed tab. Set `MH_NO_BROWSER=1` for batch
|
|
59
|
+
or server use. `mh open --browser` explicitly reopens or reuses Studio and waits
|
|
60
|
+
for its connection, even with automatic opening disabled. Browser launch failure
|
|
61
|
+
reports the Studio URL without failing preparation or export.
|
|
48
62
|
`mh status` and `mh close` inspect or release the current project; `mh daemon
|
|
49
63
|
status` lists all projects and `mh daemon stop` explicitly stops everything.
|
|
50
|
-
A session closes after
|
|
64
|
+
A session closes after 30 idle minutes without connected Studios or running work.
|
|
51
65
|
An empty daemon exits after 10 minutes. Busy projects and failed saves prevent
|
|
52
66
|
normal close/reclamation. Node runs only for transient build/dependency tasks;
|
|
53
67
|
Chrome automation uses Rust chromiumoxide.
|
|
68
|
+
Keep the user's Studio open after creation; `close` and `daemon stop` are explicit
|
|
69
|
+
management commands, not routine creation cleanup.
|
|
54
70
|
|
|
55
|
-
The binary embeds
|
|
71
|
+
The binary embeds MotionHarness's fixed runtime resources. On first use these expand into
|
|
56
72
|
`~/Library/Caches/mh/runtime/<payload-sha256>/` on macOS or
|
|
57
73
|
`%LOCALAPPDATA%\mh\cache\runtime\<payload-sha256>\` on Windows. Windows authentication
|
|
58
74
|
and daemon state use separate `auth` and `daemon` directories under `%LOCALAPPDATA%\mh`.
|
|
@@ -112,7 +128,7 @@ installs the exact checked version with its matching platform package. Automatic
|
|
|
112
128
|
installation requires the current package to be directly inside the active npm
|
|
113
129
|
global root with a matching prefix; linked packages and detected pnpm/yarn layouts
|
|
114
130
|
are excluded. If a different Node/npm installation is active, switch back to the
|
|
115
|
-
one that owns
|
|
131
|
+
one that owns MotionHarness. Project-local, npx and other package-manager installs receive
|
|
116
132
|
manual instructions. Standalone binaries must be replaced manually.
|
|
117
133
|
|
|
118
134
|
Close active sessions and finish exports before updating. Idle daemons stop
|
package/package.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "0.0.
|
|
2
|
+
"version": "0.0.25",
|
|
3
3
|
"license": "Apache-2.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"engines": {
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
"registry": "https://registry.npmjs.org/"
|
|
11
11
|
},
|
|
12
12
|
"name": "@motionharness/cli-darwin-arm64",
|
|
13
|
-
"description": "
|
|
13
|
+
"description": "MotionHarness native binary for macOS arm64",
|
|
14
14
|
"os": [
|
|
15
15
|
"darwin"
|
|
16
16
|
],
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
"arm64"
|
|
19
19
|
],
|
|
20
20
|
"files": [
|
|
21
|
-
"bin/
|
|
21
|
+
"bin/MotionHarness",
|
|
22
22
|
"README.md",
|
|
23
23
|
"LICENSE"
|
|
24
24
|
],
|
package/bin/mh
DELETED