cursorflow 1.3.3__tar.gz → 1.3.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 (38) hide show
  1. {cursorflow-1.3.3 → cursorflow-1.3.5}/PKG-INFO +2 -2
  2. {cursorflow-1.3.3 → cursorflow-1.3.5}/cursorflow/core/browser_controller.py +1 -1
  3. {cursorflow-1.3.3 → cursorflow-1.3.5}/cursorflow/core/event_correlator.py +20 -0
  4. {cursorflow-1.3.3 → cursorflow-1.3.5}/cursorflow/log_sources/local_file.py +1 -0
  5. {cursorflow-1.3.3 → cursorflow-1.3.5}/cursorflow/log_sources/ssh_remote.py +2 -0
  6. {cursorflow-1.3.3 → cursorflow-1.3.5}/pyproject.toml +2 -2
  7. {cursorflow-1.3.3 → cursorflow-1.3.5}/LICENSE +0 -0
  8. {cursorflow-1.3.3 → cursorflow-1.3.5}/MANIFEST.in +0 -0
  9. {cursorflow-1.3.3 → cursorflow-1.3.5}/README.md +0 -0
  10. {cursorflow-1.3.3 → cursorflow-1.3.5}/cursorflow/__init__.py +0 -0
  11. {cursorflow-1.3.3 → cursorflow-1.3.5}/cursorflow/auto_updater.py +0 -0
  12. {cursorflow-1.3.3 → cursorflow-1.3.5}/cursorflow/cli.py +0 -0
  13. {cursorflow-1.3.3 → cursorflow-1.3.5}/cursorflow/core/agent.py +0 -0
  14. {cursorflow-1.3.3 → cursorflow-1.3.5}/cursorflow/core/auth_handler.py +0 -0
  15. {cursorflow-1.3.3 → cursorflow-1.3.5}/cursorflow/core/browser_engine.py +0 -0
  16. {cursorflow-1.3.3 → cursorflow-1.3.5}/cursorflow/core/css_iterator.py +0 -0
  17. {cursorflow-1.3.3 → cursorflow-1.3.5}/cursorflow/core/cursor_integration.py +0 -0
  18. {cursorflow-1.3.3 → cursorflow-1.3.5}/cursorflow/core/cursorflow.py +0 -0
  19. {cursorflow-1.3.3 → cursorflow-1.3.5}/cursorflow/core/error_correlator.py +0 -0
  20. {cursorflow-1.3.3 → cursorflow-1.3.5}/cursorflow/core/file_change_monitor.py +0 -0
  21. {cursorflow-1.3.3 → cursorflow-1.3.5}/cursorflow/core/log_collector.py +0 -0
  22. {cursorflow-1.3.3 → cursorflow-1.3.5}/cursorflow/core/log_monitor.py +0 -0
  23. {cursorflow-1.3.3 → cursorflow-1.3.5}/cursorflow/core/mockup_comparator.py +0 -0
  24. {cursorflow-1.3.3 → cursorflow-1.3.5}/cursorflow/core/persistent_session.py +0 -0
  25. {cursorflow-1.3.3 → cursorflow-1.3.5}/cursorflow/core/report_generator.py +0 -0
  26. {cursorflow-1.3.3 → cursorflow-1.3.5}/cursorflow/install_cursorflow_rules.py +0 -0
  27. {cursorflow-1.3.3 → cursorflow-1.3.5}/cursorflow/rules/__init__.py +0 -0
  28. {cursorflow-1.3.3 → cursorflow-1.3.5}/cursorflow/rules/cursorflow-installation.mdc +0 -0
  29. {cursorflow-1.3.3 → cursorflow-1.3.5}/cursorflow/rules/cursorflow-usage.mdc +0 -0
  30. {cursorflow-1.3.3 → cursorflow-1.3.5}/cursorflow/updater.py +0 -0
  31. {cursorflow-1.3.3 → cursorflow-1.3.5}/cursorflow.egg-info/SOURCES.txt +0 -0
  32. {cursorflow-1.3.3 → cursorflow-1.3.5}/docs/USER_MANUAL.md +0 -0
  33. {cursorflow-1.3.3 → cursorflow-1.3.5}/examples/comprehensive_screenshot_example.py +0 -0
  34. {cursorflow-1.3.3 → cursorflow-1.3.5}/examples/mockup_comparison_example.py +0 -0
  35. {cursorflow-1.3.3 → cursorflow-1.3.5}/examples/opensas_example.py +0 -0
  36. {cursorflow-1.3.3 → cursorflow-1.3.5}/examples/react_example.py +0 -0
  37. {cursorflow-1.3.3 → cursorflow-1.3.5}/setup.cfg +0 -0
  38. {cursorflow-1.3.3 → cursorflow-1.3.5}/setup.py +0 -0
@@ -1,8 +1,8 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: cursorflow
3
- Version: 1.3.3
3
+ Version: 1.3.5
4
4
  Summary: Complete page intelligence for AI-driven development - captures DOM, network, console, and performance data
5
- Author-email: GeekWarrior Development <support@cursorflow.dev>
5
+ Author-email: GeekWarrior Development <rbush@cooltheory.com>
6
6
  License-Expression: MIT
7
7
  Project-URL: Homepage, https://github.com/haley-marketing-group/cursorflow
8
8
  Project-URL: Documentation, https://cursorflow.readthedocs.io
@@ -198,7 +198,7 @@ class BrowserController:
198
198
  "status": response.status,
199
199
  "status_text": response.status_text,
200
200
  "headers": dict(response.headers),
201
- "size": len(response.body) if hasattr(response, 'body') else 0,
201
+ "size": 0, # Will be populated by _capture_response_body if needed
202
202
  "from_cache": response.from_service_worker or False
203
203
  }
204
204
  self.network_requests.append(response_data)
@@ -167,6 +167,26 @@ class EventCorrelator:
167
167
  "time_range": time_range
168
168
  }
169
169
 
170
+ def organize_timeline(self, browser_events: List[Dict], server_logs: List[Dict]) -> List[Dict]:
171
+ """
172
+ Organize browser events and server logs into chronological timeline
173
+
174
+ This is the method called by CursorFlow.execute_and_collect()
175
+ """
176
+ return self._create_chronological_timeline(browser_events, server_logs)
177
+
178
+ def get_summary(self, timeline: List[Dict]) -> Dict[str, Any]:
179
+ """
180
+ Get basic summary from organized timeline
181
+
182
+ This is the method called by CursorFlow.execute_and_collect()
183
+ """
184
+ # Extract browser events and server logs from timeline
185
+ browser_events = [event["raw_event"] for event in timeline if event.get("source") == "browser" and "raw_event" in event]
186
+ server_logs = [event["raw_log"] for event in timeline if event.get("source") == "server" and "raw_log" in event]
187
+
188
+ return self._create_basic_summary(browser_events, server_logs)
189
+
170
190
  def organize_for_time_window(self, timeline: List[Dict], start_time: float, end_time: float) -> List[Dict]:
171
191
  """Get events within specific time window - simple filtering"""
172
192
  return [
@@ -34,6 +34,7 @@ class LocalFileLogSource:
34
34
  self.log_queue = queue.Queue()
35
35
  self.tail_processes = {}
36
36
  self.monitoring = False
37
+ self.connect = True # Attribute expected by other components
37
38
 
38
39
  import logging
39
40
  self.logger = logging.getLogger(__name__)
@@ -39,8 +39,10 @@ class SSHRemoteLogSource:
39
39
  self.ssh_config = ssh_config
40
40
  self.log_paths = log_paths
41
41
  self.log_queue = queue.Queue()
42
+ self.ssh_client = None
42
43
  self.monitoring_threads = []
43
44
  self.monitoring = False
45
+ self.connect = True # Attribute expected by other components
44
46
 
45
47
  self.logger = logging.getLogger(__name__)
46
48
 
@@ -4,10 +4,10 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "cursorflow"
7
- version = "1.3.3"
7
+ version = "1.3.5"
8
8
  description = "Complete page intelligence for AI-driven development - captures DOM, network, console, and performance data"
9
9
  authors = [
10
- {name = "GeekWarrior Development", email = "support@cursorflow.dev"}
10
+ {name = "GeekWarrior Development", email = "rbush@cooltheory.com"}
11
11
  ]
12
12
  readme = "README.md"
13
13
  license = "MIT"
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes