@openclaw/ocm 0.3.1 → 0.3.2-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 +7 -9
- package/release.json +21 -19
- package/vendor/aarch64-apple-darwin/bin/ocm +0 -0
- package/README.md +0 -41
- package/bin/ocm.cjs +0 -40
package/package.json
CHANGED
|
@@ -1,21 +1,19 @@
|
|
|
1
1
|
{
|
|
2
|
-
"
|
|
3
|
-
"
|
|
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
|
-
"
|
|
12
|
-
"
|
|
13
|
-
|
|
14
|
-
"@openclaw/ocm-linux-x64": "npm:@openclaw/ocm@0.3.1-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.
|
|
18
|
+
"version": "0.3.2-darwin-arm64"
|
|
21
19
|
}
|
package/release.json
CHANGED
|
@@ -1,37 +1,39 @@
|
|
|
1
1
|
{
|
|
2
2
|
"assets": {
|
|
3
3
|
"SHA256SUMS": {
|
|
4
|
-
"digest": "sha256:
|
|
5
|
-
"id":
|
|
4
|
+
"digest": "sha256:43983f575116604fa7da135e8258b5a35ea65bc2270c81075a1fc15980c2df9a",
|
|
5
|
+
"id": 638590766,
|
|
6
6
|
"size": 374,
|
|
7
|
-
"updated_at": "2026-10-
|
|
7
|
+
"updated_at": "2026-10-13T23:43:42Z"
|
|
8
8
|
},
|
|
9
9
|
"install.sh": {
|
|
10
10
|
"digest": "sha256:edc475d2e6e257c461655f514035533975b4c7f1ffe9a74fa987423be402e072",
|
|
11
|
-
"id":
|
|
11
|
+
"id": 638590765,
|
|
12
12
|
"size": 5650,
|
|
13
|
-
"updated_at": "2026-10-
|
|
13
|
+
"updated_at": "2026-10-13T23:43:42Z"
|
|
14
14
|
},
|
|
15
15
|
"ocm-aarch64-apple-darwin.tar.gz": {
|
|
16
|
-
"digest": "sha256:
|
|
17
|
-
"id":
|
|
18
|
-
"size":
|
|
19
|
-
"updated_at": "2026-10-
|
|
16
|
+
"digest": "sha256:40ec7c7e2bae7548e1c750624059e98f0f87759613999957f9744af740f01cc3",
|
|
17
|
+
"id": 638590762,
|
|
18
|
+
"size": 4995885,
|
|
19
|
+
"updated_at": "2026-10-13T23:43:42Z"
|
|
20
20
|
},
|
|
21
21
|
"ocm-x86_64-apple-darwin.tar.gz": {
|
|
22
|
-
"digest": "sha256:
|
|
23
|
-
"id":
|
|
24
|
-
"size":
|
|
25
|
-
"updated_at": "2026-10-
|
|
22
|
+
"digest": "sha256:a0876d9c22d907de5ac07a2a5d6788848fd49ad4ea5b42e1c9ad501909dd00e3",
|
|
23
|
+
"id": 638590760,
|
|
24
|
+
"size": 5488303,
|
|
25
|
+
"updated_at": "2026-10-13T23:43:42Z"
|
|
26
26
|
},
|
|
27
27
|
"ocm-x86_64-unknown-linux-gnu.tar.gz": {
|
|
28
|
-
"digest": "sha256:
|
|
29
|
-
"id":
|
|
30
|
-
"size":
|
|
31
|
-
"updated_at": "2026-10-
|
|
28
|
+
"digest": "sha256:2eb204bc6896de940bf629133bf770383558828e5302c21f1ac68fc3206a0517",
|
|
29
|
+
"id": 638590759,
|
|
30
|
+
"size": 5560367,
|
|
31
|
+
"updated_at": "2026-10-13T23:43:42Z"
|
|
32
32
|
}
|
|
33
33
|
},
|
|
34
|
-
"
|
|
34
|
+
"binarySha256": "4593a5f3558334d076dbb6053d9377b012e3479b85a05edcf427063ef78074a4",
|
|
35
|
+
"commit": "73c6e60e9ddb4650c823a9f991214f27815968e2",
|
|
35
36
|
"repository": "openclaw/ocm",
|
|
36
|
-
"tag": "v0.3.
|
|
37
|
+
"tag": "v0.3.2",
|
|
38
|
+
"target": "aarch64-apple-darwin"
|
|
37
39
|
}
|
|
Binary file
|
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
|
-
}
|