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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: codedthemes-cli
3
- Version: 0.1.7
3
+ Version: 0.1.8
4
4
  Summary: CLI tool for Code Theme and Integration
5
5
  Author: codedthemes
6
6
  Requires-Python: >=3.10
@@ -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}")
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: codedthemes-cli
3
- Version: 0.1.7
3
+ Version: 0.1.8
4
4
  Summary: CLI tool for Code Theme and Integration
5
5
  Author: codedthemes
6
6
  Requires-Python: >=3.10
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "codedthemes-cli"
7
- version = "0.1.7"
7
+ version = "0.1.8"
8
8
  description = "CLI tool for Code Theme and Integration"
9
9
  readme = "README.md"
10
10
  requires-python = ">=3.10"