@aerostack/gateway 0.17.3 → 0.17.4
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 +1 -1
- package/dist/index.js +2 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -191,7 +191,7 @@ openclaw doctor
|
|
|
191
191
|
| `AEROSTACK_WORKSPACE_URL is required` | The env vars aren't being passed. Use `export` before running `--check`, or verify your MCP config has the `env` block |
|
|
192
192
|
| `npx` error: "could not determine executable" | Install globally: `npm install -g @aerostack/gateway`, then run `aerostack-gateway --check` |
|
|
193
193
|
| "Token invalid" in `--check` | Regenerate token at dashboard → Workspace → Tokens |
|
|
194
|
-
| "0 tools
|
|
194
|
+
| "0 workspace tools" | Built-in tools (Local Guardian, Chat) are always available. Add MCP servers to your workspace for more tools |
|
|
195
195
|
| OpenClaw: tools not showing | Send a message via Telegram or another channel to initialize the session |
|
|
196
196
|
| Dashboard shows "No agents" | Run `--check` to verify, or wait 2 minutes for the heartbeat to register |
|
|
197
197
|
| "Workspace unreachable" | Check the URL format: `https://mcp.aerostack.dev/ws/your-workspace` |
|
package/dist/index.js
CHANGED
|
@@ -51,9 +51,9 @@ ${V}`:V}}}const x=new we({name:"aerostack-gateway",version:"0.15.29"},{capabilit
|
|
|
51
51
|
Fix: Regenerate token at your dashboard \u2192 Workspace \u2192 Tokens
|
|
52
52
|
`),process.exit(1)),e(` \u274C Workspace unreachable (HTTP ${t.status})`),e(`
|
|
53
53
|
Fix: Check AEROSTACK_WORKSPACE_URL is correct
|
|
54
|
-
`),process.exit(1));const n=await t.json();e(` \u2705 Workspace URL reachable (${m})`),e(` \u2705 Token valid (${n.token_name}, role: ${n.token_role})`),e(` \u2705 Workspace connected ("${n.workspace}")`),e(` \u2705 Tools available (${n.mcp_servers}
|
|
54
|
+
`),process.exit(1));const n=await t.json();e(` \u2705 Workspace URL reachable (${m})`),e(` \u2705 Token valid (${n.token_name}, role: ${n.token_role})`),e(` \u2705 Workspace connected ("${n.workspace}")`);const s=4,o=(n.mcp_servers??0)+s;e(` \u2705 Tools available (${o} tools: ${n.mcp_servers} workspace + ${s} built-in)`);try{const a=await fetch(`${m}/chat/heartbeat`,{method:"POST",headers:{Authorization:`Bearer ${h}`,"Content-Type":"application/json"},body:JSON.stringify({agent_type:"check",user_agent:"aerostack-gateway/check",bridge_id:"check"}),signal:AbortSignal.timeout(1e4)});e(a.ok?" \u2705 Dashboard registration (bridge visible in admin)":` \u26A0\uFE0F Dashboard registration (returned ${a.status})`)}catch{e(" \u26A0\uFE0F Dashboard registration (heartbeat failed \u2014 non-fatal)")}e(`
|
|
55
55
|
All checks passed. Your agent is connected.`),e(` Dashboard: ${n.dashboard_url||"https://app.aerostack.dev"}
|
|
56
|
-
`),n.mcp_servers===0&&e(`
|
|
56
|
+
`),n.mcp_servers===0&&e(` Tip: Add MCP servers to your workspace for more tools. Built-in tools (Local Guardian, Chat) are ready.
|
|
57
57
|
`),process.exit(0)}catch(t){t?.name==="TimeoutError"||t?.name==="AbortError"?(e(" \u274C Workspace unreachable (timeout after 10s)"),e(`
|
|
58
58
|
Fix: Check AEROSTACK_WORKSPACE_URL and your network connection
|
|
59
59
|
`)):(e(` \u274C Connection failed (${t?.message??"unknown error"})`),e(`
|