mirror of
https://github.com/lahfir/agent-desktop.git
synced 2026-08-06 06:00:39 +00:00
skills/agent-desktop-ffi/ is a new skill directory: - SKILL.md — frontmatter (name, version, tags), overview, four core constraints (main-thread, release-ffi profile, errno lifetime, handle release, enum validation, pre-1.0 ABI instability). - references/ownership.md — allocation/release table for every *mut T the FFI returns, plus null-tolerance and double-free rules. - references/error-handling.md — errno-style last-error contract, full error-code table, enum validation, panic-safety guarantee. - references/threading.md — macOS main-thread rule, debug/release contract differences, Python consumer patterns, the AXIsProcessTrusted privilege-escalation note, single-owner handle invariant, thread-local last-error. - references/build-and-link.md — build command for the cdylib, minimal C and Python ctypes worked examples. CLAUDE.md updates: - Workspace tree now lists crates/ffi/ alongside the platform crates. - Dependency-inversion section acknowledges the FFI crate as a legitimate second platform → core wiring point, parallel to the binary crate (previously only src/ was named). Skill will be picked up by the next `clawhub sync --root skills/ --all` release automatically; no release-workflow change needed. |
||
|---|---|---|
| .. | ||
| agent-desktop | ||
| agent-desktop-ffi | ||