@rnbsolucoes/axion-code 0.1.21 → 0.1.22
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
|
@@ -293,13 +293,14 @@ the evidence before answering. Unsupported tools remain explicitly pending until
|
|
|
293
293
|
a dedicated adapter exists.
|
|
294
294
|
|
|
295
295
|
`axion tool run` exposes the first guarded dispatcher surface. The CLI and TUI
|
|
296
|
-
currently support `Read`, `Glob`, `Grep`, `Write` and `Edit
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
approval
|
|
301
|
-
|
|
302
|
-
|
|
296
|
+
currently support workspace-local `Read`, `Glob`, `Grep`, `Write` and `Edit`,
|
|
297
|
+
plus governed `Shell`/`Bash`/`PowerShell` commands that run from a workspace
|
|
298
|
+
directory with timeout and bounded output. Provider tool aliases such as
|
|
299
|
+
`read_file`, `write_file` and `run_command` are normalized to native tool names
|
|
300
|
+
before approval/execution. When the active permission mode requires approval,
|
|
301
|
+
execution is allowed only if the supplied approval is already approved and
|
|
302
|
+
matches the exact redacted tool request. MCP, browser, process and unknown tools
|
|
303
|
+
remain unsupported even when an approval exists.
|
|
303
304
|
|
|
304
305
|
Examples:
|
|
305
306
|
|
|
@@ -312,14 +313,15 @@ axion permission approvals --session smoke --decision pending --json
|
|
|
312
313
|
axion permission resolve <approval-id> --deny --reason "not needed" --json
|
|
313
314
|
axion tool run Read "{\"path\":\"README.md\"}" --mode full_permission --json
|
|
314
315
|
axion tool run Write "{\"path\":\"notes/out.txt\",\"content\":\"approved\"}" --session smoke --turn turn-1 --approval <approval-id> --mode request_permission --json
|
|
316
|
+
axion tool run Shell "{\"command\":\"echo axion-shell\"}" --session smoke --turn turn-1 --approval <approval-id> --mode request_permission --json
|
|
315
317
|
```
|
|
316
318
|
|
|
317
319
|
Security invariants:
|
|
318
320
|
|
|
319
321
|
- `Full permission` skips only read and non-destructive write tiers.
|
|
320
322
|
- package install, network download/egress, destructive commands, process
|
|
321
|
-
control, paid generation, browser actions, mutating MCP tools
|
|
322
|
-
tools still require approval under `Full permission`.
|
|
323
|
+
control, shell commands, paid generation, browser actions, mutating MCP tools
|
|
324
|
+
and unknown tools still require approval under `Full permission`.
|
|
323
325
|
- `YOLO` is the only mode that bypasses every class, and remains explicit user
|
|
324
326
|
opt-in.
|
|
325
327
|
- unknown native tools are default-deny until they are classified.
|
|
@@ -362,10 +364,11 @@ This is a functional direction MVP, not the full harness:
|
|
|
362
364
|
- terminal logo uses Sixel when available and falls back to width-bounded ANSI/block rendering;
|
|
363
365
|
- initial chat splash shows the Axion logo and system name until the first interaction;
|
|
364
366
|
- guarded dispatcher execution is limited to workspace-local `Read`, `Glob`,
|
|
365
|
-
`Grep`, `Write` and `Edit
|
|
366
|
-
the
|
|
367
|
-
|
|
368
|
-
|
|
367
|
+
`Grep`, `Write` and `Edit`, plus governed workspace-scoped shell commands;
|
|
368
|
+
the TUI executes these after approval and shows the result, then feeds
|
|
369
|
+
successful supported results back into the provider as an iterative
|
|
370
|
+
`tool_result` continuation turn;
|
|
371
|
+
- MCP, browser, process and unknown tools remain blocked;
|
|
369
372
|
- no executable Pi RPC bridge yet;
|
|
370
373
|
- no MCP transport execution yet;
|
|
371
374
|
- 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
|