feat: switch opencode to opencode2 #9
Loading…
Reference in a new issue
No description provided.
Delete branch "feat/opencode2"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
The opencode options now install opencode 2 from the locked
llm-agentsinput (noflake.lockchange).opencode 2 reads the same
~/.config/opencode/opencode.jsonand migrates the v1 keys in memory (mcp->mcp.servers,plugin->plugins,provider->providers,autoupdate->update), so the rest of the module is unchanged. The comments inplugins.nixandproviders.nixnow note the plugin gap below.Evidence
opencode models->cumsek10,unnic3,opencode9After:
opencode2 models->opencode9 only. The log showsconfigured plugin path must be a directoryfor both file plugins.opencode2 debug configreads~/.config/opencode/opencode.json, andopencode2 debug agentslists the subagents with their rendered prompts.nix flake check: all checks passed.Merge Danger
Door: two-way
Revert the commit, or set
apps.opencode.cli.packageback topkgs.llm-agents.opencode.Blast Radius: opencode-only
Known regressions in opencode until the plugins are ported to v2 plugin directories:
cumsek,unnic) list no models.opencodeis no longer on PATH; useocoropencode2.🤖 Generated with Claude Code