From 2552d101afe46b8622a7695f38f6cd1766dd1afc Mon Sep 17 00:00:00 2001 From: Can Celik Date: Sun, 27 Sep 2026 20:57:00 +0300 Subject: feat: let agents report their own resume command (#4687) * feat: let agents report their own resume command * fix: keep reported resume commands tied to accepted sessions and current owners --- src/terminal/runtime.rs | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/terminal/runtime.rs') diff --git a/src/terminal/runtime.rs b/src/terminal/runtime.rs index ce7cab92..5f1c8a85 100644 --- a/src/terminal/runtime.rs +++ b/src/terminal/runtime.rs @@ -249,6 +249,10 @@ impl TerminalRuntime { self.0.set_full_lifecycle_authority_active(active); } + pub fn set_self_reported_agent_active(&self, active: bool) { + self.0.set_self_reported_agent_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); } -- cgit v1.2.3