All settings changedsettings-reference
Nearest release: v2.1.251, published 7 hours before this site recorded the change. Shown because the two are within 24 hours of each other. Nothing here says the release caused the edit.
Recorded here
Lines+3added
Lines−3removed
From line
1,179
where the diff opens
First seen
21 Aug 2026
this site's first read of the page
Recorded edits149to this page, all time
The whole hunk
from line 1179, old and new numbered
/
This page is larger than the 256 KiB this site keeps, so one side of the diff below stops where the stored text does.
from line 1179
11791179 * `"5m"`: the cache holds for five minutes
11801180 * `"1h"`: the cache holds for an hour
11811181* **Default**: unset, so each of these requests gets [its default lifetime](/docs/en/prompt-caching#which-ttl-each-request-gets)
1182* **Per-session overrides**: [`FORCE_PROMPT_CACHING_5M`](/docs/en/env-vars) takes precedence over everything else, then [`CLAUDE_CODE_SUBAGENT_PROMPT_CACHE_TTL`](/docs/en/env-vars), then this key, and last [`ENABLE_PROMPT_CACHING_1H`](/docs/en/env-vars), which asks for the one-hour lifetime on every request
1182* **Per-session overrides**: [`FORCE_PROMPT_CACHING_5M`](/docs/en/env-vars) takes precedence over everything else, then [`CLAUDE_CODE_SUBAGENT_PROMPT_CACHE_TTL`](/docs/en/env-vars), then this key, then [`ENABLE_PROMPT_CACHING_1H`](/docs/en/env-vars), which asks for the one-hour lifetime on every request. For where a subagent's own frontmatter value ranks, see [Choose the TTL yourself](/docs/en/prompt-caching#choose-the-ttl-yourself)
11831183
11841184This example gives subagents and the other requests outside the main conversation the one-hour lifetime:
11851185
from line 1708
17081708
17091709### `sandbox.filesystem.allowWrite`
17101710
1711Add paths where sandboxed commands can write, beyond the working directory and the session temp directory. Use it when a subprocess such as `kubectl` or a build tool needs to write outside the project.
1711Add paths where sandboxed commands can write, beyond the working directory, the directories you've added with `--add-dir` or `/add-dir`, and the session temp directory. Use it when a subprocess such as `kubectl` or a build tool needs to write outside the project.
17121712
17131713* **Scope**: [`Any file`](#scopes)
17141714* **Type**: array of path strings, using the [sandbox path prefixes](#sandbox-path-prefixes)
1715* **Default**: unset, so sandboxed commands can write only to the working directory and the session temp directory
1715* **Default**: unset, so sandboxed commands can write only to the working directory, any directories you've added with `--add-dir` or `/add-dir`, and the session temp directory
17161716
17171717This lets a build write under `/tmp/build` and lets `kubectl` update your kubeconfig:
17181718
from line 3444
34443444
34453445```json settings.json theme={null}
34463446{
3447 "wheelScrollAccelerationEnabled": false
3448}
3449```
3450
3451Requires Claude Code v2.1.174 or later.
3452
3453## Git and attribution
3454
3455Control the attribution Claude Code adds to commits and pull requests and how it works with git.
3456
3457<span id="attribution-settings" />
3458
3459### `attribution`
3460
3461Customize the attri
3447 "wheelScrollAccelerationEnabled"
No line in this hunk matches that.