@honor-claw/yoyo 1.5.0-alpha.2 → 1.5.0-alpha.3
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/dist/utils/version.mjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
//#region src/utils/version.ts
|
|
2
2
|
var e = null, t = null;
|
|
3
3
|
function n() {
|
|
4
|
-
return e === null && (e = "1.5.0-alpha.
|
|
4
|
+
return e === null && (e = "1.5.0-alpha.3".includes("beta") || "1.5.0-alpha.3".includes("alpha")), !!e;
|
|
5
5
|
}
|
|
6
6
|
function r(e) {
|
|
7
7
|
if (!e) return 0;
|
|
@@ -10,7 +10,7 @@ function r(e) {
|
|
|
10
10
|
}
|
|
11
11
|
function i() {
|
|
12
12
|
if (t !== null) return t;
|
|
13
|
-
let [e, n, i] = "1.5.0-alpha.
|
|
13
|
+
let [e, n, i] = "1.5.0-alpha.3".split("-", 1)[0].split("."), a = r(e), o = r(n), s = r(i);
|
|
14
14
|
return t = a * 1e6 + o * 1e3 + s, t;
|
|
15
15
|
}
|
|
16
16
|
//#endregion
|
package/package.json
CHANGED
|
@@ -65,9 +65,9 @@ metadata: { "openclaw": { "emoji": "🔄", "always": true } }
|
|
|
65
65
|
状态:正在下载插件,请耐心等待...
|
|
66
66
|
```
|
|
67
67
|
|
|
68
|
-
然后执行 `openclaw plugins update yoyo`,使用足够超时时间,并捕获输出中的 `Updated yoyo:`
|
|
68
|
+
然后执行 `openclaw plugins update yoyo`,使用足够超时时间,并捕获输出中的 `Updated yoyo:` 实际版本。命令开始执行后,立刻输出阶段 2 文案;命令非零退出或明显报错时,进入失败处理。
|
|
69
69
|
|
|
70
|
-
|
|
70
|
+
阶段 2 文案:
|
|
71
71
|
|
|
72
72
|
```markdown
|
|
73
73
|
2. 正在更新插件
|