---
id: 20260829-T0-16
title: "Claude Code v2.1.251更新：新增模型切换钩子与实时流式传输"
title_en: "Claude Code v2.1.251: Adds Model Switch Hooks and Live Stream to Remote Control"
url: https://ai.daily.yangsir.net/daily/20260829-T0-16
issue_date: 2026-08-29
publish_date: 2026-08-28T18:19:32.000Z
category: release
source_name: "Claude Code Releases"
source_url: https://github.com/anthropics/claude-code/releases/tag/v2.1.251
---

# Claude Code v2.1.251更新：新增模型切换钩子与实时流式传输

Claude Code发布v2.1.251版本更新。新增PreModelSwitch和PostModelSwitch钩子事件，支持在模型切换时进行拦截、确认或注释；SessionStart恢复钩子现在可获取会话陈旧度和预估重新缓存成本；同时，向Remote Control客户端增加子代理工具调用和结果的实时流式传输功能。

## English Version

**Claude Code v2.1.251: Adds Model Switch Hooks and Live Stream to Remote Control**

Claude Code v2.1.251 introduces PreModelSwitch and PostModelSwitch hook events for blocking, confirming, or annotating model switches. SessionStart resume hooks now receive session staleness and estimated re-cache cost. Added live streaming of subagent tool calls/results to Remote Control clients.

---

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

**详情页**：https://ai.daily.yangsir.net/daily/20260829-T0-16

---

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