@rnbsolucoes/axion-code 0.1.25 → 0.1.27

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
@@ -61,7 +61,7 @@ axion-code mcp import .\mcp-servers.json
61
61
  axion-code plugins list --json
62
62
  axion-code agents list --json
63
63
  axion-code agents run bug-hunter "review this login flow"
64
- axion-code agents run-many bug-hunter,performance-reviewer "review this login flow"
64
+ axion-code agents run-many bug-hunter,performance-reviewer "review this login flow" --budget-tokens 2000
65
65
  axion-code learn --json
66
66
  axion-code package inspect <path>
67
67
  ```
@@ -223,7 +223,7 @@ The interactive TUI supports:
223
223
  /plugins
224
224
  /agents
225
225
  /agents run <id> <prompt>
226
- /agents run-many <id,id,...> <prompt>
226
+ /agents run-many <id,id,...> <prompt> [--budget-tokens <n>]
227
227
  ```
228
228
 
229
229
  Slash palette behavior: `↑/↓` selects, `Tab` completes the selected command, `Enter` executes the selected command, `Esc` closes active menus/wizards.
@@ -239,7 +239,7 @@ unchanged.
239
239
 
240
240
  `/mcp` opens an inline MCP list. Enabled servers can be disabled, disabled servers can be enabled, and non-native servers can be uninstalled while preserving valid `mcp-servers.json` formatting.
241
241
 
242
- `/agents` lists the native isolated subagents. `/agents run <id> <prompt>` calls one with an isolated prompt while inheriting the active provider/model from the main agent. `/agents run-many <id,id,...> <prompt>` runs up to eight isolated subagents in parallel, then returns their individual outputs plus a compact comparison and aggregate token usage.
242
+ `/agents` lists the native isolated subagents. `/agents run <id> <prompt>` calls one with an isolated prompt while inheriting the active provider/model from the main agent. `/agents run-many <id,id,...> <prompt> [--budget-tokens <n>]` runs up to eight isolated subagents in parallel, then returns their individual outputs plus a compact comparison and aggregate token usage. If the estimated isolated prompt input already exceeds the budget, no provider calls are executed.
243
243
 
244
244
  ## MCP, Plugins And Subagents
245
245
 
@@ -261,6 +261,8 @@ MCP import files use the same JSON array shape as `%USERPROFILE%\.axion\mcp-serv
261
261
 
262
262
  `axion mcp import <file.json>` merges by `id`, preserves `native` protection for built-ins, writes formatted JSON, and rejects entries without `id` or without the required `command`/`url` for the selected transport. Native MCPs such as `dotcontext` cannot be removed, only disabled.
263
263
 
264
+ `axion mcp tools <id> [--json]` starts an enabled stdio MCP server, performs the MCP initialize handshake and returns the exact tools advertised by `tools/list`. This is the recommended smoke test for native MCPs before enabling provider tool calls, for example `axion mcp tools dotcontext --json`.
265
+
264
266
  Plugins are read from the same shared Axion Desktop file, `%USERPROFILE%\.axion\plugins.json`. The CLI can list, enable, disable and remove plugin records, but executable plugin installation remains intentionally gated for the next trust-policy cycle.
265
267
 
266
268
  Subagents are stored in `%USERPROFILE%\.axion\sub-agents.json`. The initial catalog has 15 native entries:
@@ -317,6 +319,7 @@ axion permission resolve <approval-id> --deny --reason "not needed" --json
317
319
  axion tool run Read "{\"path\":\"README.md\"}" --mode full_permission --json
318
320
  axion tool run Write "{\"path\":\"notes/out.txt\",\"content\":\"approved\"}" --session smoke --turn turn-1 --approval <approval-id> --mode request_permission --json
319
321
  axion tool run Shell "{\"command\":\"echo axion-shell\"}" --session smoke --turn turn-1 --approval <approval-id> --mode request_permission --json
322
+ axion mcp tools dotcontext --json
320
323
  # Shape: replace server/tool with an enabled MCP tool advertised by tools/list.
321
324
  axion tool run mcp__your-server__list_items "{\"query\":\"PREVC\"}" --mode full_permission --json
322
325
  ```
@@ -378,4 +381,4 @@ This is a functional direction MVP, not the full harness:
378
381
  `tool_result` continuation turn;
379
382
  - remote MCP transports, browser, process and unknown tools remain blocked;
380
383
  - no executable Pi RPC bridge yet;
381
- - native subagent execution is prompt-isolated and provider/model-inherited; `agents run-many` provides parallel fan-out, compact comparison and aggregate usage. Streaming subagent deltas and budget ceilings remain next-cycle items.
384
+ - native subagent execution is prompt-isolated and provider/model-inherited; `agents run-many` provides parallel fan-out, compact comparison, aggregate usage and a token budget ceiling. Streaming subagent deltas and provider-specific cost ceilings 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.25",
3
+ "version": "0.1.27",
4
4
  "description": "Axion Code CLI harness for the Axion ecosystem.",
5
5
  "type": "module",
6
6
  "repository": {