github / github/copilot-sdk

Support company announcements in SDK sessions

Abierto
#2,070 0 comentarios 0 reacciones 0 asignados Ver en GitHub
enhancement
Lenguaje dominante
Java
Estrellas
10.5k
Forks
1.5k
Merge medio
1 d 11 h
PR fusionados (30 d)
128

Descripción

## Summary

Add SDK support for Copilot CLI company announcements so applications embedding the SDK can display centrally configured organization or repository messages.

## Runtime behavior

The agent runtime already supports `companyAnnouncements` (originally `launch_messages`):

- User settings can define an array of announcement strings.
- Repository settings can define the same key in `.github/copilot/settings.json` / `.github/copilot/settings.local.json`
- Repository announcements replace user-level announcements when present.
- In the interactive CLI, startup announcements flow through `NotificationService`; its TUI handler emits an ephemeral `session.info` event with `infoType: "notification"` and a message prefixed with `Company announcement:`.
- Repository announcements are similarly emitted after trusted repository settings are loaded.

Relevant runtime work (private repo):

- https://github.com/github/copilot-agent-runtime/pull/2448
- https://github.com/github/copilot-agent-runtime/pull/4134
- https://github.com/github/copilot-agent-runtime/pull/3696

Guía de contribución

Abrir la guía de contribución

Línea de trabajo

Start by tracing how SDK sessions expose runtime events, then compare the referenced runtime pull requests and the NotificationService behavior described here. Check how trusted repository settings and user settings are represented in the SDK. Done means applications can receive company announcements with the specified session.info notification format and replacement behavior.

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

Evaluación

Stack tecnológico
java
Área
api
Tipo de issue
Nueva funcionalidad
Dificultad
4/5
Tiempo estimado
3-5 días
Estado de actividad
Tranquilo
Claridad
Bastante claro
Aptitud para principiantes
45/100

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.