@michengai/dsh-skills-manager 0.1.0 → 0.1.1
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/README.md +25 -16
- package/README.zh-CN.md +25 -16
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -5,11 +5,12 @@
|
|
|
5
5
|
<h1 align="center">DSH Skills Manager</h1>
|
|
6
6
|
|
|
7
7
|
<p align="center">
|
|
8
|
-
<strong>
|
|
8
|
+
<strong>An npm-installable DeepSeek Harness Web plugin for managing local skills safely.</strong>
|
|
9
9
|
</p>
|
|
10
10
|
|
|
11
11
|
<p align="center">
|
|
12
12
|
<a href="https://github.com/MichengAI/dsh-skills-manager/issues">Report an issue</a>
|
|
13
|
+
· <a href="https://www.npmjs.com/package/@michengai/dsh-skills-manager">View on npm</a>
|
|
13
14
|
</p>
|
|
14
15
|
|
|
15
16
|
<p align="center">
|
|
@@ -18,6 +19,7 @@
|
|
|
18
19
|
|
|
19
20
|
<p align="center">
|
|
20
21
|
<a href="LICENSE"><img src="https://img.shields.io/badge/license-Apache--2.0-blue.svg" alt="Apache License 2.0"></a>
|
|
22
|
+
<a href="https://www.npmjs.com/package/@michengai/dsh-skills-manager"><img src="https://img.shields.io/npm/v/%40michengai/dsh-skills-manager?label=npm" alt="npm package"></a>
|
|
21
23
|
<img src="https://img.shields.io/badge/DSH-Web%20Plugin-10b981" alt="DSH Web Plugin">
|
|
22
24
|
<img src="https://img.shields.io/badge/Node.js-%E2%89%A520-339933?logo=nodedotjs&logoColor=white" alt="Node.js 20 or later">
|
|
23
25
|
</p>
|
|
@@ -48,11 +50,11 @@
|
|
|
48
50
|
|
|
49
51
|
The shared Agent directory is intentionally read-only in both the interface and the server API.
|
|
50
52
|
|
|
51
|
-
##
|
|
53
|
+
## Quick start
|
|
52
54
|
|
|
53
|
-
|
|
55
|
+
You need a working DeepSeek Harness Web installation. Do not run `npm install` in an arbitrary directory: install the plugin into the DSH Web profile instead.
|
|
54
56
|
|
|
55
|
-
|
|
57
|
+
1. Run:
|
|
56
58
|
|
|
57
59
|
```powershell
|
|
58
60
|
[Console]::OutputEncoding = [System.Text.Encoding]::UTF8
|
|
@@ -60,16 +62,23 @@ $OutputEncoding = [System.Text.Encoding]::UTF8
|
|
|
60
62
|
dsh plugin --profile web add @michengai/dsh-skills-manager
|
|
61
63
|
```
|
|
62
64
|
|
|
63
|
-
|
|
65
|
+
2. Restart DSH or reload the active Web profile.
|
|
66
|
+
3. Open **Settings → Skills**. No source checkout is required.
|
|
64
67
|
|
|
65
|
-
|
|
68
|
+
If a package mirror has not synchronized the latest version yet, append `--registry=https://registry.npmjs.org/` to the install command.
|
|
66
69
|
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
70
|
+
## Use the Skills panel
|
|
71
|
+
|
|
72
|
+
| Goal | What to do | Scope |
|
|
73
|
+
| --- | --- | --- |
|
|
74
|
+
| Check a skill | Open **Settings → Skills** to see its name, form, description, and invocation status. | DSH and shared Agent skills |
|
|
75
|
+
| Enable or disable | Choose **Enable** or **Disable**. This changes model invocation and the `/` manual command without rewriting other `SKILL.md` metadata. | DSH skills only |
|
|
76
|
+
| Upload a plugin | Choose **Upload Plugin**, then select the plugin directory's `SKILL.md`. DSH copies the complete directory, including scripts and resources. | DSH skills only |
|
|
77
|
+
| Select a directory instead | If the selected file has no usable path, choose **Choose Plugin Directory** and select the directory that contains `SKILL.md`. | DSH skills only |
|
|
78
|
+
| Replace or delete | Confirm a same-name replacement; use **Delete** for a DSH-local skill you no longer need. | DSH skills only |
|
|
79
|
+
| Inspect shared skills | Review shared Agent skills without changing their metadata. | Read-only |
|
|
80
|
+
|
|
81
|
+
Press **Escape** to close only the frontmost upload or confirmation dialog; the Settings page remains open.
|
|
73
82
|
|
|
74
83
|
## Development and verification
|
|
75
84
|
|
|
@@ -83,18 +92,18 @@ node test\core-test.mjs
|
|
|
83
92
|
|
|
84
93
|
Project status, usage boundaries, architecture, and iteration records start at the [documentation entry point](https://github.com/MichengAI/dsh-skills-manager/blob/master/docs/00-%E4%BA%A4%E6%8E%A5%E5%85%A5%E5%8F%A3/00-%E9%98%85%E8%AF%BB%E5%AF%BC%E8%88%AA.md). The Chinese operational guide is available at `docs\02-产品与业务\01-使用说明.md` in the repository.
|
|
85
94
|
|
|
86
|
-
##
|
|
95
|
+
## Maintainer release
|
|
87
96
|
|
|
88
|
-
The
|
|
97
|
+
The package is published as [`@michengai/dsh-skills-manager`](https://www.npmjs.com/package/@michengai/dsh-skills-manager). To release a new version:
|
|
89
98
|
|
|
90
99
|
```powershell
|
|
91
100
|
[Console]::OutputEncoding = [System.Text.Encoding]::UTF8
|
|
92
101
|
$OutputEncoding = [System.Text.Encoding]::UTF8
|
|
93
|
-
npm
|
|
102
|
+
npm version patch
|
|
94
103
|
npm publish
|
|
95
104
|
```
|
|
96
105
|
|
|
97
|
-
`prepublishOnly` runs the core test suite before publication
|
|
106
|
+
`prepublishOnly` runs the core test suite before publication. The package always publishes to the official npm registry; use `npm run pack:check` to inspect the tarball first.
|
|
98
107
|
|
|
99
108
|
## License
|
|
100
109
|
|
package/README.zh-CN.md
CHANGED
|
@@ -5,11 +5,12 @@
|
|
|
5
5
|
<h1 align="center">DSH Skills Manager</h1>
|
|
6
6
|
|
|
7
7
|
<p align="center">
|
|
8
|
-
<strong
|
|
8
|
+
<strong>通过 npm 安装的 DeepSeek Harness Web 插件,用于安全管理本地技能。</strong>
|
|
9
9
|
</p>
|
|
10
10
|
|
|
11
11
|
<p align="center">
|
|
12
12
|
<a href="https://github.com/MichengAI/dsh-skills-manager/issues">反馈问题</a>
|
|
13
|
+
· <a href="https://www.npmjs.com/package/@michengai/dsh-skills-manager">在 npm 查看</a>
|
|
13
14
|
</p>
|
|
14
15
|
|
|
15
16
|
<p align="center">
|
|
@@ -18,6 +19,7 @@
|
|
|
18
19
|
|
|
19
20
|
<p align="center">
|
|
20
21
|
<a href="LICENSE"><img src="https://img.shields.io/badge/license-Apache--2.0-blue.svg" alt="Apache License 2.0"></a>
|
|
22
|
+
<a href="https://www.npmjs.com/package/@michengai/dsh-skills-manager"><img src="https://img.shields.io/npm/v/%40michengai/dsh-skills-manager?label=npm" alt="npm 包"></a>
|
|
21
23
|
<img src="https://img.shields.io/badge/DSH-Web%20Plugin-10b981" alt="DSH Web Plugin">
|
|
22
24
|
<img src="https://img.shields.io/badge/Node.js-%E2%89%A520-339933?logo=nodedotjs&logoColor=white" alt="Node.js 20 或更高版本">
|
|
23
25
|
</p>
|
|
@@ -48,11 +50,11 @@
|
|
|
48
50
|
|
|
49
51
|
公共 Agent 目录在界面和服务端均为只读,用于避免误改共享的全局技能元数据。
|
|
50
52
|
|
|
51
|
-
##
|
|
53
|
+
## 快速开始
|
|
52
54
|
|
|
53
|
-
环境要求:可正常运行的 DeepSeek Harness Web
|
|
55
|
+
环境要求:可正常运行的 DeepSeek Harness Web 环境。不要在任意目录执行 `npm install`;应将插件安装到 DSH Web profile。
|
|
54
56
|
|
|
55
|
-
|
|
57
|
+
1. 执行:
|
|
56
58
|
|
|
57
59
|
```powershell
|
|
58
60
|
[Console]::OutputEncoding = [System.Text.Encoding]::UTF8
|
|
@@ -60,16 +62,23 @@ $OutputEncoding = [System.Text.Encoding]::UTF8
|
|
|
60
62
|
dsh plugin --profile web add @michengai/dsh-skills-manager
|
|
61
63
|
```
|
|
62
64
|
|
|
63
|
-
|
|
65
|
+
2. 重启 DSH 或重新加载当前 Web profile。
|
|
66
|
+
3. 打开「设置 → 技能」。无需下载源码。
|
|
64
67
|
|
|
65
|
-
|
|
68
|
+
若软件源镜像尚未同步最新版本,可在安装命令末尾添加 `--registry=https://registry.npmjs.org/`。
|
|
66
69
|
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
70
|
+
## 使用技能面板
|
|
71
|
+
|
|
72
|
+
| 目标 | 操作 | 范围 |
|
|
73
|
+
| --- | --- | --- |
|
|
74
|
+
| 查看技能 | 打开「设置 → 技能」,查看名称、形态、说明和调用状态。 | DSH 与公共 Agent 技能 |
|
|
75
|
+
| 启用或停用 | 点击「启用」或「停用」。它会同步控制模型调用和 `/` 手动命令,不会改写 `SKILL.md` 的其他元数据。 | 仅 DSH 技能 |
|
|
76
|
+
| 上传插件 | 点击「上传插件」,选择插件目录内的 `SKILL.md`。DSH 会复制完整目录,包括脚本和资源。 | 仅 DSH 技能 |
|
|
77
|
+
| 改选插件目录 | 若所选文件没有可用路径,点击「选择插件文件夹」,并选择包含 `SKILL.md` 的目录。 | 仅 DSH 技能 |
|
|
78
|
+
| 覆盖或删除 | 同名时按提示确认覆盖;使用「删除」移除不再需要的 DSH 本地技能。 | 仅 DSH 技能 |
|
|
79
|
+
| 查看公共技能 | 查看公共 Agent 技能,不修改其元数据。 | 只读 |
|
|
80
|
+
|
|
81
|
+
按 ESC 只关闭最上层上传框或确认框,设置页保持打开。
|
|
73
82
|
|
|
74
83
|
## 开发与验证
|
|
75
84
|
|
|
@@ -83,18 +92,18 @@ node test\core-test.mjs
|
|
|
83
92
|
|
|
84
93
|
项目状态、使用边界、技术架构和迭代记录从[文档交接入口](https://github.com/MichengAI/dsh-skills-manager/blob/master/docs/00-%E4%BA%A4%E6%8E%A5%E5%85%A5%E5%8F%A3/00-%E9%98%85%E8%AF%BB%E5%AF%BC%E8%88%AA.md)开始;详细操作说明见仓库中的 `docs\02-产品与业务\01-使用说明.md`。
|
|
85
94
|
|
|
86
|
-
##
|
|
95
|
+
## 维护者发布
|
|
87
96
|
|
|
88
|
-
|
|
97
|
+
本包已发布为 [`@michengai/dsh-skills-manager`](https://www.npmjs.com/package/@michengai/dsh-skills-manager)。发布新版本时执行:
|
|
89
98
|
|
|
90
99
|
```powershell
|
|
91
100
|
[Console]::OutputEncoding = [System.Text.Encoding]::UTF8
|
|
92
101
|
$OutputEncoding = [System.Text.Encoding]::UTF8
|
|
93
|
-
npm
|
|
102
|
+
npm version patch
|
|
94
103
|
npm publish
|
|
95
104
|
```
|
|
96
105
|
|
|
97
|
-
发布前会由 `prepublishOnly`
|
|
106
|
+
发布前会由 `prepublishOnly` 自动运行核心测试。包始终发布到官方 npm registry;可先执行 `npm run pack:check` 检查 tarball 内容。
|
|
98
107
|
|
|
99
108
|
## 许可证
|
|
100
109
|
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@michengai/dsh-skills-manager",
|
|
3
|
-
"version": "0.1.
|
|
4
|
-
"description": "DSH Web plugin
|
|
3
|
+
"version": "0.1.1",
|
|
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": {
|
|
7
7
|
"type": "git",
|