@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` inside the active
297
- workspace. Provider tool aliases such as `read_file` and `write_file` are
298
- normalized to the native tool names before approval/execution. When the active
299
- permission mode requires approval, execution is allowed only if the supplied
300
- approval is already approved and matches the exact redacted tool request.
301
- Shell, MCP, browser, process and unknown tools remain unsupported even when an
302
- approval exists.
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 and unknown
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`; the TUI executes these after approval and shows
366
- the result, then feeds successful supported results back into the provider as
367
- an iterative `tool_result` continuation turn;
368
- - shell, MCP, browser, process and unknown tools remain blocked;
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
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rnbsolucoes/axion-code",
3
- "version": "0.1.21",
3
+ "version": "0.1.22",
4
4
  "description": "Axion Code CLI harness for the Axion ecosystem.",
5
5
  "type": "module",
6
6
  "repository": {