pub struct WorkspaceSummary {
pub branch: Option<String>,
pub created_at: Option<String>,
pub cwd: Option<String>,
pub git_root: Option<String>,
pub host_type: Option<WorkspaceSummaryHostType>,
pub id: String,
pub name: Option<String>,
pub repository: Option<String>,
pub updated_at: Option<String>,
pub user_named: Option<bool>,
}Expand description
Public-facing workspace metadata for this session, or null if the session has no associated workspace. Excludes runtime-internal fields (GitHub IDs, summary count, internal flags).
Experimental. This type is part of an experimental wire-protocol surface and may change or be removed in future SDK or CLI releases.
Fields§
§branch: Option<String>Branch checked out at session start, if any
created_at: Option<String>ISO 8601 timestamp when the workspace was created
cwd: Option<String>Current working directory at session start
git_root: Option<String>Resolved git root for cwd, if any
host_type: Option<WorkspaceSummaryHostType>Repository host type, if known
id: StringWorkspace identifier (1:1 with sessionId)
name: Option<String>Display name for the session, if set
repository: Option<String>Repository identifier in ‘owner/repo’ or ‘org/project/repo’ format, if any
updated_at: Option<String>ISO 8601 timestamp when the workspace was last updated
user_named: Option<bool>Whether the display name was explicitly set by the user
Trait Implementations§
Source§impl Clone for WorkspaceSummary
impl Clone for WorkspaceSummary
Source§fn clone(&self) -> WorkspaceSummary
fn clone(&self) -> WorkspaceSummary
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more