Before committing changes, verify documentation is updated to reflect code changes:
-
README.md - Update if changes affect:
- Plugin usage (
/devcontainer,/worktree,/workspacescommands) - Configuration options (
~/.config/opencode/devcontainers/config.json) - Installation steps or dependencies
- Usage examples
- Plugin usage (
-
CONTRIBUTING.md - Update if changes affect:
- Development setup or workflow
- Test commands or patterns
- Release process
- Project structure
-
plugin/command/*.md - Update if changes affect:
- Command arguments or behavior
- Examples
After a PR is merged to main, semantic-release automatically:
- Creates a new version based on commit messages
- Publishes to npm
- Creates a GitHub release
gh release list -R athal7/opencode-devcontainers -L 1
npm view opencode-devcontainers versionOpenCode automatically updates npm plugins on startup. Just restart OpenCode.
To force a specific version:
{
"plugin": ["opencode-devcontainers@1.0.0"]
}- Main config:
~/.config/opencode/devcontainers/config.json - Cache/state:
~/.cache/opencode-devcontainers/ - Clones:
~/.local/share/opencode/clone/ - Worktrees:
~/.local/share/opencode/worktree/
If config format changed, check release notes:
gh release view -R athal7/opencode-devcontainers