mirror of
https://github.com/lahfir/agent-desktop.git
synced 2026-08-01 11:49:20 +00:00
P1: last_error_survives_successful_calls used ad_check_permissions as a success-only probe but it returns ErrPermDenied without Accessibility permission, overwriting the TLS error slot. Replaced with null-tolerant list accessors that never set last-error. P2: build.rs auto-copied the generated header into include/, making the CI drift check self-heal instead of catching stale ABI. Removed the copy step; CI now diffs OUT_DIR output against the committed header. Added scripts/update-ffi-header.sh for developers. P2: ad_free_handle suppressed ActionNotSupported but the default adapter returns PlatformNotSupported. Added PlatformNotSupported to the match. P3: ad_get_clipboard returned Ok with *out=NULL when clipboard text had an interior NUL. Now returns ErrInternal with a diagnostic message. |
||
|---|---|---|
| .. | ||
| link-skills.sh | ||
| update-ffi-header.sh | ||