@serkanalgur/opencodev2-slim 2.0.1 → 2.0.2

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.
Files changed (2) hide show
  1. package/README.md +27 -2
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -5,8 +5,6 @@
5
5
 
6
6
  Smart context management plugin for OpenCode v2. Optimizes token usage through semantic compression, cost-aware pruning, and adaptive thresholds.
7
7
 
8
- > **Note:** This plugin requires OpenCode v2 (1.18.29+). For v1 compatibility, use [@serkanalgur/opencode-slim](https://github.com/serkanalgur/opencode-slim).
9
-
10
8
  ## Features
11
9
 
12
10
  - **TUI Panel** - Rich context usage visualization with status indicators
@@ -141,6 +139,33 @@ State is saved to disk, so compression history and learning persist across resta
141
139
 
142
140
  Note: Compression is performed by the AI assistant using the `compress` tool. The slash command provides guidance on usage.
143
141
 
142
+ ## Changelog
143
+
144
+ ### 2.0.2
145
+
146
+ - Update README documentation
147
+ - Add GitHub Actions workflow for automated npm publish
148
+
149
+ ### 2.0.1
150
+
151
+ - Fix npm publish conflict
152
+
153
+ ### 2.0.0
154
+
155
+ **Breaking Changes:** Migrated to OpenCode v2 plugin API.
156
+
157
+ - Migrate from `@opencode-ai/plugin` to `@opencode/plugin`
158
+ - Use `Plugin.define()` pattern instead of server function
159
+ - Register tools via `ctx.tool.transform()` with JSON Schema input
160
+ - Replace experimental hooks with `ctx.session.hook()`
161
+ - Replace event callback with `ctx.event.subscribe()`
162
+ - Update cleanup to use setup return function
163
+ - Minimum OpenCode version: 2.0.0
164
+
165
+ ### 1.0.1
166
+
167
+ - Initial release
168
+
144
169
  ## License
145
170
 
146
171
  MIT
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@serkanalgur/opencodev2-slim",
3
- "version": "2.0.1",
3
+ "version": "2.0.2",
4
4
  "description": "Smart context management plugin for OpenCode v2 - semantic compression, cost-aware pruning, adaptive thresholds",
5
5
  "keywords": [
6
6
  "opencode",