proxitor 0.11.0 → 0.13.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -111,6 +111,17 @@ While proxitor runs, it logs cache usage from upstream so you can see whether ca
111
111
 
112
112
  Quick health poke: `curl http://localhost:8828/health`.
113
113
 
114
+ ### Tuning the cache
115
+
116
+ If the cache hit looks low, three levers fix it — tune them from `proxitor config` → **💾 Caching** (or `proxitor config cache`):
117
+
118
+ - **`cacheControl`** — inject `cache_control` to activate caching (Anthropic-native).
119
+ - **`sessionId`** — inject `session_id` so the provider pins from the first request.
120
+ - **`normalizeVolatileSystem`** — strip Claude Code's volatile `cch` hash so the prefix cache warms on non-Anthropic providers (qwen/glm/…).
121
+ - **`rewriteBlockTtl`** — normalize the TTL on Claude Code's block `cache_control` breakpoints to match your `cacheControlTtl`. Enable it (`auto`/`always`) if Anthropic rejects requests where the root `ttl` is `1h` but the block breakpoints stay at `5m`.
122
+
123
+ See the [configuration reference](./docs/configuration.md#prompt-caching) for the full detail.
124
+
114
125
  ## Commands
115
126
 
116
127
  | Command | Description |