Retire OpenCode 1.x so Homebrew OpenCode 2 is the only install

Link the Homebrew opencode formula at /opt/homebrew/bin/opencode, drop the npm 1.x install from rebuild.sh, and remove leftover npm packages. Update the agent notes and home.nix comments to match.
This commit is contained in:
Lap Tran committed 2026-11-08 18:06:38 -05:00
1 parent b03d71dc81
commit 3c7d2662a4
4 files changed
+26 -44

No files matched your search

+4 -3
View File
@@ -219,7 +219,7 @@ in
source = config.lib.file.mkOutOfStoreSymlink "${dotfiles}/home/.config/opencode/skills";
force = true;
};
# OpenCode 2 isolated config - never share ~/.config/opencode with 1.x
# OpenCode isolated config - keep it separate from ~/.config/opencode
home.file.".config/opencode2/opencode.json" = {
source = config.lib.file.mkOutOfStoreSymlink "${dotfiles}/home/.config/opencode2/opencode.json";
force = true;
@@ -369,8 +369,9 @@ in
"$HOME/.codex/config.toml"
'';
# OpenCode 2 is the stable Homebrew `opencode` formula, declared unlinked in
# configuration.nix; home/bin/oc2 runs its keg binary. Nothing to install here.
# OpenCode is the stable Homebrew `opencode` formula, linked in
# configuration.nix; home/bin/oc2 runs its keg binary with an isolated config.
# Nothing to install here.
# backpass (kunchenguid/backpass) - gradient descent for agent memory: reads
# the transcript stores of the harnesses this config already declares