Pluggable filesystem and process execution boundary for H tools.
Tools (read, write, edit, bash) interact exclusively through H.ExecutionEnv
rather than calling File or System.cmd directly, allowing local workspaces,
disposable test directories, and later remote/sandbox environments to share one
tool implementation and conformance suite.
Summary
Functions
Binds to an existing directory. With exact: true, rejects changes to its previously resolved canonical path.
Standardized project marker filenames used when browsing directories.
Runs a command in the bound environment. Host and Remote accept
raw_output: true to preserve bytes and spill_output: false to retain
only the bounded output window without persisting an overflow file.
Types
Callbacks
@callback exec(state :: term(), command(), opts :: keyword()) :: {:ok, exec_result()} | {:error, term()}
Functions
Binds to an existing directory. With exact: true, rejects changes to its previously resolved canonical path.
@spec default_markers() :: [String.t()]
Standardized project marker filenames used when browsing directories.
@spec exec(t(), command(), keyword()) :: {:ok, exec_result()} | {:error, term()}
Runs a command in the bound environment. Host and Remote accept
raw_output: true to preserve bytes and spill_output: false to retain
only the bounded output window without persisting an overflow file.