Files
openclaw/extensions/acpx/openclaw.plugin.json
2026-03-08 03:16:26 +00:00

106 lines
3.3 KiB
JSON

{
"id": "acpx",
"name": "ACPX Runtime",
"description": "ACP runtime backend powered by acpx with configurable command path and version policy.",
"skills": ["./skills"],
"configSchema": {
"type": "object",
"additionalProperties": false,
"properties": {
"command": {
"type": "string"
},
"expectedVersion": {
"type": "string"
},
"cwd": {
"type": "string"
},
"permissionMode": {
"type": "string",
"enum": ["approve-all", "approve-reads", "deny-all"]
},
"nonInteractivePermissions": {
"type": "string",
"enum": ["deny", "fail"]
},
"strictWindowsCmdWrapper": {
"type": "boolean"
},
"timeoutSeconds": {
"type": "number",
"minimum": 0.001
},
"queueOwnerTtlSeconds": {
"type": "number",
"minimum": 0
},
"mcpServers": {
"type": "object",
"additionalProperties": {
"type": "object",
"properties": {
"command": {
"type": "string",
"description": "Command to run the MCP server"
},
"args": {
"type": "array",
"items": { "type": "string" },
"description": "Arguments to pass to the command"
},
"env": {
"type": "object",
"additionalProperties": { "type": "string" },
"description": "Environment variables for the MCP server"
}
},
"required": ["command"]
}
}
}
},
"uiHints": {
"command": {
"label": "acpx Command",
"help": "Optional path/command override for acpx (for example /home/user/repos/acpx/dist/cli.js). Leave unset to use plugin-local bundled acpx."
},
"expectedVersion": {
"label": "Expected acpx Version",
"help": "Exact version to enforce (for example 0.1.15) or \"any\" to skip strict version matching."
},
"cwd": {
"label": "Default Working Directory",
"help": "Default cwd for ACP session operations when not set per session."
},
"permissionMode": {
"label": "Permission Mode",
"help": "Default acpx permission policy for runtime prompts."
},
"nonInteractivePermissions": {
"label": "Non-Interactive Permission Policy",
"help": "acpx policy when interactive permission prompts are unavailable."
},
"strictWindowsCmdWrapper": {
"label": "Strict Windows cmd Wrapper",
"help": "Enabled by default. On Windows, reject unresolved .cmd/.bat wrappers instead of shell fallback. Disable only for compatibility with non-standard wrappers.",
"advanced": true
},
"timeoutSeconds": {
"label": "Prompt Timeout Seconds",
"help": "Optional acpx timeout for each runtime turn.",
"advanced": true
},
"queueOwnerTtlSeconds": {
"label": "Queue Owner TTL Seconds",
"help": "Idle queue-owner TTL for acpx prompt turns. Keep this short in OpenClaw to avoid delayed completion after each turn.",
"advanced": true
},
"mcpServers": {
"label": "MCP Servers",
"help": "Named MCP server definitions to inject into ACPX-backed session bootstrap. Each entry needs a command and can include args and env.",
"advanced": true
}
}
}