跳到主内容
@wquguru
精选75Claude Agent SDK TypeScript(GitHub Releases)AI 编程与模型

Claude Agent SDK TS v0.3.232:Subagent MCP 帧结构变更

v0.3.232

原文
发到 X

What's changed

变更内容

  • Subagent MCP tool_result frames whose result carries _meta now emit tool_use_result as { content, _meta } (matching main-loop frames) instead of a bare value
  • /context result messages now carry a structured context_usage payload (new SDKContextUsage type), so consumers can render the context-usage card without parsing the markdown table
  • vcs_state_changed events now populate the branch field for push operations, sourced from the pushed ref
  • 子代理 MCP 工具结果帧中,其结果携带 _meta 时,现在会发出 tool_use_result 作为 { content, _meta }(与主循环帧匹配),而不是裸值
  • /context 结果消息现在携带结构化的 context_usage 负载(新的 SDKContextUsage 类型),因此消费者无需解析 markdown 表格即可渲染上下文使用卡片
  • vcs_state_changed 事件现在为推送操作填充 branch 字段,该字段来源于推送的引用

Update

更新

代码 · 7
npm install @anthropic-ai/[email protected]
# or
yarn add @anthropic-ai/[email protected]
# or
pnpm add @anthropic-ai/[email protected]
# or
bun add @anthropic-ai/[email protected]
代码 · 7
npm install @anthropic-ai/[email protected]
# or
yarn add @anthropic-ai/[email protected]
# or
pnpm add @anthropic-ai/[email protected]
# or
bun add @anthropic-ai/[email protected]

更进一步:量化金融体系

看懂新闻只是起点——沿量化金融路径,把它变成能交付的工程能力

进入量化体系 →

相似阅读

另一事件,读法相近