mirror of
https://github.com/openclaw/openclaw.git
synced 2026-03-29 19:01:44 +00:00
Align ACPX built-in agent registry with latest acpx (#55476)
* Add Cursor CLI to ACP allowedAgents - acpx: add cursor to ACPX_BUILTIN_AGENT_COMMANDS (agent acp) - docs: add cursor to acp-agents harness list and allowedAgents example Fixes #28321 Made-with: Cursor * ACP Cursor: add to acp-router skill, system-prompt, and schema help - acp-router SKILL: add Cursor to description, intent, agentId mapping, harness aliases, and built-in adapter commands (agent acp) - system-prompt: add cursor to ACP harness example - schema.help: add cursor to runtime.acp.agent example Fixes #28321 Made-with: Cursor * fix(acpx): align built-in agent registry with latest acpx --------- Co-authored-by: Rob MacDonald <rob@robmacdonald.com>
This commit is contained in:
@@ -435,7 +435,7 @@ export function buildAgentSystemPrompt(params: {
|
||||
"If a task is more complex or takes longer, spawn a sub-agent. Completion is push-based: it will auto-announce when done.",
|
||||
...(acpHarnessSpawnAllowed
|
||||
? [
|
||||
'For requests like "do this in codex/claude code/gemini", treat it as ACP harness intent and call `sessions_spawn` with `runtime: "acp"`.',
|
||||
'For requests like "do this in codex/claude code/cursor/gemini" or similar ACP harnesses, treat it as ACP harness intent and call `sessions_spawn` with `runtime: "acp"`.',
|
||||
'On Discord, default ACP harness requests to thread-bound persistent sessions (`thread: true`, `mode: "session"`) unless the user asks otherwise.',
|
||||
"Set `agentId` explicitly unless `acp.defaultAgent` is configured, and do not route ACP harness requests through `subagents`/`agents_list` or local PTY exec flows.",
|
||||
'For ACP harness thread spawns, do not call `message` with `action=thread-create`; use `sessions_spawn` (`runtime: "acp"`, `thread: true`) as the single thread creation path.',
|
||||
|
||||
@@ -222,7 +222,7 @@ export const FIELD_HELP: Record<string, string> = {
|
||||
"agents.list[].runtime.acp":
|
||||
"ACP runtime defaults for this agent when runtime.type=acp. Binding-level ACP overrides still take precedence per conversation.",
|
||||
"agents.list[].runtime.acp.agent":
|
||||
"Optional ACP harness agent id to use for this OpenClaw agent (for example codex, claude).",
|
||||
"Optional ACP harness agent id to use for this OpenClaw agent (for example codex, claude, cursor, gemini, openclaw).",
|
||||
"agents.list[].runtime.acp.backend":
|
||||
"Optional ACP backend override for this agent's ACP sessions (falls back to global acp.backend).",
|
||||
"agents.list[].runtime.acp.mode":
|
||||
|
||||
Reference in New Issue
Block a user