cursorflow 2.0.1__py3-none-any.whl → 2.0.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 CHANGED
@@ -48,8 +48,8 @@ def _get_version():
48
48
  except Exception:
49
49
  pass
50
50
 
51
- # Fallback version
52
- return "1.0.0-dev"
51
+ # Fallback version - should match pyproject.toml
52
+ return "2.0.2"
53
53
 
54
54
  __version__ = _get_version()
55
55
  __author__ = "GeekWarrior Development"
@@ -140,7 +140,7 @@ def create_config_template(project_path: Path):
140
140
  "debug_mode": False
141
141
  },
142
142
  "_project_type": project_type,
143
- "_cursorflow_version": "1.0.0"
143
+ "_cursorflow_version": current_version
144
144
  }
145
145
 
146
146
  import json
@@ -248,9 +248,15 @@ def setup_update_checking(project_path: Path):
248
248
  json.dump(update_prefs, f, indent=2)
249
249
 
250
250
  # Create initial version tracking
251
+ try:
252
+ import cursorflow
253
+ current_version = getattr(cursorflow, '__version__', '2.0.2')
254
+ except ImportError:
255
+ current_version = '2.0.2'
256
+
251
257
  version_info = {
252
- "installed_version": "1.0.0",
253
- "rules_version": "1.0.0",
258
+ "installed_version": current_version,
259
+ "rules_version": current_version,
254
260
  "installation_date": str(datetime.datetime.now().isoformat())
255
261
  }
256
262
 
cursorflow/updater.py CHANGED
@@ -335,8 +335,27 @@ class CursorFlowUpdater:
335
335
  return False
336
336
 
337
337
  async def _update_rules(self) -> bool:
338
- """Update rules from GitHub"""
339
- return await self.update_project_rules()
338
+ """Update rules from installed package"""
339
+ print("📝 Updating CursorFlow rules from installed package...")
340
+
341
+ try:
342
+ # Use the install_cursorflow_rules function to get latest rules from package
343
+ from .install_cursorflow_rules import install_cursorflow_rules
344
+
345
+ # Install rules from the newly updated package
346
+ success = install_cursorflow_rules(str(self.project_dir))
347
+
348
+ if success:
349
+ print("✅ Rules updated from installed package")
350
+ return True
351
+ else:
352
+ print("❌ Failed to update rules from package")
353
+ return False
354
+
355
+ except Exception as e:
356
+ self.logger.error(f"Rules update failed: {e}")
357
+ print(f"❌ Rules update failed: {e}")
358
+ return False
340
359
 
341
360
  async def _update_dependencies(self) -> bool:
342
361
  """Update all dependencies"""
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: cursorflow
3
- Version: 2.0.1
3
+ Version: 2.0.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,8 +1,8 @@
1
- cursorflow/__init__.py,sha256=nRmHnnnsbDH1A7_d3XkmzB5iJ44bt124zAQhaEhscyY,2450
1
+ cursorflow/__init__.py,sha256=bv4BLcMMZMXLVS_HVH_-dqqvFqKUBBnAbm1vI5fOqj4,2476
2
2
  cursorflow/auto_updater.py,sha256=oQ12TIMZ6Cm3HF-x9iRWFtvOLkRh-JWPqitS69-4roE,7851
3
3
  cursorflow/cli.py,sha256=JRznfNAaXuthmCVwQX7yvX8FtAFrZYwemUA7BfvfFOo,25036
4
- cursorflow/install_cursorflow_rules.py,sha256=ny4c-S1O-V2sITunZO2kk6sCf1yec42UJOEVZu1NCAA,9014
5
- cursorflow/updater.py,sha256=pvbSZgg6hgWZBE5AAUPppS5Yzv0yNMp2X_CL2GALg_w,18783
4
+ cursorflow/install_cursorflow_rules.py,sha256=awbyrZ_MWUe-NNC9rWKCx-OXSbCbDoMXM7A2C8RE6uk,9206
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
8
  cursorflow/core/browser_controller.py,sha256=OII52LBgN97-G-6mPCiqbFGbHnU9KtHaYB0qeylqo2U,125963
@@ -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.0.1.dist-info/licenses/LICENSE,sha256=e4QbjAsj3bW-xgQOvQelr8sGLYDoqc48k6cKgCr_pBU,1080
30
- cursorflow-2.0.1.dist-info/METADATA,sha256=nmphZ97bBOOskM-hIAbwjw0sYJo-fKYiDK5ZXiKbg7o,10656
31
- cursorflow-2.0.1.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
32
- cursorflow-2.0.1.dist-info/entry_points.txt,sha256=-Ed_n4Uff7wClEtWS-Py6xmQabecB9f0QAOjX0w7ljA,51
33
- cursorflow-2.0.1.dist-info/top_level.txt,sha256=t1UZwRyZP4u-ng2CEcNHmk_ZT4ibQxoihB2IjTF7ovc,11
34
- cursorflow-2.0.1.dist-info/RECORD,,
29
+ cursorflow-2.0.2.dist-info/licenses/LICENSE,sha256=e4QbjAsj3bW-xgQOvQelr8sGLYDoqc48k6cKgCr_pBU,1080
30
+ cursorflow-2.0.2.dist-info/METADATA,sha256=1E_EJroM0zhjPXUUn1NolUltEH7gvgTuIQUXg1nixKA,10656
31
+ cursorflow-2.0.2.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
32
+ cursorflow-2.0.2.dist-info/entry_points.txt,sha256=-Ed_n4Uff7wClEtWS-Py6xmQabecB9f0QAOjX0w7ljA,51
33
+ cursorflow-2.0.2.dist-info/top_level.txt,sha256=t1UZwRyZP4u-ng2CEcNHmk_ZT4ibQxoihB2IjTF7ovc,11
34
+ cursorflow-2.0.2.dist-info/RECORD,,