@michengai/dsh-skills-manager 0.1.22 → 0.1.24

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 ADDED
@@ -0,0 +1,37 @@
1
+ # Changelog
2
+
3
+ [简体中文](CHANGELOG.zh-CN.md)
4
+
5
+ The five most recent published versions are listed below.
6
+
7
+ ## 0.1.24 — 2026-08-23
8
+
9
+ - Added bilingual changelogs covering the five most recent releases.
10
+ - Linked the release history from both README editions and included it in the npm package.
11
+
12
+ Published package: [`@michengai/dsh-skills-manager@0.1.24`](https://www.npmjs.com/package/@michengai/dsh-skills-manager/v/0.1.24).
13
+
14
+ ## 0.1.23 — 2026-08-17
15
+
16
+ - Stopped silently dropping a chained import after a clean dry run.
17
+
18
+ Release tag: [`v0.1.23`](https://github.com/MichengAI/dsh-skills-manager/tree/v0.1.23).
19
+
20
+ ## 0.1.22 — 2026-08-17
21
+
22
+ - Preserved symlink-rejection errors while collecting batch import candidates.
23
+
24
+ Release tag: [`v0.1.22`](https://github.com/MichengAI/dsh-skills-manager/tree/v0.1.22).
25
+
26
+ ## 0.1.21 — 2026-08-17
27
+
28
+ - Applied the same symlink and depth checks during import dry runs.
29
+ - Aligned dry-run cleanup, deletion handling, and HEAD behavior.
30
+
31
+ Release tag: [`v0.1.21`](https://github.com/MichengAI/dsh-skills-manager/tree/v0.1.21).
32
+
33
+ ## 0.1.20 — 2026-08-17
34
+
35
+ - Avoided duplicate import errors while the upload dialog is open.
36
+
37
+ Release tag: [`v0.1.20`](https://github.com/MichengAI/dsh-skills-manager/tree/v0.1.20).
@@ -0,0 +1,37 @@
1
+ # 更新日志
2
+
3
+ [English](CHANGELOG.md)
4
+
5
+ 以下记录最近发布的五个版本。
6
+
7
+ ## 0.1.24 — 2026-08-23
8
+
9
+ - 新增中英文更新日志,展示最近五个发布版本。
10
+ - 在中英文 README 中加入更新日志入口,并将日志纳入 npm 包。
11
+
12
+ 发布包:[`@michengai/dsh-skills-manager@0.1.24`](https://www.npmjs.com/package/@michengai/dsh-skills-manager/v/0.1.24)。
13
+
14
+ ## 0.1.23 — 2026-08-17
15
+
16
+ - 修复 dry-run 成功后链式导入被静默丢弃的问题。
17
+
18
+ 发布标签:[`v0.1.23`](https://github.com/MichengAI/dsh-skills-manager/tree/v0.1.23)。
19
+
20
+ ## 0.1.22 — 2026-08-17
21
+
22
+ - 批量收集导入候选项时不再吞掉符号链接拒绝错误。
23
+
24
+ 发布标签:[`v0.1.22`](https://github.com/MichengAI/dsh-skills-manager/tree/v0.1.22)。
25
+
26
+ ## 0.1.21 — 2026-08-17
27
+
28
+ - 导入 dry-run 阶段执行与正式导入一致的符号链接和目录深度检查。
29
+ - 统一 dry-run 清理、删除处理和 HEAD 请求行为。
30
+
31
+ 发布标签:[`v0.1.21`](https://github.com/MichengAI/dsh-skills-manager/tree/v0.1.21)。
32
+
33
+ ## 0.1.20 — 2026-08-17
34
+
35
+ - 上传弹窗打开时避免产生重复导入错误。
36
+
37
+ 发布标签:[`v0.1.20`](https://github.com/MichengAI/dsh-skills-manager/tree/v0.1.20)。
package/README.md CHANGED
@@ -1,24 +1,6 @@
1
- <div align="center">
2
- <table cellpadding="0" cellspacing="0">
3
- <tr>
4
- <td valign="middle" align="center">
5
- <img src="assets/branding/dsh-logo.png" alt="DeepSeek Harness logo" width="168">
6
- </td>
7
- <td valign="middle">
8
- <pre>
9
- ____ ____ _ _
10
- | _ \/ ___|| | | |
11
- | | | \___ \| |_| |
12
- | |_| |___) | _ |
13
- |____/|____/|_| |_|
14
- SKILLS MANAGER
15
- Local + shared Agent skills
16
- DeepSeek Harness plugin
17
- </pre>
18
- </td>
19
- </tr>
20
- </table>
21
- </div>
1
+ <p align="center">
2
+ <img src="assets/branding/dsh-banner.png" alt="DSH Skills Manager" width="100%">
3
+ </p>
22
4
 
23
5
  <div align="center">
24
6
 
@@ -30,6 +12,7 @@ Local + shared Agent skills
30
12
 
31
13
  [![License: Apache-2.0](https://img.shields.io/badge/License-Apache--2.0-blue.svg)](LICENSE)
32
14
  [![npm package](https://img.shields.io/npm/v/%40michengai%2Fdsh-skills-manager.svg?label=npm%20package)](https://www.npmjs.com/package/@michengai/dsh-skills-manager)
15
+ [![npm downloads](https://img.shields.io/npm/dt/%40michengai%2Fdsh-skills-manager.svg?label=npm%20downloads)](https://www.npmjs.com/package/@michengai/dsh-skills-manager)
33
16
  [![DSH Web Plugin](https://img.shields.io/badge/DSH%20Web-Plugin-0f766e.svg)](https://github.com/MichengAI/dsh-skills-manager)
34
17
  [![Node.js 20 or later](https://img.shields.io/badge/Node.js-20%20or%20later-339933.svg?logo=node.js&logoColor=white)](https://nodejs.org/)
35
18
  </div>
@@ -62,6 +45,17 @@ Enabling a DSH-local skill restores its `/` command in the chat composer:
62
45
 
63
46
  ![Chat slash command after enabling a local skill](assets/screenshots/slash-command.png)
64
47
 
48
+ ## DSH product ecosystem
49
+
50
+ This product can be installed independently or used through the desktop app or Web suite. They share the same DSH core but serve different ways of working:
51
+
52
+ | Product | Relationship to this product |
53
+ | --- | --- |
54
+ | [DeepSeek Harness](https://github.com/deepseek-ai/deepseek-harness) | The host runtime that provides models, sessions, tools, and the plugin system |
55
+ | [DSH Codex Desktop](https://github.com/MichengAI/dsh-codex-desktop) | A ready-to-install desktop product with this product and the other five feature products built in |
56
+ | [DSH Codex Suite](https://github.com/MichengAI/dsh-codex-ui/tree/main/packages/dsh-codex-suite) | A one-click suite for existing DSH Web environments that installs this product and the other five feature products |
57
+ | Six feature products | [Codex UI](https://github.com/MichengAI/dsh-codex-ui) · [IM Connect](https://github.com/MichengAI/dsh-im-connect) · [Automation](https://github.com/MichengAI/dsh-automation) · [Skills Manager](https://github.com/MichengAI/dsh-skills-manager) · [Archive Manager](https://github.com/MichengAI/dsh-archive-manager) · [Agency Agents](https://github.com/MichengAI/dsh-agency-agents) |
58
+
65
59
  ## Prerequisites
66
60
 
67
61
  - A working DeepSeek Harness Web installation with `dsh` available in PowerShell.
@@ -115,7 +109,7 @@ dsh plugin --profile web add @michengai/dsh-skills-manager@latest --registry=htt
115
109
  dsh --profile web --dump-config
116
110
  ```
117
111
 
118
- To pin a release, replace `@latest` with a version such as `@0.1.22`.
112
+ To pin a release, replace `@latest` with a version such as `@0.1.23`.
119
113
 
120
114
  The configuration output should contain `skills-manager`. Restart DSH Web and hard-refresh the browser. Do not copy client files manually: `dsh plugin add` also applies `cordis.patch.yml`.
121
115
 
@@ -207,3 +201,7 @@ npm run pack:check
207
201
  Project status, usage boundaries, architecture, and iteration records begin at the [documentation entry point](docs/00-交接入口/00-阅读导航.md). The detailed operational guide is `docs\02-产品与业务\01-使用说明.md`.
208
202
 
209
203
  Licensed under [Apache License 2.0](LICENSE).
204
+
205
+ ## Changelog
206
+
207
+ See [CHANGELOG.md](CHANGELOG.md) for the five most recent releases.
package/README.zh-CN.md CHANGED
@@ -1,24 +1,6 @@
1
- <div align="center">
2
- <table cellpadding="0" cellspacing="0">
3
- <tr>
4
- <td valign="middle" align="center">
5
- <img src="assets/branding/dsh-logo.png" alt="DeepSeek Harness 标识" width="168">
6
- </td>
7
- <td valign="middle">
8
- <pre>
9
- ____ ____ _ _
10
- | _ \/ ___|| | | |
11
- | | | \___ \| |_| |
12
- | |_| |___) | _ |
13
- |____/|____/|_| |_|
14
- SKILLS MANAGER
15
- Local + shared Agent skills
16
- DeepSeek Harness plugin
17
- </pre>
18
- </td>
19
- </tr>
20
- </table>
21
- </div>
1
+ <p align="center">
2
+ <img src="assets/branding/dsh-banner.png" alt="DSH Skills Manager" width="100%">
3
+ </p>
22
4
 
23
5
  <div align="center">
24
6
 
@@ -30,6 +12,7 @@ Local + shared Agent skills
30
12
 
31
13
  [![许可证:Apache-2.0](https://img.shields.io/badge/许可证-Apache--2.0-blue.svg)](LICENSE)
32
14
  [![npm package](https://img.shields.io/npm/v/%40michengai%2Fdsh-skills-manager.svg?label=npm%20package)](https://www.npmjs.com/package/@michengai/dsh-skills-manager)
15
+ [![npm 下载量](https://img.shields.io/npm/dt/%40michengai%2Fdsh-skills-manager.svg?label=npm%20%E4%B8%8B%E8%BD%BD%E9%87%8F)](https://www.npmjs.com/package/@michengai/dsh-skills-manager)
33
16
  [![DSH Web Plugin](https://img.shields.io/badge/DSH%20Web-Plugin-0f766e.svg)](https://github.com/MichengAI/dsh-skills-manager)
34
17
  [![Node.js 20 or later](https://img.shields.io/badge/Node.js-20%20or%20later-339933.svg?logo=node.js&logoColor=white)](https://nodejs.org/)
35
18
  </div>
@@ -62,6 +45,17 @@ Local + shared Agent skills
62
45
 
63
46
  ![启用本地技能后的斜杠命令](assets/screenshots/slash-command.png)
64
47
 
48
+ ## DSH 产品生态
49
+
50
+ 本产品既可以独立安装,也可以随桌面端或 Web 套件一起使用。它们共享同一个 DSH 核心,但面向不同的使用方式:
51
+
52
+ | 产品 | 与本产品的关系 |
53
+ | --- | --- |
54
+ | [DeepSeek Harness](https://github.com/deepseek-ai/deepseek-harness) | 本产品的运行宿主,提供模型、会话、工具和插件系统 |
55
+ | [DSH Codex Desktop](https://github.com/MichengAI/dsh-codex-desktop) | 下载安装即用的桌面产品,已内置本产品和其他 5 个功能产品 |
56
+ | [DSH Codex Suite](https://github.com/MichengAI/dsh-codex-ui/tree/main/packages/dsh-codex-suite) | 面向已有 DSH Web 环境的一键套件,会安装本产品和其他 5 个功能产品 |
57
+ | 6 个功能产品 | [Codex UI](https://github.com/MichengAI/dsh-codex-ui) · [IM Connect](https://github.com/MichengAI/dsh-im-connect) · [Automation](https://github.com/MichengAI/dsh-automation) · [Skills Manager](https://github.com/MichengAI/dsh-skills-manager) · [Archive Manager](https://github.com/MichengAI/dsh-archive-manager) · [Agency Agents](https://github.com/MichengAI/dsh-agency-agents) |
58
+
65
59
  ## 前置条件
66
60
 
67
61
  - 已可正常运行 DeepSeek Harness Web,且可在 PowerShell 中使用 `dsh`。
@@ -115,7 +109,7 @@ dsh plugin --profile web add @michengai/dsh-skills-manager@latest --registry=htt
115
109
  dsh --profile web --dump-config
116
110
  ```
117
111
 
118
- 需要钉死某一版时,把 `@latest` 换成具体版本,例如 `@0.1.22`。
112
+ 需要钉死某一版时,把 `@latest` 换成具体版本,例如 `@0.1.23`。
119
113
 
120
114
  配置输出中应包含 `skills-manager`。安装后重启 DSH Web 并在浏览器硬刷新。不要手工复制客户端文件,`dsh plugin add` 会同时应用 `cordis.patch.yml`。
121
115
 
@@ -207,3 +201,7 @@ npm run pack:check
207
201
  项目状态、使用边界、技术架构和迭代记录从[文档交接入口](docs/00-交接入口/00-阅读导航.md)开始。详细操作说明见 `docs\02-产品与业务\01-使用说明.md`。
208
202
 
209
203
  本项目采用 [Apache License 2.0](LICENSE)。
204
+
205
+ ## 更新日志
206
+
207
+ 最近五个发布版本见 [CHANGELOG.zh-CN.md](CHANGELOG.zh-CN.md)。
Binary file
package/lib/client.js CHANGED
@@ -577,8 +577,9 @@ window.__ModuleLoader__.load({
577
577
  if (!busy && inputRef.current) inputRef.current.click();
578
578
  }
579
579
 
580
- function executeImport(source, conflict) {
581
- if (inflightRef.current && busy !== "import-check") return;
580
+ function executeImport(source, conflict, chained) {
581
+ // busy 闭包值停留在点击那次渲染,读不到 setBusy("import-check");链式放行必须显式传参。
582
+ if (inflightRef.current && !chained) return;
582
583
  inflightRef.current = true;
583
584
  setBusy("import");
584
585
  setConfirmImport(null);
@@ -609,7 +610,7 @@ window.__ModuleLoader__.load({
609
610
  setConfirmImport({ source: selected.source, conflicts: data.conflicts });
610
611
  return;
611
612
  }
612
- executeImport(selected.source, "skip");
613
+ executeImport(selected.source, "skip", true);
613
614
  }).catch(function (error) {
614
615
  inflightRef.current = false;
615
616
  setBusy(null);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@michengai/dsh-skills-manager",
3
- "version": "0.1.22",
3
+ "version": "0.1.24",
4
4
  "description": "NPM-installable DSH Web plugin for managing local skills and viewing shared Agent skills safely.",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {
@@ -21,7 +21,9 @@
21
21
  "files": [
22
22
  "lib",
23
23
  "assets",
24
- "cordis.patch.yml"
24
+ "cordis.patch.yml",
25
+ "CHANGELOG.md",
26
+ "CHANGELOG.zh-CN.md"
25
27
  ],
26
28
  "dsh": {
27
29
  "bundle": {