feat(gateway): expose version in /api/status and display it in sidebar footer#6367
Open
ilteoood wants to merge 2 commits intozeroclaw-labs:masterfrom
Open
feat(gateway): expose version in /api/status and display it in sidebar footer#6367ilteoood wants to merge 2 commits intozeroclaw-labs:masterfrom
ilteoood wants to merge 2 commits intozeroclaw-labs:masterfrom
Conversation
β¦r footer Agent-Logs-Url: https://github.com/ilteoood/zeroclaw/sessions/78574711-76fe-4440-bb29-84147c101470 Co-authored-by: ilteoood <6383527+ilteoood@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
master(all contributions)GET /api/statusnow includes"version": "<semver>"sourced fromenv!("CARGO_PKG_VERSION")β zero runtime cost, always in sync with the workspace versionStatusResponseTS type gainsversion?: stringto matchSidebarFooterfetches status on mount and rendersv{version}beneath "ZeroClaw Gateway" in both desktop and mobile layouts; fetch failure is silently swallowed (version is cosmetic, same pattern as pairing code fetch inApp.tsx)/api/statusgains a new optional field β purely additiveValidation Evidence (required)
The outcome of the change
cargo test/cargo clippy --all-targetsskipped β full workspace compile exceeds sandbox time budget; gateway-scoped clippy is cleanSecurity & Privacy Impact (required)
NoNoβ the sidebar calls the existing authenticated/api/statusendpoint it already depends onNoNoCompatibility (required)
Yesβversionis a new additive field; existing consumers ignoring unknown keys are unaffectedNoRollback (required for
risk: mediumandrisk: high)git revert <sha>is the plan.