Documentation
¶
Index ¶
- type Controller
- func (c *Controller) CaptureScreen(ctx context.Context, region *display.Region) (image.Image, error)
- func (c *Controller) CaptureScreenBytes(ctx context.Context, region *display.Region) ([]byte, error)
- func (c *Controller) ClickMouse(ctx context.Context, button display.MouseButton, clicks int) error
- func (c *Controller) Close() error
- func (c *Controller) GetCursorPosition(ctx context.Context) (x, y int, err error)
- func (c *Controller) GetScreenDimensions(ctx context.Context) (width, height int, err error)
- func (c *Controller) MoveMouse(ctx context.Context, x, y int) error
- func (c *Controller) ScrollMouse(ctx context.Context, clicks int, direction string) error
- func (c *Controller) SendKeyCombo(ctx context.Context, combo string) error
- func (c *Controller) TypeText(ctx context.Context, text string, delayMs int) error
- type EventBridge
- type FloatingWindowManager
- type Provider
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 (*Controller) CaptureScreenBytes ¶
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) ScrollMouse ¶
func (*Controller) SendKeyCombo ¶
func (c *Controller) SendKeyCombo(ctx context.Context, combo string) error
type EventBridge ¶
type EventBridge struct{}
EventBridge stub for 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 ¶
Click to show internal directories.
Click to hide internal directories.