Add git-subdir source type support to plugin marketplace schema
- 主要语言
- Shell
- 星标
- 11.2k
- 派生
- 1.9k
- 平均合并
- 14 小时 16 分钟
- 30 天内合并 PR
- 6
描述
### Describe the feature or problem you'd like to solve
/plugin marketplace add anthropics/claude-plugins-official fails with ~40 plugins.N.source: Invalid input errors because Copilot CLI's marketplace schema doesn't accept the git-subdir source type used widely in the Claude Code plugin ecosystem.
### Proposed solution
_No response_
### Example prompts or workflows
Example of a rejected entry (valid in Claude Code, rejected by Copilot CLI):
{
"name": "stripe",
"source": {
"source": "git-subdir",
"url": "https://github.com/stripe/ai.git",
"path": "providers/claude/plugin",
"ref": "main",
"sha": "ec93d4c4b9ffdbc994ac45ce692d4ec1cdb755f0"
}
}
Currently only string paths and {"source": "url", "url": "...", "sha": "..."} (whole-repo) are accepted. Without git-subdir support, ~40 of ~170 plugins in Anthropic's
official marketplace — including AWS, Stripe, Zapier, Shopify, Microsoft Dataverse, SAP, Auth0, Airtable, Expo, Railway, Neon, Snowflake, ServiceNow, and others — cannot be
installed via Copilot CLI. Please add git-subdir to the accepted source schema for plugin marketplace entries so the Claude Code ecosystem works out of the box.
Repro: /plugin marketplace add anthropics/claude-plugins-official
### Additional context
_No response_
贡献指南
调研方向
从 `/plugin marketplace add anthropics/claude-plugins-official` 入口开始,定位 marketplace 源验证或 schema。重现 `git-subdir` 被拒绝的情况,然后确认包含 `source`、`url`、`path`、`ref` 和 `sha` 的条目会被接受,并且 marketplace 能够成功安装。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- shell
- 领域
- cli, tooling
- Issue 类型
- 功能
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 活跃度
- 冷清
- 描述清晰度
- 基本清楚
- 新手友好度
- 58/100