Crate agentmux_common

Crate agentmux_common 

Source
Expand description

Shared utilities for AgentMux crates.

Re-exports§

pub use data_paths::DataPaths;
pub use errors::AgentMuxError;
pub use errors::AmxCode;
pub use layout_types::FlexDirection;
pub use layout_types::LayoutNode;
pub use layout_types::LayoutNodeData;
pub use layout_types::ResizeOp;
pub use layout_types::SplitPosition;
pub use runtime_mode::is_dev_build_exe;
pub use runtime_mode::is_dev_self;
pub use runtime_mode::RuntimeMode;
pub use toolchain_path::enrich_current_process_path;
pub use toolchain_path::looks_like_launchd_default;
pub use toolchain_path::resolve_login_path;
pub use toolchain_path::EnrichedPath;
pub use toolchain_path::PathSource;

Modules§

api_types
Canonical HTTP request/response DTOs shared between agentmux-srv, agentmux-mcp, and agentmux-bashwrap. Every struct here is the single source of truth for the corresponding wire shape; the three crates all import rather than redeclare these types.
data_paths
Unified data-path resolution for AgentMux.
errors
Cross-process error catalog.
ipc
Phase B.2 IPC wire protocol — shared between agentmux-launcher (server) and agentmux-cef (client). One source of truth so the Command / Event shapes can’t drift between binaries on a version-skew release.
layout_types
Shared layout tree types used in both the srv wire protocol (ipc.rs Command/Event variants) and the srv object store (obj.rs LayoutState).
runtime_mode
Runtime mode detection — single source of truth.
toolchain_path
GUI-launch PATH enrichment.

Functions§

make_cli_cmd
Create a Command for a CLI binary.