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§

GpgAgentSockets
Validated GnuPG home and socket paths, discovered without starting an agent.
HostPathMetadata
Inspected metadata or equivalent evidence supplied by a host probe.
LocalProcessBackend
Current local host-process backend.
ProcessBackendOptions
Inputs shared by local process backend implementations.
ProcessSession
One process execution boundary used by a runtime instance.
ProcessSessionPermissions
Capability state owned by a single runtime session, never a global store. Network, explicitly reviewed paths, and protected metadata remain action-only.
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 host-process 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§

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.

Traits§

ProcessBackend
Stable host-process backend boundary consumed by coding composition.

Functions§

action_process_path
PATH value that Merry passes to sandboxed action commands.
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.