Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶
type Config struct {
// ID is the agent id referenced by loop.defaultAgent.
ID agentkit.AgentID `json:"id"`
// Command is the subprocess to spawn, e.g. ["agent", "acp"] (Cursor CLI) or
// ["npx", "-y", "@zed-industries/claude-code-acp@latest"].
Command []string `json:"command"`
// Env adds environment variables for the subprocess.
Env map[string]string `json:"env,omitempty"`
// Cwd is the working directory for ACP session/new. Empty uses workspace root.
Cwd string `json:"cwd,omitempty"`
// AutoApprove automatically grants tool permission requests without prompting.
AutoApprove bool `json:"autoApprove"`
// AuthMethod is passed to authenticate when non-empty (e.g. "cursor_login").
AuthMethod string `json:"authMethod,omitempty"`
// ClientName is sent in initialize; defaults to "agentkit".
ClientName string `json:"clientName,omitempty"`
// ClientVersion is sent in initialize; defaults to "0.1.0".
ClientVersion string `json:"clientVersion,omitempty"`
}
Config configures a remote ACP agent subprocess (Claude Code, Cursor CLI, etc.).
type Deps ¶
type Deps struct {
Workspace workspace.Service `json:"workspace"`
SessionStore agentkit.SessionStore `json:"sessionStore,omitempty"`
}
Deps holds injected capabilities for the ACP client side.
type Runtime ¶
type Runtime struct {
// contains filtered or unexported fields
}
Runtime proxies turns to an external ACP agent over stdio.
func (*Runtime) AgentCatalogEntry ¶
Click to show internal directories.
Click to hide internal directories.