code-aide 1.16.0__tar.gz → 1.16.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.
Files changed (63) hide show
  1. {code_aide-1.16.0 → code_aide-1.16.1}/PKG-INFO +1 -1
  2. {code_aide-1.16.0 → code_aide-1.16.1}/script-archive/claude-install.sh +24 -0
  3. {code_aide-1.16.0 → code_aide-1.16.1}/src/code_aide/__init__.py +1 -1
  4. {code_aide-1.16.0 → code_aide-1.16.1}/src/code_aide/data/tools.json +1 -1
  5. {code_aide-1.16.0 → code_aide-1.16.1}/.github/workflows/ci.yml +0 -0
  6. {code_aide-1.16.0 → code_aide-1.16.1}/.github/workflows/publish.yml +0 -0
  7. {code_aide-1.16.0 → code_aide-1.16.1}/.gitignore +0 -0
  8. {code_aide-1.16.0 → code_aide-1.16.1}/.gitlab-ci.yml +0 -0
  9. {code_aide-1.16.0 → code_aide-1.16.1}/.pre-commit-config.yaml +0 -0
  10. {code_aide-1.16.0 → code_aide-1.16.1}/AGENTS.md +0 -0
  11. {code_aide-1.16.0 → code_aide-1.16.1}/CLAUDE.md +0 -0
  12. {code_aide-1.16.0 → code_aide-1.16.1}/LICENSE +0 -0
  13. {code_aide-1.16.0 → code_aide-1.16.1}/README.md +0 -0
  14. {code_aide-1.16.0 → code_aide-1.16.1}/TODO.md +0 -0
  15. {code_aide-1.16.0 → code_aide-1.16.1}/pyproject.toml +0 -0
  16. {code_aide-1.16.0 → code_aide-1.16.1}/script-archive/README.md +0 -0
  17. {code_aide-1.16.0 → code_aide-1.16.1}/script-archive/amp-install.sh +0 -0
  18. {code_aide-1.16.0 → code_aide-1.16.1}/script-archive/antigravity-install.sh +0 -0
  19. {code_aide-1.16.0 → code_aide-1.16.1}/script-archive/cursor-install.sh +0 -0
  20. {code_aide-1.16.0 → code_aide-1.16.1}/specs/2026-05-03-qwen3.6-code-quality-analysis-original.md +0 -0
  21. {code_aide-1.16.0 → code_aide-1.16.1}/specs/2026-05-03-qwen3.6-code-quality-analysis.md +0 -0
  22. {code_aide-1.16.0 → code_aide-1.16.1}/specs/antigravity-cli-integration.md +0 -0
  23. {code_aide-1.16.0 → code_aide-1.16.1}/specs/auto-migrate-deprecated-installs.md +0 -0
  24. {code_aide-1.16.0 → code_aide-1.16.1}/specs/claude-native-installer-migration.md +0 -0
  25. {code_aide-1.16.0 → code_aide-1.16.1}/specs/missing-coding-llm-cli-tools.md +0 -0
  26. {code_aide-1.16.0 → code_aide-1.16.1}/specs/pre-commit-uv-setup.md +0 -0
  27. {code_aide-1.16.0 → code_aide-1.16.1}/specs/remove-bundled-version-baseline.md +0 -0
  28. {code_aide-1.16.0 → code_aide-1.16.1}/specs/unify-upgrade-eligibility-with-shared-evaluator.md +0 -0
  29. {code_aide-1.16.0 → code_aide-1.16.1}/src/code_aide/__main__.py +0 -0
  30. {code_aide-1.16.0 → code_aide-1.16.1}/src/code_aide/commands_actions.py +0 -0
  31. {code_aide-1.16.0 → code_aide-1.16.1}/src/code_aide/commands_tools.py +0 -0
  32. {code_aide-1.16.0 → code_aide-1.16.1}/src/code_aide/config.py +0 -0
  33. {code_aide-1.16.0 → code_aide-1.16.1}/src/code_aide/console.py +0 -0
  34. {code_aide-1.16.0 → code_aide-1.16.1}/src/code_aide/constants.py +0 -0
  35. {code_aide-1.16.0 → code_aide-1.16.1}/src/code_aide/detection.py +0 -0
  36. {code_aide-1.16.0 → code_aide-1.16.1}/src/code_aide/detection_types.py +0 -0
  37. {code_aide-1.16.0 → code_aide-1.16.1}/src/code_aide/entry.py +0 -0
  38. {code_aide-1.16.0 → code_aide-1.16.1}/src/code_aide/install.py +0 -0
  39. {code_aide-1.16.0 → code_aide-1.16.1}/src/code_aide/install_types.py +0 -0
  40. {code_aide-1.16.0 → code_aide-1.16.1}/src/code_aide/operation_handlers.py +0 -0
  41. {code_aide-1.16.0 → code_aide-1.16.1}/src/code_aide/operations.py +0 -0
  42. {code_aide-1.16.0 → code_aide-1.16.1}/src/code_aide/package_info.py +0 -0
  43. {code_aide-1.16.0 → code_aide-1.16.1}/src/code_aide/package_managers.py +0 -0
  44. {code_aide-1.16.0 → code_aide-1.16.1}/src/code_aide/prereqs.py +0 -0
  45. {code_aide-1.16.0 → code_aide-1.16.1}/src/code_aide/status.py +0 -0
  46. {code_aide-1.16.0 → code_aide-1.16.1}/src/code_aide/status_print.py +0 -0
  47. {code_aide-1.16.0 → code_aide-1.16.1}/src/code_aide/versions.py +0 -0
  48. {code_aide-1.16.0 → code_aide-1.16.1}/tests/test_commands_actions.py +0 -0
  49. {code_aide-1.16.0 → code_aide-1.16.1}/tests/test_commands_tools.py +0 -0
  50. {code_aide-1.16.0 → code_aide-1.16.1}/tests/test_config.py +0 -0
  51. {code_aide-1.16.0 → code_aide-1.16.1}/tests/test_console.py +0 -0
  52. {code_aide-1.16.0 → code_aide-1.16.1}/tests/test_constants.py +0 -0
  53. {code_aide-1.16.0 → code_aide-1.16.1}/tests/test_detection.py +0 -0
  54. {code_aide-1.16.0 → code_aide-1.16.1}/tests/test_entry.py +0 -0
  55. {code_aide-1.16.0 → code_aide-1.16.1}/tests/test_error_paths.py +0 -0
  56. {code_aide-1.16.0 → code_aide-1.16.1}/tests/test_install.py +0 -0
  57. {code_aide-1.16.0 → code_aide-1.16.1}/tests/test_install_types.py +0 -0
  58. {code_aide-1.16.0 → code_aide-1.16.1}/tests/test_operations.py +0 -0
  59. {code_aide-1.16.0 → code_aide-1.16.1}/tests/test_package_managers.py +0 -0
  60. {code_aide-1.16.0 → code_aide-1.16.1}/tests/test_prereqs.py +0 -0
  61. {code_aide-1.16.0 → code_aide-1.16.1}/tests/test_status.py +0 -0
  62. {code_aide-1.16.0 → code_aide-1.16.1}/tests/test_versions.py +0 -0
  63. {code_aide-1.16.0 → code_aide-1.16.1}/uv.lock +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: code-aide
3
- Version: 1.16.0
3
+ Version: 1.16.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,30 @@ if [[ -n "$TARGET" ]] && [[ ! "$TARGET" =~ ^(stable|latest|[0-9]+\.[0-9]+\.[0-9]
11
11
  exit 1
12
12
  fi
13
13
 
14
+ # Refuse to run under sudo from a regular user's shell. This installer puts
15
+ # everything under $HOME, which under sudo typically resolves to root's home:
16
+ # the binary lands in /root/.local/bin (or is left root-owned in the user's
17
+ # home, depending on the distro's sudo configuration), and the 'claude'
18
+ # command is then not found in the user's own shell. Plain root with no sudo
19
+ # (containers, CI, root-only systems) is unaffected by this check.
20
+ if [ "$(id -u)" -eq 0 ] && [ -n "${SUDO_USER:-}" ] && [ "$SUDO_USER" != "root" ] && [ -z "${CLAUDE_INSTALL_ALLOW_SUDO:-}" ]; then
21
+ echo "Error: do not run this installer with sudo." >&2
22
+ echo "" >&2
23
+ echo "Claude Code installs into your home directory and does not need root access." >&2
24
+ echo "With sudo, the installation would go into root's home directory instead of" >&2
25
+ echo "yours, and the 'claude' command would not work from your own shell." >&2
26
+ echo "" >&2
27
+ echo "Please re-run the same command without sudo, e.g.:" >&2
28
+ # pinned-dep-allow: display-only guidance text in an error message, not an executed install; install.sh is Anthropic's own installer
29
+ echo " curl -fsSL https://claude.ai/install.sh | bash" >&2
30
+ echo "" >&2
31
+ echo "To intentionally install Claude Code for the root user, re-run with" >&2
32
+ echo "CLAUDE_INSTALL_ALLOW_SUDO=1 set in the installer's environment, e.g.:" >&2
33
+ # pinned-dep-allow: display-only guidance text in an error message, not an executed install; install.sh is Anthropic's own installer
34
+ echo " curl -fsSL https://claude.ai/install.sh | sudo CLAUDE_INSTALL_ALLOW_SUDO=1 bash" >&2
35
+ exit 1
36
+ fi
37
+
14
38
  DOWNLOAD_BASE_URL="https://downloads.claude.ai/claude-code-releases"
15
39
  DOWNLOAD_DIR="$HOME/.claude/downloads"
16
40
 
@@ -1,3 +1,3 @@
1
1
  """code-aide - Manage AI coding CLI tools."""
2
2
 
3
- __version__ = "1.16.0"
3
+ __version__ = "1.16.1"
@@ -31,7 +31,7 @@
31
31
  "command": "claude",
32
32
  "install_type": "script",
33
33
  "install_url": "https://claude.ai/install.sh",
34
- "install_sha256": "b3f79015b54c751440a6488f07b1b64f9088742b9052bc1bd356d13108320d2a",
34
+ "install_sha256": "cde4f1702d3b1695f92b73d26888364e17bca476e17f0fd676484c951d36c125",
35
35
  "version_url": "https://storage.googleapis.com/claude-code-dist-86c565f3-f756-42ad-8dfa-d59b1c096819/claude-code-releases/latest",
36
36
  "prerequisites": [],
37
37
  "min_node_version": null,
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