@rnbsolucoes/axion-code 0.1.21 → 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,14 +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 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.
295
+ `axion tool run` exposes the guarded dispatcher surface. The CLI and TUI
296
+ currently support workspace-local `Read`, `Glob`, `Grep`, `Write` and `Edit`,
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.
303
305
 
304
306
  Examples:
305
307
 
@@ -312,19 +314,23 @@ axion permission approvals --session smoke --decision pending --json
312
314
  axion permission resolve <approval-id> --deny --reason "not needed" --json
313
315
  axion tool run Read "{\"path\":\"README.md\"}" --mode full_permission --json
314
316
  axion tool run Write "{\"path\":\"notes/out.txt\",\"content\":\"approved\"}" --session smoke --turn turn-1 --approval <approval-id> --mode request_permission --json
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
315
319
  ```
316
320
 
317
321
  Security invariants:
318
322
 
319
323
  - `Full permission` skips only read and non-destructive write tiers.
320
324
  - 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`.
325
+ control, shell commands, paid generation, browser actions, mutating MCP tools
326
+ and unknown tools still require approval under `Full permission`.
323
327
  - `YOLO` is the only mode that bypasses every class, and remains explicit user
324
328
  opt-in.
325
329
  - unknown native tools are default-deny until they are classified.
326
330
  - MCP tools are mutating by default; only read-shaped names such as `find_*`,
327
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`.
328
334
 
329
335
  Provider menu actions:
330
336
 
@@ -362,10 +368,11 @@ This is a functional direction MVP, not the full harness:
362
368
  - terminal logo uses Sixel when available and falls back to width-bounded ANSI/block rendering;
363
369
  - initial chat splash shows the Axion logo and system name until the first interaction;
364
370
  - 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;
371
+ `Grep`, `Write` and `Edit`, governed workspace-scoped shell commands and
372
+ enabled stdio MCP tools;
373
+ the TUI executes these after approval and shows the result, then feeds
374
+ successful supported results back into the provider as an iterative
375
+ `tool_result` continuation turn;
376
+ - remote MCP transports, browser, process and unknown tools remain blocked;
369
377
  - no executable Pi RPC bridge yet;
370
- - no MCP transport execution yet;
371
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
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.23",
4
4
  "description": "Axion Code CLI harness for the Axion ecosystem.",
5
5
  "type": "module",
6
6
  "repository": {