macos

package
v0.96.0 Latest Latest
Warning

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

Go to latest
Published: Jan 11, 2026 License: MIT Imports: 6 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Controller

type Controller struct{}

Controller is a stub implementation for non-macOS platforms

func (*Controller) CaptureScreen

func (c *Controller) CaptureScreen(ctx context.Context, region *display.Region) (image.Image, error)

func (*Controller) CaptureScreenBytes

func (c *Controller) CaptureScreenBytes(ctx context.Context, region *display.Region) ([]byte, error)

func (*Controller) ClickMouse

func (c *Controller) ClickMouse(ctx context.Context, button display.MouseButton, clicks int) error

func (*Controller) Close

func (c *Controller) Close() error

func (*Controller) GetCursorPosition

func (c *Controller) GetCursorPosition(ctx context.Context) (x, y int, err error)

func (*Controller) GetScreenDimensions

func (c *Controller) GetScreenDimensions(ctx context.Context) (width, height int, err error)

func (*Controller) MoveMouse

func (c *Controller) MoveMouse(ctx context.Context, x, y int) error

func (*Controller) ScrollMouse

func (c *Controller) ScrollMouse(ctx context.Context, clicks int, direction string) error

func (*Controller) SendKeyCombo

func (c *Controller) SendKeyCombo(ctx context.Context, combo string) error

func (*Controller) TypeText

func (c *Controller) TypeText(ctx context.Context, text string, delayMs int) error

type EventBridge

type EventBridge struct{}

EventBridge stub for non-darwin platforms

func NewEventBridge

func NewEventBridge() *EventBridge

NewEventBridge creates a stub event bridge

func (*EventBridge) Close

func (eb *EventBridge) Close()

Close is a no-op on non-darwin platforms

func (*EventBridge) Publish

func (eb *EventBridge) Publish(event domain.ChatEvent)

Publish is a no-op on non-darwin platforms

func (*EventBridge) Subscribe

func (eb *EventBridge) Subscribe() chan domain.ChatEvent

Subscribe returns a dummy channel that never receives events

func (*EventBridge) Tap

func (eb *EventBridge) Tap(input <-chan domain.ChatEvent) <-chan domain.ChatEvent

Tap returns the input channel unchanged on non-darwin platforms

func (*EventBridge) Unsubscribe

func (eb *EventBridge) Unsubscribe(ch chan domain.ChatEvent)

Unsubscribe is a no-op on non-darwin platforms

type FloatingWindowManager

type FloatingWindowManager struct {
	// contains filtered or unexported fields
}

FloatingWindowManager stub for non-macOS platforms

func NewFloatingWindowManager

func NewFloatingWindowManager(
	cfg *config.Config,
	eventBridge *EventBridge,
	stateManager domain.StateManager,
	agentService domain.AgentService,
) (*FloatingWindowManager, error)

NewFloatingWindowManager returns a disabled manager on non-macOS platforms

func (*FloatingWindowManager) Shutdown

func (mgr *FloatingWindowManager) Shutdown() error

Shutdown is a no-op on non-macOS platforms

type Provider

type Provider struct{}

Provider is a stub implementation for non-macOS platforms

func NewProvider

func NewProvider() *Provider

func (*Provider) GetController

func (p *Provider) GetController() (display.DisplayController, error)

func (*Provider) GetDisplayInfo

func (p *Provider) GetDisplayInfo() display.DisplayInfo

func (*Provider) IsAvailable

func (p *Provider) IsAvailable() bool

Jump to

Keyboard shortcuts

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