handleLineForTest method
Dispatches one input line through the normal pipeline. Editor-flow unit tests drive slash commands through this instead of spawning a full AgentCli.run loop.
Implementation
@visibleForTesting
Future<void> handleLineForTest(String line) => _handleLine(line);