cursorflow 2.1.0__py3-none-any.whl → 2.1.2__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/__init__.py +1 -1
- cursorflow/cli.py +2 -1
- cursorflow/core/browser_controller.py +8 -3
- cursorflow/install_cursorflow_rules.py +4 -4
- {cursorflow-2.1.0.dist-info → cursorflow-2.1.2.dist-info}/METADATA +1 -1
- {cursorflow-2.1.0.dist-info → cursorflow-2.1.2.dist-info}/RECORD +10 -10
- {cursorflow-2.1.0.dist-info → cursorflow-2.1.2.dist-info}/WHEEL +0 -0
- {cursorflow-2.1.0.dist-info → cursorflow-2.1.2.dist-info}/entry_points.txt +0 -0
- {cursorflow-2.1.0.dist-info → cursorflow-2.1.2.dist-info}/licenses/LICENSE +0 -0
- {cursorflow-2.1.0.dist-info → cursorflow-2.1.2.dist-info}/top_level.txt +0 -0
cursorflow/__init__.py
CHANGED
cursorflow/cli.py
CHANGED
@@ -16,11 +16,12 @@ from rich.table import Table
|
|
16
16
|
from rich.progress import Progress, SpinnerColumn, TextColumn
|
17
17
|
|
18
18
|
from .core.agent import TestAgent
|
19
|
+
from . import __version__
|
19
20
|
|
20
21
|
console = Console()
|
21
22
|
|
22
23
|
@click.group()
|
23
|
-
@click.version_option(version=
|
24
|
+
@click.version_option(version=__version__)
|
24
25
|
def main():
|
25
26
|
"""Universal UI testing framework for any web technology"""
|
26
27
|
pass
|
@@ -413,7 +413,7 @@ class BrowserController:
|
|
413
413
|
"selector": str # Clip to element bounding box
|
414
414
|
},
|
415
415
|
"mask": [str], # CSS selectors to hide/mask
|
416
|
-
"quality": int # JPEG quality 0-100 (default: 80)
|
416
|
+
"quality": int # JPEG quality 0-100 (default: 80) - requires .jpg/.jpeg filename
|
417
417
|
}
|
418
418
|
capture_comprehensive_data: Whether to capture detailed page analysis
|
419
419
|
"""
|
@@ -447,10 +447,15 @@ class BrowserController:
|
|
447
447
|
# Prepare screenshot parameters
|
448
448
|
screenshot_params = {
|
449
449
|
"path": screenshot_filename,
|
450
|
-
"full_page": full_page
|
451
|
-
"quality": quality
|
450
|
+
"full_page": full_page
|
452
451
|
}
|
453
452
|
|
453
|
+
# Only add quality for JPEG screenshots
|
454
|
+
if screenshot_filename.lower().endswith(('.jpg', '.jpeg')):
|
455
|
+
screenshot_params["quality"] = quality
|
456
|
+
screenshot_params["type"] = "jpeg"
|
457
|
+
# PNG is default and doesn't support quality parameter
|
458
|
+
|
454
459
|
# Handle clipping options
|
455
460
|
if clip_config:
|
456
461
|
if "selector" in clip_config:
|
@@ -125,9 +125,9 @@ def create_config_template(project_path: Path, force: bool = False):
|
|
125
125
|
# Get current version
|
126
126
|
try:
|
127
127
|
import cursorflow
|
128
|
-
current_version = getattr(cursorflow, '__version__', '2.1.
|
128
|
+
current_version = getattr(cursorflow, '__version__', '2.1.2')
|
129
129
|
except ImportError:
|
130
|
-
current_version = '2.1.
|
130
|
+
current_version = '2.1.2'
|
131
131
|
|
132
132
|
if config_path.exists():
|
133
133
|
if not force:
|
@@ -302,9 +302,9 @@ def setup_update_checking(project_path: Path):
|
|
302
302
|
# Create initial version tracking
|
303
303
|
try:
|
304
304
|
import cursorflow
|
305
|
-
current_version = getattr(cursorflow, '__version__', '2.1.
|
305
|
+
current_version = getattr(cursorflow, '__version__', '2.1.2')
|
306
306
|
except ImportError:
|
307
|
-
current_version = '2.1.
|
307
|
+
current_version = '2.1.2'
|
308
308
|
|
309
309
|
version_info = {
|
310
310
|
"installed_version": current_version,
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.4
|
2
2
|
Name: cursorflow
|
3
|
-
Version: 2.1.
|
3
|
+
Version: 2.1.2
|
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
|
@@ -1,11 +1,11 @@
|
|
1
|
-
cursorflow/__init__.py,sha256
|
1
|
+
cursorflow/__init__.py,sha256=pZBGeQOH2whVKOyck1v7_SRRtceC5yD-SRy7Zn014Sw,2763
|
2
2
|
cursorflow/auto_updater.py,sha256=oQ12TIMZ6Cm3HF-x9iRWFtvOLkRh-JWPqitS69-4roE,7851
|
3
|
-
cursorflow/cli.py,sha256=
|
4
|
-
cursorflow/install_cursorflow_rules.py,sha256=
|
3
|
+
cursorflow/cli.py,sha256=ca36aTHFLYpiaeQYoj3TB4o39CEfj3WWaePze8yNvdg,27280
|
4
|
+
cursorflow/install_cursorflow_rules.py,sha256=NZfZC80XgKUEQVVuaPQHvhuY37V3HIGN2ZW5yZffVbQ,11792
|
5
5
|
cursorflow/updater.py,sha256=rAST7STjw-SgKxn_jsQJWOoyEMia-MQVxpKMwzPRnOA,19573
|
6
6
|
cursorflow/core/agent.py,sha256=f3lecgEzDRDdGTVccAtorpLGfNJJ49bbsQAmgr0vNGg,10136
|
7
7
|
cursorflow/core/auth_handler.py,sha256=oRafO6ZdxoHryBIvHsrNV8TECed4GXpJsdEiH0KdPPk,17149
|
8
|
-
cursorflow/core/browser_controller.py,sha256=
|
8
|
+
cursorflow/core/browser_controller.py,sha256=8TfhkBavWbwhTEGUmLdvA4UvIdLI64qct1HpnSBjBFo,131364
|
9
9
|
cursorflow/core/browser_engine.py,sha256=RpGtMOjyE7WW2BiR1cKcNnXNuiUbKt5svFgn1k3zozo,14415
|
10
10
|
cursorflow/core/css_iterator.py,sha256=whLCIwbHZEWaH1HCbmqhNX5zrh_fL-r3hsxKjYsukcE,16478
|
11
11
|
cursorflow/core/cursor_integration.py,sha256=MAeHjXYeqzaXnhskqkTDB-n5ixIHqapGe93X0lLKhws,67501
|
@@ -26,9 +26,9 @@ cursorflow/log_sources/ssh_remote.py,sha256=zSnX8mpa5G86UDWEm3_FqYwo1PjBW67C1LPk
|
|
26
26
|
cursorflow/rules/__init__.py,sha256=gPcA-IkhXj03sl7cvZV0wwo7CtEkcyuKs4y0F5oQbqE,458
|
27
27
|
cursorflow/rules/cursorflow-installation.mdc,sha256=PZN4hHpy2_g3EzD8BxZYhXF9A6YCvtMGaD3uOA7UVSs,9511
|
28
28
|
cursorflow/rules/cursorflow-usage.mdc,sha256=SAsJRmml8W1zE_jArZnRtygO9RmggjEzxGA6hxBJ-H4,18924
|
29
|
-
cursorflow-2.1.
|
30
|
-
cursorflow-2.1.
|
31
|
-
cursorflow-2.1.
|
32
|
-
cursorflow-2.1.
|
33
|
-
cursorflow-2.1.
|
34
|
-
cursorflow-2.1.
|
29
|
+
cursorflow-2.1.2.dist-info/licenses/LICENSE,sha256=e4QbjAsj3bW-xgQOvQelr8sGLYDoqc48k6cKgCr_pBU,1080
|
30
|
+
cursorflow-2.1.2.dist-info/METADATA,sha256=X2FUWbVHRC8PF-K2JzccvIVAbMqmqQEhd8iVuav5acE,12300
|
31
|
+
cursorflow-2.1.2.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
32
|
+
cursorflow-2.1.2.dist-info/entry_points.txt,sha256=-Ed_n4Uff7wClEtWS-Py6xmQabecB9f0QAOjX0w7ljA,51
|
33
|
+
cursorflow-2.1.2.dist-info/top_level.txt,sha256=t1UZwRyZP4u-ng2CEcNHmk_ZT4ibQxoihB2IjTF7ovc,11
|
34
|
+
cursorflow-2.1.2.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|