@@ -10,7 +10,7 @@ Small, independently installable OpenCode V2 plugins maintained in one Bun works
1010
1111## Install
1212
13- Install any of them from npm with [ OpenCode's plugin manager] ( https://opencode.ai/v2/docs/plugins#manage ) :
13+ From npm, with [ OpenCode's plugin manager] ( https://opencode.ai/v2/docs/plugins#manage ) :
1414
1515``` sh
1616opencode plugin add @joonix/opencode-reviewer
@@ -19,25 +19,26 @@ opencode plugin add @joonix/opencode-commands
1919opencode plugin list
2020```
2121
22- Append ` @<version> ` to pin a release. See the package README files for configuration and behavior.
22+ Append ` @<version> ` to pin a release. The package README files cover configuration and behavior.
2323
24- Update them with OpenCode's plugin manager:
24+ Git specifications do not work for this repository: OpenCode's installer ignores npm's ` ::path: `
25+ subdirectory selector and installs the repository root, which is not a plugin package.
26+
27+ ## Update
2528
2629``` sh
2730opencode plugin check # report package plugins that have a newer release
2831opencode plugin update # update package plugins to their latest release
2932```
3033
31- ` update ` only moves package entries that are not pinned. A directory entry tracks the checkout
32- instead of the registry, so local development is unaffected by it.
33-
34- Installing from a Git specification does not work for this repository. OpenCode's installer ignores npm's ` ::path: `
35- subdirectory selector and installs the repository root, which is not a plugin package. Use npm or the local
36- configuration below.
34+ ` update ` only moves package entries that are not pinned. A pinned ` @<version> ` entry stays pinned,
35+ and a directory entry tracks the checkout instead of the registry, so local development is
36+ unaffected by it.
3737
3838## Local development
3939
40- Clone the repository and configure any package by its directory path:
40+ Requires Bun 1.2.22 or newer and OpenCode 2.0.4 or newer. Clone the repository and configure any
41+ package by its directory path:
4142
4243``` jsonc
4344{
@@ -53,15 +54,14 @@ A directory entry shadows the published package, so use it for every package you
5354mixing a local checkout with an npm entry runs two different versions of this repository side by
5455side.
5556
56- Requires Bun 1.2.22 or newer and OpenCode 2.0.4 or newer.
57-
5857``` sh
5958bun install --frozen-lockfile
6059make test
6160make test-load
6261```
6362
64- ` make test-load ` requires an installed ` opencode2 ` executable. It uses disposable configuration and data directories.
63+ ` make test-load ` requires an installed ` opencode2 ` executable and uses disposable configuration and
64+ data directories.
6565
66- Maintainers release both packages with ` make publish ` , which runs the suite first. Bump each package ` version `
66+ Maintainers publish with ` make publish ` , which runs the suite first. Bump each package ` version `
6767beforehand; a version already on the registry fails the publish.
0 commit comments