返回全部动态
Claude Code 2.1.30 发布:PDF 分页读取、OAuth 支持与多项修复
原标题:2.1.30
AI 摘要
Claude Code 2.1.30 版本更新,为 PDF 读取工具添加 pages 参数,支持指定页面范围,并优化大 PDF 处理。新增对不支持动态客户端注册的 MCP 服务器的 OAuth 预配置支持,以及 /debug 命令用于会话调试。修复了多个问题,包括 API 对话历史中的幽灵文本块、提示缓存失效逻辑、会话恢复挂起等,并将恢复会话的内存使用减少了 68%。
以上摘要由 AI 生成,可能存在误差。事实请以原文为准。
正文节选
- Added `pages` parameter to the Read tool for PDFs, allowing specific page ranges to be read (e.g., `pages: "1-5"`). Large PDFs (>10 pages) now return a lightweight reference when `@` mentioned instead of being inlined into context. - Added pre-configured OAuth client credentials for MCP servers that don't support Dynamic Client Registration (e.g., Slack). Use `--client-id` and `--client-secret` with `claude mcp add`. - Added `/debug` for Claude to help troubleshoot the current session - Added
发布时间:—
抓取时间:2026-09-07 03:46
来源机构:Anthropic