Skip to content

docs: plugin updates; chore: devcontainer and Dependabot - #3

Merged
kristoflemmens merged 5 commits into
mainfrom
docs/updating
Oct 21, 2026
Merged

kristoflemmens merged 5 commits into
mainfrom
docs/updating

Conversation

@kristoflemmens

@kristoflemmens kristoflemmens commented Oct 21, 2026 •

Copy link
Copy Markdown
Contributor
  • Updating (docs): opencode 1.19.2 reuses its cached copy of a plugin package and never checks for a newer version (Npm.add returns early when node_modules/<name> exists), so the README says to pin the version and bump it. A short-lived command such as opencode run can exit before the install finishes.
  • Devcontainer: bun 1.4.3 plus opencode 1.19.2 and 2.0.30 side by side, isolated from any opencode used day to day. oc1 / oc2 load the plugin from dist/ with their own config, login and logs under ~/.oc (a volume); plugin-log 1|2 follows the plugin log.
  • Dependabot: weekly, with a 7-day cooldown, for the dev dependencies (bun; opencode packages grouped), GitHub Actions and the devcontainer base image. Commit prefixes are chore(deps) / ci(deps), so these updates cut no release.
  • CI: a devcontainer job builds the image and checks that both opencode versions start and opencode 2 loads the plugin.

Tested locally: the image builds, bun test passes inside it (66/66), oc1 --version = 1.19.2, oc2 --version = 2.0.30, and opencode 2 logs loading plugin … /workspaces/opencode-copilot-auto/dist.

🤖 Generated with Claude Code

kristoflemmens and others added 2 commits October 21, 2026 11:03
opencode reuses its cached copy of a plugin package and never checks for a
newer version, so pin the version and bump it; and a short-lived command can
exit before the install finishes.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…mise

- .devcontainer: Node 24 image with bun 1.4.3, opencode 1.19.2 and opencode
  2.0.30 in separate prefixes. `oc1` / `oc2` start each with its own config,
  login and logs under ~/.oc (a volume), loading the plugin from dist/;
  `plugin-log 1|2` follows the plugin log. xdg-open prints URLs for the
  device login.
- .mise.toml pins bun 1.4.3, as in CI.
- CI builds the devcontainer and checks that both opencode versions start
  and opencode 2 loads the plugin build.
- README: development setup.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@kristoflemmens kristoflemmens changed the title docs: explain how to update the plugin in opencode docs: plugin updates; chore: devcontainer and mise Oct 21, 2026
kristoflemmens and others added 3 commits October 21, 2026 11:55
The checkout belongs to the runner's user, so `node` in the container could
not write node_modules; work on a copy instead.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ner image

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@kristoflemmens kristoflemmens changed the title docs: plugin updates; chore: devcontainer and mise docs: plugin updates; chore: devcontainer and Dependabot Oct 21, 2026
@kristoflemmens
kristoflemmens merged commit 4e59c3a into main Oct 21, 2026
2 checks passed
@kristoflemmens
kristoflemmens deleted the docs/updating branch October 21, 2026 11:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant