watch

package
v0.0.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 2, 2025 License: MIT Imports: 14 Imported by: 0

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
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL