Skip to main content

Module platform

Module platform 

Source
Expand description

Cross-platform filesystem and console helpers.

Keeps #[cfg] conditionals out of business modules. Product code uses [PathBuf] / Path only — no hardcoded / or \\ separators.

§Out of scope (agent-first network CLI)

  • Browser/Chrome path discovery (no external browser binary)
  • Windows console UTF-8 code-page bootstrap via raw Win32 (would require unsafe or a windows-only crate; product has zero unsafe in src/)
  • WASM / WASI targets (HTTP client + tokio signal surface is native OS)
  • Seccomp / landlock / Job Objects (one-shot short-lived process)