(path)
| 2 | const USER_DATA_OUTPUTS_PREFIX = '/home/gem/user-data/outputs/' |
| 3 | |
| 4 | const isTrackedPanelFilePath = (path) => { |
| 5 | const normalizedPath = String(path || '') |
| 6 | return ( |
| 7 | normalizedPath.startsWith(USER_DATA_UPLOADS_PREFIX) || |
| 8 | normalizedPath.startsWith(USER_DATA_OUTPUTS_PREFIX) |
| 9 | ) |
| 10 | } |
| 11 | |
| 12 | export const shouldAutoOpenAgentPanel = (threadFiles) => { |
| 13 | if (!Array.isArray(threadFiles) || threadFiles.length === 0) return false |
no outgoing calls
no test coverage detected