feat(release): add plugin packaging script and release notes

This commit is contained in:
2026-02-25 14:09:14 +00:00
parent 6792249a0b
commit 0c6d8bb2c5
4 changed files with 47 additions and 1 deletions

27
docs/RELEASE.md Normal file
View File

@@ -0,0 +1,27 @@
# Release / Packaging
## Package plugin files
```bash
node scripts/package-plugin.mjs
```
Output:
- `dist/plugin/index.ts`
- `dist/plugin/rules.ts`
- `dist/plugin/openclaw.plugin.json`
- `dist/plugin/README.md`
- `dist/plugin/package.json`
## Use packaged plugin path
Point OpenClaw `plugins.load.paths` to:
`/absolute/path/to/WhisperGate/dist/plugin`
## Verify package completeness
```bash
cd plugin && npm run check
```