cursorflow 2.3.1__tar.gz → 2.3.2__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 (49) hide show
  1. {cursorflow-2.3.1 → cursorflow-2.3.2}/PKG-INFO +1 -1
  2. {cursorflow-2.3.1 → cursorflow-2.3.2}/cursorflow/core/log_collector.py +14 -2
  3. {cursorflow-2.3.1 → cursorflow-2.3.2}/pyproject.toml +2 -2
  4. {cursorflow-2.3.1 → cursorflow-2.3.2}/LICENSE +0 -0
  5. {cursorflow-2.3.1 → cursorflow-2.3.2}/MANIFEST.in +0 -0
  6. {cursorflow-2.3.1 → cursorflow-2.3.2}/README.md +0 -0
  7. {cursorflow-2.3.1 → cursorflow-2.3.2}/cursorflow/__init__.py +0 -0
  8. {cursorflow-2.3.1 → cursorflow-2.3.2}/cursorflow/auto_init.py +0 -0
  9. {cursorflow-2.3.1 → cursorflow-2.3.2}/cursorflow/auto_updater.py +0 -0
  10. {cursorflow-2.3.1 → cursorflow-2.3.2}/cursorflow/cli.py +0 -0
  11. {cursorflow-2.3.1 → cursorflow-2.3.2}/cursorflow/core/action_validator.py +0 -0
  12. {cursorflow-2.3.1 → cursorflow-2.3.2}/cursorflow/core/agent.py +0 -0
  13. {cursorflow-2.3.1 → cursorflow-2.3.2}/cursorflow/core/auth_handler.py +0 -0
  14. {cursorflow-2.3.1 → cursorflow-2.3.2}/cursorflow/core/browser_controller.py +0 -0
  15. {cursorflow-2.3.1 → cursorflow-2.3.2}/cursorflow/core/browser_engine.py +0 -0
  16. {cursorflow-2.3.1 → cursorflow-2.3.2}/cursorflow/core/config_validator.py +0 -0
  17. {cursorflow-2.3.1 → cursorflow-2.3.2}/cursorflow/core/css_iterator.py +0 -0
  18. {cursorflow-2.3.1 → cursorflow-2.3.2}/cursorflow/core/cursor_integration.py +0 -0
  19. {cursorflow-2.3.1 → cursorflow-2.3.2}/cursorflow/core/cursorflow.py +0 -0
  20. {cursorflow-2.3.1 → cursorflow-2.3.2}/cursorflow/core/error_context_collector.py +0 -0
  21. {cursorflow-2.3.1 → cursorflow-2.3.2}/cursorflow/core/error_correlator.py +0 -0
  22. {cursorflow-2.3.1 → cursorflow-2.3.2}/cursorflow/core/event_correlator.py +0 -0
  23. {cursorflow-2.3.1 → cursorflow-2.3.2}/cursorflow/core/file_change_monitor.py +0 -0
  24. {cursorflow-2.3.1 → cursorflow-2.3.2}/cursorflow/core/hmr_detector.py +0 -0
  25. {cursorflow-2.3.1 → cursorflow-2.3.2}/cursorflow/core/log_monitor.py +0 -0
  26. {cursorflow-2.3.1 → cursorflow-2.3.2}/cursorflow/core/mockup_comparator.py +0 -0
  27. {cursorflow-2.3.1 → cursorflow-2.3.2}/cursorflow/core/persistent_session.py +0 -0
  28. {cursorflow-2.3.1 → cursorflow-2.3.2}/cursorflow/core/report_generator.py +0 -0
  29. {cursorflow-2.3.1 → cursorflow-2.3.2}/cursorflow/core/trace_manager.py +0 -0
  30. {cursorflow-2.3.1 → cursorflow-2.3.2}/cursorflow/install_cursorflow_rules.py +0 -0
  31. {cursorflow-2.3.1 → cursorflow-2.3.2}/cursorflow/log_sources/local_file.py +0 -0
  32. {cursorflow-2.3.1 → cursorflow-2.3.2}/cursorflow/log_sources/ssh_remote.py +0 -0
  33. {cursorflow-2.3.1 → cursorflow-2.3.2}/cursorflow/post_install.py +0 -0
  34. {cursorflow-2.3.1 → cursorflow-2.3.2}/cursorflow/rules/__init__.py +0 -0
  35. {cursorflow-2.3.1 → cursorflow-2.3.2}/cursorflow/rules/cursorflow-installation.mdc +0 -0
  36. {cursorflow-2.3.1 → cursorflow-2.3.2}/cursorflow/rules/cursorflow-usage.mdc +0 -0
  37. {cursorflow-2.3.1 → cursorflow-2.3.2}/cursorflow/updater.py +0 -0
  38. {cursorflow-2.3.1 → cursorflow-2.3.2}/cursorflow.egg-info/SOURCES.txt +0 -0
  39. {cursorflow-2.3.1 → cursorflow-2.3.2}/docs/user/USAGE_GUIDE.md +0 -0
  40. {cursorflow-2.3.1 → cursorflow-2.3.2}/examples/comprehensive_screenshot_example.py +0 -0
  41. {cursorflow-2.3.1 → cursorflow-2.3.2}/examples/enhanced_screenshot_example.py +0 -0
  42. {cursorflow-2.3.1 → cursorflow-2.3.2}/examples/hot_reload_css_iteration.py +0 -0
  43. {cursorflow-2.3.1 → cursorflow-2.3.2}/examples/mockup_comparison_example.py +0 -0
  44. {cursorflow-2.3.1 → cursorflow-2.3.2}/examples/opensas_example.py +0 -0
  45. {cursorflow-2.3.1 → cursorflow-2.3.2}/examples/react_example.py +0 -0
  46. {cursorflow-2.3.1 → cursorflow-2.3.2}/examples/responsive_testing_example.py +0 -0
  47. {cursorflow-2.3.1 → cursorflow-2.3.2}/examples/v2_comprehensive_demo.py +0 -0
  48. {cursorflow-2.3.1 → cursorflow-2.3.2}/setup.cfg +0 -0
  49. {cursorflow-2.3.1 → cursorflow-2.3.2}/setup.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: cursorflow
3
- Version: 2.3.1
3
+ Version: 2.3.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
@@ -87,12 +87,20 @@ class LogCollector:
87
87
  """Initialize local file log sources"""
88
88
  paths = self.config.get("paths", ["logs/app.log"])
89
89
 
90
+ # Skip local log sources if we're clearly testing a remote URL
91
+ # (they won't work anyway and just cause confusing errors)
92
+ base_url = self.config.get("base_url", "")
93
+ if base_url and (base_url.startswith("http://") or base_url.startswith("https://")):
94
+ if not any("localhost" in base_url or "127.0.0.1" in base_url for url in [base_url]):
95
+ self.logger.debug("Skipping local log sources for remote URL testing")
96
+ return
97
+
90
98
  for path in paths:
91
99
  if Path(path).exists() or self.config.get("create_if_missing", True):
92
100
  source = LocalFileLogSource(path)
93
101
  self.log_sources.append(source)
94
102
  else:
95
- self.logger.warning(f"Log file not found: {path}")
103
+ self.logger.debug(f"Log file not found: {path}")
96
104
 
97
105
  def _init_docker_sources(self):
98
106
  """Initialize Docker container log sources"""
@@ -182,8 +190,12 @@ class LogCollector:
182
190
  # Brief pause to avoid overwhelming
183
191
  await asyncio.sleep(0.1)
184
192
 
193
+ except AttributeError as e:
194
+ # Log source doesn't support get_new_entries (incompatible source type)
195
+ self.logger.debug(f"Log source {source} is incompatible: {e}")
196
+ break # Stop monitoring this source
185
197
  except Exception as e:
186
- self.logger.warning(f"Log source error: {e}")
198
+ self.logger.debug(f"Log source error: {e}")
187
199
  await asyncio.sleep(1) # Wait before retry
188
200
 
189
201
  except Exception as e:
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "cursorflow"
7
- version = "2.3.1"
7
+ version = "2.3.2"
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"}
@@ -72,6 +72,6 @@ line-length = 88
72
72
  target-version = ['py38']
73
73
 
74
74
  [tool.mypy]
75
- python_version = "2.3.1"
75
+ python_version = "2.3.2"
76
76
  warn_return_any = true
77
77
  warn_unused_configs = true
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes