gsd-update

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese
<objective> Check for GSD updates, install if available, and display what changed.
Routes to the update workflow which handles:
  • Version detection (local vs global installation)
  • npm version checking
  • Changelog fetching and display
  • User confirmation with clean install warning
  • Update execution and cache clearing
  • Restart reminder </objective>
<execution_context> @{{PLATFORM_ROOT}}/get-shit-done/workflows/update.md </execution_context>
<process> **Follow the update workflow** from `@{{PLATFORM_ROOT}}/get-shit-done/workflows/update.md`.
The workflow handles all logic including:
  1. Installed version detection (local/global)
  2. Latest version checking via npm
  3. Version comparison
  4. Changelog fetching and extraction
  5. Clean install warning display
  6. User confirmation
  7. Update execution
  8. Cache clearing
</process>
<objective> 检查GSD更新,若有可用更新则安装,并显示更新内容。
跳转至更新工作流,该工作流负责处理:
  • 版本检测(本地安装 vs 全局安装)
  • npm版本检查
  • 更新日志获取与展示
  • 带有全新安装警告的用户确认
  • 更新执行与缓存清理
  • 重启提醒 </objective>
<execution_context> @{{PLATFORM_ROOT}}/get-shit-done/workflows/update.md </execution_context>
<process> 遵循`@{{PLATFORM_ROOT}}/get-shit-done/workflows/update.md`中的**更新工作流**。
该工作流处理所有逻辑,包括:
  1. 已安装版本检测(本地/全局)
  2. 通过npm检查最新版本
  3. 版本对比
  4. 更新日志的获取与提取
  5. 显示全新安装警告
  6. 用户确认
  7. 执行更新
  8. 清理缓存
</process>