@slopus/happy-agent-supervisor 0.0.1-linux-x64 → 0.0.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/README.md
CHANGED
|
@@ -24,12 +24,12 @@ matching executable lives.
|
|
|
24
24
|
|
|
25
25
|
## Where it runs
|
|
26
26
|
|
|
27
|
-
| Platform | Architecture | Rust target | Enforcement
|
|
28
|
-
| -------- | ------------ | ---------------------------- |
|
|
29
|
-
| macOS | arm64 | `aarch64-apple-darwin` | Seatbelt profile installed in-process
|
|
30
|
-
| macOS | x64 | `x86_64-apple-darwin` | Seatbelt profile installed in-process
|
|
31
|
-
| Linux | arm64 | `aarch64-unknown-linux-musl` | namespaces, mount policy, seccomp, capability removal
|
|
32
|
-
| Linux | x64 | `x86_64-unknown-linux-musl` | namespaces, mount policy, seccomp, capability removal
|
|
27
|
+
| Platform | Architecture | Rust target | Enforcement |
|
|
28
|
+
| -------- | ------------ | ---------------------------- | ----------------------------------------------------- |
|
|
29
|
+
| macOS | arm64 | `aarch64-apple-darwin` | Seatbelt profile installed in-process |
|
|
30
|
+
| macOS | x64 | `x86_64-apple-darwin` | Seatbelt profile installed in-process |
|
|
31
|
+
| Linux | arm64 | `aarch64-unknown-linux-musl` | namespaces, mount policy, seccomp, capability removal |
|
|
32
|
+
| Linux | x64 | `x86_64-unknown-linux-musl` | namespaces, mount policy, seccomp, capability removal |
|
|
33
33
|
|
|
34
34
|
The Linux binaries are static musl builds, so they run on any distribution and
|
|
35
35
|
can be mounted read-only into a container that has no toolchain of its own.
|
|
@@ -50,12 +50,12 @@ matches the machine and silently skips the other three.
|
|
|
50
50
|
|
|
51
51
|
The binaries are published as versions of the same npm name, one per target:
|
|
52
52
|
|
|
53
|
-
| Optional dependency
|
|
54
|
-
|
|
|
55
|
-
| `@slopus/happy-agent-supervisor-darwin-arm64`
|
|
56
|
-
| `@slopus/happy-agent-supervisor-darwin-x64`
|
|
57
|
-
| `@slopus/happy-agent-supervisor-linux-arm64`
|
|
58
|
-
| `@slopus/happy-agent-supervisor-linux-x64`
|
|
53
|
+
| Optional dependency | Resolves to |
|
|
54
|
+
| --------------------------------------------- | ------------------------------------------------------- |
|
|
55
|
+
| `@slopus/happy-agent-supervisor-darwin-arm64` | `@slopus/happy-agent-supervisor@<version>-darwin-arm64` |
|
|
56
|
+
| `@slopus/happy-agent-supervisor-darwin-x64` | `@slopus/happy-agent-supervisor@<version>-darwin-x64` |
|
|
57
|
+
| `@slopus/happy-agent-supervisor-linux-arm64` | `@slopus/happy-agent-supervisor@<version>-linux-arm64` |
|
|
58
|
+
| `@slopus/happy-agent-supervisor-linux-x64` | `@slopus/happy-agent-supervisor@<version>-linux-x64` |
|
|
59
59
|
|
|
60
60
|
Each of those packages contains one executable at
|
|
61
61
|
`vendor/<rust-target>/bin/happy-agent-supervisor` plus a `SHA256SUMS` file for it.
|
|
@@ -68,7 +68,7 @@ package explicitly and read its path from your build script:
|
|
|
68
68
|
|
|
69
69
|
```sh
|
|
70
70
|
# The binary you want to copy into a linux/amd64 image.
|
|
71
|
-
npm install --no-save @slopus/happy-agent-supervisor@0.0.
|
|
71
|
+
npm install --no-save @slopus/happy-agent-supervisor@0.0.2-linux-x64
|
|
72
72
|
```
|
|
73
73
|
|
|
74
74
|
Or ask your package manager for every variant at once, which is what a release
|
|
@@ -76,8 +76,8 @@ pipeline usually wants:
|
|
|
76
76
|
|
|
77
77
|
```sh
|
|
78
78
|
npm install --force \
|
|
79
|
-
@slopus/happy-agent-supervisor@0.0.
|
|
80
|
-
@slopus/happy-agent-supervisor@0.0.
|
|
79
|
+
@slopus/happy-agent-supervisor@0.0.2-linux-x64 \
|
|
80
|
+
@slopus/happy-agent-supervisor@0.0.2-linux-arm64
|
|
81
81
|
```
|
|
82
82
|
|
|
83
83
|
Then point the container at it:
|
|
@@ -94,10 +94,7 @@ const hostPath = resolveLinuxSupervisorBinary("amd64");
|
|
|
94
94
|
|
|
95
95
|
```ts
|
|
96
96
|
import { spawn } from "node:child_process";
|
|
97
|
-
import {
|
|
98
|
-
parseSupervisorPolicy,
|
|
99
|
-
resolveSupervisorBinary,
|
|
100
|
-
} from "@slopus/happy-agent-supervisor";
|
|
97
|
+
import { parseSupervisorPolicy, resolveSupervisorBinary } from "@slopus/happy-agent-supervisor";
|
|
101
98
|
|
|
102
99
|
const policy = parseSupervisorPolicy({
|
|
103
100
|
mode: "workspace_write",
|
package/SHA256SUMS
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
c3bf34669d4e17d8b4b251e82a4df0f2fa3bdda8a7ea30f9cece2720dfd7451e vendor/aarch64-apple-darwin/bin/happy-agent-supervisor
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@slopus/happy-agent-supervisor",
|
|
3
|
-
"version": "0.0.
|
|
4
|
-
"description": "Trusted native sandbox boundary for Happy agent workloads. Native binary for
|
|
3
|
+
"version": "0.0.2-darwin-arm64",
|
|
4
|
+
"description": "Trusted native sandbox boundary for Happy agent workloads. Native binary for darwin-arm64.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
7
7
|
"type": "git",
|
|
@@ -12,13 +12,13 @@
|
|
|
12
12
|
"node": ">=22.19.0"
|
|
13
13
|
},
|
|
14
14
|
"os": [
|
|
15
|
-
"
|
|
15
|
+
"darwin"
|
|
16
16
|
],
|
|
17
17
|
"cpu": [
|
|
18
|
-
"
|
|
18
|
+
"arm64"
|
|
19
19
|
],
|
|
20
20
|
"bin": {
|
|
21
|
-
"happy-agent-supervisor": "vendor/
|
|
21
|
+
"happy-agent-supervisor": "vendor/aarch64-apple-darwin/bin/happy-agent-supervisor"
|
|
22
22
|
},
|
|
23
23
|
"files": [
|
|
24
24
|
"vendor",
|
|
Binary file
|
|
Binary file
|