github / github/copilot-sdk

Support company announcements in SDK sessions

オープン
#2,070 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
enhancement
主要言語
Java
スター
10.5k
フォーク
1.5k
平均マージ
1日 11時間
マージ済み PR(30日)
128

説明

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

コントリビューションガイド

コントリビューションガイドを開く

調査の方向性

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.

索引モデルが issue の本文から書いたものです。

評価

技術スタック
java
領域
api
issue の種類
機能追加
難易度
4/5
見積もり時間
3〜5日
活発さ
静か
明瞭さ
おおむね明確
初心者へのやさしさ
45/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。