cursorflow 1.3.3__py3-none-any.whl → 1.3.4__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.
@@ -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
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: cursorflow
3
- Version: 1.3.3
3
+ Version: 1.3.4
4
4
  Summary: Complete page intelligence for AI-driven development - captures DOM, network, console, and performance data
5
5
  Author-email: GeekWarrior Development <support@cursorflow.dev>
6
6
  License-Expression: MIT
@@ -5,27 +5,27 @@ cursorflow/install_cursorflow_rules.py,sha256=ny4c-S1O-V2sITunZO2kk6sCf1yec42UJO
5
5
  cursorflow/updater.py,sha256=pvbSZgg6hgWZBE5AAUPppS5Yzv0yNMp2X_CL2GALg_w,18783
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=dANWxOV4oMdsiuznuzOxkv08iV03yuRdDN2lX17IGXM,57144
8
+ cursorflow/core/browser_controller.py,sha256=IfwIdItpaMNnDyUBx-qYjdobfQyvuDv6JPPeouAzc8E,57148
9
9
  cursorflow/core/browser_engine.py,sha256=Glq8U_bXRkO2Yal0nku7Z2wKwOftY4So2XN4oy56WLo,13732
10
10
  cursorflow/core/css_iterator.py,sha256=whLCIwbHZEWaH1HCbmqhNX5zrh_fL-r3hsxKjYsukcE,16478
11
11
  cursorflow/core/cursor_integration.py,sha256=MAeHjXYeqzaXnhskqkTDB-n5ixIHqapGe93X0lLKhws,67501
12
12
  cursorflow/core/cursorflow.py,sha256=GohWXvCLTsIIxI2UBRkFPM3yptbPNw4wI1vxKRPPMd0,31816
13
13
  cursorflow/core/error_correlator.py,sha256=g6YaIF2yFXUDrTuWHCyuES6K0696H8LDWmXH1qI8ddA,13367
14
- cursorflow/core/event_correlator.py,sha256=3y3SqaH4Ake-YD70136i_gOy_nR0f9AO7hoDu5djpEE,6826
14
+ cursorflow/core/event_correlator.py,sha256=lCzXFnii17AQt3rOVOclez_AnjvBCF_2ZlnFG0mIN6c,7808
15
15
  cursorflow/core/file_change_monitor.py,sha256=tl_ZdsGW8LZBTImniD-lqaGgNb9dYjlDsP2XmevE0xk,21258
16
16
  cursorflow/core/log_collector.py,sha256=vZ2Slm6C_OOi68xROWpXPSZqzzQAWK0sk5xEybGlA4w,14217
17
17
  cursorflow/core/log_monitor.py,sha256=pONMu_JHEnT0T62OA5KRZ4nClzKgNpifPyrfN5w_RM8,6704
18
18
  cursorflow/core/mockup_comparator.py,sha256=QBcUrqERsAizklTbQmaohtSpa9r9xdgHkAjdkqHyTtk,63754
19
19
  cursorflow/core/persistent_session.py,sha256=FsEHj4wKkycmdp6PFRHv3g333Y74yqra0x_qhUTQpik,36075
20
20
  cursorflow/core/report_generator.py,sha256=-vosfyrnfVyWDbAIMlMurl90xOXqBae8d6aLd9sEqiY,10113
21
- cursorflow/log_sources/local_file.py,sha256=SwA294n_Ozg76ZUF5nPn5W2Fts_XtSOHEcO2S65vnjc,6768
22
- cursorflow/log_sources/ssh_remote.py,sha256=TrE9FZ4aI6Cz1vChjvG8RC2KrNlgRKtG0_hC1w8pGDA,7106
21
+ cursorflow/log_sources/local_file.py,sha256=qA1JWFpoDTsSNM7rA5jMVGF5IPRDWMDjxji6XlgmJbE,6838
22
+ cursorflow/log_sources/ssh_remote.py,sha256=cWH-0ulDilh5kSih8BEzDlY0xU0KASDoq9rPhZN9zqg,7207
23
23
  cursorflow/rules/__init__.py,sha256=gPcA-IkhXj03sl7cvZV0wwo7CtEkcyuKs4y0F5oQbqE,458
24
24
  cursorflow/rules/cursorflow-installation.mdc,sha256=Nnu7PuP5nGD6hGAV_x2SX5Y2_uPz3oNA5XUjNJBFC1M,6985
25
25
  cursorflow/rules/cursorflow-usage.mdc,sha256=Zv0TWuo7S3iJHq8R6oBaHRI3V6h-T81pdb7vi-b8NoU,14157
26
- cursorflow-1.3.3.dist-info/licenses/LICENSE,sha256=e4QbjAsj3bW-xgQOvQelr8sGLYDoqc48k6cKgCr_pBU,1080
27
- cursorflow-1.3.3.dist-info/METADATA,sha256=NVZfDKpe9S5m8Za6lMRgqE9czq6bp-CGzyV41pcGkyk,7659
28
- cursorflow-1.3.3.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
29
- cursorflow-1.3.3.dist-info/entry_points.txt,sha256=-Ed_n4Uff7wClEtWS-Py6xmQabecB9f0QAOjX0w7ljA,51
30
- cursorflow-1.3.3.dist-info/top_level.txt,sha256=t1UZwRyZP4u-ng2CEcNHmk_ZT4ibQxoihB2IjTF7ovc,11
31
- cursorflow-1.3.3.dist-info/RECORD,,
26
+ cursorflow-1.3.4.dist-info/licenses/LICENSE,sha256=e4QbjAsj3bW-xgQOvQelr8sGLYDoqc48k6cKgCr_pBU,1080
27
+ cursorflow-1.3.4.dist-info/METADATA,sha256=DuexbzHqCAUfGjntjTSvO0tmxsrxLtHh4zqHl4EpDm0,7659
28
+ cursorflow-1.3.4.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
29
+ cursorflow-1.3.4.dist-info/entry_points.txt,sha256=-Ed_n4Uff7wClEtWS-Py6xmQabecB9f0QAOjX0w7ljA,51
30
+ cursorflow-1.3.4.dist-info/top_level.txt,sha256=t1UZwRyZP4u-ng2CEcNHmk_ZT4ibQxoihB2IjTF7ovc,11
31
+ cursorflow-1.3.4.dist-info/RECORD,,