Chore/llm providers expansion sync main#606
Chore/llm providers expansion sync main#606cuongdo-byterover merged 4 commits intoproj/llm-providers-expansionfrom
Conversation
* chore: Bump veversion to 3.10.2 * chore: update CHANGELOG.md
* 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.
* chore: Bump veversion to 3.10.3 * chore: update CLAUDE.md * chore: update CHANGELOG.md * chore: pin exact version axios to 1.16.0
|
Claude finished @cuongdo-byterover's task in 3m 12s —— View job PR Review: Chore/llm providers expansion sync main
SummaryOverall score: 4/5 This PR syncs the version-drift detection feature from What changed (core feature)
Strengths
Issues found
Security & correctnessNo security concerns. The version strings are read from the daemon ack (controlled infrastructure) and rendered as text — no eval or injection surface. The drift footer is informational-only and doesn't affect protocol behavior. |
f5a334d
into
proj/llm-providers-expansion
Summary
Type of change
Scope (select all touched areas)
Linked issues
Root cause (bug fixes only, otherwise write
N/A)Test plan
User-visible changes
List user-visible changes (including defaults, config, or CLI output).
If none, write
None.Evidence
Attach at least one:
Checklist
npm test)npm run lint)npm run typecheck)npm run build)mainRisks and mitigations
List real risks for this PR. If none, write
None.