Skip to content

fix: include actual version in /api/status response#369

Closed
f-liva wants to merge 12 commits intoRightNow-AI:mainfrom
f-liva:fix/status-version
Closed

fix: include actual version in /api/status response#369
f-liva wants to merge 12 commits intoRightNow-AI:mainfrom
f-liva:fix/status-version

Conversation

@f-liva
Copy link

@f-liva f-liva commented Mar 6, 2026

Summary

  • The /api/status endpoint was missing a version field, causing the dashboard to fall back to hardcoded "0.1.0"
  • Added env!("CARGO_PKG_VERSION") to the status JSON so the frontend displays the correct version

Fixes #368

Test plan

  • Start OpenFang and open the dashboard
  • Verify the version displayed matches Cargo.toml package version
  • Confirm /api/status JSON response includes the version field

🤖 Generated with Claude Code

Federico Liva and others added 12 commits March 6, 2026 00:11
- Add toolchain: Node.js 22, Claude Code CLI, Python 3, uv, Go, gh, ffmpeg
- Add gosu + non-root user (openfang) with passwordless sudo
- Entrypoint drops root privileges via gosu for Claude Code compatibility
- Add GitHub Actions workflow to auto-sync upstream releases

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
The dashboard displayed hardcoded "0.1.0" because the /api/status
endpoint didn't return a version field. Add env!("CARGO_PKG_VERSION")
so the frontend shows the correct version.

Fixes RightNow-AI#368

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@jaberjaber23
Copy link
Member

Implemented in v0.3.25. Version field added to /api/status response.

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.

Dashboard shows hardcoded version 0.1.0 instead of actual package version

3 participants