agentmux_remote/lib.rs
1// Copyright 2026, AgentMux Corp.
2// SPDX-License-Identifier: Apache-2.0
3
4//! What srv shares with the helper: the frame protocol a durable session
5//! speaks end to end, the ring its history is kept in, and the file protocol
6//! of `serve --stdio` (which also answers Tower's process frames, `procs`).
7
8pub mod frame;
9pub mod fsproto;
10pub mod procs;
11pub mod rename;
12pub mod ring;
13pub mod serve;
14
15// This test binary must hold this checkout's code, not another clone's from
16// a shared target directory (`agentmux_common::checkout`).
17#[cfg(test)]
18agentmux_common::checkout_guard!(agentmux_procstats::CHECKOUT_DIR);
19
20/// The folder this library was compiled in, for the checkout guard of the
21/// test binaries that link it (`agentmux_common::checkout_guard!`).
22#[doc(hidden)]
23pub const CHECKOUT_DIR: &str = env!("CARGO_MANIFEST_DIR");