pub struct WindowReport {
pub key: String,
pub folders: Vec<PathBuf>,
pub tabs: usize,
pub terminals: usize,
}Expand description
A companion report of one VS Code window’s embedded Claude sessions.
The wire payload of the window op. The companion cannot expose a tab’s
session_id (Claude Code’s extension has no public API — ADR-0052), so it
reports only the counts of Claude tabs/terminals plus the window’s folders;
the join to a specific session is by cwd.
Fields§
§key: StringThe companion-owned per-window key (also the worktrees registration key).
folders: Vec<PathBuf>The window’s workspace-folder absolute paths, for the cwd join.
tabs: usizeHow many Claude editor tabs (claudeVSCodePanel webviews) the window has.
terminals: usizeHow many Claude Code integrated terminals the window has.
Trait Implementations§
Source§impl Clone for WindowReport
impl Clone for WindowReport
Source§fn clone(&self) -> WindowReport
fn clone(&self) -> WindowReport
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for WindowReport
impl Debug for WindowReport
Source§impl<'de> Deserialize<'de> for WindowReport
impl<'de> Deserialize<'de> for WindowReport
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for WindowReport
impl RefUnwindSafe for WindowReport
impl Send for WindowReport
impl Sync for WindowReport
impl Unpin for WindowReport
impl UnsafeUnpin for WindowReport
impl UnwindSafe for WindowReport
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more