chore(sync): mirror docs from openclaw/openclaw@42584964ac

This commit is contained in:
openclaw-docs-sync[bot] 2026-05-01 14:46:44 +00:00
parent d6c6c9e970
commit d3385d5075
3 changed files with 15 additions and 4 deletions

View File

@ -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"
}

View File

@ -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

View File

@ -197,6 +197,17 @@ Required members:
<ParamField path="systemPromptAddition" type="string">
Prepended to the system prompt.
</ParamField>
<ParamField path="promptAuthority" type='"assembled" | "preassembly_may_overflow"'>
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.
</ParamField>
`compact` returns a `CompactResult`. When compaction rotates the active
transcript, `result.sessionId` and `result.sessionFile` identify the successor