diff --git a/.openclaw-sync/source.json b/.openclaw-sync/source.json index b147140c2..3b7dad699 100644 --- a/.openclaw-sync/source.json +++ b/.openclaw-sync/source.json @@ -1,5 +1,5 @@ { "repository": "openclaw/openclaw", - "sha": "124cd5e307aee778cbe0ff18de8803ac51bf5b14", - "syncedAt": "2026-04-07T08:55:41.593Z" + "sha": "4d4dbe8e15159c1b0a5d74e5b99eb85456b81071", + "syncedAt": "2026-04-07T09:36:23.035Z" } diff --git a/docs/concepts/model-providers.md b/docs/concepts/model-providers.md index f90f1e5da..97ec18d00 100644 --- a/docs/concepts/model-providers.md +++ b/docs/concepts/model-providers.md @@ -360,7 +360,7 @@ OpenClaw ships with the pi‑ai catalog. These providers require **no** - or `npm install -g @google/gemini-cli` - Enable: `openclaw plugins enable google` - Login: `openclaw models auth login --provider google-gemini-cli --set-default` - - Default model: `google-gemini-cli/gemini-3.1-pro-preview` + - Default model: `google-gemini-cli/gemini-3-flash-preview` - Note: you do **not** paste a client id or secret into `openclaw.json`. The CLI login flow stores tokens in auth profiles on the gateway host. - If requests fail after login, set `GOOGLE_CLOUD_PROJECT` or `GOOGLE_CLOUD_PROJECT_ID` on the gateway host. diff --git a/docs/gateway/cli-backends.md b/docs/gateway/cli-backends.md index 44e42e712..b9c24930c 100644 --- a/docs/gateway/cli-backends.md +++ b/docs/gateway/cli-backends.md @@ -214,8 +214,10 @@ The bundled OpenAI plugin also registers a default for `codex-cli`: The bundled Google plugin also registers a default for `google-gemini-cli`: - `command: "gemini"` -- `args: ["--prompt", "--output-format", "json"]` -- `resumeArgs: ["--resume", "{sessionId}", "--prompt", "--output-format", "json"]` +- `args: ["--output-format", "json", "--prompt", "{prompt}"]` +- `resumeArgs: ["--resume", "{sessionId}", "--output-format", "json", "--prompt", "{prompt}"]` +- `imageArg: "@"` +- `imagePathScope: "workspace"` - `modelArg: "--model"` - `sessionMode: "existing"` - `sessionIdFields: ["session_id", "sessionId"]` @@ -251,8 +253,9 @@ opt into a generated MCP config overlay with `bundleMcp: true`. Current bundled behavior: -- `codex-cli`: no bundle MCP overlay -- `google-gemini-cli`: no bundle MCP overlay +- `claude-cli`: generated strict MCP config file +- `codex-cli`: inline config overrides for `mcp_servers` +- `google-gemini-cli`: generated Gemini system settings file When bundle MCP is enabled, OpenClaw: @@ -260,8 +263,8 @@ When bundle MCP is enabled, OpenClaw: - authenticates the bridge with a per-session token (`OPENCLAW_MCP_TOKEN`) - scopes tool access to the current session, account, and channel context - loads enabled bundle-MCP servers for the current workspace -- merges them with any existing backend `--mcp-config` -- rewrites the CLI args to pass `--strict-mcp-config --mcp-config ` +- merges them with any existing backend MCP config/settings shape +- rewrites the launch config using the backend-owned integration mode from the owning extension If no MCP servers are enabled, OpenClaw still injects a strict config when a backend opts into bundle MCP so background runs stay isolated. diff --git a/docs/help/faq.md b/docs/help/faq.md index 7113291a4..bccd4859b 100644 --- a/docs/help/faq.md +++ b/docs/help/faq.md @@ -701,7 +701,7 @@ for usage/billing and raise limits as needed. - npm: `npm install -g @google/gemini-cli` 2. Enable the plugin: `openclaw plugins enable google` 3. Login: `openclaw models auth login --provider google-gemini-cli --set-default` - 4. Default model after login: `google-gemini-cli/gemini-3.1-pro-preview` + 4. Default model after login: `google-gemini-cli/gemini-3-flash-preview` 5. If requests fail, set `GOOGLE_CLOUD_PROJECT` or `GOOGLE_CLOUD_PROJECT_ID` on the gateway host This stores OAuth tokens in auth profiles on the gateway host. Details: [Model providers](/concepts/model-providers). diff --git a/docs/help/testing.md b/docs/help/testing.md index d8e777d16..6a7b7b26f 100644 --- a/docs/help/testing.md +++ b/docs/help/testing.md @@ -300,6 +300,7 @@ Notes: - The Docker runner lives at `scripts/test-live-cli-backend-docker.sh`. - It runs the live CLI-backend smoke inside the repo Docker image as the non-root `node` user. - It resolves CLI smoke metadata from the owning extension, then installs the matching Linux CLI package (`@anthropic-ai/claude-code`, `@openai/codex`, or `@google/gemini-cli`) into a cached writable prefix at `OPENCLAW_DOCKER_CLI_TOOLS_DIR` (default: `~/.cache/openclaw/docker-cli-tools`). +- The live CLI-backend smoke now exercises the same end-to-end flow for Claude, Codex, and Gemini: text turn, image classification turn, then MCP `cron` tool call verified through the gateway CLI. ## Live: ACP bind smoke (`/acp spawn ... --bind here`) diff --git a/docs/providers/google.md b/docs/providers/google.md index 4d3c60455..5befa75d5 100644 --- a/docs/providers/google.md +++ b/docs/providers/google.md @@ -52,7 +52,7 @@ An alternative provider `google-gemini-cli` uses PKCE OAuth instead of an API key. This is an unofficial integration; some users report account restrictions. Use at your own risk. -- Default model: `google-gemini-cli/gemini-3.1-pro-preview` +- Default model: `google-gemini-cli/gemini-3-flash-preview` - Alias: `gemini-cli` - Install prerequisite: local Gemini CLI available as `gemini` - Homebrew: `brew install gemini-cli` diff --git a/docs/providers/models.md b/docs/providers/models.md index cffa65003..65fa9467e 100644 --- a/docs/providers/models.md +++ b/docs/providers/models.md @@ -54,7 +54,7 @@ model as `provider/model`. - `anthropic-vertex` - implicit Anthropic on Google Vertex support when Vertex credentials are available; no separate onboarding auth choice - `copilot-proxy` - local VS Code Copilot Proxy bridge; use `openclaw onboard --auth-choice copilot-proxy` -- `google-gemini-cli` - unofficial Gemini CLI OAuth flow; requires a local `gemini` install (`brew install gemini-cli` or `npm install -g @google/gemini-cli`); default model `google-gemini-cli/gemini-3.1-pro-preview`; use `openclaw onboard --auth-choice google-gemini-cli` or `openclaw models auth login --provider google-gemini-cli --set-default` +- `google-gemini-cli` - unofficial Gemini CLI OAuth flow; requires a local `gemini` install (`brew install gemini-cli` or `npm install -g @google/gemini-cli`); default model `google-gemini-cli/gemini-3-flash-preview`; use `openclaw onboard --auth-choice google-gemini-cli` or `openclaw models auth login --provider google-gemini-cli --set-default` For the full provider catalog (xAI, Groq, Mistral, etc.) and advanced configuration, see [Model providers](/concepts/model-providers).