| Age | Commit message (Collapse) | Author | Files | Lines |
|
Upstream ships the binary as opencode; the wrapper existed only to keep v1/v2 config and state separate. v1 and v2 now share the binary path and the config/state directories, so the two packages conflict.
|
|
Install the real binary as /usr/libexec/opencode2/opencode and make
/usr/bin/opencode2 a wrapper that points XDG_CONFIG_HOME and
XDG_DATA_HOME at opencode2-specific directories, so 2.0 does not touch
the v1 opencode package's config, auth or state.
|
|
Repack the OpenCode 2.0 binary. Upstream publishes 2.0 only to the npm
registry as @opencode/cli-linux-x64 (no GitHub release tarball), so this
ships that self-contained bun binary and installs it as 'opencode2' so it
can coexist with the v1 opencode-bin package.
|