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.