Skip to content

feat(hub): show AgentBox version in settings footer#179

Merged
madarco merged 1 commit into
nightlyfrom
feat/settings-version-footer
Jul 8, 2026
Merged

feat(hub): show AgentBox version in settings footer#179
madarco merged 1 commit into
nightlyfrom
feat/settings-version-footer

Conversation

@madarco

@madarco madarco commented Jul 8, 2026

Copy link
Copy Markdown
Owner

What

Adds a quiet version footer to the bottom of the hub Settings page (this repo) and the tray Settings window (companion change already pushed to madarco/agentbox-tray@main).

  • Hub: /api/v1/health now returns a version field (read from the inherited AGENTBOX_CLI_VERSION; apps/hub's own package.json is a 0.0.0 placeholder). The settings page fetches it client-side and renders AgentBox <version> — matching the "hub web = pure REST client" convention (feature behind /api/v1, no server action).
  • Tray (separate repo): footer shows Tray <build> · AgentBox <hub version>, fetching the hub version off the same /api/v1/health probe and degrading to the tray version alone when the hub is unreachable.

The hub's version is the AgentBox version — same string surfaced in both places.

Verify

  • curl -s localhost:8787/api/v1/health{"ok":true,"apiVersion":"v1","version":"0.23.0","profile":"localhost"}
  • Rebuilt hub standalone + hub restart; /settings renders the AgentBox 0.23.0 footer.
  • Tray: swift build clean; footer verified in code against existing HubClient.get + BoxSource patterns (visual check is manual on a built .app bundle since CFBundleShortVersionString needs the bundle).

Docs: UI-only footer, no CLI/flag/config surface change, so no apps/web docs update needed.


Note

Low Risk
UI-only display plus a non-sensitive version string on an already-public health endpoint; no auth or data-path changes.

Overview
Exposes the running AgentBox version on the public GET /api/v1/health probe via a new version field sourced from AGENTBOX_CLI_VERSION (fallback dev), instead of the hub app’s placeholder package version.

The hub Settings page fetches that probe client-side and renders a small AgentBox <version> footer, with while loading or on failure.

Reviewed by Cursor Bugbot for commit 1809ddf. Configure here.

Add a version field to the public /api/v1/health probe (read from the
inherited AGENTBOX_CLI_VERSION; apps/hub's own package.json is a 0.0.0
placeholder) and render a quiet footer line on the settings page that
fetches it client-side.
@vercel

vercel Bot commented Jul 8, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

1 Skipped Deployment
Project Deployment Actions Updated (UTC)
agentbox-web Skipped Skipped Jul 8, 2026 4:47pm

Request Review

@madarco madarco merged commit 5df7d08 into nightly Jul 8, 2026
4 checks passed
@madarco madarco deleted the feat/settings-version-footer branch July 8, 2026 16:51
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