@rivet-dev/agentos-sidecar 0.0.0-agentos-dylib-plugin.bbfdf95 → 0.0.0-codex-darwin-ci-publish.61a7af3
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 +6 -6
- package/index.js +5 -1
- package/package.json +4 -2
package/README.md
CHANGED
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
# @rivet-dev/
|
|
1
|
+
# @rivet-dev/agentos-sidecar
|
|
2
2
|
|
|
3
3
|
Platform-specific resolver for the Agent OS native sidecar binary.
|
|
4
4
|
|
|
5
|
-
The compiled `
|
|
6
|
-
`@rivet-dev/
|
|
5
|
+
The compiled `agentos-sidecar` binary ships inside one of the
|
|
6
|
+
`@rivet-dev/agentos-sidecar-<platform>` packages, which this package declares as
|
|
7
7
|
optional dependencies. npm installs only the package matching the current
|
|
8
8
|
`os`/`cpu`/`libc` at install time.
|
|
9
9
|
|
|
10
10
|
```js
|
|
11
|
-
const { getSidecarPath } = require("@rivet-dev/
|
|
11
|
+
const { getSidecarPath } = require("@rivet-dev/agentos-sidecar");
|
|
12
12
|
|
|
13
13
|
const binaryPath = getSidecarPath();
|
|
14
14
|
```
|
|
15
15
|
|
|
16
|
-
Set `
|
|
16
|
+
Set `AGENTOS_SIDECAR_BIN` to an absolute path to override resolution (useful
|
|
17
17
|
for development or custom builds).
|
|
18
18
|
|
|
19
|
-
Supported platforms: `linux-x64-gnu`, `
|
|
19
|
+
Supported platforms: `linux-x64-gnu`, `darwin-arm64`, `darwin-x64`.
|
package/index.js
CHANGED
|
@@ -27,6 +27,10 @@ function getPlatformPackageName() {
|
|
|
27
27
|
if (arch === "x64") return "@rivet-dev/agentos-sidecar-linux-x64-gnu";
|
|
28
28
|
if (arch === "arm64") return "@rivet-dev/agentos-sidecar-linux-arm64-gnu";
|
|
29
29
|
break;
|
|
30
|
+
case "darwin":
|
|
31
|
+
if (arch === "arm64") return "@rivet-dev/agentos-sidecar-darwin-arm64";
|
|
32
|
+
if (arch === "x64") return "@rivet-dev/agentos-sidecar-darwin-x64";
|
|
33
|
+
break;
|
|
30
34
|
default:
|
|
31
35
|
break;
|
|
32
36
|
}
|
|
@@ -53,7 +57,7 @@ function getSidecarPath() {
|
|
|
53
57
|
if (!platformPkg) {
|
|
54
58
|
throw new Error(
|
|
55
59
|
`@rivet-dev/agentos-sidecar: unsupported platform ${process.platform}/${process.arch}. ` +
|
|
56
|
-
"The Agent OS sidecar currently supports linux x64 and arm64. " +
|
|
60
|
+
"The Agent OS sidecar currently supports linux x64/arm64 and macOS x64/arm64. " +
|
|
57
61
|
"Set AGENTOS_SIDECAR_BIN to a local agentos-sidecar binary to override.",
|
|
58
62
|
);
|
|
59
63
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rivet-dev/agentos-sidecar",
|
|
3
|
-
"version": "0.0.0-
|
|
3
|
+
"version": "0.0.0-codex-darwin-ci-publish.61a7af3",
|
|
4
4
|
"description": "Platform-specific resolver for the Agent OS native sidecar binary",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"repository": {
|
|
@@ -19,6 +19,8 @@
|
|
|
19
19
|
"node": ">=20"
|
|
20
20
|
},
|
|
21
21
|
"optionalDependencies": {
|
|
22
|
-
"@rivet-dev/agentos-sidecar-
|
|
22
|
+
"@rivet-dev/agentos-sidecar-darwin-arm64": "0.0.0-codex-darwin-ci-publish.61a7af3",
|
|
23
|
+
"@rivet-dev/agentos-sidecar-darwin-x64": "0.0.0-codex-darwin-ci-publish.61a7af3",
|
|
24
|
+
"@rivet-dev/agentos-sidecar-linux-x64-gnu": "0.0.0-codex-darwin-ci-publish.61a7af3"
|
|
23
25
|
}
|
|
24
26
|
}
|