Claude Code v2.1.141: Hook Terminal Sequences and Workload Identity Federation

Anthropic

Tools official 1 src. ~1 min

Anthropic released Claude Code v2.1.141 on May 13, 2026 (50+ changes). Key additions: `terminalSequence` field in hook JSON output so hooks can fire desktop notifications, window titles, and terminal bells without a controlling terminal; `CLAUDE_CODE_PLUGIN_PREFER_HTTPS` env var for environments without a GitHub SSH key; `ANTHROPIC_WORKSPACE_ID` for workload identity federation scoping; `claude agents --cwd <path>` to filter sessions by directory; a new 'Summarize up to here' Rewind menu option; and amber spinner feedback after 10 seconds of long thinking.

Why it matters

Notably improved hook infrastructure (terminal notifications without a tty) and enterprise features (workspace-scoped identity federation) make headless and multi-tenant deployments more robust.

Importance: 2/5

Claude Code daily release — hook terminal sequences and workspace identity federation

Sources