Skip to content

Conversation

@duanyongcheng
Copy link
Contributor

Refactor tool update logic to support multiple installation methods

  • 使用 updateToolInstance 替代废弃的 updateTool 命令 Replace deprecated updateTool with updateToolInstance command
  • Gemini CLI 新增 Homebrew 安装方式检测和更新支持 Add Homebrew installation detection and update support for Gemini CLI
  • 根据安装方式智能选择更新策略(Npm/Brew 使用 InstallerService,Official 使用 Detector) Smart update strategy based on install method (InstallerService for Npm/Brew, Detector for Official)
  • 安装器扫描根据工具路径智能判断优先安装方式 Installer scanner intelligently prioritizes install method based on tool path
  • 工具状态查询时自动检测缺失的 Local 实例 Auto-detect missing Local instances when querying tool status
  • 修复 Dashboard 工具卡片 Badge 换行问题 Fix Badge wrapping issue in Dashboard tool cards

Refactor tool update logic to support multiple installation methods

- 使用 updateToolInstance 替代废弃的 updateTool 命令
  Replace deprecated updateTool with updateToolInstance command
- Gemini CLI 新增 Homebrew 安装方式检测和更新支持
  Add Homebrew installation detection and update support for Gemini CLI
- 根据安装方式智能选择更新策略(Npm/Brew 使用 InstallerService,Official 使用 Detector)
  Smart update strategy based on install method (InstallerService for Npm/Brew, Detector for Official)
- 安装器扫描根据工具路径智能判断优先安装方式
  Installer scanner intelligently prioritizes install method based on tool path
- 工具状态查询时自动检测缺失的 Local 实例
  Auto-detect missing Local instances when querying tool status
- 修复 Dashboard 工具卡片 Badge 换行问题
  Fix Badge wrapping issue in Dashboard tool cards
@github-actions
Copy link

本评论会随各平台任务完成自动更新:
如首轮 npm run check 失败,请在本地执行 npm run check:fixnpm run check 并提交修复 commit。
如 fix 仍失败,请在本地排查并确保 npm run check 通过后再提交。
跨平台差异若无法复现,请复制日志交给 AI 获取排查建议。

平台 结果 明细 日志包 运行链接
ubuntu-22.04 ✅ 直接通过 check=success / fix=skipped / recheck=skipped pr-check-ubuntu-22.04 日志
windows-latest ✅ 直接通过 check=success / fix=skipped / recheck=skipped pr-check-windows-latest 日志
macos-14 (arm64) ✅ 直接通过 check=success / fix=skipped / recheck=skipped pr-check-macos-arm64 日志
macos-15 (x64) ✅ 直接通过 check=success / fix=skipped / recheck=skipped pr-check-macos-x64 日志

This comment auto-updates as each platform finishes:
If the first npm run check fails, run locally: npm run check:fixnpm run check and commit the fix.
If fix still fails, investigate locally and ensure npm run check passes before committing.
If cross-platform issues can't be reproduced, copy logs to an AI for hints.

Platform Status Detail Artifact Run
ubuntu-22.04 ✅ Passed check=success / fix=skipped / recheck=skipped pr-check-ubuntu-22.04 日志
windows-latest ✅ Passed check=success / fix=skipped / recheck=skipped pr-check-windows-latest 日志
macos-14 (arm64) ✅ Passed check=success / fix=skipped / recheck=skipped pr-check-macos-arm64 日志
macos-15 (x64) ✅ Passed check=success / fix=skipped / recheck=skipped pr-check-macos-x64 日志

@jsrcode jsrcode merged commit 24ddd56 into DuckCoding-dev:main Jan 17, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants