fix(docs): correct server install command opencode -> opencode-ai (#113)

npm 'opencode' returns 404 (does not exist); the real package is
'opencode-ai' (v1.18.3, bin: opencode). Three docs-site pages — including the
setup guide the app's empty state and demo CTA link to — told users to run
'npm install -g opencode', which hard-fails at step 1 and bounces them before
they ever connect. Every other place in the repo already uses opencode-ai.
Verified via npm registry. Corrects guide/, landing index, and
opencode-on-phone pages.


Claude-Session: https://claude.ai/code/session_01T12AhSnQVrSxNnvwfCx2z6

Co-authored-by: engineer <engineer@macbookpro.lan>
Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
Den
2026-07-17 21:04:51 -07:00
committed by GitHub
parent 263ef9c4b6
commit b802df9797
3 changed files with 3 additions and 3 deletions

View File

@@ -235,7 +235,7 @@ footer a{margin:0 8px}
<li id="step-server">
<h3>Run <code>opencode serve</code> on your machine</h3>
<p>Install OpenCode if you haven't already, then start it in server mode. Bind it to all interfaces and set a password so only you can connect:</p>
<pre><code>npm install -g opencode
<pre><code>npm install -g opencode-ai
OPENCODE_SERVER_PASSWORD=yourpassword opencode serve --hostname 0.0.0.0 --port 4096</code></pre>
<p class="muted">Configure your AI provider key on this machine (for example via OpenCode's auth flow or an environment variable). The key never leaves your server.</p>

View File

@@ -362,7 +362,7 @@ footer a{margin:0 8px}
<p><strong>You need your own OpenCode server.</strong> OpenCode Mobile is a client, not a hosted service. Before it is useful you must run an OpenCode server somewhere you control and make it reachable from your phone.</p>
<ol class="steps" style="margin-bottom:0">
<li>Install and run OpenCode on your machine:<br>
<pre style="margin-top:8px"><code>npm install -g opencode
<pre style="margin-top:8px"><code>npm install -g opencode-ai
OPENCODE_SERVER_PASSWORD=yourpassword opencode serve --hostname 0.0.0.0 --port 4096</code></pre>
</li>
<li>Make it reachable from your phone — the simplest secure option is <strong>Tailscale</strong> (connect to your machine's Tailscale IP, e.g. <code>http://100.x.x.x:4096</code>). A Cloudflare Tunnel, ngrok, or the same local network also work.</li>

View File

@@ -228,7 +228,7 @@ footer a{margin:0 8px}
opencode serve --hostname 0.0.0.0 --port 4096</code></pre>
<p style="margin-bottom:0" class="muted">
Setting a password turns on authentication so only you can connect. (Don't have opencode yet?
Install it with <code>npm install -g opencode</code>.)
Install it with <code>npm install -g opencode-ai</code>.)
</p>
</div>