Files
openclaw/extensions/acpx/openclaw.plugin.json
2026-04-05 15:40:11 +01:00

129 lines
3.9 KiB
JSON

{
"id": "acpx",
"enabledByDefault": true,
"name": "ACPX Runtime",
"description": "Embedded ACP runtime backend with plugin-owned session and transport management.",
"skills": ["./skills"],
"configSchema": {
"type": "object",
"additionalProperties": false,
"properties": {
"cwd": {
"type": "string",
"minLength": 1
},
"stateDir": {
"type": "string",
"minLength": 1
},
"permissionMode": {
"type": "string",
"enum": ["approve-all", "approve-reads", "deny-all"]
},
"nonInteractivePermissions": {
"type": "string",
"enum": ["deny", "fail"]
},
"pluginToolsMcpBridge": {
"type": "boolean"
},
"strictWindowsCmdWrapper": {
"type": "boolean"
},
"timeoutSeconds": {
"type": "number",
"minimum": 0.001
},
"queueOwnerTtlSeconds": {
"type": "number",
"minimum": 0
},
"mcpServers": {
"type": "object",
"additionalProperties": {
"type": "object",
"properties": {
"command": {
"type": "string",
"minLength": 1,
"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"]
}
},
"agents": {
"type": "object",
"additionalProperties": {
"type": "object",
"properties": {
"command": {
"type": "string",
"minLength": 1
}
},
"required": ["command"]
}
}
}
},
"uiHints": {
"cwd": {
"label": "Default Working Directory",
"help": "Default working directory for embedded ACP session operations when not set per session."
},
"stateDir": {
"label": "State Directory",
"help": "Directory used for embedded ACP session state and persistence."
},
"permissionMode": {
"label": "Permission Mode",
"help": "Default permission policy for embedded ACP runtime prompts."
},
"nonInteractivePermissions": {
"label": "Non-Interactive Permission Policy",
"help": "Policy when interactive permission prompts are unavailable."
},
"pluginToolsMcpBridge": {
"label": "Plugin Tools MCP Bridge",
"help": "Default off. When enabled, inject the built-in OpenClaw plugin-tools MCP server into embedded ACP sessions so ACP agents can call plugin-registered tools.",
"advanced": true
},
"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 timeout for each embedded runtime turn.",
"advanced": true
},
"queueOwnerTtlSeconds": {
"label": "Queue Owner TTL Seconds",
"help": "Reserved compatibility field for future queued embedded prompt ownership.",
"advanced": true
},
"mcpServers": {
"label": "MCP Servers",
"help": "Named MCP server definitions to inject into embedded ACP session bootstrap. Each entry needs a command and can include args and env.",
"advanced": true
},
"agents": {
"label": "Agent Commands",
"help": "Optional per-agent command overrides for the embedded ACP runtime.",
"advanced": true
}
}
}