Follow Discord
Sweep 06 Nov 2026 · 01:32Z Build v2.1.319 537 read Stable v2.1.311 Latest v2.1.318 Next v2.1.319 Feeds RSS JSON llms.txt llms-full.txt Unofficial

declare

setting never mined JSON

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.

Shell command safety check now catches more declare/typeset/local flag combinations, and drops a narrower older check

Not Anthropic's. This is the line from the earliest changelog entry here that named it, v2.1.271.

First seen — never in a mined build
Last seen — never in a mined build
Builds0 / 159on this box, as of v2.1.319
Written about v2.1.271 first named in a changelog, 14 Sep 2026

In the changelogs

12

Releases whose published page names declare.

  1. v2.1.315
    Shell functions whose names start with - or + now survive the shell snapshot

    Claude Code's copy of your shell setup now handles functions whose names begin with a minus or plus sign

    found in this entry's text

  2. v2.1.312
    Permission checks now look at what follows export and declare

    When checking shell commands against your permissions, Claude Code now examines the words after export- and declare-style commands

    found in this entry's text

  3. v2.1.311
    Stricter checks on declare, export and readonly in shell commands

    Claude Code checks declare, export, readonly and similar commands more strictly, so more of them now ask for permission

    found in this entry's text

  4. v2.1.311
    Delete-command checks now look again at commands that set variables

    The check on inline shell commands runs a second pass for commands starting with export, declare, typeset, readonly or local

    found in this entry's text

  5. v2.1.309
    Some export and declare shell commands now ask for approval

    Shell declarations whose value comes from an expansion that can fail at runtime are now treated as too complex and need your approval

    found in this entry's text

  6. v2.1.290
    Some rm commands with variables set in front now ask first

    Claude Code now rechecks rm commands with variables set before a declaration, and asks you when it cannot check them all

    found in this entry's text

  7. v2.1.290
    Shell command safety check notes a quoting risk in declarations

    Claude Code's shell command analysis now marks declaration commands where its quote tracking may go out of step

    found in this entry's text

  8. v2.1.273
    Shell-safety analyzer: new differential detection for array-assignment-shaped flags

    Shell-safety checker now flags export/readonly commands whose flags look like an array assignment

    found in this entry's text

  9. v2.1.273
    Shell static-analysis tightened for declare/typeset/local operands

    Claude Code's shell command checker now catches trickier declare/typeset/local arguments

    named in this entry, found in this entry's text

  10. v2.1.273
    Bash differential-execution checker gains new too-complex guards for declare/typeset/local

    Bash safety checker now flags declare/typeset/local commands with complex operands as too complex to pre-check

    named in this entry, found in this entry's text

  11. v2.1.271
    Shell command safety check expanded for declare/typeset/local flags

    Shell command safety check now catches more declare/typeset/local flag combinations, and drops a narrower older check

    found in this entry's text

  12. v2.1.271
    zsh typeset/declare permission check widened to more flags

    Bash's zsh permission check now catches more typeset/declare flags that change assignment behavior

    found in this entry's text

First cited

0

No release's published evidence quotes this name. The ledger indexes the Evidence lines of every changelog on this site, so this says nobody here has ever quoted it; it says nothing about how old the name is.

Presence across releases

0

The 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.

Feedback