Claude Agent SDK v0.3.219:新增取消队列与沙箱白名单
v0.3.219
What's changed
- Added opt-in cancel_queued to the interrupt control request (capability interrupt_cancel_queued_v1): cancels queued and pending-dispatch messages alongside the abort
- Added fast_mode_disabled_reason to result and init messages so SDK hosts can explain why fast mode is off
- Added DirectoryAdded lifecycle hook event to the control protocol, fired when a new working directory is registered mid-session
- Fixed the initialize response reporting fast_mode_state from the spawn-time model after a model switch
- Added sandbox.network.strictAllowlist to SDK settings types for deterministically denying non-allowlisted hosts in sandboxed commands
- Added workflowSizeGuideline to SDK settings types for setting the advisory dynamic-workflow size guideline
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]更进一步:量化金融体系
看懂新闻只是起点——沿量化金融路径,把它变成能交付的工程能力