mirror of
https://github.com/openclaw/openclaw.git
synced 2026-03-19 05:50:47 +00:00
17 lines
416 B
TypeScript
17 lines
416 B
TypeScript
import {
|
|
createRemoteShellSandboxFsBridge,
|
|
type RemoteShellSandboxHandle,
|
|
type SandboxContext,
|
|
type SandboxFsBridge,
|
|
} from "openclaw/plugin-sdk/sandbox";
|
|
|
|
export function createOpenShellRemoteFsBridge(params: {
|
|
sandbox: SandboxContext;
|
|
backend: RemoteShellSandboxHandle;
|
|
}): SandboxFsBridge {
|
|
return createRemoteShellSandboxFsBridge({
|
|
sandbox: params.sandbox,
|
|
runtime: params.backend,
|
|
});
|
|
}
|