@honor-claw/yoyo 1.5.0-beta.8 → 1.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@honor-claw/yoyo",
3
- "version": "1.5.0-beta.8",
3
+ "version": "1.5.0",
4
4
  "description": "OpenClaw Honor Yoyo connection plugin",
5
5
  "keywords": [
6
6
  "ai",
@@ -43,7 +43,7 @@ metadata: { "openclaw": { "emoji": "🔄", "always": true } }
43
43
  - 无法比较:输出 `无法可靠比较当前版本与目标版本,请自行更新插件或联系开发团队确认`,停止。
44
44
  - 目标版本更高:继续步骤 3。
45
45
 
46
- ## 步骤 3:输出更新摘要
46
+ ## 步骤 3:输出更新摘要和更新阶段文案
47
47
 
48
48
  ```markdown
49
49
  🔄 YOYO 插件更新可用
@@ -51,28 +51,20 @@ metadata: { "openclaw": { "emoji": "🔄", "always": true } }
51
51
  当前版本:v{当前版本}
52
52
  目标版本:v{目标版本}
53
53
  发布渠道:{渠道名}
54
- ```
55
-
56
- ## 步骤 4:执行更新
57
54
 
58
- 执行 `openclaw plugins update yoyo` 前,先输出阶段 1 文案:
59
-
60
- ```markdown
61
55
  正在执行升级流程:
62
56
 
63
57
  1. 正在下载插件
64
58
  状态:正在下载插件,请耐心等待...
65
- ```
66
59
 
67
- 然后执行 `openclaw plugins update yoyo`,使用足够超时时间,并捕获输出中的 `Updated yoyo:` 实际版本。命令开始执行后,立刻输出阶段 2 文案;命令非零退出或明显报错时,进入失败处理。
68
-
69
- 阶段 2 文案:
70
-
71
- ```markdown
72
60
  2. 正在更新插件
73
61
  状态:正在安装并配置新版本插件,请勿中断操作
74
62
  ```
75
63
 
64
+ ## 步骤 4:执行更新
65
+
66
+ 确认步骤 3 的全部文案已经输出后,再执行 `openclaw plugins update yoyo`。使用足够超时时间,并捕获输出中的 `Updated yoyo:` 实际版本。命令非零退出或明显报错时,进入失败处理。
67
+
76
68
  ## 步骤 5:校验并输出结果
77
69
 
78
70
  若步骤 4 失败,输出: