dsh-workspace-atlas 0.2.0 → 0.3.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/CHANGELOG.md +14 -0
- package/README.md +63 -7
- package/client.js +771 -68
- package/index.js +40 -1
- package/lib/skill.js +262 -0
- package/lib/store.js +282 -6
- package/locale/en.json +2 -2
- package/locale/zh.json +2 -2
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.3.0
|
|
4
|
+
|
|
5
|
+
- Add a structured Agent Skills create form with `name`, `description`, `license`, `compatibility`, `metadata`, `allowed-tools`, and Markdown body.
|
|
6
|
+
- Generate spec-compliant YAML frontmatter automatically; `name` and `description` are required.
|
|
7
|
+
- Add structured editing for existing native skills while preserving the Markdown body and unknown frontmatter fields.
|
|
8
|
+
- Add a skill file manager for nested files and folders, including create, edit, and delete.
|
|
9
|
+
- Validate skill-relative paths and reject symbolic-link traversal.
|
|
10
|
+
|
|
11
|
+
## 0.2.1
|
|
12
|
+
|
|
13
|
+
- Rename the display name to AGENTS & Skills Studio / AGENTS & Skills 工作台.
|
|
14
|
+
- Rewrite the README, package description, locale metadata, and marketplace copy around AGENTS.md, multi-SKILL management, and the four skill sources.
|
|
15
|
+
- Add marketplace screenshots and a `screenshots.json` manifest.
|
|
16
|
+
|
|
3
17
|
## 0.2.0
|
|
4
18
|
|
|
5
19
|
- Rename the project to Workspace Atlas / 工作区图谱.
|
package/README.md
CHANGED
|
@@ -1,18 +1,34 @@
|
|
|
1
|
-
#
|
|
1
|
+
# AGENTS & Skills Studio
|
|
2
2
|
|
|
3
3
|
<p align="center">
|
|
4
|
-
<img src="icon.svg" width="96" height="96" alt="
|
|
4
|
+
<img src="icon.svg" width="96" height="96" alt="AGENTS & Skills Studio icon">
|
|
5
5
|
</p>
|
|
6
6
|
|
|
7
7
|
<p align="center">
|
|
8
|
-
|
|
8
|
+
AGENTS & Skills 工作台 · edit AGENTS.md, manage multiple skills, and install from four public skill catalogs.
|
|
9
9
|
</p>
|
|
10
10
|
|
|
11
|
-
|
|
11
|
+
AGENTS & Skills Studio is a full-page panel for DeepSeek Harness / DSH NEXT. It manages both kinds of workspace instruction files:
|
|
12
|
+
|
|
13
|
+
- global and workspace-root `AGENTS.md`
|
|
14
|
+
- multiple project skills at `<workspace>/.dsh/skills/<name>/SKILL.md`
|
|
15
|
+
- the global skill directory at `$DSH_HOME/skills`
|
|
16
|
+
- local skill library, URL import, and whole-directory installs from four public catalogs
|
|
17
|
+
|
|
18
|
+
Four skill sources:
|
|
19
|
+
|
|
20
|
+
| Source | Repository |
|
|
21
|
+
|---|---|
|
|
22
|
+
| Anthropic | `anthropics/skills` |
|
|
23
|
+
| OpenAI | `openai/skills` |
|
|
24
|
+
| Cursor | `cursor/plugins` |
|
|
25
|
+
| Matt Pocock | `mattpocock/skills` |
|
|
26
|
+
|
|
27
|
+
It also provides list and left-to-right tree views, tree search, SKILL counts, backups, conflict detection, and path-escape protection.
|
|
12
28
|
|
|
13
29
|
> This is a community plugin. It is not an official DeepSeek product.
|
|
14
30
|
|
|
15
|
-
>
|
|
31
|
+
> 中文简介:AGENTS & Skills 工作台是一个 DSH 全页面插件,用来管理全局与工作区根 `AGENTS.md`、多个 `.dsh/skills/<name>/SKILL.md` 和全局技能目录。支持列表/横向树视图、搜索定位、SKILL 数量统计、新建/编辑/删除、URL 导入、本地技能仓库,以及从 Anthropic(`anthropics/skills`)、OpenAI(`openai/skills`)、Cursor(`cursor/plugins`)、Matt Pocock(`mattpocock/skills`)四源技能目录整目录安装。包含备份、外部修改冲突检测和路径逃逸防护。
|
|
16
32
|
|
|
17
33
|
## Features
|
|
18
34
|
|
|
@@ -40,6 +56,14 @@ Workspace Atlas adds a full-page panel to the DSH Web UI for browsing registered
|
|
|
40
56
|
- Global skill management at `$DSH_HOME/skills`.
|
|
41
57
|
- Chinese and English locale, DSH theme tokens, no private Harness UI imports.
|
|
42
58
|
|
|
59
|
+
## Screenshots
|
|
60
|
+
|
|
61
|
+

|
|
62
|
+
|
|
63
|
+

|
|
64
|
+
|
|
65
|
+

|
|
66
|
+
|
|
43
67
|
## Skill catalog
|
|
44
68
|
|
|
45
69
|
The header's **Skill catalog / 技能目录** button opens a separate catalog view:
|
|
@@ -61,6 +85,30 @@ Sources:
|
|
|
61
85
|
|
|
62
86
|
Catalog installation downloads every file in the selected skill directory, not only `SKILL.md`. It installs into `$DSH_HOME/skills/<name>` and refuses to overwrite an existing skill.
|
|
63
87
|
|
|
88
|
+
## Create and edit skills
|
|
89
|
+
|
|
90
|
+
New skills use the [Agent Skills specification](https://agentskills.io/specification):
|
|
91
|
+
|
|
92
|
+
| Field | Required | Notes |
|
|
93
|
+
|---|---|---|
|
|
94
|
+
| `name` | yes | Lowercase letters, numbers, and single hyphens; 1-64 characters |
|
|
95
|
+
| `description` | yes | 1-1024 characters; what the skill does and when to use it |
|
|
96
|
+
| `license` | no | License name or a bundled license file |
|
|
97
|
+
| `compatibility` | no | Environment requirements; up to 500 characters |
|
|
98
|
+
| `metadata` | no | String key-value mapping |
|
|
99
|
+
| `allowed-tools` | no | Space-separated pre-approved tools |
|
|
100
|
+
|
|
101
|
+
The create form collects all six fields plus the Markdown body, then writes a canonical `SKILL.md` with YAML frontmatter. Existing native skills open in the same structured editor.
|
|
102
|
+
|
|
103
|
+
The edit page has a file tab for everything outside the root `SKILL.md`:
|
|
104
|
+
|
|
105
|
+
- create nested files and folders under the skill directory
|
|
106
|
+
- edit and save text files such as `references/guide.md` or `scripts/run.py`
|
|
107
|
+
- delete files or folders
|
|
108
|
+
- path validation keeps every operation inside that skill directory
|
|
109
|
+
|
|
110
|
+
Legacy root `SKILL.md` remains a raw Markdown editor.
|
|
111
|
+
|
|
64
112
|
## Install
|
|
65
113
|
|
|
66
114
|
Requirements:
|
|
@@ -94,7 +142,7 @@ For a different desktop UI, repeat the installation in that profile.
|
|
|
94
142
|
|
|
95
143
|
## Usage
|
|
96
144
|
|
|
97
|
-
1. Open the sidebar entry named **
|
|
145
|
+
1. Open the sidebar entry named **AGENTS & Skills Studio / AGENTS & Skills 工作台**.
|
|
98
146
|
2. Choose **List / 列表** for a flat alphabetical overview.
|
|
99
147
|
3. Choose **Tree / 树形** for the workspace forest.
|
|
100
148
|
4. Click a node card to expand it.
|
|
@@ -147,6 +195,13 @@ The Host half registers these same-origin endpoints:
|
|
|
147
195
|
| `POST` | `/api/dsh-agents-manager/delete` | Delete + backup |
|
|
148
196
|
| `POST` | `/api/dsh-agents-manager/skills/list` | List native + legacy skills |
|
|
149
197
|
| `POST` | `/api/dsh-agents-manager/skills/create` | Create a native skill |
|
|
198
|
+
| `POST` | `/api/dsh-agents-manager/skills/read` | Read parsed skill fields and body |
|
|
199
|
+
| `POST` | `/api/dsh-agents-manager/skills/save` | Save structured fields and body |
|
|
200
|
+
| `POST` | `/api/dsh-agents-manager/skills/files` | List a skill directory |
|
|
201
|
+
| `POST` | `/api/dsh-agents-manager/skills/file/read` | Read a skill file |
|
|
202
|
+
| `POST` | `/api/dsh-agents-manager/skills/file/save` | Save a skill file |
|
|
203
|
+
| `POST` | `/api/dsh-agents-manager/skills/file/delete` | Delete a skill file or folder |
|
|
204
|
+
| `POST` | `/api/dsh-agents-manager/skills/folder/create` | Create a skill folder |
|
|
150
205
|
| `POST` | `/api/dsh-agents-manager/skills/import` | Import a `SKILL.md` from URL |
|
|
151
206
|
| `POST` | `/api/dsh-agents-manager/skills/delete` | Move a native skill to trash |
|
|
152
207
|
| `GET` | `/api/dsh-agents-manager/skills/library` | List local skill library |
|
|
@@ -177,6 +232,7 @@ node --check .\lib\store.js
|
|
|
177
232
|
node --check .\client.js
|
|
178
233
|
node .\test\store.test.mjs
|
|
179
234
|
node .\test\http.test.mjs
|
|
235
|
+
node .\test\skill.test.mjs
|
|
180
236
|
node .\test\client.test.mjs
|
|
181
237
|
node .\test\update.test.mjs
|
|
182
238
|
node .\test\catalog.test.mjs
|
|
@@ -188,7 +244,7 @@ The tests use temporary directories inside the workspace and do not write to the
|
|
|
188
244
|
|
|
189
245
|
- The global/workspace `AGENTS.md` files affect the model only when `@deepseek-ai/dsh-agent-instructions` (or the active profile's equivalent loader) is enabled. In the tested desktop profile that row was disabled.
|
|
190
246
|
- Editing files does not rewrite history already injected into an open Session.
|
|
191
|
-
-
|
|
247
|
+
- AGENTS & Skills Studio manages `.dsh/skills` directories directly and installs whole skill directories from four curated catalogs; it is not a general GitHub tree browser, dependency resolver, or enable/disable policy engine.
|
|
192
248
|
- URL import downloads a single `SKILL.md` only; auxiliary files must be added manually.
|
|
193
249
|
- Legacy root `SKILL.md` remains supported for backward compatibility but is not a DSH-native project skill.
|
|
194
250
|
|