cursorflow 2.7.4__py3-none-any.whl → 2.7.5__py3-none-any.whl
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.
- cursorflow/core/query_engine.py +17 -4
- {cursorflow-2.7.4.dist-info → cursorflow-2.7.5.dist-info}/METADATA +1 -1
- {cursorflow-2.7.4.dist-info → cursorflow-2.7.5.dist-info}/RECORD +7 -7
- {cursorflow-2.7.4.dist-info → cursorflow-2.7.5.dist-info}/WHEEL +0 -0
- {cursorflow-2.7.4.dist-info → cursorflow-2.7.5.dist-info}/entry_points.txt +0 -0
- {cursorflow-2.7.4.dist-info → cursorflow-2.7.5.dist-info}/licenses/LICENSE +0 -0
- {cursorflow-2.7.4.dist-info → cursorflow-2.7.5.dist-info}/top_level.txt +0 -0
cursorflow/core/query_engine.py
CHANGED
@@ -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 (
|
429
|
-
|
430
|
-
selector
|
431
|
-
|
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
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.4
|
2
2
|
Name: cursorflow
|
3
|
-
Version: 2.7.
|
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
|
@@ -26,7 +26,7 @@ cursorflow/core/log_monitor.py,sha256=pONMu_JHEnT0T62OA5KRZ4nClzKgNpifPyrfN5w_RM
|
|
26
26
|
cursorflow/core/mockup_comparator.py,sha256=ttcXdueZz9dwcUGBQ2sft4i66zRdkZkFPu41s6JlEwU,63472
|
27
27
|
cursorflow/core/output_manager.py,sha256=PT73Awq4htYVwbBN3EadXGvuy3Wreip0Y35sCg7Pz5s,28013
|
28
28
|
cursorflow/core/persistent_session.py,sha256=FsEHj4wKkycmdp6PFRHv3g333Y74yqra0x_qhUTQpik,36075
|
29
|
-
cursorflow/core/query_engine.py,sha256=
|
29
|
+
cursorflow/core/query_engine.py,sha256=LD5j7aEFdXQSjp035DLs57odz3ne6P-fXdFO6sGTM18,54632
|
30
30
|
cursorflow/core/report_generator.py,sha256=-vosfyrnfVyWDbAIMlMurl90xOXqBae8d6aLd9sEqiY,10113
|
31
31
|
cursorflow/core/trace_manager.py,sha256=Jj9ultZrL1atiZXfcRVI6ynCnnfqZM-X0_taxt-llJ0,7189
|
32
32
|
cursorflow/log_sources/local_file.py,sha256=GVnhsaifIdc41twXwbxRM9-fBeRDsknDpk5IEGulnhQ,8318
|
@@ -34,9 +34,9 @@ cursorflow/log_sources/ssh_remote.py,sha256=_Kwh0bhRpKgq-0c98oaX2hN6h9cT-wCHlqY5
|
|
34
34
|
cursorflow/rules/__init__.py,sha256=gPcA-IkhXj03sl7cvZV0wwo7CtEkcyuKs4y0F5oQbqE,458
|
35
35
|
cursorflow/rules/cursorflow-installation.mdc,sha256=D55pzzDPAVVbE3gAtKPUGoT-2fvB-FI2l6yrTdzUIEo,10208
|
36
36
|
cursorflow/rules/cursorflow-usage.mdc,sha256=OYsqF1OKeGP5Bl8yR5TJ92dDXH7C3yp-SKAs9aZfBAw,34744
|
37
|
-
cursorflow-2.7.
|
38
|
-
cursorflow-2.7.
|
39
|
-
cursorflow-2.7.
|
40
|
-
cursorflow-2.7.
|
41
|
-
cursorflow-2.7.
|
42
|
-
cursorflow-2.7.
|
37
|
+
cursorflow-2.7.5.dist-info/licenses/LICENSE,sha256=e4QbjAsj3bW-xgQOvQelr8sGLYDoqc48k6cKgCr_pBU,1080
|
38
|
+
cursorflow-2.7.5.dist-info/METADATA,sha256=ri5HuuYevVi610_2WW6wFfJba8KXqTr6g1xbjw9x73w,19844
|
39
|
+
cursorflow-2.7.5.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
40
|
+
cursorflow-2.7.5.dist-info/entry_points.txt,sha256=-Ed_n4Uff7wClEtWS-Py6xmQabecB9f0QAOjX0w7ljA,51
|
41
|
+
cursorflow-2.7.5.dist-info/top_level.txt,sha256=t1UZwRyZP4u-ng2CEcNHmk_ZT4ibQxoihB2IjTF7ovc,11
|
42
|
+
cursorflow-2.7.5.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|