- opencode.nix: add zai-coding-plan provider (OpenAI-compatible coding-plan
endpoint, apiKey via {env:ZAI_API_KEY}) with glm-5.3 (1M ctx) and
glm-5-turbo — resolves in OpenCode itself, so Paperclip's opencode-harness
agents can run on the GLM flat rate
- paperclip.nix: optional EnvironmentFile=%h/.config/paperclip.env so
agents spawned by the service inherit provider keys
- opencode.nix: configure programs.opencode directly for OpenCode 2
(package llm-agents.opencode2, v2.0.16). v2 reads opencode.json and
normalizes the v1 config format internally, so provider/permission/
formatter keys stay valid. The m3ta-nixpkgs coding.opencode wrapper
(v1-only, hardcodes oh-my-openagent) is no longer used.
- remove oh-my-openagent plugin and ohMyOpencodeSettings model matrix
- drop programs.opencode.tui: v2 owns cli.json at runtime and would
re-import a managed tui.json into it on every start, clobbering
runtime prefs
- agents.nix: opencode-desktop -> llm-agents.opencode2-desktop (2.0.16),
add llm-agents.paperclip (control plane for AI agent teams)
- rofi: terminalCommand opencode2 %a