|
Replace macOS-only underpinnings with portable Unix equivalents so the
provider runs on macOS, Linux, and FreeBSD:
- Replace /usr/bin/nc -U with an embedded panto lua + luv stdio-to-socket
relay everywhere.
- Conditionalize /usr/bin/codesign to macOS; validate binary ownership and
permissions on other Unix platforms.
- Forward D-Bus/XDG keyring session variables on non-macOS while keeping API
keys stripped.
- Use uv.os_tmpdir() (with /tmp fallback for Unix socket sun_path limits)
instead of hardcoded /tmp and /private/tmp.
- Drop --sandbox from agy invocations to match Panto's permissions model
and avoid container/Linuxulator sandbox breakage.
- Update check.lua for non-macOS runners (unshare / direct) and broaden
supported_platforms to unix.
|