@rivet-dev/agentos-sidecar 0.0.0-abc-fixes-1.d8c4d95 → 0.0.0-agent-acp-codex-session-benchmark.62b1f46
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 +2 -2
- package/index.d.ts +1 -2
- package/index.js +1 -7
- package/package.json +10 -5
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 `
|
|
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.d.ts
CHANGED
|
@@ -4,8 +4,7 @@
|
|
|
4
4
|
*
|
|
5
5
|
* Resolution priority:
|
|
6
6
|
* 1. `AGENTOS_SIDECAR_BIN` env var (absolute path override).
|
|
7
|
-
* 2.
|
|
8
|
-
* 3. The platform-specific `@rivet-dev/agentos-sidecar-<platform>` package.
|
|
7
|
+
* 2. The platform-specific `@rivet-dev/agentos-sidecar-<platform>` package.
|
|
9
8
|
*
|
|
10
9
|
* @throws if the platform is unsupported or no binary can be found.
|
|
11
10
|
*/
|
package/index.js
CHANGED
|
@@ -7,8 +7,7 @@
|
|
|
7
7
|
//
|
|
8
8
|
// Resolution priority:
|
|
9
9
|
// 1. `AGENTOS_SIDECAR_BIN` env var (absolute path override).
|
|
10
|
-
// 2.
|
|
11
|
-
// 3. The platform-specific `@rivet-dev/agentos-sidecar-<platform>` package.
|
|
10
|
+
// 2. The platform-specific `@rivet-dev/agentos-sidecar-<platform>` package.
|
|
12
11
|
|
|
13
12
|
const { existsSync } = require("node:fs");
|
|
14
13
|
const { join, dirname } = require("node:path");
|
|
@@ -48,11 +47,6 @@ function getSidecarPath() {
|
|
|
48
47
|
return override;
|
|
49
48
|
}
|
|
50
49
|
|
|
51
|
-
const localBinary = join(__dirname, BINARY_NAME);
|
|
52
|
-
if (existsSync(localBinary)) {
|
|
53
|
-
return localBinary;
|
|
54
|
-
}
|
|
55
|
-
|
|
56
50
|
const platformPkg = getPlatformPackageName();
|
|
57
51
|
if (!platformPkg) {
|
|
58
52
|
throw new Error(
|
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-agent-acp-codex-session-benchmark.62b1f46",
|
|
4
4
|
"description": "Platform-specific resolver for the Agent OS native sidecar binary",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"repository": {
|
|
@@ -18,10 +18,15 @@
|
|
|
18
18
|
"engines": {
|
|
19
19
|
"node": ">=20"
|
|
20
20
|
},
|
|
21
|
+
"scripts": {
|
|
22
|
+
"build": "node scripts/build.mjs",
|
|
23
|
+
"build:release": "node scripts/build.mjs --release",
|
|
24
|
+
"check-types": "exit 0"
|
|
25
|
+
},
|
|
21
26
|
"optionalDependencies": {
|
|
22
|
-
"@rivet-dev/agentos-sidecar-darwin-arm64": "0.0.0-
|
|
23
|
-
"@rivet-dev/agentos-sidecar-darwin-x64": "0.0.0-
|
|
24
|
-
"@rivet-dev/agentos-sidecar-linux-arm64-gnu": "0.0.0-
|
|
25
|
-
"@rivet-dev/agentos-sidecar-linux-x64-gnu": "0.0.0-
|
|
27
|
+
"@rivet-dev/agentos-sidecar-darwin-arm64": "0.0.0-agent-acp-codex-session-benchmark.62b1f46",
|
|
28
|
+
"@rivet-dev/agentos-sidecar-darwin-x64": "0.0.0-agent-acp-codex-session-benchmark.62b1f46",
|
|
29
|
+
"@rivet-dev/agentos-sidecar-linux-arm64-gnu": "0.0.0-agent-acp-codex-session-benchmark.62b1f46",
|
|
30
|
+
"@rivet-dev/agentos-sidecar-linux-x64-gnu": "0.0.0-agent-acp-codex-session-benchmark.62b1f46"
|
|
26
31
|
}
|
|
27
32
|
}
|