dsh-skill-harbor 0.5.3 → 0.5.4

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/LICENSE CHANGED
@@ -1,21 +1,21 @@
1
- MIT License
2
-
3
- Copyright (c) 2026 drscrewdriver
4
-
5
- Permission is hereby granted, free of charge, to any person obtaining a copy
6
- of this software and associated documentation files (the "Software"), to deal
7
- in the Software without restriction, including without limitation the rights
8
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
- copies of the Software, and to permit persons to whom the Software is
10
- furnished to do so, subject to the following conditions:
11
-
12
- The above copyright notice and this permission notice shall be included in all
13
- copies or substantial portions of the Software.
14
-
15
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
- SOFTWARE.
1
+ MIT License
2
+
3
+ Copyright (c) 2026 drscrewdriver
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md CHANGED
@@ -1,44 +1,44 @@
1
- # dsh-skill-harbor(技能港湾)
2
-
3
- [![npm](https://img.shields.io/npm/v/dsh-skill-harbor)](https://www.npmjs.com/package/dsh-skill-harbor)
4
-
5
- DSH 技能管理面板插件:**技能发现 / 遮蔽判定 / 审计 / 市场管理**。
6
-
7
- > 当前版本 `0.0.1` = **基础骨架**(宿主半 + 客户端半 + 清单 + 构建脚本),业务逻辑按计划分阶段落地。
8
-
9
- ## 安装
10
-
11
- ```bash
12
- dsh plugin --profile <name> add dsh-skill-harbor@0.0.1
13
- ```
14
-
15
- ## 版本线
16
-
17
- | 版本 | 内容 | 状态 |
18
- |---|---|---|
19
- | `0.0.1` | 基础骨架 | ✅ 已发布 |
20
- | `0.1.0` | Phase 1 证据层(根枚举 / frontmatter / observe / shadow / provider) | 规划中 |
21
- | `0.2.0` | Phase 2 本地管理(路由闸 / 列表 / 写 / 导入) | 规划中 |
22
- | `0.3.0` | Phase 3 预算与审计 = **MVP** | 规划中 |
23
- | `0.4.0` | Phase 4 市场(不进 MVP) | 规划中 |
24
-
25
- 发布粒度:每 Phase 一个中版本,每 task 一次 rc。完整 26 个版本节点的拆解见 `docs/plans/dsh-skill-harbor/tasks.md`。
26
-
27
- ## 结构
28
-
29
- ```
30
- src/index.js 宿主半(apply(ctx, config))
31
- src/client.js 客户端半(__ModuleLoader__ 注册,id = 包名)
32
- scripts/build.mjs 零依赖构建 → lib/
33
- cordis.patch.yml bundle patch(dsh plugin add 自动挂载)
34
- dsh.plugin.json DSH 插件清单
35
- docs/plans/ 规划文档(spec / tasks / checklist / findings)
36
- ```
37
-
38
- ## 背景
39
-
40
- DSH 官方没有技能管理界面,且 `packages/bundle/web-app/cordis.patch.yml` 把 `skill-filesystem` / `tool-skill` 在 host 层设为 `disabled: true`,技能发现被下放到 preset(agent scope)层——host 面的 `ctx.skills` 读不到项目/用户技能。本插件要回答:**这个技能到底在哪、谁在遮蔽谁、模型收没收到。**
41
-
42
- ## License
43
-
44
- MIT
1
+ # dsh-skill-harbor(技能港湾)
2
+
3
+ [![npm](https://img.shields.io/npm/v/dsh-skill-harbor)](https://www.npmjs.com/package/dsh-skill-harbor)
4
+
5
+ DSH 技能管理面板插件:**技能发现 / 遮蔽判定 / 审计 / 市场管理**。
6
+
7
+ > 当前版本 `0.0.1` = **基础骨架**(宿主半 + 客户端半 + 清单 + 构建脚本),业务逻辑按计划分阶段落地。
8
+
9
+ ## 安装
10
+
11
+ ```bash
12
+ dsh plugin --profile <name> add dsh-skill-harbor@0.0.1
13
+ ```
14
+
15
+ ## 版本线
16
+
17
+ | 版本 | 内容 | 状态 |
18
+ |---|---|---|
19
+ | `0.0.1` | 基础骨架 | ✅ 已发布 |
20
+ | `0.1.0` | Phase 1 证据层(根枚举 / frontmatter / observe / shadow / provider) | 规划中 |
21
+ | `0.2.0` | Phase 2 本地管理(路由闸 / 列表 / 写 / 导入) | 规划中 |
22
+ | `0.3.0` | Phase 3 预算与审计 = **MVP** | 规划中 |
23
+ | `0.4.0` | Phase 4 市场(不进 MVP) | 规划中 |
24
+
25
+ 发布粒度:每 Phase 一个中版本,每 task 一次 rc。完整 26 个版本节点的拆解见 `docs/plans/dsh-skill-harbor/tasks.md`。
26
+
27
+ ## 结构
28
+
29
+ ```
30
+ src/index.js 宿主半(apply(ctx, config))
31
+ src/client.js 客户端半(__ModuleLoader__ 注册,id = 包名)
32
+ scripts/build.mjs 零依赖构建 → lib/
33
+ cordis.patch.yml bundle patch(dsh plugin add 自动挂载)
34
+ dsh.plugin.json DSH 插件清单
35
+ docs/plans/ 规划文档(spec / tasks / checklist / findings)
36
+ ```
37
+
38
+ ## 背景
39
+
40
+ DSH 官方没有技能管理界面,且 `packages/bundle/web-app/cordis.patch.yml` 把 `skill-filesystem` / `tool-skill` 在 host 层设为 `disabled: true`,技能发现被下放到 preset(agent scope)层——host 面的 `ctx.skills` 读不到项目/用户技能。本插件要回答:**这个技能到底在哪、谁在遮蔽谁、模型收没收到。**
41
+
42
+ ## License
43
+
44
+ MIT
package/cordis.patch.yml CHANGED
@@ -1,4 +1,4 @@
1
- # dsh-skill-harbor bundle patch — mounts the plugin via the official CLI.
2
- - insert:
3
- - id: dsh-skill-harbor
4
- name: 'dsh-skill-harbor'
1
+ # dsh-skill-harbor bundle patch — mounts the plugin via the official CLI.
2
+ - insert:
3
+ - id: dsh-skill-harbor
4
+ name: 'dsh-skill-harbor'
package/dsh.plugin.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "id": "dsh-external/dsh-skill-harbor",
3
- "version": "0.5.3",
3
+ "version": "0.5.4",
4
4
  "main": "./lib/index.js",
5
5
  "description": "技能港湾:技能发现、遮蔽判定、审计与市场管理(基础骨架)",
6
6
  "engines": {