← 返回更新日志

Gemini CLI v0.10.0

2025-10-22 · GitHub 原文
## 更新内容 * [第 4/6 部分] feat(telemetry): 添加具有活动感知记录功能的内存监视器及测试 by @eLyiN in https://github.com/google-gemini/gemini-cli/pull/8122 * chore: 重构 test-helper 以处理交互模式的样板代码 by @hritan in https://github.com/google-gemini/gemini-cli/pull/10322 * chore: 打包 a2a-server by @adamfweidman in https://github.com/google-gemini/gemini-cli/pull/10265 * 合理化不同的扩展类型定义 by @zbirkenbuel in https://github.com/google-gemini/gemini-cli/pull/10435 * refactor(core): 集中管理 'write_todos_list' 工具名称 by @abhipatel12 in https://github.com/google-gemini/gemini-cli/pull/10690 * fix(infra) - 从集成测试中移除自动更新 by @shishu314 in https://github.com/google-gemini/gemini-cli/pull/10656 * 添加用于稳定集成测试的脚本 by @shishu314 in https://github.com/google-gemini/gemini-cli/pull/10666 * Fix(infra) - 跳过文件系统交互测试,因为当前已损坏 by @shishu314 in https://github.com/google-gemini/gemini-cli/pull/10734 * feat(core): 为子代理执行添加遥测 by @abhipatel12 in https://github.com/google-gemini/gemini-cli/pull/10456 * chore(int): 跳过不稳定的测试 by @galz10 in https://github.com/google-gemini/gemini-cli/pull/10736 * chore(shell): 默认启用交互式 shell by @galz10 in https://github.com/google-gemini/gemini-cli/pull/10661 * fix(mcp): 修复 MCP 服务器移除未持久化到设置的问题 by @lifefloating in https://github.com/google-gemini/gemini-cli/pull/10098 * fix: 确保位置提示参数与扩展标志一起工作 by @seeun0210 in https://github.com/google-gemini/gemini-cli/pull/10077 * feat: 防止扩展 MCP 服务器中的 ANSI 代码 by @adamfweidman in https://github.com/google-gemini/gemini-cli/pull/10748 * fix(core): 在智能编辑中,根据用户/外部进程的较新编辑刷新文件内容 by @agmsb in https://github.com/google-gemini/gemini-cli/pull/10084 * 引用文档 by @scidomino in https://github.com/google-gemini/gemini-cli/pull/10742 * Docs: 为 v0.8.0 更新变更日志 by @jkcinouye in https://github.com/google-gemini/gemini-cli/pull/10732 * fix(core): 在 Windows 上使用 shell 进行 spawn by @galz10 in https://github.com/google-gemini/gemini-cli/pull/9995 * Fix(doc) - 在文档中添加稳定测试部分 by @shishu314 in https://github.com/google-gemini/gemini-cli/pull/10750 * 扩展预发布版本 by @jakemac53 in https://github.com/google-gemini/gemini-cli/pull/10752 * 移除 'hello' 扩展 by @chrstnb in https://github.com/google-gemini/gemini-cli/pull/10741 * fix(docs): 根据 Srinanth 的反馈更新 docs/faq.md by @richieforeman in https://github.com/google-gemini/gemini-cli/pull/10667 * feat(core): 发送聊天时阻止上下文窗口溢出 by @SandyTao520 in https://github.com/google-gemini/gemini-cli/pull/10459 * chore(release): 将版本提升至 0.10.0-nightly.20251007.c195a9aa by @gemini-cli-robot in https://github.com/google-gemini/gemini-cli/pull/10669 * chore(int): 禁用不稳定的测试 by @galz10 in https://github.com/google-gemini/gemini-cli/pull/10771 * refactor(core): 集中管理 'write_file' 工具名称 by @abhipatel12 in https://github.com/google-gemini/gemini-cli/pull/10694 * fix: 在不受信任的启动时添加关于权限命令的消息 by @shrutip90 in https://github.com/google-gemini/gemini-cli/pull/10755 * feat: 支持 GOOGLE_CLOUD_PROJECT_ID 回退 (修复 #2262) by @Gosling-dude in https://github.com/google-gemini/gemini-cli/pull/2725 * cleanup(markdown): 使用 Prettier 以 80 字符宽度格式化所有 Markdown 文件 by @richieforeman in https://github.com/google-gemini/gemini-cli/pull/10714 * feat(telemetry): 为 web_fetch 回退尝试添加遥测 by @abhipatel12 in https://github.com/google-gemini/gemini-cli/pull/10749 * feat(ui): 当限制使用率 <75% 时缩短上下文溢出消息 by @SandyTao520 in https://github.com/google-gemini/gemini-cli/pull/10812 * 修复钩子以避免不必要的重新渲染 by @scidomino in https://github.com/google-gemini/gemini-cli/pull/10820 * fix(doc) - 更新稳定命令的文档 by @shishu314 in https://github.com/google-gemini/gemini-cli/pull/10829 * fix(tests): 在 validateModelOutput 失败时记录实际输出 by @SandyTao520 in https://github.com/google-gemini/gemini-cli/pull/10843 * feat(core): 泛化路径校正以在多个工具中使用 by @agmsb in https://github.com/google-gemini/gemini-cli/pull/10612 * 修复提示使其更具确定性 by @jacob314 in https://github.com/google-gemini/gemini-cli/pull/10848 * fix(tests): 启用并更新 MCP 添加工具测试的提示 by @SandyTao520 in https://github.com/google-gemini/gemini-cli/pull/10850 * fix(cli): 防止因非致命工具错误而退出 by @jerop in https://github.com/google-gemini/gemini-cli/pull/10671 * 当未找到 old_string 时,跳过"应安全失败"测试 by @jacob314 in https://github.com/google-gemini/gemini-cli/pull/10853 * fix(infra) - 修复交互式系统错误 by @shishu314 in https://github.com/google-gemini/gemini-cli/pull/10805 * feat(telemetry): 在工具调用指标中添加差异统计 by @jerop in https://github.com/google-gemini/gemini-cli/pull/10819 * feat(core): 通过额外提示实现失败响应重试 by @mrcabbage972 in https://github.com/google-gemini/gemini-cli/pull/10828 * 修复一些 isWorkspaceTrusted 模拟 by @jakemac53 in https://github.com/google-gemini/gemini-cli/pull/10836 * 清理扩展测试 by @jakemac53 in https://github.com/google-gemini/gemini-cli/pull/10857 * 在 usePhraseCycler.ts 中添加一个笑话 by @MatrixManAtYrService in https://github.com/google-gemini/gemini-cli/pull/10685 * chore(int): 禁用对"应使用 /co… 触发聊天压缩"的跳过 by @galz10 in https://github.com/google-gemini/gemini-cli/pull/10854 * 修复扩展安装/卸载日志记录中的竞态条件 by @owenofbrien in https://github.com/google-gemini/gemini-cli/pull/10856 * refactor: 明确日志/事件结构 by @bobcatfish in https://github.com/google-gemini/gemini-cli/pull/10467 * chore: 添加 a2a 服务器二进制文件 by @adamfweidman in https://github.com/google-gemini/gemini-cli/pull/10592 * 重新应用 bbiggs 的更改以减小窄屏幕上的边距,并附带修复和全宽设置 by @jacob314 in https://github.com/google-gemini/gemini-cli/pull/10522 * fix(infra) - 创建步骤以计算 nightly-release 的输入 by @shishu314 in https://github.com/google-gemini/gemini-cli/pull/10825 * Docs: 修复 architecture.md 中的损坏链接 by @jkcinouye in https://github.com/google-gemini/gemini-cli/pull/10747 * fix(cli) : 修复了错误 #8310,其中 /memory refresh 会与忽略受信任文件夹和文件过滤器设置/配置的初始内存加载产生差异 by @sgnagnarella in https://github.com/google-gemini/gemini-cli/pull/10611 * feat(telemetry): 确保所有遥测数据包含用户邮箱和安装 ID by @jerop in https://github.com/google-gemini/gemini-cli/pull/10897 * fix(core): 在 sendMessageStream 的重试中将温度设置为 1 by @SandyTao520 in https://github.com/google-gemini/gemini-cli/pull/10866 * fix: 防止在"使用 Google 登录" OAuth 提示期间出现乱码输入 by @MJjainam in https://github.com/google-gemini/gemini-cli/pull/10888 * fix(test): 修复使用 date 命令的不稳定 shell 命令测试 by @shrutip90 in https://github.com/google-gemini/gemini-cli/pull/10863 * Docs: 修复 docs/changelogs/index.md 中的 Flutter 扩展链接 by @Smetalo in https://github.com/google-gemini/gemini-cli/pull/10797 * 禁用不稳定的测试 by @scidomino in https://github.com/google-gemini/gemini-cli/pull/10914 * fix: 在 FileCommandLoader 中使用文件夹信任配置标志 by @shrutip90 in https://github.com/google-gemini/gemini-cli/pull/10837 * 重新启用 NPM 集成测试 by @scidomino in https://github.com/google-gemini/gemini-cli/pull/10623 * Docs: 更新 tos-privacy.md by @jkcinouye in https://github.com/google-gemini/gemini-cli/pull/10754 * 在屏幕阅读器模式下显示通知 by @chrstnb in https://github.com/google-gemini/gemini-cli/pull/10900 * refactor(core): 将网络搜索工具迁移到 tool-names by @abhipatel12 in https://github.com/google-gemini/gemini-cli/pull/10782 * feat(ui): 添加闪烁检测和指标 by @skeshive in https://github.com/google-gemini/gemini-cli/pull/10821 * 在扩展同意对话框中显示最终安装路径并修复 isWorkspaceTrusted 检查 by @jakemac53 in https://github.com/google-gemini/gemini-cli/pull/10830 * 修复扩展更新中的粗糙边缘 by @jakemac53 in https://github.com/google-gemini/gemini-cli/pull/10926 * 简化交互式测试中的身份验证 by @scidomino in https://github.com/google-gemini/gemini-cli/pull/10921 * 更新 deployment.md -> installation.md 和侧边栏链接 by @jkcinouye in https://github.com/google-gemini/gemini-cli/pull/10662 * feat(core): 提高 shell 执行服务的可靠性 by @galz10 in https://github.com/google-gemini/gemini-cli/pull/10607 * 稳定测试 by @scidomino in https://github.com/google-gemini/gemini-cli/pull/10932 * 清理集成测试警告 by @scidomino in https://github.com/google-gemini/gemini-cli/pull/10931 * fix(cli): 在非交互模式下优先使用配置的身份验证而非环境变量 by @SandyTao520 in https://github.com/google-gemini/gemini-cli/pull/10935 * Refactor: 引入 InteractiveRun 类 by @scidomino in https://github.com/google-gemini/gemini-cli/pull/10947 * 代码指南命令 by @gsehgal in https://github.com/google-gemini/gemini-cli/pull/10940 * feat: 支持 Alt+键组合 by @srivatsj in https://github.com/google-gemini/gemini-cli/pull/10767 * chore: 为发布连接 a2a-server by @adamfweidman in https://github.com/google-gemini/gemini-cli/pull/10627 * fix(remove private) 从 gemini-cli-a2a-server 中移除 private by @adamfweidman in https://github.com/google-gemini/gemini-cli/pull/11018 * 根据 b/451586626 将所有自托管运行器切换到 ubuntu-latest by @richieforeman in https://github.com/google-gemini/gemini-cli/pull/11023 * Revert "feat: 支持 Alt+键组合" by @jacob314 in https://github.com/google-gemini/gemini-cli/pull/11025 * 在 json-output.test.ts 中为失败文本提供明确说明 by @jakemac53 in https://github.com/google-gemini/gemini-cli/pull/11029 * 在集成测试文档中添加 bundle 命令信息 by @jakemac53 in https://github.com/google-gemini/gemini-cli/pull/11034 * refactor(core): 在 McpClient discover 方法中使用 assertConnected by @raiki61 in https://github.com/google-gemini/gemini-cli/pull/10989 * chore: 将 '.gemini' 提取到 GEMINI_DIR 常量 by @terrydkim in https://github.com/google-gemini/gemini-cli/pull/10540 * fix(infra) - 修复文件交互系统的不稳定问题 by @shishu314 in https://github.com/google-gemini/gemini-cli/pull/11019 * 重命名期望方法 by @scidomino in https://github.com/google-gemini/gemini-cli/pull/11046 * chore(settings): 默认启用 'useSmartEdit' by @abhipatel12 in https://github.com/google-gemini/gemini-cli/pull/11051 * 记录所有 showInDialog 为 true 的设置 by @scidomino in https://github.com/google-gemini/gemini-cli/pull/11049 * Revert "chore: 为发布连接 a2a-server" by @adamfweidman in https://github.com/google-gemini/gemini-cli/pull/11064 * Docs: 快速修复:侧边栏链接 by @jkcinouye in https://github.com/google-gemini/gemini-cli/pull/11065 * bug(core): 顺序处理返回的函数调用 by @joshualitt in https://github.com/google-gemini/gemini-cli/pull/10659 * refactor: 将最大重试次数设置为 3 by @gsquared94 in https://github.com/google-gemini/gemini-cli/pull/11072 * 修复并取消跳过 replace.test.ts 中的不稳定集成测试 by @scidomino in https://github.com/google-gemini/gemini-cli/pull/11060 * 向用户公开代码库调查器设置 by @silviojr in https://github.com/google-gemini/gemini-cli/pull/10844 * perf(core): 将 Windows IDE 进程检测从 O(N) 优化到 O(1) by @abhipatel12 in https://github.com/google-gemini/gemini-cli/pull/11048 * fix(site): 修复损坏的站点链接 by @richieforeman in https://github.com/google-gemini/gemini-cli/pull/11079 * fix(compression): 当历史记录过短时防止不必要的摘要 by @abhipatel12 in https://github.com/google-gemini/gemini-cli/pull/11082 * 更新系统指令以优化 shell 工具命令 by @hminooei in https://github.com/google-gemini/gemini-cli/pull/10651 * fix: 在启动时的信任对话框上按 esc 退出应用 by @shrutip90 in https://github.com/google-gemini/gemini-cli/pull/10668 * chore: 在推出后重新提交 a2a-publishing by @adamfweidman in https://github.com/google-gemini/gemini-cli/pull/11100 * 跳过不稳定的测试 by @scidomino in https://github.com/google-gemini/gemini-cli/pull/11101 * 从系统指令中移除工作流示例 by @silviojr in https://github.com/google-gemini/gemini-cli/pull/10811 * fix(cli): 在非交互模式下记录工具调用 by @bl-ue in https://github.com/google-gemini/gem