merry 0.1.4

Rust SDK facade for the Merry coding agent runtime (CLI available as `merry-cli`).
Documentation
//! Host-process execution backend and workspace sandbox entrypoints.

pub use merry_process::{
    CallbackBackgroundSupervisor, CallbackProcessExecutor, CallbackProcessOutput,
    CallbackProcessRequest, CallbackProcessResponder, CallbackProcessRunner,
    CallbackProcessTerminalStatus, DEFAULT_REMOVED_ENV_PREFIX, GpgAgentSockets, LiveProcessBackend,
    LocalProcessBackend, PreparedLiveReplace, ProcessBackend, ProcessBackendError,
    ProcessBackendMode, ProcessBackendOptions, ProcessEnvIsolation, ProcessSession,
    SessionGrantClearPolicy, default_development_path_rules,
    default_development_path_rules_with_env, probe_workspace_sandbox,
};
pub use merry_runtime::{
    AcceptedLocalWorkspaceProcessAdmission, BackgroundProcessControl, BackgroundProcessId,
    BackgroundProcessLookupError, BackgroundProcessOutput, BackgroundProcessState,
    BackgroundProcessStop, BackgroundProcessSummary, LocalWorkspaceProcessSandboxProfile,
    PermissionedProcessRunnerFactory, ProcessActionIntent, ProcessEnvPolicy, ProcessExitStatus,
    ProcessOutputChunk, ProcessOutputEnvelope, ProcessOutputSink, ProcessOutputStream,
    ProcessRunner, ProcessRunnerContext, ProcessRunnerError, ProcessRunnerFuture,
    ProcessRunnerOutput, StaticPermissionedProcessRunnerFactory, shell_command_for_argv,
};

/// Runs the internal sandbox helper and exits if the current process was
/// spawned in helper mode.
///
/// Applications that run isolated local process actions should invoke this at
/// the start of `main` before parsing arguments or starting an async runtime.
pub fn maybe_run_sandbox_helper() {
    if merry_process::sandbox_helper_requested() {
        merry_process::sandbox_helper_main();
    }
}