chore: prepare v0.5.21 for OpenCode 1.18 - #7
Merged
Conversation
There was a problem hiding this comment.
Pull request overview
Adds automation to apply and verify the v0.5.21 compatibility patch for OpenCode 1.18.x, including one-shot workflows that rewrite source/tests/docs, generate a lockfile, run full checks, and commit the verified result.
Changes:
- Added
scripts/apply-v0521.pyto apply the v0.5.21 patch across source, tests, package metadata, and release/CI workflows. - Added one-shot GitHub Actions workflows to apply/verify the patch on the release branch and (optionally) from a PR against
main. - Added a
.v0521-triggermarker file intended to participate in the one-shot flow.
Reviewed changes
Copilot reviewed 8 out of 9 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| scripts/apply-v0521.py | One-shot patch script that edits code/tests/docs, bumps versions, and writes CI/publish workflows. |
| .v0521-trigger | Marker artifact added for the one-shot patch process. |
| .github/workflows/apply-v0521.yml | Branch-push workflow that applies the patch, runs verification, and commits results. |
| .github/workflows/apply-v0521-pr.yml | PR workflow to apply/verify/commit the patch for the release branch PR to main. |
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Goal
Prepare v0.5.21 after auditing OpenCode v1.18.15 plugin, SDK, event, command, tool, and TUI APIs.
Planned verified changes
command.execute.before.opencode-loop-localacknowledgement agent.session.compact, retaining legacy and summarize fallbacks.@opencode-ai/plugin1.18.15 while keeping the broad peer range.npm pack --dry-run.The first PR workflow applies the focused patch and runs the full Ubuntu test/package suite before committing the candidate.