fix(attach): report resolved agent name in empty-transcript warning
main·
Commit

The empty-transcript warning printed the raw --agent flag value, but the transcript is parsed from the agent resolved in resolveAgentAndTranscript, which can come from existing session state or auto-detection. When the agent was auto-detected or read from state, the warning pointed the user at the wrong --agent value. Report ag.Name() (the resolved agent's flag-form name) instead.
Co-Authored-By: Claude Opus 4.8 noreply@anthropic.com Entire-Checkpoint: 00116e978416
Checkpoints
Checkpoint 1