omarchy-send/internal
28allday 2342beff10 Send files and folders headlessly with -to
`omarchy-send -to <alias> <paths…>` now sends files without the TUI —
from scripts, cron, or AI agents — alongside or instead of -message.
Folders are sent whole with their structure recreated on the receiver,
and a result line is printed per file. Paths without -to still open the
TUI quick-send as before.

The new SendFilesSync mirrors SendMessageSync: it blocks until the batch
lands and returns errors directly (including ErrPinRequired). A missing
path is a hard error up front — a script wants a non-zero exit, not a
silent skip — while a file that vanishes mid-batch is skipped and
reported, like the TUI path. The -dir override also rides through the
new config.ExpandHome.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-07 15:13:25 +01:00
..
app Headless one-shot message send + desktop notifications on incoming 2026-05-29 14:13:43 +01:00
client Send files and folders headlessly with -to 2026-06-07 15:13:25 +01:00
clipboard Clipboard send/copy, PIN for messages, and quiet stdlib logging 2026-05-27 22:06:24 +01:00
config Expand ~ in receiveDir everywhere it becomes a filesystem path 2026-06-07 15:13:13 +01:00
dbg Clipboard send/copy, PIN for messages, and quiet stdlib logging 2026-05-27 22:06:24 +01:00
discovery Route tailnet traffic via tailscaled's SOCKS5 proxy on userspace boxes 2026-06-06 13:29:14 +01:00
notify Headless one-shot message send + desktop notifications on incoming 2026-05-29 14:13:43 +01:00
protocol Initial commit: Omarchy-Send v0.1.0 2026-05-27 19:26:08 +01:00
security Initial commit: Omarchy-Send v0.1.0 2026-05-27 19:26:08 +01:00
server Send and read plain-text messages 2026-05-27 21:40:40 +01:00
tailscale Add remote-peer support over Tailscale and unicast probing 2026-06-02 21:47:52 +01:00
theme Initial commit: Omarchy-Send v0.1.0 2026-05-27 19:26:08 +01:00
transfer Initial commit: Omarchy-Send v0.1.0 2026-05-27 19:26:08 +01:00
tsproxy Route tailnet traffic via tailscaled's SOCKS5 proxy on userspace boxes 2026-06-06 13:29:14 +01:00
tui Expand ~ in receiveDir everywhere it becomes a filesystem path 2026-06-07 15:13:13 +01:00