Volver a Noticias
ProductoAI Understanding sesión informativa

Anthropic lanza Claude Code v2.1.285 con nuevos controles de entorno y corrección de errores

La última versión Claude Code agrega variables de entorno para deshabilitar WebFetch, controles de proveedores más estrictos y docenas de correcciones de estabilidad en CLI, complementos y sesiones en la nube.

4 min readRead the primary source
Source-page capture accompanying Anthropic releases Claude Code v2.1.285 with new environment controls and bug fixes
Documento de fuente primariaFuente registrada
Editor
github.com
Enlace fuente
github.comhttps://github.com/anthropics/claude-code/releases/tag/v2.1.285
Tipo de fuente
Documento principal: un anuncio oficial, documento, archivo o página propia que leemos directamente.
ContextoEntiende esto en 60 segundos

Empieza aquí

Términos clave

API (interfaz de programación de aplicaciones)
Una forma estructurada para que un sistema de software envíe solicitudes y reciba respuestas de otro sistema.
Característica
Una variable de entrada utilizada por un modelo para hacer predicciones.
rápido
Las instrucciones de entrada y el contexto proporcionados a un modelo generativo.
Ponte a pruebaModelos de IA explicados cuestionario

que paso

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.

Detalles de la fuente: github.com ↗

Por qué es importante

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

Mecanismo interactivo: cómo funciona realmente

Explore la tecnología subyacente detrás de este desarrollo de forma interactiva.

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.
Verificación interactiva del concepto+10 Points
AI Models Explained Quiz

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

Qué ver a continuación

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.

Guías y cuestionarios relacionados

Modelos de IA explicadosAgentes de IAPrompt EngineeringÉtica de la IAPon a prueba lo que sabes: prueba un cuestionario gratuito sobre IABusque un término de IA en nuestro glosarioSiga el rastreador de lanzamientos de modelos de IA
¿Encontró esto útil?