@rivet-dev/agentos-sidecar 0.0.0-integrate-dylib-into-main.815fcda → 0.0.0-max-listeners.44bc9a2

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.
Files changed (3) hide show
  1. package/README.md +2 -2
  2. package/index.js +5 -1
  3. package/package.json +5 -2
package/README.md CHANGED
@@ -13,7 +13,7 @@ const { getSidecarPath } = require("@rivet-dev/agentos-sidecar");
13
13
  const binaryPath = getSidecarPath();
14
14
  ```
15
15
 
16
- Set `AGENT_OS_SIDECAR_BIN` to an absolute path to override resolution (useful
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`, `linux-arm64-gnu`.
19
+ Supported platforms: `linux-x64-gnu`, `linux-arm64-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 === "x64") return "@rivet-dev/agentos-sidecar-darwin-x64";
32
+ if (arch === "arm64") return "@rivet-dev/agentos-sidecar-darwin-arm64";
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 and darwin on x64 and 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-integrate-dylib-into-main.815fcda",
3
+ "version": "0.0.0-max-listeners.44bc9a2",
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,9 @@
19
19
  "node": ">=20"
20
20
  },
21
21
  "optionalDependencies": {
22
- "@rivet-dev/agentos-sidecar-linux-x64-gnu": "0.0.0-integrate-dylib-into-main.815fcda"
22
+ "@rivet-dev/agentos-sidecar-darwin-arm64": "0.0.0-max-listeners.44bc9a2",
23
+ "@rivet-dev/agentos-sidecar-darwin-x64": "0.0.0-max-listeners.44bc9a2",
24
+ "@rivet-dev/agentos-sidecar-linux-arm64-gnu": "0.0.0-max-listeners.44bc9a2",
25
+ "@rivet-dev/agentos-sidecar-linux-x64-gnu": "0.0.0-max-listeners.44bc9a2"
23
26
  }
24
27
  }