Compare commits
2 Commits
7e0c4cd5e6
...
da34a3eb5e
| Author | SHA1 | Date | |
|---|---|---|---|
| da34a3eb5e | |||
| 08e74e3806 |
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,
|
||||
};
|
||||
25
openclaw.plugin.json
Normal file
25
openclaw.plugin.json
Normal 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"
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user