(threadFiles)
| 10 | } |
| 11 | |
| 12 | export const shouldAutoOpenAgentPanel = (threadFiles) => { |
| 13 | if (!Array.isArray(threadFiles) || threadFiles.length === 0) return false |
| 14 | |
| 15 | return threadFiles.some((item) => item?.is_dir !== true && isTrackedPanelFilePath(item?.path)) |
| 16 | } |
| 17 | |
| 18 | export { USER_DATA_OUTPUTS_PREFIX, USER_DATA_UPLOADS_PREFIX } |
nothing calls this directly
no test coverage detected