feat(agents): complete opencode -> opencode2 switch, add paperclip

- overlays/ai-agents: pin opencode-desktop to llm-agents.opencode2-desktop
  (2.0.16) — the v2 desktop app now exists upstream. Comments claiming
  no v2 desktop existed are outdated; v2 also normalizes the v1 config
  format internally, so m3ta-home's settings work unchanged.
- m3-hermes: llm-agents.opencode -> llm-agents.opencode2 (hermes-agent
  only references opencode as a model-provider API, not the CLI binary)
- flake: update llm-agents (brings opencode2-desktop + paperclip),
  re-lock m3ta-home to master (git+ssh) after its opencode2 migration
- flake.nix: restore documented git+ssh URL for m3ta-home after local
  iteration; align hermes-agent URL with locked v2026.8.31
This commit is contained in:
m3ta-chiron committed 2026-09-25 07:44:30 +02:00
1 parent 4a5c431bff
commit c5043e8044
4 files changed
+20 -21

No files matched your search

+8 -9
View File
@@ -23,6 +23,11 @@
# maintained replacement is packaged upstream.
rofi-pass = final.callPackage ./mods/rofi-pass.nix {};
rofi-pass-wayland = final.callPackage ./mods/rofi-pass.nix {backend = "wayland";};
# OpenCode v1 attribute names now point at the v2 packages (binary names
# stay `opencode2` / `opencode2-desktop`). Re-pinned after m3ta-nixpkgs'
# overlay in the `ai-agents` overlay below.
opencode = final.llm-agents.opencode2;
opencode-desktop = final.llm-agents.opencode2-desktop;
};
# Top-level pins for the OpenCode packages from llm-agents. Applied
@@ -31,15 +36,9 @@
# (github:anomalyco/opencode, v1 line), which would clobber a pin placed
# in `modifications`.
ai-agents = final: _prev: {
# OpenCode TUI: stay on the v1 line (1.18.x) — v2 (opencode2) had config
# compatibility problems with m3ta-home's settings. llm-agents tracks
# the newest v1 release (1.18.32), ahead of nixpkgs' 1.18.30.
opencode = final.llm-agents.opencode;
# OpenCode Desktop: no v2 desktop app exists upstream (anomalyco/opencode
# ends at v1.18.32); track the newest v1 release from llm-agents instead
# of the older m3ta-nixpkgs pin (1.18.30+95daf90).
opencode-desktop = final.llm-agents.opencode-desktop;
# OpenCode Desktop: v2 app (ai.opencode.desktop, 2.0.x) from llm-agents.
# Must stay AFTER m3ta-nixpkgs' overlay so the v1 re-export loses.
opencode-desktop = final.llm-agents.opencode2-desktop;
};
# temp-packages = final: _prev: {