[docs] Add --anthropic-auto-cache and --anthropic-cache-tail-ttl documentation#2881
Open
github-actions[bot] wants to merge 1 commit intomainfrom
Open
[docs] Add --anthropic-auto-cache and --anthropic-cache-tail-ttl documentation#2881github-actions[bot] wants to merge 1 commit intomainfrom
github-actions[bot] wants to merge 1 commit intomainfrom
Conversation
…entation Document the two Anthropic prompt-cache optimization flags that were added to src/cli.ts but were missing from the user-facing documentation: - docs/usage.md: add flags to the CLI reference help output section - docs/api-proxy-sidecar.md: add a new 'Anthropic prompt-cache optimizations' subsection under Configuration reference explaining what the flags do, when to use each TTL value, and the config file equivalent The flags were already tracked in docs/awf-config-spec.md (lines 99-100) but not explained in the main usage or API proxy docs. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Documentation Sync - May 2026
This PR synchronizes documentation with code changes from the past 7 days.
Changes Made
Updated
docs/usage.md: Added--anthropic-auto-cacheand--anthropic-cache-tail-ttlto the CLI reference help output section. These flags were present insrc/cli.tsbut missing from the docs.Updated
docs/api-proxy-sidecar.md: Added a new "Anthropic prompt-cache optimizations" subsection under the Configuration reference, explaining:--anthropic-auto-cachedoes (injects cache breakpoints, upgrades TTL, strips ANSI codes — typically ~90% cost savings)5mvs1hTTL for--anthropic-cache-tail-ttlCode Changes Referenced
55b6df7: Add first-class ARC/DinD compatibility mode for AWF (Add first-class ARC/DinD compatibility mode for AWF #2839) — this massive commit introduced many new flags and features. The--anthropic-auto-cacheand--anthropic-cache-tail-ttlflags were added tosrc/cli.ts, tracked indocs/awf-config-spec.md, but not documented indocs/usage.mdordocs/api-proxy-sidecar.md.Verification
src/cli.tsflag definitions andcontainers/api-proxy/anthropic-cache.jsimplementationsrc/awf-config-schema.jsonandsrc/config-file.ts