You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* fix: [ENG-2535] surface daemon version in register ack + drift indicators
Companion to the transport-client fix. Wires the daemon's own version
through the register ack so MCP and TUI clients can render version-drift
state without an extra round-trip, and adds a drift footer to MCP tool
responses + a header tag in the TUI when the running daemon was started
by a different brv build.
- ConnectionCoordinator: accept daemonVersion option, surface it in the
client:register ack response. Threaded through TransportHandlers so
brv-server can pass the package.json-read version it already holds.
- mcp-server: log a one-line stderr drift notice on connect and after
every reconnect, when daemon and MCP versions differ.
- brv-query-tool / brv-curate-tool: append a drift footer to text
responses when client.getDaemonVersion() differs from the MCP version.
- drift-footer: pure helper covered by 4 unit tests.
- transport-store: add daemonVersion field + setter; transport-initializer
pushes it on initial connect and on every reconnect.
- header: render `[outdated, daemon vX.Y.Z]` in colors.warning when the
TUI's version differs from the running daemon.
- Bulk-update transport client mocks across 27 test files to include the
new getDaemonVersion() interface method.
- repro.sh: split verdict into BUG REPRODUCED vs FIX VERIFIED so the
script doubles as a regression check.
* chore: [ENG-2543] bump brv-transport-client to 1.1.0
Pin @campfirein/brv-transport-client to the released 1.1.0 tag now
that the asymmetric daemon-version gate from ENG-2540 is published,
replacing the branch ref that was used while the fix was in review.
* fix: [ENG-2541] render daemon-version drift indicator inline in header banner
Previously the drift token was rendered on a separate Box below the logo,
which broke the header's single-line layout. Fold it into the banner next
to the version, with padEnd recomputed so the trailing slashes still fill
the row.
* fix: [ENG-2541] address PR review nits on drift surfaces
mcp-server.ts: flip versionsAreEquivalent args to (client, daemon) so
all three drift surfaces (header, footer, log) use a consistent
ordering. The function is symmetric so this is purely a readability
change for anyone grepping the call sites.
header.tsx: replace Boolean(daemonVersion) with daemonVersion !==
undefined so TypeScript control-flow analysis narrows daemonVersion to
string in the right operand of the && expression.
0 commit comments