acp

module
v0.3.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 25, 2026 License: Apache-2.0

Directories

Path Synopsis
agent.go defines the Agent facade: the struct that binds Options to real ACP wire methods over a *protocol.Conn (see conn.go's Handle/HandleNotify).
agent.go defines the Agent facade: the struct that binds Options to real ACP wire methods over a *protocol.Conn (see conn.go's Handle/HandleNotify).
client.go implements Client: the connection runtime that drives a foreign ACP agent as a client, over a subprocess spawned via acp/transport/stdio and a protocol.Conn built on top of it.
client.go implements Client: the connection runtime that drives a foreign ACP agent as a client, over a subprocess spawned via acp/transport/stdio and a protocol.Conn built on top of it.
internal
boundary
Package boundary anchors module tooling below the repository root.
Package boundary anchors module tooling below the repository root.
exampleagent command
Package main builds exampleagent: a thin, test-only composition of the real acp/agent facade over a minimal, purely in-memory SessionHost/LiveSession implementation.
Package main builds exampleagent: a thin, test-only composition of the real acp/agent facade over a minimal, purely in-memory SessionHost/LiveSession implementation.
gen command
Command gen reads a pinned ACP schema.json + meta.json pair and writes protocol/types_gen.go and protocol/methods_gen.go.
Command gen reads a pinned ACP schema.json + meta.json pair and writes protocol/types_gen.go and protocol/methods_gen.go.
mockpeer command
Package main builds mockpeer: a small, real ACP agent used as a scriptable test peer.
Package main builds mockpeer: a small, real ACP agent used as a scriptable test peer.
claude_connector.go implements ClaudeConnector's session-level behavior: locating claude-agent-acp's "model" select config option (tolerating a legacy identifier quirk some adapter versions have), applying model selection, and setting only permission modes the adapter actually advertised.
claude_connector.go implements ClaudeConnector's session-level behavior: locating claude-agent-acp's "model" select config option (tolerating a legacy identifier quirk some adapter versions have), applying model selection, and setting only permission modes the adapter actually advertised.
acp.go is the typed protocol surface over Conn: it binds the generated method-name constants in methods_gen.go to the generated request/response types in types_gen.go, one Go method per ACP RPC.
acp.go is the typed protocol surface over Conn: it binds the generated method-name constants in methods_gen.go to the generated request/response types in types_gen.go, one Go method per ACP RPC.
transport
stdio
Package stdio is the process-boundary transport for the Agent Client Protocol bridge: it carries a *protocol.Conn over a process's stdin and stdout.
Package stdio is the process-boundary transport for the Agent Client Protocol bridge: it carries a *protocol.Conn over a process's stdin and stdout.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL