Skip to content

Commit 1a2a265

Browse files
committed
docs: refresh stable gateway SDK guidance and canonical links
1 parent d72232e commit 1a2a265

7 files changed

Lines changed: 39 additions & 41 deletions

File tree

‎docs/gateway/clients.md‎

Lines changed: 11 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -18,39 +18,36 @@ For frame shapes, the handshake, errors, and the complete method surface, read t
1818

1919
## Install the packages
2020

21-
The verified published beta is `2026.9.1-beta.1` for both packages. Install that
22-
exact version; it is a prerelease, not a stable release:
21+
Install the verified stable release, `2026.8.1`, with exact version pins:
2322

2423
```bash
25-
npm install --save-exact @openclaw/gateway-client@2026.9.1-beta.1 @openclaw/gateway-protocol@2026.9.1-beta.1
24+
npm install --save-exact @openclaw/gateway-client@2026.8.1 @openclaw/gateway-protocol@2026.8.1
2625
```
2726

28-
<Warning>
29-
As verified on August 30, 2026, unqualified installs select the `latest` tag,
30-
which points to the reserved `0.0.0` placeholder for both packages. Those
31-
artifacts contain only a README and package manifest, with no JavaScript or
32-
TypeScript declarations. Installation succeeds, but package imports fail.
33-
</Warning>
27+
If an existing lockfile still pins either package to the reserved `0.0.0`
28+
artifact, rerun the command above to replace it. Those reserved artifacts have no
29+
runnable entrypoint or TypeScript declarations.
3430

3531
Package versions follow the OpenClaw release train and are separate from the wire
36-
protocol version. This beta exports wire version `4`; that does not guarantee
37-
compatibility with every Gateway release. Pin and test the client and Gateway
32+
protocol version. The `2026.8.1` packages export wire version `4`; that does not
33+
guarantee compatibility with every Gateway release. The root `openclaw` CLI has
34+
its own package versions and dist-tags. Pin and test the client and Gateway
3835
versions together, and check the [wire-version rules](/gateway/clients#track-protocol-versions)
39-
before upgrading. The client pins the matching protocol package version.
36+
before upgrading. The `2026.8.1` client pins protocol package `2026.8.1` exactly.
4037

4138
- [`@openclaw/gateway-protocol`](https://www.npmjs.com/package/@openclaw/gateway-protocol)
4239
provides schemas, runtime validators, TypeScript types, client identity and
4340
capability registries, structured error readers, and protocol version constants.
4441
Its npm tarball also includes the generated
45-
[`protocol.schema.json`](https://unpkg.com/@openclaw/gateway-protocol@2026.9.1-beta.1/protocol.schema.json)
42+
[`protocol.schema.json`](https://unpkg.com/@openclaw/gateway-protocol@2026.8.1/protocol.schema.json)
4643
machine-readable contract. Download it as a file; it is not an exported package
4744
import subpath.
4845
- [`@openclaw/gateway-client`](https://www.npmjs.com/package/@openclaw/gateway-client)
4946
is the reference connection implementation. Import the package root for the Node
5047
client and `@openclaw/gateway-client/browser` for the browser-safe protocol,
5148
device-auth, and reconnect helpers.
5249

53-
These beta packages declare Node.js `>=22.19.0`. The Node entry includes the `ws`
50+
These package releases declare Node.js `>=22.19.0`. The Node entry includes the `ws`
5451
transport; device identity, signing, and device-token storage remain host-owned
5552
through `GatewayClientHostDeps`. A browser host supplies a WebSocket adapter plus
5653
persistent storage and signing callbacks for the device identity and device token.

‎docs/gateway/external-apps.md‎

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@ for results, cancel work, or inspect Gateway resources.
1919
For npm packages, device pairing, reconnect recovery, history, subscriptions,
2020
and approvals, start with
2121
[Building a Gateway client](/gateway/clients#install-the-packages). The install
22-
guide pins the usable beta packages and explains why unqualified `latest`
23-
installs currently select reserved placeholders. If your
22+
guide pins the verified stable `2026.8.1` packages and explains how package and
23+
wire versions affect compatibility. If your
2424
app supervises the Gateway as a child process, also read
2525
[Embedding OpenClaw](https://docs.openclaw.ai/gateway/embedding).
2626
</Note>
@@ -32,14 +32,14 @@ for results, cancel work, or inspect Gateway resources.
3232

3333
## What is available today
3434

35-
| Surface | Status | Use it for |
36-
| ------------------------------------------------------------- | ------------- | --------------------------------------------------------------------------------------------- |
37-
| [Gateway client guide](/gateway/clients#install-the-packages) | Beta packages | npm packages, auth, reconnect, history, events, approvals, and version policy. |
38-
| [Embedding guide](https://docs.openclaw.ai/gateway/embedding) | Release train | Child-process environment, readiness, lifecycle, recovery, RPC ownership, and packaging. |
39-
| [Gateway protocol](/gateway/protocol) | Ready | WebSocket transport, connect handshake, auth scopes, protocol versioning, and events. |
40-
| [Gateway RPC reference](/reference/rpc) | Ready | Current Gateway methods for agents, sessions, tasks, models, tools, artifacts, and approvals. |
41-
| [`openclaw agent`](/cli/agent) | Ready | One-shot script integration when shelling out to the CLI is enough. |
42-
| [`openclaw message`](/cli/message) | Ready | Sending messages or channel actions from scripts. |
35+
| Surface | Status | Use it for |
36+
| ------------------------------------------------------------- | --------------- | --------------------------------------------------------------------------------------------- |
37+
| [Gateway client guide](/gateway/clients#install-the-packages) | Stable packages | npm packages, auth, reconnect, history, events, approvals, and version policy. |
38+
| [Embedding guide](https://docs.openclaw.ai/gateway/embedding) | Release train | Child-process environment, readiness, lifecycle, recovery, RPC ownership, and packaging. |
39+
| [Gateway protocol](/gateway/protocol) | Ready | WebSocket transport, connect handshake, auth scopes, protocol versioning, and events. |
40+
| [Gateway RPC reference](/reference/rpc) | Ready | Current Gateway methods for agents, sessions, tasks, models, tools, artifacts, and approvals. |
41+
| [`openclaw agent`](/cli/agent) | Ready | One-shot script integration when shelling out to the CLI is enough. |
42+
| [`openclaw message`](/cli/message) | Ready | Sending messages or channel actions from scripts. |
4343

4444
## Recommended path
4545

‎docs/gateway/protocol.md‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,15 +15,15 @@ handshake time.
1515

1616
## npm packages
1717

18-
Usable packages are published as beta `2026.9.1-beta.1`. Follow
18+
The verified stable package release is `2026.8.1`. Follow
1919
[Install the packages](/gateway/clients#install-the-packages) for exact-version
20-
commands and the current `latest` placeholder warning. Package release versions
21-
are separate from the wire protocol version.
20+
commands and compatibility guidance. Package release versions are separate from
21+
the wire protocol version and the root `openclaw` CLI release.
2222

2323
- [`@openclaw/gateway-protocol`](https://www.npmjs.com/package/@openclaw/gateway-protocol)
2424
publishes the schemas, validators, TypeScript types, lightweight frame and error
2525
helpers, and version constants. Its tarball includes the generated
26-
[`protocol.schema.json`](https://unpkg.com/@openclaw/gateway-protocol@2026.9.1-beta.1/protocol.schema.json)
26+
[`protocol.schema.json`](https://unpkg.com/@openclaw/gateway-protocol@2026.8.1/protocol.schema.json)
2727
machine-readable contract as a downloadable file, not an exported import subpath.
2828
- [`@openclaw/gateway-client`](https://www.npmjs.com/package/@openclaw/gateway-client)
2929
publishes the reference Node client and a browser-safe entry at

‎packages/gateway-client/README.md‎

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -25,17 +25,18 @@ separate from the Gateway's current wire protocol number reported in `hello-ok`.
2525

2626
## Install
2727

28-
Use the verified beta with exact pins:
28+
Use the verified stable release with exact pins:
2929

3030
```bash
31-
npm install --save-exact @openclaw/gateway-client@2026.9.1-beta.1 @openclaw/gateway-protocol@2026.9.1-beta.1
31+
npm install --save-exact @openclaw/gateway-client@2026.8.1 @openclaw/gateway-protocol@2026.8.1
3232
```
3333

3434
See the canonical [installation guide](https://docs.openclaw.ai/gateway/clients#install-the-packages)
35-
for the current `latest` placeholder warning and package/wire-version rules.
36-
This is a beta release; test it with the Gateway version you deploy.
35+
for package/wire-version rules and recovery from reserved `0.0.0` artifacts.
36+
Test it with the Gateway version you deploy; the root `openclaw` CLI has its own
37+
package versions and dist-tags.
3738

38-
This beta declares Node.js `>=22.19.0`. Node consumers use the `ws` transport
39+
This release declares Node.js `>=22.19.0`. Node consumers use the `ws` transport
3940
included as a runtime dependency. Browser consumers provide their platform
4041
WebSocket through the browser-safe protocol client surface.
4142

‎packages/gateway-protocol/README.md‎

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -23,16 +23,17 @@ protocol-version decision and coordinated client follow-through. See
2323

2424
## Install
2525

26-
Use the verified beta with an exact pin:
26+
Use the verified stable release with an exact pin:
2727

2828
```bash
29-
npm install --save-exact @openclaw/gateway-protocol@2026.9.1-beta.1
29+
npm install --save-exact @openclaw/gateway-protocol@2026.8.1
3030
```
3131

32-
This beta declares Node.js `>=22.19.0`. See the canonical
32+
This release declares Node.js `>=22.19.0`. See the canonical
3333
[installation guide](https://docs.openclaw.ai/gateway/clients#install-the-packages)
34-
for the matching client package, the current `latest` placeholder warning, and
35-
package/wire-version rules. Test this prerelease with the Gateway version you deploy.
34+
for the matching client package, package/wire-version rules, and recovery from
35+
reserved `0.0.0` artifacts. Test it with the Gateway version you deploy; the root
36+
`openclaw` CLI has its own package versions and dist-tags.
3637

3738
## Entry points
3839

@@ -151,7 +152,7 @@ boundary before reading nested values.
151152

152153
### Machine-readable schema
153154

154-
[`protocol.schema.json`](https://unpkg.com/@openclaw/gateway-protocol@2026.9.1-beta.1/protocol.schema.json)
155+
[`protocol.schema.json`](https://unpkg.com/@openclaw/gateway-protocol@2026.8.1/protocol.schema.json)
155156
ships in the npm tarball as the generated machine-readable
156157
contract. It contains the frame union, named schema definitions, and core method
157158
metadata. It is generated during `prepack` and is not committed to the repository.

‎src/config/schema.hints.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ const GROUP_HINTS = [
5252
const SECTION_DOCS_URLS = {
5353
accessGroups: "https://docs.openclaw.ai/channels/access-groups",
5454
messages: "https://docs.openclaw.ai/concepts/messages",
55-
tts: "https://docs.openclaw.ai/tts",
55+
tts: "https://docs.openclaw.ai/tools/tts",
5656
commands: "https://docs.openclaw.ai/tools/slash-commands",
5757
hooks: "https://docs.openclaw.ai/automation/hooks",
5858
cron: "https://docs.openclaw.ai/automation/cron-jobs",

‎src/docs/clawhub-plugin-docs.test.ts‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ import { validateExternalCodePluginPackageJson } from "../../packages/plugin-pac
66

77
const DOCS_ROOT = path.join(process.cwd(), "docs");
88
const pluginDocs = [
9-
path.join(DOCS_ROOT, "tools", "clawhub.md"),
109
path.join(DOCS_ROOT, "plugins", "building-plugins.md"),
1110
path.join(DOCS_ROOT, "plugins", "sdk-setup.md"),
1211
path.join(DOCS_ROOT, "plugins", "sdk-provider-plugins.md"),

0 commit comments

Comments
 (0)