You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// Check for specific accessibility permission error
1054
-
if(
1055
-
errorOutput.includes('is not allowed to send keystrokes')||
1056
-
errorOutput.includes('1002')
1057
-
){
1058
-
resolve({
1059
-
error:
1060
-
'Goose needs accessibility permissions to trigger dictation. Please go to System Settings → Privacy & Security → Accessibility and allow Goose to control your computer.',
1061
-
});
1062
-
}else{
1063
-
resolve({
1064
-
error:
1065
-
'Failed to trigger dictation. Make sure dictation is enabled in System Settings → Keyboard → Dictation.',
1066
-
});
1067
-
}
1068
-
}else{
1069
-
// Note: We can't directly capture the dictation text from macOS
1070
-
// The user will need to manually insert it
1071
-
resolve({text: '',error: 'Please use macOS dictation to input text'});
0 commit comments