cursorflow 2.2.0__tar.gz → 2.2.1__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 (50) hide show
  1. {cursorflow-2.2.0 → cursorflow-2.2.1}/PKG-INFO +1 -1
  2. {cursorflow-2.2.0 → cursorflow-2.2.1}/cursorflow/__init__.py +1 -1
  3. {cursorflow-2.2.0 → cursorflow-2.2.1}/cursorflow/cli.py +5 -4
  4. {cursorflow-2.2.0 → cursorflow-2.2.1}/cursorflow/core/browser_controller.py +25 -0
  5. {cursorflow-2.2.0 → cursorflow-2.2.1}/pyproject.toml +1 -1
  6. {cursorflow-2.2.0 → cursorflow-2.2.1}/FIRST_TIME_SETUP.md +0 -0
  7. {cursorflow-2.2.0 → cursorflow-2.2.1}/LICENSE +0 -0
  8. {cursorflow-2.2.0 → cursorflow-2.2.1}/MANIFEST.in +0 -0
  9. {cursorflow-2.2.0 → cursorflow-2.2.1}/POST_INSTALL_MESSAGE.txt +0 -0
  10. {cursorflow-2.2.0 → cursorflow-2.2.1}/README.md +0 -0
  11. {cursorflow-2.2.0 → cursorflow-2.2.1}/cursorflow/auto_init.py +0 -0
  12. {cursorflow-2.2.0 → cursorflow-2.2.1}/cursorflow/auto_updater.py +0 -0
  13. {cursorflow-2.2.0 → cursorflow-2.2.1}/cursorflow/core/action_validator.py +0 -0
  14. {cursorflow-2.2.0 → cursorflow-2.2.1}/cursorflow/core/agent.py +0 -0
  15. {cursorflow-2.2.0 → cursorflow-2.2.1}/cursorflow/core/auth_handler.py +0 -0
  16. {cursorflow-2.2.0 → cursorflow-2.2.1}/cursorflow/core/browser_engine.py +0 -0
  17. {cursorflow-2.2.0 → cursorflow-2.2.1}/cursorflow/core/config_validator.py +0 -0
  18. {cursorflow-2.2.0 → cursorflow-2.2.1}/cursorflow/core/css_iterator.py +0 -0
  19. {cursorflow-2.2.0 → cursorflow-2.2.1}/cursorflow/core/cursor_integration.py +0 -0
  20. {cursorflow-2.2.0 → cursorflow-2.2.1}/cursorflow/core/cursorflow.py +0 -0
  21. {cursorflow-2.2.0 → cursorflow-2.2.1}/cursorflow/core/error_context_collector.py +0 -0
  22. {cursorflow-2.2.0 → cursorflow-2.2.1}/cursorflow/core/error_correlator.py +0 -0
  23. {cursorflow-2.2.0 → cursorflow-2.2.1}/cursorflow/core/event_correlator.py +0 -0
  24. {cursorflow-2.2.0 → cursorflow-2.2.1}/cursorflow/core/file_change_monitor.py +0 -0
  25. {cursorflow-2.2.0 → cursorflow-2.2.1}/cursorflow/core/hmr_detector.py +0 -0
  26. {cursorflow-2.2.0 → cursorflow-2.2.1}/cursorflow/core/log_collector.py +0 -0
  27. {cursorflow-2.2.0 → cursorflow-2.2.1}/cursorflow/core/log_monitor.py +0 -0
  28. {cursorflow-2.2.0 → cursorflow-2.2.1}/cursorflow/core/mockup_comparator.py +0 -0
  29. {cursorflow-2.2.0 → cursorflow-2.2.1}/cursorflow/core/persistent_session.py +0 -0
  30. {cursorflow-2.2.0 → cursorflow-2.2.1}/cursorflow/core/report_generator.py +0 -0
  31. {cursorflow-2.2.0 → cursorflow-2.2.1}/cursorflow/core/trace_manager.py +0 -0
  32. {cursorflow-2.2.0 → cursorflow-2.2.1}/cursorflow/install_cursorflow_rules.py +0 -0
  33. {cursorflow-2.2.0 → cursorflow-2.2.1}/cursorflow/log_sources/local_file.py +0 -0
  34. {cursorflow-2.2.0 → cursorflow-2.2.1}/cursorflow/log_sources/ssh_remote.py +0 -0
  35. {cursorflow-2.2.0 → cursorflow-2.2.1}/cursorflow/post_install.py +0 -0
  36. {cursorflow-2.2.0 → cursorflow-2.2.1}/cursorflow/rules/__init__.py +0 -0
  37. {cursorflow-2.2.0 → cursorflow-2.2.1}/cursorflow/rules/cursorflow-installation.mdc +0 -0
  38. {cursorflow-2.2.0 → cursorflow-2.2.1}/cursorflow/rules/cursorflow-usage.mdc +0 -0
  39. {cursorflow-2.2.0 → cursorflow-2.2.1}/cursorflow/updater.py +0 -0
  40. {cursorflow-2.2.0 → cursorflow-2.2.1}/cursorflow.egg-info/SOURCES.txt +0 -0
  41. {cursorflow-2.2.0 → cursorflow-2.2.1}/docs/USER_MANUAL.md +0 -0
  42. {cursorflow-2.2.0 → cursorflow-2.2.1}/examples/comprehensive_screenshot_example.py +0 -0
  43. {cursorflow-2.2.0 → cursorflow-2.2.1}/examples/enhanced_screenshot_example.py +0 -0
  44. {cursorflow-2.2.0 → cursorflow-2.2.1}/examples/mockup_comparison_example.py +0 -0
  45. {cursorflow-2.2.0 → cursorflow-2.2.1}/examples/opensas_example.py +0 -0
  46. {cursorflow-2.2.0 → cursorflow-2.2.1}/examples/react_example.py +0 -0
  47. {cursorflow-2.2.0 → cursorflow-2.2.1}/examples/responsive_testing_example.py +0 -0
  48. {cursorflow-2.2.0 → cursorflow-2.2.1}/examples/v2_comprehensive_demo.py +0 -0
  49. {cursorflow-2.2.0 → cursorflow-2.2.1}/setup.cfg +0 -0
  50. {cursorflow-2.2.0 → cursorflow-2.2.1}/setup.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: cursorflow
3
- Version: 2.2.0
3
+ Version: 2.2.1
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
@@ -56,7 +56,7 @@ def _get_version():
56
56
  pass
57
57
 
58
58
  # Fallback version - should match pyproject.toml
59
- return "2.2.0"
59
+ return "2.2.1"
60
60
 
61
61
  __version__ = _get_version()
62
62
  __author__ = "GeekWarrior Development"
@@ -9,6 +9,7 @@ import click
9
9
  import asyncio
10
10
  import json
11
11
  import os
12
+ import time
12
13
  from pathlib import Path
13
14
  from typing import Dict
14
15
  from rich.console import Console
@@ -86,13 +87,13 @@ def main(ctx):
86
87
  help='Timeout in seconds for wait operations')
87
88
  @click.option('--wait-for-network-idle', is_flag=True,
88
89
  help='Wait for network to be idle (no requests for 2s)')
89
- @click.option('--click', '-c', multiple=True,
90
+ @click.option('--click', multiple=True,
90
91
  help='Click element by selector (can specify multiple)')
91
- @click.option('--hover', '-h', multiple=True,
92
+ @click.option('--hover', multiple=True,
92
93
  help='Hover over element by selector')
93
- @click.option('--fill', '-f', multiple=True,
94
+ @click.option('--fill', multiple=True,
94
95
  help='Fill input field. Format: selector=value')
95
- @click.option('--screenshot', '-s', multiple=True,
96
+ @click.option('--screenshot', multiple=True,
96
97
  help='Capture screenshot with name')
97
98
  @click.option('--open-trace', is_flag=True,
98
99
  help='Automatically open Playwright trace viewer after test')
@@ -1798,6 +1798,31 @@ class BrowserController:
1798
1798
  return selectors;
1799
1799
  }
1800
1800
 
1801
+ // Phase 2.1: Event Handler Capture
1802
+ function getEventHandlers(element) {
1803
+ const handlers = {};
1804
+
1805
+ // Common event handler attributes
1806
+ const eventAttributes = [
1807
+ 'onclick', 'ondblclick', 'onmousedown', 'onmouseup',
1808
+ 'onmouseover', 'onmouseout', 'onmousemove', 'onmouseenter', 'onmouseleave',
1809
+ 'onkeydown', 'onkeyup', 'onkeypress',
1810
+ 'onsubmit', 'onchange', 'oninput', 'onfocus', 'onblur',
1811
+ 'onload', 'onerror', 'onabort',
1812
+ 'ontouchstart', 'ontouchend', 'ontouchmove',
1813
+ 'ondrag', 'ondrop', 'ondragover', 'ondragstart', 'ondragend'
1814
+ ];
1815
+
1816
+ eventAttributes.forEach(attr => {
1817
+ const handler = element.getAttribute(attr);
1818
+ if (handler) {
1819
+ handlers[attr] = handler;
1820
+ }
1821
+ });
1822
+
1823
+ return Object.keys(handlers).length > 0 ? handlers : null;
1824
+ }
1825
+
1801
1826
  // Enhanced accessibility analysis
1802
1827
  function getAccessibilityData(element) {
1803
1828
  return {
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "cursorflow"
7
- version = "2.2.0"
7
+ version = "2.2.1"
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