Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var CmdWatch = &ffcli.Command{ Name: "auto", ShortUsage: "uzi auto", ShortHelp: "Automatically manage active agent sessions", LongHelp: ` The auto command monitors all active agent sessions in the current repository and automatically presses Enter when it detects prompts that require user input, such as trust prompts or continuation confirmations. It can also handle other automated tasks in the future. This is useful for hands-free operation of multiple agents. `, FlagSet: func() *flag.FlagSet { fs := flag.NewFlagSet("auto", flag.ExitOnError) return fs }(), Exec: func(ctx context.Context, args []string) error { watcher := NewAgentWatcher() watcher.Start() return nil }, }
Functions ¶
This section is empty.
Types ¶
type AgentWatcher ¶
type AgentWatcher struct {
// contains filtered or unexported fields
}
func NewAgentWatcher ¶
func NewAgentWatcher() *AgentWatcher
func (*AgentWatcher) Start ¶
func (aw *AgentWatcher) Start()
type SessionMonitor ¶
type SessionMonitor struct {
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.