@weibaohui/skills-management 0.1.0
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 +79 -0
- package/client/bundle.js +1380 -0
- package/client/components/skills/helpers.ts +108 -0
- package/client/hooks/index.ts +10 -0
- package/client/hooks/useSkillCatalog.ts +201 -0
- package/client/hooks/useSkillDetail.ts +89 -0
- package/client/hooks/useSkillInstall.ts +74 -0
- package/client/index.js +1366 -0
- package/cordis.patch.yml +12 -0
- package/package.json +61 -0
- package/src/index.js +1073 -0
package/cordis.patch.yml
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
# dsh-plugin-skills-management bundle patch: contributes the plugin row into the host
|
|
2
|
+
# composition when this package is installed via `dsh plugin add`.
|
|
3
|
+
#
|
|
4
|
+
# The plugin is HOST-PLANE: it registers a skill provider on the host
|
|
5
|
+
# `skills` registry and serves its HTTP API over a webServer route, and its
|
|
6
|
+
# client half registers a full-page management surface plus a settings page.
|
|
7
|
+
# It must therefore land in the host composition (this insert), never inside
|
|
8
|
+
# an agent preset.
|
|
9
|
+
|
|
10
|
+
- insert:
|
|
11
|
+
- id: skills-management
|
|
12
|
+
name: '@weibaohui/skills-management'
|
package/package.json
ADDED
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@weibaohui/skills-management",
|
|
3
|
+
"version": "0.1.0",
|
|
4
|
+
"description": "DeepSeek Harness plugin: ntd skill marketplace — reads the ntd bundled skill collection, registers every skill on the dsh SkillRegistry (callable through the skill tool), and serves install/delete/detail APIs plus a management page (market browse + installed library).",
|
|
5
|
+
"license": "MIT",
|
|
6
|
+
"keywords": [
|
|
7
|
+
"dsh",
|
|
8
|
+
"deepseek-harness",
|
|
9
|
+
"cordis",
|
|
10
|
+
"plugin",
|
|
11
|
+
"skills",
|
|
12
|
+
"marketplace",
|
|
13
|
+
"ntd",
|
|
14
|
+
"dsh-plugin"
|
|
15
|
+
],
|
|
16
|
+
"main": "src/index.js",
|
|
17
|
+
"exports": {
|
|
18
|
+
".": "./src/index.js",
|
|
19
|
+
"./client": "./client/bundle.js",
|
|
20
|
+
"./package.json": "./package.json"
|
|
21
|
+
},
|
|
22
|
+
"dsh": {
|
|
23
|
+
"bundle": {
|
|
24
|
+
"patch": "./cordis.patch.yml"
|
|
25
|
+
},
|
|
26
|
+
"client": {
|
|
27
|
+
"platform": "web"
|
|
28
|
+
}
|
|
29
|
+
},
|
|
30
|
+
"files": [
|
|
31
|
+
"src",
|
|
32
|
+
"client",
|
|
33
|
+
"cordis.patch.yml"
|
|
34
|
+
],
|
|
35
|
+
"scripts": {
|
|
36
|
+
"check": "node --check src/index.js && node --check client/index.js",
|
|
37
|
+
"test": "node --test test/*.test.mjs",
|
|
38
|
+
"build:client": "node scripts/build-client.mjs",
|
|
39
|
+
"prepublishOnly": "npm run build:client && npm run check && npm test"
|
|
40
|
+
},
|
|
41
|
+
"engines": {
|
|
42
|
+
"node": ">=22.5"
|
|
43
|
+
},
|
|
44
|
+
"dependencies": {
|
|
45
|
+
"yaml": "^2.9.0"
|
|
46
|
+
},
|
|
47
|
+
"devDependencies": {
|
|
48
|
+
"@deepseek-ai/schemastery": "^3.18.1"
|
|
49
|
+
},
|
|
50
|
+
"repository": {
|
|
51
|
+
"type": "git",
|
|
52
|
+
"url": "git+https://github.com/weibaohui/skills-management.git"
|
|
53
|
+
},
|
|
54
|
+
"homepage": "https://github.com/weibaohui/skills-management#readme",
|
|
55
|
+
"bugs": {
|
|
56
|
+
"url": "https://github.com/weibaohui/skills-management/issues"
|
|
57
|
+
},
|
|
58
|
+
"publishConfig": {
|
|
59
|
+
"access": "public"
|
|
60
|
+
}
|
|
61
|
+
}
|