pando-ai 0.2.5 → 0.2.6
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 -10
- package/dist/cli.js +149 -149
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -38,8 +38,10 @@ Two choke points, one ruleset:
|
|
|
38
38
|
|
|
39
39
|
- **Launch shim** (`~/.pando/bin` ahead of the real tools on PATH) — supervises
|
|
40
40
|
every `codex`/`claude` invocation. It disables the agent's native tools where
|
|
41
|
-
supported,
|
|
42
|
-
applies the MCP allow/deny policy via the agent's own launch
|
|
41
|
+
supported, dynamically injects the Pando MCP server (root-scoped to your
|
|
42
|
+
project), and applies the MCP allow/deny policy via the agent's own launch
|
|
43
|
+
flags. Pando does not permanently add itself to the user's MCP config files by
|
|
44
|
+
default; supervised launches pass generated config on each run.
|
|
43
45
|
- **Wire gateway** (a local reverse proxy speaking the OpenAI Responses API and
|
|
44
46
|
Anthropic Messages API) — sits inline on every supported request and forwards
|
|
45
47
|
it to the upstream you control, so traffic stays local. It blocks off-policy
|
|
@@ -74,7 +76,7 @@ Legacy completion APIs, including OpenAI chat/completions and Anthropic
|
|
|
74
76
|
| Capability | Claude Code | Codex |
|
|
75
77
|
| --- | --- | --- |
|
|
76
78
|
| Disable native tools | ✅ `--tools ""` (MCP stays available) + gateway/hook block | ⚠️ read-only sandbox + web search disabled + request/response gateway block |
|
|
77
|
-
| Install Pando MCP, root-scoped | ✅ `--mcp-config` | ✅ required `-c mcp_servers.pando.*` |
|
|
79
|
+
| Install Pando MCP, root-scoped | ✅ dynamic `--mcp-config` + `--strict-mcp-config` | ✅ dynamic required `-c mcp_servers.pando.*` |
|
|
78
80
|
| `other_mcp: deny_all` | ✅ `--strict-mcp-config` (Pando only) + gateway/hook block | ✅ request/response gateway block |
|
|
79
81
|
| `other_mcp: allow_list` | ✅ strict config with Pando + named servers + gateway/hook block | ✅ request/response gateway block |
|
|
80
82
|
| `other_mcp: deny_list` | ✅ `--disallowedTools` removes denied names + gateway/hook block | ✅ request/response gateway block |
|
|
@@ -182,11 +184,11 @@ provider-bound gateway enforcement is disabled.
|
|
|
182
184
|
## Surfaces
|
|
183
185
|
|
|
184
186
|
```bash
|
|
185
|
-
pando-ai # firewall console
|
|
187
|
+
pando-ai # firewall console: status, install, uninstall
|
|
186
188
|
pando-ai install # force a (re)install pass
|
|
187
189
|
pando-ai uninstall # remove Pando shims, managed PATH block, install state, and global npm install when detected
|
|
188
190
|
pando-ai serve [path] # stdio MCP server for MCP clients
|
|
189
|
-
pando-ai serve-http # HTTP MCP server
|
|
191
|
+
pando-ai serve-http # explicit HTTP MCP server for debugging/integrations
|
|
190
192
|
pando-ai gateway # run the firewall gateway in the foreground (debug)
|
|
191
193
|
pando-ai proxy status|enable|disable [codex|claude]
|
|
192
194
|
pando-ai login|logout|whoami
|
|
@@ -215,14 +217,30 @@ to remove in that case.
|
|
|
215
217
|
|
|
216
218
|
## MCP serve mode
|
|
217
219
|
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
220
|
+
MCP mode is explicit. Bare `pando-ai` always opens the firewall console; it does
|
|
221
|
+
not become an MCP server just because stdin/stdout are non-interactive.
|
|
222
|
+
|
|
223
|
+
Use stdio MCP for agents:
|
|
224
|
+
|
|
225
|
+
```bash
|
|
226
|
+
pando-ai serve /path/to/project
|
|
227
|
+
```
|
|
228
|
+
|
|
229
|
+
`serve-http` remains available as an explicit command for debugging or
|
|
230
|
+
integrations that need HTTP:
|
|
231
|
+
|
|
232
|
+
```bash
|
|
233
|
+
pando-ai serve-http /path/to/project --host 127.0.0.1 --port 5888
|
|
234
|
+
```
|
|
235
|
+
|
|
236
|
+
`pando-ai config set telemetry false` disables usage telemetry.
|
|
221
237
|
|
|
222
238
|
## Transport behavior
|
|
223
239
|
|
|
224
|
-
- MCP
|
|
225
|
-
-
|
|
240
|
+
- MCP does not run by default. Agents should use `pando-ai serve`.
|
|
241
|
+
- HTTP MCP does not run by default. It only starts through explicit
|
|
242
|
+
`pando-ai serve-http`.
|
|
243
|
+
- The CLI redirects incidental runtime logs to stderr so stdout stays valid JSON-RPC/MCP traffic in stdio mode.
|
|
226
244
|
|
|
227
245
|
## Agent setup
|
|
228
246
|
|