(filePath)
| 58 | // Linux Clipboard Utilities |
| 59 | // ============================================================ |
| 60 | function toClaudeAtPath(filePath) { |
| 61 | const normalized = path.normalize(String(filePath || '')); |
| 62 | const rel = path.relative(state.CWD, normalized); |
| 63 | const inProject = rel && !rel.startsWith('..') && !path.isAbsolute(rel); |
| 64 | const target = inProject ? rel : normalized; |
| 65 | return target.split(path.sep).join('/'); |
| 66 | } |
| 67 | |
| 68 | function buildLinuxImagePrompt(text, tmpFile) { |
| 69 | const trimmedText = String(text || '').trim(); |
no outgoing calls
no test coverage detected