@motionharness/cli 0.1.4 → 0.1.7

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,7 +1,7 @@
1
1
  # MotionHarness CLI
2
2
 
3
3
  Install the CLI with npm on macOS (Apple Silicon or Intel), Windows 10/11 x64,
4
- or Ubuntu 24.04 x64:
4
+ or Ubuntu 24.04 (x64 / Arm64):
5
5
 
6
6
  Some versions are published for only one platform. Install a version that includes
7
7
  your platform; if `latest` omits it, select an older compatible version explicitly
@@ -45,10 +45,11 @@ configuration status and an off switch; reinstalling preserves a previous opt-ou
45
45
 
46
46
  `@motionharness/cli` provides the `mh` command and selects an exactly matching
47
47
  platform package. `@motionharness/cli-darwin-arm64` and
48
- `@motionharness/cli-darwin-x64` and `@motionharness/cli-linux-x64` contain `MotionHarness`;
48
+ `@motionharness/cli-darwin-x64`, `@motionharness/cli-linux-x64` and
49
+ `@motionharness/cli-linux-arm64` contain `MotionHarness`;
49
50
  `@motionharness/cli-win32-x64` contains `MotionHarness.exe`. The native process uses
50
51
  this full product name; the command remains `mh`. Install the main package
51
- for the command. The Linux package targets x64 with glibc. Keep optional dependencies enabled. Installation works with
52
+ for the command. The Linux packages target x64 and Arm64 with glibc. Keep optional dependencies enabled. Installation works with
52
53
  `--ignore-scripts`: there are no postinstall hooks or extra binary downloads.
53
54
 
54
55
  For installations predating this native filename, update with
@@ -64,11 +65,15 @@ on demand. Normal opening/editing commands automatically open or reuse Studio
64
65
  once per session, initially paused, without waiting for its connection. `preview`,
65
66
  `render` and `render plan` stay in the background even on first preparation; a
66
67
  later normal command can still open Studio once. Use `mh open` to present a new
67
- runnable project. Edits and exports keep the
68
+ runnable project. The interactive Studio shows Quick Start once when the first
69
+ project's preview is ready. Edits and exports keep the
68
70
  user's page open and do not reopen a closed tab. Set `MH_NO_BROWSER=1` for batch
69
71
  or server use. `mh open --browser` explicitly reopens or reuses Studio and waits
70
- for its connection, even with automatic opening disabled. Browser launch failure
71
- reports the Studio URL without failing preparation or export.
72
+ for its connection, even with automatic opening disabled. If the browser fails
73
+ to launch or connect, the explicit command exits nonzero and includes the Studio
74
+ URL in its error report so it can be opened directly. Automatic browser launch
75
+ failure does not fail project preparation. If local network permission is
76
+ denied, `mh open` reports a command to open the same project from your terminal.
72
77
  `mh status` and `mh close` inspect or release the current project; `mh daemon
73
78
  status` lists all projects and `mh daemon stop` explicitly stops everything.
74
79
  A session closes after 30 idle minutes without connected Studios or running work.
@@ -9,6 +9,7 @@ export const platforms = Object.freeze({
9
9
  'darwin-x64': '@motionharness/cli-darwin-x64',
10
10
  'win32-x64': '@motionharness/cli-win32-x64',
11
11
  'linux-x64': '@motionharness/cli-linux-x64',
12
+ 'linux-arm64': '@motionharness/cli-linux-arm64',
12
13
  });
13
14
 
14
15
  export function resolveBinary(packageJson, platform = process.platform, arch = process.arch) {
package/package.json CHANGED
@@ -1,10 +1,15 @@
1
1
  {
2
- "version": "0.1.4",
2
+ "version": "0.1.7",
3
3
  "license": "UNLICENSED",
4
4
  "type": "module",
5
5
  "engines": {
6
6
  "node": ">=22.15.0"
7
7
  },
8
+ "repository": {
9
+ "type": "git",
10
+ "url": "git+https://github.com/VibeMG/vibe-motion-graphics.git",
11
+ "directory": "products/cli"
12
+ },
8
13
  "publishConfig": {
9
14
  "access": "public",
10
15
  "registry": "https://registry.npmjs.org/"
@@ -24,10 +29,11 @@
24
29
  "x64"
25
30
  ],
26
31
  "optionalDependencies": {
27
- "@motionharness/cli-darwin-arm64": "0.1.4",
28
- "@motionharness/cli-darwin-x64": "0.1.4",
29
- "@motionharness/cli-win32-x64": "0.1.4",
30
- "@motionharness/cli-linux-x64": "0.1.4"
32
+ "@motionharness/cli-darwin-arm64": "0.1.7",
33
+ "@motionharness/cli-darwin-x64": "0.1.7",
34
+ "@motionharness/cli-win32-x64": "0.1.7",
35
+ "@motionharness/cli-linux-x64": "0.1.7",
36
+ "@motionharness/cli-linux-arm64": "0.1.7"
31
37
  },
32
38
  "files": [
33
39
  "bin/mh",
@@ -35,10 +41,5 @@
35
41
  "bin/windows-update.mjs",
36
42
  "README.md",
37
43
  "LICENSE"
38
- ],
39
- "repository": {
40
- "type": "git",
41
- "url": "git+https://github.com/VibeMG/vibe-motion-graphics.git",
42
- "directory": "products/cli"
43
- }
44
+ ]
44
45
  }