File size: 1,326 Bytes
88c4c60 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 | // Cloudflare service
export {
enableTunnel,
disableTunnel,
getTunnelStatus,
isTunnelManuallyDisabled,
isTunnelReconnecting,
getTunnelService,
setTunnelUnexpectedExitCallback,
} from "./cloudflare/manager.js";
export {
killCloudflared,
isCloudflaredRunning,
ensureCloudflared,
getDownloadStatus,
} from "./cloudflare/cloudflared.js";
export { probeUrlAlive as probeCloudflareAlive } from "./cloudflare/healthCheck.js";
// Tailscale service
export {
enableTailscale,
disableTailscale,
getTailscaleStatus,
isTailscaleReconnecting,
getTailscaleService,
} from "./tailscale/manager.js";
export {
isTailscaleInstalled,
isTailscaleRunning,
isTailscaleRunningStrict,
isTailscaleLoggedIn,
isTailscaleLoggedInStrict,
isSystemDaemonRunning,
isDaemonAlive,
startFunnel,
getTailscaleBin,
installTailscale,
startLogin,
startDaemonWithPassword,
TAILSCALE_SOCKET,
} from "./tailscale/tailscale.js";
export { probeUrlAlive as probeTailscaleAlive } from "./tailscale/healthCheck.js";
// Shared
export { loadState, generateShortId } from "./shared/state.js";
export { checkInternet } from "./shared/internetCheck.js";
export {
RESTART_COOLDOWN_MS,
NETWORK_SETTLE_MS,
WATCHDOG_INTERVAL_MS,
NETWORK_CHECK_INTERVAL_MS,
VIRTUAL_IFACE_REGEX,
} from "./shared/watchdogConfig.js";
|