From 5319f063d61abc873998506ff4bd57de7a70cb2d Mon Sep 17 00:00:00 2001 From: Dax Date: Fri, 11 Sep 2026 20:33:18 -0400 Subject: [PATCH] docs: use stable V2 packages (#48576) --- .../www/src/docs/content/build/client/effect.mdx | 2 +- .../www/src/docs/content/build/client/index.mdx | 2 +- .../www/src/docs/content/build/plugins/effect.mdx | 2 +- .../www/src/docs/content/build/sdk/cloudflare.mdx | 2 +- services/www/src/docs/content/build/sdk/effect.mdx | 2 +- services/www/src/docs/content/build/sdk/index.mdx | 2 +- services/www/src/docs/content/cli/commands.mdx | 2 +- services/www/src/docs/content/index.mdx | 14 ++++++-------- 8 files changed, 13 insertions(+), 15 deletions(-) diff --git a/services/www/src/docs/content/build/client/effect.mdx b/services/www/src/docs/content/build/client/effect.mdx index 7e4b55828bb..cacbd30fa30 100644 --- a/services/www/src/docs/content/build/client/effect.mdx +++ b/services/www/src/docs/content/build/client/effect.mdx @@ -6,7 +6,7 @@ title: "Effect" and decodes responses into OpenCode schema values. ```sh -bun add @opencode/client@beta effect +bun add @opencode/client effect ``` ## Create a client diff --git a/services/www/src/docs/content/build/client/index.mdx b/services/www/src/docs/content/build/client/index.mdx index 7542b840617..f4e5bc1e066 100644 --- a/services/www/src/docs/content/build/client/index.mdx +++ b/services/www/src/docs/content/build/client/index.mdx @@ -10,7 +10,7 @@ network. Its native types and methods are generated from the same contract as th ## Install ```sh -bun add @opencode/client@beta +bun add @opencode/client ``` ## Create a client diff --git a/services/www/src/docs/content/build/plugins/effect.mdx b/services/www/src/docs/content/build/plugins/effect.mdx index 70587f64abf..51a417e22f9 100644 --- a/services/www/src/docs/content/build/plugins/effect.mdx +++ b/services/www/src/docs/content/build/plugins/effect.mdx @@ -7,7 +7,7 @@ Effects or Streams, callbacks return Effects, and plugin lifetime is represented plugin package. ```sh -bun add @opencode/plugin@beta effect +bun add @opencode/plugin effect ``` Export an Effect plugin from `.opencode/plugins/` to load it automatically. diff --git a/services/www/src/docs/content/build/sdk/cloudflare.mdx b/services/www/src/docs/content/build/sdk/cloudflare.mdx index a593b0493bd..1a5a02bc6cf 100644 --- a/services/www/src/docs/content/build/sdk/cloudflare.mdx +++ b/services/www/src/docs/content/build/sdk/cloudflare.mdx @@ -6,7 +6,7 @@ Use `@opencode/sdk/workerd` inside a Cloudflare Durable Object. This profile use persists durable events for eviction recovery, and replaces unavailable local filesystem and process services. ```sh -bun add @opencode/sdk@beta +bun add @opencode/sdk ``` Hold one host for the lifetime of the Durable Object instance instead of creating one for every request. diff --git a/services/www/src/docs/content/build/sdk/effect.mdx b/services/www/src/docs/content/build/sdk/effect.mdx index 7f278e39bc4..c5f5c333383 100644 --- a/services/www/src/docs/content/build/sdk/effect.mdx +++ b/services/www/src/docs/content/build/sdk/effect.mdx @@ -6,7 +6,7 @@ title: "Effect" the owning Scope releases the router, Location services, fibers, and plugin registrations. ```sh -bun add @opencode/sdk@beta effect +bun add @opencode/sdk effect ``` ## Create a host diff --git a/services/www/src/docs/content/build/sdk/index.mdx b/services/www/src/docs/content/build/sdk/index.mdx index 44c20341fcf..a41ed33291f 100644 --- a/services/www/src/docs/content/build/sdk/index.mdx +++ b/services/www/src/docs/content/build/sdk/index.mdx @@ -12,7 +12,7 @@ For Cloudflare Durable Objects, see the [Cloudflare guide](/build/sdk/cloudflare Install the SDK: ```sh -bun add @opencode/sdk@beta +bun add @opencode/sdk ``` ## Create a host diff --git a/services/www/src/docs/content/cli/commands.mdx b/services/www/src/docs/content/cli/commands.mdx index f680075573c..c3a56cdc7b8 100644 --- a/services/www/src/docs/content/cli/commands.mdx +++ b/services/www/src/docs/content/cli/commands.mdx @@ -26,7 +26,7 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - - run: npm install --global @opencode/cli@beta + - run: npm install --global @opencode/cli - run: opencode run --standalone --model anthropic/claude-sonnet-4-5 "Review this repository for correctness and summarize any issues." env: ANTHROPIC_API_KEY: ${{ secrets.ANTHROPIC_API_KEY }} diff --git a/services/www/src/docs/content/index.mdx b/services/www/src/docs/content/index.mdx index 343727499d9..c0115fb51d2 100644 --- a/services/www/src/docs/content/index.mdx +++ b/services/www/src/docs/content/index.mdx @@ -10,11 +10,10 @@ OpenCode installs and runs as `opencode`.
@@ -22,10 +21,9 @@ $ curl -fsSL https://opencode.ai/v2/install | bash`} The npm package uses a trusted postinstall script to select the native `opencode` binary for your platform. The Bun and pnpm commands above explicitly allow that script to run. -On Arch Linux, install [`opencode-beta`](https://aur.archlinux.org/packages/opencode-beta) from the AUR with `paru`. -It provides the `opencode` command; manage updates through your AUR helper. +Docker images use versioned tags, for example `ghcr.io/anomalyco/opencode:2.0.0`. -Homebrew, Windows package managers, Docker, and standalone binaries are not supported. +Homebrew, AUR, Windows package managers, and standalone binaries are not supported. ---