The whole hunk
from line 1543, old and new numbered
/
lines
from line 1543
15431543| `error` | [`AssistantMessageError`](#assistantmessageerror) ` \| None` | Error type if the response encountered an error |
15441544| `usage` | `dict[str, Any] \| None` | Per-message token usage (same keys as [`ResultMessage.usage`](#resultmessage)) |
15451545| `message_id` | `str \| None` | API message ID. Multiple messages from one turn share the same ID |
1546| `stop_reason` | `str \| None` | Stop reason from the API (e.g. `end_turn`, `tool_use`) |
1546| `stop_reason` | `str \| None` | Stop reason from the API (for example, `end_turn`, `tool_use`) |
15471547| `session_id` | `str \| None` | ID of the session this message belongs to |
15481548| `uuid` | `str \| None` | Unique message identifier within the session transcript |
15491549
from line 3369
33693369| `allowManagedDomainsOnly` | `bool` | `False` | Managed-settings only: when set in managed settings, ignore `allowedDomains` and `WebFetch(domain:...)` allow rules from non-managed settings sources. Has no effect when set via SDK options |
33703370| `allowUnixSockets` | `list[str]` | `[]` | macOS only: Unix socket paths that processes can access, such as the Docker socket. Ignored on Linux |
33713371| `allowAllUnixSockets` | `bool` | `False` | Allow access to all Unix sockets |
3372| `allowLocalBinding` | `bool` | `False` | Allow processes to bind to local ports (e.g., for dev servers) |
3372| `allowLocalBinding` | `bool` | `False` | Allow processes to bind to local ports (for example, for dev servers) |
33733373| `allowMachLookup` | `list[str]` | `[]` | macOS only: XPC/Mach service names to allow. Supports a trailing wildcard |
33743374| `httpProxyPort` | `int` | `None` | HTTP proxy port for network requests |
33753375| `socksProxyPort` | `int` | `None` | SOCKS proxy port for network requests |