Skip to content

fix: show gateway version in footer instead of gateway URL link#23

Merged
simonCatBot merged 9 commits intomasterfrom
docs-cleanup
Apr 3, 2026
Merged

fix: show gateway version in footer instead of gateway URL link#23
simonCatBot merged 9 commits intomasterfrom
docs-cleanup

Conversation

@simonCatBot
Copy link
Copy Markdown
Owner

What

Footer now shows the gateway version (e.g. 2026.3.28) in the center slot instead of a gateway URL link.

Changes

  • server/rocclaw-install-context.js: probeLocalGateway extracts runtimeVersion from openclaw status --json output and exposes it in the localGateway object
  • src/lib/rocclaw/install-context.ts: Added runtimeVersion: string | null to StudioInstallContext.localGateway
  • src/components/FooterBar.tsx: Center slot now shows gatewayVersion with fallback to rocCLAW when disconnected; removed gateway URL + external link from left slot
  • src/features/agents/operations/useSettingsRouteController.ts: Removed unused handleFleetSelectAgent dead code (lint fix)

Testing

All 818 unit tests pass.

Kapu Developer added 9 commits April 3, 2026 10:29
Lint cleanup: remove unused handleFleetSelectAgent dead code.

probeLocalGateway: extract runtimeVersion from 'openclaw status --json'
and expose it in localGateway.runtimeVersion.

FooterBar: show gateway version in center slot; remove gateway URL +
ExternalLink from left slot; fallback to 'rocCLAW' when disconnected.

All 818 unit tests pass.
Resolve conflict in FooterBar.tsx: keep server-side gateway version
approach, discard master's client-side /api/gateway-info fetch.
runJsonCommand returns data in .value, not .data. Fixes footer version
not displaying.
FooterBar now calls /api/gateway-info when status is 'connected' to
retrieve the gateway version, in addition to accepting an optional
initial version from installContext. This is more reliable than
depending solely on the server-side install context probe.
@simonCatBot simonCatBot merged commit 63cd437 into master Apr 3, 2026
4 checks passed
@simonCatBot simonCatBot deleted the docs-cleanup branch April 3, 2026 18:11
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