@dsh-plus/lifeboat 0.3.0 → 0.3.1

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/lib/index.js CHANGED
@@ -563,7 +563,7 @@ function registerQuarantineApi(ctx, q) {
563
563
  /**
564
564
  * journal 的文件持久化($DSH_HOME/dsh-plus/lifeboat/state.json)。
565
565
  *
566
- * 存储规范:运行期状态属非配置数据,不进 settings.yaml;本模块自带实现,
566
+ * 存储规范:运行期状态属非配置数据,不进 settings 用户层;本模块自带实现,
567
567
  * 维持零 dsh-plus 内部依赖铁律(不 import @dsh-plus/shared)。
568
568
  * schema 刻意宽松:lifeboat 是最后防线,自身数据问题绝不能让它起不来。
569
569
  * @module lifeboat/state-file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dsh-plus/lifeboat",
3
- "version": "0.3.0",
3
+ "version": "0.3.1",
4
4
  "description": "dsh-plus service plugin: 故障救生艇——兄弟插件崩溃时自动隔离(写用户 patch 层禁用),llm-pi 缺席时把其配置临时翻译为官方 llm-pi-ai 路由,恢复后自动还原",
5
5
  "type": "module",
6
6
  "main": "lib/index.js",
@@ -31,7 +31,7 @@
31
31
  },
32
32
  "dependencies": {
33
33
  "yaml": "^2.9.0",
34
- "@dsh-plus/shared": "0.1.35"
34
+ "@dsh-plus/shared": "0.1.36"
35
35
  },
36
36
  "peerDependencies": {
37
37
  "@deepseek-ai/cordis": "^4.0.5-alpha.1",
package/src/state-file.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * journal 的文件持久化($DSH_HOME/dsh-plus/lifeboat/state.json)。
3
3
  *
4
- * 存储规范:运行期状态属非配置数据,不进 settings.yaml;本模块自带实现,
4
+ * 存储规范:运行期状态属非配置数据,不进 settings 用户层;本模块自带实现,
5
5
  * 维持零 dsh-plus 内部依赖铁律(不 import @dsh-plus/shared)。
6
6
  * schema 刻意宽松:lifeboat 是最后防线,自身数据问题绝不能让它起不来。
7
7
  * @module lifeboat/state-file