claude code 2.1.300 is worth your update, and the reason is mods. the headline change: agent.spawn hooks can now rewrite a workflow agent's prompt and model at spawn time. before, a hook could only refuse the agent. that turns routing into code: cheap model for doc sweeps, strong model for the actual fix. also in: prompt.change fires on non-typed prompt changes (history recall, undo, plugin fill), /advisor lands on claude platform on aws, and otel spans now carry genai semantic-convention attr
claude code 2.1.300 值得你更新,原因就是 mods。头条 c
claude code 2.1.300 值得你更新,原因就是 mods。 头条变化:agent.spawn 钩子现在可以在生成时重写工作流 agent 的提示词和模型。以前,钩子只能拒绝该 agent。这让路由变成了代码:文档清扫用便宜模型,实际修复用强模型。 此外还有:prompt.change 会在非键入式提示词变化(历史召回、撤销、插件填充)时触发,/advisor 登陆 aws 上的 claude platform,以及 otel span 现在携带 genai 语义约定属性
关于这个 mod
claude code 2.1.300 值得你更新,原因就是 mods。
头条变化:agent.spawn 钩子现在可以在生成时重写工作流 agent 的提示词和模型。以前,钩子只能拒绝该 agent。这让路由变成了代码:文档清扫用便宜模型,实际修复用强模型。
此外还有:prompt.change 会在非键入式提示词变化(历史召回、撤销、插件填充)时触发,/advisor 登陆 aws 上的 claude platform,以及 otel span 现在携带 genai 语义约定属性
安装
安装方法请查看原始来源。
原文 / README
claude code 2.1.300 is worth your update, and the reason is mods.
the headline change: agent.spawn hooks can now rewrite a workflow agent's prompt and model at spawn time. before, a hook could only refuse the agent. that turns routing into code: cheap model for doc sweeps, strong model for the actual fix.
also in: prompt.change fires on non-typed prompt changes (history recall, undo, plugin fill), /advisor lands on claude platform on aws, and otel spans now carry genai semantic-convention attr