从 package.json 读取当前版本,查询 npm registry 最新版本, 自动检测安装方式(bun 或 npm)执行全局更新。 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>