dsh-agent-plugins-market 0.6.2 → 0.7.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 +117 -111
- package/README.zh.md +112 -98
- package/client/client.js +547 -540
- package/client/client.js.map +1 -1
- package/lib/application/catalog-context.js +181 -0
- package/lib/application/catalog.js +217 -1110
- package/lib/application/details.js +6 -6
- package/lib/application/install-store.js +95 -0
- package/lib/application/lsp-service.js +97 -0
- package/lib/application/mcp-service.js +246 -0
- package/lib/application/panel-resources.js +29 -12
- package/lib/application/ports.js +21 -0
- package/lib/application/project-agent-roles.js +1 -1
- package/lib/application/snapshot-cache.js +160 -0
- package/lib/application/source-store.js +521 -0
- package/lib/catalog/archive.js +34 -29
- package/lib/catalog/component-files.js +14 -6
- package/lib/catalog/fs-probes.js +43 -0
- package/lib/catalog/manifests.js +53 -92
- package/lib/catalog/native-project.js +2 -2
- package/lib/catalog/paths.js +66 -55
- package/lib/catalog/project-config.js +2 -1
- package/lib/catalog/project-hooks.js +9 -1
- package/lib/catalog/scan-resolvers.js +29 -45
- package/lib/catalog/skills-parse.js +14 -10
- package/lib/catalog/source-catalog.js +3 -2
- package/lib/catalog/suite-components.js +5 -5
- package/lib/catalog/suite-scanner.js +3 -1
- package/lib/catalog/surfaces.js +5 -26
- package/lib/catalog/validate.js +7 -11
- package/lib/contracts/market.js +1 -0
- package/lib/index.js +91 -208
- package/lib/model/types.js +26 -3
- package/lib/routes.js +45 -15
- package/lib/runtime/agent-role-names.js +70 -0
- package/lib/runtime/agent-role-router.js +116 -102
- package/lib/runtime/commands-mounts.js +9 -6
- package/lib/runtime/deadline.js +28 -0
- package/lib/runtime/feedback-tool.js +94 -43
- package/lib/runtime/hooks-mounts.js +9 -11
- package/lib/runtime/host-locale.js +10 -21
- package/lib/runtime/lsp-direct-config.js +19 -19
- package/lib/runtime/lsp-mounts.js +159 -68
- package/lib/runtime/lsp-server-state.js +4 -4
- package/lib/runtime/lsp-status.js +1 -1
- package/lib/runtime/mcp-auth-record.js +42 -0
- package/lib/runtime/mcp-backend.js +6 -5
- package/lib/runtime/mcp-client/config.js +0 -1
- package/lib/runtime/mcp-client/connection.js +32 -37
- package/lib/runtime/mcp-client/host-contract.js +10 -0
- package/lib/runtime/mcp-client/oauth.js +5 -7
- package/lib/runtime/mcp-client/plugin-identity.js +28 -0
- package/lib/runtime/mcp-client/projection.js +202 -0
- package/lib/runtime/mcp-client/tools.js +4 -189
- package/lib/runtime/mcp-config.js +29 -10
- package/lib/runtime/mcp-direct-config.js +33 -16
- package/lib/runtime/mcp-mounts.js +35 -75
- package/lib/runtime/mcp-overrides.js +5 -5
- package/lib/runtime/mcp-redaction.js +3 -2
- package/lib/runtime/mcp-status.js +7 -8
- package/lib/runtime/mount-lifecycle.js +73 -0
- package/lib/runtime/profile-seam.js +321 -0
- package/lib/runtime/project-runtime.js +11 -8
- package/lib/runtime/reconcile-scheduler.js +99 -0
- package/lib/runtime/reconciler.js +4 -0
- package/lib/runtime/server-config.js +6 -4
- package/lib/runtime/settings-namespace.js +136 -0
- package/lib/runtime/skills-provider.js +5 -3
- package/lib/runtime/source-auto-update.js +70 -0
- package/lib/{model/state.js → runtime/state-store.js} +9 -11
- package/lib/runtime/storage-migration.js +35 -18
- package/lib/runtime/subagent-catalog.js +5 -4
- package/lib/runtime/user-commands.js +2 -2
- package/lib/runtime/user-panels.js +31 -21
- package/lib/runtime/user-store.js +12 -13
- package/lib/types/application/catalog-context.d.ts +118 -0
- package/lib/types/application/catalog.d.ts +99 -304
- package/lib/types/application/install-store.d.ts +21 -0
- package/lib/types/application/lsp-service.d.ts +36 -0
- package/lib/types/application/mcp-service.d.ts +71 -0
- package/lib/types/application/panel-resources.d.ts +8 -0
- package/lib/types/application/ports.d.ts +72 -0
- package/lib/types/application/queries.d.ts +13 -26
- package/lib/types/application/snapshot-cache.d.ts +51 -0
- package/lib/types/application/source-store.d.ts +100 -0
- package/lib/types/catalog/archive.d.ts +3 -11
- package/lib/types/catalog/component-files.d.ts +4 -0
- package/lib/types/catalog/fs-probes.d.ts +10 -0
- package/lib/types/catalog/manifests.d.ts +17 -16
- package/lib/types/catalog/native-project.d.ts +2 -2
- package/lib/types/catalog/paths.d.ts +47 -15
- package/lib/types/catalog/scan-pipeline.d.ts +3 -3
- package/lib/types/catalog/scan-resolvers.d.ts +3 -9
- package/lib/types/catalog/skills-parse.d.ts +0 -7
- package/lib/types/catalog/source-catalog.d.ts +3 -3
- package/lib/types/catalog/suite-scanner.d.ts +8 -6
- package/lib/types/catalog/validate.d.ts +0 -2
- package/lib/types/contracts/lsp-status.d.ts +35 -0
- package/lib/types/contracts/market.d.ts +3 -2
- package/lib/types/contracts/mcp-status.d.ts +4 -0
- package/lib/types/model/types.d.ts +29 -5
- package/lib/types/runtime/agent-role-names.d.ts +6 -0
- package/lib/types/runtime/agent-role-router.d.ts +54 -51
- package/lib/types/runtime/deadline.d.ts +18 -0
- package/lib/types/runtime/feedback-tool.d.ts +33 -11
- package/lib/types/runtime/hooks-mounts.d.ts +1 -1
- package/lib/types/runtime/host-locale.d.ts +1 -1
- package/lib/types/runtime/lsp-direct-config.d.ts +3 -3
- package/lib/types/runtime/lsp-mounts.d.ts +62 -19
- package/lib/types/runtime/lsp-status.d.ts +2 -1
- package/lib/types/runtime/mcp-auth-record.d.ts +29 -0
- package/lib/types/runtime/mcp-backend.d.ts +7 -4
- package/lib/types/runtime/mcp-client/config.d.ts +0 -2
- package/lib/types/runtime/mcp-client/host-contract.d.ts +78 -0
- package/lib/types/runtime/mcp-client/oauth.d.ts +1 -1
- package/lib/types/runtime/mcp-client/plugin-identity.d.ts +16 -0
- package/lib/types/runtime/mcp-client/projection.d.ts +45 -0
- package/lib/types/runtime/mcp-client/tools.d.ts +5 -72
- package/lib/types/runtime/mcp-config.d.ts +25 -4
- package/lib/types/runtime/mcp-direct-config.d.ts +18 -4
- package/lib/types/runtime/mcp-mounts.d.ts +10 -15
- package/lib/types/runtime/mcp-overrides.d.ts +1 -1
- package/lib/types/runtime/mcp-status.d.ts +1 -1
- package/lib/types/runtime/mount-lifecycle.d.ts +53 -0
- package/lib/types/runtime/profile-seam.d.ts +64 -0
- package/lib/types/runtime/reconcile-scheduler.d.ts +45 -0
- package/lib/types/runtime/reconciler.d.ts +2 -0
- package/lib/types/runtime/settings-namespace.d.ts +76 -0
- package/lib/types/runtime/source-auto-update.d.ts +33 -0
- package/lib/types/{model/state.d.ts → runtime/state-store.d.ts} +2 -2
- package/lib/types/runtime/storage-migration.d.ts +5 -3
- package/lib/types/runtime/subagent-catalog.d.ts +2 -0
- package/lib/types/runtime/user-panels.d.ts +8 -11
- package/lib/types/runtime/user-store.d.ts +2 -4
- package/package.json +48 -21
- package/schemas/README.md +1 -1
package/README.md
CHANGED
|
@@ -4,7 +4,9 @@
|
|
|
4
4
|
|
|
5
5
|
**A plugin marketplace and agent capability workspace for [DeepSeek Harness (DSH)](https://github.com/deepseek-ai/deepseek-harness).**
|
|
6
6
|
|
|
7
|
-
Reuse supported content from Claude Code, Codex, Cursor, Kimi and other recognized layouts
|
|
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
|
+
|
|
9
|
+
If this plugin is useful to you, a ⭐ on [GitHub](https://github.com/Sivan757/dsh-agent-plugins-market) is appreciated.
|
|
8
10
|
|
|
9
11
|
English | [简体中文](README.zh.md) | [Documentation](https://sivan757.github.io/dsh-agent-plugins-market/) | [npm](https://www.npmjs.com/package/dsh-agent-plugins-market)
|
|
10
12
|
|
|
@@ -12,77 +14,104 @@ English | [简体中文](README.zh.md) | [Documentation](https://sivan757.github
|
|
|
12
14
|
|
|
13
15
|
[Quick start](#quick-start) · [Everyday use](#everyday-use) · [Compatibility](#compatibility-and-boundaries) · [FAQ](#faq)
|
|
14
16
|
|
|
15
|
-
|
|
17
|
+
## Pages
|
|
18
|
+
|
|
19
|
+
<table>
|
|
20
|
+
<tr>
|
|
21
|
+
<td align="center" width="33%">
|
|
22
|
+
<img src="docs/screenshots/market.png" alt="Market" width="100%" /><br />
|
|
23
|
+
<b>Market</b><br />Add sources, preview suites, install and enable.
|
|
24
|
+
</td>
|
|
25
|
+
<td align="center" width="33%">
|
|
26
|
+
<img src="docs/screenshots/skills.png" alt="Skills" width="100%" /><br />
|
|
27
|
+
<b>Skills</b><br />Browse skills and author your own.
|
|
28
|
+
</td>
|
|
29
|
+
<td align="center" width="33%">
|
|
30
|
+
<img src="docs/screenshots/commands.png" alt="Commands" width="100%" /><br />
|
|
31
|
+
<b>Commands</b><br />Manage prompt templates invoked as /name.
|
|
32
|
+
</td>
|
|
33
|
+
</tr>
|
|
34
|
+
<tr>
|
|
35
|
+
<td align="center" width="33%">
|
|
36
|
+
<img src="docs/screenshots/personas.png" alt="Agent personas" width="100%" /><br />
|
|
37
|
+
<b>Agent personas</b><br />Roles with an exact provider, model and effort.
|
|
38
|
+
</td>
|
|
39
|
+
<td align="center" width="33%">
|
|
40
|
+
<img src="docs/screenshots/mcp.png" alt="MCP services" width="100%" /><br />
|
|
41
|
+
<b>MCP services</b><br />Credentials, authorization and connection status.
|
|
42
|
+
</td>
|
|
43
|
+
<td align="center" width="33%">
|
|
44
|
+
<img src="docs/screenshots/lsp.png" alt="LSP servers" width="100%" /><br />
|
|
45
|
+
<b>LSP servers</b><br />Language server configuration and runtime status.
|
|
46
|
+
</td>
|
|
47
|
+
</tr>
|
|
48
|
+
</table>
|
|
16
49
|
|
|
17
50
|
## What you can do
|
|
18
51
|
|
|
19
|
-
- **
|
|
20
|
-
- **
|
|
21
|
-
- **
|
|
22
|
-
- **
|
|
52
|
+
- **Ten suite layouts.** Claude Code, Codex, Cursor, Kimi Code, ZCode, Qoder CLI, GitHub Copilot CLI, Universal `.plugin/`, [agent-plugins](https://agent-plugins.org) and manifest-less skill collections.
|
|
53
|
+
- **Sources.** Add a Git repository, a local directory or an archive (`.zip` / `.tar.gz` / `.tgz` / `.tar`); adopt a checkout you cloned yourself; refresh on demand; delete a managed checkout when you remove its source.
|
|
54
|
+
- **Downloads that fit your network.** Pick a download region — default `auto` follows the interface language, or choose global / China mainland — and the plugin routes `github.com` clones through the matching mirror. A proxy and per-invocation tuning live in the host config.
|
|
55
|
+
- **Runtime surfaces.** Enabled suites inject into sessions: skills into the catalog and slash menu, commands as `/name`, agent personas into the subagent catalog, MCP tools with an `mcp__` prefix, hooks onto host lifecycle events, and language servers through the `lsp` tool.
|
|
56
|
+
- **MCP.** A built-in bridge runs stdio, Streamable HTTP with OAuth and legacy SSE without a host MCP client. `${VAR}` references resolve from the host credential store or the launch environment; per-server overrides disable or patch a declaration without editing the source; an optional host-client compatibility mode is available. Tools register as `mcp__<suite>__<server>__<tool>`.
|
|
57
|
+
- **LSP.** Self-provisioned: installing the plugin is the whole setup, and the `lsp` tool mounts only while a language server is wanted. The server executable itself must be on `PATH`. Upgrading from a release that asked you to expose LSP from your profile? A profile that still carries that hand-added layer reports a seam conflict; the LSP panel names the file and removes the layer for you, keeping a backup.
|
|
58
|
+
- **Agent personas and delegation.** Role cards save an exact provider, model and reasoning effort; they appear in the session catalog and run through `subagent_run`, which starts a durable background child and returns its id immediately.
|
|
59
|
+
- **Project dimension.** Skills, agents, commands, MCP servers and hooks are read from the project's own directories with no install step.
|
|
60
|
+
- **Your own resources.** Author skills, commands and agent personas as Markdown under `~/.agents/`, then edit them or disable them without deleting the files.
|
|
61
|
+
- **Background source updates.** Optionally refresh every configured source on a timer; off by default.
|
|
62
|
+
- **Web workspace.** Six tabs — Market, Skills, Commands, Agent personas, MCP services and LSP servers — each with search, filters and a grid/list toggle, plus status panels with diagnostics, credential editing, and an install confirmation that warns before executable third-party content is enabled.
|
|
63
|
+
- **Bilingual interface and feedback.** Workspace strings and injected prompts follow the host language. With feedback enabled, the model can file a `report_market_issue` report through the `gh` CLI or a GitHub token; with neither, it opens a prefilled GitHub issue page and hands you the complete issue text.
|
|
23
64
|
|
|
24
65
|
## Quick start
|
|
25
66
|
|
|
26
|
-
You need Node.js 22+, Git for Git sources, and a DSH Web profile with the skill service enabled. This repository declares DSH peer packages in the `^0.1.2-rc.1` range; individual capabilities also depend on the services in your profile. See [host requirements](docs/guides/usage.md#host-requirements).
|
|
27
|
-
|
|
28
67
|
Install into your profile, replacing `<name>` with its name:
|
|
29
68
|
|
|
30
69
|
```sh
|
|
31
70
|
dsh plugin --profile <name> add dsh-agent-plugins-market
|
|
32
71
|
```
|
|
33
72
|
|
|
34
|
-
1. Restart DSH and open **Settings → Agent Plugins Market**.
|
|
73
|
+
1. Restart DSH and open **Settings → Agent Plugins Market**.
|
|
35
74
|
2. In **Market**, add a source, for example `https://github.com/anthropics/claude-plugins-official`. No sources are preconfigured.
|
|
36
75
|
3. Open a suite, review its contents, then install it and ensure it is enabled.
|
|
37
|
-
4. For a suite with skills, check the **Skills** tab and type `/` in chat to find its user-invocable skills. For an MCP suite, check **MCP services** and resolve any credential or connection
|
|
76
|
+
4. For a suite with skills, check the **Skills** tab and type `/` in chat to find its user-invocable skills. For an MCP suite, check **MCP services** and resolve any credential or connection notice before using its tools.
|
|
38
77
|
|
|
39
|
-
|
|
78
|
+
Requirements, profile configuration and alternative installs: [usage guide](docs/user/usage.md#installation-options).
|
|
40
79
|
|
|
41
80
|
## Everyday use
|
|
42
81
|
|
|
43
|
-
MCP details separate Retry connection (keeps credentials) from confirmed OAuth reauthorization. There is no enable switch in the detail dialog.
|
|
44
|
-
|
|
45
82
|
The workspace has six tabs:
|
|
46
83
|
|
|
47
|
-
| Tab | Use it to
|
|
48
|
-
| -------------- |
|
|
49
|
-
| Market | Add sources, preview suites, install / uninstall, enable / disable and refresh.
|
|
50
|
-
| Skills | Browse skills and create or edit your own reusable instructions.
|
|
51
|
-
| Commands | Manage prompt templates invoked as `/name
|
|
52
|
-
| Agent personas |
|
|
53
|
-
| MCP services | Add a service or configure an installed one, its credentials and authorization; inspect status and retry failures.
|
|
54
|
-
| LSP servers | Add and configure language servers and inspect their runtime status.
|
|
84
|
+
| Tab | Use it to |
|
|
85
|
+
| -------------- | -------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
86
|
+
| Market | Add sources, preview suites, install / uninstall, enable / disable and refresh. |
|
|
87
|
+
| Skills | Browse skills and create or edit your own reusable instructions. |
|
|
88
|
+
| Commands | Manage prompt templates invoked as `/name`. |
|
|
89
|
+
| Agent personas | Manage role instructions and save an exact provider, model and reasoning effort per role; delegate in the background through `subagent_run`. |
|
|
90
|
+
| MCP services | Add a service or configure an installed one, its credentials and authorization; inspect status and retry failures. |
|
|
91
|
+
| LSP servers | Add and configure language servers and inspect their runtime status. |
|
|
55
92
|
|
|
56
|
-
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.
|
|
93
|
+
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.
|
|
57
94
|
|
|
58
|
-
|
|
95
|
+
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.
|
|
59
96
|
|
|
60
97
|
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.
|
|
61
98
|
|
|
62
|
-
Resource details share a wide dialog. Markdown resources open with rendered content and structured frontmatter; switch to Markdown to edit. MCP/LSP provide fixed forms and JSON editing over the same configuration.
|
|
63
|
-
|
|
64
|
-
Services you add yourself are validated before saving, persist under `~/.dsh/agent-plugins/data/`, and mount through the same lifecycle as suite services. Services observed from the host configuration stay read-only.
|
|
65
|
-
|
|
66
|
-
Asynchronous workspace actions show a blocking overlay on the active settings panel or detail dialog, with rotating waiting messages. The overlay is released on success or failure; background status polling stays silent.
|
|
67
|
-
|
|
68
99
|
## Compatibility and boundaries
|
|
69
100
|
|
|
70
|
-
Supported **layout dialects** describe how files are organized. The [shared priority table](#layout-detection-precedence) lists suite manifests and Marketplace catalogs together.
|
|
71
|
-
|
|
72
|
-
All ten active layout contracts in [`schemas/`](schemas/README.md) have independent reader tests. [The layout audit](docs/layout-coverage.md) maps them to commit-pinned README repository fixtures and distinguishes layout/component compatibility from full original-client runtime equivalence.
|
|
101
|
+
Supported **layout dialects** describe how files are organized. The [shared priority table](#layout-detection-precedence) lists suite manifests and Marketplace catalogs together. All ten layout contracts in [`schemas/`](schemas/README.md) have independent reader tests; [the layout audit](docs/user/layout-coverage.md) maps them to pinned repository fixtures.
|
|
73
102
|
|
|
74
103
|
Supported **runtime surfaces** describe what DSH can use:
|
|
75
104
|
|
|
76
|
-
| Surface | Runtime support and conditions
|
|
77
|
-
| -------- |
|
|
78
|
-
| Skills | Host skill catalog and user-invocable slash entries; supported root placeholders are expanded.
|
|
79
|
-
| Commands | Slash commands through the host command service.
|
|
80
|
-
| Agents | Dynamic subagent catalog and `
|
|
81
|
-
| MCP | Built-in bridge by default: stdio, Streamable HTTP with OAuth, and legacy SSE. Optional host-client compatibility mode is also available.
|
|
82
|
-
| Hooks | The command-hook subset mapped by `dsh-hooks-claude-code`.
|
|
83
|
-
| LSP |
|
|
105
|
+
| Surface | Runtime support and conditions |
|
|
106
|
+
| -------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
107
|
+
| Skills | Host skill catalog and user-invocable slash entries; supported root placeholders are expanded. |
|
|
108
|
+
| Commands | Slash commands through the host command service. |
|
|
109
|
+
| Agents | Dynamic subagent catalog and `subagent_run`; requires host agents, tools, LLM, subagent and session-persistence services. |
|
|
110
|
+
| MCP | Built-in bridge by default: stdio, Streamable HTTP with OAuth, and legacy SSE. Optional host-client compatibility mode is also available. |
|
|
111
|
+
| Hooks | The command-hook subset mapped by `dsh-hooks-claude-code`. |
|
|
112
|
+
| LSP | Self-provisioned: installing the plugin is the whole setup, and `lsp` mounts only while a language server is wanted; the server executable must be on `PATH`. |
|
|
84
113
|
|
|
85
|
-
Agent roles
|
|
114
|
+
Agent roles appear in the session catalog and run through `subagent_run(agent, prompt)`. A role may save an exact `provider` plus `model` pair and a `reasoning_effort`; every other declaration is ignored and the child inherits the parent route. `tools` and `disallowedTools` are preserved in the file but never applied. See [agent roles](docs/user/agent-roles.md) for the frontmatter fields and limits.
|
|
86
115
|
|
|
87
116
|
### Layout detection precedence
|
|
88
117
|
|
|
@@ -90,7 +119,7 @@ When multiple manifests exist in the **same suite directory**, the first existin
|
|
|
90
119
|
|
|
91
120
|
| Priority | Layout | Suite manifest | Marketplace catalog |
|
|
92
121
|
| --- | --- | --- | --- |
|
|
93
|
-
| 1 | agent-plugins.org
|
|
122
|
+
| 1 | [agent-plugins](https://agent-plugins.org) / root compatibility | `plugin.json` | No dedicated catalog |
|
|
94
123
|
| 2 | Universal compatibility | `.plugin/plugin.json` | `.plugin/marketplace.json` |
|
|
95
124
|
| 3 | Claude Code | `.claude-plugin/plugin.json` | `.claude-plugin/marketplace.json` |
|
|
96
125
|
| 4 | Cursor | `.cursor-plugin/plugin.json` | `.cursor-plugin/marketplace.json` |
|
|
@@ -101,83 +130,57 @@ When multiple manifests exist in the **same suite directory**, the first existin
|
|
|
101
130
|
| 9 | GitHub Copilot CLI | `.github/plugin/plugin.json` | `.github/plugin/marketplace.json` |
|
|
102
131
|
| Fallback | Skill collection / shared catalog | Discover skills when no recognized manifest exists | Root `marketplace.json` |
|
|
103
132
|
|
|
104
|
-
- **
|
|
105
|
-
- **
|
|
106
|
-
-
|
|
107
|
-
|
|
108
|
-
**Both columns follow the same layout priority.** Catalog lookup skips layouts without a dedicated catalog; aliases are tried in the listed order. Root `marketplace.json` is a shared fallback, not a skill-collection manifest or an agent-plugins.org v1 catalog, and does not inherit the priority of root `plugin.json`.
|
|
109
|
-
|
|
110
|
-
All existing catalogs are read, but suite scanning selects the first catalog that produces suites, rather than merging every catalog. Invalid or empty catalogs allow the next candidate to be tried. This priority does not make native project directories mutually exclusive.
|
|
133
|
+
- **Manifests are tried in order:** a manifest that cannot be read or validated is reported and the next one is tried, down to the fallback. If every candidate fails, the suite is diagnosed instead of loading half of it.
|
|
134
|
+
- **Component fallback:** for a root `plugin.json` that does not declare a recognized agent-plugins `$schema`, missing component declarations can come from `.claude-plugin/plugin.json`; explicit root declarations win, and marketplace entry declarations fill remaining gaps.
|
|
135
|
+
- Marketplace catalogs follow the same order: the first catalog that produces suites wins, and invalid or empty catalogs allow the next candidate to be tried.
|
|
111
136
|
|
|
112
137
|
The order is defined in [`src/model/layouts.ts`](src/model/layouts.ts); selection and root-manifest fallback are implemented in [`src/catalog/manifests.ts`](src/catalog/manifests.ts).
|
|
113
138
|
|
|
114
|
-
### Layout
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
| Layout
|
|
119
|
-
|
|
|
120
|
-
| [Claude Code](https://code.claude.com/docs/en/plugins-reference)
|
|
121
|
-
| [Codex](https://developers.openai.com/plugins/build/plugins)
|
|
122
|
-
| [Cursor](https://cursor.com/docs/reference/plugins)
|
|
123
|
-
| Kimi Code
|
|
124
|
-
| [ZCode](https://zcode.z.ai/en/docs/plugin) `.zcode-plugin/`
|
|
125
|
-
| [Qoder CLI](https://docs.qoder.com/cli/plugins-reference) `.qoder-plugin/`
|
|
126
|
-
| [GitHub Copilot CLI](https://docs.github.com/en/copilot/reference/copilot-cli-reference/cli-plugin-reference) |
|
|
127
|
-
| Universal compatibility layout `.plugin/`
|
|
128
|
-
| [agent-plugins
|
|
129
|
-
| Manifest-less skill collection
|
|
130
|
-
| Project-native directories
|
|
131
|
-
|
|
132
|
-
- **
|
|
133
|
-
- **
|
|
134
|
-
- **MCP
|
|
135
|
-
- **Hooks
|
|
136
|
-
- **LSP
|
|
137
|
-
- **
|
|
138
|
-
- **
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
- **GitHub Copilot CLI:** `.plugin/plugin.json` retains the Universal identity. Both spellings consume declared component paths and fallback MCP/LSP files. Isolated tests suppress competing manifests at nested suite roots, preventing a Claude fallback from masquerading as a passing Copilot test.
|
|
142
|
-
- **Project directories:** [Claude project skills](https://code.claude.com/docs/en/skills) and [Codex `.agents/skills`](https://developers.openai.com/codex/skills) are documented upstream; `.agents/agents` and `.agents/commands` are this plugin's shared discovery conventions.
|
|
139
|
+
### Layout support matrix
|
|
140
|
+
|
|
141
|
+
The table says per layout whether this plugin reads a given surface at all. **Yes** means the layout's own files are read and injected; **Partial** means only part of the formats is understood, or the upstream layout has no such definition — the notes below say which. Evidence: the [compatibility report](docs/reference/compat-report.md) and [layout audit](docs/user/layout-coverage.md).
|
|
142
|
+
|
|
143
|
+
| Layout | Skills | Agents | Commands | MCP | Hooks | LSP |
|
|
144
|
+
| ------------------------------------------------------------------------------------------------------------- | ------ | ------- | -------- | ------- | ------- | ------- |
|
|
145
|
+
| [Claude Code](https://code.claude.com/docs/en/plugins-reference) | Yes | Yes | Yes | Yes | Partial | Yes |
|
|
146
|
+
| [Codex](https://developers.openai.com/plugins/build/plugins) | Yes | Yes | Yes | Partial | Partial | Yes |
|
|
147
|
+
| [Cursor](https://cursor.com/docs/reference/plugins) | Yes | Partial | Partial | Partial | No | Yes |
|
|
148
|
+
| Kimi Code | Yes | Yes | Yes | Yes | Partial | Partial |
|
|
149
|
+
| [ZCode](https://zcode.z.ai/en/docs/plugin) `.zcode-plugin/` | Yes | Yes | Yes | Yes | Partial | Partial |
|
|
150
|
+
| [Qoder CLI](https://docs.qoder.com/cli/plugins-reference) `.qoder-plugin/` | Yes | Yes | Yes | Partial | Partial | Partial |
|
|
151
|
+
| [GitHub Copilot CLI](https://docs.github.com/en/copilot/reference/copilot-cli-reference/cli-plugin-reference) | Yes | Yes | Yes | Yes | Partial | Yes |
|
|
152
|
+
| Universal compatibility layout `.plugin/` | Yes | Yes | Yes | Yes | Partial | Yes |
|
|
153
|
+
| [agent-plugins](https://agent-plugins.org) | Yes | Partial | Partial | Yes | Partial | Partial |
|
|
154
|
+
| Manifest-less skill collection | Yes | Yes | Yes | Yes | Partial | Partial |
|
|
155
|
+
| Project-native directories | Yes | Yes | Yes | Yes | Partial | No |
|
|
156
|
+
|
|
157
|
+
- **Skills** are read from the paths a manifest declares and from the conventional `skills/` directory, including flat `SKILL.md` files.
|
|
158
|
+
- **Agents and commands** are read as Markdown (`agents/*.md`, `commands/*.md`). Cursor commands must be `.md`; its `.mdc`, `.markdown` and `.txt` variants are not read. Codex and Kimi native agent/command formats (TOML, YAML) have no adapter yet.
|
|
159
|
+
- **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.
|
|
160
|
+
- **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.
|
|
161
|
+
- **LSP** accepts declared files, arrays and inline tables plus the conventional `.lsp.json` / `lsp.json` locations. Declarations inside a project are reported but not mounted: the host LSP registry is global. Some layouts only expose LSP directories for preview.
|
|
162
|
+
- **agent-plugins** standardizes portable skills and MCP only. Agents, commands and hooks for that layout are read through this plugin's shared directory conventions, not through the specification.
|
|
163
|
+
- **Universal** is a compatibility-layout label used by this plugin; the [OpenHands SDK](https://docs.openhands.dev/sdk/guides/plugins) documents the same `.plugin/plugin.json` location and a [Vercel repository](https://github.com/vercel/vercel-plugin/blob/main/.plugin/plugin.json) uses it, but no cross-vendor specification exists.
|
|
164
|
+
|
|
165
|
+
Reading a layout does not guarantee every behavior of its original platform. Invalid declarations are diagnosed and skipped.
|
|
143
166
|
|
|
144
167
|
### Project layout switch
|
|
145
168
|
|
|
146
|
-
The plugin settings card
|
|
169
|
+
The plugin settings card has **Scan project Agent layouts** (`dsh-agent-plugins-market.scanProjectLayouts`, default off). It controls one thing: whether the project you are working in contributes skills, commands, agent roles, MCP servers and hooks from its own directories (`.claude`, `.agents`, `.codex`, `.cursor`, `.kimi`, `.zcode`, `.qoder`, `.github`). Turning it on adds those candidates immediately and turning it off removes them; configured sources and installed suites are unaffected.
|
|
147
170
|
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
MCP reads root `.mcp.json`, `.cursor/mcp.json`, and the `mcpServers` tables in `.qoder/settings.json` and `.qoder/settings.local.json` (local keys override project keys). ZCode reads `mcp.servers` from `zcode.json` and `.zcode/config.json`, with `.agents/mcp.json` as an empty-native-table fallback. Codex reads `[mcp_servers.*]` from `.codex/config.toml` through `smol-toml`, preserving stdio/HTTP configuration, environment/header references, enabled flags, tool filters and timeouts. Unsupported server options produce diagnostics; host-client mode rejects policies it cannot enforce. Relative executables resolve from the project root. Claude/Qoder settings hooks and enabled ZCode configuration hooks use the bridge's supported command-event subset. Validated hooks become private temporary runtime files removed on teardown; project files remain unchanged. Project LSP is diagnosed and not mounted: host changes are outside this plugin's scope. See the [architecture decision and supported boundaries](docs/adr/2026-09-09-layout-registry.md).
|
|
171
|
+
[Project layouts](docs/user/usage.md#project-layouts) lists the directories and files read per layout and how they are mounted.
|
|
151
172
|
|
|
152
173
|
### Verified samples
|
|
153
174
|
|
|
154
|
-
The
|
|
155
|
-
|
|
156
|
-
| Layout | Sample repository | Dialect manifest | Schema | Scanner |
|
|
157
|
-
| --- | --- | --- | --- | --- |
|
|
158
|
-
| Claude Code | [grafana/mcp-grafana](https://github.com/grafana/mcp-grafana) | `.claude-plugin/plugin.json` | valid | integrated |
|
|
159
|
-
| Codex | [saadeghi/daisyui](https://github.com/saadeghi/daisyui) | `.codex-plugin/plugin.json` | valid | shadowed |
|
|
160
|
-
| Cursor | [EveryInc/compound-engineering-plugin](https://github.com/EveryInc/compound-engineering-plugin) | `.cursor-plugin/plugin.json` + marketplace | valid | shadowed |
|
|
161
|
-
| Kimi | [obra/superpowers](https://github.com/obra/superpowers) | `.kimi-plugin/plugin.json` | valid | shadowed |
|
|
162
|
-
| Universal | [muratcankoylan/Agent-Skills-for-Context-Engineering](https://github.com/muratcankoylan/Agent-Skills-for-Context-Engineering) | `.plugin/plugin.json` | valid | integrated |
|
|
163
|
-
| agent-plugins.org v1 | [saadeghi/daisyui](https://github.com/saadeghi/daisyui) | `plugin.json` | valid | integrated |
|
|
164
|
-
| ZCode | [zenstory-ai/oh-story-claudecode](https://github.com/zenstory-ai/oh-story-claudecode) | `.zcode-plugin/plugin.json` + `marketplace.json` | valid | shadowed |
|
|
165
|
-
| Qoder CLI | [DietrichGebert/ponytail](https://github.com/DietrichGebert/ponytail) | `.qoder-plugin/plugin.json` | valid | shadowed |
|
|
166
|
-
| GitHub Copilot CLI | [headroomlabs-ai/headroom](https://github.com/headroomlabs-ai/headroom) | `.github/plugin/marketplace.json` | valid | shadowed |
|
|
167
|
-
|
|
168
|
-
**Scanner** describes the unmodified repository: **integrated** means its own manifest won; **shadowed** means another won; **unread** means no suite. These verdicts are separate from passing isolated tests. Skill collection is tested with the real Universal repository's skills and no manifests, completing coverage of all ten layouts.
|
|
169
|
-
|
|
170
|
-
Source checks covered `src/catalog/manifests.ts`, `surfaces.ts`, `validate.ts`, `native-project.ts`, and `src/runtime/hooks-mounts.ts`. The [compatibility report](docs/compat-report.md) adds one real repository per schema, read by this plugin's own scanner. This is a documentation, source and sample audit, not end-to-end compatibility certification for every platform.
|
|
175
|
+
The README repositories have offline snapshots in [`tests/fixtures/real-layouts/`](tests/fixtures/real-layouts/) with commit IDs, hashes and licenses, and each layout has an isolated reader test. The [compatibility report](docs/reference/compat-report.md) records the sampled repositories, their schema verdicts and the scanner output; [the audit](docs/user/layout-coverage.md) records independent resource checks. These are documentation, source and sample checks — not end-to-end certification for every platform.
|
|
171
176
|
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
Review third-party suites before enabling them: enabled services and hooks can execute programs. See the [runtime and security details](docs/guides/usage.md#runtime-and-security).
|
|
177
|
+
Review third-party suites before enabling them: enabled services and hooks can execute programs. See the [runtime and security details](docs/user/usage.md#runtime-and-security).
|
|
175
178
|
|
|
176
179
|
## FAQ
|
|
177
180
|
|
|
178
181
|
**Why is an installed skill or tool missing?**
|
|
179
182
|
|
|
180
|
-
Check that the suite and the relevant capability are enabled. Skills may restrict manual invocation. MCP / LSP panels show user-service failures. Project resources additionally require the project-scan switch; unsupported native fields and project LSP declarations appear in scan diagnostics
|
|
183
|
+
Check that the suite and the relevant capability are enabled. Skills may restrict manual invocation. MCP / LSP panels show user-service failures. Project resources additionally require the project-scan switch; unsupported native fields and project LSP declarations appear in scan diagnostics.
|
|
181
184
|
|
|
182
185
|
**Where do I configure MCP tokens?**
|
|
183
186
|
|
|
@@ -185,11 +188,15 @@ Open the service in **MCP services**. Missing environment references show `needs
|
|
|
185
188
|
|
|
186
189
|
**How do I add a service that no suite declares?**
|
|
187
190
|
|
|
188
|
-
Use **Add** in **MCP services** or **LSP servers**. The declaration is validated, stored
|
|
191
|
+
Use **Add** in **MCP services** or **LSP servers**. The declaration is validated, stored in `~/.agents/mcp.json` or `~/.agents/lsp.json`, and mounted through the same lifecycle as suite services. Host-observed services remain read-only.
|
|
192
|
+
|
|
193
|
+
**Do sources refresh automatically?**
|
|
194
|
+
|
|
195
|
+
Only when **Background source updates** is on: every configured source is then refreshed every 6 hours, starting one interval after you enable it. The switch is off by default, and the refresh button always works.
|
|
189
196
|
|
|
190
197
|
**What if a source download fails?**
|
|
191
198
|
|
|
192
|
-
Use a local directory, adopt a manual checkout, or configure a proxy / mirror. See [source configuration](docs/
|
|
199
|
+
Use a local directory, adopt a manual checkout, or configure a proxy / mirror. See [source configuration](docs/user/usage.md#configure-marketplace-sources).
|
|
193
200
|
|
|
194
201
|
**When do local edits become visible?**
|
|
195
202
|
|
|
@@ -201,11 +208,10 @@ Only when you tick **also delete the managed market directory** in the confirmat
|
|
|
201
208
|
|
|
202
209
|
## More documentation
|
|
203
210
|
|
|
204
|
-
- [Usage guide](docs/
|
|
205
|
-
- [Plugin specifications](schemas/README.md): per-dialect reference schemas and evidence, plus the vendored agent-plugins
|
|
206
|
-
- [Compatibility report](docs/compat-report.md): one real repository per schema, with commits, schema verdicts and scanner output.
|
|
211
|
+
- [Usage guide](docs/user/usage.md): installation, source configuration, storage, host requirements, project layouts, MCP / LSP and feedback settings.
|
|
212
|
+
- [Plugin specifications](schemas/README.md): per-dialect reference schemas and evidence, plus the vendored agent-plugins v1.0.0 contracts.
|
|
213
|
+
- [Compatibility report](docs/reference/compat-report.md): one real repository per schema, with commits, schema verdicts and scanner output.
|
|
207
214
|
- [Contributing](CONTRIBUTING.md): development setup, checks and PR workflow.
|
|
208
215
|
- [Security policy](SECURITY.md) · [Release history](CHANGELOG.md) · [MIT license](LICENSE).
|
|
209
|
-
- [Domain glossary](CONTEXT.md) · [Architecture](docs/
|
|
210
|
-
|
|
211
|
-
See [agent roles and storage](docs/guides/agent-roles.md) for installed-resource editing, model routing and migration.
|
|
216
|
+
- [Domain glossary](CONTEXT.md) · [Architecture](docs/developer/decisions/0001-catalog-centered-modular-refactor.md).
|
|
217
|
+
- [Agent roles and storage](docs/user/agent-roles.md): installed-resource editing, model routing and migration.
|