mirror of
https://github.com/coleam00/Archon.git
synced 2025-12-24 18:59:24 -05:00
Enhanced both list_items() and _transform_source_to_item() methods: - Trim whitespace from original_url and treat empty/whitespace-only strings as None - Compute display_url before deriving source_type for consistency - Base source_type determination on final display_url (not raw original_url) - Ensures file:// schemes and other URL types are detected correctly - Prevents whitespace-only original_url from being used - Handles None/empty original_url gracefully during trimming This ensures consistent source_type classification and prevents whitespace issues from causing incorrect URL display. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>