Skip to content

fix: read CLI and MCP version from package.json at runtime#6

Merged
fyodoriv merged 1 commit into
mainfrom
fix/hardcoded-versions
Apr 8, 2026
Merged

fix: read CLI and MCP version from package.json at runtime#6
fyodoriv merged 1 commit into
mainfrom
fix/hardcoded-versions

Conversation

@fyodoriv
Copy link
Copy Markdown
Collaborator

@fyodoriv fyodoriv commented Apr 8, 2026

Summary

  • Both CLI and MCP server hardcoded version "0.1.0" while package.json is at 0.5.0
  • Now reads version dynamically from package.json at runtime using readFileSync + JSON.parse
  • Version stays in sync automatically with future npm version bumps

Test plan

  • tasks --version outputs 0.5.0
  • Build passes across all 4 workspaces
  • All 112 tests pass

Generated with Devin

Both packages hardcoded "0.1.0" while package.json is at 0.5.0.
Now reads version dynamically so it stays in sync with releases.

Generated with [Devin](https://cli.devin.ai/docs)

Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
@fyodoriv fyodoriv force-pushed the fix/hardcoded-versions branch from 15e9778 to 4c38967 Compare April 8, 2026 13:19
@fyodoriv fyodoriv merged commit cd92b05 into main Apr 8, 2026
3 checks passed
@fyodoriv fyodoriv deleted the fix/hardcoded-versions branch April 8, 2026 13:22
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