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.
Parameters
Section titled “Parameters”profile
Section titled “profile”backend
Section titled “backend”egressBackend
Section titled “egressBackend”Returns
Section titled “Returns”boolean