Documentation
¶
Index ¶
Constants ¶
View Source
const ( Claude = "claude" Codex = "codex" CursorCLI = "cursor-cli" CopilotCLI = "copilot-cli" OpencodeCLI = "opencode" )
Supported agent CLIs for R12/R13 (KTD6).
Variables ¶
View Source
var ErrNotFound = errors.New("cli binary not found on PATH")
ErrNotFound indicates the CLI binary is absent from PATH.
Functions ¶
func InputStrategy ¶
func InputStrategy(name string) pty.InputStrategy
InputStrategy returns how API input should be delivered for a CLI session.
Types ¶
type Driver ¶
type Driver struct {
Name string
Bin string
Args []string
InputStrategy pty.InputStrategy
}
Driver describes how to spawn an agent CLI in a PTY.
func (Driver) SessionOptions ¶
SessionOptions returns PTY session config that launches the driver.
Click to show internal directories.
Click to hide internal directories.