Download Latest Version v0.4.0 -- QAT Gemma 4 default models source code.tar.gz (5.4 MB)
Email in envelope

Get an email when there's a new version of AgentHandover

Home / v0.2.9
Name Modified Size InfoDownloads / Week
Parent folder
AgentHandover-0.2.9.pkg 2026-04-16 10.5 MB
README.md 2026-04-15 1.5 kB
v0.2.9 -- remove remaining timeout+spawn_blocking crash sites source code.tar.gz 2026-04-15 5.3 MB
v0.2.9 -- remove remaining timeout+spawn_blocking crash sites source code.zip 2026-04-15 5.5 MB
Totals: 4 Items   21.4 MB 0

v0.2.8 fixed the OCR timeout crash but three identical patterns remained. This release removes all of them.

What was still crashing

The tokio::time::timeout + spawn_blocking pattern orphans the blocking thread when the timeout fires — ObjC cleanup runs outside the @try/@catch scope, uncaught exception triggers abort(). v0.2.8 fixed the OCR instance; three more survived:

  1. Clipboard monitoring (macos_clipboard.rs) — two timeouts on get_pasteboard_change_count and capture_clipboard_meta, both calling NSPasteboard ObjC FFI. The clipboard monitor fires immediately on daemon startup — prime suspect for the "daemon dies within seconds" symptom still seen on v0.2.8.
  2. Accessibility checks (macos_accessibility.rs) — timeout on is_secure_field_focused AX API call.
  3. AppleScript queries (applescript_bridge.rs) — timeout on query_app_state (subprocess, lower risk but fixed for consistency since inner run_osascript() already has its own timeout).

All four blocking calls now run to completion inside spawn_blocking without outer Tokio timeouts. Verified zero remaining timeout + spawn_blocking combos in the daemon.

Install

:::bash
brew upgrade --cask agenthandover

curl -LO https://github.com/sandroandric/AgentHandover/releases/download/v0.2.9/AgentHandover-0.2.9.pkg
sudo installer -pkg AgentHandover-0.2.9.pkg -target /

Relates to issue [#1] (NOT closing — waiting for reporter's v0.2.9 retest).

Source: README.md, updated 2026-04-15