@saltpub/xiaojiu-agent-bridge 0.1.10 → 0.1.11

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/CHANGELOG.md CHANGED
@@ -1,5 +1,15 @@
1
1
  # xiaojiu-agent-bridge
2
2
 
3
+ ## 0.1.11
4
+
5
+ ### Highlights
6
+
7
+ - launcher 丢弃与当前版本相同的 pending,避免旧 bootstrap 重复 update 破坏 previous 回滚链
8
+
9
+ ### Fixed
10
+
11
+ - fix(launcher): 丢弃同版本 pending 防止回滚链自指
12
+
3
13
  ## 0.1.10
4
14
 
5
15
  ### Highlights
package/dist/launcher.js CHANGED
@@ -62,6 +62,11 @@ function applyPending() {
62
62
  return;
63
63
  }
64
64
  const current = readJson(currentFile);
65
+ if (current && current.version === pending.version) {
66
+ logline(`pending ${pending.version} is already current; dropping`);
67
+ rmSync(pendingFile, { force: true });
68
+ return;
69
+ }
65
70
  const next = {
66
71
  version: pending.version,
67
72
  dir: pending.dir,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@saltpub/xiaojiu-agent-bridge",
3
- "version": "0.1.10",
3
+ "version": "0.1.11",
4
4
  "description": "Bridge Xiaojiu IM with local CLI coding agents",
5
5
  "type": "module",
6
6
  "packageManager": "pnpm@10.33.0",
@@ -112,7 +112,7 @@
112
112
  "schemaVersion": 1,
113
113
  "channel": "stable",
114
114
  "highlights": [
115
- "launcher 版本以指针为准:`-v`/`changelog`/`update --check` 不再读旧 bootstrap,新增 launcher 能力协商与 `doctor`,npm 全局包不再被追平"
115
+ "launcher 丢弃与当前版本相同的 pending,避免旧 bootstrap 重复 update 破坏 previous 回滚链"
116
116
  ],
117
117
  "breakingChanges": [],
118
118
  "securityFix": false,