feat: subagent task persistence + /tasks command#1
Open
zkksdk wants to merge 2 commits into
Open
Conversation
added 2 commits
April 21, 2026 23:38
- delegate_tool.py: persist SubagentRunRecord to ~/.hermes/subagent-runs.json on subagent completion (success and error paths). Records include runId, session keys, task description, status, timestamps, and outcome summary. - run_agent.py: add AIAgent.get_active_children_summary() (instance method) and AIAgent.get_all_subagent_runs() (static method) for querying running and persisted subagent tasks. - hermes_cli/commands.py: register new /tasks CLI command in Tools & Skills. - cli.py: implement _handle_tasks_command with 'running', 'recent', and 'all' subcommands to display active children and persisted run history.
- hermes_cli/dashboard.py: full-screen dark-theme live dashboard with 8 panels: Header, System, Subagents, Tasks, Cron, Usage, Sessions, Footer Auto-refreshes every 5s via rich.live.Live All data fetching wrapped in try/except with N/A fallbacks Standalone: python hermes_cli/dashboard.py - cli.py: add _handle_dashboard_command + dispatch for /dashboard Launches the dashboard in the current terminal session
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
Persist subagent run history and add /tasks command.
Changes