@sagentlab/navarch-runtime 0.1.61 → 0.1.62
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 -5
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -8,8 +8,9 @@ machine.
|
|
|
8
8
|
|
|
9
9
|
The machine operator selects **Claude Code**, **OpenAI Codex**, **Google
|
|
10
10
|
Gemini CLI**, **OpenCode**, or an **Agent Client Protocol (ACP)** agent when connecting a worker. Any selected agent can
|
|
11
|
-
run any project task; task eligibility depends on capabilities and
|
|
12
|
-
gates
|
|
11
|
+
run any unpinned project task; task eligibility depends on capabilities and
|
|
12
|
+
project gates. A task pinned to a runtime waits for a worker that advertises
|
|
13
|
+
that adapter and runs on it — see "Choosing an agent" below.
|
|
13
14
|
|
|
14
15
|
See [`docs/agent-platform-project-plan.md`](../docs/agent-platform-project-plan.md)
|
|
15
16
|
§3.8/§3.9/§3.11 and [`docs/navarch/implementation-plan.md`](../docs/navarch/implementation-plan.md)
|
|
@@ -369,7 +370,7 @@ unchanged across the deployment.
|
|
|
369
370
|
| `NAVARCH_SANDBOX_EGRESS_NETWORK` | _(unset)_ | Docker network that enforces a profile's egress allowlist. Docker cannot filter by domain itself, so an allowlist profile without this fails closed to `--network=none` and records the denial. |
|
|
370
371
|
| `NAVARCH_DOCKER_IMAGE` | `ghcr.io/sagentlab/navarch-sandbox-agent:0.1.0` | Version-pinned per-session image with Node 20, git, GitHub CLI, ripgrep, jq, SSH, and Claude Code 2.1.218. Override with an image tag or digest you control. |
|
|
371
372
|
| `NAVARCH_AGENT` | saved choice, then `claude-code` | Local choice of agent adapter: `claude-code`, `codex`, `gemini`, `opencode`, `acp`, or `qoder`. Overrides the choice saved by `connect`/`register`; `start --agent` has highest priority. |
|
|
372
|
-
| `NAVARCH_RUNTIMES` | resolved local agent choice | Comma list of installed/authenticated adapters advertised to dispatch.
|
|
373
|
+
| `NAVARCH_RUNTIMES` | resolved local agent choice | Comma list of installed/authenticated adapters advertised to dispatch. Unpinned tasks run on the preferred agent; a task runtime pin selects the matching adapter. |
|
|
373
374
|
| `NAVARCH_UPDATE_CHANNEL` | `stable` | Release channel advertised by the worker (`stable` or `canary`); the server-managed machine channel remains authoritative. |
|
|
374
375
|
| `NAVARCH_AUTO_UPDATE` | on under `supervise` | Set `off`, `false`, or `0` to report releases without staging or activating them. Automatic activation is always off under plain `start`. |
|
|
375
376
|
| `NAVARCH_CLAUDE_BIN` | `claude` | Path/name of the Claude Code CLI binary. |
|
|
@@ -530,8 +531,13 @@ export NAVARCH_RUNTIMES=claude-code,codex,gemini,opencode,acp,qoder
|
|
|
530
531
|
For the legacy single-runtime setting, priority is `start --agent` →
|
|
531
532
|
`NAVARCH_AGENT` → the locally saved choice → `claude-code`.
|
|
532
533
|
`NAVARCH_RUNTIMES` expands what the worker advertises. For normal projects,
|
|
533
|
-
the locally selected `NAVARCH_AGENT` handles every
|
|
534
|
-
|
|
534
|
+
the locally selected `NAVARCH_AGENT` handles every unpinned task. A task with a
|
|
535
|
+
runtime override (for example `gemini`) is claimed only by a worker that
|
|
536
|
+
advertises that adapter, and the claim returns it as the session runtime.
|
|
537
|
+
Sandbox projects remain constrained to Claude Code, so they claim only unpinned
|
|
538
|
+
or `claude-code`-pinned tasks. List only adapters this worker can really run:
|
|
539
|
+
in Docker mode that means CLIs installed in `NAVARCH_DOCKER_IMAGE`, otherwise
|
|
540
|
+
pinned tasks for a missing adapter are claimed and then fail.
|
|
535
541
|
|
|
536
542
|
All five BYO adapters implement the same `AgentAdapter` interface
|
|
537
543
|
(`src/adapters/types.cts`) and run either directly on the host or via
|
package/package.json
CHANGED