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

Claude Agent SDK TypeScript v0.3.243:新增

v0.3.243

原文
发到 X

What's changed

变更内容

  • Added optional queued_turn_count to result messages: the number of queued user sends still pending when the result was produced, so hosts know whether another turn and result will follow
  • Fixed mcp_status reporting a remote MCP server as connected after its connection dropped; it now reports pending while reconnecting, then connected or failed
  • Fixed managed disableAllHooks also disabling hook callbacks registered through the hooks option; they now keep running, matching allowManagedHooksOnly
  • Changed Read tool PDF results: the document block (or page image blocks for pages reads) now arrives inside the tool_result content instead of as a separate user message after it
  • Updated to parity with Claude Code v2.1.243
  • 在结果消息中新增可选的 queued_turn_count:即生成结果时仍待处理的排队用户发送次数,以便主机知晓是否会有另一轮及结果紧随其后。
  • 修复了 mcp_status 在远程 MCP 服务器连接断开后仍报告为已连接的问题;现在会在重连期间报告为待定,随后报告为已连接或失败。
  • 修复了托管式 disableAllHooks 也会禁用通过 hooks 选项注册的钩子回调的问题;现在这些回调会继续运行,与 allowManagedHooksOnly 保持一致。
  • 更改了 Read 工具的 PDF 结果:文档块(或针对页面读取的页面图像块)现在位于 tool_result 内容中,而不是作为其后的单独用户消息。
  • 更新至与 Claude Code v2.1.243 保持一致。

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]

更进一步:量化金融体系

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

进入量化体系 →

相似阅读

另一事件,读法相近