feat(dashboard): cross-profile sessions, profile-aware status, and offline platform display - #31413
Closed
02356abc wants to merge 1 commit into
Closed
feat(dashboard): cross-profile sessions, profile-aware status, and offline platform display#3141302356abc wants to merge 1 commit into
02356abc wants to merge 1 commit into
Conversation
Collaborator
02356abc
force-pushed
the
feat/dashboard-cross-profile-v2
branch
from
May 24, 2026 10:35
c006664 to
8e21d53
Compare
…e platform display - gateway/status.py: read_runtime_status() accepts optional status_path - hermes_cli/profiles.py: ProfileInfo gains gateway_state, gateway_platforms - hermes_cli/web_server.py: profile param for /api/status, /api/sessions, /api/sessions/search - web/src/lib/api.ts: profile param in getSessions, getStatus, searchSessions - web/src/pages/SessionsPage.tsx: profile dropdown, profile badges on session rows Aggregate mode shows all profiles' platforms with correct online/offline state. Backward compatible: omitting profile uses current profile.
02356abc
force-pushed
the
feat/dashboard-cross-profile-v2
branch
from
May 24, 2026 10:36
8e21d53 to
ad8a225
Compare
Contributor
Author
|
Closing to fix missing time filter implementation. Will reopen when complete. |
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
This PR adds cross-profile support to the Hermes dashboard, allowing users to view sessions and gateway status across all profiles from a single UI.
Changes
Gateway status aggregation (
gateway/status.py,hermes_cli/profiles.py)read_runtime_status()now accepts optionalstatus_pathto read other profiles' runtime stateProfileInfogainsgateway_state,gateway_platforms,gateway_updated_atfieldsBackend API enhancements (
hermes_cli/web_server.py)GET /api/status?profile=— returns profile-specific or aggregate gateway statusGET /api/sessions?profile=— lists sessions from specific profile or all profilesGET /api/sessions/search?profile=— searches within specific profile or all profilesstarted_atdescendingprofile,profile_name,hermes_home,is_default_profile) added to each sessionprofileparameter uses current profile (existing behavior)Frontend updates (
web/src/lib/api.ts,web/src/pages/SessionsPage.tsx)profileparameter to backendTesting
profileuses current profile)Notes
session_count()(includes child sessions) to match existing dashboard behaviorlist_sessions_rich()(excludes child sessions) is used for the actual session listCo-Authored-By: 02356abc 198679067+02356abc@users.noreply.github.com