1pub mod api_types;
7pub mod client_events;
8mod cli;
9pub mod copy_into_dir;
10pub mod data_paths;
11pub mod errors;
12pub mod event_log;
13pub mod install_presence;
14pub mod ipc;
15pub mod jekt_sign;
16pub mod layout_types;
17pub mod log_retention;
18pub mod login_pty;
19pub mod pagefile;
20pub mod platform_name;
21pub mod allowed_origins;
22pub mod popup_rules;
23pub mod process;
24pub mod redact;
25pub mod runtime_mode;
26pub mod secret_eq;
27pub mod shell_quote;
28pub mod slug;
29pub mod srv_stderr;
30pub mod time;
31pub mod toolchain_path;
32pub mod transcript_request;
33pub mod win32;
34#[cfg(target_os = "linux")]
35pub mod xauthority;
36
37pub use cli::{make_cli_cmd, resolve_cli_spawn_target};
38pub use data_paths::{
39 ensure_history_link, isolated_auth_enabled, isolated_auth_reason,
40 isolated_muxbus_reconnect_enabled, isolated_muxbus_reconnect_reason, isolated_settings_enabled,
41 isolated_settings_reason, DataPaths, IsolatedAuthReason, IsolatedMuxbusReconnectReason,
42 IsolatedSettingsReason,
43};
44pub use errors::{AgentMuxError, AmxCode};
45pub use layout_types::{
46 FlexDirection, LayoutClientSlices, LayoutNode, LayoutNodeData, ResizeOp, SplitPosition,
47 StackMovePosition,
48};
49pub use runtime_mode::{is_dev_build_exe, is_dev_self, RuntimeMode};
50#[cfg(unix)]
51pub use toolchain_path::refresh_login_path_cache;
52pub use toolchain_path::{
53 enrich_current_process_path, enrich_current_process_path_cached, looks_like_launchd_default,
54 resolve_login_path, EnrichOutcome, EnrichedPath, PathSource,
55};
56
57pub const AUTH_KEY_HEADER: &str = "X-AuthKey";
64
65#[cfg(test)]
73pub(crate) static TEST_ENV_LOCK: std::sync::Mutex<()> = std::sync::Mutex::new(());