Got a fast-moving changelog like in https://github.com/sst/opencode/releases ? OpenCode itself can help you keep track.
-
Add this file
- Add
opencode_changes.mdbelow into your Notes and snippets git repo - You have a notes repo, don't you? If not, start a repo where you dump random Markdown files. It's useful for a lot of things
- Add
-
Ask OpenCode to update it
- When a new release is out, ask OpenCode to update it
- eg,
opencode run "read @opencode_changes.md and update it" - There are instructions at the end of the file on how to update it
You're done ✨
I've found this "notes wtih embedded instructions" pattern is pretty useful for a lot of things. Some other use cases I've found are
- List of Google Analytics calls in a repo (with instructions on what patterns to grep to update it)
- An overview of commands defined in commands/*.js (with instructions to look in those files when updating)