Dashboard › cli › Distillation
384f7b0e-89e5-449f-b3f4-cf7bf1df1eb0["lore_tm_v1_FDNyK9J8B42o9mLU9LctL7Epe_q9H7WmxkDVUbFyDgk","lore_tm_v1_LixfsBXIhON9Xh1yf5UA0ps7iDh6BhG_Wc7fMgf8tzs"]
Response to the caller so it never repeats the successful probe request.fetchUpgradeProbe(source, options) uses options.fetch ?? customFetch, calls options.getProbeUrl(source), supplies getGitHubHeaders(), and forwards options.signal.fetchUpgradeProbe() rethrows errors whose name === "AbortError", maps TLS certificate errors detected by isTlsCertError(error) to new UpgradeError("network_error", buildTlsErrorDetail(error)), and otherwise wraps probe failures as upgrade network errors.ResolveUpgradeSourceOptions with optional fetch?: typeof fetch, optional shared cancellation signal?: AbortSignal, and ordered sources?: readonly UpgradeSource[]; fetch defaults to the CLI CA-aware customFetch, while sources default to all configured upgrade sources.{ ok: true, content } on success or { ok: false, reason } on failure rather than throwing.NODE_EXTRA_CA_CERTS; where the relevant Node function is unavailable and under Bun, the implementation uses per-request tls.ca.