Skip to content

Commit 48a53e8

Browse files
committed
chore(release): publish 0.2.0
1 parent b96f57d commit 48a53e8

5 files changed

Lines changed: 18 additions & 10 deletions

File tree

.github/workflows/release.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,9 @@ jobs:
4545
exit 1
4646
fi
4747
- run: npm publish --access public --tag "${{ steps.meta.outputs.dist_tag }}"
48+
- name: Mirror stable release to beta dist-tag
49+
if: steps.meta.outputs.dist_tag == 'latest'
50+
run: npm dist-tag add "opencode-planner@${{ steps.meta.outputs.version }}" beta
4851
- name: Create GitHub release
4952
shell: bash
5053
env:

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
# Changelog
22

3+
## 0.2.0
4+
5+
- promote `opencode-planner` from beta to its stable release line
6+
- keep the npm `beta` dist-tag aligned with the current stable release until the next prerelease cycle
7+
38
## 0.1.1-beta.11
49

510
- add planner-specific `PLAN_VISUAL` support for external plan review editor selection

README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -14,19 +14,19 @@ Add this to `opencode.json`:
1414

1515
```json
1616
{
17-
"plugin": ["opencode-planner@beta"]
17+
"plugin": ["opencode-planner"]
1818
}
1919
```
2020

2121
Then restart OpenCode.
2222

23-
`beta` is the recommended install channel until the package has a stable release. This keeps prereleases off `latest`.
23+
`opencode-planner` now publishes stable releases to `latest`, so the unqualified package name is the recommended install channel.
2424

2525
If you want reproducible installs instead of automatic plugin refreshes, pin an exact version:
2626

2727
```json
2828
{
29-
"plugin": ["opencode-planner@0.1.1-beta.1"]
29+
"plugin": ["opencode-planner@0.2.0"]
3030
}
3131
```
3232

@@ -124,12 +124,12 @@ If you edit the plan after calling `submit_plan`, the plugin treats that as a ne
124124

125125
## Auto-updates
126126

127-
OpenCode installs and updates npm plugins automatically. During the beta phase of this plugin, `opencode-planner@beta` gives the smoothest update path for most users.
127+
OpenCode installs and updates npm plugins automatically. `opencode-planner` tracks `@latest` by default, which is the recommended channel for most users.
128128

129-
For this package's current prerelease phase, use `opencode-planner@beta` instead of `@latest`.
129+
The `beta` dist-tag currently points at the same release as `latest`. That keeps existing beta installs on the current stable build until a future prerelease line resumes.
130130

131-
- `@beta`: pick up new prerelease plugin versions on restart without opting into a future stable channel
132-
- `@latest`: reserved for stable releases
131+
- `@latest`: pick up stable plugin versions on restart
132+
- `@beta`: currently follows the same version as `@latest`
133133
- exact version pin: stay fixed until the config is changed deliberately
134134

135135
If OpenCode appears to keep an older cached plugin, clear the cache under `~/.cache/opencode/` and restart.

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "opencode-planner",
3-
"version": "0.1.1-beta.11",
3+
"version": "0.2.0",
44
"description": "Experimental OpenCode plugin that adds a dedicated planning agent with read-only planning constraints.",
55
"type": "module",
66
"author": "Tim Richardson",

0 commit comments

Comments
 (0)