IFClite TypeScript API
    Preparing search index...

    Function capabilitiesToPermissions

    • Derive sandbox permissions from a granted capability set.

      Every flag defaults to false unless at least one capability in the set unlocks it. Anything not gated by a SandboxPermissions flag (storage, network, command, ui) is the caller's responsibility — the runtime handles those via the ctx object, not the sandbox.

      Parameters

      Returns Required<SandboxPermissionsLike>