github ognistik/macrowhisper v2.0.2

7 hours ago

TLDR; This update provides improved latency for browser dictations, several performance fixes, better fallbacks for front-app detection, and enhancements to smart insertion.

Changed

  • Improved first-dictation latency after app restart by avoiding expensive Accessibility front-app lookups in app-identity-only paths.
  • Improvement. Moved automatic history retention cleanup off the action execution path so it no longer competes with initial dictation responsiveness.
  • Improved browser URL detection performance by replacing the old content-heavy accessibility crawl with a bounded, cache-first URL resolver.
    • This keeps URL triggers and page detection working while significantly reducing paste delays on complex websites.
  • Improved input field detection for browsers. Should have much better performance.
  • Improved detection of front app. It resolves with AX detection first, uses NSWorkspace as fallback.
    • It should be more reliable with special window types.
  • Improved smart insertion around paragraph boundaries, especially in supported browsers.
    • Ambiguous newline caret positions now use a safer browser-only resolution path and fall back to the correct paragraph-end behavior instead of forcing the wrong line-start interpretation.
  • Fixed smart insertion spacing before markdown emphasis so inserts now add the expected space before italic and bold content.
  • fixed a related regression in non-browser text areas, where smart insertion could incorrectly rewrite valid before-newline positions.
    • Added focused regression coverage for browser ambiguity resolution and newline-boundary handling.

How to Update

If Installed through Homebrew

brew update
brew upgrade macrowhisper
macrowhisper --restart-service
Why do you need to re-grant accessibility permissions after update?

MacOS stores accessibility permissions tied to the absolute file path, not the application signature. Since Macrowhisper is a single binary application rather than an app bundle, when Homebrew upgrades it, the application gets placed in a version-specific folder. Each brew upgrade causes the binary to be stored at a different path, which macOS treats as a completely different application, effectively resetting the accessibility permissions.

You'll notice multiple versions of Macrowhisper appearing in your System Settings → Privacy & Security → Accessibility panel after updates. You can manually remove these stale entries when upgrading, but unfortunately there's no automatic workaround as long as you install using Homebrew due to this path-based permission system.

Alternative installation option: If you prefer not to re-grant accessibility permissions after each update, you can install Macrowhisper using the script instead of Homebrew (you do need to uninstall using Homebrew first).

If Installed with Script

curl -L https://raw.githubusercontent.com/ognistik/macrowhisper/main/scripts/install.sh | sh
macrowhisper --restart-service

Don't miss a new macrowhisper release

NewReleases is sending notifications on new releases.