fix: add configSchema and root index.js to plugin manifest

- OpenClaw requires configSchema in plugin manifest
- Add root index.js as entry point (like Dirigent)
- Update install script to generate correct manifest
This commit is contained in:
zhi
2026-03-05 14:49:03 +00:00
parent 6454004d66
commit e97ce0208e
2 changed files with 39 additions and 3 deletions

View File

@@ -3,7 +3,13 @@
"name": "PaddedCell",
"version": "0.1.0",
"description": "Secure password management, safe execution, and coordinated restart",
"entry": "./safe-restart/dist/index.js",
"entry": "./index.js",
"configSchema": {
"type": "object",
"properties": {
"enabled": { "type": "boolean", "default": true }
}
},
"tools": [
{
"name": "pcexec",