acpx
acpx copied to clipboard
Headless CLI client for stateful Agent Client Protocol (ACP) sessions
Some embedding hosts need to apply a session policy at each real `session/new`, `session/load`, or `session/resume` request. For example, a restricted transformation may need Claude session metadata disabling tools, hooks,...
An embedding host may already own platform-specific process launching (for example, Windows npm shim resolution or a local execution wrapper). The public runtime currently requires the built-in spawner, so a...
The current default cancellation of Antigravity `interaction_` questions is appropriate: their answer options use `allow_once`, so an ordinary permission policy cannot choose a meaningful answer. An embedding host with a...
`set ` changes a nonblank, advertised non-model value before request construction. I have not patched this because preserving the existing model-selection behavior needs a clearer boundary. ### Observed source and...
## Summary After a session's model is switched back to claude-agent-acp's `default` entry, the session can no longer be resumed: acpx replays the choice as the Claude Code option `model:...
Repro steps 1. In a Codex session configured with sandbox mode (workspace-write, writes limited to the workspace and /tmp), run: acpx --verbose --format quiet cursor-composer exec 'What is the capital...
> [!NOTE] > Disclaimer: this issue report was written with assistance of AI. ## Summary - The built-in `opencode` agent always launches through `npx -y opencode-ai acp`, even when a...
## Proposal `acpx sessions export` writes a portable archive meant to move a session between machines (docs/CLI.md, docs/sessions.md). The archive's `session.state` is the full on-disk record (`serializeSessionRecordForDisk`), so it includes:...
Resolving a named session reads and parses every canonical session JSON record, including its full message history. This affects scoped CLI lookups and SharedAcpRuntime find/ensure. A caller-reported store of 5,018...
## Summary When Codex's backend answers a turn with a provider error that is neither auth nor quota — here `server_overloaded` ("Selected model is at capacity") — `@agentclientprotocol/codex-acp` (1.13.1, via...