@openclaw/ocm 0.3.2 → 0.3.3-darwin-arm64

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/package.json CHANGED
@@ -1,21 +1,19 @@
1
1
  {
2
- "bin": {
3
- "ocm": "bin/ocm.cjs"
4
- },
2
+ "cpu": [
3
+ "arm64"
4
+ ],
5
5
  "description": "Manage OpenClaw environments, runtimes, and services",
6
6
  "engines": {
7
7
  "node": "^22.15.0 || >=24.0.0"
8
8
  },
9
9
  "license": "MIT",
10
10
  "name": "@openclaw/ocm",
11
- "optionalDependencies": {
12
- "@openclaw/ocm-darwin-arm64": "npm:@openclaw/ocm@0.3.2-darwin-arm64",
13
- "@openclaw/ocm-darwin-x64": "npm:@openclaw/ocm@0.3.2-darwin-x64",
14
- "@openclaw/ocm-linux-x64": "npm:@openclaw/ocm@0.3.2-linux-x64"
15
- },
11
+ "os": [
12
+ "darwin"
13
+ ],
16
14
  "repository": {
17
15
  "type": "git",
18
16
  "url": "git+https://github.com/openclaw/ocm.git"
19
17
  },
20
- "version": "0.3.2"
18
+ "version": "0.3.3-darwin-arm64"
21
19
  }
package/release.json CHANGED
@@ -1,37 +1,39 @@
1
1
  {
2
2
  "assets": {
3
3
  "SHA256SUMS": {
4
- "digest": "sha256:43983f575116604fa7da135e8258b5a35ea65bc2270c81075a1fc15980c2df9a",
5
- "id": 638590766,
4
+ "digest": "sha256:9a88f9a639d9d9919bcad345ed88507721d640da64ad9478d69190170bc24cfa",
5
+ "id": 639228168,
6
6
  "size": 374,
7
- "updated_at": "2026-10-13T23:43:42Z"
7
+ "updated_at": "2026-10-14T04:35:24Z"
8
8
  },
9
9
  "install.sh": {
10
10
  "digest": "sha256:edc475d2e6e257c461655f514035533975b4c7f1ffe9a74fa987423be402e072",
11
- "id": 638590765,
11
+ "id": 639228158,
12
12
  "size": 5650,
13
- "updated_at": "2026-10-13T23:43:42Z"
13
+ "updated_at": "2026-10-14T04:35:24Z"
14
14
  },
15
15
  "ocm-aarch64-apple-darwin.tar.gz": {
16
- "digest": "sha256:40ec7c7e2bae7548e1c750624059e98f0f87759613999957f9744af740f01cc3",
17
- "id": 638590762,
18
- "size": 4995885,
19
- "updated_at": "2026-10-13T23:43:42Z"
16
+ "digest": "sha256:b75693321df80d43023788b11c78ee69361becc868127f08d61ac8c6e7740f5a",
17
+ "id": 639228160,
18
+ "size": 5026633,
19
+ "updated_at": "2026-10-14T04:35:25Z"
20
20
  },
21
21
  "ocm-x86_64-apple-darwin.tar.gz": {
22
- "digest": "sha256:a0876d9c22d907de5ac07a2a5d6788848fd49ad4ea5b42e1c9ad501909dd00e3",
23
- "id": 638590760,
24
- "size": 5488303,
25
- "updated_at": "2026-10-13T23:43:42Z"
22
+ "digest": "sha256:467c63ee07049a5fd62ef2b5dae2e2c726e77292e2e1221463aa8fbc7380be10",
23
+ "id": 639228162,
24
+ "size": 5524139,
25
+ "updated_at": "2026-10-14T04:35:25Z"
26
26
  },
27
27
  "ocm-x86_64-unknown-linux-gnu.tar.gz": {
28
- "digest": "sha256:2eb204bc6896de940bf629133bf770383558828e5302c21f1ac68fc3206a0517",
29
- "id": 638590759,
30
- "size": 5560367,
31
- "updated_at": "2026-10-13T23:43:42Z"
28
+ "digest": "sha256:541171a3beca7c564dd3a071cfd756d49d611b0f11018784764a622b22a34fa4",
29
+ "id": 639228161,
30
+ "size": 5595169,
31
+ "updated_at": "2026-10-14T04:35:25Z"
32
32
  }
33
33
  },
34
- "commit": "73c6e60e9ddb4650c823a9f991214f27815968e2",
34
+ "binarySha256": "ec12ea4e4db6ecbb95ed39e83d4ef56d154548501221c08d31b07d56f1edd43f",
35
+ "commit": "bf756091facb4e840c887d72beb4868359bcb3d9",
35
36
  "repository": "openclaw/ocm",
36
- "tag": "v0.3.2"
37
+ "tag": "v0.3.3",
38
+ "target": "aarch64-apple-darwin"
37
39
  }
package/README.md DELETED
@@ -1,41 +0,0 @@
1
- # OCM
2
-
3
- OCM manages OpenClaw environments, runtimes, and services. This package contains
4
- a small Node launcher and platform-specific Rust binaries, not a JavaScript
5
- implementation or an install-time downloader. Rust is not required.
6
-
7
- Supported: macOS ARM64/x64 and Linux x64 with glibc. Requires Node.js
8
- `^22.15.0 || >=24.0.0` and optional dependencies.
9
-
10
- ```sh
11
- npm install --global @openclaw/ocm
12
- ocm --help
13
- ```
14
-
15
- Update a global installation with `npm install --global @openclaw/ocm@latest`,
16
- using the same Node installation and npm prefix. For a project-local installation,
17
- run `npm install @openclaw/ocm@latest` in that project. `ocm self update` refuses
18
- to overwrite npm-owned files; `ocm self update --check` reports GitHub binary
19
- releases, not npm availability. Use `npm view @openclaw/ocm version` to check npm.
20
-
21
- `npx --yes @openclaw/ocm@latest --help` is suitable for one-off commands. Its
22
- temporary cache cannot own a background service. Install globally or in a durable
23
- project before installing or refreshing services.
24
-
25
- An npm update does not restart the running OCM daemon or managed gateways.
26
- Inspect `ocm service status`, then schedule an explicit refresh:
27
-
28
- ```sh
29
- ocm service refresh-daemon --acknowledge-gateway-restarts
30
- ```
31
-
32
- Keep the installation path stable while services use it. Changing Node versions,
33
- prefixes, or deleting a local project requires rebinding the daemon from the new
34
- durable installation before removing the old one.
35
-
36
- Each package's `release.json` records its signed source tag, commit, and GitHub
37
- asset digests. Native payloads also record the executable SHA-256. npm provenance
38
- identifies the protected packaging workflow; these embedded fields identify the
39
- native release source and are covered by the package digest.
40
-
41
- Project documentation: https://github.com/openclaw/ocm
package/bin/ocm.cjs DELETED
@@ -1,40 +0,0 @@
1
- #!/usr/bin/env node
2
- "use strict";
3
-
4
- const { createRequire } = require("node:module");
5
- const { dirname, join } = require("node:path");
6
-
7
- function main() {
8
- if (typeof process.execve !== "function") {
9
- throw new Error("OCM requires Node.js ^22.15.0 or >=24.0.0 with process.execve.");
10
- }
11
- const targets = {
12
- "darwin-arm64": "aarch64-apple-darwin",
13
- "darwin-x64": "x86_64-apple-darwin",
14
- "linux-x64": "x86_64-unknown-linux-gnu",
15
- };
16
- const platform = `${process.platform}-${process.arch}`;
17
- const target = targets[platform];
18
- if (!target || (process.platform === "linux" &&
19
- !process.report.getReport().header.glibcVersionRuntime)) {
20
- throw new Error(`Unsupported OCM platform: ${platform}. Supported: macOS ARM64/x64 and Linux x64 glibc.`);
21
- }
22
- const dependency = `@openclaw/ocm-${platform}`;
23
- let manifest;
24
- try {
25
- manifest = createRequire(__filename).resolve(`${dependency}/package.json`);
26
- } catch {
27
- throw new Error(`Missing ${dependency}. Reinstall @openclaw/ocm with optional dependencies enabled (do not use --omit=optional).`);
28
- }
29
- const binary = join(dirname(manifest), "vendor", target, "bin", "ocm");
30
- // OCM may escape a managed gateway's process group before stopping it.
31
- // There must be no Node parent left to forward that group's termination.
32
- process.execve(binary, [binary, ...process.argv.slice(2)], process.env);
33
- }
34
-
35
- try {
36
- main();
37
- } catch (error) {
38
- console.error(`ocm: ${error.message}`);
39
- process.exitCode = 1;
40
- }