Expand description
Host-process adapters for Merry’s provider-neutral process contract.
merry_runtime owns process intent, admission, permission requests, and
execution evidence. This crate owns the host-facing runner selection and
binds the runners used by one runtime owner to one ProcessSession. A
platform can replace the concrete backend without changing coding
composition or runtime call sites.
Structs§
- Browser
Process Spawner - Spawns private headless browser child processes according to the owning process session’s live sandbox mode, protected private paths, and environment isolation policy.
- Browser
Sandbox Profile - Dedicated OS sandbox profile for launching a session-scoped headless browser
under desktop
--sandbox workspace. - Callback
Background Supervisor - Rust-owned background process supervisor for
CallbackProcessRunner. - Callback
Process Output - Terminal output reported by a
CallbackProcessExecutor. - Callback
Process Request - Validated process action forwarded to a
CallbackProcessExecutor. - Callback
Process Responder - Completion and live-output handle passed to
CallbackProcessExecutor::start. - Callback
Process Runner - Adapts a
CallbackProcessExecutorinto Merry’sProcessRunnerandBackgroundProcessControlcontracts. - GpgAgent
Sockets - Validated GnuPG home and socket paths, discovered without starting an agent.
- Host
Path Metadata - Inspected metadata or equivalent evidence supplied by a host probe.
- Live
Process Backend - Local
Process Backend - Current local host-process backend.
- Prepared
Live Replace - Validated, uncommitted live backend replacement produced by
LiveProcessBackend::prepare_replace. - Process
Backend Options - Inputs shared by local process backend implementations.
- Process
EnvIsolation - Domain-agnostic environment-variable isolation policy enforced by
merry-processacross both isolated and host process runners. - Process
Session - One process execution boundary used by a runtime instance.
- Process
Session Permissions - Capability state owned by a single runtime session, never a global store.
- Process
Session Request - Request options for deriving a scoped
ProcessSessionfrom aProcessBackend. - Tokio
Process Runner - Host-process runner backed by
tokio::process::Command. - Unrestricted
Permissioned Process Runner Factory - Permissioned runner factory for the explicit unrestricted host backend.
- Workspace
Process Environment - Host-derived paths used to construct one action sandbox.
- Workspace
Process Runner - Host-process runner that confines each process action.
- Workspace
Process Runner Factory - Builds a workspace runner from an approved permission request.
Enums§
- Callback
Process Terminal Status - Terminal completion status reported by a
CallbackProcessExecutor. - Host
Path Kind - A host filesystem object’s relevant client-integration shape.
- Process
Backend Error - Errors raised while selecting or constructing a host-process backend.
- Process
Backend Mode - Semantic process backend behavior requested by an application surface.
- Session
Grant Clear Policy - Process backend whose active mode and sandbox options can be swapped live while keeping the parent session’s background process supervisor and live-updatable permission view intact.
Constants§
- DEFAULT_
REMOVED_ ENV_ PREFIX - Default environment-variable prefix stripped from all child process actions so Merry’s own configuration and provider credentials never leak into workspace commands.
Traits§
- Callback
Process Executor - Host callback interface for executing validated process actions asynchronously.
- Process
Backend - Stable host-process backend boundary consumed by coding composition.
Functions§
- action_
process_ path - PATH value that Merry passes to sandboxed action commands.
- default_
development_ path_ rules - Paths ordinary local development commands can use without another grant.
- default_
development_ path_ rules_ with_ env - Pure testable variant of
default_development_path_rules. - probe_
workspace_ sandbox - Checks that the kernel sandbox used for workspace mode can be created.
- resolve_
host_ path - Resolves a host path through the last existing prefix.
- sandbox_
helper_ main - Applies the policy named by
POLICY_ENVand executes the command. - sandbox_
helper_ requested - Reports whether this process was spawned as the sandbox helper.
- ssh_
known_ hosts - Conventional public SSH host databases supplied by the SSH-agent integration. This never includes SSH configuration or private identity files.