Skip to content

ConnectionDiagnosticsResult

Defined in: src/diagnostics/index.ts:58

Result returned by runConnectionDiagnostics.

PropertyTypeDescriptionDefined in
capabilities?CapabilitySetCapability snapshot reported by the connected session.src/diagnostics/index.ts:64
error?{ code?: string; message: string; name?: string; }Captured error summary when the diagnostics could not complete.src/diagnostics/index.ts:74
error.code?string-src/diagnostics/index.ts:74
error.messagestring-src/diagnostics/index.ts:74
error.name?string-src/diagnostics/index.ts:74
hoststringProfile host (after redaction).src/diagnostics/index.ts:62
okbooleanWhether all probes ran without throwing.src/diagnostics/index.ts:72
provider?ProviderIdResolved provider id used to open the session.src/diagnostics/index.ts:60
redactedProfileRecord<string, unknown>Redacted connection profile mirroring redactConnectionProfile.src/diagnostics/index.ts:66
sample?readonly RemoteEntry[]Sample of entries returned by the optional fs.list probe.src/diagnostics/index.ts:70
timingsConnectionDiagnosticTimingsPer-step duration measurements.src/diagnostics/index.ts:68