@saltpub/xiaojiu-agent-bridge 0.1.5 → 0.1.7

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,34 @@
1
1
  # xiaojiu-agent-bridge
2
2
 
3
+ ## 0.1.7
4
+
5
+ ### Highlights
6
+
7
+ - 后台自动更新:daemon 托管安装改为稳定 launcher + 旁路版本目录(versions/<x.y.z>),每 6h 检查 npm、空闲窗口切换、健康检查失败自动回滚;旧 daemon 首次启动自动迁移;`update` 命令在 launcher 模式下走同一 stage 路径。`update.autoUpdate: false` 或 `XIAOJIU_BRIDGE_NO_UPDATE_CHECK=1` 可关闭。
8
+
9
+ ### Added
10
+
11
+ - feat(selfupdate): 新增 launcher 模式后台自动更新
12
+
13
+ ## 0.1.6
14
+
15
+ ### Highlights
16
+
17
+ - 新增默认开启的 OpenObserve 遥测:内置 `@saltpub/xiaojiu-bridge-telemetry` adapter,启动时自动探测内置 endpoint(健康检查可达性确认),事件/指标/错误经 OTLP 上报到 `xiaojiu_agent_bridge` 流;`XIAOJIU_BRIDGE_TELEMETRY_DISABLED=1` 可完全关闭,`XIAOJIU_BRIDGE_TELEMETRY_MODULE` 仍可指定外部 adapter。无 endpoint 可达时保持静默 noop,不影响 bridge 运行。
18
+ - Make explicit update checks distinguish registry errors from an up-to-date installation, validate package identity and stable-version selection, and use separate passive/explicit timeouts. Refuse mutating updates from npx or source installations and while the configured home contains live processes using the installation; keep all runtime inspection read-only. Preserve manually specified security-fix and migration metadata while deriving highlights from the exact current changelog section.
19
+ - Updated dependencies [a887d1c]
20
+
21
+ ### Added
22
+
23
+ - feat(telemetry): 内置 OpenObserve 遥测 adapter 并默认开启
24
+
25
+ ### Fixed
26
+
27
+ - fix(release): workspace 纳入根包
28
+ - fix(release): 加固包验收与发布完整性核验
29
+ - fix(update): 加固升级来源与运行保护
30
+ - fix(release): 补齐发布完成检查与快照换行规则
31
+
3
32
  ## 0.1.5
4
33
 
5
34
  ### Highlights
package/README.md CHANGED
@@ -134,7 +134,7 @@ xiaojiu-agent-bridge stop
134
134
 
135
135
  ## 版本更新
136
136
 
137
- CLI 在交互式终端中每 24 小时检查一次 npm Registry,不阻塞命令启动。为避免干扰首次配置或交互式界面,提示只会在支持的终端会话中显示。手动升级会拉取 latest 的 What's new,并默认执行 `npm install -g --registry=https://registry.npmjs.org`:
137
+ CLI 在交互式终端中每 24 小时检查一次 npm Registry,不阻塞命令启动。为避免干扰首次配置或交互式界面,提示只会在支持的终端会话中显示。手动升级展示稳定版的 What's new,再从同一个官方 npm registry 安装展示的精确版本;registry 不可用或返回无效数据时明确报错,不再当作“已经最新”。
138
138
 
139
139
  ```bash
140
140
  xiaojiu-agent-bridge update
@@ -142,6 +142,8 @@ xiaojiu-agent-bridge update --check
142
142
  xiaojiu-agent-bridge changelog
143
143
  ```
144
144
 
145
+ 执行升级前先停止使用这份安装的运行中进程;更新器不会自动停止 bot。自更新仅用于全局 npm 安装:npx 缓存和源码目录会给出对应的更新方式,不会悄悄另装一个全局副本。`update --check` 只查询,不安装、不停止进程。
146
+
145
147
  设置 `XIAOJIU_BRIDGE_NO_UPDATE_CHECK=1` 可以关闭自动检查。CI、非交互终端和管道输出不会显示更新提示。
146
148
 
147
149
  ## 开发验证