@aerostack/gateway 0.15.23 → 0.15.24
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 +10 -12
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -189,11 +189,14 @@ When your workspace has approval rules configured, the bridge handles them trans
|
|
|
189
189
|
AI calls dangerous_tool
|
|
190
190
|
→ Bridge forwards to workspace
|
|
191
191
|
→ Workspace returns "needs approval" (-32050)
|
|
192
|
-
→ Bridge
|
|
192
|
+
→ Bridge opens WebSocket to approval gate (instant push)
|
|
193
193
|
→ You approve/reject in dashboard or mobile app
|
|
194
|
-
→ Bridge
|
|
194
|
+
→ Bridge receives decision instantly via WebSocket
|
|
195
|
+
→ Returns result on approval, error on rejection
|
|
195
196
|
```
|
|
196
197
|
|
|
198
|
+
Resolution is **instant via WebSocket** — no polling. A 30s safety-net poll runs in parallel only as a fallback if WebSocket drops.
|
|
199
|
+
|
|
197
200
|
Your AI agent sees either a successful result or a clear error — no special handling needed.
|
|
198
201
|
|
|
199
202
|
## Local Guardian
|
|
@@ -221,16 +224,11 @@ Agent wants to: rm -rf ./old-config/
|
|
|
221
224
|
|
|
222
225
|
## Configuration
|
|
223
226
|
|
|
224
|
-
| Variable | Required |
|
|
225
|
-
|
|
226
|
-
| `AEROSTACK_WORKSPACE_URL` | Yes |
|
|
227
|
-
| `AEROSTACK_TOKEN` | Yes |
|
|
228
|
-
| `
|
|
229
|
-
| `AEROSTACK_APPROVAL_TIMEOUT_MS` | No | `86400000` | Max approval wait time (24h default) |
|
|
230
|
-
| `AEROSTACK_REQUEST_TIMEOUT_MS` | No | `30000` | HTTP request timeout (30s) |
|
|
231
|
-
| `AEROSTACK_LOCAL_GUARDIAN` | No | `true` | Set `false` to disable Local Guardian |
|
|
232
|
-
| `AEROSTACK_LOG_LEVEL` | No | `info` | Log level: debug, info, warn, error |
|
|
233
|
-
| `AEROSTACK_APPROVAL_MODE` | No | `async` | Approval mode: `async` (non-blocking) or `sync` |
|
|
227
|
+
| Variable | Required | Description |
|
|
228
|
+
|----------|----------|-------------|
|
|
229
|
+
| `AEROSTACK_WORKSPACE_URL` | Yes | Your workspace URL (`https://mcp.aerostack.dev/ws/...`) |
|
|
230
|
+
| `AEROSTACK_TOKEN` | Yes | Workspace token (`mwt_...`) — get from dashboard |
|
|
231
|
+
| `AEROSTACK_LOG_LEVEL` | No | Log level: `debug`, `info` (default), `warn`, `error` |
|
|
234
232
|
|
|
235
233
|
## CLI Flags
|
|
236
234
|
|