Versions in this module Expand all Collapse all v0 v0.5.0 Apr 24, 2026 Changes in this version + const MethodAccessibilityActionPerform + const MethodAccessibilityAppsList + const MethodAccessibilityClickInsert + const MethodAccessibilityContextCapture + const MethodAccessibilityContextScreen + const MethodAccessibilityFind + const MethodAccessibilityInsert + const MethodAccessibilityOpenSettings + const MethodAccessibilityRequestPermission + const MethodAccessibilitySelectionSet + const MethodAccessibilityStatus + const MethodAccessibilityTargetsList + const MethodAccessibilityTextInspect + const MethodAccessibilityTextReplace + const MethodAccessibilityTreeFocused + const MethodAppsActivate + const MethodAppsFind + const MethodAppsInstalledList + const MethodAppsOpen + const MethodDevicesList + const MethodDiagnosticsAcknowledge + const MethodDiagnosticsClear + const MethodDiagnosticsEventsSubscribe + const MethodDiagnosticsEventsUnsubscribe + const MethodDiagnosticsList + const MethodDiagnosticsLog + const MethodDiagnosticsResolve + const MethodDiagnosticsStatus + const MethodModelsCatalog + const MethodModelsDownloadCancel + const MethodModelsDownloadJob + const MethodModelsParakeetEOUDelete + const MethodModelsParakeetEOUDownload + const MethodModelsParakeetEOUEnsure + const MethodModelsParakeetEOUStatus + const MethodNotificationAudioCatalog + const MethodNotificationAudioPlay + const MethodNotificationAudioStatus + const MethodNotificationAudioStop + const MethodObservationEventsSubscribe + const MethodObservationEventsUnsubscribe + const MethodObservationPermissionStatus + const MethodObservationRecordingStart + const MethodObservationRecordingStatus + const MethodObservationRecordingStop + const MethodObservationRecordingsList + const MethodObservationRequestPermission + const MethodObservationScreenshot + const MethodPermissionsOpenAccessibilitySettings + const MethodPermissionsRequestAccessibility + const MethodPermissionsRequestMicrophone + const MethodPermissionsStatus + const MethodSTTBatchModelDownload + const MethodSTTBatchModelEnsure + const MethodSTTBatchModelGet + const MethodSTTBatchModelSet + const MethodSTTBatchModelsList + const MethodSTTBatchTranscribeCancel + const MethodSTTBatchTranscribeList + const MethodSTTBatchTranscribeResult + const MethodSTTBatchTranscribeStart + const MethodSTTBatchTranscribeStatus + const MethodSTTEventsSubscribe + const MethodSTTEventsUnsubscribe + const MethodSTTModelDownload + const MethodSTTModelGet + const MethodSTTModelSet + const MethodSTTModelsList + const MethodSTTRealtimeFileTranscribeCancel + const MethodSTTRealtimeFileTranscribeList + const MethodSTTRealtimeFileTranscribeResult + const MethodSTTRealtimeFileTranscribeStart + const MethodSTTRealtimeFileTranscribeStatus + const MethodSTTRealtimeModelDownload + const MethodSTTRealtimeModelGet + const MethodSTTRealtimeModelSet + const MethodSTTRealtimeModelsList + const MethodSTTRealtimePrewarm + const MethodSTTReset + const MethodSTTStart + const MethodSTTStatus + const MethodSTTStop + const MethodScreenClick + const MethodSystemDescribe + const MethodSystemHealth + const MethodSystemStatus + const MethodTTSConfigGet + const MethodTTSConfigSet + const MethodTTSPause + const MethodTTSResume + const MethodTTSSave + const MethodTTSSpeak + const MethodTTSSpeakSelected + const MethodTTSSpeakTranscript + const MethodTTSStatus + const MethodTTSStop + const MethodTTSVoicesList + const MethodTranscriptCopy + const MethodTranscriptGet + const MethodTranscriptInsert + const MethodTranscriptProcess + const MethodTranscriptSet + const SocketEnv + var AllMethods = []string + func DefaultSocketPath() string + type AccessibilityActionParams struct + Action string + AllowFallbackClick *bool + FocusPolicy string + TargetBundleID string + TargetPID *int + TargetPath string + type AccessibilityContextParams struct + IncludePrompt *bool + MaxChildren *int + MaxDepth *int + MaxElements *int + TargetBundleID string + TargetPID *int + type AccessibilityFindParams struct + Category string + MaxChildren *int + MaxDepth *int + MaxElements *int + MaxResults *int + Query string + Role string + TargetBundleID string + TargetPID *int + type AccessibilitySelectionSetParams struct + ClearSiblingSelection *bool + FocusPolicy string + MatchText string + Occurrence string + Range map[string]any + Selected *bool + TargetBundleID string + TargetPID *int + TargetPath string + TargetRegion string + type AccessibilityTextInspectParams struct + FocusPolicy string + MatchText string + Occurrence string + Range map[string]any + TargetBundleID string + TargetPID *int + TargetPath string + TargetRegion string + type AccessibilityTextReplaceParams struct + FindText string + FocusPolicy string + Occurrence string + PreserveStyle *bool + ReplacementText string + TargetBundleID string + TargetPID *int + TargetPath string + TargetRegion string + type ApplicationActivateParams struct + BundleID string + PID *int + type ApplicationFindParams struct + BundleID string + IncludeSystemApps *bool + IncludeUserApps *bool + MaxResults *int + Name string + Path string + Query string + type ApplicationInventoryParams struct + IncludeBackgroundApps *bool + MaxChildren *int + MaxDepth *int + type ApplicationOpenParams struct + Activate *bool + BundleID string + Name string + Path string + type Client struct + func NewClient(socketPath string) *Client + func NewClientFromEnv() *Client + func (c *Client) AccessibilityActionPerform(ctx context.Context, params AccessibilityActionParams) (json.RawMessage, error) + func (c *Client) AccessibilityAppsList(ctx context.Context, params ApplicationInventoryParams) (json.RawMessage, error) + func (c *Client) AccessibilityClickInsert(ctx context.Context, params CoordinateInsertParams) (json.RawMessage, error) + func (c *Client) AccessibilityContextCapture(ctx context.Context, params AccessibilityContextParams) (json.RawMessage, error) + func (c *Client) AccessibilityContextScreen(ctx context.Context, params AccessibilityContextParams) (json.RawMessage, error) + func (c *Client) AccessibilityFind(ctx context.Context, params AccessibilityFindParams) (json.RawMessage, error) + func (c *Client) AccessibilityInsert(ctx context.Context, params InsertParams) (json.RawMessage, error) + func (c *Client) AccessibilityOpenSettings(ctx context.Context) (json.RawMessage, error) + func (c *Client) AccessibilityRequestPermission(ctx context.Context) (json.RawMessage, error) + func (c *Client) AccessibilitySelectionSet(ctx context.Context, params AccessibilitySelectionSetParams) (json.RawMessage, error) + func (c *Client) AccessibilityStatus(ctx context.Context) (json.RawMessage, error) + func (c *Client) AccessibilityTargetsList(ctx context.Context, params TreeParams) (json.RawMessage, error) + func (c *Client) AccessibilityTextInspect(ctx context.Context, params AccessibilityTextInspectParams) (json.RawMessage, error) + func (c *Client) AccessibilityTextReplace(ctx context.Context, params AccessibilityTextReplaceParams) (json.RawMessage, error) + func (c *Client) AccessibilityTreeFocused(ctx context.Context, params TreeParams) (json.RawMessage, error) + func (c *Client) AppsActivate(ctx context.Context, params ApplicationActivateParams) (json.RawMessage, error) + func (c *Client) AppsFind(ctx context.Context, params ApplicationFindParams) (json.RawMessage, error) + func (c *Client) AppsInstalledList(ctx context.Context, params InstalledApplicationsParams) (json.RawMessage, error) + func (c *Client) AppsOpen(ctx context.Context, params ApplicationOpenParams) (json.RawMessage, error) + func (c *Client) Call(ctx context.Context, method string, params any) (json.RawMessage, error) + func (c *Client) CallInto(ctx context.Context, method string, params any, target any) error + func (c *Client) Describe() Status + func (c *Client) DevicesList(ctx context.Context) (json.RawMessage, error) + func (c *Client) DiagnosticsAcknowledge(ctx context.Context, params DiagnosticsIssueParams) (json.RawMessage, error) + func (c *Client) DiagnosticsClear(ctx context.Context) (json.RawMessage, error) + func (c *Client) DiagnosticsEventsSubscribe(ctx context.Context, params DiagnosticsEventSubscribeParams, ...) (*Subscription, error) + func (c *Client) DiagnosticsEventsUnsubscribe(ctx context.Context, params EventUnsubscribeParams) (json.RawMessage, error) + func (c *Client) DiagnosticsList(ctx context.Context, params DiagnosticsListParams) (json.RawMessage, error) + func (c *Client) DiagnosticsLog(ctx context.Context, params DiagnosticsLogParams) (json.RawMessage, error) + func (c *Client) DiagnosticsResolve(ctx context.Context, params DiagnosticsIssueParams) (json.RawMessage, error) + func (c *Client) DiagnosticsStatus(ctx context.Context) (json.RawMessage, error) + func (c *Client) ModelsCatalog(ctx context.Context) (json.RawMessage, error) + func (c *Client) ModelsDownloadCancel(ctx context.Context, params ModelJobParams) (json.RawMessage, error) + func (c *Client) ModelsDownloadJob(ctx context.Context, params ModelJobParams) (json.RawMessage, error) + func (c *Client) ModelsParakeetEOUDelete(ctx context.Context, params ModelVariantParams) (json.RawMessage, error) + func (c *Client) ModelsParakeetEOUDownload(ctx context.Context, params ModelVariantParams) (json.RawMessage, error) + func (c *Client) ModelsParakeetEOUEnsure(ctx context.Context, params ModelVariantParams) (json.RawMessage, error) + func (c *Client) ModelsParakeetEOUStatus(ctx context.Context, params ModelVariantParams) (json.RawMessage, error) + func (c *Client) NotificationAudioCatalog(ctx context.Context) (json.RawMessage, error) + func (c *Client) NotificationAudioPlay(ctx context.Context, params NotificationAudioPlayParams) (json.RawMessage, error) + func (c *Client) NotificationAudioStatus(ctx context.Context) (json.RawMessage, error) + func (c *Client) NotificationAudioStop(ctx context.Context, params NotificationAudioStopParams) (json.RawMessage, error) + func (c *Client) ObservationEventsSubscribe(ctx context.Context, params EventSubscribeParams, ...) (*Subscription, error) + func (c *Client) ObservationEventsUnsubscribe(ctx context.Context, params EventUnsubscribeParams) (json.RawMessage, error) + func (c *Client) ObservationPermissionStatus(ctx context.Context) (json.RawMessage, error) + func (c *Client) ObservationRecordingStart(ctx context.Context, params ObservationRecordingStartParams) (json.RawMessage, error) + func (c *Client) ObservationRecordingStatus(ctx context.Context, params ObservationRecordingIDParams) (json.RawMessage, error) + func (c *Client) ObservationRecordingStop(ctx context.Context, params ObservationRecordingIDParams) (json.RawMessage, error) + func (c *Client) ObservationRecordingsList(ctx context.Context) (json.RawMessage, error) + func (c *Client) ObservationRequestPermission(ctx context.Context) (json.RawMessage, error) + func (c *Client) ObservationScreenshot(ctx context.Context, params ObservationScreenshotParams) (json.RawMessage, error) + func (c *Client) PermissionsOpenAccessibilitySettings(ctx context.Context) (json.RawMessage, error) + func (c *Client) PermissionsRequestAccessibility(ctx context.Context) (json.RawMessage, error) + func (c *Client) PermissionsRequestMicrophone(ctx context.Context) (json.RawMessage, error) + func (c *Client) PermissionsStatus(ctx context.Context) (json.RawMessage, error) + func (c *Client) Refresh(ctx context.Context) error + func (c *Client) STTBatchModelDownload(ctx context.Context, params STTModelDownloadParams) (json.RawMessage, error) + func (c *Client) STTBatchModelEnsure(ctx context.Context, params STTModelDownloadParams) (json.RawMessage, error) + func (c *Client) STTBatchModelGet(ctx context.Context) (json.RawMessage, error) + func (c *Client) STTBatchModelSet(ctx context.Context, params STTModelSetParams) (json.RawMessage, error) + func (c *Client) STTBatchModelsList(ctx context.Context) (json.RawMessage, error) + func (c *Client) STTBatchTranscribeCancel(ctx context.Context, params STTJobParams) (json.RawMessage, error) + func (c *Client) STTBatchTranscribeList(ctx context.Context) (json.RawMessage, error) + func (c *Client) STTBatchTranscribeResult(ctx context.Context, params STTJobParams) (json.RawMessage, error) + func (c *Client) STTBatchTranscribeStart(ctx context.Context, params any) (json.RawMessage, error) + func (c *Client) STTBatchTranscribeStatus(ctx context.Context, params STTJobParams) (json.RawMessage, error) + func (c *Client) STTEventsSubscribe(ctx context.Context, params EventSubscribeParams, ...) (*Subscription, error) + func (c *Client) STTEventsUnsubscribe(ctx context.Context, params EventUnsubscribeParams) (json.RawMessage, error) + func (c *Client) STTModelDownload(ctx context.Context, params STTModelDownloadParams) (json.RawMessage, error) + func (c *Client) STTModelGet(ctx context.Context) (json.RawMessage, error) + func (c *Client) STTModelSet(ctx context.Context, params STTModelSetParams) (json.RawMessage, error) + func (c *Client) STTModelsList(ctx context.Context) (json.RawMessage, error) + func (c *Client) STTRealtimeFileTranscribeCancel(ctx context.Context, params STTJobParams) (json.RawMessage, error) + func (c *Client) STTRealtimeFileTranscribeList(ctx context.Context) (json.RawMessage, error) + func (c *Client) STTRealtimeFileTranscribeResult(ctx context.Context, params STTJobParams) (json.RawMessage, error) + func (c *Client) STTRealtimeFileTranscribeStart(ctx context.Context, params any) (json.RawMessage, error) + func (c *Client) STTRealtimeFileTranscribeStatus(ctx context.Context, params STTJobParams) (json.RawMessage, error) + func (c *Client) STTRealtimeModelDownload(ctx context.Context, params STTModelDownloadParams) (json.RawMessage, error) + func (c *Client) STTRealtimeModelGet(ctx context.Context) (json.RawMessage, error) + func (c *Client) STTRealtimeModelSet(ctx context.Context, params STTModelSetParams) (json.RawMessage, error) + func (c *Client) STTRealtimeModelsList(ctx context.Context) (json.RawMessage, error) + func (c *Client) STTRealtimePrewarm(ctx context.Context) (json.RawMessage, error) + func (c *Client) STTReset(ctx context.Context) (json.RawMessage, error) + func (c *Client) STTStart(ctx context.Context) (json.RawMessage, error) + func (c *Client) STTStatus(ctx context.Context) (json.RawMessage, error) + func (c *Client) STTStop(ctx context.Context) (json.RawMessage, error) + func (c *Client) ScreenClick(ctx context.Context, params ScreenClickParams) (json.RawMessage, error) + func (c *Client) SocketPath() string + func (c *Client) StartSubscription(ctx context.Context, method string, params any, ...) (*Subscription, error) + func (c *Client) SystemDescribe(ctx context.Context) (json.RawMessage, error) + func (c *Client) SystemHealth(ctx context.Context) (json.RawMessage, error) + func (c *Client) SystemStatus(ctx context.Context) (json.RawMessage, error) + func (c *Client) TTSConfigGet(ctx context.Context) (json.RawMessage, error) + func (c *Client) TTSConfigSet(ctx context.Context, params TTSConfigSetParams) (json.RawMessage, error) + func (c *Client) TTSPause(ctx context.Context) (json.RawMessage, error) + func (c *Client) TTSResume(ctx context.Context) (json.RawMessage, error) + func (c *Client) TTSSave(ctx context.Context, params TTSSynthesizeParams) (json.RawMessage, error) + func (c *Client) TTSSpeak(ctx context.Context, params TTSSynthesizeParams) (json.RawMessage, error) + func (c *Client) TTSSpeakSelected(ctx context.Context) (json.RawMessage, error) + func (c *Client) TTSSpeakTranscript(ctx context.Context) (json.RawMessage, error) + func (c *Client) TTSStatus(ctx context.Context) (json.RawMessage, error) + func (c *Client) TTSStop(ctx context.Context) (json.RawMessage, error) + func (c *Client) TTSVoicesList(ctx context.Context) (json.RawMessage, error) + func (c *Client) TranscriptCopy(ctx context.Context) (json.RawMessage, error) + func (c *Client) TranscriptGet(ctx context.Context) (json.RawMessage, error) + func (c *Client) TranscriptInsert(ctx context.Context, params OptionalTextParams) (json.RawMessage, error) + func (c *Client) TranscriptProcess(ctx context.Context, params any) (json.RawMessage, error) + func (c *Client) TranscriptSet(ctx context.Context, params TextParams) (json.RawMessage, error) + type CoordinateInsertParams struct + Text string + X float64 + Y float64 + type DiagnosticsEventSubscribeParams struct + Domains []string + Severities []string + type DiagnosticsIssueParams struct + IssueID string + type DiagnosticsListParams struct + Domain string + Limit *int + Operation string + OperationID string + Severity string + type DiagnosticsLogParams struct + Domain string + Limit *int + MaxBytes *int + Operation string + OperationID string + Severity string + Since string + type EventSubscribeParams struct + Kinds []string + type EventUnsubscribeParams struct + SubscriptionID string + type InsertParams struct + FocusPolicy string + Mode string + TargetAppName string + TargetBundleID string + TargetPID *int + TargetPath string + TargetRegion string + TargetWindowTitle string + Text string + type InstalledApplicationsParams struct + IncludeSystemApps *bool + IncludeUserApps *bool + MaxResults *int + Query string + type ModelJobParams struct + ID string + type ModelVariantParams struct + Variant string + type NotificationAudioPlayParams struct + Event string + Interrupt *bool + Path string + SystemSound string + Volume *float64 + type NotificationAudioStopParams struct + All *bool + type ObservationRecordingIDParams struct + RecordingID string + type ObservationRecordingStartParams struct + CountdownSeconds *float64 + FPS *float64 + RecordForSeconds *float64 + SavePath string + Target map[string]any + type ObservationScreenshotParams struct + Format string + SavePath string + Target map[string]any + type OptionalTextParams struct + Text string + type RPCError struct + Code int + Data json.RawMessage + Message string + func (e RPCError) Error() string + type STTJobParams struct + JobID string + type STTModelDownloadParams struct + Model string + Select *bool + type STTModelSetParams struct + Model string + type ScreenClickParams struct + X float64 + Y float64 + type Status struct + Available bool + Capabilities map[string]bool + Endpoint string + LastError string + Methods []string + SchemaVersion string + Service string + Transport string + type Subscription struct + Cancel func() + Result json.RawMessage + SubscriptionID string + type TTSConfigSetParams struct + ChunkCharacters *int + CustomLexiconPath string + CustomVoiceID string + CustomVoicePath string + DeEss *bool + OutputDevice string + SaveWAVArtifacts *bool + SpeakerID *int + VariantPreference string + Voice string + VoiceSpeed *float64 + Volume *float64 + type TTSSynthesizeParams struct + ChunkCharacters *int + CustomLexiconPath string + CustomVoiceID string + CustomVoicePath string + DeEss *bool + ModelPath string + OutputDevice string + Play *bool + Provider string + SavePath string + SaveWAV *bool + SpeakerID *int + Text string + UseMetal *bool + VariantPreference string + Voice string + VoiceSpeed *float64 + Volume *float64 + type TextParams struct + Text string + type TreeParams struct + MaxChildren *int + MaxDepth *int