github / github/copilot-cli

Add git-subdir source type support to plugin marketplace schema

Aperta
#3,376 0 commenti 2 reazioni 0 assegnatari Vedi su GitHub
area:plugins
Lingua principale
Shell
Stelle
11.2k
Fork
1.9k
Merge medio
14h 16m
PR unite (30g)
6

Descrizione

### 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_

Guida per i contributori

Apri la guida per i contributori

Direzione di ricerca

Parti dal punto di ingresso `/plugin marketplace add anthropics/claude-plugins-official` e individua la validazione della sorgente del marketplace o lo schema. Riproduci il rifiuto di `git-subdir`, quindi conferma che le voci contenenti `source`, `url`, `path`, `ref` e `sha` vengono accettate e che il marketplace viene installato correttamente.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
shell
Ambito
cli, tooling
Tipo di issue
Funzionalità
Difficoltà
3/5
Tempo stimato
1-2 giorni
Stato di attività
Tranquilla
Chiarezza
Abbastanza chiara
Idoneità per principianti
58/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.