Repository navigation
feat(gui): refresh_skills on skills page view, startup, and agent reconnect - #45
Merged
Merged
Conversation
huichen
force-pushed
the
feat/gui-refresh-skills-on-view-and-reconnect
branch
from
July 26, 2026 13:45
7735f84 to
f33c498
Compare
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
Adds
refresh_skillsRPC calls at two new trigger points so the agent'"'"'s skill cache stays in sync with the filesystem without requiring an explicit install/uninstall:refresh_skillsbefore fetching installed/available lists, ensuring the view always reflects the current state.The agent'"'"'s 5 s rate limit makes repeated calls within a short window harmless (returns
refreshed: false).Changes
gui/src-tauri/src/commands/skills.rsrefresh_skillsTauri command wrappingagent_bridge::refresh_skills()gui/src-tauri/src/lib.rsgui/src/integrations/skills/skillsClient.tsrefreshSkills()frontend functiongui/src/features/skills/SkillsView.tsxrefreshSkills()on mount before loading listsgui/src/components/layout/AppShell.tsxrefreshSkills()on startup mount + on agent connection change