Attempts to auto-connect to a runtime using configured strategies in order.
Document being opened.
Currently selected runtime, if any.
Datalayer client for API calls.
Authentication provider for checking login state.
OptionalruntimesTreeProvider: RuntimesTreeProviderOptional tree provider for accessing cached runtimes.
Result with runtime and strategy name, or null if all strategies fail.
Service for auto-connecting documents to runtimes based on configured strategies.