- On inbound clipboard (Option A: write straight to the OS clipboard), fire a non-blocking native toast — osascript on macOS, notify-send on Linux — "Copied from <device>", mapping the source label to a friendly name. The mandatory awareness from §8 so a remote clobber is never silent. Best-effort, never blocks the sync loop. - Add an `iroh` feature (→ tethercore/iroh-transport) so the agent runs on the iroh Mesh; --server then points at the rendezvous. Both default and --features iroh builds verified. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
20 lines
542 B
TOML
20 lines
542 B
TOML
[package]
|
|
name = "tether-agent"
|
|
version = "0.1.0"
|
|
edition = "2021"
|
|
description = "Headless tether clipboard agent: shared tethercore engine + native clipboard (arboard). Runs on macOS, Linux, Windows."
|
|
|
|
[[bin]]
|
|
name = "tether-agent"
|
|
path = "src/main.rs"
|
|
|
|
[dependencies]
|
|
tethercore = { path = "../core" }
|
|
arboard = "3"
|
|
|
|
[features]
|
|
default = []
|
|
# Build the agent on the iroh Mesh: `cargo build --features iroh`. Forwards to
|
|
# tethercore's iroh-transport, so the agent's --server becomes the rendezvous URL.
|
|
iroh = ["tethercore/iroh-transport"]
|