@michengai/dsh-archive-manager 1.4.0 → 1.4.2

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,17 @@
1
1
  # Changelog
2
2
 
3
+ ## [1.4.2] - 2026-11-24
4
+
5
+ ### Host Compatibility & Stability
6
+
7
+ - **Latest DeepSeek Harness Support**: Fully aligned with the latest DeepSeek Harness `0.2.3` and `0.2.2` series, optimizing session storage and transcription management compatibility for improved stability and seamless user experience.
8
+
9
+ ## [1.4.1] - 2026-11-20
10
+
11
+ ### Bug Fixes & Improvements
12
+
13
+ - **Safe Handling for Active Session Moves Across Workspaces**: Fixed an issue where moving an actively opened or running session across workspaces could lead to unstable sidebar states or failures when creating new sessions (#122). The plugin now safely guides users to close the active session first before performing cross-workspace moves, keeping ongoing sessions stable and preventing unexpected desktop errors.
14
+
3
15
  ## [1.4.0] - 2026-11-19
4
16
 
5
17
  ### Enhancements & Resilience
@@ -1,5 +1,17 @@
1
1
  # 更新日志
2
2
 
3
+ ## [1.4.2] - 2026-11-24
4
+
5
+ ### 宿主兼容与稳定性升级
6
+
7
+ - **全面适配 DeepSeek Harness 最新版本**:支持并对齐 DeepSeek Harness `0.2.3` 系列与 `0.2.2` 系列全版本,优化会话清理与持久化管理兼容性,提升整体运行稳定性与操作体验。
8
+
9
+ ## [1.4.1] - 2026-11-20
10
+
11
+ ### 问题修复与体验优化
12
+
13
+ - **活跃会话跨工作区移动安全保护**:修复在会话处于打开使用状态时执行跨工作区移动可能导致界面交互异常或后续无法创建新会话的问题(#122)。当尝试移动当前正在打开或运行的会话时,系统将提供明确指引,提示请先关闭该会话后再进行跨工作区移动,避免影响正在运行的会话状态。
14
+
3
15
  ## [1.4.0] - 2026-11-19
4
16
 
5
17
  ### 功能改进与安全加固
package/README.de.md CHANGED
@@ -16,12 +16,12 @@
16
16
  [![npm Paket](https://img.shields.io/npm/v/%40michengai%2Fdsh-archive-manager.svg?label=npm%20package)](https://www.npmjs.com/package/@michengai/dsh-archive-manager)
17
17
  [![npm Downloads](https://img.shields.io/npm/dt/%40michengai%2Fdsh-archive-manager.svg?label=npm%20downloads)](https://www.npmjs.com/package/@michengai/dsh-archive-manager)
18
18
  [![DSH Web Plugin](https://img.shields.io/badge/DSH%20Web-Plugin-0f766e.svg)](https://github.com/MichengAI/dsh-archive-manager)
19
- [![DSH kompatibel bis 0.2.2-rc.5](https://img.shields.io/badge/DSH-up%20to%200.2.2--rc.5-2563eb.svg)](#installation)
19
+ [![DSH kompatibel bis 0.2.3-alpha.2](https://img.shields.io/badge/DSH-up%20to%200.2.3--alpha.2-2563eb.svg)](#installation)
20
20
  </div>
21
21
 
22
22
  > DSH Archive Manager ist ein von der Community gepflegtes Plugin für DeepSeek Harness (DSH) und kein offizielles Produkt von DeepSeek AI.
23
23
 
24
- Dieses Dokument beschreibt Version **1.4.0**. Frühere Änderungen finden Sie im [Changelog](CHANGELOG.md).
24
+ Dieses Dokument beschreibt Version **1.4.1**. Frühere Änderungen finden Sie im [Changelog](CHANGELOG.md).
25
25
 
26
26
  ## Funktionsübersicht
27
27
 
@@ -65,7 +65,7 @@ Rechtsklicken Sie auf eine beliebige Arbeitsbereichs- oder Sitzungszeile in der
65
65
 
66
66
  Ein funktionierendes DeepSeek Harness-Setup ist erforderlich. Die Beispiele verwenden das Profil `web`; passen Sie es an Ihre Umgebung an.
67
67
 
68
- - **Host-Kompatibilität**: DeepSeek Harness `0.2.2`-Reihe (`>=0.2.2-rc.1 <0.3.0-0`), verifiziert auf allen `0.2.2`-Release-Candidates (`0.2.2-rc.1` bis `0.2.2-rc.5`; Zwischen-Alphas werden nicht unterstützt).
68
+ - **Host-Kompatibilität**: DeepSeek Harness `0.2.x`-Reihe (`>=0.2.2-rc.1 <0.3.0-0`), verifiziert von `0.2.2-rc.1` bis `0.2.2-rc.5` und `0.2.3-alpha.2`.
69
69
  - Hosts vor `0.2.2-rc.1` werden nicht mehr unterstützt, und Breaking-Updates der Generation `0.3.0` werden durch das Versions-Gate abgefangen. Nutzer auf Hosts von `0.2.0-rc.1` bis `0.2.1-rc.5` bleiben bitte auf Version `1.3.7`; Nutzer auf `0.1.x` installieren bitte Version `1.0.20`.
70
70
  - **Reverse-Proxy-Unterstützung**: Funktioniert hinter Reverse Proxies mit Pfadpräfix (z. B. `/app/dsh/`).
71
71
 
package/README.en.md CHANGED
@@ -16,12 +16,12 @@
16
16
  [![npm package](https://img.shields.io/npm/v/%40michengai%2Fdsh-archive-manager.svg?label=npm%20package)](https://www.npmjs.com/package/@michengai/dsh-archive-manager)
17
17
  [![npm downloads](https://img.shields.io/npm/dt/%40michengai%2Fdsh-archive-manager.svg?label=npm%20downloads)](https://www.npmjs.com/package/@michengai/dsh-archive-manager)
18
18
  [![DSH Web Plugin](https://img.shields.io/badge/DSH%20Web-Plugin-0f766e.svg)](https://github.com/MichengAI/dsh-archive-manager)
19
- [![DSH supported through 0.2.2-rc.5](https://img.shields.io/badge/DSH-up%20to%200.2.2--rc.5-2563eb.svg)](#installation)
19
+ [![DSH supported through 0.2.3-alpha.2](https://img.shields.io/badge/DSH-up%20to%200.2.3--alpha.2-2563eb.svg)](#installation)
20
20
  </div>
21
21
 
22
22
  > DSH Archive Manager is a community-maintained DeepSeek Harness (DSH) plugin, not an official DeepSeek AI product.
23
23
 
24
- This document describes **1.4.0**. See [Changelog](CHANGELOG.md) for published releases.
24
+ This document describes **1.4.1**. See [Changelog](CHANGELOG.md) for published releases.
25
25
 
26
26
  ## Overview
27
27
 
@@ -65,7 +65,7 @@ Right-click any workspace or session row in the sidebar for quick actions and cr
65
65
 
66
66
  A working DeepSeek Harness environment is required. Examples below use the `web` profile; adjust to your environment.
67
67
 
68
- - **Host compatibility**: DeepSeek Harness `0.2.2` series (`>=0.2.2-rc.1 <0.3.0-0`), verified across all `0.2.2` release candidates (`0.2.2-rc.1` through `0.2.2-rc.5`; intermediate alphas are not supported).
68
+ - **Host compatibility**: DeepSeek Harness `0.2.x` series (`>=0.2.2-rc.1 <0.3.0-0`), verified across `0.2.2-rc.1` through `0.2.2-rc.5`, and `0.2.3-alpha.2`.
69
69
  - Hosts prior to `0.2.2-rc.1` are no longer supported, and `0.3.0` breaking releases are blocked by the version gate. Users on hosts `0.2.0-rc.1` through `0.2.1-rc.5` should stay on `1.3.7`; users on `0.1.x` hosts should install `1.0.20`.
70
70
  - **Reverse proxy support**: Works behind path-prefixed reverse proxies (e.g. `/app/dsh/`).
71
71
 
package/README.es.md CHANGED
@@ -16,12 +16,12 @@
16
16
  [![Paquete npm](https://img.shields.io/npm/v/%40michengai%2Fdsh-archive-manager.svg?label=npm%20package)](https://www.npmjs.com/package/@michengai/dsh-archive-manager)
17
17
  [![Descargas npm](https://img.shields.io/npm/dt/%40michengai%2Fdsh-archive-manager.svg?label=npm%20downloads)](https://www.npmjs.com/package/@michengai/dsh-archive-manager)
18
18
  [![DSH Web Plugin](https://img.shields.io/badge/DSH%20Web-Plugin-0f766e.svg)](https://github.com/MichengAI/dsh-archive-manager)
19
- [![Compatible con DSH hasta 0.2.2-rc.5](https://img.shields.io/badge/DSH-up%20to%200.2.2--rc.5-2563eb.svg)](#instalación)
19
+ [![Compatible con DSH hasta 0.2.3-alpha.2](https://img.shields.io/badge/DSH-up%20to%200.2.3--alpha.2-2563eb.svg)](#instalación)
20
20
  </div>
21
21
 
22
22
  > DSH Archive Manager es un complemento mantenido por la comunidad para DeepSeek Harness (DSH), no un producto oficial de DeepSeek AI.
23
23
 
24
- Este documento corresponde a la versión **1.4.0**. Consulte el [historial de cambios](CHANGELOG.md) para versiones publicadas.
24
+ Este documento corresponde a la versión **1.4.1**. Consulte el [historial de cambios](CHANGELOG.md) para versiones publicadas.
25
25
 
26
26
  ## Resumen de características
27
27
 
@@ -65,7 +65,7 @@ Haga clic derecho sobre cualquier fila de espacio de trabajo o sesión en la bar
65
65
 
66
66
  Se requiere un entorno DeepSeek Harness operativo. Los ejemplos utilizan el perfil `web`; ajústelo según su entorno.
67
67
 
68
- - **Compatibilidad con el host**: Serie DeepSeek Harness `0.2.2` (`>=0.2.2-rc.1 <0.3.0-0`), verificada en todas las candidatas a lanzamiento de `0.2.2` (`0.2.2-rc.1` a `0.2.2-rc.5`; las alfas intermedias no están soportadas).
68
+ - **Compatibilidad con el host**: Serie DeepSeek Harness `0.2.x` (`>=0.2.2-rc.1 <0.3.0-0`), verificada en `0.2.2-rc.1` a `0.2.2-rc.5` y `0.2.3-alpha.2`.
69
69
  - Los hosts anteriores a `0.2.2-rc.1` ya no son compatibles y los cambios importantes de `0.3.0` quedan bloqueados por el control de versiones. Quienes usen hosts entre `0.2.0-rc.1` y `0.2.1-rc.5` deben permanecer en `1.3.7`; para `0.1.x`, instalen `1.0.20`.
70
70
  - **Soporte para proxy inverso**: Funciona tras proxies inversos con prefijo de ruta (por ejemplo, `/app/dsh/`).
71
71
 
package/README.fr.md CHANGED
@@ -16,12 +16,12 @@
16
16
  [![Paquet npm](https://img.shields.io/npm/v/%40michengai%2Fdsh-archive-manager.svg?label=npm%20package)](https://www.npmjs.com/package/@michengai/dsh-archive-manager)
17
17
  [![Téléchargements npm](https://img.shields.io/npm/dt/%40michengai%2Fdsh-archive-manager.svg?label=npm%20downloads)](https://www.npmjs.com/package/@michengai/dsh-archive-manager)
18
18
  [![DSH Web Plugin](https://img.shields.io/badge/DSH%20Web-Plugin-0f766e.svg)](https://github.com/MichengAI/dsh-archive-manager)
19
- [![Compatible DSH jusqu'à 0.2.2-rc.5](https://img.shields.io/badge/DSH-up%20to%200.2.2--rc.5-2563eb.svg)](#installation)
19
+ [![Compatible DSH jusqu'à 0.2.3-alpha.2](https://img.shields.io/badge/DSH-up%20to%200.2.3--alpha.2-2563eb.svg)](#installation)
20
20
  </div>
21
21
 
22
22
  > DSH Archive Manager est un plugin maintenu par la communauté pour DeepSeek Harness (DSH), et n'est pas un produit officiel de DeepSeek AI.
23
23
 
24
- Ce document décrit la version **1.4.0**. Consultez le [journal des modifications](CHANGELOG.md) pour les versions publiées.
24
+ Ce document décrit la version **1.4.1**. Consultez le [journal des modifications](CHANGELOG.md) pour les versions publiées.
25
25
 
26
26
  ## Vue d'ensemble
27
27
 
@@ -65,7 +65,7 @@ Faites un clic droit sur une ligne d'espace de travail ou de session dans la bar
65
65
 
66
66
  Un environnement DeepSeek Harness opérationnel est requis. Les exemples utilisent le profil `web` ; adaptez selon votre configuration.
67
67
 
68
- - **Compatibilité hôte** : Série DeepSeek Harness `0.2.2` (`>=0.2.2-rc.1 <0.3.0-0`), validée sur toutes les versions candidates `0.2.2` (`0.2.2-rc.1` à `0.2.2-rc.5` ; les alphas intermédiaires ne sont pas pris en charge).
68
+ - **Compatibilité hôte** : Série DeepSeek Harness `0.2.x` (`>=0.2.2-rc.1 <0.3.0-0`), validée de `0.2.2-rc.1` à `0.2.2-rc.5` et `0.2.3-alpha.2`.
69
69
  - Les versions antérieures à `0.2.2-rc.1` ne sont plus prises en charge, et la génération `0.3.0` est bloquée par le contrôle de version. Les utilisateurs d'hôtes de `0.2.0-rc.1` à `0.2.1-rc.5` doivent rester sur la version `1.3.7` ; ceux sur `0.1.x` doivent installer la version `1.0.20`.
70
70
  - **Support proxy inverse** : Fonctionne derrière un proxy inverse avec préfixe de chemin (ex. `/app/dsh/`).
71
71
 
package/README.ja.md CHANGED
@@ -16,12 +16,12 @@
16
16
  [![npm package](https://img.shields.io/npm/v/%40michengai%2Fdsh-archive-manager.svg?label=npm%20package)](https://www.npmjs.com/package/@michengai/dsh-archive-manager)
17
17
  [![npm ダウンロード数](https://img.shields.io/npm/dt/%40michengai%2Fdsh-archive-manager.svg?label=npm%20downloads)](https://www.npmjs.com/package/@michengai/dsh-archive-manager)
18
18
  [![DSH Web Plugin](https://img.shields.io/badge/DSH%20Web-Plugin-0f766e.svg)](https://github.com/MichengAI/dsh-archive-manager)
19
- [![DSH 対応バージョン 0.2.2-rc.5](https://img.shields.io/badge/DSH-up%20to%200.2.2--rc.5-2563eb.svg)](#インストール)
19
+ [![DSH 対応バージョン 0.2.3-alpha.2](https://img.shields.io/badge/DSH-up%20to%200.2.3--alpha.2-2563eb.svg)](#インストール)
20
20
  </div>
21
21
 
22
22
  > DSH Archive Manager はコミュニティによって保守されている DeepSeek Harness(DSH)向けプラグインであり、DeepSeek AI 公式の製品ではありません。
23
23
 
24
- 本文書は **1.4.0** を対象としています。過去の変更履歴は [CHANGELOG.md](CHANGELOG.md) をご覧ください。
24
+ 本文書は **1.4.1** を対象としています。過去の変更履歴は [CHANGELOG.md](CHANGELOG.md) をご覧ください。
25
25
 
26
26
  ## 機能概要
27
27
 
@@ -65,7 +65,7 @@
65
65
 
66
66
  動作する DeepSeek Harness 環境が必要です。以下の例では `web` プロファイルを使用していますので、環境に合わせて読み替えてください。
67
67
 
68
- - **ホスト対応範囲**:DeepSeek Harness `0.2.2` シリーズ(`>=0.2.2-rc.1 <0.3.0-0`)。`0.2.2-rc.1`〜`0.2.2-rc.5` の全 RC で検証済みです(中間の alpha 版は対象外)。
68
+ - **ホスト対応範囲**:DeepSeek Harness `0.2.x` シリーズ(`>=0.2.2-rc.1 <0.3.0-0`)。`0.2.2-rc.1`〜`0.2.2-rc.5`、`0.2.3-alpha.2` で検証済みです。
69
69
  - `0.2.2-rc.1` 未満の旧ホストはサポート対象外となり、`0.3.0` の破壊的変更はバージョンゲートで遮断されます。`0.2.0-rc.1`〜`0.2.1-rc.5` のホストをご利用の場合は `1.3.7` をご利用ください。`0.1.x` の場合はプラグイン `1.0.20` をインストールしてください。
70
70
  - **リバースプロキシ対応**:パスプレフィックス付きリバースプロキシ(例:`/app/dsh/`)配下での運用に対応しています。
71
71
 
package/README.md CHANGED
@@ -16,12 +16,12 @@
16
16
  [![npm package](https://img.shields.io/npm/v/%40michengai%2Fdsh-archive-manager.svg?label=npm%20package)](https://www.npmjs.com/package/@michengai/dsh-archive-manager)
17
17
  [![npm 下载量](https://img.shields.io/npm/dt/%40michengai%2Fdsh-archive-manager.svg?label=npm%20%E4%B8%8B%E8%BD%BD%E9%87%8F)](https://www.npmjs.com/package/@michengai/dsh-archive-manager)
18
18
  [![DSH Web Plugin](https://img.shields.io/badge/DSH%20Web-Plugin-0f766e.svg)](https://github.com/MichengAI/dsh-archive-manager)
19
- [![DSH 支持至 0.2.2-rc.5](https://img.shields.io/badge/DSH-%E6%94%AF%E6%8C%81%E8%87%B3%200.2.2--rc.5-2563eb.svg)](#安装)
19
+ [![DSH 支持至 0.2.3-alpha.2](https://img.shields.io/badge/DSH-%E6%94%AF%E6%8C%81%E8%87%B3%200.2.3--alpha.2-2563eb.svg)](#安装)
20
20
  </div>
21
21
 
22
22
  > DSH Archive Manager 是社区维护的 DeepSeek Harness(DSH)插件,并非 DeepSeek AI 官方产品。
23
23
 
24
- 本文描述 **1.4.0**。已发布变更见[更新日志](CHANGELOG.zh-CN.md)。
24
+ 本文描述 **1.4.1**。已发布变更见[更新日志](CHANGELOG.zh-CN.md)。
25
25
 
26
26
  ## 功能概览
27
27
 
@@ -65,7 +65,7 @@
65
65
 
66
66
  需要已安装并能正常运行 DeepSeek Harness。以下命令使用 `web` profile,请按实际环境替换。
67
67
 
68
- - **宿主支持范围**:DeepSeek Harness `0.2.2` 系列(`>=0.2.2-rc.1 <0.3.0-0`),已验证覆盖 `0.2.2-rc.1`~`0.2.2-rc.5` 全部 RC 版本(同一 RC 线中间的 alpha 不在支持范围内)。
68
+ - **宿主支持范围**:DeepSeek Harness `0.2.x` 系列(`>=0.2.2-rc.1 <0.3.0-0`),已验证覆盖 `0.2.2-rc.1`~`0.2.2-rc.5`、`0.2.3-alpha.2`。
69
69
  - `0.2.2-rc.1` 之前的早期宿主不再支持,`0.3.0` 破坏性更新将由版本门自动拦截;宿主为 `0.2.0-rc.1`~`0.2.1-rc.5` 的用户请留在 `1.3.7`,仍在使用 `0.1.x` 的用户请安装插件 `1.0.20`。
70
70
  - **反向代理部署**:支持部署在带路径前缀的反向代理后(如 `/app/dsh/`)。
71
71
 
package/README.pt.md CHANGED
@@ -16,12 +16,12 @@
16
16
  [![Pacote npm](https://img.shields.io/npm/v/%40michengai%2Fdsh-archive-manager.svg?label=npm%20package)](https://www.npmjs.com/package/@michengai/dsh-archive-manager)
17
17
  [![Downloads npm](https://img.shields.io/npm/dt/%40michengai%2Fdsh-archive-manager.svg?label=npm%20downloads)](https://www.npmjs.com/package/@michengai/dsh-archive-manager)
18
18
  [![DSH Web Plugin](https://img.shields.io/badge/DSH%20Web-Plugin-0f766e.svg)](https://github.com/MichengAI/dsh-archive-manager)
19
- [![Compatível com DSH até 0.2.2-rc.5](https://img.shields.io/badge/DSH-up%20to%200.2.2--rc.5-2563eb.svg)](#instalação)
19
+ [![Compatível com DSH até 0.2.3-alpha.2](https://img.shields.io/badge/DSH-up%20to%200.2.3--alpha.2-2563eb.svg)](#instalação)
20
20
  </div>
21
21
 
22
22
  > DSH Archive Manager é um plugin mantido pela comunidade para o DeepSeek Harness (DSH), não sendo um produto oficial da DeepSeek AI.
23
23
 
24
- Este documento refere-se à versão **1.4.0**. Consulte o [registro de alterações](CHANGELOG.md) para versões publicadas.
24
+ Este documento refere-se à versão **1.4.1**. Consulte o [registro de alterações](CHANGELOG.md) para versões publicadas.
25
25
 
26
26
  ## Visão geral
27
27
 
@@ -65,7 +65,7 @@ Clique com o botão direito em qualquer linha de espaço de trabalho ou sessão
65
65
 
66
66
  É necessário um ambiente DeepSeek Harness em funcionamento. Os exemplos abaixo usam o perfil `web`; ajuste conforme o seu ambiente.
67
67
 
68
- - **Compatibilidade com o host**: Série DeepSeek Harness `0.2.2` (`>=0.2.2-rc.1 <0.3.0-0`), verificada em todas as versões candidatas `0.2.2` (`0.2.2-rc.1` até `0.2.2-rc.5`; versões alpha intermediárias não são suportadas).
68
+ - **Compatibilidade com o host**: Série DeepSeek Harness `0.2.x` (`>=0.2.2-rc.1 <0.3.0-0`), verificada de `0.2.2-rc.1` até `0.2.2-rc.5` e `0.2.3-alpha.2`.
69
69
  - Hosts anteriores a `0.2.2-rc.1` não são mais suportados, e alterações incompatíveis da linha `0.3.0` são bloqueadas pela verificação de versão. Usuários em hosts de `0.2.0-rc.1` a `0.2.1-rc.5` devem permanecer na versão `1.3.7`; usuários em `0.1.x` devem instalar `1.0.20`.
70
70
  - **Suporte a proxy reverso**: Funciona atrás de proxies reversos com prefixo de caminho (ex.: `/app/dsh/`).
71
71
 
package/README.ru.md CHANGED
@@ -16,12 +16,12 @@
16
16
  [![npm package](https://img.shields.io/npm/v/%40michengai%2Fdsh-archive-manager.svg?label=npm%20package)](https://www.npmjs.com/package/@michengai/dsh-archive-manager)
17
17
  [![npm downloads](https://img.shields.io/npm/dt/%40michengai%2Fdsh-archive-manager.svg?label=npm%20downloads)](https://www.npmjs.com/package/@michengai/dsh-archive-manager)
18
18
  [![DSH Web Plugin](https://img.shields.io/badge/DSH%20Web-Plugin-0f766e.svg)](https://github.com/MichengAI/dsh-archive-manager)
19
- [![DSH supported through 0.2.2-rc.5](https://img.shields.io/badge/DSH-up%20to%200.2.2--rc.5-2563eb.svg)](#установка)
19
+ [![DSH supported through 0.2.3-alpha.2](https://img.shields.io/badge/DSH-up%20to%200.2.3--alpha.2-2563eb.svg)](#установка)
20
20
  </div>
21
21
 
22
22
  > DSH Archive Manager — это поддерживаемый сообществом плагин для DeepSeek Harness (DSH), а не официальный продукт DeepSeek AI.
23
23
 
24
- Этот документ описывает выпуск **1.4.0**. Историю изменений смотрите в [CHANGELOG.md](CHANGELOG.md).
24
+ Этот документ описывает выпуск **1.4.1**. Историю изменений смотрите в [CHANGELOG.md](CHANGELOG.md).
25
25
 
26
26
  ## Что умеет плагин
27
27
 
@@ -65,7 +65,7 @@
65
65
 
66
66
  Требуется рабочая среда DeepSeek Harness. В примерах ниже используется профиль `web`; подставьте свой.
67
67
 
68
- - **Совместимость с хостом**: Ветка DeepSeek Harness `0.2.2` (`>=0.2.2-rc.1 <0.3.0-0`), проверено на всех релиз-кандидатах `0.2.2` (`0.2.2-rc.1`–`0.2.2-rc.5`; промежуточные alpha-сборки не поддерживаются).
68
+ - **Совместимость с хостом**: Ветка DeepSeek Harness `0.2.x` (`>=0.2.2-rc.1 <0.3.0-0`), проверено на `0.2.2-rc.1`–`0.2.2-rc.5` и `0.2.3-alpha.2`.
69
69
  - Хосты старше `0.2.2-rc.1` больше не поддерживаются, а несовместимые обновления `0.3.0` блокируются проверкой версии. Пользователям хостов с `0.2.0-rc.1` по `0.2.1-rc.5` следует оставаться на `1.3.7`; для `0.1.x` установите версию `1.0.20`.
70
70
  - **Обратный прокси**: Поддерживается работа за обратным прокси с префиксом пути (например, `/app/dsh/`).
71
71
 
package/README.zh-CN.md CHANGED
@@ -16,12 +16,12 @@
16
16
  [![npm package](https://img.shields.io/npm/v/%40michengai%2Fdsh-archive-manager.svg?label=npm%20package)](https://www.npmjs.com/package/@michengai/dsh-archive-manager)
17
17
  [![npm 下载量](https://img.shields.io/npm/dt/%40michengai%2Fdsh-archive-manager.svg?label=npm%20%E4%B8%8B%E8%BD%BD%E9%87%8F)](https://www.npmjs.com/package/@michengai/dsh-archive-manager)
18
18
  [![DSH Web Plugin](https://img.shields.io/badge/DSH%20Web-Plugin-0f766e.svg)](https://github.com/MichengAI/dsh-archive-manager)
19
- [![DSH 支持至 0.2.2-rc.5](https://img.shields.io/badge/DSH-%E6%94%AF%E6%8C%81%E8%87%B3%200.2.2--rc.5-2563eb.svg)](#安装)
19
+ [![DSH 支持至 0.2.3-alpha.2](https://img.shields.io/badge/DSH-%E6%94%AF%E6%8C%81%E8%87%B3%200.2.3--alpha.2-2563eb.svg)](#安装)
20
20
  </div>
21
21
 
22
22
  > DSH Archive Manager 是社区维护的 DeepSeek Harness(DSH)插件,并非 DeepSeek AI 官方产品。
23
23
 
24
- 本文描述 **1.4.0**。已发布变更见[更新日志](CHANGELOG.zh-CN.md)。
24
+ 本文描述 **1.4.1**。已发布变更见[更新日志](CHANGELOG.zh-CN.md)。
25
25
 
26
26
  ## 功能概览
27
27
 
@@ -65,7 +65,7 @@
65
65
 
66
66
  需要已安装并能正常运行 DeepSeek Harness。以下命令使用 `web` profile,请按实际环境替换。
67
67
 
68
- - **宿主支持范围**:DeepSeek Harness `0.2.2` 系列(`>=0.2.2-rc.1 <0.3.0-0`),已验证覆盖 `0.2.2-rc.1`~`0.2.2-rc.5` 全部 RC 版本(同一 RC 线中间的 alpha 不在支持范围内)。
68
+ - **宿主支持范围**:DeepSeek Harness `0.2.x` 系列(`>=0.2.2-rc.1 <0.3.0-0`),已验证覆盖 `0.2.2-rc.1`~`0.2.2-rc.5`、`0.2.3-alpha.2`。
69
69
  - `0.2.2-rc.1` 之前的早期宿主不再支持,`0.3.0` 破坏性更新将由版本门自动拦截;宿主为 `0.2.0-rc.1`~`0.2.1-rc.5` 的用户请留在 `1.3.7`,仍在使用 `0.1.x` 的用户请安装插件 `1.0.20`。
70
70
  - **反向代理部署**:支持部署在带路径前缀的反向代理后(如 `/app/dsh/`)。
71
71
 
@@ -111,40 +111,6 @@ async function moveSessionToWorkspace(ctx, sessionId, targetWorkspaceId) {
111
111
  if (isExecuting) {
112
112
  throw new Error("\u8BE5\u4F1A\u8BDD\u6B63\u5904\u4E8E\u6267\u884C\u6216\u8FD0\u884C\u72B6\u6001\uFF0C\u8BF7\u7B49\u5F85\u5B8C\u6210\u540E\u518D\u79FB\u52A8\u3002");
113
113
  }
114
- let originalEntry;
115
- if (liveSession !== void 0) {
116
- if (typeof agent?.cancel === "function") {
117
- try {
118
- agent.cancel({ kind: "disposed" });
119
- await agent.whenIdle?.();
120
- } catch {
121
- }
122
- }
123
- if (typeof ctx.sessions?.flush === "function") {
124
- try {
125
- await ctx.sessions.flush(liveSession);
126
- } catch {
127
- }
128
- }
129
- try {
130
- await agent?.scope?.dispose?.();
131
- ctx.agents?.store?.delete(cleanSessionId);
132
- } catch {
133
- }
134
- originalEntry = ctx.sessions?.store?.get?.(cleanSessionId) ?? (typeof ctx.sessions?.liveEntryFor === "function" ? (() => {
135
- try {
136
- return ctx.sessions.liveEntryFor(liveSession);
137
- } catch {
138
- return void 0;
139
- }
140
- })() : void 0);
141
- if (typeof originalEntry?.detach === "function") {
142
- try {
143
- originalEntry.detach();
144
- } catch {
145
- }
146
- }
147
- }
148
114
  const persistence = ctx.sessionPersistence;
149
115
  let header;
150
116
  if (typeof registry.readSessionHeader === "function") {
@@ -254,6 +220,12 @@ async function moveSessionToWorkspace(ctx, sessionId, targetWorkspaceId) {
254
220
  toWorkspacePath: targetPath
255
221
  };
256
222
  }
223
+ const requireReleasedSession = () => {
224
+ if (ctx.sessions?.get?.(cleanSessionId) || ctx.agents?.get?.(cleanSessionId)) {
225
+ throw new Error("\u8BE5\u4F1A\u8BDD\u4ECD\u88AB\u5BBF\u4E3B\u6301\u6709\uFF0C\u65E0\u6CD5\u8DE8\u76EE\u5F55\u79FB\u52A8\u3002\u8BF7\u5148\u5173\u95ED\u8BE5\u4F1A\u8BDD\u518D\u91CD\u8BD5\u3002");
226
+ }
227
+ };
228
+ requireReleasedSession();
257
229
  if (!persistence || typeof persistence.locate !== "function") {
258
230
  throw new Error("\u5F53\u524D\u6301\u4E45\u5316\u540E\u7AEF\u4E0D\u652F\u6301\u7269\u7406\u5B9A\u4F4D\uFF0C\u65E0\u6CD5\u8DE8\u5DE5\u4F5C\u533A\u79FB\u52A8\u4F1A\u8BDD\u3002");
259
231
  }
@@ -290,6 +262,7 @@ async function moveSessionToWorkspace(ctx, sessionId, targetWorkspaceId) {
290
262
  throw new Error("\u8FC1\u79FB\u524D\u6821\u9A8C\u5931\u8D25\uFF1A\u6570\u636E\u6539\u5199\u9A8C\u8BC1\u672A\u901A\u8FC7\u3002");
291
263
  }
292
264
  }
265
+ requireReleasedSession();
293
266
  const targetHadSession = rawWorkspaceSessionIds(targetWorkspace).includes(cleanSessionId);
294
267
  const previousPath = registry.sessionPaths?.get(cleanSessionId);
295
268
  const previousInvalidPath = getInvalidSessionState(registry.invalidSessionPaths, cleanSessionId);
@@ -312,17 +285,6 @@ async function moveSessionToWorkspace(ctx, sessionId, targetWorkspaceId) {
312
285
  registry.sessionPaths?.set(cleanSessionId, targetPath);
313
286
  registry.headers?.set(cleanSessionId, targetHeader);
314
287
  registry.invalidSessionPaths?.delete(cleanSessionId);
315
- if (liveSession !== void 0) {
316
- try {
317
- if ("header" in liveSession && liveSession.header) {
318
- liveSession.header.cwd = targetPath;
319
- }
320
- if ("cwd" in liveSession) {
321
- liveSession.cwd = targetPath;
322
- }
323
- } catch {
324
- }
325
- }
326
288
  await targetWorkspace.attachSession(cleanSessionId);
327
289
  if (!rawWorkspaceSessionIds(targetWorkspace).includes(cleanSessionId)) {
328
290
  throw new Error("\u76EE\u6807\u5DE5\u4F5C\u533A\u672A\u4FDD\u7559\u4F1A\u8BDD\u5173\u8054\uFF0C\u5DF2\u53D6\u6D88\u79FB\u52A8\u3002");
@@ -377,17 +339,6 @@ async function moveSessionToWorkspace(ctx, sessionId, targetWorkspaceId) {
377
339
  restoreInvalidSessionState(registry.invalidSessionPaths, cleanSessionId, previousInvalidPath);
378
340
  if (!wasMissing) registry.missingSessionPaths?.delete(cleanSessionId);
379
341
  else registry.missingSessionPaths?.add(cleanSessionId);
380
- if (liveSession !== void 0 && header) {
381
- try {
382
- if ("header" in liveSession && liveSession.header) {
383
- liveSession.header.cwd = header.cwd;
384
- }
385
- if ("cwd" in liveSession && header.cwd) {
386
- liveSession.cwd = header.cwd;
387
- }
388
- } catch {
389
- }
390
- }
391
342
  for (const ws of attemptedSources) {
392
343
  if (rawWorkspaceSessionIds(ws).includes(cleanSessionId)) continue;
393
344
  try {
package/lib/workspace.js CHANGED
@@ -18,8 +18,11 @@ const favoriteDomainSpec = defineDomain({
18
18
  // 宿主运行时仅调用 parse/safeParse;兼容早期同构 schema,不新增 Zod 运行依赖。
19
19
  global: { schema: favoriteStateSchema, initial: { favoriteSessionIds: [] } }
20
20
  });
21
+ function isJsonlPersistence(persistence) {
22
+ return persistence.name === "session-persistence-jsonl" || persistence.name === "sessionPersistence" || persistence.constructor?.name === "JsonlSessionPersistence";
23
+ }
21
24
  function jsonlSessionDirectory(persistence, header, location) {
22
- if (persistence.name !== "session-persistence-jsonl" || location.kind !== "jsonl")
25
+ if (!isJsonlPersistence(persistence) || location.kind !== "jsonl")
23
26
  return;
24
27
  const root = persistence.root ?? persistence.config?.root;
25
28
  if (typeof root !== "string" || !isAbsolute(root) || !isAbsolute(location.path))
@@ -981,7 +984,7 @@ var ArchiveWorkspaceRegistry = class extends WorkspaceRegistry {
981
984
  if (!stat.isDirectory())
982
985
  throw new Error(`expected session storage directory "${path}"`);
983
986
  }
984
- } else if (persistence.name === "session-persistence-jsonl") {
987
+ } else if (isJsonlPersistence(persistence)) {
985
988
  this.ctx.logger.warn(
986
989
  `archive-manager: session "${sessionId}": JSONL directory ownership could not be verified; falling back to artifact-only deletion at "${location.path}" (parent directory retained)`
987
990
  );
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@michengai/dsh-archive-manager",
3
- "version": "1.4.0",
3
+ "version": "1.4.2",
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",
@@ -74,32 +74,32 @@
74
74
  }
75
75
  },
76
76
  "devDependencies": {
77
- "@deepseek-ai/cordis": "4.1.0",
78
- "@deepseek-ai/dsh-api-gateway": "0.2.2-rc.3",
79
- "@deepseek-ai/dsh-client-connection": "0.2.2-rc.3",
80
- "@deepseek-ai/dsh-client-locale": "0.2.2-rc.3",
81
- "@deepseek-ai/dsh-client-store": "0.2.2-rc.3",
82
- "@deepseek-ai/dsh-client-ui-conversation": "0.2.2-rc.3",
83
- "@deepseek-ai/dsh-client-ui-primitives": "0.2.2-rc.3",
84
- "@deepseek-ai/dsh-client-ui-renderer": "0.2.2-rc.3",
85
- "@deepseek-ai/dsh-client-ui-sidebar": "0.2.2-rc.3",
86
- "@deepseek-ai/dsh-client-ui-slots": "0.2.2-rc.3",
87
- "@deepseek-ai/dsh-client-ui-workspace": "0.2.2-rc.3",
88
- "@deepseek-ai/dsh-error": "0.2.2-rc.3",
89
- "@deepseek-ai/dsh-host-webserver": "0.2.2-rc.3",
90
- "@deepseek-ai/dsh-scope": "0.2.2-rc.3",
91
- "@deepseek-ai/dsh-session": "0.2.2-rc.3",
92
- "@deepseek-ai/dsh-session-format-catalog": "0.2.2-rc.3",
93
- "@deepseek-ai/dsh-session-persistence": "0.2.2-rc.3",
94
- "@deepseek-ai/dsh-session-projection": "0.2.2-rc.3",
95
- "@deepseek-ai/dsh-session-projection-cache": "0.2.2-rc.3",
96
- "@deepseek-ai/dsh-spill": "0.2.2-rc.3",
97
- "@deepseek-ai/dsh-spill-local": "0.2.2-rc.3",
98
- "@deepseek-ai/dsh-storage": "0.2.2-rc.3",
99
- "@deepseek-ai/dsh-storage-domain": "0.2.2-rc.3",
100
- "@deepseek-ai/dsh-typert-protocol": "0.2.2-rc.3",
101
- "@deepseek-ai/dsh-typert-registry": "0.2.2-rc.3",
102
- "@deepseek-ai/dsh-workspace": "0.2.2-rc.3",
77
+ "@deepseek-ai/cordis": "4.2.0-alpha.1",
78
+ "@deepseek-ai/dsh-api-gateway": "0.2.3-alpha.2",
79
+ "@deepseek-ai/dsh-client-connection": "0.2.3-alpha.2",
80
+ "@deepseek-ai/dsh-client-locale": "0.2.3-alpha.2",
81
+ "@deepseek-ai/dsh-client-store": "0.2.3-alpha.2",
82
+ "@deepseek-ai/dsh-client-ui-conversation": "0.2.3-alpha.2",
83
+ "@deepseek-ai/dsh-client-ui-primitives": "0.2.3-alpha.2",
84
+ "@deepseek-ai/dsh-client-ui-renderer": "0.2.3-alpha.2",
85
+ "@deepseek-ai/dsh-client-ui-sidebar": "0.2.3-alpha.2",
86
+ "@deepseek-ai/dsh-client-ui-slots": "0.2.3-alpha.2",
87
+ "@deepseek-ai/dsh-client-ui-workspace": "0.2.3-alpha.2",
88
+ "@deepseek-ai/dsh-error": "0.2.3-alpha.2",
89
+ "@deepseek-ai/dsh-host-webserver": "0.2.3-alpha.2",
90
+ "@deepseek-ai/dsh-scope": "0.2.3-alpha.2",
91
+ "@deepseek-ai/dsh-session": "0.2.3-alpha.2",
92
+ "@deepseek-ai/dsh-session-format-catalog": "0.2.3-alpha.2",
93
+ "@deepseek-ai/dsh-session-persistence": "0.2.3-alpha.2",
94
+ "@deepseek-ai/dsh-session-projection": "0.2.3-alpha.2",
95
+ "@deepseek-ai/dsh-session-projection-cache": "0.2.3-alpha.2",
96
+ "@deepseek-ai/dsh-spill": "0.2.3-alpha.2",
97
+ "@deepseek-ai/dsh-spill-local": "0.2.3-alpha.2",
98
+ "@deepseek-ai/dsh-storage": "0.2.3-alpha.2",
99
+ "@deepseek-ai/dsh-storage-domain": "0.2.3-alpha.2",
100
+ "@deepseek-ai/dsh-typert-protocol": "0.2.3-alpha.2",
101
+ "@deepseek-ai/dsh-typert-registry": "0.2.3-alpha.2",
102
+ "@deepseek-ai/dsh-workspace": "0.2.3-alpha.2",
103
103
  "@types/node": "^22.20.4",
104
104
  "@types/react": "^18.3.31",
105
105
  "@types/react-dom": "^18.0.0",