(value)
| 3806 | } |
| 3807 | |
| 3808 | function isLocalFilePath(value) { |
| 3809 | const normalized = String(value ?? '').trim(); |
| 3810 | if (!normalized) { |
| 3811 | return false; |
| 3812 | } |
| 3813 | if (/^(?:https?:)?\/\//iu.test(normalized)) { |
| 3814 | return false; |
| 3815 | } |
| 3816 | if (/^data:/iu.test(normalized)) { |
| 3817 | return false; |
| 3818 | } |
| 3819 | return path.isAbsolute(normalized); |
| 3820 | } |
| 3821 | |
| 3822 | function extractAllAssistantVisibleText(turn) { |
| 3823 | return turn.items |
no outgoing calls
no test coverage detected