@rnbsolucoes/axion-code 0.1.22 → 0.1.23
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
CHANGED
|
@@ -292,15 +292,16 @@ provider as a follow-up `tool_result` continuation turn, so the agent can use
|
|
|
292
292
|
the evidence before answering. Unsupported tools remain explicitly pending until
|
|
293
293
|
a dedicated adapter exists.
|
|
294
294
|
|
|
295
|
-
`axion tool run` exposes the
|
|
295
|
+
`axion tool run` exposes the guarded dispatcher surface. The CLI and TUI
|
|
296
296
|
currently support workspace-local `Read`, `Glob`, `Grep`, `Write` and `Edit`,
|
|
297
|
-
|
|
298
|
-
directory with timeout and bounded output
|
|
299
|
-
`
|
|
300
|
-
|
|
301
|
-
execution
|
|
302
|
-
|
|
303
|
-
|
|
297
|
+
governed `Shell`/`Bash`/`PowerShell` commands that run from a workspace
|
|
298
|
+
directory with timeout and bounded output, and enabled stdio MCP tools named as
|
|
299
|
+
`mcp__<server-id>__<tool-name>`. Provider tool aliases such as `read_file`,
|
|
300
|
+
`write_file` and `run_command` are normalized to native tool names before
|
|
301
|
+
approval/execution. When the active permission mode requires approval, execution
|
|
302
|
+
is allowed only if the supplied approval is already approved and matches the
|
|
303
|
+
exact redacted tool request. Remote MCP transports, browser, process and
|
|
304
|
+
unknown tools remain unsupported even when an approval exists.
|
|
304
305
|
|
|
305
306
|
Examples:
|
|
306
307
|
|
|
@@ -314,6 +315,7 @@ axion permission resolve <approval-id> --deny --reason "not needed" --json
|
|
|
314
315
|
axion tool run Read "{\"path\":\"README.md\"}" --mode full_permission --json
|
|
315
316
|
axion tool run Write "{\"path\":\"notes/out.txt\",\"content\":\"approved\"}" --session smoke --turn turn-1 --approval <approval-id> --mode request_permission --json
|
|
316
317
|
axion tool run Shell "{\"command\":\"echo axion-shell\"}" --session smoke --turn turn-1 --approval <approval-id> --mode request_permission --json
|
|
318
|
+
axion tool run mcp__dotcontext__list_context "{\"query\":\"PREVC\"}" --mode full_permission --json
|
|
317
319
|
```
|
|
318
320
|
|
|
319
321
|
Security invariants:
|
|
@@ -327,6 +329,8 @@ Security invariants:
|
|
|
327
329
|
- unknown native tools are default-deny until they are classified.
|
|
328
330
|
- MCP tools are mutating by default; only read-shaped names such as `find_*`,
|
|
329
331
|
`get_*`, `list_*`, `search_*` and `*_overview` are downgraded to read-only.
|
|
332
|
+
The dispatcher validates that enabled stdio MCP servers advertise the target
|
|
333
|
+
tool through `tools/list` before calling `tools/call`.
|
|
330
334
|
|
|
331
335
|
Provider menu actions:
|
|
332
336
|
|
|
@@ -364,11 +368,11 @@ This is a functional direction MVP, not the full harness:
|
|
|
364
368
|
- terminal logo uses Sixel when available and falls back to width-bounded ANSI/block rendering;
|
|
365
369
|
- initial chat splash shows the Axion logo and system name until the first interaction;
|
|
366
370
|
- guarded dispatcher execution is limited to workspace-local `Read`, `Glob`,
|
|
367
|
-
`Grep`, `Write` and `Edit`,
|
|
371
|
+
`Grep`, `Write` and `Edit`, governed workspace-scoped shell commands and
|
|
372
|
+
enabled stdio MCP tools;
|
|
368
373
|
the TUI executes these after approval and shows the result, then feeds
|
|
369
374
|
successful supported results back into the provider as an iterative
|
|
370
375
|
`tool_result` continuation turn;
|
|
371
|
-
- MCP, browser, process and unknown tools remain blocked;
|
|
376
|
+
- remote MCP transports, browser, process and unknown tools remain blocked;
|
|
372
377
|
- no executable Pi RPC bridge yet;
|
|
373
|
-
- no MCP transport execution yet;
|
|
374
378
|
- native subagent execution is prompt-isolated and provider/model-inherited; richer multi-subagent orchestration, streaming and budget telemetry remain next-cycle items.
|
|
Binary file
|
|
Binary file
|