Skip to main content

Module copilot_version

Module copilot_version 

Source
Expand description

Copilot Chat extension version detection and compatibility analysis

Detects installed VS Code Copilot Chat extension versions, extracts version information from session data, and checks compatibility between extension versions and VS Code versions.

This module supports the recovery pipeline by identifying version mismatches that can cause session recovery failures.

Structs§

CopilotChatInstall
Information about an installed Copilot Chat extension
CopilotVersionReport
Comprehensive Copilot Chat version report
VersionCompatEntry
Known Copilot Chat version ranges and their session format characteristics. Derived from the CHANGELOG at https://github.com/microsoft/vscode-copilot-chat
VersionIssue
A version compatibility issue

Functions§

build_version_report
Build a full version report by detecting installed extensions and optionally scanning session files for embedded version info.
detect_installed_versions
Detect all installed Copilot Chat extension versions.
extract_session_versions
Extract the extensionVersion from JSONL session content.
format_version_report
Format the version report for human-readable console output
format_version_report_json
Format the version report as JSON
known_compatibility
Get the known compatibility table