You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: add local clipboard watching with automatic sync + TUI visibility
Add opt-in clipboard watching (`[watch] enabled = true`) so the daemon
automatically detects meaningful local clipboard changes (especially
screenshots) and makes them immediately available to remote hosts.
- Intelligent hybrid polling + debounce/filtering (prioritizes images,
ignores rapid tiny text changes)
- Updates internal state + watchHub notifications for proactive delivery
- `pastelocal-remote --watch` now benefits from real-time change notifications
- TUI dashboard shows watch status (enabled + last change time)
- Added `--watch` mode documentation and clear logging
- Added focused tests + fixed all review feedback (TUI render, reload enable,
data race via atomic.Bool, graceful shutdown, etc.)
This makes the remote clipboard experience feel much more native for
agentic coding workflows over SSH. The feature is fully opt-in and
respects the existing security model.
Co-authored-by: Grok Build <grok@x.ai>
0 commit comments