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 +2 -2
- cursorflow/install_cursorflow_rules.py +9 -3
- cursorflow/updater.py +21 -2
- {cursorflow-2.0.1.dist-info → cursorflow-2.0.2.dist-info}/METADATA +1 -1
- {cursorflow-2.0.1.dist-info → cursorflow-2.0.2.dist-info}/RECORD +9 -9
- {cursorflow-2.0.1.dist-info → cursorflow-2.0.2.dist-info}/WHEEL +0 -0
- {cursorflow-2.0.1.dist-info → cursorflow-2.0.2.dist-info}/entry_points.txt +0 -0
- {cursorflow-2.0.1.dist-info → cursorflow-2.0.2.dist-info}/licenses/LICENSE +0 -0
- {cursorflow-2.0.1.dist-info → cursorflow-2.0.2.dist-info}/top_level.txt +0 -0
cursorflow/__init__.py
CHANGED
@@ -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":
|
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":
|
253
|
-
"rules_version":
|
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
|
339
|
-
|
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.
|
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=
|
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=
|
5
|
-
cursorflow/updater.py,sha256=
|
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.
|
30
|
-
cursorflow-2.0.
|
31
|
-
cursorflow-2.0.
|
32
|
-
cursorflow-2.0.
|
33
|
-
cursorflow-2.0.
|
34
|
-
cursorflow-2.0.
|
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,,
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|