fix: expose OpenCode server entrypoint

This commit is contained in:
2026-08-01 18:59:41 +05:30
parent f19d3b993a
commit fa8ea49252
2 changed files with 11 additions and 1 deletions
+4
View File
@@ -1,5 +1,9 @@
# Changelog
## 0.2.1
- Add the server entrypoint expected by OpenCode's npm plugin loader.
## 0.1.2
- Skip compaction prompt changes when no prompt or memory file is provided.
+7 -1
View File
@@ -1,8 +1,10 @@
{
"name": "opencode-plugin-compaction-prompt",
"version": "0.2.0",
"version": "0.2.1",
"description": "Customize OpenCode's compaction prompt to preserve important context and omit unnecessary details.",
"type": "module",
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
"repository": {
"type": "git",
"url": "https://github.com/bendtherules/opencode-plugin-compaction-prompt.git"
@@ -15,6 +17,10 @@
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js"
},
"./server": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js"
}
},
"files": [