@vox-ai/cli 0.1.0-beta.6 → 0.1.0-beta.8

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
@@ -9,7 +9,7 @@ The CLI is the durable authoring surface — what belongs in your repo, gets rev
9
9
  ## Install
10
10
 
11
11
  ```bash
12
- # npm (cross-platform, requires Node >= 20.17)
12
+ # npm (macOS, Linux, and Windows x64; requires Node >= 20.17)
13
13
  npm install -g @vox-ai/cli
14
14
 
15
15
  # npm pre-release channel
@@ -19,6 +19,8 @@ npm install -g @vox-ai/cli@beta
19
19
  brew install vox-public/tap/vox
20
20
  ```
21
21
 
22
+ On **Windows**, npm is the official install path: `npm install -g @vox-ai/cli@beta`, then run `vox` (or `vox.cmd`) from any terminal. There is no separate `.exe` or zip download to install.
23
+
22
24
  Verify the install:
23
25
 
24
26
  ```bash
package/bin/vox.cjs CHANGED
@@ -9,6 +9,7 @@ const platformPackages = {
9
9
  "darwin-arm64": "@vox-ai/cli-darwin-arm64",
10
10
  "darwin-x64": "@vox-ai/cli-darwin-x64",
11
11
  "linux-x64": "@vox-ai/cli-linux-x64",
12
+ "win32-x64": "@vox-ai/cli-win32-x64",
12
13
  };
13
14
 
14
15
  const artifact = `${process.platform}-${process.arch}`;
@@ -18,16 +19,19 @@ if (!packageName) {
18
19
  console.error(
19
20
  [
20
21
  `vox CLI does not ship a prebuilt npm binary for ${artifact}.`,
21
- "Install a supported macOS/Linux package or use the Homebrew formula on macOS.",
22
+ "Supported platforms: macOS (arm64/x64), Linux x64, and Windows x64. On macOS you can also use the Homebrew formula.",
22
23
  ].join("\n"),
23
24
  );
24
25
  process.exit(1);
25
26
  }
26
27
 
28
+ // Bun compiles the Windows binary as `vox.exe`; every other platform ships an
29
+ // extension-less `vox`.
30
+ const binaryName = process.platform === "win32" ? "vox.exe" : "vox";
27
31
  let binaryPath;
28
32
 
29
33
  try {
30
- binaryPath = join(dirname(require.resolve(`${packageName}/package.json`)), "bin", "vox");
34
+ binaryPath = join(dirname(require.resolve(`${packageName}/package.json`)), "bin", binaryName);
31
35
  } catch (error) {
32
36
  console.error(
33
37
  [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vox-ai/cli",
3
- "version": "0.1.0-beta.6",
3
+ "version": "0.1.0-beta.8",
4
4
  "description": "vox.ai command-line workflow tools",
5
5
  "homepage": "https://www.tryvox.co",
6
6
  "license": "MIT",
@@ -13,9 +13,10 @@
13
13
  "LICENSE"
14
14
  ],
15
15
  "optionalDependencies": {
16
- "@vox-ai/cli-darwin-arm64": "0.1.0-beta.6",
17
- "@vox-ai/cli-darwin-x64": "0.1.0-beta.6",
18
- "@vox-ai/cli-linux-x64": "0.1.0-beta.6"
16
+ "@vox-ai/cli-darwin-arm64": "0.1.0-beta.8",
17
+ "@vox-ai/cli-darwin-x64": "0.1.0-beta.8",
18
+ "@vox-ai/cli-linux-x64": "0.1.0-beta.8",
19
+ "@vox-ai/cli-win32-x64": "0.1.0-beta.8"
19
20
  },
20
21
  "engines": {
21
22
  "node": ">=20.17.0"