feat(app-server): add v2 deprecation notice (#8285)

Add a v2 event for deprecation notices so we can get rid of
`codex/event/deprecation_notice`.
This commit is contained in:
Owen Lin
2025-12-18 13:45:36 -08:00
committed by GitHub
parent 2f048f2063
commit d7ae342ff4
3 changed files with 21 additions and 0 deletions

View File

@@ -539,6 +539,7 @@ server_notification_definitions! {
ReasoningSummaryPartAdded => "item/reasoning/summaryPartAdded" (v2::ReasoningSummaryPartAddedNotification),
ReasoningTextDelta => "item/reasoning/textDelta" (v2::ReasoningTextDeltaNotification),
ContextCompacted => "thread/compacted" (v2::ContextCompactedNotification),
DeprecationNotice => "deprecationNotice" (v2::DeprecationNoticeNotification),
/// Notifies the user of world-writable directories on Windows, which cannot be protected by the sandbox.
WindowsWorldWritableWarning => "windows/worldWritableWarning" (v2::WindowsWorldWritableWarningNotification),