agentMode property
The resolved harness mode (issue #679, pi_mode.dart): 'pi' or
null (default). Resolved by the executable — flag > env > config —
and consumed by the wiring: the pi runtime tools scope pins the
surface to read/write/edit/bash and the prompt composition strips
every optional section.
Implementation
final String? agentMode;