dsh-agent-plugins-market 0.7.2 → 0.8.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 +11 -3
- package/README.zh.md +11 -3
- package/client/client.js +61 -44
- package/client/client.js.map +1 -1
- package/lib/application/catalog.js +9 -2
- package/lib/catalog/component-files.js +3 -1
- package/lib/catalog/native-project.js +1 -1
- package/lib/catalog/project-config.js +0 -2
- package/lib/catalog/project-hooks.js +12 -7
- package/lib/catalog/surfaces.js +17 -10
- package/lib/index.js +23 -2
- package/lib/model/command-names.js +14 -0
- package/lib/model/layouts.js +1 -0
- package/lib/runtime/commands-mounts.js +3 -2
- package/lib/runtime/hooks-mounts.js +7 -4
- package/lib/runtime/mcp-backend.js +3 -2
- package/lib/runtime/mcp-direct-config.js +18 -9
- package/lib/runtime/plugin-message-source.js +4 -0
- package/lib/runtime/project-runtime.js +10 -8
- package/lib/runtime/settings-namespace.js +44 -66
- package/lib/runtime/user-commands.js +23 -8
- package/lib/runtime/user-hooks.js +102 -0
- package/lib/runtime/user-panels.js +34 -22
- package/lib/runtime/user-store.js +81 -19
- package/lib/types/catalog/component-files.d.ts +1 -0
- package/lib/types/catalog/project-hooks.d.ts +15 -2
- package/lib/types/catalog/surfaces.d.ts +6 -4
- package/lib/types/contracts/market.d.ts +5 -1
- package/lib/types/index.d.ts +87 -1
- package/lib/types/model/command-names.d.ts +12 -0
- package/lib/types/model/layouts.d.ts +1 -0
- package/lib/types/model/types.d.ts +2 -1
- package/lib/types/runtime/mcp-backend.d.ts +20 -13
- package/lib/types/runtime/mcp-direct-config.d.ts +1 -5
- package/lib/types/runtime/plugin-message-source.d.ts +24 -0
- package/lib/types/runtime/settings-namespace.d.ts +41 -31
- package/lib/types/runtime/user-commands.d.ts +5 -2
- package/lib/types/runtime/user-hooks.d.ts +22 -0
- package/lib/types/runtime/user-panels.d.ts +35 -15
- package/lib/types/runtime/user-store.d.ts +27 -10
- package/package.json +38 -31
- package/schemas/com.deepseek.harness/spec.md +1 -1
package/README.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
# dsh-agent-plugins-market
|
|
4
4
|
|
|
5
|
-
**A
|
|
5
|
+
**A one-stop skills, subagent, MCP and LSP manager inside [DeepSeek Harness (DSH)](https://github.com/deepseek-ai/deepseek-harness), compatible with Claude Code, Codex, Cursor, Kimi and other agent plugin layouts.**
|
|
6
6
|
|
|
7
7
|
Reuse supported content from Claude Code, Codex, Cursor, Kimi and other recognized layouts, and manage your own skills, commands, agent personas, MCP services and LSP servers in the DSH Web GUI.
|
|
8
8
|
|
|
@@ -93,7 +93,7 @@ The workspace has six tabs:
|
|
|
93
93
|
|
|
94
94
|
A **source** is where content comes from; a **suite** is an installable unit discovered there. Adding a source discovers its suites. Installing and enabling a suite controls its runtime capabilities.
|
|
95
95
|
|
|
96
|
-
Everything you author yourself lives in the shared Agent layout root: skills, commands and personas as Markdown under `~/.agents/`, and the MCP and LSP services you add in the workspace in `~/.agents/mcp.json` and `~/.agents/lsp.json`. Project-native resources stay in the project. See [storage and discovery](docs/user/usage.md#storage-and-discovery) for paths and precedence.
|
|
96
|
+
Everything you author yourself lives in the shared Agent layout root: skills, commands and personas as Markdown under `~/.agents/`, command hooks in `~/.agents/hooks.json` (or `~/.agents/hooks/hooks.json`), and the MCP and LSP services you add in the workspace in `~/.agents/mcp.json` and `~/.agents/lsp.json`. Commands and personas are read at any subdirectory depth, so a file another tool wrote at `~/.agents/commands/git/commit.md` is callable as `/git-commit`. Project-native resources stay in the project. See [storage and discovery](docs/user/usage.md#storage-and-discovery) for paths and precedence.
|
|
97
97
|
|
|
98
98
|
All six tabs share a saved grid/list preference. Add and refresh actions sit at the top right; resource state rails are green when active.
|
|
99
99
|
|
|
@@ -155,7 +155,7 @@ The table says per layout whether this plugin reads a given surface at all. **Ye
|
|
|
155
155
|
| Manifest-less skill collection | Yes | Yes | Yes | Yes | Partial | Partial |
|
|
156
156
|
| Project-native directories | Yes | Yes | Yes | Yes | Partial | No |
|
|
157
157
|
|
|
158
|
-
- **Skills** are read from the paths a manifest declares and from the conventional `skills/` directory, including flat `SKILL.md`
|
|
158
|
+
- **Skills** are read from the paths a manifest declares and from the conventional `skills/` directory, including flat `<name>.md` files. A path that carries its own `SKILL.md` is one skill: the documents beside it belong to that skill and are not read as skills. A conformant agent-plugins package is the exception: skills come from one level of `skills/` subdirectories, exactly as its specification requires.
|
|
159
159
|
- **Agents and commands** are read as Markdown (`agents/*.md`, `commands/*.md`). Cursor plugin commands accept `.md`, `.mdc`, `.markdown` and `.txt`. Codex and Kimi native agent/command formats (TOML, YAML) have no adapter yet.
|
|
160
160
|
- **MCP** covers declared files, inline tables and arrays. Cursor's schema-less `mcp.json` and agent-plugins' strict `mcp.json` both work; Kimi Code is inline-only. Codex app connectors stay outside this adapter.
|
|
161
161
|
- **Hooks** map the command-style events DSH has an equivalent for; events without one (for example `afterFileEdit`) are reported instead of simulated. Cursor's native events are not read.
|
|
@@ -220,3 +220,11 @@ Only when you tick **also delete the managed market directory** in the confirmat
|
|
|
220
220
|
- [Security policy](SECURITY.md) · [Release history](CHANGELOG.md) · [MIT license](LICENSE).
|
|
221
221
|
- [Domain glossary](CONTEXT.md) · [Architecture](docs/developer/decisions/0001-catalog-centered-modular-refactor.md).
|
|
222
222
|
- [Agent roles and storage](docs/user/agent-roles.md): installed-resource editing, model routing and migration.
|
|
223
|
+
|
|
224
|
+
## Community
|
|
225
|
+
|
|
226
|
+
Scan the QR code to join the **dsh-agent-plugins-market** WeChat group, where we answer questions and take feature requests.
|
|
227
|
+
|
|
228
|
+
<div align="center">
|
|
229
|
+
<img src="docs/screenshots/wechat-group.webp" alt="WeChat group QR code for dsh-agent-plugins-market" width="240" />
|
|
230
|
+
</div>
|
package/README.zh.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
# dsh-agent-plugins-market
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
**在 [DeepSeek Harness(DSH)](https://github.com/deepseek-ai/deepseek-harness) 之内,一站式管理 skills、subagent、MCP、LSP,兼容 Claude Code、Codex、Cursor、Kimi 等 agent plugins 体系。**
|
|
6
6
|
|
|
7
7
|
复用 Claude Code、Codex、Cursor、Kimi 等已识别布局中支持的内容,在 DSH Web 界面管理自己的技能、命令、代理角色、MCP 服务和 LSP 服务。
|
|
8
8
|
|
|
@@ -93,7 +93,7 @@ dsh plugin --profile <name> add dsh-agent-plugins-market
|
|
|
93
93
|
|
|
94
94
|
**来源(source)**表示内容来自哪里,**套件(suite)**是从中发现的可安装单元。添加来源用于发现套件;安装并启用套件决定其运行时能力是否生效。
|
|
95
95
|
|
|
96
|
-
你自己创作的内容都放在共用的 Agent 布局根目录:技能、命令和角色是 `~/.agents/` 下的 Markdown
|
|
96
|
+
你自己创作的内容都放在共用的 Agent 布局根目录:技能、命令和角色是 `~/.agents/` 下的 Markdown 文件,命令 hooks 放在 `~/.agents/hooks.json`(或 `~/.agents/hooks/hooks.json`),工作区里新增的 MCP 与 LSP 服务分别保存在 `~/.agents/mcp.json` 与 `~/.agents/lsp.json`。命令与角色按任意子目录深度读取,因此其它工具写在 `~/.agents/commands/git/commit.md` 的文件可用 `/git-commit` 调用。项目原生资源继续保留在项目中。路径和优先级见[存储与发现](docs/user/usage.zh.md#存储与发现)。
|
|
97
97
|
|
|
98
98
|
六个页签共用持久化的卡片/列表偏好。新增、刷新统一位于页头;资源状态条为绿色时表示生效中。
|
|
99
99
|
|
|
@@ -155,7 +155,7 @@ dsh plugin --profile <name> add dsh-agent-plugins-market
|
|
|
155
155
|
| 无清单技能集合 | 支持 | 支持 | 支持 | 支持 | 部分 | 部分 |
|
|
156
156
|
| 项目原生目录 | 支持 | 支持 | 支持 | 支持 | 部分 | 不支持 |
|
|
157
157
|
|
|
158
|
-
- **技能**读取清单声明的路径与约定的 `skills/` 目录,也支持平铺的 `SKILL.md`
|
|
158
|
+
- **技能**读取清单声明的路径与约定的 `skills/` 目录,也支持平铺的 `<name>.md` 文件。自带 `SKILL.md` 的路径就是一个技能:与它并列的文档属于该技能,不作为技能读取。合规的 agent-plugins 套件是例外:技能只来自 `skills/` 一层子目录,与其规范一致。
|
|
159
159
|
- **代理与命令**按 Markdown 读取(`agents/*.md`、`commands/*.md`)。Cursor 插件命令接受 `.md`、`.mdc`、`.markdown`、`.txt`;Codex 与 Kimi 的原生代理/命令格式(TOML、YAML)尚未适配。
|
|
160
160
|
- **MCP** 支持声明的文件、内联表与数组。Cursor 的无 schema `mcp.json` 与 agent-plugins 的严格 `mcp.json` 都能读取;Kimi Code 只读内联声明。Codex 的 app 连接器不在适配范围内。
|
|
161
161
|
- **Hooks** 只映射 DSH 有对应点的命令类事件;没有对应点的事件(例如 `afterFileEdit`)给出诊断而不伪造执行。Cursor 的原生事件不读取。
|
|
@@ -220,3 +220,11 @@ README 中的仓库在 [`tests/fixtures/real-layouts/`](tests/fixtures/real-layo
|
|
|
220
220
|
- [安全政策](SECURITY.md) · [版本记录](CHANGELOG.md) · [MIT 许可](LICENSE)。
|
|
221
221
|
- [领域词汇](CONTEXT.md) · [架构设计](docs/developer/decisions/0001-catalog-centered-modular-refactor.md)。
|
|
222
222
|
- [代理角色与存储](docs/user/agent-roles.zh.md):已安装资源编辑、角色模型路由与目录迁移。
|
|
223
|
+
|
|
224
|
+
## 交流群
|
|
225
|
+
|
|
226
|
+
扫描下方二维码加入 **dsh-agent-plugins-market** 微信群,提问与提需求都可以在群里说。
|
|
227
|
+
|
|
228
|
+
<div align="center">
|
|
229
|
+
<img src="docs/screenshots/wechat-group.webp" alt="dsh-agent-plugins-market 微信群二维码" width="240" />
|
|
230
|
+
</div>
|