agent-desktop/src/cli_args
Lahfir 26f884cf8f fix: typed clipboard content with file-urls and private image temp files
Replaces the flat {format,text,bytes_base64} ClipboardContent struct with
the plan's ClipboardContent { Text, Image, FileUrls } enum and removes the
string-only get_clipboard/set_clipboard adapter methods (KTD13: remove, not
wrap) in favor of get_clipboard_content/set_clipboard_content as the sole
surface, keeping clear_clipboard unchanged.

macOS now round-trips text, PNG images, and public.file-url references
through NSPasteboard instead of returning not_supported for image/file-urls.
clipboard-get defaults to text when --format is omitted, writes image bytes
to an --out path (or a private 0600/O_NOFOLLOW/atomic temp file under the
session dir when --out is omitted, since clipboard images can carry copied
secrets), and reports {type,path,width,height}. clipboard-set gains --image
and repeatable --file-url inputs; missing file-url paths report only a
count and entry index, never the path content, since that can reach traces.

FFI's ad_get_clipboard/ad_set_clipboard now delegate through the content
API with unchanged C signatures.
2026-07-03 00:48:15 -07:00
..
actions.rs fix: wire default auto-wait into all ref-addressed commands 2026-07-02 23:22:18 -07:00
actions_tests.rs fix: wire default auto-wait into all ref-addressed commands 2026-07-02 23:22:18 -07:00
mod.rs feat: complete foundation contract units U10 through U19 2026-07-02 21:42:50 -07:00
mouse_wheel.rs feat: complete foundation contract units U10 through U19 2026-07-02 21:42:50 -07:00
notifications.rs fix: harden agent-desktop reliability (#54) 2026-06-20 15:43:42 -04:00
session.rs feat: add trace viewer and replay artifacts 2026-07-02 11:48:06 -07:00
skills.rs fix: harden agent-desktop reliability (#54) 2026-06-20 15:43:42 -04:00
system.rs fix: typed clipboard content with file-urls and private image temp files 2026-07-03 00:48:15 -07:00
trace.rs feat: add trace viewer and replay artifacts 2026-07-02 11:48:06 -07:00