workspaceTrust
A Claude Code settings key, read out of the shipped bundle. No mined inventory carries it: everything below comes from what this site has written about it.
SDK initialize gains an internal workspaceTrust field so a host app can pre-approve a directory's trust dialog
Not Anthropic's. This is the line from the earliest changelog entry here that named it, v2.1.265.
In the changelogs
6Releases whose published page names workspaceTrust.
-
v2.1.281
SDK workspaceTrust warnings reworded and show the real outcome
SDK workspaceTrust warnings drop the 'initialize:' prefix, and the 'recorded nothing' warning now shows the actual outcome
found in this entry's text, named in this entry
-
v2.1.281
SDK initialize handles parked spare sessions (--await-claim)
SDK initialize on a parked spare session (
--await-claim) now ignores workspace trust and can defer the first promptfound in this entry's text
-
v2.1.265
New internal 'workspaceTrust' field on SDK initialize
SDK initialize gains an internal workspaceTrust field so a host app can pre-approve a directory's trust dialog
found in this entry's text, named in this entry
-
v2.1.265
SDK/host
initializegains aworkspaceTrustoption to programmatically grant directory trustSDK/host initialize can now grant directory trust programmatically via a validated workspaceTrust option
found in this entry's text, named in this entry
-
v2.1.265
Workspace trust plumbed into init config and SDK session request
Workspace trust status is now passed into session setup and checked against trusted network directories
found in this entry's text, named in this entry
-
v2.1.265
workspaceTrust added as a synced "preference"
The workspaceTrust setting now syncs as a per-user preference instead of being dropped
found in this entry's text, named in this entry
First cited
6The earliest release whose published evidence quoted workspaceTrust was v2.1.265, 8 Sep 2026. That is the oldest release this project wrote about it, so it is a floor on the name's age and not the release that introduced it. It is not a presence reading: which builds carried the name is the table below.
Presence across releases
0The miner has never read a build containing this name. It is here because a changelog entry of ours names it, which is evidence that it existed and not evidence of which releases carried it. The inventory starts at v2.1.138 and everything older than that was never mined.
Read out of the published npm bundle release by release, and out of Anthropic's own documentation as this site captured it. Nothing on this page is a description anybody here wrote about what the settings key does. All settings keys.