Documentation
¶
Overview ¶
Package codexcontrol connects only to the verified Codex ancestor's local daemon. A failed exchange closes the connection; it never reconnects or resends.
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ( ErrProtocol = errors.New("codex control protocol failure") ErrClosed = errors.New("codex control connection closed") )
var ErrMethod = errors.New("codex control method is not allowed")
var ErrNotDaemonHost = errors.New("not a Codex daemon host")
Only a positively identified non-daemon host permits a mode-switch fallback.
var ErrQueue = errors.New("invalid Codex queue response")
var ErrTooLarge = errors.New("codex control message exceeds limit")
var ErrTransport = errors.New("codex control transport failed")
var ErrUnverifiedHost = errors.New("unverified-host")
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func (*Client) Call ¶
Call permits only steering/control discovery methods. MCP tools have their own explicit entry below, so a steering caller cannot select them by name.
func (*Client) CallMCPTool ¶
func (*Client) CheckQueue ¶
The experimental read API must work before a new durable steer intent exists.
type Host ¶
type Host struct {
// contains filtered or unexported fields
}
Host captures the binding's already-observed nearest Codex ancestor. key is the existing process-key reader (channel's kimiProcessKey), not a new probe.
type Launcher ¶
type Launcher struct {
// contains filtered or unexported fields
}
Launcher pins one explicit daemon endpoint, rather than a Codex MCP ancestor.
func BindLauncher ¶
type LauncherClient ¶
type LauncherClient struct {
// contains filtered or unexported fields
}
Typed methods fix the launcher allowlist, server, tool and thread at binding.
func (*LauncherClient) AuthStatus ¶
func (c *LauncherClient) AuthStatus(ctx context.Context) (json.RawMessage, error)
func (*LauncherClient) Close ¶
func (c *LauncherClient) Close() error