Compare commits

..

2 Commits

Author SHA1 Message Date
zhi
da34a3eb5e feat: add OpenClaw plugin manifest and entry point
- Add openclaw.plugin.json with proper configSchema
- Add index.js as plugin entry point
- Fix plugin id to 'padded-cell' to match manifest
2026-03-05 12:09:11 +00:00
zhi
08e74e3806 feat: add OpenClaw plugin manifest
- Add openclaw.plugin.json with plugin metadata
- Define tools: pcexec and safe_restart
2026-03-05 12:08:23 +00:00
2 changed files with 46 additions and 0 deletions

21
index.js Normal file
View File

@@ -0,0 +1,21 @@
// PaddedCell Plugin Entry Point
export const id = 'padded-cell';
export const name = 'PaddedCell';
export const version = '0.1.0';
// Export tools (will be loaded by OpenClaw)
export { pcexec } from './pcexec/dist/index.js';
export {
safeRestart,
createSafeRestartTool,
StatusManager,
createApiServer,
startApiServer
} from './safe-restart/dist/index.js';
// Default export
export default {
id,
name,
version,
};

25
openclaw.plugin.json Normal file
View File

@@ -0,0 +1,25 @@
{
"id": "padded-cell",
"name": "PaddedCell",
"version": "0.1.0",
"description": "Secure password management, safe execution, and coordinated restart",
"entry": "./index.js",
"configSchema": {
"type": "object",
"properties": {
"enabled": { "type": "boolean", "default": true }
}
},
"tools": [
{
"name": "pcexec",
"entry": "./pcexec/dist/index.js",
"description": "Safe exec with password sanitization"
},
{
"name": "safe_restart",
"entry": "./safe-restart/dist/index.js",
"description": "Safe coordinated restart"
}
]
}