---
id: 20260414-T0-09
title: "Claude Code更新v2.1.105：新增工作树路径参数和插件后台监控"
title_en: "Claude Code v2.1.105: Adds Worktree Path Parameter and Plugin Background Monitoring"
url: https://ai.daily.yangsir.net/daily/20260414-T0-09
issue_date: 2026-04-14
publish_date: 2026-04-13T21:53:13.000Z
category: release
source_name: "Claude Code Releases"
source_url: https://github.com/anthropics/claude-code/releases/tag/v2.1.105
---

# Claude Code更新v2.1.105：新增工作树路径参数和插件后台监控

Claude Code发布v2.1.105版本，主要更新包括：为EnterWorktree工具添加路径参数以切换现有工作树；新增PreCompact钩子支持，可通过返回特定代码阻止压缩操作；通过顶级API为插件添加后台监控功能。这些改进提升了开发环境的灵活性和插件管理能力。

## English Version

**Claude Code v2.1.105: Adds Worktree Path Parameter and Plugin Background Monitoring**

Claude Code released v2.1.105 with key updates: added path parameter to EnterWorktree for switching existing worktrees, implemented PreCompact hook support to block compression, and introduced background monitoring for plugins via top-level API.

---

**来源**：[Claude Code Releases](https://github.com/anthropics/claude-code/releases/tag/v2.1.105)

**详情页**：https://ai.daily.yangsir.net/daily/20260414-T0-09

---

*智语观潮 · Daily — https://ai.daily.yangsir.net/llms.txt*