github / github/app

Support runtime provider, model, and command registration from extensions

Aperta
#3,056 0 commenti 1 reazione 0 assegnatari Vedi su GitHub
Lingua principale
Nessun dato sulla lingua
Stelle
2.1k
Fork
153
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

## Summary

A user reported that extensions can register providers, models, and commands in the live session registry, but the Copilot app does not fully consume those updates.

## Reported behavior

An extension can:

- Register a provider and model through `session.rpc.provider.add`
- Register slash commands
- Emit `commands.changed`

This works in Copilot CLI. In the app:

1. The model picker does not refresh after registration.
2. If the model later appears, selecting it can fail because the app treats it as a persisted provider.
3. Extension commands do not appear after `commands.changed`.

## Expected behavior

The app should consume the live session registry, refresh models and commands after registration, and select extension models by their provider-qualified ID.

Guida per i contributori

Apri la guida per i contributori

Direzione di ricerca

Start by tracing how the app consumes the live session registry after session.rpc.provider.add and commands.changed. Follow the model picker and extension-command refresh paths, then verify that newly registered models and commands appear and that model selection uses the provider-qualified ID.

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

Valutazione

Ambito
desktop
Tipo di issue
Funzionalità
Difficoltà
4/5
Tempo stimato
3-5 giorni
Stato di attività
Attiva
Chiarezza
Abbastanza chiara
Idoneità per principianti
52/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.