Module workspace

Module workspace 

Source
Expand description

Workspace discovery and management

Functions§

decode_workspace_folder
Decode a workspace folder URI to a path
discover_workspaces
Discover all VS Code workspaces
find_all_workspaces_for_project
Find all workspaces for a project (by name matching)
find_workspace_by_path
Find workspace by path, returning workspace ID, directory, and data. When multiple workspaces match the same path, returns the most recently modified one.
get_chat_sessions_from_workspace
Get all chat sessions from a workspace directory
get_empty_window_sessions_path
Get the path to empty window chat sessions (ALL SESSIONS in VS Code) These are chat sessions not tied to any specific workspace
get_global_storage_path
Get the VS Code globalStorage path based on the operating system
get_workspace_by_hash
Find a workspace by its hash
get_workspace_by_path
Find a workspace by project path
get_workspace_storage_path
Get the VS Code workspaceStorage path based on the operating system
normalize_path
Normalize a path for comparison

Type Aliases§

WorkspaceInfo
Type alias for workspace info tuple (hash, path, project_path, modified_time)