fix(webui): refresh skill suggestions when opening the picker - #5716
Merged
Conversation
Refresh the shared skill list when a dollar-reference picker opens so skills installed by the agent appear without reloading the page. Coalesce in-flight requests and preserve the last known list on transient failures. Cover post-load discovery, Tab completion, removals, request deduplication, cleanup, and retry behavior with regression tests.
An in-flight response can contain the list captured before a skill was installed. Preserve one trailing refresh for picker opens that arrive during that request instead of silently dropping them, while keeping at most one request active. Cover stale responses, coalesced trailing refreshes, and unmount cleanup after both success and failure.
Re-bin
force-pushed
the
codex/fix-live-skill-suggestions
branch
from
September 9, 2026 05:34
33e857d to
0913308
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
Fixes NAN-108.
Skills installed by the agent after the page loads can already be invoked by name, but the WebUI picker keeps its previous list. Users should not have to reload the page to discover a newly installed skill.
$picker opens, including when the cached list is empty.No changes to skill installation, availability filtering, backend invocation, persisted data, or public APIs.
Verification
bun run test src/tests/skills-marketplace.test.tsx src/tests/thread-composer.test.tsx src/tests/app-layout.test.tsx— 161 passed on the updated branch.bun run lintandbun x tsc -p tsconfig.build.json— passed on the updated branch.git diff --check— passed.