@nathapp/nax 0.83.5 → 0.83.7
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 +11 -12
- package/dist/nax.js +1383 -2989
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -172,7 +172,7 @@ For full flag details, see the [CLI Reference](docs/guides/cli-reference.md).
|
|
|
172
172
|
|
|
173
173
|
`execution.commandInterceptor` rewrites the `Git` tool's argv through `rtk` so `log` and `diff` output reaches the model compressed. It is confined to the Git site: user-authored `quality.commands` and `acceptance.command` are never wrapped. It fails open — if the `rtk` binary is missing the call runs as plain git.
|
|
174
174
|
|
|
175
|
-
**Both features are native-agent only.** An ACP agent (`claude`, `codex`, `opencode`, `gemini`) brings its own tools, so nax's `Git` tool is never invoked and no MCP tool is advertised. A project on `"protocol": "acp"` can hold a complete, valid config for both and get zero effect, with no error. The built-in defaults (`agent.protocol: "hybrid"`, `agent.default: "native"`) let both take effect once configured (the interceptor itself is off by default); a config that switches to an
|
|
175
|
+
**Both features are native-agent only.** An ACP agent (`claude`, `codex`, `opencode`, `gemini`) brings its own tools, so nax's `Git` tool is never invoked and no MCP tool is advertised. A project on `"protocol": "acp"` can hold a complete, valid config for both and get zero effect, with no error. The built-in defaults (`agent.protocol: "hybrid"`, `agent.default: "native"`) let both take effect once configured (the interceptor itself is off by default); a config that switches to an ACP agent does not.
|
|
176
176
|
|
|
177
177
|
See [MCP & Command Interception](docs/guides/mcp-and-interception.md) for setup, verification and troubleshooting, and the [Configuration Guide](docs/guides/configuration.md) for the full schema.
|
|
178
178
|
|
|
@@ -258,18 +258,17 @@ See [Plugin System](docs/architecture/subsystems.md#23-plugin-system).
|
|
|
258
258
|
|
|
259
259
|
## Agents
|
|
260
260
|
|
|
261
|
-
The default agent is `native`: nax drives the model in-process over `@nathapp/nax-ai` (no CLI binary), using the built-in `models.native` Anthropic tier map, so it needs Anthropic credentials (`nax auth` or the provider's environment variable) unless you override the map. Every other agent is reached
|
|
261
|
+
The default agent is `native`: nax drives the model in-process over `@nathapp/nax-ai` (no CLI binary), using the built-in `models.native` Anthropic tier map, so it needs Anthropic credentials (`nax auth` or the provider's environment variable) unless you override the map. Every other agent is reached over ACP (Agent Client Protocol) through `@nathapp/nax-agent-acp`, which launches the agent's own ACP launcher and talks JSON-RPC over stdio: persistent sessions, reported token/cost usage, and multi-turn session continuity. Install the launcher for each ACP agent you use; where an `npx` fallback exists, the first run downloads it and `nax precheck` warns.
|
|
262
262
|
|
|
263
|
-
| Agent |
|
|
264
|
-
|
|
263
|
+
| Agent | ACP launcher | Notes |
|
|
264
|
+
|:------|:-------------|:------|
|
|
265
265
|
| Native (nax-ai) | — (in-process) | Default. `agent.default: "native"` |
|
|
266
|
-
| Claude Code | `claude` | Set `agent.default: "claude"` |
|
|
267
|
-
| OpenCode | `opencode` | Set `agent.default: "opencode"` |
|
|
268
|
-
| Codex | `codex` | Set `agent.default: "codex"` |
|
|
269
|
-
| Gemini CLI | `gemini` | Set `agent.default: "gemini"` |
|
|
270
|
-
| Pi Coding Agent | `pi` | Set `agent.default: "pi"`
|
|
271
|
-
| Aider |
|
|
272
|
-
| Any ACP-compatible | — | See [acpx agent docs](https://github.com/openclaw/acpx#agents) |
|
|
266
|
+
| Claude Code | `claude-agent-acp` (or `npx @agentclientprotocol/claude-agent-acp`) | Set `agent.default: "claude"` |
|
|
267
|
+
| OpenCode | `opencode acp` | Set `agent.default: "opencode"` |
|
|
268
|
+
| Codex | `codex-acp` (or `npx @agentclientprotocol/codex-acp`) | Set `agent.default: "codex"` |
|
|
269
|
+
| Gemini CLI | `gemini --acp` | Set `agent.default: "gemini"` |
|
|
270
|
+
| Pi Coding Agent | `pi-acp` (or `npx pi-acp`) | Set `agent.default: "pi"` |
|
|
271
|
+
| Aider | — | Known name with no ACP launcher; it fails at session open |
|
|
273
272
|
|
|
274
273
|
See [Agents Guide](docs/guides/agents.md) and the [Context Engine Guide](docs/guides/context-engine.md) for agent-portable context configuration.
|
|
275
274
|
|
|
@@ -294,7 +293,7 @@ See the [Troubleshooting Guide](docs/guides/troubleshooting.md) for more.
|
|
|
294
293
|
|
|
295
294
|
nax is inspired by [Relentless](https://github.com/ArvorCo/Relentless) — the same "keep trying until done" philosophy, applied to AI agent orchestration.
|
|
296
295
|
|
|
297
|
-
ACP support is powered by
|
|
296
|
+
ACP support is powered by `@nathapp/nax-agent-acp` over the Agent Client Protocol (`@agentclientprotocol/sdk`).
|
|
298
297
|
|
|
299
298
|
## License
|
|
300
299
|
|