diff --git a/CHANGELOG.md b/CHANGELOG.md index 5e59b20..e6e8c66 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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. diff --git a/package.json b/package.json index 81f27f1..2b22865 100644 --- a/package.json +++ b/package.json @@ -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": [