bundled_bwrap#

Run commands and agent-written programs inside an operating-system boundary. See the guide.

zett_agent.sandbox.binaries.bundled_bwrap(machine=None, *, platform_name=None)[源代码]#

Return the bubblewrap shipped for this Linux machine, or None when there is none.

参数:
  • machine (str | None) -- platform.machine() value to resolve; this machine's by default.

  • platform_name (str | None) -- sys.platform value to check; this machine's by default. Both exist so a test can ask what another platform would get.

返回类型:

Path | None

Only Linux consults the bundle, and only an architecture with a build gets one.