Назад към Новини
ПродуктAI Understanding брифинг

Anthropic пуска Claude Code v2.1.285 с нови контроли на средата и корекции на грешки

Най-новата версия на Claude Code добавя променливи на средата за деактивиране на WebFetch, по-строг контрол на доставчика и десетки корекции на стабилност в CLI, плъгини и облачни сесии.

4 min readRead the primary source
Source-page capture accompanying Anthropic releases Claude Code v2.1.285 with new environment controls and bug fixes
Документ с първичен източникИзточникът е записан
Издател
github.com
Изходна връзка
github.comhttps://github.com/anthropics/claude-code/releases/tag/v2.1.285
Тип източник
Първичен документ — официално съобщение, документ, документ или първа страна, която четем директно.
КонтекстРазберете това за 60 секунди

Започнете тук

Ключови термини

API (интерфейс за програмиране на приложения)
Структуриран начин за една софтуерна система да изпраща заявки до и да получава отговори от друга система.
Характеристика
Входна променлива, използвана от модел за правене на прогнози.
подкана
Инструкциите за въвеждане и контекстът, предоставени на генериращ модел.
Тествайте себе сиТест за обяснение на AI модели

Какво стана

Anthropic published version 2.1.285 of Claude Code, its AI‑powered coding assistant. The update introduces several new environment variables—CLAUDE_CODE_DISABLE_WEB_FETCH, CLAUDE_CODE_NONSTREAMING_TIMEOUT_RETRIES, and CLAUDE_CODE_RESUME_INTERRUPTED_TURN—plus a new CLI flag (--desktop) to launch the desktop app in the current directory. It also adds a managed setting (allowedProviders) to restrict which API back‑ends a machine may use. The release bundles more than 150 bug fixes covering plugin installation, sub‑agent behavior, cloud session resilience, artifact publishing, and UI glitches in VS Code and the desktop client.

The release adds three new environment variables. CLAUDE_CODE_DISABLE_WEB_FETCH lets operators turn off the WebFetch tool, preventing the assistant from retrieving external content—a key safeguard for air‑gapped or compliance‑heavy environments. CLAUDE_CODE_NONSTREAMING_TIMEOUT_RETRIES caps retry attempts for fallback non‑streaming requests that time out, reducing the risk of runaway network traffic. CLAUDE_CODE_RESUME_INTERRUPTED_TURN enables the CLI to automatically replay a turn that was cut off by a max‑turns limit, improving session continuity.

A new CLI flag, "claude --desktop", launches the Claude desktop application in the current working directory, streamlining the workflow for developers who prefer a GUI. The "claude plugin configure" command now displays plugin options, highlights unset values, and can ingest new settings from stdin via the "--values-stdin" option, simplifying bulk configuration.

The "allowedProviders" managed setting gives administrators the ability to whitelist specific back‑ends—Anthropic API, custom endpoints, Bedrock, Mantle, Vertex AI, Foundry, Claude Platform on AWS, or a Cloud gateway—thereby enforcing consistent model usage across an organization.

A large set of bug fixes addresses instability in plugin installation over SSH, handling of managed‑settings files, cloud session resumption after compaction, sub‑agent permission flows, artifact publishing conflicts, and numerous UI glitches in VS Code and the desktop client. These fixes collectively reduce session crashes, prevent data loss, and improve the overall user experience.

Детайли за източника: github.com ↗

Защо има значение

These changes tighten security and operational control for enterprises deploying Claude Code, especially in regulated environments where unrestricted web access or uncontrolled API endpoints pose risk. By exposing granular toggles via environment variables and managed settings, administrators can enforce policies without modifying code. The extensive stability fixes improve developer productivity, reducing interruptions caused by session crashes, permission‑ loops, or inconsistent artifact handling. Together, the enhancements make Claude Code more reliable for large‑scale, collaborative coding workflows and pave the way for broader adoption in corporate settings.

Enterprise customers often require strict control over external network calls and model selection to meet security and compliance mandates. By exposing the ability to disable WebFetch and limit providers, Anthropic gives organizations concrete levers to align Claude Code with internal policies, making the tool viable for sensitive codebases.

Stability is a critical factor for developer adoption. The extensive fixes—ranging from SSH‑based plugin installs to artifact versioning and sub‑agent lifecycle handling—directly translate into fewer interruptions, less manual troubleshooting, and smoother CI/CD integration. This reduces the hidden cost of AI‑assisted development and encourages broader team usage.

The new CLI and configuration commands lower the friction for onboarding and managing Claude Code at scale. Developers can now launch the desktop app from any directory, and administrators can script bulk plugin configuration via stdin, supporting automated provisioning in large organizations.

Interactive Mechanism

Интерактивен механизъм: как всъщност работи

Разгледайте интерактивно основната технология зад тази разработка.

Agent Lifecycle Stage:
1
User Intent & Planning: "Audit customer refund request #4092 and settle payment."
2
Tool Calling: Emits structured JSON call crm_get_transaction(id='4092').
3
Guardrail & Verification:🛡️ Paused: High-value action requires human operator sign-off.
4
Final Settlement: Refund recorded, email receipt dispatched, and audit log stored.
Core takeaway: An AI agent is not just a language model—it is a closed loop of planning, tool invocation, and environment feedback. Production systems require self-healing retries and strict human approval guardrails.
Интерактивна проверка на концепцията+10 Points
AI Models Explained Quiz

Which component of an AI application is the machine-learning model itself?

Какво да гледате след това

Future releases may expand the allowedProviders list and introduce finer‑grained permission modes for sub‑agents. Watch for Anthropic’s roadmap on integrating Claude Code with additional IDEs and for any policy‑driven features that enable enterprise‑wide governance of AI‑generated code. Monitoring how the new environment variables are adopted in CI/CD pipelines will indicate the maturity of operational controls for AI‑assisted development.

Anthropic may further refine the allowedProviders setting, potentially adding role‑based access controls or dynamic policy updates that react to changing compliance requirements.

The introduction of environment‑based toggles suggests a roadmap toward more granular runtime controls, such as per‑project or per‑user flags, which could be leveraged in future CI/CD integrations.

Observing how the community adopts the new CLI flags and environment variables will indicate whether Claude Code is moving from a developer‑centric tool toward an enterprise‑grade platform with robust governance capabilities.

Свързани ръководства и викторини

Обяснени модели на AIAI агентиPrompt EngineeringЕтика на ИИТествайте какво знаете — опитайте безплатен тест с изкуствен интелектПотърсете термин за AI в нашия речникСледвайте програмата за проследяване на пускането на AI модел
Намирате ли това за полезно?