(source: string)
| 123 | } |
| 124 | |
| 125 | function looksLikeTranscriptPath(source: string): boolean { |
| 126 | return ( |
| 127 | source.includes('/') || |
| 128 | source.includes('\\') || |
| 129 | source.startsWith('.') || |
| 130 | source.startsWith('~') || |
| 131 | /\.jsonl?$/i.test(source) |
| 132 | ) |
| 133 | } |
| 134 | |
| 135 | async function loadConversationLogs(): Promise<LogOption[]> { |
| 136 | if (!findGitRoot(getCwd())) { |