You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Story] AF1. Host coding agents through the Agent Client Protocol #266
As a developer who already pays for Claude, ChatGPT or Gemini, I want the IDE to run the official Claude Code, Codex and Gemini CLI agents, so that I use my subscription (or my API key) inside Code-XR without paying twice.
Acceptance criteria
The main process spawns an ACP agent over stdio (@agentclientprotocol/sdk, protocol v1) with no shell, a minimal environment, and the open folder as cwd.
initialize, session/new, session/prompt, session/cancel and session/load work; session/update events (message and thought chunks, tool calls and updates with diffs, plan, available commands, modes and config options) reach the renderer through a typed IPC contract.
fs/read_text_file is served from the editor's unsaved buffers when the file is open; fs/write_text_file writes through the IDE and records the original for review (AF5).
terminal/* runs commands for the agent; output is shown in the tool card.
session/request_permission shows the approval card (allow once / always / reject); "always" is remembered per agent and tool kind.
Authentication: methods are shown with the vendor's wording; terminal logins run in the IDE terminal; the IDE never reads or stores vendor OAuth tokens; API keys go to the OS keychain.
Activity
feat(ide): host ACP coding agents in the main process (#266)
feat(ide): wire the agent-first workbench into the window (#266, #268, …