Expand description
Sync layer — writer (long-lived WS) and reader (short-lived REST backfill). Lockfile coordinates at most one writer per machine.
Re-exports§
pub use backlog_flusher::enqueue_local;pub use backlog_flusher::flush_once;pub use backlog_flusher::format_rfc3339_millis;pub use backlog_flusher::FlushError;pub use backlog_flusher::FlushGate;pub use backlog_flusher::FlushGuard;pub use backlog_flusher::FlushReport;pub use backlog_flusher::MAX_UNSYNCED;pub use local_pusher::IngestError;pub use local_pusher::LocalPusher;pub use local_pusher::PushOutcome;pub use lockfile::LockKind;pub use lockfile::Lockfile;pub use reader::backfill_once;pub use reader::BackfillBudget;pub use reader::BackfillError;pub use writer::OnConnectedCallback;pub use writer::OnNewClipCallback;pub use writer::Writer;
Modules§
- backlog_
flusher - Local-clip backlog: enqueue offline-captured clips, flush them on (re)connect in chronological order. See docs/superpowers/specs/2026-05-20-clipboard-backlog-flush-design.md.
- local_
pusher - Local-clip ingest path.
- lockfile
- map
- reader
- writer
- Long-lived WS-driven sync writer.