@ash-ai/bridge 0.0.1 → 0.0.3
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 +5 -4
package/README.md
ADDED
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
# @ash-ai/bridge
|
|
2
|
+
|
|
3
|
+
Bridge process for [Ash](https://github.com/ash-ai-org/ash-ai) — runs inside each sandbox and communicates with the Claude Agent SDK.
|
|
4
|
+
|
|
5
|
+
The bridge is the boundary between the isolated sandbox environment and the AI model. It receives messages over a Unix socket, forwards them to the Claude Agent SDK, and streams responses back.
|
|
6
|
+
|
|
7
|
+
## Installation
|
|
8
|
+
|
|
9
|
+
```bash
|
|
10
|
+
npm install @ash-ai/bridge
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
## How it works
|
|
14
|
+
|
|
15
|
+
```
|
|
16
|
+
ash-server → Unix socket → bridge process → Claude Agent SDK
|
|
17
|
+
(inside sandbox)
|
|
18
|
+
```
|
|
19
|
+
|
|
20
|
+
The bridge runs as an isolated child process with restricted environment variables, resource limits, and filesystem isolation.
|
|
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,24 +1,25 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ash-ai/bridge",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.3",
|
|
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/bridge"
|
|
17
18
|
},
|
|
18
19
|
"license": "MIT",
|
|
19
20
|
"description": "Ash sandbox bridge process (runs inside sandbox, talks to Claude Agent SDK)",
|
|
20
21
|
"dependencies": {
|
|
21
|
-
"@ash-ai/shared": "0.0.
|
|
22
|
+
"@ash-ai/shared": "0.0.3"
|
|
22
23
|
},
|
|
23
24
|
"peerDependencies": {
|
|
24
25
|
"@anthropic-ai/claude-agent-sdk": ">=0.2.0"
|