Skip to content

Commit 5319f06

Browse files
authored
docs: use stable V2 packages (#48576)
1 parent 63f7cee commit 5319f06

8 files changed

Lines changed: 13 additions & 15 deletions

File tree

‎services/www/src/docs/content/build/client/effect.mdx‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ title: "Effect"
66
and decodes responses into OpenCode schema values.
77

88
```sh
9-
bun add @opencode/client@beta effect
9+
bun add @opencode/client effect
1010
```
1111

1212
## Create a client

‎services/www/src/docs/content/build/client/index.mdx‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ network. Its native types and methods are generated from the same contract as th
1010
## Install
1111

1212
```sh
13-
bun add @opencode/client@beta
13+
bun add @opencode/client
1414
```
1515

1616
## Create a client

‎services/www/src/docs/content/build/plugins/effect.mdx‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ Effects or Streams, callbacks return Effects, and plugin lifetime is represented
77
plugin package.
88

99
```sh
10-
bun add @opencode/plugin@beta effect
10+
bun add @opencode/plugin effect
1111
```
1212

1313
Export an Effect plugin from `.opencode/plugins/` to load it automatically.

‎services/www/src/docs/content/build/sdk/cloudflare.mdx‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ Use `@opencode/sdk/workerd` inside a Cloudflare Durable Object. This profile use
66
persists durable events for eviction recovery, and replaces unavailable local filesystem and process services.
77

88
```sh
9-
bun add @opencode/sdk@beta
9+
bun add @opencode/sdk
1010
```
1111

1212
Hold one host for the lifetime of the Durable Object instance instead of creating one for every request.

‎services/www/src/docs/content/build/sdk/effect.mdx‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ title: "Effect"
66
the owning Scope releases the router, Location services, fibers, and plugin registrations.
77

88
```sh
9-
bun add @opencode/sdk@beta effect
9+
bun add @opencode/sdk effect
1010
```
1111

1212
## Create a host

‎services/www/src/docs/content/build/sdk/index.mdx‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ For Cloudflare Durable Objects, see the [Cloudflare guide](/build/sdk/cloudflare
1212
Install the SDK:
1313

1414
```sh
15-
bun add @opencode/sdk@beta
15+
bun add @opencode/sdk
1616
```
1717

1818
## Create a host

‎services/www/src/docs/content/cli/commands.mdx‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
runs-on: ubuntu-latest
2727
steps:
2828
- uses: actions/checkout@v4
29-
- run: npm install --global @opencode/cli@beta
29+
- run: npm install --global @opencode/cli
3030
- run: opencode run --standalone --model anthropic/claude-sonnet-4-5 "Review this repository for correctness and summarize any issues."
3131
env:
3232
ANTHROPIC_API_KEY: ${{ secrets.ANTHROPIC_API_KEY }}

‎services/www/src/docs/content/index.mdx‎

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -10,22 +10,20 @@ OpenCode installs and runs as `opencode`.
1010

1111
<div data-install-code>
1212
<CodeBlock
13-
code={`$ npm install -g @opencode/cli@beta
14-
$ bun install -g --trust @opencode/cli@beta
15-
$ pnpm add -g --allow-build=@opencode/cli @opencode/cli@beta
16-
$ yarn global add @opencode/cli@beta
17-
$ paru -S opencode-beta
13+
code={`$ npm install -g @opencode/cli
14+
$ bun install -g --trust @opencode/cli
15+
$ pnpm add -g --allow-build=@opencode/cli @opencode/cli
16+
$ yarn global add @opencode/cli
1817
$ curl -fsSL https://opencode.ai/v2/install | bash`}
1918
/>
2019
</div>
2120

2221
The npm package uses a trusted postinstall script to select the native `opencode` binary for your platform. The Bun and pnpm
2322
commands above explicitly allow that script to run.
2423

25-
On Arch Linux, install [`opencode-beta`](https://aur.archlinux.org/packages/opencode-beta) from the AUR with `paru`.
26-
It provides the `opencode` command; manage updates through your AUR helper.
24+
Docker images use versioned tags, for example `ghcr.io/anomalyco/opencode:2.0.0`.
2725

28-
Homebrew, Windows package managers, Docker, and standalone binaries are not supported.
26+
Homebrew, AUR, Windows package managers, and standalone binaries are not supported.
2927

3028
---
3129

0 commit comments

Comments
 (0)