Skip to main content

Crate merry_process

Crate merry_process 

Source
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§

BrowserProcessSpawner
Spawns private headless browser child processes according to the owning process session’s live sandbox mode, protected private paths, and environment isolation policy.
BrowserSandboxProfile
Dedicated OS sandbox profile for launching a session-scoped headless browser under desktop --sandbox workspace.
CallbackBackgroundSupervisor
Rust-owned background process supervisor for CallbackProcessRunner.
CallbackProcessOutput
Terminal output reported by a CallbackProcessExecutor.
CallbackProcessRequest
Validated process action forwarded to a CallbackProcessExecutor.
CallbackProcessResponder
Completion and live-output handle passed to CallbackProcessExecutor::start.
CallbackProcessRunner
Adapts a CallbackProcessExecutor into Merry’s ProcessRunner and BackgroundProcessControl contracts.
GpgAgentSockets
Validated GnuPG home and socket paths, discovered without starting an agent.
HostPathMetadata
Inspected metadata or equivalent evidence supplied by a host probe.
LiveProcessBackend
LocalProcessBackend
Current local host-process backend.
PreparedLiveReplace
Validated, uncommitted live backend replacement produced by LiveProcessBackend::prepare_replace.
ProcessBackendOptions
Inputs shared by local process backend implementations.
ProcessEnvIsolation
Domain-agnostic environment-variable isolation policy enforced by merry-process across both isolated and host process runners.
ProcessSession
One process execution boundary used by a runtime instance.
ProcessSessionPermissions
Capability state owned by a single runtime session, never a global store.
ProcessSessionRequest
Request options for deriving a scoped ProcessSession from a ProcessBackend.
TokioProcessRunner
Host-process runner backed by tokio::process::Command.
UnrestrictedPermissionedProcessRunnerFactory
Permissioned runner factory for the explicit unrestricted host backend.
WorkspaceProcessEnvironment
Host-derived paths used to construct one action sandbox.
WorkspaceProcessRunner
Host-process runner that confines each process action.
WorkspaceProcessRunnerFactory
Builds a workspace runner from an approved permission request.

Enums§

CallbackProcessTerminalStatus
Terminal completion status reported by a CallbackProcessExecutor.
HostPathKind
A host filesystem object’s relevant client-integration shape.
ProcessBackendError
Errors raised while selecting or constructing a host-process backend.
ProcessBackendMode
Semantic process backend behavior requested by an application surface.
SessionGrantClearPolicy
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§

CallbackProcessExecutor
Host callback interface for executing validated process actions asynchronously.
ProcessBackend
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_ENV and 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.