approvalMode property

String? approvalMode
final

Approval mode label for mode (yolo, write, …). Must be the CLI label (ApprovalModeLabel.label), NOT the enum name — the autopilot highlight matches this string against kAutopilotLabel exactly; a host that feeds .name (unattended) silently renders as a plain muted mode with no highlight.

Implementation

final String? approvalMode;