Claude Code v2.1.153:`skipLfs` 提速插件同步,修复网关鉴权回归并增强 agents 体验Claude Code v2.1.153: Faster Marketplace Sync, Better Agent UX, and Critical Auth Fixes
升级后先跑 doctor,可立减更新与鉴权故障。
Run doctor after upgrading to immediately reduce update and auth failures.
这是 Claude Code v2.1.153 的小版本更新,重点是减少无效下载、修复认证回归,并改善多代理与终端集成体验。对 Claude Code / Codex 用户来说,最直接价值是更稳的自动化链路和更少“环境问题”排查时间。
- 用
skipLfs减少插件源 clone/update 的耗时与带宽占用,尤其适合只需要代码而不需要大文件资产的团队。
{
"marketplace": {
"sources": [
{
"type": "github",
"repo": "org/repo",
"skipLfs": true
}
]
}
}
- 遇到 npm 全局安装无法自动更新时,先跑
/doctor,按提示修复,再更新;把它加入你的故障排查 SOP。
claude doctor
claude update
- 状态行脚本现在可读
COLUMNS/LINES,可以做“按终端宽度自适应”的输出,避免截断和换行噪音。
# status command script example
printf "cols=%s lines=%s\n" "$COLUMNS" "$LINES"
claude agents自动补全覆盖 native slash commands 与 bundled skills,建议把高频命令收敛到统一命名,减少 dispatch 输入成本。- PR 列显示优化(
PR #N/N PRs)让多任务分流更直观;适合把“一个 agent 对应一个 PR”作为默认协作约定。 - MCP/connector 启动认证提示合并为单条消息,说明初始化噪音降低;可以更快识别真正阻塞项。
- macOS 用户注意:后台代理权限在升级后可保留,适合长期运行自动化 agent。
- 两个修复值得立即自查:
- MCP stateful server(无 GET SSE)在
v2.1.147引入的 reconnect 回归已修复,若你做过临时重启/节流补丁,可考虑回滚。 - custom API gateway 令牌误用回归已修复,建议核对网关侧审计日志与 token 边界,确认未再透传用户 OAuth 凭据。
This v2.1.153 Claude Code patch focuses on cutting unnecessary downloads, fixing auth regressions, and improving multi-agent terminal UX. For Claude Code/Codex users, the main win is a more reliable automation loop with less environment debugging.
- Use
skipLfsto reduce clone/update time and bandwidth for marketplace plugin sources, especially when you only need code and not large assets.
{
"marketplace": {
"sources": [
{
"type": "github",
"repo": "org/repo",
"skipLfs": true
}
]
}
}
- If global npm install cannot auto-update, run
/doctorfirst and apply fixes before upgrading; add this to your team troubleshooting SOP.
claude doctor
claude update
- Status-line commands now receive
COLUMNS/LINES; use them for terminal-width-aware output to avoid truncation/noisy wrapping.
# status command script example
printf "cols=%s lines=%s\n" "$COLUMNS" "$LINES"
claude agentsautocomplete now includes native slash commands and bundled skills; standardize names for frequent actions to reduce dispatch friction.- PR column improvements (
PR #N/N PRs) make multi-task routing clearer; good moment to adopt “one agent, one PR” as a default. - Combined MCP/connector auth startup notices reduce initialization noise, so real blockers are easier to spot.
- macOS users: background agent permission grants now persist across upgrades, which is better for long-running automation.
- Two fixes worth immediate self-check:
- Stateful MCP servers (without GET SSE) reconnect loop regression from
v2.1.147is fixed; remove temporary restart/throttle workarounds if added. - Custom API gateway token-routing regression is fixed; verify gateway audit logs and token boundaries to confirm user OAuth credentials are no longer forwarded incorrectly.