From 3356301394cd601798514606eaf4c8630cb15369 Mon Sep 17 00:00:00 2001 From: "openclaw-docs-sync[bot]" Date: Wed, 22 Apr 2026 08:15:08 +0000 Subject: [PATCH] chore(sync): mirror docs from openclaw/openclaw@81ca7bc40b09dbb6386fc5c1cecf237c5f11004a --- .openclaw-sync/source.json | 4 ++-- docs/.generated/config-baseline.sha256 | 4 ++-- docs/gateway/cli-backends.md | 6 ++++++ 3 files changed, 10 insertions(+), 4 deletions(-) diff --git a/.openclaw-sync/source.json b/.openclaw-sync/source.json index 7a2b1dbdc..62eb6a7c9 100644 --- a/.openclaw-sync/source.json +++ b/.openclaw-sync/source.json @@ -1,5 +1,5 @@ { "repository": "openclaw/openclaw", - "sha": "bee2e0f38f5632d53651b8aed95198d3f0d799a8", - "syncedAt": "2026-04-22T07:53:48.446Z" + "sha": "81ca7bc40b09dbb6386fc5c1cecf237c5f11004a", + "syncedAt": "2026-04-22T08:15:07.526Z" } diff --git a/docs/.generated/config-baseline.sha256 b/docs/.generated/config-baseline.sha256 index cd11be172..fe51591a5 100644 --- a/docs/.generated/config-baseline.sha256 +++ b/docs/.generated/config-baseline.sha256 @@ -1,4 +1,4 @@ -e77c14ad4db1be62275667537716917e4d0da73e1afb89be1edeb78d73346ae4 config-baseline.json -ed4e305904b4b954ffa72c07ea1900a116bfd874ac0c637227883abb99f753f9 config-baseline.core.json +3f08544c1a8143755a848aeb731f2eddf4f84cf70950c7d165f8889e01e4985d config-baseline.json +2190e81fcd754b96b48a1e012600f3b74fdb9b91eac280d8e3e038fcb73d6546 config-baseline.core.json 6c0069b971ae298ae68516ebcd3eae0e8c82820d2e8f42ecbd2f53a2f9077371 config-baseline.channel.json 9096ec947597b03f97eef44186a3102fd80ffb7f3e791fb64544464d4571448f config-baseline.plugin.json diff --git a/docs/gateway/cli-backends.md b/docs/gateway/cli-backends.md index b05874676..646074f33 100644 --- a/docs/gateway/cli-backends.md +++ b/docs/gateway/cli-backends.md @@ -143,6 +143,8 @@ The provider id becomes the left side of your model ref: 1. **Selects a backend** based on the provider prefix (`codex-cli/...`). 2. **Builds a system prompt** using the same OpenClaw prompt + workspace context. 3. **Executes the CLI** with a session id (if supported) so history stays consistent. + The bundled `claude-cli` backend keeps a Claude stdio process alive per + OpenClaw session and sends follow-up turns over stream-json stdin. 4. **Parses output** (JSON or plain text) and returns the final text. 5. **Persists session ids** per backend, so follow-ups reuse the same CLI session. @@ -179,6 +181,10 @@ child process environment for the run. - `always`: always send a session id (new UUID if none stored). - `existing`: only send a session id if one was stored before. - `none`: never send a session id. +- The bundled `claude-cli` backend uses `liveSession: "claude-stdio"` so + follow-up turns reuse the live Claude process while it is active. If the + Gateway restarts or the idle process exits, OpenClaw resumes from the stored + Claude session id. Serialization notes: