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). Only POSIX carries the exit code; other families fall back to fullMarker (the agent's session-execution path is POSIX-only).
Implementation
@override
String agentMarker(CwdMarker marker) => marker.agentCommand;