Add a native OpenClaw plugin package that exposes Crabbox run, warmup, status, list, and stop tools.
48 lines
1.2 KiB
JSON
48 lines
1.2 KiB
JSON
{
|
|
"id": "crabbox",
|
|
"name": "Crabbox",
|
|
"description": "Run Crabbox remote testbox checks from OpenClaw.",
|
|
"activation": {
|
|
"onStartup": true
|
|
},
|
|
"contracts": {
|
|
"tools": ["crabbox_run", "crabbox_warmup", "crabbox_status", "crabbox_list", "crabbox_stop"]
|
|
},
|
|
"configSchema": {
|
|
"type": "object",
|
|
"additionalProperties": false,
|
|
"properties": {
|
|
"binary": {
|
|
"type": "string",
|
|
"description": "Crabbox executable path.",
|
|
"default": "crabbox"
|
|
},
|
|
"maxOutputBytes": {
|
|
"type": "number",
|
|
"description": "Maximum captured stdout/stderr bytes returned to the model.",
|
|
"default": 60000
|
|
},
|
|
"timeoutSeconds": {
|
|
"type": "number",
|
|
"description": "Default local wrapper timeout for Crabbox CLI invocations.",
|
|
"default": 1800
|
|
},
|
|
"allowRun": {
|
|
"type": "boolean",
|
|
"description": "Allow the crabbox_run tool.",
|
|
"default": true
|
|
},
|
|
"allowWarmup": {
|
|
"type": "boolean",
|
|
"description": "Allow the crabbox_warmup tool.",
|
|
"default": true
|
|
},
|
|
"allowStop": {
|
|
"type": "boolean",
|
|
"description": "Allow the crabbox_stop tool.",
|
|
"default": true
|
|
}
|
|
}
|
|
}
|
|
}
|