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:
- Installed version detection (local/global)
- Latest version checking via npm
- Version comparison
- Changelog fetching and extraction
- Clean install warning display
- User confirmation
- Update execution
- Cache clearing
<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`中的**更新工作流**。
该工作流处理所有逻辑,包括:
- 已安装版本检测(本地/全局)
- 通过npm检查最新版本
- 版本对比
- 更新日志的获取与提取
- 显示全新安装警告
- 用户确认
- 执行更新
- 清理缓存