(prompt: string)
| 10 | const ATTACHED_DIR_RE = /\[Attached directory:\s*([^\]]+?)\s*\]/; |
| 11 | |
| 12 | export function extractAttachedDir(prompt: string): string | null { |
| 13 | if (!prompt) return null; |
| 14 | const m = prompt.match(ATTACHED_DIR_RE); |
| 15 | return m ? m[1]!.trim() : null; |
| 16 | } |
no outgoing calls
no test coverage detected