Expand description
Local background job state + log spooling (Phase 1 scaffold).
Goal: move background job logs from remote system temp directory / ssh-mcp subdirectory/*.log to a local-only
spool directory while keeping the public MCP tool API stable.
Phase 1 provides the core types:
JobState: per-job state (pid, local log path, exit code, status)JobRegistry: thread-safe registry for active + recently completed jobsLocalLogSpooler: localsystem temp directory / ssh-mcp subdirectorydirectory management
Re-exports§
pub use job::JobState;pub use job::JobStatus;pub use registry::JobRegistry;pub use spooler::LocalLogSpooler;pub use stream::OutputStreamer;
Modules§
Enums§
- Background
Error - Background subsystem errors.