Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type AgentStatus ¶
type AgentStatus string
const ( StatusActive AgentStatus = "active" StatusApproval AgentStatus = "approval" StatusReady AgentStatus = "ready" StatusUnknown AgentStatus = "unknown" )
type Detector ¶
type Detector struct {
// contains filtered or unexported fields
}
func (*Detector) Detect ¶
func (d *Detector) Detect(content string) AgentStatus
Detect returns the detected status based on terminal content.
func (*Detector) IsBusy ¶
IsBusy returns true if the terminal content indicates the agent is actively working.
func (*Detector) IsReady ¶
IsReady returns true if the terminal shows an input prompt (agent waiting for input).
func (*Detector) NeedsApproval ¶
NeedsApproval returns true if the terminal shows a permission/approval dialog.
Click to show internal directories.
Click to hide internal directories.