Versions in this module Expand all Collapse all v2 v2.7.0 Jul 20, 2026 Changes in this version + const ExitAgentError + const ExitConfigError + const ExitOK + var ErrNotTerminal = errors.New("runner: stdin is not a terminal; turnInterrupter unavailable") + func AnsiMagenta() string + func FormatAlertLine(from, kind, text string) string + func Headless(ctx context.Context, m adkmodel.LLM, prompt string, stdout, stderr io.Writer, ...) (int, error) + func IsTerminal(w io.Writer) bool + func REPL(ctx context.Context, m adkmodel.LLM, stdin io.Reader, stdout, stderr io.Writer, ...) (int, error) + func REPLWithAgent(ctx context.Context, a *agent.Agent, m adkmodel.LLM, stdin io.Reader, ...) (int, error) + func REPLWithInitialPrompt(ctx context.Context, m adkmodel.LLM, initialPrompt string, stdin io.Reader, ...) (int, error) + func WriteEvents(events iter.Seq2[*session.Event, error], out, info io.Writer, ...) error + func WriteSummary(w io.Writer, t *usage.Tracker, modelID string) + type EventsOption func(*eventsConfig) + func WithColor(on bool) EventsOption v2.7.0-dev.5 Jul 20, 2026