getTranscriptPathForSession method

String getTranscriptPathForSession(
  1. String sessionId
)

Get the transcript path for a specific session.

Implementation

String getTranscriptPathForSession(String sessionId) {
  if (sessionId == _sessionId) return transcriptPath;
  final projectDir = getProjectDir(cwd);
  return p.join(projectDir, '$sessionId.jsonl');
}