oneharness-cli 0.23.1 → 0.25.2

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
@@ -13,8 +13,9 @@ oneharness run --all --prompt "reply with pong"
13
13
  This package ships the **prebuilt** `oneharness` binary — no Rust toolchain and
14
14
  no compile step. The platform-specific binary is delivered through a
15
15
  per-platform optional dependency (`@oneharness/cli-<platform>-<arch>`); npm
16
- installs only the one matching your OS and CPU. Supported platforms: Linux and
17
- macOS (x64, arm64) and Windows (x64).
16
+ installs only the one matching your OS and CPU. Supported platforms: Linux
17
+ (x64, arm64), Apple Silicon macOS (arm64) and Windows (x64, arm64). Intel macOS
18
+ is no longer supported; build it there with `cargo install oneharness --locked`.
18
19
 
19
20
  Other install paths — PyPI (`pip install oneharness-cli`), the install script,
20
21
  crates.io, and building from source — plus full docs are in the
package/bin/oneharness.js CHANGED
@@ -24,7 +24,6 @@ const { spawnSync } = require("node:child_process");
24
24
  const PACKAGES = {
25
25
  "linux-x64": "@oneharness/cli-linux-x64",
26
26
  "linux-arm64": "@oneharness/cli-linux-arm64",
27
- "darwin-x64": "@oneharness/cli-darwin-x64",
28
27
  "darwin-arm64": "@oneharness/cli-darwin-arm64",
29
28
  "win32-x64": "@oneharness/cli-win32-x64",
30
29
  "win32-arm64": "@oneharness/cli-win32-arm64",
@@ -37,6 +36,16 @@ function fail(message) {
37
36
 
38
37
  function binaryPath() {
39
38
  const key = `${process.platform}-${process.arch}`;
39
+ if (key === "darwin-x64") {
40
+ // Discontinued rather than never shipped: say so instead of pointing at a
41
+ // platform package that no longer exists.
42
+ fail(
43
+ "Intel macOS (darwin-x64) is no longer supported: oneharness releases " +
44
+ "ship prebuilt binaries for Apple Silicon macOS only. Run it on an " +
45
+ "Apple Silicon Mac, or build from source with " +
46
+ "'cargo install oneharness --locked'."
47
+ );
48
+ }
40
49
  const pkg = PACKAGES[key];
41
50
  if (!pkg) {
42
51
  fail(
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "oneharness-cli",
3
- "version": "0.23.1",
3
+ "version": "0.25.2",
4
4
  "description": "One CLI to drive many agentic coding harnesses non-interactively and return uniform JSON.",
5
5
  "keywords": [
6
6
  "cli",
@@ -27,11 +27,10 @@
27
27
  "node": ">=16"
28
28
  },
29
29
  "optionalDependencies": {
30
- "@oneharness/cli-linux-x64": "0.23.1",
31
- "@oneharness/cli-linux-arm64": "0.23.1",
32
- "@oneharness/cli-darwin-x64": "0.23.1",
33
- "@oneharness/cli-darwin-arm64": "0.23.1",
34
- "@oneharness/cli-win32-x64": "0.23.1",
35
- "@oneharness/cli-win32-arm64": "0.23.1"
30
+ "@oneharness/cli-linux-x64": "0.25.2",
31
+ "@oneharness/cli-linux-arm64": "0.25.2",
32
+ "@oneharness/cli-darwin-arm64": "0.25.2",
33
+ "@oneharness/cli-win32-x64": "0.25.2",
34
+ "@oneharness/cli-win32-arm64": "0.25.2"
36
35
  }
37
36
  }