fix: 发布 1.1.51,修 skills 自导入删空、EnvAdapt op、同版本更新劫持与补丁锚点

Co-authored-by: Cursor <cursoragent@cursor.com>

#54 拒绝 skills 源与目标重叠;#55 补 platformEnvAdaptStatus/Skip;#56 无版本 installer 不再劫持重启并恢复 app;#52/#57 锚点跟上 0.1.7/0.2,导出 patches_ready。
This commit is contained in:
叫我小杨同学andCursor committed 2026-10-03 01:01:31 +08:00
1 parent 148d6218d8
commit 11daeabb7c
12 files changed
+147 -34

No files matched your search

+3 -1
View File
@@ -46,7 +46,9 @@ function sameRev(a, b) {
/** 当前插件版本和已写入补丁的版本一致时,启动不必再还原重打。 */
export function stampMatches(stamp, version, rev) {
if (!stamp || !stamp.version || stamp.version !== version) return false;
if (rev && stamp.sha && !sameRev(rev, stamp.sha)) return false;
// sha 为空表示 stamp 不完整(曾误写空串),不能当作已对齐(#56)。
if (!stamp.sha) return false;
if (rev && !sameRev(rev, stamp.sha)) return false;
return true;
}