mirror of
https://github.com/davidkaya/aryx.git
synced 2026-08-07 12:18:44 +02:00
feat: add Copilot version and account diagnostics
- report Copilot CLI version freshness as latest, outdated, or unknown - expose active Copilot account metadata from the SDK auth status - add best-effort GitHub organization context when gh is available - document the frontend follow-up in HANDOVER.md Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
@@ -12,11 +12,31 @@ export type SidecarConnectionStatus =
|
||||
| 'copilot-auth-required'
|
||||
| 'copilot-error';
|
||||
|
||||
export type SidecarCopilotCliVersionStatus = 'latest' | 'outdated' | 'unknown';
|
||||
|
||||
export interface SidecarCopilotCliVersionDiagnostics {
|
||||
status: SidecarCopilotCliVersionStatus;
|
||||
installedVersion?: string;
|
||||
latestVersion?: string;
|
||||
detail?: string;
|
||||
}
|
||||
|
||||
export interface SidecarCopilotAccountDiagnostics {
|
||||
authenticated: boolean;
|
||||
login?: string;
|
||||
host?: string;
|
||||
authType?: string;
|
||||
statusMessage?: string;
|
||||
organizations?: string[];
|
||||
}
|
||||
|
||||
export interface SidecarConnectionDiagnostics {
|
||||
status: SidecarConnectionStatus;
|
||||
summary: string;
|
||||
detail?: string;
|
||||
copilotCliPath?: string;
|
||||
copilotCliVersion?: SidecarCopilotCliVersionDiagnostics;
|
||||
account?: SidecarCopilotAccountDiagnostics;
|
||||
checkedAt: string;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user