code-aide 1.21.0__tar.gz → 1.21.1__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.21.0 → code_aide-1.21.1}/PKG-INFO +1 -1
- {code_aide-1.21.0 → code_aide-1.21.1}/TODO.md +18 -0
- {code_aide-1.21.0 → code_aide-1.21.1}/script-archive/claude-install.sh +2 -1
- {code_aide-1.21.0 → code_aide-1.21.1}/src/code_aide/__init__.py +1 -1
- {code_aide-1.21.0 → code_aide-1.21.1}/src/code_aide/commands_actions.py +1 -1
- {code_aide-1.21.0 → code_aide-1.21.1}/src/code_aide/data/tools.json +1 -1
- {code_aide-1.21.0 → code_aide-1.21.1}/tests/test_commands_actions.py +35 -3
- {code_aide-1.21.0 → code_aide-1.21.1}/.github/workflows/ci.yml +0 -0
- {code_aide-1.21.0 → code_aide-1.21.1}/.github/workflows/publish.yml +0 -0
- {code_aide-1.21.0 → code_aide-1.21.1}/.gitignore +0 -0
- {code_aide-1.21.0 → code_aide-1.21.1}/.gitlab-ci.yml +0 -0
- {code_aide-1.21.0 → code_aide-1.21.1}/.pre-commit-config.yaml +0 -0
- {code_aide-1.21.0 → code_aide-1.21.1}/AGENTS.md +0 -0
- {code_aide-1.21.0 → code_aide-1.21.1}/CLAUDE.md +0 -0
- {code_aide-1.21.0 → code_aide-1.21.1}/LICENSE +0 -0
- {code_aide-1.21.0 → code_aide-1.21.1}/Makefile +0 -0
- {code_aide-1.21.0 → code_aide-1.21.1}/README.md +0 -0
- {code_aide-1.21.0 → code_aide-1.21.1}/pyproject.toml +0 -0
- {code_aide-1.21.0 → code_aide-1.21.1}/script-archive/README.md +0 -0
- {code_aide-1.21.0 → code_aide-1.21.1}/script-archive/amp-install.sh +0 -0
- {code_aide-1.21.0 → code_aide-1.21.1}/script-archive/antigravity-install.sh +0 -0
- {code_aide-1.21.0 → code_aide-1.21.1}/script-archive/cursor-install.sh +0 -0
- {code_aide-1.21.0 → code_aide-1.21.1}/specs/2026-05-03-qwen3.6-code-quality-analysis-original.md +0 -0
- {code_aide-1.21.0 → code_aide-1.21.1}/specs/2026-05-03-qwen3.6-code-quality-analysis.md +0 -0
- {code_aide-1.21.0 → code_aide-1.21.1}/specs/antigravity-cli-integration.md +0 -0
- {code_aide-1.21.0 → code_aide-1.21.1}/specs/auto-migrate-deprecated-installs.md +0 -0
- {code_aide-1.21.0 → code_aide-1.21.1}/specs/claude-native-installer-migration.md +0 -0
- {code_aide-1.21.0 → code_aide-1.21.1}/specs/missing-coding-llm-cli-tools.md +0 -0
- {code_aide-1.21.0 → code_aide-1.21.1}/specs/pre-commit-uv-setup.md +0 -0
- {code_aide-1.21.0 → code_aide-1.21.1}/specs/remove-bundled-version-baseline.md +0 -0
- {code_aide-1.21.0 → code_aide-1.21.1}/specs/unify-upgrade-eligibility-with-shared-evaluator.md +0 -0
- {code_aide-1.21.0 → code_aide-1.21.1}/src/code_aide/__main__.py +0 -0
- {code_aide-1.21.0 → code_aide-1.21.1}/src/code_aide/app_bundle.py +0 -0
- {code_aide-1.21.0 → code_aide-1.21.1}/src/code_aide/commands_tools.py +0 -0
- {code_aide-1.21.0 → code_aide-1.21.1}/src/code_aide/config.py +0 -0
- {code_aide-1.21.0 → code_aide-1.21.1}/src/code_aide/console.py +0 -0
- {code_aide-1.21.0 → code_aide-1.21.1}/src/code_aide/constants.py +0 -0
- {code_aide-1.21.0 → code_aide-1.21.1}/src/code_aide/detection.py +0 -0
- {code_aide-1.21.0 → code_aide-1.21.1}/src/code_aide/detection_types.py +0 -0
- {code_aide-1.21.0 → code_aide-1.21.1}/src/code_aide/entry.py +0 -0
- {code_aide-1.21.0 → code_aide-1.21.1}/src/code_aide/install.py +0 -0
- {code_aide-1.21.0 → code_aide-1.21.1}/src/code_aide/install_types.py +0 -0
- {code_aide-1.21.0 → code_aide-1.21.1}/src/code_aide/macos_quarantine.py +0 -0
- {code_aide-1.21.0 → code_aide-1.21.1}/src/code_aide/npm_cache.py +0 -0
- {code_aide-1.21.0 → code_aide-1.21.1}/src/code_aide/operation_handlers.py +0 -0
- {code_aide-1.21.0 → code_aide-1.21.1}/src/code_aide/operations.py +0 -0
- {code_aide-1.21.0 → code_aide-1.21.1}/src/code_aide/package_info.py +0 -0
- {code_aide-1.21.0 → code_aide-1.21.1}/src/code_aide/package_managers.py +0 -0
- {code_aide-1.21.0 → code_aide-1.21.1}/src/code_aide/path_copies.py +0 -0
- {code_aide-1.21.0 → code_aide-1.21.1}/src/code_aide/prereqs.py +0 -0
- {code_aide-1.21.0 → code_aide-1.21.1}/src/code_aide/release_assets.py +0 -0
- {code_aide-1.21.0 → code_aide-1.21.1}/src/code_aide/status.py +0 -0
- {code_aide-1.21.0 → code_aide-1.21.1}/src/code_aide/status_print.py +0 -0
- {code_aide-1.21.0 → code_aide-1.21.1}/src/code_aide/tool_groups.py +0 -0
- {code_aide-1.21.0 → code_aide-1.21.1}/src/code_aide/versions.py +0 -0
- {code_aide-1.21.0 → code_aide-1.21.1}/tests/conftest.py +0 -0
- {code_aide-1.21.0 → code_aide-1.21.1}/tests/test_app_bundle.py +0 -0
- {code_aide-1.21.0 → code_aide-1.21.1}/tests/test_commands_tools.py +0 -0
- {code_aide-1.21.0 → code_aide-1.21.1}/tests/test_config.py +0 -0
- {code_aide-1.21.0 → code_aide-1.21.1}/tests/test_console.py +0 -0
- {code_aide-1.21.0 → code_aide-1.21.1}/tests/test_constants.py +0 -0
- {code_aide-1.21.0 → code_aide-1.21.1}/tests/test_detection.py +0 -0
- {code_aide-1.21.0 → code_aide-1.21.1}/tests/test_entry.py +0 -0
- {code_aide-1.21.0 → code_aide-1.21.1}/tests/test_error_paths.py +0 -0
- {code_aide-1.21.0 → code_aide-1.21.1}/tests/test_install.py +0 -0
- {code_aide-1.21.0 → code_aide-1.21.1}/tests/test_install_types.py +0 -0
- {code_aide-1.21.0 → code_aide-1.21.1}/tests/test_macos_quarantine.py +0 -0
- {code_aide-1.21.0 → code_aide-1.21.1}/tests/test_npm_cache.py +0 -0
- {code_aide-1.21.0 → code_aide-1.21.1}/tests/test_operations.py +0 -0
- {code_aide-1.21.0 → code_aide-1.21.1}/tests/test_package_info.py +0 -0
- {code_aide-1.21.0 → code_aide-1.21.1}/tests/test_package_managers.py +0 -0
- {code_aide-1.21.0 → code_aide-1.21.1}/tests/test_path_copies.py +0 -0
- {code_aide-1.21.0 → code_aide-1.21.1}/tests/test_prereqs.py +0 -0
- {code_aide-1.21.0 → code_aide-1.21.1}/tests/test_quarantine_integration.py +0 -0
- {code_aide-1.21.0 → code_aide-1.21.1}/tests/test_release_assets.py +0 -0
- {code_aide-1.21.0 → code_aide-1.21.1}/tests/test_status.py +0 -0
- {code_aide-1.21.0 → code_aide-1.21.1}/tests/test_versions.py +0 -0
- {code_aide-1.21.0 → code_aide-1.21.1}/uv.lock +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.5
|
|
2
2
|
Name: code-aide
|
|
3
|
-
Version: 1.21.
|
|
3
|
+
Version: 1.21.1
|
|
4
4
|
Summary: Manage AI coding CLI tools (Claude, Antigravity, 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
|
|
@@ -11,6 +11,7 @@ All items below are deferred; none are scheduled.
|
|
|
11
11
|
| 2 | Cross-distro package detection | Med | High | Only Gentoo supported; other Linux distros get nothing |
|
|
12
12
|
| 3 | Split large modules | Low | High | Refactoring only; no behavior change |
|
|
13
13
|
| 4 | Tests for edge cases | Med | Med | PATH oddities, more version parsing corners |
|
|
14
|
+
| 5 | Stop Antigravity profile edits | Low | Med | Installer appends PATH lines to shell profiles |
|
|
14
15
|
|
|
15
16
|
## CLI and Automation UX
|
|
16
17
|
|
|
@@ -23,6 +24,23 @@ All items below are deferred; none are scheduled.
|
|
|
23
24
|
where practical; note that non-Gentoo system installs currently report "up to
|
|
24
25
|
date" because no available version is detectable.
|
|
25
26
|
|
|
27
|
+
## Installer Side Effects
|
|
28
|
+
|
|
29
|
+
- [ ] Figure out a way to stop the Antigravity CLI installer from editing shell
|
|
30
|
+
profiles. Installing `agy` appended `# Added by Antigravity CLI installer` and
|
|
31
|
+
`export PATH="$HOME/.local/bin:$PATH"` to `~/.bash_profile` and `~/.profile`.
|
|
32
|
+
On hosts where those files are symlinks into a dotfiles repository, this
|
|
33
|
+
dirties the repository and duplicates a PATH entry the dotfiles already set.
|
|
34
|
+
- `install.sh` itself does not touch profiles; its last step runs `agy
|
|
35
|
+
install` (or `agy install --dir DIR`) with no way to pass flags through.
|
|
36
|
+
- `agy install` accepts `--skip-path` (no PATH appending) and `--skip-aliases`
|
|
37
|
+
(no alias purging), so the fix is likely to get that call made with
|
|
38
|
+
`--skip-path`: for example, replicate the script's download, checksum, and
|
|
39
|
+
extract steps in code-aide and run `agy install --skip-path` ourselves, or
|
|
40
|
+
ask upstream to honor a flag or environment variable in `install.sh`.
|
|
41
|
+
- Check whether `agy` self-updates (`self_updates: true`) re-run the profile
|
|
42
|
+
step, and whether `code-aide upgrade` hits the same path.
|
|
43
|
+
|
|
26
44
|
## Maintainability and Tests
|
|
27
45
|
|
|
28
46
|
- [ ] Split larger modules into smaller focused files where practical
|
|
@@ -223,7 +223,8 @@ chmod +x "$binary_path"
|
|
|
223
223
|
# Run claude install to set up launcher and shell integration
|
|
224
224
|
echo "Setting up Claude Code..."
|
|
225
225
|
install_code=0
|
|
226
|
-
|
|
226
|
+
# From the download folder, so the result doesn't depend on where the script was started
|
|
227
|
+
(cd "$DOWNLOAD_DIR" && exec "$binary_path" install ${TARGET:+"$TARGET"}) || install_code=$?
|
|
227
228
|
|
|
228
229
|
# Clean up downloaded file
|
|
229
230
|
rm -f "$binary_path"
|
|
@@ -154,7 +154,7 @@ def cmd_upgrade(args: argparse.Namespace) -> None:
|
|
|
154
154
|
if tools_to_upgrade:
|
|
155
155
|
info(f"Upgrading out-of-date tools: {', '.join(tools_to_upgrade)}")
|
|
156
156
|
else:
|
|
157
|
-
info("
|
|
157
|
+
info("No tools are eligible for automatic upgrade")
|
|
158
158
|
return
|
|
159
159
|
|
|
160
160
|
tools_to_upgrade = resolve_tool_names(tools_to_upgrade, TOOLS)
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
"macos_quarantine_paths": [
|
|
37
37
|
"~/.local/bin/claude"
|
|
38
38
|
],
|
|
39
|
-
"install_sha256": "
|
|
39
|
+
"install_sha256": "2c5506d110560bf618bbe88f678f2c2a0047c86a9c6585fc84976120b1de0b44",
|
|
40
40
|
"version_url": "https://storage.googleapis.com/claude-code-dist-86c565f3-f756-42ad-8dfa-d59b1c096819/claude-code-releases/latest",
|
|
41
41
|
"prerequisites": [],
|
|
42
42
|
"min_node_version": null,
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
"""Unit tests for mutating CLI commands."""
|
|
2
2
|
|
|
3
|
+
import argparse
|
|
3
4
|
import contextlib
|
|
4
5
|
import io
|
|
5
6
|
import sys
|
|
@@ -387,7 +388,7 @@ class TestCmdUpgrade(unittest.TestCase):
|
|
|
387
388
|
commands_actions.cmd_upgrade(args)
|
|
388
389
|
|
|
389
390
|
output = buf.getvalue()
|
|
390
|
-
self.assertIn("
|
|
391
|
+
self.assertIn("No tools are eligible for automatic upgrade", output)
|
|
391
392
|
mock_upgrade.assert_not_called()
|
|
392
393
|
|
|
393
394
|
def test_default_upgrade_skips_tool_when_installed_is_newer_than_catalog(self):
|
|
@@ -421,7 +422,38 @@ class TestCmdUpgrade(unittest.TestCase):
|
|
|
421
422
|
commands_actions.cmd_upgrade(args)
|
|
422
423
|
|
|
423
424
|
output = buf.getvalue()
|
|
424
|
-
self.assertIn("
|
|
425
|
+
self.assertIn("No tools are eligible for automatic upgrade", output)
|
|
426
|
+
mock_upgrade.assert_not_called()
|
|
427
|
+
|
|
428
|
+
def test_default_upgrade_skips_outdated_self_updating_tool(self):
|
|
429
|
+
tools = {
|
|
430
|
+
"selfup": {
|
|
431
|
+
"name": "Self-updating Tool",
|
|
432
|
+
"command": "selfup",
|
|
433
|
+
"install_type": "script",
|
|
434
|
+
"latest_version": "2.0.0",
|
|
435
|
+
"self_updates": True,
|
|
436
|
+
}
|
|
437
|
+
}
|
|
438
|
+
args = argparse.Namespace(tools=[])
|
|
439
|
+
|
|
440
|
+
with (
|
|
441
|
+
mock.patch.dict(constants._TOOLS_DATA, tools, clear=True),
|
|
442
|
+
mock.patch.object(commands_actions, "ensure_versions_cache"),
|
|
443
|
+
mock.patch(
|
|
444
|
+
"code_aide.status.detect_install_method",
|
|
445
|
+
return_value={"method": "script", "detail": None},
|
|
446
|
+
),
|
|
447
|
+
mock.patch(
|
|
448
|
+
"code_aide.status.get_tool_status",
|
|
449
|
+
return_value={"installed": True, "version": "1.0.0"},
|
|
450
|
+
),
|
|
451
|
+
mock.patch.object(commands_actions, "upgrade_tool") as mock_upgrade,
|
|
452
|
+
contextlib.redirect_stdout(io.StringIO()) as output,
|
|
453
|
+
):
|
|
454
|
+
commands_actions.cmd_upgrade(args)
|
|
455
|
+
|
|
456
|
+
self.assertIn("No tools are eligible for automatic upgrade", output.getvalue())
|
|
425
457
|
mock_upgrade.assert_not_called()
|
|
426
458
|
|
|
427
459
|
def test_default_upgrade_skips_system_managed_tool(self):
|
|
@@ -462,7 +494,7 @@ class TestCmdUpgrade(unittest.TestCase):
|
|
|
462
494
|
commands_actions.cmd_upgrade(args)
|
|
463
495
|
|
|
464
496
|
output = buf.getvalue()
|
|
465
|
-
self.assertIn("
|
|
497
|
+
self.assertIn("No tools are eligible for automatic upgrade", output)
|
|
466
498
|
mock_upgrade.assert_not_called()
|
|
467
499
|
|
|
468
500
|
def test_default_upgrade_refreshes_versions_cache(self):
|
|
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.21.0 → code_aide-1.21.1}/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
|
|
File without changes
|
{code_aide-1.21.0 → code_aide-1.21.1}/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
|
|
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
|