精选75Claude Agent SDK TypeScript(GitHub Releases)AI 编程与模型
Claude Agent SDK v0.3.214:权限模式校验与消息字段扩展
v0.3.214
What's changed
- set_permission_mode now rejects unrecognized permission modes with an error instead of silently adopting them; the 'manual' alias is accepted at every ingress
- Added optional subkind: 'scheduled-trigger' to the task-notification member of SDKMessageOrigin, marking deliveries that are the fired prompt of a user-configured scheduled task
- applyFlagSettings({effortLevel}) now accepts 'max' in its TypeScript type (runtime already supported it)
- Assistant messages truncated by interrupt() now carry aborted: true, so consumers can distinguish a mid-stream partial from a completed message
- Added optional subagent_type and subagent_retry fields to tool_progress messages so clients can show a subagent waiting out an API rate-limit retry
- The system/init message's plugins entries and the reload_plugins response now include each plugin's manifest version
- SessionStart hooks now report source "fork" instead of "resume" when the session begins as a fork
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]更进一步:量化金融体系
看懂新闻只是起点——沿量化金融路径,把它变成能交付的工程能力