dsh-archived-chats 1.5.2 → 1.5.3

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
@@ -4,6 +4,18 @@
4
4
 
5
5
  Entries describe behavior at each release, not necessarily current behavior. Consult the READMEs and user guides for current usage.
6
6
 
7
+ ## 1.5.3 — 2026-10-21
8
+
9
+ ### 中文
10
+
11
+ - 兼容 DSH `0.2.1-rc.2`:在可选会话依赖范围中显式接受已验证版本,避免安装时的 peer 依赖冲突(#60);保留此前支持范围。
12
+ - 增加新版官方 Host 的锁定测试夹具,适配 JSONL 后端由构造器改为插件 `apply()` 的初始化方式。CI 在 Ubuntu、macOS、Windows 上分别运行新旧两套 Host 的八项原生集成检查,覆盖备份恢复、删除、失败回滚及分叉标题。
13
+
14
+ ### English
15
+
16
+ - Support DSH `0.2.1-rc.2` by explicitly admitting the verified version in the optional session peer range, avoiding installation conflicts (#60) while preserving earlier support.
17
+ - Add a pinned official Host fixture and adapt native test setup to the JSONL backend's plugin `apply()` entry point. CI runs all eight native integration cases against both Host versions on Ubuntu, macOS, and Windows, covering backup/restore, deletion, rollback failures, and forked-session titles.
18
+
7
19
  ## 1.5.2 — 2026-10-13
8
20
 
9
21
  ### 中文
package/README.md CHANGED
@@ -32,7 +32,7 @@ Archive Management gives DeepSeek Harness a place to find chats hidden from the
32
32
 
33
33
  > The English name is **Archive Management**, and the Chinese name is **归档管理**. The installation package remains `dsh-archived-chats`.
34
34
  >
35
- > This document follows the `main` branch and targets 1.5.2. This release fixes imported-title cache compatibility with newer Hosts while retaining support for the older interface. See the [changelog](CHANGELOG.md) for release history.
35
+ > This document follows the `main` branch and targets 1.5.3. This release adds installation support and native integration coverage for DSH `0.2.1-rc.2` while retaining older Host support. See the [changelog](CHANGELOG.md) for release history.
36
36
 
37
37
  ## Quick start
38
38
 
@@ -135,7 +135,7 @@ The package declares DSH `>=0.1.0-rc.7`; individual features depend on public Ho
135
135
 
136
136
  Recycle Bin preview still depends on the original session; a missing original may prevent preview even when a protection snapshot can restore it. See [compatibility and limits](docs/USER_GUIDE.md#compatibility-and-limits).
137
137
 
138
- The declared range remains capability-based. Release automation tests Node.js 18 on Ubuntu and Node.js 24 on Ubuntu, macOS, and Windows; the Node.js 24 matrix requires the official `@deepseek-ai/dsh-session@0.1.7-rc.2` Host backend integration (8/8) and package checks, including the v4 session format.
138
+ The declared range remains capability-based. Release automation tests Node.js 18 on Ubuntu and Node.js 24 on Ubuntu, macOS, and Windows; the Node.js 24 matrix requires both pinned official Host backends, `@deepseek-ai/dsh-session@0.1.7-rc.2` and `0.2.1-rc.2` (eight integration cases each) and package checks, including the v4 session format.
139
139
 
140
140
  ## Documentation
141
141
 
@@ -157,10 +157,12 @@ Archive Management is actively maintained. The latest stable npm release receive
157
157
  npm test
158
158
  npm ci --prefix test/fixtures/native-host --ignore-scripts --include=optional
159
159
  node scripts/run-native-integration.mjs
160
+ npm ci --prefix test/fixtures/native-host-0.2.1 --ignore-scripts --include=optional
161
+ node scripts/run-native-integration.mjs --fixture-root test/fixtures/native-host-0.2.1
160
162
  npm pack --dry-run --json
161
163
  ```
162
164
 
163
- The suite covers Host and browser behavior, export/import, snapshot fallback recovery, Recycle Bin, retention, search, responsive layout, public types, package contents, and repository hygiene. The native commands install the locked `@deepseek-ai/dsh-session@0.1.7-rc.2` fixture and require all eight native integration cases to run without skips. All checks use isolated temporary data and never read real sessions.
165
+ The suite covers Host and browser behavior, export/import, snapshot fallback recovery, Recycle Bin, retention, search, responsive layout, public types, package contents, and repository hygiene. The two native command pairs use the locked `@deepseek-ai/dsh-session@0.1.7-rc.2` and `0.2.1-rc.2` fixtures; each requires all eight native integration cases to run without skips. All checks use isolated temporary data and never read real sessions.
164
166
 
165
167
  ## Uninstall
166
168
 
package/README.zh-CN.md CHANGED
@@ -30,7 +30,7 @@
30
30
 
31
31
  > 中文名称为「归档管理」,英文名称为 Archive Management;安装包名始终为 `dsh-archived-chats`。
32
32
  >
33
- > 本文跟随 `main` 分支维护,适用于 1.5.2。本版修复新版 Host 的导入标题缓存兼容问题,并保留旧版接口支持。版本变更见[更新日志](CHANGELOG.md)。
33
+ > 本文跟随 `main` 分支维护,适用于 1.5.3。本版加入 DSH `0.2.1-rc.2` 安装兼容性与原生集成验证,并保留旧版支持。版本变更见[更新日志](CHANGELOG.md)。
34
34
 
35
35
  ## 快速开始
36
36
 
@@ -133,7 +133,7 @@ dsh plugin --profile web update dsh-archived-chats
133
133
 
134
134
  回收站预览目前仍依赖原会话;原件丢失时,即使保护快照可恢复,也可能无法预览。详见[兼容性与限制](docs/USER_GUIDE.zh-CN.md#兼容性与限制)。
135
135
 
136
- 声明的版本范围仍以 Host 公开能力为准。发布自动化在 Ubuntu 上测试 Node.js 18,并在 Ubuntu、macOS 和 Windows 上测试 Node.js 24;Node.js 24 矩阵强制运行基于官方 `@deepseek-ai/dsh-session@0.1.7-rc.2` 的 Host 后端集成(8/8)与打包检查,覆盖 v4 会话格式。
136
+ 声明的版本范围仍以 Host 公开能力为准。发布自动化在 Ubuntu 上测试 Node.js 18,并在 Ubuntu、macOS 和 Windows 上测试 Node.js 24;Node.js 24 矩阵强制运行官方 `@deepseek-ai/dsh-session@0.1.7-rc.2` 与 `0.2.1-rc.2` 两套锁定 Host 后端集成(各 8 项)与打包检查,覆盖 v4 会话格式。
137
137
 
138
138
  ## 文档
139
139
 
@@ -155,10 +155,12 @@ dsh plugin --profile web update dsh-archived-chats
155
155
  npm test
156
156
  npm ci --prefix test/fixtures/native-host --ignore-scripts --include=optional
157
157
  node scripts/run-native-integration.mjs
158
+ npm ci --prefix test/fixtures/native-host-0.2.1 --ignore-scripts --include=optional
159
+ node scripts/run-native-integration.mjs --fixture-root test/fixtures/native-host-0.2.1
158
160
  npm pack --dry-run --json
159
161
  ```
160
162
 
161
- 测试覆盖 Host 与浏览器行为、导出导入、快照恢复、回收站、保留策略、全文搜索、响应式布局、公开类型、包内容和仓库卫生。原生集成命令会安装锁定的 `@deepseek-ai/dsh-session@0.1.7-rc.2` fixture,并要求八个原生集成用例全部执行且不能跳过。所有检查只使用隔离临时数据,不读取真实会话。
163
+ 测试覆盖 Host 与浏览器行为、导出导入、快照恢复、回收站、保留策略、全文搜索、响应式布局、公开类型、包内容和仓库卫生。两组原生集成命令分别使用锁定的 `@deepseek-ai/dsh-session@0.1.7-rc.2` 与 `0.2.1-rc.2` fixture,每组要求八个原生集成用例全部执行且不能跳过。所有检查只使用隔离临时数据,不读取真实会话。
162
164
 
163
165
  ## 卸载
164
166
 
@@ -2,7 +2,7 @@
2
2
 
3
3
  English · [中文](ARCHITECTURE.md) · [User guide](USER_GUIDE.md)
4
4
 
5
- This document follows `main` and covers 1.5.2 behavior. This release fixes imported-title cache compatibility with newer Hosts while retaining support for the older interface. See the [changelog](../CHANGELOG.md) for release history. Runtime code is the authority for interfaces and behavior; user-facing documentation should agree with it.
5
+ This document follows `main` and covers 1.5.3 behavior. This release adds installation support and native integration coverage for DSH `0.2.1-rc.2` while retaining older Host support. See the [changelog](../CHANGELOG.md) for release history. Runtime code is the authority for interfaces and behavior; user-facing documentation should agree with it.
6
6
 
7
7
  ## Product boundary and modules
8
8
 
@@ -2,7 +2,7 @@
2
2
 
3
3
  [English](ARCHITECTURE.en.md) · 中文 · [用户指南](USER_GUIDE.zh-CN.md)
4
4
 
5
- 本文跟随 `main` 分支,功能对应 1.5.2。本版修复新版 Host 的导入标题缓存兼容问题,并保留旧版接口支持。版本变更见[更新日志](../CHANGELOG.md)。运行时代码是接口与行为的依据;用户操作说明与本文应保持一致。
5
+ 本文跟随 `main` 分支,功能对应 1.5.3。本版加入 DSH `0.2.1-rc.2` 安装兼容性与原生集成验证,并保留旧版支持。版本变更见[更新日志](../CHANGELOG.md)。运行时代码是接口与行为的依据;用户操作说明与本文应保持一致。
6
6
 
7
7
  ## 产品边界与模块
8
8
 
@@ -2,7 +2,7 @@
2
2
 
3
3
  English · [简体中文](USER_GUIDE.zh-CN.md) · [Back to README](../README.md)
4
4
 
5
- Archive Management provides a place to browse and manage DSH's archived chats, plus workspace bulk archiving. This document follows the `main` branch and targets 1.5.2. This release fixes imported-title cache compatibility with newer Hosts while retaining support for the older interface. See the [changelog](../CHANGELOG.md) for release history. For interfaces and data formats, see the [architecture](ARCHITECTURE.en.md).
5
+ Archive Management provides a place to browse and manage DSH's archived chats, plus workspace bulk archiving. This document follows the `main` branch and targets 1.5.3. This release adds installation support and native integration coverage for DSH `0.2.1-rc.2` while retaining older Host support. See the [changelog](../CHANGELOG.md) for release history. For interfaces and data formats, see the [architecture](ARCHITECTURE.en.md).
6
6
 
7
7
  ## Understand the three locations
8
8
 
@@ -211,7 +211,7 @@ Features depend on public Host capabilities, not just a version number:
211
211
  - Version 2 protection records require this or a newer plugin. Before downgrading, restore recycled chats you need to retain and back up plugin data.
212
212
  - If `trash.json` cannot be read, Archived is marked unverified, the Recycle Bin is unavailable, and archive mutations such as unarchive, tag/note editing, and deletion are refused instead of guessing.
213
213
 
214
- The declared DSH `>=0.1.0-rc.7` range remains capability-based. Release automation tests Node.js 18 on Ubuntu and Node.js 24 on Ubuntu, macOS, and Windows; the Node.js 24 matrix requires the official `@deepseek-ai/dsh-session@0.1.7-rc.2` Host backend integration (8/8) and package checks, including the v4 session format.
214
+ The declared DSH `>=0.1.0-rc.7` range remains capability-based. Release automation tests Node.js 18 on Ubuntu and Node.js 24 on Ubuntu, macOS, and Windows; the Node.js 24 matrix requires both pinned official Host backends, `@deepseek-ai/dsh-session@0.1.7-rc.2` and `0.2.1-rc.2` (eight integration cases each) and package checks, including the v4 session format.
215
215
 
216
216
  ## Local data and uninstall
217
217
 
@@ -2,7 +2,7 @@
2
2
 
3
3
  [English](USER_GUIDE.md) · 简体中文 · [返回 README](../README.zh-CN.md)
4
4
 
5
- 归档管理为 DSH 已归档聊天提供查看和管理页面,并扩展按工作区批量归档。本文跟随 `main` 分支维护,适用于 1.5.2。本版修复新版 Host 的导入标题缓存兼容问题,并保留旧版接口支持。版本变更见[更新日志](../CHANGELOG.md),接口和数据格式见[架构说明](ARCHITECTURE.md)。
5
+ 归档管理为 DSH 已归档聊天提供查看和管理页面,并扩展按工作区批量归档。本文跟随 `main` 分支维护,适用于 1.5.3。本版加入 DSH `0.2.1-rc.2` 安装兼容性与原生集成验证,并保留旧版支持。版本变更见[更新日志](../CHANGELOG.md),接口和数据格式见[架构说明](ARCHITECTURE.md)。
6
6
 
7
7
  ## 先理解三个位置
8
8
 
@@ -211,7 +211,7 @@ DSH 运行时约每分钟检查,关闭期间暂停,启动恢复完成后补
211
211
  - v2 保护快照需要此版或更新的插件读取;回退旧插件前先恢复需要保留的回收聊天,并备份插件数据。
212
212
  - 如果 `trash.json` 无法读取,归档列表会标为未经核对,回收站不可用,并拒绝取消归档、编辑标签备注及删除等归档修改,避免猜测状态。
213
213
 
214
- 声明的 DSH `>=0.1.0-rc.7` 范围仍表达基于 Host 公开能力的兼容性。发布自动化在 Ubuntu 上测试 Node.js 18,并在 Ubuntu、macOS 和 Windows 上测试 Node.js 24;Node.js 24 矩阵强制运行基于官方 `@deepseek-ai/dsh-session@0.1.7-rc.2` 的 Host 后端集成(8/8)与打包检查,覆盖 v4 会话格式。
214
+ 声明的 DSH `>=0.1.0-rc.7` 范围仍表达基于 Host 公开能力的兼容性。发布自动化在 Ubuntu 上测试 Node.js 18,并在 Ubuntu、macOS 和 Windows 上测试 Node.js 24;Node.js 24 矩阵强制运行官方 `@deepseek-ai/dsh-session@0.1.7-rc.2` 与 `0.2.1-rc.2` 两套锁定 Host 后端集成(各 8 项)与打包检查,覆盖 v4 会话格式。
215
215
 
216
216
  ## 本地数据与卸载
217
217
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dsh-archived-chats",
3
- "version": "1.5.2",
3
+ "version": "1.5.3",
4
4
  "description": "查看、搜索和恢复已归档会话,支持未归档管理、工作区批量归档、备份、回收站与残留会话检查。",
5
5
  "license": "MIT",
6
6
  "author": "Ultronen",
@@ -97,7 +97,7 @@
97
97
  },
98
98
  "peerDependencies": {
99
99
  "@deepseek-ai/cordis": "^4.0.1",
100
- "@deepseek-ai/dsh-session": ">=0.1.0-rc.7 <0.1.1-0 || >=0.1.1-rc.1 <0.1.2-0 || >=0.1.2-alpha.1 <0.2.0-0 || 0.1.5-rc.2 || 0.1.7-rc.2 || 0.2.0-rc.2",
100
+ "@deepseek-ai/dsh-session": ">=0.1.0-rc.7 <0.1.1-0 || >=0.1.1-rc.1 <0.1.2-0 || >=0.1.2-alpha.1 <0.2.0-0 || 0.1.5-rc.2 || 0.1.7-rc.2 || 0.2.0-rc.2 || 0.2.1-rc.2",
101
101
  "react": "^18.2.0"
102
102
  },
103
103
  "peerDependenciesMeta": {