Skip to content

Support company announcements in SDK sessions #2070

Description

@meagancojocar

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):

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions