@michengai/dsh-skills-manager 1.1.13 → 1.1.15

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
@@ -2,7 +2,24 @@
2
2
 
3
3
  [简体中文](CHANGELOG.zh-CN.md)
4
4
 
5
- ## Unreleased
5
+ ## 1.1.15 - 2026-10-11
6
+
7
+ - Managing, restoring, or removing a project skill now stops if that workspace is no longer registered, or if the project root has changed. It does not write to another project.
8
+ - The same repository skill can be installed in more than one place. Update, roll back, and uninstall apply only to the copy you select.
9
+ - Unavailable destinations, repository errors, and dates follow the language and region selected in DSH. The chat card for a failed skill creation no longer appends the Chinese error text.
10
+ - The project tab no longer shows the global skill totals or source filter. Those numbers only cover the current session, so they were always zero there. Search on that tab says it only covers workspaces you have expanded.
11
+ - A repository skill that only conflicts with a local copy shows Name conflict and cannot be installed over it.
12
+ - Creating or importing a skill is disabled when the selected user location is unavailable, same as repository install.
13
+ - Restoring a project skill from Trash reports that the workspace is no longer registered, instead of saying it is not the active session.
14
+ - Installing a repository skill refreshes project workspaces you already expanded.
15
+ - Disk errors keep the full message. An unknown code is shown by itself only when the server did not include a sentence.
16
+
17
+ - Trash entries now use lightly bordered cards with separate deletion time and source metadata. Actions wrap on narrow panels and follow the host theme; restore and permanent deletion behavior is unchanged.
18
+
19
+ - Creating and importing can now also write to Shared Agent, matching repository installs. Codex, Claude and other agent directories stay read-only.
20
+ - Creating, importing and installing from a repository can now target a registered workspace as well as your user directory. A workspace copy goes to that project's `.dsh/skills`. The user directory stays the default, no workspace is preselected, and the dialog warns that project files may be committed. Scope and the secondary dropdown sit side by side in equal-width columns and fill their columns: choose a location for the user directory or a workspace for workspace scope. Workspace names include paths only when needed to distinguish duplicates; the destination path is shown in a separate bordered box below.
21
+ - The project tab now lists every registered workspace, collapsed by default, instead of following the current session. Skills are scanned when you expand a workspace. Toggle, details, trash and restore work per workspace.
22
+ - Closes #27.
6
23
 
7
24
  ## 1.1.13 - 2026-10-07
8
25
 
@@ -2,7 +2,24 @@
2
2
 
3
3
  [English](CHANGELOG.md)
4
4
 
5
- ## 未发布
5
+ ## 1.1.15 - 2026-10-11
6
+
7
+ - 管理、恢复或移除项目技能时,如果该工作区已取消登记,或项目根目录已经变化,操作会停止,不会写到别的项目。
8
+ - 同一个仓库技能可以安装到多个位置。更新、回滚和卸载只作用于你选中的那一份。
9
+ - 不可用位置的原因、仓库错误和日期,跟随 DSH 里选择的语言与区域。对话里的创建失败卡片不再附带中文错误原文。
10
+ - 项目页不再显示全局统计和来源筛选。那些数字只统计当前会话,在项目页会一直是 0。项目页搜索会说明只覆盖已经展开的工作区。
11
+ - 仓库技能如果只是和本地同名冲突,会显示「同名冲突」,不能直接覆盖安装。
12
+ - 所选用户位置不可用时,创建和导入会禁用,与仓库安装一致。
13
+ - 从回收站恢复项目技能时,如果原工作区已取消登记,会提示重新登记,而不是说它不在当前会话里。
14
+ - 仓库安装完成后,已经展开的项目工作区会重新读取。
15
+ - 磁盘错误会保留完整说明。只有服务端没有附带说明时,才会只显示错误码。
16
+
17
+ - 回收站条目增加轻量卡片层次,删除时间与来源分开显示;窄面板下操作按钮自动换行,深浅主题沿用宿主配色。恢复与永久删除逻辑保持不变。
18
+
19
+ - 创建和导入也可以写入公共 Agent(Shared Agent),与仓库安装一致。Codex、Claude 等其他 Agent 目录仍然只读。
20
+ - 创建、导入和从仓库安装技能时,除了用户目录,也可以选择某个已登记的工作区。工作区副本会写进该项目的 `.dsh/skills`。默认仍是用户目录,不会预先选中工作区,并提示项目文件可能被提交到仓库。范围与二级选择器以等宽下拉并排显示,控件铺满各自列:用户目录下右侧选择位置,指定工作区下右侧选择工作区。工作区通常只显示名称,重名时附路径区分;实际写入路径保留在下方独立路径框内。
21
+ - 项目页改为列出所有已登记的工作区,默认折叠,不再跟随当前会话。展开某个工作区时才扫描技能,启停、详情、回收站和恢复都按工作区进行。
22
+ - 关闭 #27。
6
23
 
7
24
  ## 1.1.13 - 2026-10-07
8
25
 
package/README.md CHANGED
@@ -19,7 +19,7 @@
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.13**. See the [changelog](CHANGELOG.md) and [release notes](https://github.com/MichengAI/dsh-skills-manager/releases/latest).
22
+ This README describes **1.1.15**. Released changes are in the [changelog](CHANGELOG.md).
23
23
 
24
24
  ## Features
25
25
 
@@ -27,9 +27,9 @@ This README describes **1.1.13**. See the [changelog](CHANGELOG.md) and [release
27
27
  Bring skills from your computer and projects into DSH without switching between Agent folders.
28
28
 
29
29
  - **Manage in one place**: browse collapsible source groups, search, read, and toggle skills.
30
- - **Global and project skills**: the project tab follows the current session, with project copies taking priority over global copies.
30
+ - **Global and project skills**: the project tab lists every registered workspace, collapsed by default. 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 global DSH.
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.13` 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`.
74
+ - Plugin `1.1.15` 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 into global DSH**. |
84
- | Install from a repository | Open **Repositories → Add repository**, enter a public GitHub URL, scan, click **Install**, choose **DSH skills** or **Shared Agent**, check its actual path, and confirm. |
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. For project skills, return to a session in the original project first. |
88
+ | Recover a deletion | Open **Trash** and restore. |
89
89
 
90
- - **Current project only**: Git repositories use the nearest Git root. Other folders use the current session working directory; no `git init` required.
90
+ - **Registered workspaces**: the project tab lists the workspaces registered in DSH. Git repositories use the nearest Git root; other folders use the workspace directory, so no `git init` is required. Skills are scanned only when you expand a workspace.
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 or Shared Agent can also be uninstalled from **Repositories**. Codex, Claude and other external skills remain read-only. Creation and file import still save to global 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`. A workspace is never preselected, and Shared Agent is not available for workspaces.
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 only to global DSH or Shared Agent (`~/.agents/skills`, overridable with `DSH_AGENTS_HOME`). 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, 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.
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 current session project root. These are default paths; configured DSH directory variables take precedence.
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
  | --- | --- | --- |
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
- 本文对应 **1.1.13**。完整变更见[更新日志](CHANGELOG.zh-CN.md)与[最新发行说明](https://github.com/MichengAI/dsh-skills-manager/releases/latest)。
22
+ 本文描述 **1.1.15**。已发布变更见[更新日志](CHANGELOG.zh-CN.md)。
23
23
 
24
24
  ## 功能概览
25
25
 
26
26
  把散落在本机和项目中的技能集中到 DSH,无需在多个 Agent 目录间来回查找。
27
27
 
28
28
  - **统一管理**:按来源分组,搜索技能、查看正文,一键启用或停用。
29
- - **区分全局与项目**:项目页跟随当前会话,同名技能优先使用项目副本。
29
+ - **区分全局与项目**:项目页列出所有已登记的工作区,默认折叠;同名技能优先使用项目副本。
30
30
  - **复用已有技能**:支持 Codex、Claude Code、Copilot 等常见 Agent,启停不会修改它们的源文件。
31
- - **创建与导入**:新建技能,或导入 ZIP、技能文件夹和 `SKILL.md`,统一保存到全局 DSH。
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.13` 已验证兼容 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`。
74
+ - `1.1.15` 已验证兼容 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
- | 添加技能 | 点击「创建技能」或「导入到全局 DSH」。 |
84
- | 从仓库安装 | 打开「技能仓库 → 添加仓库」,填写公开 GitHub 地址,扫描后点击「安装」,选择 DSH skills 或 Shared Agent(公共 Agent),核对实际路径并确认。 |
85
- | 卸载仓库技能 | 点击红色「卸载」并确认。已安装的文件夹及本地修改移入「回收站」,随后可以重新安装。 |
83
+ | 添加技能 | 点击「创建技能」或「导入技能」,左侧下拉选择「用户目录」(默认)或「指定工作区」,右侧下拉选择位置或已登记工作区,并核对下方路径。工作区副本会写进该项目的 `.dsh/skills`,可能被提交到仓库。 |
84
+ | 从仓库安装 | 打开「技能仓库 → 添加仓库」,填写公开 GitHub 地址,扫描后点击「安装」,使用同一组并排下拉选择范围及位置或工作区,核对下方实际路径并确认。 |
85
+ | 卸载仓库技能 | 点击红色「卸载」并确认。已登记工作区里的副本也同样可以卸载。已安装的文件夹及本地修改移入「回收站」,随后可以重新安装。 |
86
86
  | 更新仓库技能 | 点击「刷新并检查更新」,再「查看更新」预览文件差异,确认备份后更新。 |
87
87
  | 恢复更新前版本 | 对有备份的技能点击「恢复上一版」,预览并确认。 |
88
- | 找回误删 | 打开「回收站」恢复;项目技能需回到原项目会话后恢复。 |
88
+ | 找回误删 | 打开「回收站」恢复。 |
89
89
 
90
- - **项目只看当前会话**:Git 仓库使用最近的 Git 根目录;普通文件夹使用当前会话的工作目录,无需 `git init`。
90
+ - **按已登记工作区查看**:项目页列出 DSH 里已登记的工作区。Git 仓库使用最近的 Git 根目录;普通文件夹使用工作区目录,无需 `git init`。展开某个工作区时才扫描它的技能。
91
91
  - **同名技能独立启停**:停用项目副本后,其他已启用副本仍可接管,页面会提示实际来源。要完全关闭该技能,需停用全部副本。
92
- - **文件管理范围**:DSH 来源的技能可从管理页移入回收站;从仓库安装到 DSH 或公共 Agent 的副本也可从「技能仓库」卸载。Codex、Claude 等其他外部技能仍只读。创建与文件导入始终保存到全局 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
- - 仓库安装只能写入全局 DSH 或公共 Agent(`~/.agents/skills`,可用 `DSH_AGENTS_HOME` 覆盖)。选择器显示实际配置路径,并禁用不安全路径;缺少的目录仅在确认安装后创建。不能安装到 Codex、Claude 等其他 Agent 目录,也不允许任意路径、项目目录或插件托管缓存写入。旧安装记录未指定位置时默认使用 DSH;更新与恢复上一版沿用记录的位置。仅支持公开 GitHub,不提供私有凭证或自动更新。移除订阅保留已安装技能。
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>` 表示当前会话的项目根。表中为默认路径;设置了对应 DSH 目录变量时,以配置为准。
104
+ `~` 表示用户主目录,`<project>` 表示已登记工作区的项目根。表中为默认路径;设置了对应 DSH 目录变量时,以配置为准。
105
105
 
106
106
  | 来源 | 全局目录 | 项目目录 |
107
107
  | --- | --- | --- |