diff options
| author | Ogulcan Celik <ogulcancelik@gmail.com> | 2026-06-10 15:24:24 +0300 |
|---|---|---|
| committer | Ogulcan Celik <ogulcancelik@gmail.com> | 2026-06-10 15:33:45 +0300 |
| commit | 36a1b7f86444871f0c38ff36510a6e3c2eec48c6 (patch) | |
| tree | 4a2d100eef7f26af7feaa93ce661423c3994c54e /src/terminal/runtime.rs | |
| parent | 8d13492926829c5cf0ea42c8613344cd65ff59fa (diff) | |
feat: distribute agent detection manifests
Diffstat (limited to 'src/terminal/runtime.rs')
| -rw-r--r-- | src/terminal/runtime.rs | 19 |
1 files changed, 19 insertions, 0 deletions
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<tokio::sync::Notify> { + 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) } |
