@motionharness/cli-darwin-arm64 0.0.22 → 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 CHANGED
@@ -1,4 +1,4 @@
1
- # MH CLI
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 MH project's pending markers
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 the macOS arm64 native
36
- binary; `@motionharness/cli-win32-x64` contains `mh.exe`. Install the main package
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 `mh.exe`, preserving
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 without opening a browser.
46
- Use `--browser` to open it explicitly. Project commands default to the current
47
- working directory (`--project` selects another) and start sessions on demand.
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 15 minutes without connected Studios or running work.
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 MH's fixed runtime resources. On first use these expand into
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`.
@@ -75,6 +91,29 @@ command output or exit status.
75
91
 
76
92
  ## Updates
77
93
 
94
+ Studio also offers **Software update** directly beside the project dropdown.
95
+ Automatic checks and background preparation are enabled by default, with a
96
+ 12-hour check interval. A visible **Update available** button opens release
97
+ changes, preferences and **Update and reopen**. The host prepares all connected
98
+ views, waits for confirmed writes and preserves their playheads, selections and
99
+ view positions. Exports, builds, unfinished drafts and failed saves postpone
100
+ installation. Installed DaVinci components must remain compatible.
101
+
102
+ Studio installs a verified, complete npm release through a separate updater.
103
+ It keeps the previous installation until executable/runtime checks and project
104
+ reopening succeed, and restores it on handled installation or startup failures.
105
+ **Install automatically after all project sessions end** is optional and off by
106
+ default. This setting requires automatic checks and downloads. SDK dependencies
107
+ and project lockfiles are not upgraded. Non-global or other package-manager
108
+ installations use their original update commands. Updates do not elevate privileges.
109
+
110
+ Settings and prepared releases live in the installation-specific `mh/updates`
111
+ user data directory; `MH_SOFTWARE_UPDATE_DIR` overrides its absolute base.
112
+ The previous installation and a replacement journal are retained for recovery.
113
+ Forced process termination or power loss during directory replacement may
114
+ require reinstalling with the original package manager; project files are retained.
115
+ The explicit terminal command below retains its existing npm installation flow.
116
+
78
117
  ```sh
79
118
  mh update --check # Query latest without installing
80
119
  mh update # Upgrade a confirmed npm global installation
@@ -89,7 +128,7 @@ installs the exact checked version with its matching platform package. Automatic
89
128
  installation requires the current package to be directly inside the active npm
90
129
  global root with a matching prefix; linked packages and detected pnpm/yarn layouts
91
130
  are excluded. If a different Node/npm installation is active, switch back to the
92
- one that owns MH. Project-local, npx and other package-manager installs receive
131
+ one that owns MotionHarness. Project-local, npx and other package-manager installs receive
93
132
  manual instructions. Standalone binaries must be replaced manually.
94
133
 
95
134
  Close active sessions and finish exports before updating. Idle daemons stop
@@ -0,0 +1,4 @@
1
+ [diffend] Oversized file quarantined before diffing.
2
+ name: package/bin/MotionHarness
3
+ size: 61070080 bytes
4
+ sha256: ebb5c65586b6b103063f9036ce3a612b940013cd77f745494ac9f22509ee0974
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "0.0.22",
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": "MH native binary for macOS arm64",
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/mh",
21
+ "bin/MotionHarness",
22
22
  "README.md",
23
23
  "LICENSE"
24
24
  ],
package/bin/mh DELETED
@@ -1,4 +0,0 @@
1
- [diffend] Oversized file quarantined before diffing.
2
- name: package/bin/mh
3
- size: 59532384 bytes
4
- sha256: 212b99eec690a6993e5a20300314431d5c4b50e20233223956bb6ef3436a90f9