Codex CLI 0.164.0 新增预设、内联控制和企业 MCP 认证
AI 总结
据发布说明,Codex CLI 0.164.0 新增十个编号的 /presets 槽位,用于保存可复用提示词和斜杠命令,并支持内联 /model 与 /permissions 参数。更新还可在支持 Kitty 或 Sixel 图形功能的终端中显示全屏图像预览,并加入企业 MCP 认证选项、针对受支持的远程 Bash 命令和 Zsh 快照会话的凭据遮蔽,以及默认启用的 Amazon Bedrock 配置向导。错误修复涉及压缩失败、会话恢复、Windows 代理认证、配置覆盖、排队提示词和 macOS 沙箱检查。
New Features
- Save reusable prompts and slash commands in ten numbered
/presetsslots, with a keyboard menu for quick access. (#54380, #54381) - Set model, reasoning effort, speed, and permission profiles directly with inline
/modeland/permissionsarguments. (#54378, #54383) - Preview viewed and generated images in the fullscreen transcript on terminals supporting Kitty or Sixel graphics. (#54216)
- Authenticate enterprise MCP connections using eligible Codex account grants or dedicated sign-in, including OAuth clients requiring secrets. (#55334, #55859, #56001)
- Mask credentials during supported remote Bash commands and Zsh snapshot sessions, including credentials from custom providers. (#54309, #54432, #56049)
- The Amazon Bedrock setup wizard is now enabled by default, with API key entry grouped alongside other AWS sign-in methods when credentials are detected. (#56033, #56023)
Bug Fixes
- Failed compaction no longer leaves partial summaries in conversation history, and background compaction failures fall back without panicking. (#53932, #55581)
- Resuming sessions now finds compressed histories and restores saved thread settings instead of replacing them with global defaults. (#54008, #55923)
- Windows HTTPS and WebSocket connections now handle proxy authentication challenges using the signed-in user’s Negotiate or NTLM credentials. (#55994, #56000)
- CLI configuration overrides are preserved when
-cor--configappears at multiple subcommand levels. (#56022) - Queued prompts now wait for pending permission selections to resolve before continuing. (#55682)
- Hardened sandbox checks for case-variant metadata paths on macOS and replaceable symlinks used to locate executables. (#54273, #55384)
部分来源内容未展示,可前往原文继续阅读。