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
This commit is contained in:
21
index.js
Normal file
21
index.js
Normal 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,
|
||||
};
|
||||
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user