@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.
Files changed (2) hide show
  1. package/README.md +10 -12
  2. 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 waits via WebSocket (instant) or polls as fallback
192
+ → Bridge opens WebSocket to approval gate (instant push)
193
193
  → You approve/reject in dashboard or mobile app
194
- → Bridge retries on approval, returns error on rejection
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 | Default | Description |
225
- |----------|----------|---------|-------------|
226
- | `AEROSTACK_WORKSPACE_URL` | Yes | | Full workspace endpoint URL (`https://mcp.aerostack.dev/ws/...`) |
227
- | `AEROSTACK_TOKEN` | Yes | — | Workspace token (`mwt_...`) |
228
- | `AEROSTACK_APPROVAL_POLL_MS` | No | `3000` | Approval polling interval (ms) |
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
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aerostack/gateway",
3
- "version": "0.15.23",
3
+ "version": "0.15.24",
4
4
  "description": "stdio-to-HTTP bridge connecting any MCP client to Aerostack Workspaces",
5
5
  "author": "Aerostack",
6
6
  "license": "MIT",