code-aide 1.11.4__tar.gz → 1.11.5__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.
- {code_aide-1.11.4 → code_aide-1.11.5}/PKG-INFO +1 -1
- {code_aide-1.11.4 → code_aide-1.11.5}/src/code_aide/__init__.py +1 -1
- {code_aide-1.11.4 → code_aide-1.11.5}/src/code_aide/constants.py +40 -6
- {code_aide-1.11.4 → code_aide-1.11.5}/.github/workflows/ci.yml +0 -0
- {code_aide-1.11.4 → code_aide-1.11.5}/.github/workflows/publish.yml +0 -0
- {code_aide-1.11.4 → code_aide-1.11.5}/.gitignore +0 -0
- {code_aide-1.11.4 → code_aide-1.11.5}/.gitlab-ci.yml +0 -0
- {code_aide-1.11.4 → code_aide-1.11.5}/.pre-commit-config.yaml +0 -0
- {code_aide-1.11.4 → code_aide-1.11.5}/AGENTS.md +0 -0
- {code_aide-1.11.4 → code_aide-1.11.5}/CLAUDE.md +0 -0
- {code_aide-1.11.4 → code_aide-1.11.5}/LICENSE +0 -0
- {code_aide-1.11.4 → code_aide-1.11.5}/README.md +0 -0
- {code_aide-1.11.4 → code_aide-1.11.5}/TODO.md +0 -0
- {code_aide-1.11.4 → code_aide-1.11.5}/pyproject.toml +0 -0
- {code_aide-1.11.4 → code_aide-1.11.5}/script-archive/README.md +0 -0
- {code_aide-1.11.4 → code_aide-1.11.5}/script-archive/amp-install.sh +0 -0
- {code_aide-1.11.4 → code_aide-1.11.5}/script-archive/claude-install.sh +0 -0
- {code_aide-1.11.4 → code_aide-1.11.5}/script-archive/cursor-install.sh +0 -0
- {code_aide-1.11.4 → code_aide-1.11.5}/specs/auto-migrate-deprecated-installs.md +0 -0
- {code_aide-1.11.4 → code_aide-1.11.5}/specs/claude-native-installer-migration.md +0 -0
- {code_aide-1.11.4 → code_aide-1.11.5}/specs/missing-coding-llm-cli-tools.md +0 -0
- {code_aide-1.11.4 → code_aide-1.11.5}/specs/pre-commit-uv-setup.md +0 -0
- {code_aide-1.11.4 → code_aide-1.11.5}/specs/remove-bundled-version-baseline.md +0 -0
- {code_aide-1.11.4 → code_aide-1.11.5}/specs/unify-upgrade-eligibility-with-shared-evaluator.md +0 -0
- {code_aide-1.11.4 → code_aide-1.11.5}/src/code_aide/__main__.py +0 -0
- {code_aide-1.11.4 → code_aide-1.11.5}/src/code_aide/commands_actions.py +0 -0
- {code_aide-1.11.4 → code_aide-1.11.5}/src/code_aide/commands_tools.py +0 -0
- {code_aide-1.11.4 → code_aide-1.11.5}/src/code_aide/config.py +0 -0
- {code_aide-1.11.4 → code_aide-1.11.5}/src/code_aide/console.py +0 -0
- {code_aide-1.11.4 → code_aide-1.11.5}/src/code_aide/data/tools.json +0 -0
- {code_aide-1.11.4 → code_aide-1.11.5}/src/code_aide/detection.py +0 -0
- {code_aide-1.11.4 → code_aide-1.11.5}/src/code_aide/entry.py +0 -0
- {code_aide-1.11.4 → code_aide-1.11.5}/src/code_aide/install.py +0 -0
- {code_aide-1.11.4 → code_aide-1.11.5}/src/code_aide/install_types.py +0 -0
- {code_aide-1.11.4 → code_aide-1.11.5}/src/code_aide/operations.py +0 -0
- {code_aide-1.11.4 → code_aide-1.11.5}/src/code_aide/prereqs.py +0 -0
- {code_aide-1.11.4 → code_aide-1.11.5}/src/code_aide/status.py +0 -0
- {code_aide-1.11.4 → code_aide-1.11.5}/src/code_aide/versions.py +0 -0
- {code_aide-1.11.4 → code_aide-1.11.5}/tests/test_commands_actions.py +0 -0
- {code_aide-1.11.4 → code_aide-1.11.5}/tests/test_commands_tools.py +0 -0
- {code_aide-1.11.4 → code_aide-1.11.5}/tests/test_config.py +0 -0
- {code_aide-1.11.4 → code_aide-1.11.5}/tests/test_console.py +0 -0
- {code_aide-1.11.4 → code_aide-1.11.5}/tests/test_constants.py +0 -0
- {code_aide-1.11.4 → code_aide-1.11.5}/tests/test_detection.py +0 -0
- {code_aide-1.11.4 → code_aide-1.11.5}/tests/test_install.py +0 -0
- {code_aide-1.11.4 → code_aide-1.11.5}/tests/test_install_types.py +0 -0
- {code_aide-1.11.4 → code_aide-1.11.5}/tests/test_operations.py +0 -0
- {code_aide-1.11.4 → code_aide-1.11.5}/tests/test_status.py +0 -0
- {code_aide-1.11.4 → code_aide-1.11.5}/tests/test_versions.py +0 -0
- {code_aide-1.11.4 → code_aide-1.11.5}/uv.lock +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: code-aide
|
|
3
|
-
Version: 1.11.
|
|
3
|
+
Version: 1.11.5
|
|
4
4
|
Summary: Manage AI coding CLI tools (Claude, Copilot, Cursor, Gemini, Amp, Codex)
|
|
5
5
|
Project-URL: Homepage, https://github.com/dajobe/code-aide
|
|
6
6
|
Project-URL: Repository, https://github.com/dajobe/code-aide
|
|
@@ -1,17 +1,51 @@
|
|
|
1
1
|
"""Shared constants and mutable tool configuration for CLI modules."""
|
|
2
2
|
|
|
3
|
+
import os
|
|
4
|
+
import sys
|
|
3
5
|
from typing import Any, Dict
|
|
4
6
|
|
|
5
7
|
from code_aide.config import load_tools_config
|
|
6
8
|
|
|
7
9
|
|
|
10
|
+
def _use_color() -> bool:
|
|
11
|
+
"""Determine whether to emit ANSI color codes.
|
|
12
|
+
|
|
13
|
+
Checks (in priority order):
|
|
14
|
+
NO_COLOR — if set (any value), no color (https://no-color.org/)
|
|
15
|
+
FORCE_COLOR — if set (any value), force color
|
|
16
|
+
CLICOLOR_FORCE — if non-empty, force color
|
|
17
|
+
TERM=dumb — no color
|
|
18
|
+
CLICOLOR=0 — no color
|
|
19
|
+
stdout is not a TTY — no color
|
|
20
|
+
"""
|
|
21
|
+
if os.environ.get("NO_COLOR") is not None:
|
|
22
|
+
return False
|
|
23
|
+
if os.environ.get("FORCE_COLOR") is not None:
|
|
24
|
+
return True
|
|
25
|
+
if os.environ.get("CLICOLOR_FORCE", ""):
|
|
26
|
+
return True
|
|
27
|
+
if os.environ.get("TERM") == "dumb":
|
|
28
|
+
return False
|
|
29
|
+
if os.environ.get("CLICOLOR") == "0":
|
|
30
|
+
return False
|
|
31
|
+
return sys.stdout.isatty()
|
|
32
|
+
|
|
33
|
+
|
|
8
34
|
class Colors:
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
35
|
+
if _use_color():
|
|
36
|
+
RED = "\033[0;31m"
|
|
37
|
+
GREEN = "\033[0;32m"
|
|
38
|
+
YELLOW = "\033[1;33m"
|
|
39
|
+
BLUE = "\033[0;34m"
|
|
40
|
+
BOLD = "\033[1m"
|
|
41
|
+
NC = "\033[0m"
|
|
42
|
+
else:
|
|
43
|
+
RED = ""
|
|
44
|
+
GREEN = ""
|
|
45
|
+
YELLOW = ""
|
|
46
|
+
BLUE = ""
|
|
47
|
+
BOLD = ""
|
|
48
|
+
NC = ""
|
|
15
49
|
|
|
16
50
|
|
|
17
51
|
PACKAGE_MANAGERS: Dict[str, Dict[str, Any]] = {
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{code_aide-1.11.4 → code_aide-1.11.5}/specs/unify-upgrade-eligibility-with-shared-evaluator.md
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|