description: "Remote file-effect confinement for compositions using SSH filesystem and subprocess providers."
English | 中文
dsh-sandbox-ssh supplies ctx.sandbox for processes launched by the SSH subprocess provider. The remote host selects its installed local sandbox backend and applies each call’s policy there. Bash and Node receive the same backend’s enforcement level, denial signatures and runner-failure classification.
Mount this provider with the shared SSH connection, SSH filesystem and SSH subprocess providers. It has no package-specific configuration. Await confine(argv, policy, signal) to resolve each policy and command through the running remote helper.
Pass a complete read-only or workspace-write policy. The workspace is interpreted and canonicalized on the remote host. Consumers bypass confine() for danger-full-access; the connection does not invent an additional local/remote policy flag.
Indirectly, through existing sandbox consumers, which report mode, denial and enforcement and own approval presentation and model arguments.
This provider contributes no request-prefix content. Its consumers own model-visible tools and results.
partial backend remains partial.