{"version":"2.1.318","anchor":"rate-limit-probe-and-pdf-read-helpers","canonical_anchor":"rate-limit-probe-and-pdf-read-helpers","heading":"Usage-limit check can now run in non-interactive sessions","tier":"internal","area":"Usage & Limits","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.318\/e\/rate-limit-probe-and-pdf-read-helpers","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.318","markdown":"### Usage-limit check can now run in non-interactive sessions\n\nClaude Code can now check your usage-limit status outside an interactive session when an option allows it, and it now tracks PDF reads separately\n\n**Unclear.** It is unclear whether anything turns on the usage-limit check in non-interactive sessions, so scripted or automated runs may or may not behave differently.\n\n**What**\n\n- Usage-limit check: Claude Code has a check that asks how much of your usage allowance is left. Before, it never ran in a non-interactive session, meaning a run where nobody is typing at the prompt. It can now run there when an option called `probeInNonInteractiveSession` allows it.\n\n- Auto mode: the rules for when auto mode skips a check done on Anthropic's servers have changed.\n\n- PDF reads: when Claude Code reads a PDF, it now marks that action with its own kind of label. This lets Claude Code keep track of PDF reads separately from other actions.\n\n**Why**\n\nThese are groundwork changes inside Claude Code and have no clear effect on what you do yet.\n\n- Area: Usage & Limits\n- Names: `probeInNonInteractiveSession`\n- Tier: Under the hood\n- Useful: 2\/5\n- Signal: 2\/5\n- Scope: individual\n- Heads-up: no"}