Skip to content

Commit 36be15e

Browse files
committed
Auto-merge upstream openclaw/openclaw
2 parents 5138d48 + 9caf4e1 commit 36be15e

73 files changed

Lines changed: 1722 additions & 491 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

docs/concepts/model-providers.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -301,7 +301,6 @@ See [/providers/kilocode](/providers/kilocode) for setup details.
301301
| DeepInfra | `deepinfra` | `DEEPINFRA_API_KEY` | `deepinfra/deepseek-ai/DeepSeek-V4-Flash` |
302302
| DeepSeek | `deepseek` | `DEEPSEEK_API_KEY` | `deepseek/deepseek-v4-flash` |
303303
| GitHub Copilot | `github-copilot` | `COPILOT_GITHUB_TOKEN` / `GH_TOKEN` / `GITHUB_TOKEN` | - |
304-
| GMI Cloud | `gmi` | `GMI_API_KEY` | `gmi/google/gemini-3.1-flash-lite` |
305304
| Groq | `groq` | `GROQ_API_KEY` | - |
306305
| Hugging Face Inference | `huggingface` | `HUGGINGFACE_HUB_TOKEN` or `HF_TOKEN` | `huggingface/deepseek-ai/DeepSeek-R1` |
307306
| Kilo Gateway | `kilocode` | `KILOCODE_API_KEY` | `kilocode/kilo/auto` |

docs/docs.json

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1387,11 +1387,7 @@
13871387
"clawhub/http-api",
13881388
"clawhub/acceptable-usage",
13891389
"clawhub/moderation",
1390-
"clawhub/namespace-claims",
1391-
"clawhub/security",
1392-
"clawhub/security-audits",
1393-
"clawhub/content-rights",
1394-
"clawhub/plugin-validation-fixes"
1390+
"clawhub/security-audits"
13951391
]
13961392
}
13971393
]

docs/plugins/plugin-inventory.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ Each entry lists the package, distribution route, and description.
5151

5252
## Core npm package
5353

54-
91 plugins
54+
90 plugins
5555

5656
- **[admin-http-rpc](/plugins/reference/admin-http-rpc)** (`@openclaw/admin-http-rpc`) - included in OpenClaw. OpenClaw admin HTTP RPC endpoint.
5757

@@ -81,7 +81,7 @@ Each entry lists the package, distribution route, and description.
8181

8282
- **[codex-supervisor](/plugins/reference/codex-supervisor)** (`@openclaw/codex-supervisor`) - included in OpenClaw. Supervise Codex app-server sessions from OpenClaw.
8383

84-
- **[cohere](/plugins/reference/cohere)** (`@openclaw/cohere-provider`) - included in OpenClaw. Adds Cohere model provider support to OpenClaw.
84+
- **[cohere](/plugins/reference/cohere)** (`@openclaw/cohere-provider`) - included in OpenClaw; npm; ClawHub: `clawhub:@openclaw/cohere-provider`. OpenClaw Cohere provider plugin.
8585

8686
- **[comfy](/plugins/reference/comfy)** (`@openclaw/comfy-provider`) - included in OpenClaw. Adds ComfyUI model provider support to OpenClaw.
8787

@@ -111,8 +111,6 @@ Each entry lists the package, distribution route, and description.
111111

112112
- **[github-copilot](/plugins/reference/github-copilot)** (`@openclaw/github-copilot-provider`) - included in OpenClaw. Adds GitHub Copilot model provider support to OpenClaw.
113113

114-
- **[gmi](/plugins/reference/gmi)** (`@openclaw/gmi-provider`) - included in OpenClaw. Adds Gmi, Gmi Cloud, Gmicloud model provider support to OpenClaw.
115-
116114
- **[google](/plugins/reference/google)** (`@openclaw/google-plugin`) - included in OpenClaw. Adds Google, Google Gemini CLI, Google Vertex model provider support to OpenClaw.
117115

118116
- **[gradium](/plugins/reference/gradium)** (`@openclaw/gradium-speech`) - included in OpenClaw. Adds text-to-speech provider support.
@@ -237,7 +235,7 @@ Each entry lists the package, distribution route, and description.
237235

238236
## Official external packages
239237

240-
35 plugins
238+
36 plugins
241239

242240
- **[acpx](/plugins/reference/acpx)** (`@openclaw/acpx`) - npm; ClawHub. OpenClaw ACP runtime backend with plugin-owned session and transport management.
243241

@@ -265,6 +263,8 @@ Each entry lists the package, distribution route, and description.
265263

266264
- **[feishu](/plugins/reference/feishu)** (`@openclaw/feishu`) - npm; ClawHub. OpenClaw Feishu/Lark channel plugin for chats and workplace tools (community maintained by @m1heng).
267265

266+
- **[gmi](/plugins/reference/gmi)** (`@openclaw/gmi-provider`) - npm; ClawHub: `clawhub:@openclaw/gmi-provider`. OpenClaw GMI Cloud provider plugin.
267+
268268
- **[google-meet](/plugins/reference/google-meet)** (`@openclaw/google-meet`) - npm; ClawHub. OpenClaw Google Meet participant plugin for joining calls through Chrome or Twilio transports.
269269

270270
- **[googlechat](/plugins/reference/googlechat)** (`@openclaw/googlechat`) - npm; ClawHub. OpenClaw Google Chat channel plugin for spaces and direct messages.

docs/plugins/reference/cohere.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
11
---
2-
summary: "Adds Cohere model provider support to OpenClaw."
2+
summary: "OpenClaw Cohere provider plugin."
33
read_when:
44
- You are installing, configuring, or auditing the cohere plugin
55
title: "Cohere plugin"
66
---
77

88
# Cohere plugin
99

10-
Adds Cohere model provider support to OpenClaw.
10+
OpenClaw Cohere provider plugin.
1111

1212
## Distribution
1313

1414
- Package: `@openclaw/cohere-provider`
15-
- Install route: included in OpenClaw
15+
- Install route: included in OpenClaw; npm; ClawHub: `clawhub:@openclaw/cohere-provider`
1616

1717
## Surface
1818

docs/plugins/reference/gmi.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
11
---
2-
summary: "Adds Gmi, Gmi Cloud, Gmicloud model provider support to OpenClaw."
2+
summary: "OpenClaw GMI Cloud provider plugin."
33
read_when:
44
- You are installing, configuring, or auditing the gmi plugin
55
title: "Gmi plugin"
66
---
77

88
# Gmi plugin
99

10-
Adds Gmi, Gmi Cloud, Gmicloud model provider support to OpenClaw.
10+
OpenClaw GMI Cloud provider plugin.
1111

1212
## Distribution
1313

1414
- Package: `@openclaw/gmi-provider`
15-
- Install route: included in OpenClaw
15+
- Install route: npm; ClawHub: `clawhub:@openclaw/gmi-provider`
1616

1717
## Surface
1818

docs/providers/cohere.md

Lines changed: 23 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -6,31 +6,38 @@ read_when:
66
- You need the Cohere API key env var or CLI auth choice
77
---
88

9-
[Cohere](https://cohere.com) provides OpenAI-compatible inference through its Compatibility API. OpenClaw includes a bundled Cohere provider plugin with the Command A model catalog.
10-
11-
| Property | Value |
12-
| --------------- | ---------------------------------------- |
13-
| Provider id | `cohere` |
14-
| Plugin | bundled, `enabledByDefault: true` |
15-
| Auth env var | `COHERE_API_KEY` |
16-
| Onboarding flag | `--auth-choice cohere-api-key` |
17-
| Direct CLI flag | `--cohere-api-key <key>` |
18-
| API | OpenAI-compatible (`openai-completions`) |
19-
| Base URL | `https://api.cohere.ai/compatibility/v1` |
20-
| Default model | `cohere/command-a-03-2025` |
9+
[Cohere](https://cohere.com) provides OpenAI-compatible inference through its Compatibility API. OpenClaw ships the Cohere provider during its externalization transition and also publishes it as an official external plugin with the Command A model catalog.
10+
11+
| Property | Value |
12+
| --------------- | ---------------------------------------------------- |
13+
| Provider id | `cohere` |
14+
| Plugin | bundled during transition; official external package |
15+
| Auth env var | `COHERE_API_KEY` |
16+
| Onboarding flag | `--auth-choice cohere-api-key` |
17+
| Direct CLI flag | `--cohere-api-key <key>` |
18+
| API | OpenAI-compatible (`openai-completions`) |
19+
| Base URL | `https://api.cohere.ai/compatibility/v1` |
20+
| Default model | `cohere/command-a-03-2025` |
2121

2222
## Get started
2323

24-
1. Create a Cohere API key.
25-
2. Run onboarding:
24+
1. Cohere is included in current OpenClaw packages. If it is unavailable, install the external package and restart the Gateway:
25+
26+
```bash
27+
openclaw plugins install @openclaw/cohere-provider
28+
openclaw gateway restart
29+
```
30+
31+
2. Create a Cohere API key.
32+
3. Run onboarding:
2633

2734
```bash
2835
openclaw onboard --non-interactive \
2936
--auth-choice cohere-api-key \
3037
--cohere-api-key "$COHERE_API_KEY"
3138
```
3239

33-
3. Confirm the catalog is available:
40+
4. Confirm the catalog is available:
3441

3542
```bash
3643
openclaw models list --provider cohere
@@ -40,7 +47,7 @@ The default model is set only when no primary model is already configured.
4047

4148
## Environment-only setup
4249

43-
Make `COHERE_API_KEY` available to the Gateway process, then select the bundled model:
50+
Make `COHERE_API_KEY` available to the Gateway process, then select the Cohere model:
4451

4552
```json5
4653
{

docs/providers/gmi.md

Lines changed: 12 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@ title: "GMI Cloud"
77
---
88

99
GMI Cloud is a hosted inference platform for frontier and open-weight models
10-
behind an OpenAI-compatible API. In OpenClaw it is a bundled model provider,
11-
which means you can select it with the provider id `gmi`, store credentials
12-
through normal model auth, and use model refs like
10+
behind an OpenAI-compatible API. In OpenClaw it is an official external provider
11+
plugin, which means you install it once, select it with the provider id `gmi`,
12+
store credentials through normal model auth, and use model refs like
1313
`gmi/google/gemini-3.1-flash-lite`.
1414

1515
Use GMI when you want one API key for several hosted model families, including
@@ -24,7 +24,14 @@ model availability, billing, rate limits, and any provider-side routing policy.
2424

2525
## Setup
2626

27-
Create an API key in GMI Cloud, then run:
27+
Install the plugin, restart the gateway, then create an API key in GMI Cloud:
28+
29+
```bash
30+
openclaw plugins install @openclaw/gmi-provider
31+
openclaw gateway restart
32+
```
33+
34+
Then run:
2835

2936
```bash
3037
openclaw onboard --auth-choice gmi-api-key
@@ -60,7 +67,7 @@ GPU control matters more than hosted convenience.
6067

6168
## Models
6269

63-
The bundled catalog seeds commonly available GMI Cloud route ids, including:
70+
The plugin catalog seeds commonly available GMI Cloud route ids, including:
6471

6572
- `gmi/zai-org/GLM-5.1-FP8`
6673
- `gmi/deepseek-ai/DeepSeek-V3.2`

extensions/browser/src/cli/browser-cli.test-support.ts

Lines changed: 0 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -43,28 +43,3 @@ export function getBrowserCliRuntimeCapture(): CliRuntimeCapture {
4343
export function getBrowserCliRuntime() {
4444
return getBrowserCliRuntimeCapture().defaultRuntime;
4545
}
46-
47-
/** Provides a mock module shape for defaultRuntime imports. */
48-
export async function mockBrowserCliDefaultRuntime() {
49-
browserCliRuntimeState.capture ??= createCliRuntimeCapture();
50-
return { defaultRuntime: browserCliRuntimeState.capture.defaultRuntime };
51-
}
52-
53-
/** Runs a command action through the same error callback shape as the real helper. */
54-
export async function runCommandWithRuntimeMock(
55-
_runtime: unknown,
56-
action: () => Promise<void>,
57-
onError: (err: unknown) => void,
58-
) {
59-
return await action().catch(onError);
60-
}
61-
62-
/** Provides a mock module shape for core runCommandWithRuntime imports. */
63-
export async function createBrowserCliUtilsMockModule() {
64-
return { runCommandWithRuntime: runCommandWithRuntimeMock };
65-
}
66-
67-
/** Provides a mock module shape for Browser CLI runtime imports. */
68-
export async function createBrowserCliRuntimeMockModule() {
69-
return await mockBrowserCliDefaultRuntime();
70-
}

extensions/codex/src/app-server/sandbox-exec-server.test-helpers.ts

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -228,11 +228,6 @@ export async function waitForHttpBodyDeltas(
228228
throw new Error(`expected ${count} http body deltas`);
229229
}
230230

231-
/** Quotes a value for POSIX shell snippets embedded in sandbox test commands. */
232-
export function shellQuote(value: string): string {
233-
return `'${value.replaceAll("'", `'"'"'`)}'`;
234-
}
235-
236231
/** Sends one JSON-RPC request and resolves/rejects from the matching response id. */
237232
export function rpc(socket: WebSocket, method: string, params: unknown): Promise<unknown> {
238233
const id = Math.floor(Math.random() * 1_000_000);

extensions/cohere/README.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# OpenClaw Cohere Provider
2+
3+
Official OpenClaw provider plugin for Cohere's OpenAI-compatible Compatibility
4+
API.
5+
6+
Install from OpenClaw:
7+
8+
```bash
9+
openclaw plugins install @openclaw/cohere-provider
10+
openclaw gateway restart
11+
```
12+
13+
Configure a Cohere API key, then select `cohere/command-a-03-2025`.

0 commit comments

Comments
 (0)