agentMarker method
A marker that also reports the preceding command's exit code (used when the
AI agent runs a command in the interactive session). POSIX and PowerShell
carry the exit code; cmd falls back to fullMarker, so its exit code is
unknown.
Implementation
@override
String agentMarker(CwdMarker marker) => marker.agentCommand;