Documentation
¶
Overview ¶
Package escalate implements the escalate tool: the model's explicit exit door when it's stuck and a human should take over. Calling it returns loop.ErrEscalate via a typed error so the loop bails cleanly instead of silently looping until iter-cap.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Error ¶
type Error struct {
Reason string
NextAction string
// Options are discrete choices for the user to pick from. When set, the
// TUI renders an interactive picker (arrow/number select) instead of
// free-text next-action prose.
Options []string
}
Error is the typed sentinel returned by Run. callers match it via errors.As; loop.ErrEscalate provides a string-comparable shim.
Click to show internal directories.
Click to hide internal directories.