github / github/app

Support runtime provider, model, and command registration from extensions

Abierto
#3,056 0 comentarios 1 reacción 0 asignados Ver en GitHub
Lenguaje dominante
Sin datos de lenguaje
Estrellas
2.1k
Forks
153
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

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

Guía de contribución

Abrir la guía de contribución

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Evaluación

Área
desktop
Tipo de issue
Nueva funcionalidad
Dificultad
4/5
Tiempo estimado
3-5 días
Estado de actividad
Activo
Claridad
Bastante claro
Aptitud para principiantes
52/100

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.