Help us shape the future of Go! Take the 2026 Go Developer Survey

appstate

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Apr 25, 2026 License: MIT Imports: 18 Imported by: 0

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 ListApps

func ListApps(ctx context.Context) ([]computeruse.AppInfo, error)

func ResolveApp

func ResolveApp(ctx context.Context, selector string) (computeruse.AppInfo, error)

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 (*Snapshot) Close

func (s *Snapshot) Close() error

func (*Snapshot) Resolve

func (*Snapshot) State

func (s *Snapshot) State() computeruse.AppState

Jump to

Keyboard shortcuts

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