Claude Code 发布 v2.1.333:/code-review 支持 REVIEW.md,Mods API 大幅扩展
Anthropic 的 Claude Code 发布 v2.1.333 版本,核心更新包括 /code-review 现在遵循仓库默认分支根目录的 REVIEW.md 规则,以及新增让 Claude 停止单个运行中 agent 而不影响其他 agent 继续执行的能力。Gateway 侧在 429 错误中加入了 error_code: spend_limit_reached,明确标识用户达到消费上限。 对 mods(插件开发者)的支持是本版重头:新增 $.ui.render 让 mod 可以绘制可被其他 mod 包装、重样式或替换的组件,$.http.stream 支持流式读取响应体,$.http.fetch 增加 base64 请求体、最长十分钟的 timeoutMs 和 redirect: "manual"。状态方面,$.state.set 新增 lasts: "transcript",使值在 resume、fork、rewind 和 compaction 后仍可恢复。 工作流可见性也有提升:/plugin 新增 Built-in 标签页按组列出内置插件并显示组织锁定的开关状态,任何 mod 可向 OpenTelemetry collector 发送 claude_code.plugin_event 记录。自托管 runner 上被新进程恢复的 subagent 会收到一次性提示,告知未推送的文件更改可能已丢失。
Current read
Claude Code 这次更新对插件开发者很友好,$.ui.render 和流式 HTTP 都补齐了。做终端 AI 工作流的人可以试试 /code-review 配合 REVIEW.md 定制审查规则,团队管理员也能在 /plugin 里直接看到组织锁了哪些插件。
Evidence
11 sourcesConflict check
Dedup data only shows that these sources discuss the same event, not that they agree. There is no structured supporting or refuting evidence yet, so no conflict is inferred automatically.