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 CHANGED
@@ -1,13 +1,25 @@
1
1
  # opencode-plugin-kit
2
2
 
3
3
  [![CI](https://github.com/ranjithrajv/opencode-plugin-kit/actions/workflows/ci.yml/badge.svg)](https://github.com/ranjithrajv/opencode-plugin-kit/actions/workflows/ci.yml)
4
- [![npm version](https://img.shields.io/npm/v/opencode-plugin-kit)](https://www.npmjs.com/package/opencode-plugin-kit)
4
+ [![npm](https://img.shields.io/npm/v/opencode-plugin-kit)](https://www.npmjs.com/package/opencode-plugin-kit)
5
5
  [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](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",
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": ">=1.18.25 <2 || 0.0.0-beta-19242",
55
+ "@opencode-ai/plugin": "0.0.0-beta-19242",
56
56
  "solid-js": "^1.9.12",
57
57
  "zod": "^4.5.4"
58
58
  },
@@ -1,3 +1,4 @@
1
+ /** @jsxImportSource @opentui/solid */
1
2
  // Collapsible sidebar sections — the header pattern shared by the skill
2
3
  // lister and the plugin manager (both mirroring the built-in
3
4
  // opencode.sidebar.mcp widget). One implementation keeps every sidebar