Versions in this module Expand all Collapse all v0 v0.1.0 Feb 28, 2026 Changes in this version + var ErrSkipLine = errors.New("cli: skip line") + type Backend interface + type Engine struct — darwin/amd64, js/wasm, linux/amd64 + func NewEngine(backend Backend, opts ...EngineOption) *Engine + func (e *Engine) Start(_ context.Context, session agentrun.Session, opts ...agentrun.Option) (agentrun.Process, error) + func (e *Engine) Validate() (retErr error) + type EngineOption func(*EngineOptions) + func WithGracePeriod(d time.Duration) EngineOption + func WithOutputBuffer(size int) EngineOption + func WithScannerBuffer(size int) EngineOption + type EngineOptions struct + GracePeriod time.Duration + OutputBuffer int + ScannerBuffer int + type InputFormatter interface + FormatInput func(message string) ([]byte, error) + type Parser interface + ParseLine func(line string) (agentrun.Message, error) + type Resumer interface + ResumeArgs func(session agentrun.Session, initialPrompt string) (binary string, args []string, err error) + type Spawner interface + SpawnArgs func(session agentrun.Session) (binary string, args []string) + type Streamer interface + StreamArgs func(session agentrun.Session) (binary string, args []string)