agentMarker method

  1. @override
String agentMarker(
  1. CwdMarker marker
)
override

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;