Remove dead Codex skill mutation routes
This commit is contained in:
parent
c437a9c41a
commit
1ecae39464
221 changed files with 58696 additions and 59384 deletions
|
|
@ -418,8 +418,7 @@ fn server_notification_thread_target(
|
|||
}
|
||||
ServerNotification::Warning(notification) => notification.thread_id.as_deref(),
|
||||
ServerNotification::GuardianWarning(notification) => Some(notification.thread_id.as_str()),
|
||||
ServerNotification::SkillsChanged(_)
|
||||
| ServerNotification::McpServerStatusUpdated(_)
|
||||
ServerNotification::McpServerStatusUpdated(_)
|
||||
| ServerNotification::McpServerOauthLoginCompleted(_)
|
||||
| ServerNotification::AccountUpdated(_)
|
||||
| ServerNotification::AccountRateLimitsUpdated(_)
|
||||
|
|
|
|||
7
vendor/codex/codex-rs/tui/src/app/tests.rs
vendored
7
vendor/codex/codex-rs/tui/src/app/tests.rs
vendored
|
|
@ -3390,9 +3390,10 @@ async fn active_non_primary_shutdown_target_returns_none_for_non_shutdown_event(
|
|||
app.primary_thread_id = Some(ThreadId::new());
|
||||
|
||||
assert_eq!(
|
||||
app.active_non_primary_shutdown_target(&ServerNotification::SkillsChanged(
|
||||
codex_app_server_protocol::SkillsChangedNotification {},
|
||||
)),
|
||||
app.active_non_primary_shutdown_target(&ServerNotification::Warning(WarningNotification {
|
||||
thread_id: None,
|
||||
message: "test warning".to_string(),
|
||||
},)),
|
||||
None
|
||||
);
|
||||
Ok(())
|
||||
|
|
|
|||
6
vendor/codex/codex-rs/tui/src/chatwidget.rs
vendored
6
vendor/codex/codex-rs/tui/src/chatwidget.rs
vendored
|
|
@ -6436,9 +6436,6 @@ impl ChatWidget {
|
|||
);
|
||||
}
|
||||
}
|
||||
ServerNotification::SkillsChanged(_) => {
|
||||
self.refresh_skills_for_current_cwd(/*force_reload*/ true);
|
||||
}
|
||||
ServerNotification::ModelRerouted(_) => {}
|
||||
ServerNotification::Warning(notification) => self.on_warning(notification.message),
|
||||
ServerNotification::GuardianWarning(notification) => {
|
||||
|
|
@ -7018,9 +7015,6 @@ impl ChatWidget {
|
|||
EventMsg::GetHistoryEntryResponse(ev) => self.handle_history_entry_response(ev),
|
||||
EventMsg::McpListToolsResponse(ev) => self.on_list_mcp_tools(ev),
|
||||
EventMsg::ListSkillsResponse(ev) => self.on_list_skills(ev),
|
||||
EventMsg::SkillsUpdateAvailable => {
|
||||
self.refresh_skills_for_current_cwd(/*force_reload*/ true);
|
||||
}
|
||||
EventMsg::ShutdownComplete => self.on_shutdown_complete(),
|
||||
EventMsg::TurnDiff(TurnDiffEvent { unified_diff }) => self.on_turn_diff(unified_diff),
|
||||
EventMsg::DeprecationNotice(ev) => self.on_deprecation_notice(ev),
|
||||
|
|
|
|||
Reference in a new issue