From 05a19bec1687ff21350f9d04c9556fd13c665144 Mon Sep 17 00:00:00 2001 From: redshift <213178690+1ftredsh@users.noreply.github.com> Date: Fri, 14 Aug 2026 19:17:50 +0100 Subject: [PATCH] refactor: base 'already local' guard on daemonUrl only Match the codebase's isRemote check (!!config.daemonUrl). An orphaned authUrl without daemonUrl is already local from the daemon's perspective, so the guard should only check daemonUrl. --- src/cli.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cli.ts b/src/cli.ts index 1a39908..aefdc49 100644 --- a/src/cli.ts +++ b/src/cli.ts @@ -593,7 +593,7 @@ program .action(async () => { const config = await loadConfig(); - if (!config.daemonUrl && !config.authUrl) { + if (!config.daemonUrl) { console.log("Already in local mode — no remote daemon URL is configured."); return; }