v1.2.1 — Windows device-login fix; configure only installed tools
Fixes & improvements
Windows device-login no longer hangs
First-time device login on Windows previously hung on "Fetching auth token" with no browser. The browser is opened from a scheduled task, and rundll32 url.dll,FileProtocolHandler silently failed in that non-interactive context (while the fallback URL was discarded to nul).
openBrowseron Windows now usescmd /c start "" <url>, which reliably launches the default browser from a scheduled task.- The scheduled-task child's device-login output (sign-in URL + any errors) is streamed back to the parent in real time, so a failed auto-open shows a copy-paste URL instead of an apparent hang.
Configure only installed tools
--claude-code/--codex/--claude-desktopnow mean "configure if installed" — an explicit flag for an absent tool is skipped with a warning instead of writing a stray locked config.- When no supported tool is installed, the binary exits 0 before the token fetch (clean no-op, no login popup) — so it's safe to push all flags to an entire fleet.
New diagnostic flags
--debug— verbose logging; surfaces the device-login browser URL and streams the Windows child-process output; keeps the child log file for inspection.--log-file <path>— append all log output to a file (useful for headless/MDM runs with no console).
Assets
Prebuilt binaries for macOS (arm64/amd64), Linux (amd64), and Windows (amd64). Built with -trimpath -ldflags="-s -w".