SandboxBackend#
Run commands and agent-written programs inside an operating-system boundary. See the guide.
- class zett_agent.sandbox.factory.SandboxBackend(*values)[源代码]#
Which sandbox implementation to use.
- AUTO = 'auto'#
Pick the one for this platform.
- MACOS = 'macos'#
MacOSSandbox, built on Seatbelt.
- LINUX = 'linux'#
LinuxSandbox, built on bubblewrap.
- WINDOWS = 'windows'#
WindowsSandbox; no isolation.
- PASSTHROUGH = 'passthrough'#
No isolation, on a platform that has no sandbox of its own; see
PassthroughSandbox.