fix: pending messages in /agent (#13240)

This commit is contained in:
jif-oai
2026-03-04 10:17:29 +00:00
committed by GitHub
parent 49634b7f9c
commit e4a202ea52
5 changed files with 960 additions and 7 deletions

View File

@@ -579,6 +579,10 @@ impl BottomPane {
self.composer.current_text_with_pending()
}
pub(crate) fn composer_pending_pastes(&self) -> Vec<(String, String)> {
self.composer.pending_pastes()
}
pub(crate) fn apply_external_edit(&mut self, text: String) {
self.composer.apply_external_edit(text);
self.request_redraw();
@@ -604,6 +608,11 @@ impl BottomPane {
urls
}
pub(crate) fn set_composer_pending_pastes(&mut self, pending_pastes: Vec<(String, String)>) {
self.composer.set_pending_pastes(pending_pastes);
self.request_redraw();
}
/// Update the status indicator header (defaults to "Working") and details below it.
///
/// Passing `None` clears any existing details. No-ops if the status indicator is not active.