Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions src/claude_agent_sdk/types.py
Original file line number Diff line number Diff line change
Expand Up @@ -783,16 +783,24 @@ class SandboxNetworkConfig(TypedDict, total=False):
"""Network configuration for sandbox.

Attributes:
allowedDomains: Domain names that sandboxed processes can access.
deniedDomains: Domains that are always blocked, even if matched by allowedDomains.
allowManagedDomainsOnly: When true in managed settings, only managed-settings allowedDomains are respected.
allowUnixSockets: Unix socket paths accessible in sandbox (e.g., SSH agents).
allowAllUnixSockets: Allow all Unix sockets (less secure).
allowLocalBinding: Allow binding to localhost ports (macOS only).
allowMachLookup: macOS only: XPC/Mach service names to allow (supports trailing wildcard).
httpProxyPort: HTTP proxy port if bringing your own proxy.
socksProxyPort: SOCKS5 proxy port if bringing your own proxy.
"""

allowedDomains: list[str]
deniedDomains: list[str]
allowManagedDomainsOnly: bool
allowUnixSockets: list[str]
allowAllUnixSockets: bool
allowLocalBinding: bool
allowMachLookup: list[str]
httpProxyPort: int
socksProxyPort: int

Expand Down
Loading