@mindfoldhq/runtime-manager 0.1.0
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 +31 -0
- package/dist/vine-runtime-manager.js +11675 -0
- package/package.json +28 -0
package/README.md
ADDED
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
# @mindfoldhq/runtime-manager
|
|
2
|
+
|
|
3
|
+
Vine runtime-manager host process.
|
|
4
|
+
|
|
5
|
+
The package is installed through npm/npx, but the executable runs on Bun. Install
|
|
6
|
+
Bun before running the command:
|
|
7
|
+
|
|
8
|
+
```bash
|
|
9
|
+
curl -fsSL https://bun.sh/install | bash
|
|
10
|
+
```
|
|
11
|
+
|
|
12
|
+
Run a manager:
|
|
13
|
+
|
|
14
|
+
```bash
|
|
15
|
+
VINE_SERVER_URL='wss://api.ohmyagents.ai' \
|
|
16
|
+
VINE_MANAGER_TOKEN='<registration-token>' \
|
|
17
|
+
VINE_MANAGER_NAME=runtime-$(hostname) \
|
|
18
|
+
VINE_PROVIDERS='remote_sandbox' \
|
|
19
|
+
VINE_REMOTE_SANDBOX_PROVIDER='e2b' \
|
|
20
|
+
VINE_RUNNER_LINK_HOST='0.0.0.0' \
|
|
21
|
+
VINE_RUNNER_LINK_PORT='8788' \
|
|
22
|
+
VINE_RUNNER_LINK_PUBLIC_URL='<public-runner-link-wss-url>' \
|
|
23
|
+
npx @mindfoldhq/runtime-manager serve
|
|
24
|
+
```
|
|
25
|
+
|
|
26
|
+
`VINE_MANAGER_TOKEN` is created in Vine Web Settings -> Runtime managers. The
|
|
27
|
+
server derives the organization from that token. `VINE_ORGANIZATION_ID` is not
|
|
28
|
+
accepted.
|
|
29
|
+
|
|
30
|
+
For local process-only managers, `VINE_RUNNER_LINK_PUBLIC_URL` is not required.
|
|
31
|
+
For remote sandbox providers, it must be reachable from inside the sandbox.
|