github / github/copilot-sdk

Support company announcements in SDK sessions

Open
#2,070 0 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Java
Stars
10.5k
Forks
1.5k
Avg merge
1d 11h
Merged PRs (30d)
127

Description

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

Contributor guide

Open the contributing guide

Research direction

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.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
api
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.