Expose opaque plugin identities and ownership references on discovered contributions
Ninguém assumiu esta issue ainda.
Avaliação
- Dificuldade
- 5/5
- Tempo estimado
- Mais de uma semana
- Facilidade para iniciantes
- 35/100
- Tipo de issue
- Funcionalidade
- Clareza
- Razoavelmente clara
- Status de atividade
- Ativa
- Stack de tecnologia
- java
- Domínio
- backend-api-design
Direção de pesquisa
Start by locating the plugin inventory and discovery APIs for agents, skills, instructions, hooks, and MCP servers across the supported language SDKs, then read their existing provenance fields and tests. Define and document a consistent ownership reference that resolves in the matching global or session context, including ID lifetime and same-named plugins from different sources. Done means every contribution type and supported SDK follows the contract, with tests covering resolution and global/session behavior.
Escrita pelo modelo de indexação a partir do texto da issue.
Descrição
Problem
VS Code needs to group SDK-discovered contributions under their owning plugins while leaving discovery and plugin lifecycle management to the SDK.
Please expose a common opaque plugin ID on plugin inventory entries and an owning-plugin reference on every plugin contribution: agents, skills, instructions, hooks, and MCP servers.
Without a shared ownership contract, consumers must infer relationships from names, parse contribution IDs, match filesystem paths, or scan plugin directories. Those approaches duplicate SDK responsibilities and can misattribute contributions when different plugins have the same name.
Proposed contract
- Each plugin inventory entry exposes an opaque
id. - Each plugin-owned contribution exposes an optional owning-plugin reference, for example
pluginId, whose value matches an inventory entry'sid. - Non-plugin contributions omit the reference.
- Use the same identity contract across global discovery and session-scoped APIs wherever they refer to the same plugin instance.
- Document the identity's scope and stability, including restarts, updates, and reinstallations. Distinguish same-named plugins from different marketplaces/direct sources and session-specific instances where necessary.
- Document how contributions resolve to inventory entries in the corresponding context, including session-only, built-in, and managed plugins. Consumers should not need to reconstruct an identity from installation metadata.
- Reuse or align existing provenance fields rather than introduce competing ownership identifiers.
Illustrative field names, not a required API shape:
const inventory = {
plugins: [{ id: "opaque-plugin-id", name: "review-tools", enabled: true }]
};
const discovery = {
agents: [{
id: "opaque-agent-selection-id",
name: "reviewer",
pluginId: "opaque-plugin-id"
}]
};
The agent's selection ID and the owning plugin's ID serve different purposes; callers must not parse either.
Expected consumer behavior
VS Code can join contribution results to inventory entries by the opaque plugin ID, present SDK-owned plugin groups, and use SDK-reported enablement. It does not scan plugin directories, parse manifests, match file paths, or implement another discovery mechanism.
Acceptance criteria
- Ownership attribution is available consistently for agents, skills, instructions, hooks, and MCP servers.
- Every returned plugin reference can be resolved using the documented inventory API/context.
- Same-named plugins from different sources remain distinguishable.
- Global/session behavior and ID lifetime are documented and covered by tests.
- All supported language SDKs expose the contract.
Scope
This requests ownership attribution, not filesystem roots, enablement migration, or a change to policy precedence.
Whether APIs should also enumerate contributions of disabled plugins is a separate capability question. This issue does not require scanning those contributions on the client or assume active discovery returns them.
Related VS Code work: https://github.com/microsoft/vscode/issues/343342
- Linguagem predominante
- Java
- Estrelas
- 10.7k
- Forks
- 1.5k
- Métricas de merge de PRs
- Nenhum PR com merge em 30d
Preparar o ambiente
- Sem Dockerfile nem arquivo Docker Compose
- Sem modelo de pull request
- Ler o guia de contribuição
Primeiros passos
- Leia a issue inteira e depois o guia de contribuição do projeto.
- Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
- Faça um fork do repositório e trabalhe em uma branch.
- Abra um pull request que referencie o número da issue.
Mais de github/copilot-sdk
-
Rust: ElicitationRequest drops the tool call id from elicitation.requestedTalvez livre de novo Um pull request para esta issue foi fechado sem ser mesclado. Aberta
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 78/100
github/copilot-sdk#2900 ·
-
Bump zod version to 4.6.6.Aberta
Dificuldade 1/5 Menos de uma hora Facilidade para iniciantes 84/100
github/copilot-sdk#2876 · 1 comentário · 1 reação ·
-
Python ModelLimits drops max_output_tokens from model metadataTalvez livre de novo Um pull request para esta issue foi fechado sem ser mesclado. Abertabug
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 78/100
github/copilot-sdk#2798 · 1 comentário ·
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 65/100
github/copilot-sdk#2759 ·
-
docs/AGENTS.md is repo authoring guidance, but everything in docs/ gets publishedTalvez livre de novo Um pull request para esta issue foi fechado sem ser mesclado. Abertadocumentation
Dificuldade 1/5 Menos de uma hora Facilidade para iniciantes 85/100
github/copilot-sdk#2758 ·
Todas as issues de github/copilot-sdk
Issues semelhantes
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 75/100
ls1intum/thesis-management#1473 ·
Mantenedores costumam responder em até 1 dia
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 76/100
LunaDeerMC/Dominion#301 · 1 comentário ·
-
[FEATURE] Expose external refresh, node-level translog and warmer statsTalvez já em andamento Um pull request vinculado a esta issue está aberto ou já foi mesclado. Abertauntriaged
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 68/100
opensearch-project/opensearch-prometheus-exporter#680 ·
Mantenedores costumam responder em até 2 dias
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 85/100
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 66/100
Mantenedores costumam responder em até 2 dias