cursorflow 2.7.3__tar.gz → 2.7.5__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (55) hide show
  1. {cursorflow-2.7.3 → cursorflow-2.7.5}/PKG-INFO +1 -1
  2. {cursorflow-2.7.3 → cursorflow-2.7.5}/cursorflow/core/query_engine.py +17 -4
  3. {cursorflow-2.7.3 → cursorflow-2.7.5}/pyproject.toml +1 -1
  4. {cursorflow-2.7.3 → cursorflow-2.7.5}/LICENSE +0 -0
  5. {cursorflow-2.7.3 → cursorflow-2.7.5}/MANIFEST.in +0 -0
  6. {cursorflow-2.7.3 → cursorflow-2.7.5}/README.md +0 -0
  7. {cursorflow-2.7.3 → cursorflow-2.7.5}/cursorflow/__init__.py +0 -0
  8. {cursorflow-2.7.3 → cursorflow-2.7.5}/cursorflow/auto_init.py +0 -0
  9. {cursorflow-2.7.3 → cursorflow-2.7.5}/cursorflow/auto_updater.py +0 -0
  10. {cursorflow-2.7.3 → cursorflow-2.7.5}/cursorflow/cli.py +0 -0
  11. {cursorflow-2.7.3 → cursorflow-2.7.5}/cursorflow/core/action_validator.py +0 -0
  12. {cursorflow-2.7.3 → cursorflow-2.7.5}/cursorflow/core/agent.py +0 -0
  13. {cursorflow-2.7.3 → cursorflow-2.7.5}/cursorflow/core/auth_handler.py +0 -0
  14. {cursorflow-2.7.3 → cursorflow-2.7.5}/cursorflow/core/browser_controller.py +0 -0
  15. {cursorflow-2.7.3 → cursorflow-2.7.5}/cursorflow/core/browser_engine.py +0 -0
  16. {cursorflow-2.7.3 → cursorflow-2.7.5}/cursorflow/core/config_validator.py +0 -0
  17. {cursorflow-2.7.3 → cursorflow-2.7.5}/cursorflow/core/css_iterator.py +0 -0
  18. {cursorflow-2.7.3 → cursorflow-2.7.5}/cursorflow/core/cursor_integration.py +0 -0
  19. {cursorflow-2.7.3 → cursorflow-2.7.5}/cursorflow/core/cursorflow.py +0 -0
  20. {cursorflow-2.7.3 → cursorflow-2.7.5}/cursorflow/core/data_presenter.py +0 -0
  21. {cursorflow-2.7.3 → cursorflow-2.7.5}/cursorflow/core/error_context_collector.py +0 -0
  22. {cursorflow-2.7.3 → cursorflow-2.7.5}/cursorflow/core/error_correlator.py +0 -0
  23. {cursorflow-2.7.3 → cursorflow-2.7.5}/cursorflow/core/event_correlator.py +0 -0
  24. {cursorflow-2.7.3 → cursorflow-2.7.5}/cursorflow/core/file_change_monitor.py +0 -0
  25. {cursorflow-2.7.3 → cursorflow-2.7.5}/cursorflow/core/hmr_detector.py +0 -0
  26. {cursorflow-2.7.3 → cursorflow-2.7.5}/cursorflow/core/json_utils.py +0 -0
  27. {cursorflow-2.7.3 → cursorflow-2.7.5}/cursorflow/core/log_collector.py +0 -0
  28. {cursorflow-2.7.3 → cursorflow-2.7.5}/cursorflow/core/log_monitor.py +0 -0
  29. {cursorflow-2.7.3 → cursorflow-2.7.5}/cursorflow/core/mockup_comparator.py +0 -0
  30. {cursorflow-2.7.3 → cursorflow-2.7.5}/cursorflow/core/output_manager.py +0 -0
  31. {cursorflow-2.7.3 → cursorflow-2.7.5}/cursorflow/core/persistent_session.py +0 -0
  32. {cursorflow-2.7.3 → cursorflow-2.7.5}/cursorflow/core/report_generator.py +0 -0
  33. {cursorflow-2.7.3 → cursorflow-2.7.5}/cursorflow/core/trace_manager.py +0 -0
  34. {cursorflow-2.7.3 → cursorflow-2.7.5}/cursorflow/install_cursorflow_rules.py +0 -0
  35. {cursorflow-2.7.3 → cursorflow-2.7.5}/cursorflow/log_sources/local_file.py +0 -0
  36. {cursorflow-2.7.3 → cursorflow-2.7.5}/cursorflow/log_sources/ssh_remote.py +0 -0
  37. {cursorflow-2.7.3 → cursorflow-2.7.5}/cursorflow/post_install.py +0 -0
  38. {cursorflow-2.7.3 → cursorflow-2.7.5}/cursorflow/rules/__init__.py +0 -0
  39. {cursorflow-2.7.3 → cursorflow-2.7.5}/cursorflow/rules/cursorflow-installation.mdc +0 -0
  40. {cursorflow-2.7.3 → cursorflow-2.7.5}/cursorflow/rules/cursorflow-usage.mdc +0 -0
  41. {cursorflow-2.7.3 → cursorflow-2.7.5}/cursorflow/updater.py +0 -0
  42. {cursorflow-2.7.3 → cursorflow-2.7.5}/cursorflow.egg-info/SOURCES.txt +0 -0
  43. {cursorflow-2.7.3 → cursorflow-2.7.5}/docs/user/USAGE_GUIDE.md +0 -0
  44. {cursorflow-2.7.3 → cursorflow-2.7.5}/examples/comprehensive_screenshot_example.py +0 -0
  45. {cursorflow-2.7.3 → cursorflow-2.7.5}/examples/element_inspection_example.py +0 -0
  46. {cursorflow-2.7.3 → cursorflow-2.7.5}/examples/element_measurement_example.py +0 -0
  47. {cursorflow-2.7.3 → cursorflow-2.7.5}/examples/enhanced_screenshot_example.py +0 -0
  48. {cursorflow-2.7.3 → cursorflow-2.7.5}/examples/hot_reload_css_iteration.py +0 -0
  49. {cursorflow-2.7.3 → cursorflow-2.7.5}/examples/mockup_comparison_example.py +0 -0
  50. {cursorflow-2.7.3 → cursorflow-2.7.5}/examples/opensas_example.py +0 -0
  51. {cursorflow-2.7.3 → cursorflow-2.7.5}/examples/react_example.py +0 -0
  52. {cursorflow-2.7.3 → cursorflow-2.7.5}/examples/responsive_testing_example.py +0 -0
  53. {cursorflow-2.7.3 → cursorflow-2.7.5}/examples/v2_comprehensive_demo.py +0 -0
  54. {cursorflow-2.7.3 → cursorflow-2.7.5}/setup.cfg +0 -0
  55. {cursorflow-2.7.3 → cursorflow-2.7.5}/setup.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: cursorflow
3
- Version: 2.7.3
3
+ Version: 2.7.5
4
4
  Summary: 🔥 Complete page intelligence for AI-driven development with Hot Reload Intelligence - captures DOM, network, console, performance, HMR events, and comprehensive page analysis
5
5
  Author-email: GeekWarrior Development <rbush@cooltheory.com>
6
6
  License-Expression: MIT
@@ -423,12 +423,25 @@ class QueryEngine:
423
423
  # Filter by selector (improved matching)
424
424
  if 'selector' in filters or 'select' in filters:
425
425
  selector = filters.get('selector') or filters.get('select')
426
+ # Remove leading dot if present (e.g., ".class" -> "class")
427
+ selector_clean = selector.lstrip('.')
428
+
426
429
  filtered_elements = [
427
430
  el for el in filtered_elements
428
- if (selector in el.get('uniqueSelector', '') or
429
- selector in el.get('tagName', '') or
430
- selector == el.get('id', '') or
431
- selector in el.get('classes', []))
431
+ if (
432
+ # Check nested uniqueSelector
433
+ (selector in el.get('selectors', {}).get('uniqueSelector', '')) or
434
+ # Check top-level uniqueSelector (old format)
435
+ (selector in el.get('uniqueSelector', '')) or
436
+ # Check tagName
437
+ (selector in el.get('tagName', '')) or
438
+ # Check ID
439
+ (selector == el.get('id', '')) or
440
+ # Check className string
441
+ (el.get('className') and selector_clean in el.get('className', '')) or
442
+ # Check classes array (old format)
443
+ (selector_clean in el.get('classes', []))
444
+ )
432
445
  ]
433
446
 
434
447
  # Filter by attributes
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "cursorflow"
7
- version = "2.7.3"
7
+ version = "2.7.5"
8
8
  description = "🔥 Complete page intelligence for AI-driven development with Hot Reload Intelligence - captures DOM, network, console, performance, HMR events, and comprehensive page analysis"
9
9
  authors = [
10
10
  {name = "GeekWarrior Development", email = "rbush@cooltheory.com"}
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes