Summary

Anthropic released Claude Code v2.1.141 with a new terminalSequence field in hook JSON output and an environment variable to prefer HTTPS when cloning GitHub plugin sources. The release also includes updates to agent session scoping, feedback capture, rewind summarization, Windows daemon diagnostics, MCP handling, and background-agent behavior.

What changed

Claude Code v2.1.141 added headless hook output support, HTTPS-first plugin cloning, and a broad set of reliability and agent-management fixes.

Why it matters

The headless and plugin changes matter because Claude Code is increasingly used in managed, automated, and enterprise environments where terminal control and SSH assumptions become blockers. This release keeps pushing the product from local TUI tool toward programmable agent infrastructure.

Evidence excerpt

The release adds a terminalSequence field for hook JSON output and CLAUDE_CODE_PLUGIN_PREFER_HTTPS for cloning GitHub plugin sources over HTTPS instead of SSH.

Sources