@michengai/dsh-archive-manager 1.3.6 → 1.3.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 +7 -0
- package/CHANGELOG.zh-CN.md +7 -0
- package/README.de.md +1 -1
- package/README.en.md +1 -1
- package/README.es.md +1 -1
- package/README.fr.md +1 -1
- package/README.ja.md +1 -1
- package/README.md +1 -1
- package/README.pt.md +1 -1
- package/README.ru.md +1 -1
- package/README.zh-CN.md +1 -1
- package/lib/cache-rebuild-client.js +2 -1
- package/lib/cache-rebuild-contract.js +5 -1
- package/lib/client.js +6 -5
- package/lib/workspace.js +77 -8
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [1.3.7] - 2026-11-18
|
|
4
|
+
|
|
5
|
+
### Diagnostics & UX Enhancements
|
|
6
|
+
|
|
7
|
+
- **Resilient Cache Rebuild for Missing Session Logs**: During session cache diagnosis and rebuild, sessions whose log files are deleted or physically missing from disk are automatically recognized and safely skipped, preventing whole-workspace cache rebuilds from getting stuck and eliminating persistent diagnostic alerts in settings (#118).
|
|
8
|
+
- **Clear Rebuild Failure Stages & One-Click Copy**: When cache rebuild encounters file permission or I/O read errors, the failure card now clearly indicates the exact stage and underlying cause, with a new "Copy failure details" action for streamlined troubleshooting and reporting.
|
|
9
|
+
|
|
3
10
|
## [1.3.6] - 2026-11-14
|
|
4
11
|
|
|
5
12
|
### Host Compatibility
|
package/CHANGELOG.zh-CN.md
CHANGED
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
# 更新日志
|
|
2
2
|
|
|
3
|
+
## [1.3.7] - 2026-11-18
|
|
4
|
+
|
|
5
|
+
### 体验优化与异常排查
|
|
6
|
+
|
|
7
|
+
- **智能跳过物理缺失的失效会话**:在会话缓存诊断与重建过程中,自动识别并跳过在磁盘上已被删除或物理缺失日志的会话,避免整个工作区的缓存重建受阻,同时消除设置页中无法被清除的常驻诊断警示(#118)。
|
|
8
|
+
- **完善重建失败详情与一键复制**:当缓存重建遇到文件权限或磁盘读取异常等非预期错误时,失败提示卡片明确标注具体的失败阶段与详细原因,并新增「复制错误详情」按钮,方便快速排查与反馈。
|
|
9
|
+
|
|
3
10
|
## [1.3.6] - 2026-11-14
|
|
4
11
|
|
|
5
12
|
### 宿主兼容
|
package/README.de.md
CHANGED
|
@@ -21,7 +21,7 @@
|
|
|
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.3.
|
|
24
|
+
Dieses Dokument beschreibt Version **1.3.7**. Frühere Änderungen finden Sie im [Changelog](CHANGELOG.md).
|
|
25
25
|
|
|
26
26
|
## Funktionsübersicht
|
|
27
27
|
|
package/README.en.md
CHANGED
|
@@ -21,7 +21,7 @@
|
|
|
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.3.
|
|
24
|
+
This document describes **1.3.7**. See [Changelog](CHANGELOG.md) for published releases.
|
|
25
25
|
|
|
26
26
|
## Overview
|
|
27
27
|
|
package/README.es.md
CHANGED
|
@@ -21,7 +21,7 @@
|
|
|
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.3.
|
|
24
|
+
Este documento corresponde a la versión **1.3.7**. Consulte el [historial de cambios](CHANGELOG.md) para versiones publicadas.
|
|
25
25
|
|
|
26
26
|
## Resumen de características
|
|
27
27
|
|
package/README.fr.md
CHANGED
|
@@ -21,7 +21,7 @@
|
|
|
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.3.
|
|
24
|
+
Ce document décrit la version **1.3.7**. Consultez le [journal des modifications](CHANGELOG.md) pour les versions publiées.
|
|
25
25
|
|
|
26
26
|
## Vue d'ensemble
|
|
27
27
|
|
package/README.ja.md
CHANGED
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
|
|
22
22
|
> DSH Archive Manager はコミュニティによって保守されている DeepSeek Harness(DSH)向けプラグインであり、DeepSeek AI 公式の製品ではありません。
|
|
23
23
|
|
|
24
|
-
本文書は **1.3.
|
|
24
|
+
本文書は **1.3.7** を対象としています。過去の変更履歴は [CHANGELOG.md](CHANGELOG.md) をご覧ください。
|
|
25
25
|
|
|
26
26
|
## 機能概要
|
|
27
27
|
|
package/README.md
CHANGED
package/README.pt.md
CHANGED
|
@@ -21,7 +21,7 @@
|
|
|
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.3.
|
|
24
|
+
Este documento refere-se à versão **1.3.7**. Consulte o [registro de alterações](CHANGELOG.md) para versões publicadas.
|
|
25
25
|
|
|
26
26
|
## Visão geral
|
|
27
27
|
|
package/README.ru.md
CHANGED
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
|
|
22
22
|
> DSH Archive Manager — это поддерживаемый сообществом плагин для DeepSeek Harness (DSH), а не официальный продукт DeepSeek AI.
|
|
23
23
|
|
|
24
|
-
Этот документ описывает выпуск **1.3.
|
|
24
|
+
Этот документ описывает выпуск **1.3.7**. Историю изменений смотрите в [CHANGELOG.md](CHANGELOG.md).
|
|
25
25
|
|
|
26
26
|
## Что умеет плагин
|
|
27
27
|
|
package/README.zh-CN.md
CHANGED
|
@@ -60,10 +60,11 @@ function createCacheRebuildController(api, options = {}) {
|
|
|
60
60
|
result.rebuiltSessionIds.push(...value.rebuiltSessionIds);
|
|
61
61
|
result.skippedSessionIds.push(...value.skippedSessionIds);
|
|
62
62
|
result.failures.push(...value.failures);
|
|
63
|
+
if (value.missingSourceSessionIds?.length) (result.missingSourceSessionIds ??= []).push(...value.missingSourceSessionIds);
|
|
63
64
|
if (value.failures.length) retry.push(item);
|
|
64
65
|
} catch (error) {
|
|
65
66
|
if (!active) return;
|
|
66
|
-
result.failures.push({ sessionId: item.sessionId, message: errorMessage(error) });
|
|
67
|
+
result.failures.push({ sessionId: item.sessionId, stage: "request", message: errorMessage(error) });
|
|
67
68
|
retry.push(item);
|
|
68
69
|
}
|
|
69
70
|
update({ progress: { done: index + 1, total: items.length } });
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { record } from "./contracts.js";
|
|
2
|
+
const cacheFailureStages = ["lookup", "read", "save", "request"];
|
|
2
3
|
function cacheIdentity(header) {
|
|
3
4
|
return JSON.stringify([header.version, header.createdAt, header.cwd ?? null, header.isSeeded]);
|
|
4
5
|
}
|
|
@@ -20,7 +21,9 @@ const cacheDiagnosisSchema = { parse(input) {
|
|
|
20
21
|
const cacheRebuildSchema = { parse(input) {
|
|
21
22
|
const value = record(input);
|
|
22
23
|
for (const key of ["rebuiltSessionIds", "skippedSessionIds"]) if (!Array.isArray(value?.[key]) || value[key].some((id) => typeof id !== "string")) throw new TypeError("invalid cache rebuild result");
|
|
23
|
-
|
|
24
|
+
const missing = value.missingSourceSessionIds;
|
|
25
|
+
if (missing !== void 0 && (!Array.isArray(missing) || new Set(missing).size !== missing.length || missing.some((id) => typeof id !== "string" || !value.skippedSessionIds.includes(id)))) throw new TypeError("invalid missing cache sources");
|
|
26
|
+
if (!Array.isArray(value.failures) || value.failures.some((f) => !f || typeof f.sessionId !== "string" || typeof f.message !== "string" || f.stage !== void 0 && !cacheFailureStages.includes(f.stage))) throw new TypeError("invalid cache rebuild failures");
|
|
24
27
|
return value;
|
|
25
28
|
} };
|
|
26
29
|
function cacheRebuildInvocations() {
|
|
@@ -32,6 +35,7 @@ function cacheRebuildInvocations() {
|
|
|
32
35
|
}
|
|
33
36
|
export {
|
|
34
37
|
cacheDiagnosisSchema,
|
|
38
|
+
cacheFailureStages,
|
|
35
39
|
cacheIdentity,
|
|
36
40
|
cacheRebuildInput,
|
|
37
41
|
cacheRebuildInvocations,
|