code-aide 1.18.2__tar.gz → 1.18.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.
Files changed (65) hide show
  1. {code_aide-1.18.2 → code_aide-1.18.4}/PKG-INFO +1 -1
  2. {code_aide-1.18.2 → code_aide-1.18.4}/script-archive/amp-install.sh +7 -52
  3. {code_aide-1.18.2 → code_aide-1.18.4}/src/code_aide/__init__.py +1 -1
  4. {code_aide-1.18.2 → code_aide-1.18.4}/src/code_aide/data/tools.json +1 -1
  5. {code_aide-1.18.2 → code_aide-1.18.4}/.github/workflows/ci.yml +0 -0
  6. {code_aide-1.18.2 → code_aide-1.18.4}/.github/workflows/publish.yml +0 -0
  7. {code_aide-1.18.2 → code_aide-1.18.4}/.gitignore +0 -0
  8. {code_aide-1.18.2 → code_aide-1.18.4}/.gitlab-ci.yml +0 -0
  9. {code_aide-1.18.2 → code_aide-1.18.4}/.pre-commit-config.yaml +0 -0
  10. {code_aide-1.18.2 → code_aide-1.18.4}/AGENTS.md +0 -0
  11. {code_aide-1.18.2 → code_aide-1.18.4}/CLAUDE.md +0 -0
  12. {code_aide-1.18.2 → code_aide-1.18.4}/LICENSE +0 -0
  13. {code_aide-1.18.2 → code_aide-1.18.4}/Makefile +0 -0
  14. {code_aide-1.18.2 → code_aide-1.18.4}/README.md +0 -0
  15. {code_aide-1.18.2 → code_aide-1.18.4}/TODO.md +0 -0
  16. {code_aide-1.18.2 → code_aide-1.18.4}/pyproject.toml +0 -0
  17. {code_aide-1.18.2 → code_aide-1.18.4}/script-archive/README.md +0 -0
  18. {code_aide-1.18.2 → code_aide-1.18.4}/script-archive/antigravity-install.sh +0 -0
  19. {code_aide-1.18.2 → code_aide-1.18.4}/script-archive/claude-install.sh +0 -0
  20. {code_aide-1.18.2 → code_aide-1.18.4}/script-archive/cursor-install.sh +0 -0
  21. {code_aide-1.18.2 → code_aide-1.18.4}/specs/2026-05-03-qwen3.6-code-quality-analysis-original.md +0 -0
  22. {code_aide-1.18.2 → code_aide-1.18.4}/specs/2026-05-03-qwen3.6-code-quality-analysis.md +0 -0
  23. {code_aide-1.18.2 → code_aide-1.18.4}/specs/antigravity-cli-integration.md +0 -0
  24. {code_aide-1.18.2 → code_aide-1.18.4}/specs/auto-migrate-deprecated-installs.md +0 -0
  25. {code_aide-1.18.2 → code_aide-1.18.4}/specs/claude-native-installer-migration.md +0 -0
  26. {code_aide-1.18.2 → code_aide-1.18.4}/specs/missing-coding-llm-cli-tools.md +0 -0
  27. {code_aide-1.18.2 → code_aide-1.18.4}/specs/pre-commit-uv-setup.md +0 -0
  28. {code_aide-1.18.2 → code_aide-1.18.4}/specs/remove-bundled-version-baseline.md +0 -0
  29. {code_aide-1.18.2 → code_aide-1.18.4}/specs/unify-upgrade-eligibility-with-shared-evaluator.md +0 -0
  30. {code_aide-1.18.2 → code_aide-1.18.4}/src/code_aide/__main__.py +0 -0
  31. {code_aide-1.18.2 → code_aide-1.18.4}/src/code_aide/commands_actions.py +0 -0
  32. {code_aide-1.18.2 → code_aide-1.18.4}/src/code_aide/commands_tools.py +0 -0
  33. {code_aide-1.18.2 → code_aide-1.18.4}/src/code_aide/config.py +0 -0
  34. {code_aide-1.18.2 → code_aide-1.18.4}/src/code_aide/console.py +0 -0
  35. {code_aide-1.18.2 → code_aide-1.18.4}/src/code_aide/constants.py +0 -0
  36. {code_aide-1.18.2 → code_aide-1.18.4}/src/code_aide/detection.py +0 -0
  37. {code_aide-1.18.2 → code_aide-1.18.4}/src/code_aide/detection_types.py +0 -0
  38. {code_aide-1.18.2 → code_aide-1.18.4}/src/code_aide/entry.py +0 -0
  39. {code_aide-1.18.2 → code_aide-1.18.4}/src/code_aide/install.py +0 -0
  40. {code_aide-1.18.2 → code_aide-1.18.4}/src/code_aide/install_types.py +0 -0
  41. {code_aide-1.18.2 → code_aide-1.18.4}/src/code_aide/operation_handlers.py +0 -0
  42. {code_aide-1.18.2 → code_aide-1.18.4}/src/code_aide/operations.py +0 -0
  43. {code_aide-1.18.2 → code_aide-1.18.4}/src/code_aide/package_info.py +0 -0
  44. {code_aide-1.18.2 → code_aide-1.18.4}/src/code_aide/package_managers.py +0 -0
  45. {code_aide-1.18.2 → code_aide-1.18.4}/src/code_aide/prereqs.py +0 -0
  46. {code_aide-1.18.2 → code_aide-1.18.4}/src/code_aide/status.py +0 -0
  47. {code_aide-1.18.2 → code_aide-1.18.4}/src/code_aide/status_print.py +0 -0
  48. {code_aide-1.18.2 → code_aide-1.18.4}/src/code_aide/versions.py +0 -0
  49. {code_aide-1.18.2 → code_aide-1.18.4}/tests/test_commands_actions.py +0 -0
  50. {code_aide-1.18.2 → code_aide-1.18.4}/tests/test_commands_tools.py +0 -0
  51. {code_aide-1.18.2 → code_aide-1.18.4}/tests/test_config.py +0 -0
  52. {code_aide-1.18.2 → code_aide-1.18.4}/tests/test_console.py +0 -0
  53. {code_aide-1.18.2 → code_aide-1.18.4}/tests/test_constants.py +0 -0
  54. {code_aide-1.18.2 → code_aide-1.18.4}/tests/test_detection.py +0 -0
  55. {code_aide-1.18.2 → code_aide-1.18.4}/tests/test_entry.py +0 -0
  56. {code_aide-1.18.2 → code_aide-1.18.4}/tests/test_error_paths.py +0 -0
  57. {code_aide-1.18.2 → code_aide-1.18.4}/tests/test_install.py +0 -0
  58. {code_aide-1.18.2 → code_aide-1.18.4}/tests/test_install_types.py +0 -0
  59. {code_aide-1.18.2 → code_aide-1.18.4}/tests/test_operations.py +0 -0
  60. {code_aide-1.18.2 → code_aide-1.18.4}/tests/test_package_info.py +0 -0
  61. {code_aide-1.18.2 → code_aide-1.18.4}/tests/test_package_managers.py +0 -0
  62. {code_aide-1.18.2 → code_aide-1.18.4}/tests/test_prereqs.py +0 -0
  63. {code_aide-1.18.2 → code_aide-1.18.4}/tests/test_status.py +0 -0
  64. {code_aide-1.18.2 → code_aide-1.18.4}/tests/test_versions.py +0 -0
  65. {code_aide-1.18.2 → code_aide-1.18.4}/uv.lock +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.5
2
2
  Name: code-aide
3
- Version: 1.18.2
3
+ Version: 1.18.4
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
@@ -164,28 +164,13 @@ detect_platform() {
164
164
  ;;
165
165
  esac
166
166
 
167
- # Check for baseline builds on x64
168
- case "$target" in
169
- 'darwin-x64')
170
- # Check Rosetta 2
171
- if [[ $(sysctl -n sysctl.proc_translated 2>/dev/null) = 1 ]]; then
172
- target=darwin-arm64
173
- log "Your shell is running in Rosetta 2. Using $target instead"
174
- elif [[ $(sysctl -a 2>/dev/null | grep machdep.cpu | grep AVX2) == '' ]]; then
175
- target="darwin-x64-baseline"
176
- fi
177
- ;;
178
- 'linux-x64')
179
- # Check AVX2 support
180
- if [[ $(grep avx2 /proc/cpuinfo 2>/dev/null) = '' ]]; then
181
- target="linux-x64-baseline"
182
- fi
183
- ;;
184
- 'windows-x64')
185
- # For Windows, default to baseline for better compatibility
186
- target="windows-x64-baseline"
187
- ;;
188
- esac
167
+ # Each OS has one x64 build that also runs on CPUs without AVX2, so the CPU features do not
168
+ # affect the target. Releases still publish the old -baseline names as copies for older
169
+ # installers and clients.
170
+ if [[ "$target" == 'darwin-x64' && $(sysctl -n sysctl.proc_translated 2>/dev/null) = 1 ]]; then
171
+ target=darwin-arm64
172
+ log "Your shell is running in Rosetta 2. Using $target instead"
173
+ fi
189
174
 
190
175
  echo "$target"
191
176
  }
@@ -280,31 +265,6 @@ verify_checksum() {
280
265
  success "Checksum verified"
281
266
  }
282
267
 
283
- # Verify signature using minisign
284
- verify_signature() {
285
- local file="$1"
286
- local signature_url="$2"
287
-
288
- if ! command_exists minisign; then
289
- log "minisign not installed, skipping signature verification"
290
- return 0
291
- fi
292
-
293
- local signature_path="$AMP_HOME/amp-install-signature.minisign"
294
- local pubkey_path="$AMP_HOME/signing-key.pub"
295
-
296
- download_file "$signature_url" "$signature_path" 'signature'
297
- download_file "$AMP_URL/.well-known/signing-key.pub" "$pubkey_path" 'signing key'
298
-
299
- if ! minisign -Vm "$file" -x "$signature_path" -p "$pubkey_path" >/dev/null 2>&1; then
300
- rm -f "$signature_path" "$pubkey_path"
301
- error "Signature verification failed! The binary may have been tampered with."
302
- fi
303
-
304
- rm -f "$signature_path" "$pubkey_path"
305
- success "Signature verified"
306
- }
307
-
308
268
  # Fetch latest CLI version
309
269
  fetch_latest_version() {
310
270
  local version_url="$AMP_STORAGE_BASE/cli/cli-version.txt"
@@ -339,7 +299,6 @@ install_amp_binary() {
339
299
 
340
300
  local binary_url="$AMP_STORAGE_BASE/cli/${version}/amp-${platform}"
341
301
  local checksum_url="$AMP_STORAGE_BASE/cli/${version}/${platform}-amp.sha256"
342
- local minisign_signature_url="$binary_url.minisig"
343
302
 
344
303
  # Add .exe for Windows downloads
345
304
  if [[ "$platform" == *"windows"* ]]; then
@@ -367,10 +326,6 @@ install_amp_binary() {
367
326
  # Verify checksum
368
327
  verify_checksum "$staged_binary_path" "$expected_checksum"
369
328
 
370
- # Verify signature (optional, only if minisign is installed)
371
- # Disabled until release signing is enabled
372
- # verify_signature "$staged_binary_path" "$minisign_signature_url"
373
-
374
329
  # Make executable before atomically replacing the installed binary
375
330
  chmod 0755 "$staged_binary_path"
376
331
  mv "$staged_binary_path" "$binary_path"
@@ -1,3 +1,3 @@
1
1
  """code-aide - Manage AI coding CLI tools."""
2
2
 
3
- __version__ = "1.18.2"
3
+ __version__ = "1.18.4"
@@ -89,7 +89,7 @@
89
89
  "command": "amp",
90
90
  "install_type": "script",
91
91
  "install_url": "https://ampcode.com/install.sh",
92
- "install_sha256": "07bea1669144a5191c873a61a3244266ca046557bff7123f0be41d0723592297",
92
+ "install_sha256": "83b0a61b09cb653b92e47e039e3aba8bda60c62c0eea6e1467c1b1b12c258cc9",
93
93
  "install_script_path_prepend": [
94
94
  "~/.local/bin"
95
95
  ],
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