mirror of
https://github.com/openclaw/openclaw.git
synced 2026-08-17 08:02:12 -06:00
7f93011562
* fix: keep claude-cli prompt-cache prefix stable across turns Claude CLI has no cache_control breakpoint, so mashed per-turn system prompts rewrote the native prefix and burned cache hits on follow-ups. Co-authored-by: Cursor <cursoragent@cursor.com> * fix(cli): scope Claude prompt cache suffix * docs: scope Claude CLI cache guidance * test(cli): cover Claude cache prompt modes * fix: gate Claude CLI prompt cache flag * docs: clarify Claude CLI cache flag gate * fix: preserve Claude CLI system prompt roles * fix(claude-cli): close cache flag compatibility gaps * fix(claude-cli): reject prerelease cache flag versions --------- Co-authored-by: VACInc <3279061+VACInc@users.noreply.github.com> Co-authored-by: Cursor <cursoragent@cursor.com>