@michengai/dsh-archive-manager 1.0.15 → 1.0.16

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
@@ -6,6 +6,10 @@ Published release notes are retained below; new versions are added without remov
6
6
 
7
7
  ## Unreleased
8
8
 
9
+ ## 1.0.16 - 2026-10-08
10
+
11
+ - Session list cache is written to the plugin's safe folder again. It no longer falls back to the kernel folder without notice.
12
+
9
13
  ## 1.0.15 - 2026-10-07
10
14
 
11
15
  - Official Desktop can update this plugin in place. It no longer targets the web profile by mistake.
@@ -6,6 +6,10 @@
6
6
 
7
7
  ## 未发布
8
8
 
9
+ ## 1.0.16 - 2026-10-08
10
+
11
+ - 会话列表缓存重新写入插件的安全目录,不再在没有提示的情况下退回内核目录。
12
+
9
13
  ## 1.0.15 - 2026-10-07
10
14
 
11
15
  - 官方桌面版可以在线更新这个插件,不再误装到 web profile。
package/lib/projcache.js CHANGED
@@ -326,7 +326,7 @@ function installArchiveProjectionCacheGuards(cache, table) {
326
326
  }
327
327
  const projectionOverlay = Symbol.for("dsh-archive-manager.projcache-overlay");
328
328
  async function installArchiveProjectionCache(cache) {
329
- const target = cache;
329
+ const target = Reflect.get(cache, symbols.original) ?? cache;
330
330
  if (target[projectionOverlay] === true) return async () => {
331
331
  };
332
332
  const domain = await target.ctx.storageDomain.open(safeProjectionCacheDomainSpec);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@michengai/dsh-archive-manager",
3
- "version": "1.0.15",
3
+ "version": "1.0.16",
4
4
  "description": "归档、恢复、收藏和永久删除会话,并诊断损坏的会话日志。 · Archive, restore, favorite, and permanently delete sessions, and diagnose damaged session logs.",
5
5
  "type": "module",
6
6
  "packageManager": "pnpm@11.22.0",