Gemini CLI v0.70.0 发布:修复 Unicode 乱码、MCP 权限与安全漏洞
Release v0.70.0
推荐理由
v0.70.0 引入了关键的安全加固(跳过不安全的 MCP 服务器)并修复了影响日常编码体验的 Unicode 乱码与工作区状态丢失问题,建议开发者尽快升级以确保环境稳定与安全。
What's Changed
更改内容
- Changelog for v0.69.0-preview.0 by @gemini-cli-robot in #30222
- Changelog for v0.68.0 by @gemini-cli-robot in #30224
- chore(release): bump version to 0.70.0-nightly.20261110.g1603e9bab by @gemini-cli-robot in #30223
- test(cli): remove redundant lowercase restart test in AdminSettingsChangedDialog by @luisfelipe-alt in #30221
- fix(cli): preserve Unicode prompts and strip ANSI fragments in session previews (#29915) by @urielefrenvirtusa in #30220
- fix(cli): preserve selected worktree across authentication restarts (#30078) by @duvanka-prasad in #30176
- fix(core): preserve interrupted placeholder after empty model responses to tool turns by @tadipavan in #30228
- fix(cli): apply default in ${VAR:-default} when variable is set but empty by @urielefrenvirtusa in #30250
- fix(core): scale undici bodyTimeout when request timeout exceeds 300s default by @tadipavan in #30258
- fix(core,cli): report accurate output token limits in models list by @tadipavan in #30253
- fix(cli): restore workspace directories only after resumeChat succeeds by @urielefrenvirtusa in #30259
- fix(core,cli): scope foreground retry status to active main prompt and current model policy by @tadipavan in #30266
- fix(cli): initialize auth capabilities and deduplicate options when listing models by @tadipavan in #30271
- fix(cli): skip system MCP servers with insecure command permissions by @elberthc-byte in #30283
- refactor(core): use re2js for linear-time policy argsPattern evaluation by @diegogodinezr in #30282
- chore(deps): update workspace dependencies and sandbox runtime packages by @DavidAPierce in #30321
- fix(cli): disclose canonical link path and default consent prompt to no by @jvargassanchez-dot in #30289
- fix(cli): detect local git clone from CLI path instead of cwd by @tadipavan in #30315
- fix(ide): use per-user discovery directory and atomic port file writes by @villahernandez-coder in #30340
- ci: pre-pull triage image and clear Docker login in dedup workflows by @diegogodinezr in #30342
- fix(core): keep ASK_USER for shell commands with unresolved expansion by @luisfelipe-alt in #30338
- fix(core): match commandPrefix and commandRegex rules against the top-level command argument by @luisfelipe-alt in #30355
- chore(deps): adjust workspace dependency pins and update simple-git by @DavidAPierce in #30356
- v0.69.0-preview.0 的更新日志,由 @gemini-cli-robot 在 #30222 中提交
- v0.68.0 的更新日志,由 @gemini-cli-robot 在 #30224 中提交
- chore(release): 版本升级至 0.70.0-nightly.20261110.g1603e9bab,由 @gemini-cli-robot 在 #30223 中提交
- test(cli): 移除 AdminSettingsChangedDialog 中冗余的小写重启测试,由 @luisfelipe-alt 在 #30221 中提交
- fix(cli): 在会话预览中保留 Unicode 提示符并剥离 ANSI 片段 (#29915),由 @urielefrenvirtusa 在 #30220 中提交
- fix(cli): 在身份验证重启期间保持选定的 worktree (#30078),由 @duvanka-prasad 在 #30176 中提交
- fix(core): 在空模型响应后保留中断占位符以进行工具调用,由 @tadipavan 在 #30228 中提交
- fix(cli): 当变量已设置但为空时,应用 ${VAR:-default} 中的默认值,由 @urielefrenvirtusa 在 #30250 中提交
- fix(core): 当请求超时超过 300 秒默认值时,调整 undici bodyTimeout,由 @tadipavan 在 #30258 中提交
- fix(core,cli): 在模型列表中报告准确的输出令牌限制,由 @tadipavan 在 #30253 中提交
- fix(cli): 仅在 resumeChat 成功后恢复工作区目录,由 @urielefrenvirtusa 在 #30259 中提交
- fix(core,cli): 将前台重试状态范围限定为活动主提示符和当前模型策略,由 @tadipavan 在 #30266 中提交
- fix(cli): 在列出模型时初始化身份验证功能并去重选项,由 @tadipavan 在 #30271 中提交
- fix(cli): 跳过具有不安全命令权限的系统 MCP 服务器,由 @elberthc-byte 在 #30283 中提交
- refactor(core): 使用 re2js 进行线性时间的策略 argsPattern 评估,由 @diegogodinezr 在 #30282 中提交
- chore(deps): 更新工作区依赖项和沙箱运行时包,由 @DavidAPierce 在 #30321 中提交
- fix(cli): 披露规范链接路径并将默认同意提示设置为否,由 @jvargassanchez-dot 在 #30289 中提交
- fix(cli): 从 CLI 路径而非 cwd 检测本地 git clone,由 @tadipavan 在 #30315 中提交
- fix(ide): 使用每用户发现目录和原子端口文件写入,由 @villahernandez-coder 在 #30340 中提交
- ci: 在去重工作流中预拉取 triage 镜像并清除 Docker 登录信息,由 @diegogodinezr 在 #30342 中提交
- fix(core): 对于未解析扩展的 shell 命令,保持 ASK_USER 状态,由 @luisfelipe-alt 在 #30338 中提交
- fix(core): 针对顶级命令参数匹配 commandPrefix 和 commandRegex 规则,由 @luisfelipe-alt 在 #30355 中提交
- chore(deps): 调整工作区依赖锁定版本并更新 simple-git,由 @DavidAPierce 在 #30356 中提交
Full Changelog: v0.69.0...v0.70.0
完整更新日志:v0.69.0...v0.70.0
更进一步:量化金融体系
看懂新闻只是起点——沿量化金融路径,把它变成能交付的工程能力