跳到主内容
@wquguru

Claude Agent SDK TypeScript v0.3.314:新增prewarm与沙盒失败

v0.3.314

原文
发到 X

What's changed

变更内容

  • Added sandbox_required_unavailable to startup_failure_reason, for the result Claude Code writes when a required sandbox cannot run
  • Added permissions.blockWritesOutsideWorkingDirectories to the Settings type
  • Added prewarm() (alpha) to the @anthropic-ai/claude-agent-sdk/core entry point
  • Fixed a settings file left out of settingSources still supplying some settings, such as auto mode rules and saved permission consents
  • Updated to parity with Claude Code v2.1.314
  • 在 startup_failure_reason 中新增 sandbox_required_unavailable,用于表示当必需沙箱无法运行时 Claude Code 写入的结果
  • 在 Settings 类型中新增 permissions.blockWritesOutsideWorkingDirectories
  • 在 @anthropic-ai/claude-agent-sdk/core 入口点新增 prewarm()(Alpha 版本)
  • 修复了 settingSources 中遗漏的设置文件仍会提供部分设置(如自动模式规则和已保存的权限同意项)的问题
  • 更新以与 Claude Code v2.1.314 保持同步

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]

更进一步:量化金融体系

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

进入量化体系 →

关联讨论

同一事件的更多信源

相似阅读

关联信息,但可能不是同一事件