Expand description
Core session state shared across all lds modules.
Every module (git, recipe, sandbox) receives an Arc<Session> that
anchors operations to a single project root. Shared concerns — timeout,
output truncation, global recipe dirs — live here so modules don’t
duplicate configuration.
Modules§
Structs§
- Binary
Status - Availability status for an external binary.
- LdsState
- Top-level mutable state for the MCP server.
- Session
- Immutable session state created by
session_start. - Session
Config - Configuration passed to
Session::new. Optional fields fall back to sensible defaults (60s timeout, 100KB output limit).
Enums§
- Core
Error - Errors that can occur during session construction or access.
- Session
Error - Errors that can occur during a
Session’s post-construction lifecycle.
Functions§
- check_
binaries - Check a set of external binaries and return their availability.
- find_
in_ path - Check whether an executable is reachable via
PATH. - truncate_
output - Truncate byte output to
maxbytes, splitting into head + tail halves.