From 36a1b7f86444871f0c38ff36510a6e3c2eec48c6 Mon Sep 17 00:00:00 2001 From: Ogulcan Celik Date: Wed, 10 Jun 2026 15:24:24 +0300 Subject: feat: distribute agent detection manifests --- src/terminal/runtime.rs | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) (limited to 'src/terminal/runtime.rs') diff --git a/src/terminal/runtime.rs b/src/terminal/runtime.rs index 5d1ce1d7..727e9929 100644 --- a/src/terminal/runtime.rs +++ b/src/terminal/runtime.rs @@ -197,6 +197,21 @@ impl TerminalRuntime { self.0.begin_graceful_release(agent); } + pub fn reset_agent_detection(&self) { + self.0.reset_agent_detection(); + } + + #[cfg(test)] + pub(crate) fn agent_detection_reset_notify_for_test( + &self, + ) -> std::sync::Arc { + self.0.agent_detection_reset_notify_for_test() + } + + pub fn set_full_lifecycle_authority_active(&self, active: bool) { + self.0.set_full_lifecycle_authority_active(active); + } + pub fn resize(&self, rows: u16, cols: u16, cell_width_px: u32, cell_height_px: u32) { self.0.resize(rows, cols, cell_width_px, cell_height_px); } @@ -250,6 +265,10 @@ impl TerminalRuntime { self.0.visible_ansi() } + pub fn detection_text(&self) -> String { + self.0.detection_text() + } + pub fn recent_text(&self, lines: usize) -> String { self.0.recent_text(lines) } -- cgit v1.2.3