GitHub Claude-Code v2.1.27 Release: Key Updates and Fixes

Claude-Code has released version 2.1.27, which includes a series of updates and bug fixes aimed at improving developer experience when using the tool. This release focuses on better debugging capabilities, refined permission handling, and integration enhancements in a Visual Studio Code environment.
Key updates include:
- Enhanced debug logging now captures tool call failures and denials, providing more insights into command execution errors.
- Fixed an issue with context management validation that affected gateway users. The issue was bypassed by setting
CLAUDE_CODE_DISABLE_EXPERIMENTAL_BETAS=1. - Introduced the
--from-prflag, designed to resume sessions tied to specific GitHub PR numbers or URLs. Sessions created viagh pr createare automatically linked to the corresponding PRs. - Improvements to the
/contextcommand output ensure that it now correctly displays colored output. - The status bar bug, where background task indicators were being duplicated when PR status was shown, has been resolved.
- The VSCode integration has been enhanced with Claude in Chrome, offering a smoother user experience.
- Permission handling has been adjusted to respect content-level prompts. Previously, setting
allow: ["Bash"]andask: ["Bash(rm *)"]permitted all Bash commands without further checks, but it now requires explicit permission for usingrmcommands. - On Windows, execution of Bash commands now works correctly for users with
.bashrcfiles, and the issue causing console windows to flash when spawning child processes has been fixed. - A fix in VSCode addresses the OAuth token expiration issue that was resulting in 401 errors during extended sessions.
These updates are particularly relevant for developers who use Claude-Code for GitHub PR management and debugging within VSCode, especially those on Windows who experienced command execution issues.
📖 Read the full source: GitHub Claude-Code
👀 See Also

Claude Desktop vs Claude Code: System Prompt Differences Affect AI Behavior
A user reports significant behavioral differences between Claude Desktop and Claude Code despite using the same Claude Opus model, account, and settings. The differences include reflexive agreement, unsolicited wellness advice, and business-focused framing in Desktop that don't occur in Code.

Claude Code v2.1.91 Updates: Agent Design Patterns, Memory Rules, and Tool Improvements
Claude Code v2.1.91 adds a reference guide for agent design patterns covering tool surface design, context management, and caching strategies. The update simplifies memory selection rules, adds security monitoring for memory poisoning, and improves tool descriptions for Edit, ReadFile, and Write operations.

Claude Code v2.1.160: Safety Prompts for Shell Config, acceptEdits File Protection, and Dozens of Bug Fixes
Anthropic released Claude Code v2.1.160 with safety prompts before writing to shell startup files and build-tool configs in acceptEdits mode, improved Windows clipboard support, and fixed session history loss.

Revolutionize API Monitoring Across Providers with onWatch
Discover how onWatch, a powerful new tool, streamlines tracking your AI API quota usage across multiple providers, ensuring you stay within limits and optimize resource allocation.