@ash-ai/runner 0.0.1 → 0.0.2
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 +28 -0
- package/package.json +6 -5
package/README.md
ADDED
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
# @ash-ai/runner
|
|
2
|
+
|
|
3
|
+
[Ash](https://github.com/ash-ai-org/ash-ai) runner process — manages sandboxes on a worker node and exposes them over HTTP for the coordinator server.
|
|
4
|
+
|
|
5
|
+
Used in multi-machine deployments where the Ash server acts as a control plane and runners host the actual sandboxes.
|
|
6
|
+
|
|
7
|
+
## Installation
|
|
8
|
+
|
|
9
|
+
```bash
|
|
10
|
+
npm install @ash-ai/runner
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
## How it works
|
|
14
|
+
|
|
15
|
+
```
|
|
16
|
+
ash-server (coordinator) ──HTTP──> runner node 1 ──> sandboxes
|
|
17
|
+
──HTTP──> runner node 2 ──> sandboxes
|
|
18
|
+
```
|
|
19
|
+
|
|
20
|
+
Runners register with the server, send heartbeats, and accept sandbox assignments. Sessions route to the least-loaded runner.
|
|
21
|
+
|
|
22
|
+
## Documentation
|
|
23
|
+
|
|
24
|
+
See the [Ash README](https://github.com/ash-ai-org/ash-ai) for full documentation.
|
|
25
|
+
|
|
26
|
+
## License
|
|
27
|
+
|
|
28
|
+
[MIT](https://github.com/ash-ai-org/ash-ai/blob/main/LICENSE)
|
package/package.json
CHANGED
|
@@ -1,18 +1,19 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ash-ai/runner",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.2",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
7
7
|
"files": [
|
|
8
|
-
"dist"
|
|
8
|
+
"dist",
|
|
9
|
+
"README.md"
|
|
9
10
|
],
|
|
10
11
|
"publishConfig": {
|
|
11
12
|
"access": "public"
|
|
12
13
|
},
|
|
13
14
|
"repository": {
|
|
14
15
|
"type": "git",
|
|
15
|
-
"url": "https://github.com/ash-ai/ash.git",
|
|
16
|
+
"url": "https://github.com/ash-ai-org/ash-ai.git",
|
|
16
17
|
"directory": "packages/runner"
|
|
17
18
|
},
|
|
18
19
|
"license": "MIT",
|
|
@@ -21,8 +22,8 @@
|
|
|
21
22
|
"@aws-sdk/client-s3": "^3.700.0",
|
|
22
23
|
"better-sqlite3": "^11.0.0",
|
|
23
24
|
"fastify": "^5.2.0",
|
|
24
|
-
"@ash-ai/sandbox": "0.0.
|
|
25
|
-
"@ash-ai/shared": "0.0.
|
|
25
|
+
"@ash-ai/sandbox": "0.0.2",
|
|
26
|
+
"@ash-ai/shared": "0.0.2"
|
|
26
27
|
},
|
|
27
28
|
"devDependencies": {
|
|
28
29
|
"@types/better-sqlite3": "^7.6.0"
|