@michengai/dsh-skills-manager 1.1.13 → 1.1.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 +13 -1
- package/CHANGELOG.zh-CN.md +13 -1
- package/README.md +14 -15
- package/README.zh-CN.md +14 -15
- package/lib/client.js +53 -53
- package/lib/core.js +324 -29
- package/lib/index.js +107 -31
- package/lib/repositories.js +78 -40
- package/lib/repository-updates.js +38 -9
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -2,7 +2,19 @@
|
|
|
2
2
|
|
|
3
3
|
[简体中文](CHANGELOG.zh-CN.md)
|
|
4
4
|
|
|
5
|
-
##
|
|
5
|
+
## 1.1.16 - 2026-10-12
|
|
6
|
+
|
|
7
|
+
- You can add categories inside each skill source and place skills in them. Categories stay in the manager and do not move files. Each category can be turned on or off together.
|
|
8
|
+
- The project tab selects a registered workspace from the dropdown at the top. It no longer lists every workspace collapsed by default, and it no longer treats a plain skills folder at the project root as a skill source.
|
|
9
|
+
|
|
10
|
+
## 1.1.15 - 2026-10-11
|
|
11
|
+
|
|
12
|
+
- Creating, importing, and installing from a repository can target a registered workspace. The copy goes to that project's `.dsh/skills`. The user directory stays the default, and the dialog warns that project files may be committed.
|
|
13
|
+
- The project tab lists registered workspaces, collapsed by default. Expand one to view and manage its skills.
|
|
14
|
+
- The same repository skill can be installed in more than one place. Update, roll back, and uninstall apply only to the copy you select.
|
|
15
|
+
- A repository skill that only conflicts with a local copy shows Name conflict and cannot be installed over it.
|
|
16
|
+
- If a workspace is no longer registered, or its project root has changed, managing, restoring, or removing that project skill stops. It does not write to another project.
|
|
17
|
+
- Creating and importing can also write to Shared Agent. Codex, Claude, and other agent directories stay read-only.
|
|
6
18
|
|
|
7
19
|
## 1.1.13 - 2026-10-07
|
|
8
20
|
|
package/CHANGELOG.zh-CN.md
CHANGED
|
@@ -2,7 +2,19 @@
|
|
|
2
2
|
|
|
3
3
|
[English](CHANGELOG.md)
|
|
4
4
|
|
|
5
|
-
##
|
|
5
|
+
## 1.1.16 - 2026-10-12
|
|
6
|
+
|
|
7
|
+
- 可以在每个技能来源里建分类,把技能归进去。分类只记在管理器里,不移动文件。每个分类可以一起启用或停用。
|
|
8
|
+
- 项目页改为顶部下拉选择已登记工作区,不再默认折叠列出所有工作区,也不再把项目根目录的普通 skills 文件夹当成技能来源。
|
|
9
|
+
|
|
10
|
+
## 1.1.15 - 2026-10-11
|
|
11
|
+
|
|
12
|
+
- 创建、导入和从仓库安装时,可以选择已登记的工作区,技能会写进该项目的 `.dsh/skills`。默认仍是用户目录,并会提示项目文件可能被提交到仓库。
|
|
13
|
+
- 项目页改为列出已登记的工作区,默认折叠。展开后才能查看和管理该项目的技能。
|
|
14
|
+
- 同一个仓库技能可以安装到多个位置。更新、回滚和卸载只作用于你选中的那一份。
|
|
15
|
+
- 只是和本地同名冲突时,会显示「同名冲突」,不能直接覆盖安装。
|
|
16
|
+
- 工作区已取消登记,或项目根目录已经变化时,管理、恢复和移除会停止,不会写到别的项目。
|
|
17
|
+
- 创建和导入也可以写入公共 Agent。Codex、Claude 等其他 Agent 目录仍然只读。
|
|
6
18
|
|
|
7
19
|
## 1.1.13 - 2026-10-07
|
|
8
20
|
|
package/README.md
CHANGED
|
@@ -19,17 +19,17 @@
|
|
|
19
19
|
|
|
20
20
|
> DSH Skills Manager is a community-maintained DeepSeek Harness (DSH) plugin, not an official DeepSeek AI product.
|
|
21
21
|
|
|
22
|
-
This README describes **1.1.
|
|
22
|
+
This README describes **1.1.16**. Released changes are in the [changelog](CHANGELOG.md).
|
|
23
23
|
|
|
24
24
|
## Features
|
|
25
25
|
|
|
26
26
|
|
|
27
27
|
Bring skills from your computer and projects into DSH without switching between Agent folders.
|
|
28
28
|
|
|
29
|
-
- **Manage in one place**: browse collapsible source groups, search, read, and toggle skills.
|
|
30
|
-
- **Global and project skills**: the project tab
|
|
29
|
+
- **Manage in one place**: browse collapsible source groups, search, read, and toggle skills. Categories group skills inside a source and do not move files.
|
|
30
|
+
- **Global and project skills**: select a registered workspace from the project tab dropdown. Its skills use the same source-group layout as global skills. Project copies take priority over global copies.
|
|
31
31
|
- **Reuse existing skills**: supports Codex, Claude Code, Copilot, and other agents without modifying their source files when toggled.
|
|
32
|
-
- **Create and import**: create a skill or import ZIP archives, folders, and `SKILL.md` files into
|
|
32
|
+
- **Create and import**: create a skill or import ZIP archives, folders, and `SKILL.md` files into your user directory (default) or a registered workspace. User-level writes can go to DSH skills or Shared Agent.
|
|
33
33
|
- **Skill repositories**: discover public GitHub skills, install without overwriting local files, review updates and restore backups.
|
|
34
34
|
- **Recover deleted skills**: DSH skills go to Trash first, so accidental deletions can be restored.
|
|
35
35
|
|
|
@@ -71,7 +71,7 @@ dsh plugin --profile web add @michengai/dsh-skills-manager@latest --registry=htt
|
|
|
71
71
|
|
|
72
72
|
Restart DSH, refresh the page, and open **Settings → Skills**. To update, select **Check for updates** or run the installation command again.
|
|
73
73
|
|
|
74
|
-
- Plugin `1.1.
|
|
74
|
+
- Plugin `1.1.16` is tested with DeepSeek Harness `0.1.2-rc.1`, `0.1.5-rc.1`, `0.1.5-rc.2`, `0.1.5-rc.3`, `0.1.7-rc.1`, `0.1.7-rc.2`, `0.2.0-rc.1`, `0.2.0-rc.2`.
|
|
75
75
|
|
|
76
76
|
## Usage
|
|
77
77
|
|
|
@@ -80,28 +80,28 @@ Restart DSH, refresh the page, and open **Settings → Skills**. To update, sele
|
|
|
80
80
|
| Find a skill | Choose Global or Project, expand a source group, or use search and filters. |
|
|
81
81
|
| Read its contents | Select **View details** for the skill body and source information. |
|
|
82
82
|
| Enable or disable | Toggle the skill switch. This affects DSH without editing source files. |
|
|
83
|
-
| Add a skill | Select **Create skill** or **Import
|
|
84
|
-
| Install from a repository | Open **Repositories → Add repository**, enter a public GitHub URL, scan, click **Install**, choose
|
|
85
|
-
| Uninstall a repository skill | Click the red **Uninstall** button and confirm. The installed folder and local edits move to **Trash**, and **Install** becomes available again. |
|
|
83
|
+
| Add a skill | Select **Create skill** or **Import skill**, then use the side-by-side dropdowns: choose **User directory** (default) or **Specific workspace** on the left, and a location or registered workspace on the right. Check the destination path below. A workspace copy is written to that project's `.dsh/skills` and may be committed to its repository. |
|
|
84
|
+
| Install from a repository | Open **Repositories → Add repository**, enter a public GitHub URL, scan, click **Install**, use the same side-by-side dropdowns to choose the scope and location or workspace, check the destination path below, and confirm. |
|
|
85
|
+
| Uninstall a repository skill | Click the red **Uninstall** button and confirm. This includes copies in a registered workspace. The installed folder and local edits move to **Trash**, and **Install** becomes available again. |
|
|
86
86
|
| Update repository skills | Select **Refresh & check updates**, then **Review update** to inspect changes and confirm backup and update. |
|
|
87
87
|
| Roll back an update | Select **Restore previous version** for a skill with a backup, preview and confirm. |
|
|
88
|
-
| Recover a deletion | Open **Trash** and restore.
|
|
88
|
+
| Recover a deletion | Open **Trash** and restore. |
|
|
89
89
|
|
|
90
|
-
- **
|
|
90
|
+
- **Registered workspaces**: select a registered workspace from the project tab dropdown. Only that workspace is scanned, displayed and searched. Git repositories use the nearest Git root; other folders use the workspace directory, so no `git init` is required. Empty workspaces remain selectable; unavailable directories are disabled.
|
|
91
91
|
- **Independent copies**: disabling a project copy allows another enabled copy to take over, and the panel identifies the active source. Disable all copies to turn the skill off completely.
|
|
92
|
-
- **File management**: DSH skills can move to Trash from the general manager. Repository-installed copies in DSH
|
|
92
|
+
- **File management**: DSH skills can move to Trash from the general manager. Repository-installed copies in DSH, Shared Agent, or a registered workspace can also be uninstalled from **Repositories**. Codex, Claude and other external skills remain read-only. Creation, file import and repository install can write to DSH skills or Shared Agent in your user directory, or to a registered workspace's `.dsh/skills`. Creation, import and installation never preselect a workspace, and Shared Agent is not available for workspaces. The project tab viewing selection is not a write destination.
|
|
93
93
|
- **Restore**: retired repository provenance belongs to the specific Trash entry and is reactivated only by an explicit restore, including the destination and update/rollback history. A different same-name skill does not inherit repository management. Uninstalling a Shared Agent copy affects every agent using that directory.
|
|
94
94
|
|
|
95
95
|
### Repository boundaries
|
|
96
96
|
|
|
97
97
|
- The header **Check for updates** updates the plugin itself. Repository **Refresh & check updates** checks skill contents without installing or replacing them; it shows animation, counts and the current repository.
|
|
98
|
-
- Repository installation writes
|
|
98
|
+
- Repository installation writes to user-level DSH skills or Shared Agent (`~/.agents/skills`, overridable with `DSH_AGENTS_HOME`), or to a registered workspace's `<project>/.dsh/skills`. The chooser shows the configured path and disables unsafe paths; a missing directory is created only after confirmation. Codex, Claude and other agent directories cannot be selected. Arbitrary paths, unregistered project destinations and plugin-managed caches are not writable. Missing destinations in legacy records default to DSH; updates and rollback follow the recorded destination. Public GitHub repositories are supported; private credentials and automatic updates are not. Removing a subscription keeps installed skills.
|
|
99
99
|
- Archives are limited to 32 MiB, including when filtering by subdirectory. Failed scans preserve the previous catalog; corrupt caches require refresh.
|
|
100
100
|
- Local edits require explicit confirmation before replacement. Historical backups are not automatically cleaned and consume additional disk space.
|
|
101
101
|
|
|
102
102
|
## Supported Agent directories
|
|
103
103
|
|
|
104
|
-
`~` means your home directory; `<project>` is the
|
|
104
|
+
`~` means your home directory; `<project>` is the project root of a registered workspace. These are default paths; configured DSH directory variables take precedence.
|
|
105
105
|
|
|
106
106
|
| Source | Global directory | Project directory |
|
|
107
107
|
| --- | --- | --- |
|
|
@@ -124,9 +124,8 @@ Restart DSH, refresh the page, and open **Settings → Skills**. To update, sele
|
|
|
124
124
|
| Qoder | `~/.qoder/skills` | `<project>/.qoder/skills` |
|
|
125
125
|
| Qoder CN CLI | `~/.qoder-cn/skills` | — |
|
|
126
126
|
| Qoder CN | `~/.lingma/skills` | `<project>/.lingma/skills` |
|
|
127
|
-
| Project Skills | — | `<project>/skills` |
|
|
128
127
|
|
|
129
|
-
|
|
128
|
+
Ordinary project-root `<project>/skills` directories are not scanned, so repository release resources are not exposed as Agent skills. OpenClaw / Clawdbot support is limited to the user-level sources above. Qoder CN CLI project skills use `<project>/.qoder/skills` and appear as Qoder. Qoder CN IDE uses the Lingma directories. Missing external source directories are not shown.
|
|
130
129
|
|
|
131
130
|
## DSH product ecosystem
|
|
132
131
|
|
package/README.zh-CN.md
CHANGED
|
@@ -19,16 +19,16 @@
|
|
|
19
19
|
|
|
20
20
|
> DSH Skills Manager 是社区维护的 DeepSeek Harness(DSH)插件,并非 DeepSeek AI 官方产品。
|
|
21
21
|
|
|
22
|
-
|
|
22
|
+
本文描述 **1.1.16**。已发布变更见[更新日志](CHANGELOG.zh-CN.md)。
|
|
23
23
|
|
|
24
24
|
## 功能概览
|
|
25
25
|
|
|
26
26
|
把散落在本机和项目中的技能集中到 DSH,无需在多个 Agent 目录间来回查找。
|
|
27
27
|
|
|
28
|
-
-
|
|
29
|
-
-
|
|
28
|
+
- **统一管理**:按来源分组,搜索技能、查看正文,一键启用或停用。分类记在来源里,不移动文件。
|
|
29
|
+
- **区分全局与项目**:项目页在顶部下拉选择已登记工作区,下方按来源显示该工作区的技能,列表样式与全局技能一致;同名技能优先使用项目副本。
|
|
30
30
|
- **复用已有技能**:支持 Codex、Claude Code、Copilot 等常见 Agent,启停不会修改它们的源文件。
|
|
31
|
-
- **创建与导入**:新建技能,或导入 ZIP、技能文件夹和 `SKILL.md
|
|
31
|
+
- **创建与导入**:新建技能,或导入 ZIP、技能文件夹和 `SKILL.md`,保存到用户目录(默认)或已登记工作区。用户目录支持 DSH skills 与 Shared Agent。
|
|
32
32
|
- **回收与恢复**:删除 DSH 技能后先进入回收站,误删可找回。
|
|
33
33
|
- **技能仓库**:添加公开 GitHub 仓库,按来源折叠浏览、搜索、查看详情并逐项安装;同名不覆盖,刷新不自动更新本地。
|
|
34
34
|
|
|
@@ -71,7 +71,7 @@ dsh plugin --profile web add @michengai/dsh-skills-manager@latest --registry=htt
|
|
|
71
71
|
|
|
72
72
|
安装后重启 DSH 并刷新页面,打开「设置 → 技能」即可使用。更新时可点击「检查更新」,或重新执行安装命令。
|
|
73
73
|
|
|
74
|
-
- `1.1.
|
|
74
|
+
- `1.1.16` 已验证兼容 DeepSeek Harness `0.1.2-rc.1`、`0.1.5-rc.1`、`0.1.5-rc.2`、`0.1.5-rc.3`、`0.1.7-rc.1`、`0.1.7-rc.2`、`0.2.0-rc.1`、`0.2.0-rc.2`。
|
|
75
75
|
|
|
76
76
|
## 使用说明
|
|
77
77
|
|
|
@@ -80,28 +80,28 @@ dsh plugin --profile web add @michengai/dsh-skills-manager@latest --registry=htt
|
|
|
80
80
|
| 查找技能 | 选择全局或项目页签,展开来源分组,或使用搜索和筛选。 |
|
|
81
81
|
| 查看内容 | 点击「查看详情」,阅读技能正文及来源信息。 |
|
|
82
82
|
| 控制启停 | 切换技能开关;只影响 DSH,不改动源文件。 |
|
|
83
|
-
| 添加技能 |
|
|
84
|
-
| 从仓库安装 | 打开「技能仓库 → 添加仓库」,填写公开 GitHub
|
|
85
|
-
| 卸载仓库技能 |
|
|
83
|
+
| 添加技能 | 点击「创建技能」或「导入技能」,左侧下拉选择「用户目录」(默认)或「指定工作区」,右侧下拉选择位置或已登记工作区,并核对下方路径。工作区副本会写进该项目的 `.dsh/skills`,可能被提交到仓库。 |
|
|
84
|
+
| 从仓库安装 | 打开「技能仓库 → 添加仓库」,填写公开 GitHub 地址,扫描后点击「安装」,使用同一组并排下拉选择范围及位置或工作区,核对下方实际路径并确认。 |
|
|
85
|
+
| 卸载仓库技能 | 点击红色「卸载」并确认。已登记工作区里的副本也同样可以卸载。已安装的文件夹及本地修改移入「回收站」,随后可以重新安装。 |
|
|
86
86
|
| 更新仓库技能 | 点击「刷新并检查更新」,再「查看更新」预览文件差异,确认备份后更新。 |
|
|
87
87
|
| 恢复更新前版本 | 对有备份的技能点击「恢复上一版」,预览并确认。 |
|
|
88
|
-
| 找回误删 |
|
|
88
|
+
| 找回误删 | 打开「回收站」恢复。 |
|
|
89
89
|
|
|
90
|
-
-
|
|
90
|
+
- **按已登记工作区查看**:项目页顶部下拉列出 DSH 里已登记的工作区,选中后只读取并显示这一项的技能,搜索也只针对所选工作区。Git 仓库使用最近的 Git 根目录;普通文件夹使用工作区目录,无需 `git init`。没有技能的工作区也可选择,失效目录不可选。
|
|
91
91
|
- **同名技能独立启停**:停用项目副本后,其他已启用副本仍可接管,页面会提示实际来源。要完全关闭该技能,需停用全部副本。
|
|
92
|
-
- **文件管理范围**:DSH 来源的技能可从管理页移入回收站;从仓库安装到 DSH
|
|
92
|
+
- **文件管理范围**:DSH 来源的技能可从管理页移入回收站;从仓库安装到 DSH、公共 Agent 或已登记工作区的副本也可从「技能仓库」卸载。Codex、Claude 等其他外部技能仍只读。创建、文件导入和仓库安装可以写入用户目录下的 DSH skills 或公共 Agent(Shared Agent),也可以写入某个已登记工作区的 `.dsh/skills`。创建、导入和安装时,工作区不会被预先选中,也不能选 Shared Agent;项目页的只读查看选择不作为写入目标。
|
|
93
93
|
- **恢复**:已卸载副本的仓库来源绑定到具体回收站条目;仅显式恢复后重新启用来源、安装位置和更新/恢复历史。其他同名技能不会继承仓库管理权限。卸载公共 Agent 副本会影响使用该目录的所有 Agent。
|
|
94
94
|
|
|
95
95
|
### 仓库使用边界
|
|
96
96
|
|
|
97
97
|
- 标题区「检查更新」更新插件自身;仓库区「刷新并检查更新」检查技能内容,不自动安装或替换。刷新时显示当前仓库、数量和动画。
|
|
98
|
-
-
|
|
98
|
+
- 仓库安装可以写入用户目录下的 DSH skills 或公共 Agent(`~/.agents/skills`,可用 `DSH_AGENTS_HOME` 覆盖),也可以写入已登记工作区的 `<项目根>/.dsh/skills`。选择器显示实际配置路径,并禁用不安全路径;缺少的目录仅在确认安装后创建。不能安装到 Codex、Claude 等其他 Agent 目录,也不允许任意路径、未登记项目目录或插件托管缓存写入。旧安装记录未指定位置时默认使用 DSH;更新与恢复上一版沿用记录的位置。仅支持公开 GitHub,不提供私有凭证或自动更新。移除订阅保留已安装技能。
|
|
99
99
|
- 归档上限 32 MiB,指定子目录也需下载整库。扫描失败保留上次目录;缓存损坏时重新刷新。
|
|
100
100
|
- 更新前检测本地修改,覆盖必须明确确认;历史备份不自动清理,磁盘用量会增加。
|
|
101
101
|
|
|
102
102
|
## 支持的 Agent 目录
|
|
103
103
|
|
|
104
|
-
`~` 表示用户主目录,`<project>`
|
|
104
|
+
`~` 表示用户主目录,`<project>` 表示已登记工作区的项目根。表中为默认路径;设置了对应 DSH 目录变量时,以配置为准。
|
|
105
105
|
|
|
106
106
|
| 来源 | 全局目录 | 项目目录 |
|
|
107
107
|
| --- | --- | --- |
|
|
@@ -124,9 +124,8 @@ dsh plugin --profile web add @michengai/dsh-skills-manager@latest --registry=htt
|
|
|
124
124
|
| Qoder | `~/.qoder/skills` | `<project>/.qoder/skills` |
|
|
125
125
|
| Qoder CN CLI | `~/.qoder-cn/skills` | — |
|
|
126
126
|
| Qoder CN | `~/.lingma/skills` | `<project>/.lingma/skills` |
|
|
127
|
-
| 项目 Skills | — | `<project>/skills` |
|
|
128
127
|
|
|
129
|
-
|
|
128
|
+
不扫描普通项目根目录的 `<project>/skills`,避免把仓库的发布资源当作 Agent 技能。OpenClaw / Clawdbot 仅保留上表中的用户级来源。Qoder CN CLI 的项目技能在 `<project>/.qoder/skills`,显示为 Qoder。Qoder CN IDE 使用 Lingma 目录。不存在的外部来源目录不会显示。
|
|
130
129
|
|
|
131
130
|
## DSH 产品生态
|
|
132
131
|
|