v3.59.16
v3.59.16 — flag-parsing fixes (--no-color, --no-browser) + AgentDB lock-state fix
Fixed 4
- hooks statusline now honors the --no-color flag, which the parser stores as color: false rather than noColor
- auth login now honors the --no-browser flag, which the parser stores as browser: false, fixing the manual sign-in flow on hosts isProbablyHeadless() does not recognize
- inspectAgentdbLock() now reports a recent state distinct from live, so a dead lock holder younger than the stale threshold is no longer treated as an active writer indefinitely
- inspectAgentdbLock() no longer returns a negative lock age caused by filesystem mtime and Date.now() drift
From ruflo
What's new
- fix(hooks): honor
--no-colorinhooks statusline(#4387) — the parser stores--no-colorascolor: false, notnoColor; the statusline command now checks for that too. - fix(auth): honor
--no-browserforauth login(#4388) — same kebab-vs-camelCase parsing gap (browser: false), fixing the copy-paste manual sign-in flow on hostsisProbablyHeadless()doesn't recognize. - fix(memory): distinguish recent dead locks from live writers (#4389) —
inspectAgentdbLock()now has arecentstate distinct fromlive: a lock holder that's dead but the lock is still younger than the stale threshold no longer gets treated as "another process is writing this database, retry when it finishes" forever. Also fixes a possible negative age from filesystem mtime/Date.now()drift.
Verification
hooks-statusline-no-color.test.ts,auth-login-no-browser.test.ts: both passing.agentdb-lock-guard.test.ts: 19/19 passing.audit-umbrella-version-lockstep.mjs, leaf-drift check,audit-leaf-versions-published.mjs: all clean.@claude-flow/memory@3.0.9was published standalone ahead of this release to unblock #4389's own leaf-version audit.- All three source PRs went fully green independently before merge; the release PR itself needed one Test Suite retry, confirmed as the already-tracked #4307 tinypool flake class (
mods-cli-bin.test.ts), unrelated to this release's diff.
🤖 Generated with RuFlo