Documentation
¶
Overview ¶
Package appstate builds live app snapshots for the computer-use server.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ResolveApp ¶
Types ¶
type Builder ¶
type Builder struct{}
func NewBuilder ¶
func NewBuilder() *Builder
func (*Builder) Build ¶
func (b *Builder) Build(ctx context.Context, selector, windowTitle string, instructions computeruse.InstructionProvider) (*Snapshot, error)
type Snapshot ¶
type Snapshot struct {
// contains filtered or unexported fields
}
func (*Snapshot) App ¶
func (s *Snapshot) App() *axuiautomation.Application
func (*Snapshot) Resolve ¶
func (s *Snapshot) Resolve(index int) (*axuiautomation.Element, computeruse.ElementNode, error)
func (*Snapshot) State ¶
func (s *Snapshot) State() computeruse.AppState
Click to show internal directories.
Click to hide internal directories.