codedthemes-cli 0.1.7__tar.gz → 0.1.8__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.
- {codedthemes_cli-0.1.7 → codedthemes_cli-0.1.8}/PKG-INFO +1 -1
- {codedthemes_cli-0.1.7 → codedthemes_cli-0.1.8}/codedthemes/cli.py +15 -0
- {codedthemes_cli-0.1.7 → codedthemes_cli-0.1.8}/codedthemes_cli.egg-info/PKG-INFO +1 -1
- {codedthemes_cli-0.1.7 → codedthemes_cli-0.1.8}/pyproject.toml +1 -1
- {codedthemes_cli-0.1.7 → codedthemes_cli-0.1.8}/README.md +0 -0
- {codedthemes_cli-0.1.7 → codedthemes_cli-0.1.8}/codedthemes/__init__.py +0 -0
- {codedthemes_cli-0.1.7 → codedthemes_cli-0.1.8}/codedthemes/config.py +0 -0
- {codedthemes_cli-0.1.7 → codedthemes_cli-0.1.8}/codedthemes/mcp_client.py +0 -0
- {codedthemes_cli-0.1.7 → codedthemes_cli-0.1.8}/codedthemes/patch_utils.py +0 -0
- {codedthemes_cli-0.1.7 → codedthemes_cli-0.1.8}/codedthemes/repo_utils.py +0 -0
- {codedthemes_cli-0.1.7 → codedthemes_cli-0.1.8}/codedthemes/sync_manager.py +0 -0
- {codedthemes_cli-0.1.7 → codedthemes_cli-0.1.8}/codedthemes_cli.egg-info/SOURCES.txt +0 -0
- {codedthemes_cli-0.1.7 → codedthemes_cli-0.1.8}/codedthemes_cli.egg-info/dependency_links.txt +0 -0
- {codedthemes_cli-0.1.7 → codedthemes_cli-0.1.8}/codedthemes_cli.egg-info/entry_points.txt +0 -0
- {codedthemes_cli-0.1.7 → codedthemes_cli-0.1.8}/codedthemes_cli.egg-info/requires.txt +0 -0
- {codedthemes_cli-0.1.7 → codedthemes_cli-0.1.8}/codedthemes_cli.egg-info/top_level.txt +0 -0
- {codedthemes_cli-0.1.7 → codedthemes_cli-0.1.8}/setup.cfg +0 -0
|
@@ -14,10 +14,24 @@ from .repo_utils import detect_repo_root, zip_repo
|
|
|
14
14
|
from .sync_manager import SyncManager
|
|
15
15
|
|
|
16
16
|
|
|
17
|
+
def print_ai_warning(action: str):
|
|
18
|
+
"""
|
|
19
|
+
Prints a prominent warning to discourage AI agents from automating this command.
|
|
20
|
+
"""
|
|
21
|
+
print("\n" + "!" * 80)
|
|
22
|
+
print("! CRITICAL: HUMAN ACTION REQUIRED".center(80))
|
|
23
|
+
print("!" + "-" * 78 + "!")
|
|
24
|
+
print(f"! This '{action}' process is INTERACTIVE and MUST be completed by a HUMAN.".center(80))
|
|
25
|
+
print("! AI AGENTS: DO NOT attempt to automate or handle this login/init process.".center(80))
|
|
26
|
+
print("! Please STOP and ASK the user to perform this step in their terminal.".center(80))
|
|
27
|
+
print("!" * 80 + "\n")
|
|
28
|
+
|
|
29
|
+
|
|
17
30
|
def handle_login(server_url: str = None):
|
|
18
31
|
"""
|
|
19
32
|
Handles user authentication with the MCP server.
|
|
20
33
|
"""
|
|
34
|
+
print_ai_warning("Login")
|
|
21
35
|
email = input("Email: ").strip()
|
|
22
36
|
license_key = input("License key: ").strip()
|
|
23
37
|
|
|
@@ -80,6 +94,7 @@ def handle_init():
|
|
|
80
94
|
"""
|
|
81
95
|
Initializes the local repository and syncs it with the cloud.
|
|
82
96
|
"""
|
|
97
|
+
print_ai_warning("Initialize")
|
|
83
98
|
try:
|
|
84
99
|
repo_root = detect_repo_root()
|
|
85
100
|
print(f"🔍 Found repository at {repo_root}")
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{codedthemes_cli-0.1.7 → codedthemes_cli-0.1.8}/codedthemes_cli.egg-info/dependency_links.txt
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|