dsh-skills-studio 0.1.3 → 0.2.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/CONTRACT.md +2 -0
- package/README.md +50 -15
- package/client.js +2 -2
- package/icon.svg +1 -1
- package/package.json +11 -1
package/CONTRACT.md
CHANGED
|
@@ -116,6 +116,8 @@ when missing). Project roots need a `cwd`; without one, skip them.
|
|
|
116
116
|
## HTTP API
|
|
117
117
|
|
|
118
118
|
Prefix `/skills-studio`, JSON only, `cache-control: no-store`, body cap 1 MiB.
|
|
119
|
+
Breaking in 0.2.0: the prefix moved from `/skills-manager`; see the upgrade section in
|
|
120
|
+
[README.md](README.md#upgrading-from-01x-and-dsh-skills-manager).
|
|
119
121
|
Success envelope `{ ok: true, ... }`. Failure:
|
|
120
122
|
`{ ok: false, error: { code, message, details? } }` with status 400/404/405/413/422/409/500.
|
|
121
123
|
Validation responses additionally carry `{ errors, conflicts, warnings }` (see below).
|
package/README.md
CHANGED
|
@@ -66,13 +66,13 @@ directory; the raw evidence and harnesses are described in
|
|
|
66
66
|
dsh plugin --profile <profile> add dsh-skills-studio
|
|
67
67
|
|
|
68
68
|
# pin a version
|
|
69
|
-
dsh plugin --profile <profile> add dsh-skills-studio@0.
|
|
69
|
+
dsh plugin --profile <profile> add dsh-skills-studio@0.2.0
|
|
70
70
|
```
|
|
71
71
|
|
|
72
|
-
The project
|
|
73
|
-
the unscoped `dsh-skills-
|
|
74
|
-
|
|
75
|
-
available below.
|
|
72
|
+
The project and its npm package are both **`dsh-skills-studio`**. The old `@stijnus/...`
|
|
73
|
+
scope was retired, and the unrelated unscoped `dsh-skills-manager` package on npm belongs to
|
|
74
|
+
a third-party plugin — this project never publishes under that name. GitHub and local-link
|
|
75
|
+
installs remain available below.
|
|
76
76
|
|
|
77
77
|
### Local development (web profile, isolated)
|
|
78
78
|
|
|
@@ -90,14 +90,14 @@ Or install straight from this repository into an existing profile:
|
|
|
90
90
|
dsh plugin --profile <profile> add github:Stijnus/dsh-skills-studio
|
|
91
91
|
|
|
92
92
|
# pin a released version (recommended for stable installs) — see the Releases page
|
|
93
|
-
dsh plugin --profile <profile> add github:Stijnus/dsh-skills-studio#v0.
|
|
93
|
+
dsh plugin --profile <profile> add github:Stijnus/dsh-skills-studio#v0.2.0
|
|
94
94
|
```
|
|
95
95
|
|
|
96
|
-
Releases are tagged `vX.Y.Z` ([Releases](https://github.com/Stijnus/dsh-skills-studio/releases)).
|
|
96
|
+
Releases are tagged `vX.Y.Z` ([Releases](https://github.com/Stijnus/dsh-skills-studio/releases)). Replacing a package with a new version needs a restart, not just a profile reload; see [Upgrading from 0.1.x](#upgrading-from-01x-and-dsh-skills-manager).
|
|
97
97
|
|
|
98
|
-
> **
|
|
99
|
-
>
|
|
100
|
-
>
|
|
98
|
+
> **name note:** earlier releases used the project name `dsh-skills-manager` (the scoped
|
|
99
|
+
> `@stijnus/...` npm name was never published). The package is plain `dsh-skills-studio`;
|
|
100
|
+
> the unrelated `dsh-skills-manager` name on npm belongs to a third-party plugin.
|
|
101
101
|
|
|
102
102
|
Overlay config for an isolated run (agents home, writable root and libraries):
|
|
103
103
|
|
|
@@ -132,6 +132,36 @@ prune the symlink; re-run the desktop plugin install (or add the `link:` depende
|
|
|
132
132
|
such an operation. The profile patch keeps the row, so a restart with the symlink restored
|
|
133
133
|
brings the section back.
|
|
134
134
|
|
|
135
|
+
## Upgrading from 0.1.x (and `dsh-skills-manager`)
|
|
136
|
+
|
|
137
|
+
0.2.0 finishes the rename and is intentionally breaking. The bundle row id, the Cordis plugin
|
|
138
|
+
name, the HTTP prefix and the health name all changed:
|
|
139
|
+
|
|
140
|
+
| | 0.1.x | 0.2.0 |
|
|
141
|
+
|---|---|---|
|
|
142
|
+
| bundle row id | `skills-manager` | `skills-studio` |
|
|
143
|
+
| HTTP prefix | `/skills-manager/api` | `/skills-studio/api` |
|
|
144
|
+
| health name | `dsh-skills-manager` | `dsh-skills-studio` |
|
|
145
|
+
| client module id | `skills-manager-client` | `skills-studio-client` |
|
|
146
|
+
|
|
147
|
+
Profile patches are keyed by row id. An override written for the old row (for example
|
|
148
|
+
`- id: skills-manager` with `libraries` or `writableRoot`) is reported as
|
|
149
|
+
`patch: entry "skills-manager" not found` and dropped, so the plugin falls back to defaults.
|
|
150
|
+
|
|
151
|
+
1. Remove the old install (skip if you never installed it):
|
|
152
|
+
`dsh plugin --profile <profile> remove @stijnus/dsh-skills-manager`, or whichever spec you
|
|
153
|
+
used (`dsh-skills-manager`, `link:…`). For a hand-managed profile, delete the old
|
|
154
|
+
`node_modules/dsh-skills-manager` link and its `- insert:` row.
|
|
155
|
+
2. Rename the row in every profile/overlay patch that configures this plugin: `id: skills-manager`
|
|
156
|
+
→ `id: skills-studio`, `name: 'dsh-skills-manager'` → `name: 'dsh-skills-studio'`, keeping
|
|
157
|
+
the `config` block (`libraries`, `writableRoot`, `agentsHome`, `customSkillDirs`).
|
|
158
|
+
3. Install 0.2.0 and restart the app; a replaced JavaScript package is loaded fresh on restart.
|
|
159
|
+
4. Confirm the composed config: `dsh --profile <profile> --dump-config` should show exactly one
|
|
160
|
+
`skills-studio` row with your libraries and writable root.
|
|
161
|
+
5. Update direct API consumers to `/skills-studio/api/...` and expect
|
|
162
|
+
`name: "dsh-skills-studio"` from `/health`. Reload any Settings tab left open across the
|
|
163
|
+
upgrade — its old client still calls the old prefix.
|
|
164
|
+
|
|
135
165
|
## Configuration
|
|
136
166
|
|
|
137
167
|
All fields optional. Config is validated at apply time; a malformed value throws instead of
|
|
@@ -155,7 +185,9 @@ separate library entry.
|
|
|
155
185
|
|
|
156
186
|
## HTTP API (host half, same origin)
|
|
157
187
|
|
|
158
|
-
Prefix `/skills-studio/api`, JSON, `cache-control: no-store`.
|
|
188
|
+
Prefix `/skills-studio/api`, JSON, `cache-control: no-store`. Breaking in 0.2.0: the prefix
|
|
189
|
+
moved from `/skills-manager/api` (see
|
|
190
|
+
[Upgrading from 0.1.x](#upgrading-from-01x-and-dsh-skills-manager)).
|
|
159
191
|
|
|
160
192
|
| Method + path | Purpose |
|
|
161
193
|
|---|---|
|
|
@@ -173,10 +205,13 @@ The full request/response contract, conflict rules and write format are in
|
|
|
173
205
|
## Verification
|
|
174
206
|
|
|
175
207
|
- Host logic: `node --test` → 105 tests, no dependencies, temp dirs only.
|
|
176
|
-
- Independent end-to-end verification: 61/61 host API assertions
|
|
177
|
-
instance, 28/28 real-browser GUI assertions
|
|
178
|
-
before save, a11y, light+dark), desktop delivery
|
|
179
|
-
49-entry installed-skills invariant re-audited:
|
|
208
|
+
- Independent end-to-end verification (0.1.1 build, pre-rename): 61/61 host API assertions
|
|
209
|
+
against a real scratch DSH instance, 28/28 real-browser GUI assertions
|
|
210
|
+
(add/edit/delete/install, duplicate blocked before save, a11y, light+dark), desktop delivery
|
|
211
|
+
proven live (HMR, no restart), and the 49-entry installed-skills invariant re-audited:
|
|
212
|
+
[`SKILLS-VERIFICATION.md`](SKILLS-VERIFICATION.md). The 0.2.0 rename changes identifiers
|
|
213
|
+
only; it was re-checked with unit and syntax tests (105/105), not re-run through the E2E
|
|
214
|
+
harnesses.
|
|
180
215
|
- Baseline audit of the installed skill roots and the deepseek-stack pack:
|
|
181
216
|
[`SKILLS-AUDIT.md`](SKILLS-AUDIT.md).
|
|
182
217
|
|
package/client.js
CHANGED
|
@@ -192,7 +192,7 @@ window.__ModuleLoader__.load({
|
|
|
192
192
|
|
|
193
193
|
'delete.confirm': 'Delete "{name}"? This removes the file(s).',
|
|
194
194
|
|
|
195
|
-
'aria.section': 'Skills
|
|
195
|
+
'aria.section': 'Skills',
|
|
196
196
|
'aria.summary': 'Skills summary',
|
|
197
197
|
'aria.views': 'Skill views',
|
|
198
198
|
'aria.add': 'Add a new skill',
|
|
@@ -352,7 +352,7 @@ window.__ModuleLoader__.load({
|
|
|
352
352
|
|
|
353
353
|
'delete.confirm': '删除“{name}”?这会移除相关文件。',
|
|
354
354
|
|
|
355
|
-
'aria.section': '
|
|
355
|
+
'aria.section': '技能',
|
|
356
356
|
'aria.summary': '技能概览',
|
|
357
357
|
'aria.views': '技能视图',
|
|
358
358
|
'aria.add': '添加新技能',
|
package/icon.svg
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 64 64" width="64" height="64" role="img" aria-label="Skills
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 64 64" width="64" height="64" role="img" aria-label="Skills">
|
|
2
2
|
<defs>
|
|
3
3
|
<linearGradient id="dsm-bg" x1="8" y1="6" x2="56" y2="60" gradientUnits="userSpaceOnUse">
|
|
4
4
|
<stop offset="0" stop-color="#4c6ef5"/>
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dsh-skills-studio",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.2.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Skills settings for DeepSeek Harness: install, add, edit, and validate agent skills on disk, see what the registry actually serves to agents, and block conflicting saves.",
|
|
6
6
|
"main": "index.js",
|
|
@@ -33,6 +33,16 @@
|
|
|
33
33
|
"inject": [
|
|
34
34
|
"@deepseek-ai/dsh-client-ui-settings"
|
|
35
35
|
]
|
|
36
|
+
},
|
|
37
|
+
"compatibility": {
|
|
38
|
+
"dsh": "^0.2.1-rc.5"
|
|
39
|
+
},
|
|
40
|
+
"catalog": {
|
|
41
|
+
"summary": {
|
|
42
|
+
"en": "A Skills page in Settings: every installed skill per discovery root, what the registry serves to agents, install and update from skill libraries, add and edit skills on disk, and blocked conflicting saves.",
|
|
43
|
+
"zh": "\u5728\u8bbe\u7f6e\u91cc\u52a0\u4e00\u4e2a\u201cSkills\u201d\u9875\uff1a\u6309\u53d1\u73b0\u6839\u76ee\u5f55\u5217\u51fa\u5df2\u5b89\u88c5\u6280\u80fd\u3001\u5c55\u793a\u6ce8\u518c\u8868\u5b9e\u9645\u63d0\u4f9b\u7684\u5185\u5bb9\u3001\u4ece\u6280\u80fd\u5e93\u5b89\u88c5\u4e0e\u66f4\u65b0\u3001\u76f4\u63a5\u7f16\u8f91\u78c1\u76d8\u4e0a\u7684\u6280\u80fd\uff0c\u5e76\u5728\u4fdd\u5b58\u51b2\u7a81\u65f6\u62e6\u622a\u3002"
|
|
44
|
+
},
|
|
45
|
+
"category": "interface"
|
|
36
46
|
}
|
|
37
47
|
},
|
|
38
48
|
"keywords": [
|