createMountedSandboxProvider
Purpose and behavior
Section titled “Purpose and behavior”Build a SandboxProvider with placement mounted from a name, variables and acquire(). Your acquire() exposes context.directory and context.gitDirectories in the environment, so the agent edits the host worktree directly. A blank name fails with code configuration.
Complete example and detailed rules.
Parameters and properties
Section titled “Parameters and properties”definitionRequiredProviderDefinitionName, optional variables and acquire() of your provider; the factory adds placement mounted.