mirror of
https://github.com/openclaw/openclaw.git
synced 2026-04-12 09:41:11 +00:00
* refactor: consume acpx runtime library * refactor: remove duplicated acpx runtime files * fix: update acpx runtime dependency * fix: preserve acp runtime error codes * fix: migrate legacy acpx session files * fix: update acpx runtime dependency * fix: import Dirent from node fs * ACPX: repin shared runtime engine * ACPX: repin runtime semantics fixes * ACPX: repin runtime contract cleanup * Extensions: repin ACPX after layout refactor * ACPX: drop legacy session migration * ACPX: drop direct ACP SDK dependency * Discord ACP: stop duplicate direct fallback replies * ACP: rename delivered text visibility hook * ACPX: pin extension to 0.5.0 * Deps: drop stale ACPX build-script allowlist * ACPX: add local development guidance * ACPX: document temporary pnpm exception flow * SDK: preserve legacy ACP visibility hook * ACP: keep reset commands on local path * ACP: make in-place reset start fresh session * ACP: recover broken bindings on fresh reset * ACP: defer fresh reset marker until close succeeds * ACP: reset bound sessions fresh again * Discord: ensure ACP bindings before /new * ACP: recover missing persistent sessions
146 lines
4.3 KiB
JSON
146 lines
4.3 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": "Legacy compatibility field. The current embedded acpx/runtime package uses its own Windows command resolution behavior. Setting this to false is accepted for compatibility and logged as ignored.",
|
|
"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 the older embedded ACPX queue-owner path. Accepted for compatibility and logged as ignored.",
|
|
"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
|
|
}
|
|
},
|
|
"configContracts": {
|
|
"dangerousFlags": [
|
|
{
|
|
"path": "permissionMode",
|
|
"equals": "approve-all"
|
|
}
|
|
],
|
|
"secretInputs": {
|
|
"bundledDefaultEnabled": false,
|
|
"paths": [
|
|
{
|
|
"path": "mcpServers.*.env.*",
|
|
"expected": "string"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|