Skip to content

feat: send version in User-Agent header and MCP clientInfo - #12

Merged
nictuku merged 1 commit into
mainfrom
nictuku/harrisburg-v2
Mar 29, 2026
Merged

nictuku merged 1 commit into
mainfrom
nictuku/harrisburg-v2

Conversation

@nictuku

@nictuku nictuku commented Mar 29, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Passes the build-time version to the MCP client so all HTTP requests include a pipeboard-cli/<version> User-Agent header
  • Updates the MCP initialize handshake to report the real version in clientInfo instead of a hardcoded 0.1.0
  • All call sites (debug, dynamic, mcp, refresh) updated to pass Version to client.New

Test plan

  • make build succeeds
  • Verified User-Agent header is sent on requests via local dev server logs

Pass the build-time Version to the MCP client so it is included
in the User-Agent header and the initialize handshake clientInfo.
@nictuku
nictuku merged commit 13a5de7 into main Mar 29, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant