Repository navigation
Commit 0f24653
fix: [#309] point install endpoint at altimate.sh/install (not altimate.ai/install)
altimate.ai is the marketing site (a React Router SPA on a different host)
where `/install` falls through to an HTML 404 page. altimate.sh is the
canonical altimate-code site and now serves the install script at
`/install` via a Next.js route handler with proper text/x-shellscript
content type and server-side GA4 tracking (companion PR in
AltimateAI/altimate-code-website).
The mismatch broke v0.7.1's standalone install path end-to-end:
• `curl -fsSL https://altimate.ai/install | bash` fetched HTML and tried
to bash-execute it (would error out, but the symptom was confusing).
• `altimate upgrade` for curl-installed users fetches the install URL
via `Installation.upgradeCurl()` to re-run the install script. With
the broken URL, every curl-user's in-place upgrade silently failed.
This PR swaps the seven references in this repo:
• install (curl install script): two examples in --help block
• README.md: install instruction
• packages/opencode/src/installation/index.ts: the fetch URL inside
`upgradeCurl()`
• docs/docs/reference/troubleshooting.md: three references in the
install troubleshooting section added in v0.7.1
• packages/opencode/test/install/upgrade-method.test.ts: assertion now
requires altimate.sh/install AND explicitly rejects altimate.ai/install
so a future regression that reintroduces the broken URL fires
immediately
• packages/opencode/test/branding/branding.test.ts: renamed brand-domain
assertion to "references altimate-owned domain for user-facing URLs"
that requires altimate.sh/install and rejects altimate.ai/install
• packages/opencode/test/skill/release-v0.7.1-binary-adversarial.test.ts:
the README curl-install assertion was pinning the old URL; updated
`docs/mkdocs.yml`'s `altimate.ai/discord` link is unchanged — that's a
separate marketing-site URL, not the install path.
Pairs with AltimateAI/altimate-code-website#22 which adds the
`app/install/route.ts` handler. Ship the website PR FIRST so the new URL
is live before this one merges to main — otherwise curl-install would be
broken in a different way (pointing at a not-yet-deployed endpoint)
between merges.
Closes #309.
Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]>1 parent b052b41 commit 0f24653
7 files changed
Lines changed: 20 additions & 12 deletions
File tree
- docs/docs/reference
- packages/opencode
- src/installation
- test
- branding
- install
- skill
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
34 | | - | |
| 34 | + | |
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
| 7 | + | |
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
28 | | - | |
| 28 | + | |
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
| |||
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
42 | | - | |
| 42 | + | |
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
23 | | - | |
24 | | - | |
| 23 | + | |
| 24 | + | |
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
37 | | - | |
| 37 | + | |
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
121 | 121 | | |
122 | 122 | | |
123 | 123 | | |
124 | | - | |
125 | | - | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
126 | 130 | | |
127 | 131 | | |
128 | 132 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
85 | 85 | | |
86 | 86 | | |
87 | 87 | | |
88 | | - | |
89 | | - | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
90 | 94 | | |
91 | 95 | | |
92 | 96 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
281 | 281 | | |
282 | 282 | | |
283 | 283 | | |
284 | | - | |
| 284 | + | |
285 | 285 | | |
286 | 286 | | |
287 | 287 | | |
| |||
0 commit comments