code-aide 1.15.3__tar.gz → 1.15.4__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.15.3 → code_aide-1.15.4}/PKG-INFO +1 -1
- {code_aide-1.15.3 → code_aide-1.15.4}/src/code_aide/__init__.py +1 -1
- {code_aide-1.15.3 → code_aide-1.15.4}/src/code_aide/data/tools.json +1 -1
- {code_aide-1.15.3 → code_aide-1.15.4}/src/code_aide/versions.py +8 -3
- {code_aide-1.15.3 → code_aide-1.15.4}/tests/test_versions.py +19 -0
- {code_aide-1.15.3 → code_aide-1.15.4}/.github/workflows/ci.yml +0 -0
- {code_aide-1.15.3 → code_aide-1.15.4}/.github/workflows/publish.yml +0 -0
- {code_aide-1.15.3 → code_aide-1.15.4}/.gitignore +0 -0
- {code_aide-1.15.3 → code_aide-1.15.4}/.gitlab-ci.yml +0 -0
- {code_aide-1.15.3 → code_aide-1.15.4}/.pre-commit-config.yaml +0 -0
- {code_aide-1.15.3 → code_aide-1.15.4}/AGENTS.md +0 -0
- {code_aide-1.15.3 → code_aide-1.15.4}/CLAUDE.md +0 -0
- {code_aide-1.15.3 → code_aide-1.15.4}/LICENSE +0 -0
- {code_aide-1.15.3 → code_aide-1.15.4}/README.md +0 -0
- {code_aide-1.15.3 → code_aide-1.15.4}/TODO.md +0 -0
- {code_aide-1.15.3 → code_aide-1.15.4}/pyproject.toml +0 -0
- {code_aide-1.15.3 → code_aide-1.15.4}/script-archive/README.md +0 -0
- {code_aide-1.15.3 → code_aide-1.15.4}/script-archive/amp-install.sh +0 -0
- {code_aide-1.15.3 → code_aide-1.15.4}/script-archive/claude-install.sh +0 -0
- {code_aide-1.15.3 → code_aide-1.15.4}/script-archive/cursor-install.sh +0 -0
- {code_aide-1.15.3 → code_aide-1.15.4}/specs/2026-05-03-qwen3.6-code-quality-analysis-original.md +0 -0
- {code_aide-1.15.3 → code_aide-1.15.4}/specs/2026-05-03-qwen3.6-code-quality-analysis.md +0 -0
- {code_aide-1.15.3 → code_aide-1.15.4}/specs/auto-migrate-deprecated-installs.md +0 -0
- {code_aide-1.15.3 → code_aide-1.15.4}/specs/claude-native-installer-migration.md +0 -0
- {code_aide-1.15.3 → code_aide-1.15.4}/specs/missing-coding-llm-cli-tools.md +0 -0
- {code_aide-1.15.3 → code_aide-1.15.4}/specs/pre-commit-uv-setup.md +0 -0
- {code_aide-1.15.3 → code_aide-1.15.4}/specs/remove-bundled-version-baseline.md +0 -0
- {code_aide-1.15.3 → code_aide-1.15.4}/specs/unify-upgrade-eligibility-with-shared-evaluator.md +0 -0
- {code_aide-1.15.3 → code_aide-1.15.4}/src/code_aide/__main__.py +0 -0
- {code_aide-1.15.3 → code_aide-1.15.4}/src/code_aide/commands_actions.py +0 -0
- {code_aide-1.15.3 → code_aide-1.15.4}/src/code_aide/commands_tools.py +0 -0
- {code_aide-1.15.3 → code_aide-1.15.4}/src/code_aide/config.py +0 -0
- {code_aide-1.15.3 → code_aide-1.15.4}/src/code_aide/console.py +0 -0
- {code_aide-1.15.3 → code_aide-1.15.4}/src/code_aide/constants.py +0 -0
- {code_aide-1.15.3 → code_aide-1.15.4}/src/code_aide/detection.py +0 -0
- {code_aide-1.15.3 → code_aide-1.15.4}/src/code_aide/detection_types.py +0 -0
- {code_aide-1.15.3 → code_aide-1.15.4}/src/code_aide/entry.py +0 -0
- {code_aide-1.15.3 → code_aide-1.15.4}/src/code_aide/install.py +0 -0
- {code_aide-1.15.3 → code_aide-1.15.4}/src/code_aide/install_types.py +0 -0
- {code_aide-1.15.3 → code_aide-1.15.4}/src/code_aide/operation_handlers.py +0 -0
- {code_aide-1.15.3 → code_aide-1.15.4}/src/code_aide/operations.py +0 -0
- {code_aide-1.15.3 → code_aide-1.15.4}/src/code_aide/package_info.py +0 -0
- {code_aide-1.15.3 → code_aide-1.15.4}/src/code_aide/package_managers.py +0 -0
- {code_aide-1.15.3 → code_aide-1.15.4}/src/code_aide/prereqs.py +0 -0
- {code_aide-1.15.3 → code_aide-1.15.4}/src/code_aide/status.py +0 -0
- {code_aide-1.15.3 → code_aide-1.15.4}/src/code_aide/status_print.py +0 -0
- {code_aide-1.15.3 → code_aide-1.15.4}/tests/test_commands_actions.py +0 -0
- {code_aide-1.15.3 → code_aide-1.15.4}/tests/test_commands_tools.py +0 -0
- {code_aide-1.15.3 → code_aide-1.15.4}/tests/test_config.py +0 -0
- {code_aide-1.15.3 → code_aide-1.15.4}/tests/test_console.py +0 -0
- {code_aide-1.15.3 → code_aide-1.15.4}/tests/test_constants.py +0 -0
- {code_aide-1.15.3 → code_aide-1.15.4}/tests/test_detection.py +0 -0
- {code_aide-1.15.3 → code_aide-1.15.4}/tests/test_entry.py +0 -0
- {code_aide-1.15.3 → code_aide-1.15.4}/tests/test_error_paths.py +0 -0
- {code_aide-1.15.3 → code_aide-1.15.4}/tests/test_install.py +0 -0
- {code_aide-1.15.3 → code_aide-1.15.4}/tests/test_install_types.py +0 -0
- {code_aide-1.15.3 → code_aide-1.15.4}/tests/test_operations.py +0 -0
- {code_aide-1.15.3 → code_aide-1.15.4}/tests/test_package_managers.py +0 -0
- {code_aide-1.15.3 → code_aide-1.15.4}/tests/test_prereqs.py +0 -0
- {code_aide-1.15.3 → code_aide-1.15.4}/tests/test_status.py +0 -0
- {code_aide-1.15.3 → code_aide-1.15.4}/uv.lock +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: code-aide
|
|
3
|
-
Version: 1.15.
|
|
3
|
+
Version: 1.15.4
|
|
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
|
|
@@ -68,7 +68,7 @@
|
|
|
68
68
|
"install_script_path_prepend": [
|
|
69
69
|
"~/.local/bin"
|
|
70
70
|
],
|
|
71
|
-
"version_url": "https://
|
|
71
|
+
"version_url": "https://static.ampcode.com/cli/cli-version.txt",
|
|
72
72
|
"prerequisites": [],
|
|
73
73
|
"min_node_version": null,
|
|
74
74
|
"next_steps": "Run 'amp login' to authenticate",
|
|
@@ -205,9 +205,14 @@ def extract_script_version(
|
|
|
205
205
|
r"VERSION='([^']+)'",
|
|
206
206
|
r"VERSION=(\S+)",
|
|
207
207
|
]:
|
|
208
|
-
match
|
|
209
|
-
|
|
210
|
-
|
|
208
|
+
for match in re.finditer(pattern, text):
|
|
209
|
+
candidate = match.group(1)
|
|
210
|
+
# Skip shell-variable placeholders such as the literal
|
|
211
|
+
# ${AMP_VERSION:-} in `AMP_VERSION="${AMP_VERSION:-}"`; a real
|
|
212
|
+
# version string never contains shell expansion characters.
|
|
213
|
+
if "$" in candidate or "{" in candidate:
|
|
214
|
+
continue
|
|
215
|
+
return candidate
|
|
211
216
|
|
|
212
217
|
return None
|
|
213
218
|
|
|
@@ -304,3 +304,22 @@ class TestExtractScriptVersion(unittest.TestCase):
|
|
|
304
304
|
self.assertIsNone(
|
|
305
305
|
cli_versions.extract_script_version("cursor", {}, b"echo hello")
|
|
306
306
|
)
|
|
307
|
+
|
|
308
|
+
def test_skips_shell_variable_placeholder(self):
|
|
309
|
+
# The amp script declares AMP_VERSION="${AMP_VERSION:-}"; the literal
|
|
310
|
+
# placeholder must not be returned as a version.
|
|
311
|
+
script = b'AMP_VERSION="${AMP_VERSION:-}"\n'
|
|
312
|
+
self.assertIsNone(cli_versions.extract_script_version("amp", {}, script))
|
|
313
|
+
|
|
314
|
+
def test_returns_real_version_after_placeholder(self):
|
|
315
|
+
script = b'AMP_VERSION="${AMP_VERSION:-}"\nVERSION="1.2.3"\n'
|
|
316
|
+
self.assertEqual(
|
|
317
|
+
cli_versions.extract_script_version("amp", {}, script),
|
|
318
|
+
"1.2.3",
|
|
319
|
+
)
|
|
320
|
+
|
|
321
|
+
def test_plain_version_assignment(self):
|
|
322
|
+
self.assertEqual(
|
|
323
|
+
cli_versions.extract_script_version("amp", {}, b'VERSION="2.0.1"\n'),
|
|
324
|
+
"2.0.1",
|
|
325
|
+
)
|
|
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.15.3 → code_aide-1.15.4}/specs/2026-05-03-qwen3.6-code-quality-analysis-original.md
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{code_aide-1.15.3 → code_aide-1.15.4}/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
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|