From a57b97285c3308fbdcc167ab3da9ae1dd78767b6 Mon Sep 17 00:00:00 2001 From: Ogulcan Celik Date: Mon, 23 Mar 2026 00:36:52 +0300 Subject: initial release terminal workspace manager for AI coding agents. single rust binary, runs inside your existing terminal. workspaces, tiled panes, intelligent agent state detection. https://herdr.dev --- src/platform/mod.rs | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 src/platform/mod.rs (limited to 'src/platform/mod.rs') diff --git a/src/platform/mod.rs b/src/platform/mod.rs new file mode 100644 index 00000000..df8869c7 --- /dev/null +++ b/src/platform/mod.rs @@ -0,0 +1,19 @@ +//! Platform-specific process and filesystem operations. +//! +//! Centralizes OS-dependent behavior behind a clean boundary so core +//! modules don't scatter `#[cfg]` branches through product logic. + +#[cfg(target_os = "linux")] +mod linux; +#[cfg(target_os = "linux")] +pub use linux::*; + +#[cfg(target_os = "macos")] +mod macos; +#[cfg(target_os = "macos")] +pub use macos::*; + +#[cfg(not(any(target_os = "linux", target_os = "macos")))] +mod fallback; +#[cfg(not(any(target_os = "linux", target_os = "macos")))] +pub use fallback::*; -- cgit v1.2.3