(value)
| 3439 | } |
| 3440 | |
| 3441 | function isLocalFilePath(value) { |
| 3442 | const normalized = String(value ?? '').trim(); |
| 3443 | if (!normalized) { |
| 3444 | return false; |
| 3445 | } |
| 3446 | if (/^(?:https?:)?\/\//iu.test(normalized)) { |
| 3447 | return false; |
| 3448 | } |
| 3449 | if (/^data:/iu.test(normalized)) { |
| 3450 | return false; |
| 3451 | } |
| 3452 | return path.isAbsolute(normalized); |
| 3453 | } |
| 3454 | |
| 3455 | function extractAllAssistantVisibleText(turn) { |
| 3456 | return turn.items |
no outgoing calls
no test coverage detected