openclaw/docs/reference
Vito Cappello 7f93011562
fix: preserve Claude CLI prompt cache reuse across turns (#124300)
* 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>
2026-08-15 18:17:17 -07:00
..
templates feat(agents): rename model- and user-facing scheduler strings to automations (#114852) 2026-07-30 08:54:55 -07:00
AGENTS.default.md feat(memory): provenance-gated memory with dreaming on by default (#114819) 2026-07-28 06:04:25 -04:00
api-usage-costs.md fix(google): align unsupported CLI auth paths (#118034) 2026-08-03 00:13:19 +08:00
credits.md
database-schemas.md refactor(state): retire commitments schema (#122176) 2026-08-12 14:21:34 -07:00
device-models.md
full-release-validation.md fix(release): bound validation retries and soak 2026-08-10 22:31:32 +08:00
memory-config.md refactor(plugins): replace node-llama-cpp with managed llama-server (#123105) 2026-08-13 16:58:20 -07:00
openclaw-ai.md build(deps): remove npm shrinkwrap; mirror pnpm lock into transient package locks (#114006) 2026-07-26 01:29:55 -04:00
prompt-caching.md fix: preserve Claude CLI prompt cache reuse across turns (#124300) 2026-08-15 18:17:17 -07:00
pull-request-review-flow.md ci: acknowledge pull request receipts in clawsweeper dispatch (#120934) 2026-08-09 00:15:08 -07:00
release-performance-sweep.md build(deps): remove npm shrinkwrap; mirror pnpm lock into transient package locks (#114006) 2026-07-26 01:29:55 -04:00
RELEASING.md refactor(plugin-sdk): replace API baselines with diffs (#123036) 2026-08-13 03:45:36 -07:00
rich-output-protocol.md docs(media): clarify legacy MEDIA line formatting (#96275) 2026-07-31 21:21:59 -07:00
rpc.md feat(channels): add channel-owned setup contracts (#112176) 2026-07-22 19:57:42 -04:00
secret-placeholder-conventions.md
secretref-credential-surface.md feat(secrets): add SQLite-backed secret store (#121559) 2026-08-10 07:08:40 -07:00
secretref-user-supplied-credentials-matrix.json feat(google): allow operator headers on Gemini web search (#115549) 2026-08-02 01:41:09 +10:00
session-management-compaction.md fix(sessions): honor total entry cap with protected history (#123081) 2026-08-15 08:03:57 +08:00
test.md fix(test): serialize default e2e runner (#122203) 2026-08-12 05:01:04 +08:00
token-use.md fix(google): align unsupported CLI auth paths (#118034) 2026-08-03 00:13:19 +08:00
transcript-hygiene.md improve(gateway): compose live session stress probes (#122519) 2026-08-12 06:22:08 -07:00
wizard.md fix(openai): remove duplicate GPT-5.6 picker entry (#122178) 2026-08-11 12:29:36 -07:00