dsh-agent-plugins-market 0.9.2 → 0.11.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.
Files changed (78) hide show
  1. package/README.md +6 -6
  2. package/README.zh.md +6 -6
  3. package/client/client.js +339 -223
  4. package/client/client.js.map +1 -1
  5. package/lib/packages/market-bundle/src/application/catalog.js +8 -0
  6. package/lib/packages/market-bundle/src/index.js +4 -4
  7. package/lib/packages/market-bundle/src/platform/settings-namespace.js +4 -16
  8. package/lib/packages/market-bundle/src/platform/settings-schema.js +6 -6
  9. package/lib/packages/market-bundle/src/routes.js +14 -0
  10. package/lib/packages/market-catalog/src/scanning/archive.js +31 -0
  11. package/lib/packages/market-catalog/src/scanning/validate.js +18 -1
  12. package/lib/packages/market-contracts/src/contracts/market.js +1 -0
  13. package/lib/packages/market-contracts/src/contracts/settings.js +20 -43
  14. package/lib/packages/market-contracts/src/ports/ports.js +1 -0
  15. package/lib/packages/market-mcp/src/application/mcp/mcp-direct-config.js +28 -0
  16. package/lib/packages/market-mcp/src/application/mcp/mcp-status.js +36 -8
  17. package/lib/packages/market-mcp/src/application/mcp-service.js +44 -3
  18. package/lib/packages/market-mcp/src/runtime/mcp/bridge/connection.js +42 -23
  19. package/lib/packages/market-mcp/src/runtime/mcp/bridge/oauth.js +29 -2
  20. package/lib/packages/market-mcp/src/runtime/mcp/bridge/transport.js +8 -5
  21. package/lib/packages/market-runtime/src/runtime/agents/agent-role-router.js +2 -1
  22. package/lib/packages/market-runtime/src/runtime/agents/subagent-seam.js +29 -0
  23. package/lib/packages/market-runtime/src/runtime/agents/teammate-role-runtime.js +8 -2
  24. package/lib/packages/market-runtime/src/runtime/core/reconciler.js +12 -0
  25. package/lib/packages/market-runtime/src/runtime/host/scoped-contributors.js +4 -0
  26. package/lib/packages/market-runtime/src/runtime/surfaces/project-runtime.js +4 -1
  27. package/lib/types/packages/market-bundle/src/application/catalog.d.ts +6 -0
  28. package/lib/types/packages/market-bundle/src/index.d.ts +1 -1
  29. package/lib/types/packages/market-bundle/src/platform/settings-namespace.d.ts +4 -18
  30. package/lib/types/packages/market-bundle/src/platform/settings-schema.d.ts +6 -6
  31. package/lib/types/packages/market-contracts/src/contracts/market.d.ts +1 -0
  32. package/lib/types/packages/market-contracts/src/contracts/mcp-status.d.ts +16 -0
  33. package/lib/types/packages/market-contracts/src/contracts/settings.d.ts +15 -39
  34. package/lib/types/packages/market-contracts/src/ports/ports.d.ts +11 -0
  35. package/lib/types/packages/market-contracts/src/ports/queries.d.ts +2 -0
  36. package/lib/types/packages/market-mcp/src/application/mcp/mcp-direct-config.d.ts +12 -0
  37. package/lib/types/packages/market-mcp/src/application/mcp/mcp-status.d.ts +8 -2
  38. package/lib/types/packages/market-mcp/src/application/mcp-service.d.ts +12 -0
  39. package/lib/types/packages/market-mcp/src/runtime/mcp/bridge/connection.d.ts +4 -1
  40. package/lib/types/packages/market-mcp/src/runtime/mcp/bridge/oauth.d.ts +14 -0
  41. package/lib/types/packages/market-mcp/src/runtime/mcp/bridge/transport.d.ts +5 -1
  42. package/lib/types/packages/market-runtime/src/runtime/agents/agent-role-router.d.ts +2 -10
  43. package/lib/types/packages/market-runtime/src/runtime/agents/subagent-seam.d.ts +63 -0
  44. package/lib/types/packages/market-runtime/src/runtime/core/reconciler.d.ts +13 -0
  45. package/package.json +67 -62
  46. package/schemas/1.0.0/mcp.schema.json +0 -120
  47. package/schemas/1.0.0/plugin.schema.json +0 -65
  48. package/schemas/1.1.0/mcp.schema.json +0 -120
  49. package/schemas/1.1.0/plugin.schema.json +0 -65
  50. package/schemas/README.md +0 -79
  51. package/schemas/agent-plugins/spec.md +0 -62
  52. package/schemas/claude-code/marketplace.schema.json +0 -143
  53. package/schemas/claude-code/plugin.schema.json +0 -105
  54. package/schemas/claude-code/spec.md +0 -108
  55. package/schemas/codex/marketplace.schema.json +0 -78
  56. package/schemas/codex/plugin.schema.json +0 -77
  57. package/schemas/codex/spec.md +0 -91
  58. package/schemas/com.deepseek.harness/namespace.schema.json +0 -42
  59. package/schemas/com.deepseek.harness/spec.md +0 -52
  60. package/schemas/cursor/marketplace.schema.json +0 -82
  61. package/schemas/cursor/plugin.schema.json +0 -58
  62. package/schemas/cursor/spec.md +0 -92
  63. package/schemas/github-copilot/marketplace.schema.json +0 -107
  64. package/schemas/github-copilot/plugin.schema.json +0 -89
  65. package/schemas/github-copilot/spec.md +0 -105
  66. package/schemas/kimi/marketplace.schema.json +0 -38
  67. package/schemas/kimi/plugin.schema.json +0 -84
  68. package/schemas/kimi/spec.md +0 -94
  69. package/schemas/qoder/marketplace.schema.json +0 -115
  70. package/schemas/qoder/plugin.schema.json +0 -127
  71. package/schemas/qoder/spec.md +0 -111
  72. package/schemas/skill-collection/spec.md +0 -37
  73. package/schemas/universal/marketplace.schema.json +0 -98
  74. package/schemas/universal/plugin.schema.json +0 -49
  75. package/schemas/universal/spec.md +0 -53
  76. package/schemas/zcode/marketplace.schema.json +0 -161
  77. package/schemas/zcode/plugin.schema.json +0 -89
  78. package/schemas/zcode/spec.md +0 -102
package/README.md CHANGED
@@ -57,7 +57,7 @@ English | [简体中文](README.zh.md) | [Documentation](https://sivan757.github
57
57
  4. The market already lists one first-party source. Press **Refresh** to fetch its suites. To bring in more, add a source such as `https://github.com/anthropics/claude-plugins-official`.
58
58
  5. Open a suite, review its contents, then install it and keep it enabled. Skills appear in the **Skills** tab and in the `/` menu. Answer any credential notice on **MCP services** before you use that suite's tools.
59
59
 
60
- Terminal alternative: `dsh plugin --profile <name> add dsh-agent-plugins-market`. Requirements, profile configuration and other install options live in the [usage guide](https://github.com/Sivan757/dsh-agent-plugins-market/blob/main/docs/user/usage.md#installation-options).
60
+ Terminal alternative: `dsh plugin --profile <name> add dsh-agent-plugins-market`. Requirements, profile configuration and other install options live in the [install guide](https://sivan757.github.io/dsh-agent-plugins-market/docs/install/#installation-options).
61
61
 
62
62
  ## Highlights
63
63
 
@@ -94,7 +94,7 @@ The workspace has seven tabs:
94
94
 
95
95
  A **source** is where content comes from. A **suite** is an installable unit discovered there. Adding a source discovers its suites. Enabling a suite turns its runtime capabilities on.
96
96
 
97
- Your own content lives under `~/.agents/`: skills, commands and personas as Markdown, hooks in `hooks.json`, and the MCP and LSP services you add in `mcp.json` and `lsp.json`. Project-native resources stay in the project. See [storage and discovery](https://github.com/Sivan757/dsh-agent-plugins-market/blob/main/docs/user/usage.md#storage-and-discovery).
97
+ Your own content lives under `~/.agents/`: skills, commands and personas as Markdown, hooks in `hooks.json`, and the MCP and LSP services you add in `mcp.json` and `lsp.json`. Project-native resources stay in the project. See [storage and discovery](https://sivan757.github.io/dsh-agent-plugins-market/docs/resources/#storage-and-discovery).
98
98
 
99
99
  ## Compatibility
100
100
 
@@ -125,11 +125,11 @@ More questions: [FAQ](https://sivan757.github.io/dsh-agent-plugins-market/faq/).
125
125
  ## Documentation
126
126
 
127
127
  - [Install guide](https://sivan757.github.io/dsh-agent-plugins-market/install/): prerequisites and the first suite, step by step.
128
- - [Usage guide](https://github.com/Sivan757/dsh-agent-plugins-market/blob/main/docs/user/usage.md): source configuration, storage, project layouts, MCP, LSP and settings.
128
+ - [User guide](https://sivan757.github.io/dsh-agent-plugins-market/docs/): one page per task, from installation to the workspace.
129
129
  - [Compatible plugins](https://sivan757.github.io/dsh-agent-plugins-market/compatible-plugins/): layouts, precedence and verified samples.
130
- - [Plugin specifications](https://github.com/Sivan757/dsh-agent-plugins-market/blob/main/schemas/README.md): per-dialect reference schemas and the [`com.deepseek.harness`](https://github.com/Sivan757/dsh-agent-plugins-market/blob/main/schemas/com.deepseek.harness/spec.md) namespace.
131
- - [Contributing](https://github.com/Sivan757/dsh-agent-plugins-market/blob/main/CONTRIBUTING.md) · [Security](https://github.com/Sivan757/dsh-agent-plugins-market/blob/main/SECURITY.md) · [Changelog](https://github.com/Sivan757/dsh-agent-plugins-market/blob/main/CHANGELOG.md) · [License](https://github.com/Sivan757/dsh-agent-plugins-market/blob/main/LICENSE).
132
- - [Domain glossary](https://github.com/Sivan757/dsh-agent-plugins-market/blob/main/CONTEXT.md) · [Agent roles](https://github.com/Sivan757/dsh-agent-plugins-market/blob/main/docs/user/agent-roles.md) · [Release process](https://github.com/Sivan757/dsh-agent-plugins-market/blob/main/docs/developer/release/release-process.md).
130
+ - [Plugin specifications](https://github.com/Sivan757/dsh-agent-plugins-market/blob/main/packages/market-catalog/schemas/README.md): per-dialect reference schemas and the [`com.deepseek.harness`](https://github.com/Sivan757/dsh-agent-plugins-market/blob/main/packages/market-catalog/schemas/com.deepseek.harness/spec.md) namespace.
131
+ - [Contributing](https://github.com/Sivan757/dsh-agent-plugins-market/blob/main/.github/CONTRIBUTING.md) · [Security](https://github.com/Sivan757/dsh-agent-plugins-market/blob/main/.github/SECURITY.md) · [Changelog](https://github.com/Sivan757/dsh-agent-plugins-market/blob/main/CHANGELOG.md) · [License](https://github.com/Sivan757/dsh-agent-plugins-market/blob/main/LICENSE).
132
+ - [Domain glossary](https://github.com/Sivan757/dsh-agent-plugins-market/blob/main/CONTEXT.md) · [Agent roles](https://sivan757.github.io/dsh-agent-plugins-market/docs/agent-roles/) · [Release process](https://github.com/Sivan757/dsh-agent-plugins-market/blob/main/docs/developer/release/release-process.md).
133
133
 
134
134
  ## Community
135
135
 
package/README.zh.md CHANGED
@@ -57,7 +57,7 @@
57
57
  4. 市场里已经列出一个第一方来源。点**刷新**即可拉取其中的套件。想补充更多内容时再添加来源,例如 `https://github.com/anthropics/claude-plugins-official`。
58
58
  5. 打开套件查看内容,确认后安装并保持启用。技能会出现在**技能**页签和聊天中的 `/` 菜单里;如果套件提供 MCP,先在 **MCP 服务**处理凭据提示,再使用它的工具。
59
59
 
60
- 命令行替代方式:`dsh plugin --profile <name> add dsh-agent-plugins-market`。环境要求、profile 配置与其他安装方式见[使用指南](https://github.com/Sivan757/dsh-agent-plugins-market/blob/main/docs/user/usage.zh.md#其他安装方式)。
60
+ 命令行替代方式:`dsh plugin --profile <name> add dsh-agent-plugins-market`。环境要求、profile 配置与其他安装方式见[安装指南](https://sivan757.github.io/dsh-agent-plugins-market/docs/zh/install/#其他安装方式)。
61
61
 
62
62
  ## 功能亮点
63
63
 
@@ -94,7 +94,7 @@
94
94
 
95
95
  **来源(source)**表示内容来自哪里,**套件(suite)**是从中发现的可安装单元。添加来源用于发现套件,启用套件决定其运行时能力是否生效。
96
96
 
97
- 你自己创作的内容都放在 `~/.agents/` 下:技能、命令和角色是 Markdown 文件,hooks 放在 `hooks.json`,工作区里新增的 MCP 与 LSP 服务分别保存在 `mcp.json` 与 `lsp.json`。项目原生资源继续保留在项目中。路径与优先级见[存储与发现](https://github.com/Sivan757/dsh-agent-plugins-market/blob/main/docs/user/usage.zh.md#存储与发现)。
97
+ 你自己创作的内容都放在 `~/.agents/` 下:技能、命令和角色是 Markdown 文件,hooks 放在 `hooks.json`,工作区里新增的 MCP 与 LSP 服务分别保存在 `mcp.json` 与 `lsp.json`。项目原生资源继续保留在项目中。路径与优先级见[存储与发现](https://sivan757.github.io/dsh-agent-plugins-market/docs/zh/resources/#存储与发现)。
98
98
 
99
99
  ## 兼容性
100
100
 
@@ -125,11 +125,11 @@
125
125
  ## 文档
126
126
 
127
127
  - [安装指南](https://sivan757.github.io/dsh-agent-plugins-market/install/):从环境要求到第一个套件,逐步说明。
128
- - [使用指南](https://github.com/Sivan757/dsh-agent-plugins-market/blob/main/docs/user/usage.zh.md):来源配置、存储、项目布局、MCP、LSP 与各项设置。
128
+ - [使用指南](https://sivan757.github.io/dsh-agent-plugins-market/docs/):按任务分页,从安装到工作区行为。
129
129
  - [兼容的插件市场](https://sivan757.github.io/dsh-agent-plugins-market/compatible-plugins/):布局、优先级与抽样验证。
130
- - [插件规范](https://github.com/Sivan757/dsh-agent-plugins-market/blob/main/schemas/README.md):各布局的参考 schema,以及 [`com.deepseek.harness`](https://github.com/Sivan757/dsh-agent-plugins-market/blob/main/schemas/com.deepseek.harness/spec.md) 扩展命名空间。
131
- - [贡献指南](https://github.com/Sivan757/dsh-agent-plugins-market/blob/main/CONTRIBUTING.md) · [安全策略](https://github.com/Sivan757/dsh-agent-plugins-market/blob/main/SECURITY.md) · [更新日志](https://github.com/Sivan757/dsh-agent-plugins-market/blob/main/CHANGELOG.md) · [MIT 许可](https://github.com/Sivan757/dsh-agent-plugins-market/blob/main/LICENSE)。
132
- - [领域词汇表](https://github.com/Sivan757/dsh-agent-plugins-market/blob/main/CONTEXT.md) · [代理角色](https://github.com/Sivan757/dsh-agent-plugins-market/blob/main/docs/user/agent-roles.zh.md) · [发布流程](https://github.com/Sivan757/dsh-agent-plugins-market/blob/main/docs/developer/release/release-process.md)。
130
+ - [插件规范](https://github.com/Sivan757/dsh-agent-plugins-market/blob/main/packages/market-catalog/schemas/README.md):各布局的参考 schema,以及 [`com.deepseek.harness`](https://github.com/Sivan757/dsh-agent-plugins-market/blob/main/packages/market-catalog/schemas/com.deepseek.harness/spec.md) 扩展命名空间。
131
+ - [贡献指南](https://github.com/Sivan757/dsh-agent-plugins-market/blob/main/.github/CONTRIBUTING.md) · [安全策略](https://github.com/Sivan757/dsh-agent-plugins-market/blob/main/.github/SECURITY.md) · [更新日志](https://github.com/Sivan757/dsh-agent-plugins-market/blob/main/CHANGELOG.md) · [MIT 许可](https://github.com/Sivan757/dsh-agent-plugins-market/blob/main/LICENSE)。
132
+ - [领域词汇表](https://github.com/Sivan757/dsh-agent-plugins-market/blob/main/CONTEXT.md) · [代理角色](https://sivan757.github.io/dsh-agent-plugins-market/docs/zh/agent-roles/) · [发布流程](https://github.com/Sivan757/dsh-agent-plugins-market/blob/main/docs/developer/release/release-process.md)。
133
133
 
134
134
  ## 交流群
135
135