Directories
¶
| Path | Synopsis |
|---|---|
|
cmd
|
|
|
clipbeam
command
Command clipbeam is the CLI-first, cross-platform beam tool: it beams files, screenshots, clipboard content, and agent messages from a laptop into a headless Linux box you are already SSH'd into, landing each payload on the box's disk and surfacing its absolute path so a remote coding agent can Read it.
|
Command clipbeam is the CLI-first, cross-platform beam tool: it beams files, screenshots, clipboard content, and agent messages from a laptop into a headless Linux box you are already SSH'd into, landing each payload on the box's disk and surfacing its absolute path so a remote coding agent can Read it. |
|
clipbeam/cli
Package cli is the cobra command layer (PLAN §8): the root command, the single deterministic exit-code table, global output flags, and a stub subcommand for every verb.
|
Package cli is the cobra command layer (PLAN §8): the root command, the single deterministic exit-code table, global output flags, and a stub subcommand for every verb. |
|
internal
|
|
|
auth
Package auth provides the hand-rolled constant-time token compare and the CSPRNG shared-token generator.
|
Package auth provides the hand-rolled constant-time token compare and the CSPRNG shared-token generator. |
|
classify
Package classify ports the source-IP classifier verbatim from Swift Server.swift (PLAN §3.3, §6.2).
|
Package classify ports the source-IP classifier verbatim from Swift Server.swift (PLAN §3.3, §6.2). |
|
config
Package config owns the per-OS file layout (PLAN §4 — the single table every other module defers to), the Config struct, config read/write (with the macOS no-write rule §4.1a), the token-storage interface (§6.4), and the alias store (§4.3/§5.6).
|
Package config owns the per-OS file layout (PLAN §4 — the single table every other module defers to), the Config struct, config read/write (with the macOS no-write rule §4.1a), the token-storage interface (§6.4), and the alias store (§4.3/§5.6). |
|
httpd
Package httpd is the net/http receiver: a single dual-stack http.Server with the full frozen route table (PLAN §3.3), per-route source-class gating, streaming base64-JSON decode straight to disk on /clip, single-flight, the long-poll endpoints, and the byte-identical response writer.
|
Package httpd is the net/http receiver: a single dual-stack http.Server with the full frozen route table (PLAN §3.3), per-route source-class gating, streaming base64-JSON decode straight to disk on /clip, single-flight, the long-poll endpoints, and the byte-identical response writer. |
|
ingest
Package ingest is the keystone: the single save/dispatch path for every transport (PLAN §3.2).
|
Package ingest is the keystone: the single save/dispatch path for every transport (PLAN §3.2). |
|
sanitize
Package sanitize is the byte-for-behavior re-implementation of Swift safeDestinationURL (PLAN §3.9): the traversal-proof filename sanitizer, the 200-UTF-8-byte ext-preserving cap, the collision-suffix scheme, and the millisecond UTC timestamp.
|
Package sanitize is the byte-for-behavior re-implementation of Swift safeDestinationURL (PLAN §3.9): the traversal-proof filename sanitizer, the 200-UTF-8-byte ext-preserving cap, the collision-suffix scheme, and the millisecond UTC timestamp. |
|
sshx
Package sshx is the Tier-0 in-process SSH transport (PLAN §5.1, §5.4): a golang.org/x/crypto/ssh client with hand-rolled ~/.ssh/config resolution, knownhosts host-key policy (accept-new TOFU only under setup; never under data verbs), and ssh-agent discovery.
|
Package sshx is the Tier-0 in-process SSH transport (PLAN §5.1, §5.4): a golang.org/x/crypto/ssh client with hand-rolled ~/.ssh/config resolution, knownhosts host-key policy (accept-new TOFU only under setup; never under data verbs), and ssh-agent discovery. |
|
store
Package store defines the ReceiveStore boundary and its skeleton implementation: the clipboard channel (disk save / last_path / recents) and the agent channel (in-memory FIFO inbox + long-poll waiters).
|
Package store defines the ReceiveStore boundary and its skeleton implementation: the clipboard channel (disk save / last_path / recents) and the agent channel (in-memory FIFO inbox + long-poll waiters). |
|
tailscale
Package tailscale is the Tier-1 discovery layer (PLAN §5.2): it shells `tailscale status --json` via PATH-based binary discovery (NOT the macOS-only Homebrew hardcode the Swift app used) and parses Self/Peer with TOTAL TOLERANCE — returning [] on missing-binary / non-zero exit / empty data / JSON shape drift, every field optional-defaulted, NEVER panicking on drift across Tailscale versions.
|
Package tailscale is the Tier-1 discovery layer (PLAN §5.2): it shells `tailscale status --json` via PATH-based binary discovery (NOT the macOS-only Homebrew hardcode the Swift app used) and parses Self/Peer with TOTAL TOLERANCE — returning [] on missing-binary / non-zero exit / empty data / JSON shape drift, every field optional-defaulted, NEVER panicking on drift across Tailscale versions. |
|
wire
Package wire defines ClipBeam's FROZEN Envelope v1 over-the-wire JSON shapes plus the byte-ceiling math.
|
Package wire defines ClipBeam's FROZEN Envelope v1 over-the-wire JSON shapes plus the byte-ceiling math. |
Click to show internal directories.
Click to hide internal directories.
