From d3385d5075cb481eabd589f677672a79da760640 Mon Sep 17 00:00:00 2001 From: "openclaw-docs-sync[bot]" Date: Fri, 1 May 2026 14:46:44 +0000 Subject: [PATCH] chore(sync): mirror docs from openclaw/openclaw@42584964ac08d824c5ce12cb196e70920a3e2f49 --- .openclaw-sync/source.json | 4 ++-- docs/.generated/plugin-sdk-api-baseline.sha256 | 4 ++-- docs/concepts/context-engine.md | 11 +++++++++++ 3 files changed, 15 insertions(+), 4 deletions(-) diff --git a/.openclaw-sync/source.json b/.openclaw-sync/source.json index c50db56f8..ead01ec32 100644 --- a/.openclaw-sync/source.json +++ b/.openclaw-sync/source.json @@ -1,5 +1,5 @@ { "repository": "openclaw/openclaw", - "sha": "77c0ecdf3489c28417d9823b1906ab07d23ec7c5", - "syncedAt": "2026-05-01T13:39:38.629Z" + "sha": "42584964ac08d824c5ce12cb196e70920a3e2f49", + "syncedAt": "2026-05-01T14:44:49.777Z" } diff --git a/docs/.generated/plugin-sdk-api-baseline.sha256 b/docs/.generated/plugin-sdk-api-baseline.sha256 index f9f21541e..c03babba3 100644 --- a/docs/.generated/plugin-sdk-api-baseline.sha256 +++ b/docs/.generated/plugin-sdk-api-baseline.sha256 @@ -1,2 +1,2 @@ -c1446005a26262d6b817d72493471d11c618b98441fad2014f1cf422bfe64bc9 plugin-sdk-api-baseline.json -1b7d71eaabcae7d957396e7ff242598ef22b51851bc3fe1f4b58f2c2e5bf1459 plugin-sdk-api-baseline.jsonl +37787172adf7a55a32097599b4bf5729fc7138c8743c6f4c9d58fc8d01df72a1 plugin-sdk-api-baseline.json +0ec4957528477832085c638a5f7f691c878ba199f3e81f330f162c27cfd9ebf4 plugin-sdk-api-baseline.jsonl diff --git a/docs/concepts/context-engine.md b/docs/concepts/context-engine.md index 393896e1a..fdd14f643 100644 --- a/docs/concepts/context-engine.md +++ b/docs/concepts/context-engine.md @@ -197,6 +197,17 @@ Required members: Prepended to the system prompt. + + Controls which token estimate the runner uses for preemptive overflow + prechecks. Defaults to `"assembled"`, which means only the assembled + prompt's estimate is checked — appropriate for engines that return a + windowed, self-contained context. Set to `"preassembly_may_overflow"` only + when your assembled view can hide overflow risk in the underlying + transcript; the runner then takes the maximum of the assembled estimate + and the pre-assembly (unwindowed) session-history estimate when deciding + whether to preemptively compact. Either way, the messages you return are + still what the model sees — `promptAuthority` only affects the precheck. + `compact` returns a `CompactResult`. When compaction rotates the active transcript, `result.sessionId` and `result.sessionFile` identify the successor