open_subwindow

Function open_subwindow 

Source
pub fn open_subwindow(
    state: &Arc<AppState>,
    parent_instance_id: String,
) -> Result<Value, String>
Expand description

Open a sub-window tied to parent_instance_id. Not exposed to users — reserved for agent / backend callers that need a transient auxiliary top-level window (tool-spawned panels, diff views, etc.). Sub-windows are hidden from the taskbar via ITaskbarList::DeleteTab and close when their parent full instance closes.