v2.41.1
v2.41.1 — patch
Fixes a CLI hang in the control-plane write-login.
run402 operator login --loopback/--step-upnow exit on their own. The loopback-PKCE flow starts a127.0.0.1server to catch the browser redirect; teardown calledserver.close(), which stops new connections but leaves the browser's keep-alive socket open, keeping Node's event loop alive. The login succeeded but the command hung until Ctrl+C. Fix: track anddestroy()the sockets, sendConnection: close, and tear down right after the token exchange. Both--loopbackand--step-upshare the fixed code path.- Adds a regression test (
cli-operator-loopback.test.mjs) that drives the loopback callback and asserts the CLI exits.
Lockstep patch of run402-mcp, run402, @run402/sdk (OIDC, provenance-attested).