You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Home and NixOS modules still pin claude-code; make the agent CLI opt-in (default off) #2076
#1967 made the agent CLI an opt-in for project dev shells, but devkit still installs and pins claude-code unconditionally on the machine-level surfaces:
vigos.packages.enable (home-manager) adds agentTools (claude-code from the fast-mover overlay) to home.packages.
programs.vigos-devtools.enable (NixOS module) adds it to environment.systemPackages.
vigos.claude.enable exports DISABLE_AUTOUPDATER=1 session-wide, which turns off the native updater even when devkit does not install claude.
Machines that run their own claude (a wrapper that selects a release channel and loads per-profile credentials, or a native install) end up with devkit's pinned copy on PATH next to or ahead of it, and their native updater disabled.
Proposal
New options vigos.packages.agentCli.enable and programs.vigos-devtools.agentCli.enable, default false. When enabled, devkit's claude-code is installed as today.
DISABLE_AUTOUPDATER moves to vigos.packages and is set only when devkit installs the CLI (Nix then owns updates).
The container image keeps claude (no host CLI to fall back to); dev shells stay opt-in via withAgentCli.
Acceptance
With vigos.packages.enable = true alone, home.packages has no claude-code and DISABLE_AUTOUPDATER is unset.
vigos.packages.agentCli.enable = true restores the CLI and the updater variable.
Same for the NixOS module.
tests/agent-cli-policy.nix asserts both directions.
Activity
test(nix): assert machine modules leave the agent CLI opt-in
fix(nix): make the machine modules' agent CLI opt-in
docs(nix): document the machine-level agent CLI opt-in
test(nix): pin devTools presence and the NixOS updater variable
fix(nix): disable the native updater on the NixOS agent CLI opt-in
docs: tidy the Unreleased changelog section
fix(nix): make the machine modules' agent CLI opt-in (#2078)
chore: release 1.19.1 (#2084)