opencode-plugin-kit 1.0.0-alpha.3 → 1.0.0-alpha.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +13 -1
- package/package.json +2 -2
- package/src/collapsible.tsx +1 -0
package/README.md
CHANGED
|
@@ -1,13 +1,25 @@
|
|
|
1
1
|
# opencode-plugin-kit
|
|
2
2
|
|
|
3
3
|
[](https://github.com/ranjithrajv/opencode-plugin-kit/actions/workflows/ci.yml)
|
|
4
|
-
[](https://www.npmjs.com/package/opencode-plugin-kit)
|
|
5
5
|
[](https://opensource.org/licenses/MIT)
|
|
6
6
|
|
|
7
7
|
Shared building blocks for [OpenCode](https://opencode.ai) sidebar plugins —
|
|
8
8
|
the pieces that every sidebar widget ends up reimplementing. Used by five
|
|
9
9
|
production plugins with **100% test coverage**.
|
|
10
10
|
|
|
11
|
+
## Install
|
|
12
|
+
|
|
13
|
+
Published on [npm](https://www.npmjs.com/package/opencode-plugin-kit):
|
|
14
|
+
|
|
15
|
+
```sh
|
|
16
|
+
npm install opencode-plugin-kit
|
|
17
|
+
```
|
|
18
|
+
|
|
19
|
+
Plugins depending on the kit declare it in `dependencies`; the SDK peer
|
|
20
|
+
(`@opencode-ai/plugin`) must match your OpenCode runtime version (see each
|
|
21
|
+
plugin's README).
|
|
22
|
+
|
|
11
23
|
## Status
|
|
12
24
|
|
|
13
25
|
**v1.0.0-alpha.1** — API stabilized, ready for integration testing.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "opencode-plugin-kit",
|
|
3
|
-
"version": "1.0.0-alpha.
|
|
3
|
+
"version": "1.0.0-alpha.5",
|
|
4
4
|
"description": "Shared building blocks for OpenCode sidebar plugins: provider vocabulary, row formatting, defensive message traversal, connected-provider tracking, polling fetcher, cached resources, and a persisted view/filter picker (registry + slash command + dialog + toast).",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"opencode",
|
|
@@ -52,7 +52,7 @@
|
|
|
52
52
|
"zod": "^4.5.4"
|
|
53
53
|
},
|
|
54
54
|
"peerDependencies": {
|
|
55
|
-
"@opencode-ai/plugin": "
|
|
55
|
+
"@opencode-ai/plugin": "0.0.0-beta-19242",
|
|
56
56
|
"solid-js": "^1.9.12",
|
|
57
57
|
"zod": "^4.5.4"
|
|
58
58
|
},
|
package/src/collapsible.tsx
CHANGED