You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit fce42af
Browse filesBrowse the repository at this point in the historyBrowse files
Comprehensive fix for installation/upgrade reliability across all platforms.
## Fixes (12 issues)
1. **HTML guard on curl install** — altimate.ai/install currently returns HTML.
Now detects HTML response and gives actionable error with npm workaround.
2. **Windows curl guard** — curl/bash upgrade on Windows now fails fast with
PowerShell alternative command.
3. **Fetch timeout (10s)** — all fetch() calls now use AbortController timeout
to prevent hanging on network issues.
4. **.altimate-code/bin path detection** — method() now detects curl installs
in ~/.altimate-code/bin/ (not just ~/.opencode/bin/).
5. **Scoop upgrade command** — changed from `scoop install opencode@version`
to `scoop update opencode` (correct command for upgrades).
6. **Choco error message** — removed hardcoded "not running from elevated shell",
now shows actual stderr from choco process.
7. **Choco empty results guard** — data.d.results[0].Version no longer crashes
when Chocolatey returns empty results array.
8. **Scoop missing version guard** — checks data.version exists before accessing.
9. **GitHub releases null guard** — checks data.tag_name exists before .replace().
10. **Brew JSON parse safety** — JSON.parse wrapped in try/catch for non-JSON output.
11. **Brew core formula 404** — removed fetch to formulae.brew.sh/altimate-code.json
(doesn't exist in homebrew core, only in AltimateAI/tap). Falls through to
GitHub releases instead.
12. **Local channel skip** — npm/bun/pnpm version check returns current VERSION
when CHANNEL is "local" instead of fetching /local from registry (404).
## Registry Status (verified)
| Registry | Package | Exists? |
|----------|---------|---------|
| npm | @altimateai/altimate-code | ✅ v0.4.9 |
| scoop | opencode | ✅ v1.2.27 (upstream) |
| choco | opencode | ✅ v1.2.27 (upstream) |
| brew | AltimateAI/tap/altimate-code | ✅ formula exists, v0.3.1 |
| GitHub | AltimateAI/altimate-code | ✅ v0.4.9 with all platform binaries |
## Infra Issues (not code — documented for team)
- altimate.ai/install returns HTML homepage (needs server config fix)
- Brew tap formula pinned to v0.3.1 (needs tap update)
- No altimate-code packages on scoop/choco (uses upstream opencode)
## Test Evidence
Install matrix (55 combinations): https://github.com/AltimateAI/altimate-qa/actions/runs/23263489002
0 commit comments