Skip to content

willEgressConfine

willEgressConfine(profile, backend, egressBackend): boolean

Defined in: src/sandbox.ts:543

Whether this spawn will actually run egress-confined: an autonomous profile (egressApplies) WITH both the FS sandbox backend AND the egress backend present. The single source of truth for “egress wraps this spawn” — shared by prepareSpawn (the wrap decision) and the agent base-URL decision (which control-plane address to bake) so the two can never drift.

SandboxProfile

SandboxBackend

EgressBackend

boolean