Repository navigation
fix(ui): A2A tab shows "Choose…" right after exposure is switched on (#3702) - #3704
Merged
Merged
Conversation
…3702) load() fetched the template capabilities only for an agent already exposed at mount, and onToggle(true) loaded the card skills but not the capabilities. A panel opened on an unexposed agent and then exposed from the tab never filled `capabilities`, so the Choose… control that curates the advertised skills (ent#180) stayed hidden until a reload. Exposing from the tab now loads both. Co-Authored-By: Claude Opus 5.5 <[email protected]>
obasilakis
approved these changes
Oct 14, 2026
obasilakis
left a comment
Contributor
There was a problem hiding this comment.
Reviewed and validated. The fix is at the root cause: onToggle(true) now loads capabilities, matching load(). Removing the fix turns the new spec red, so it guards the bug. Tier 1 CI is green.
Optional follow-up, not caused by this PR: switching exposure off leaves the skill editor open (skillsEditing) and the capability list populated.
#3701 edits the same file; rebase whichever lands second.
dolho
disabled auto-merge
October 14, 2026 10:22
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
On an agent's A2A tab, the Choose… control that picks which skills the Agent Card advertises (ent#180) stayed hidden when exposure was switched on from that same tab, until a reload.
The cause:
load()fetches the template capabilities only for an agent already exposed at mount, andonToggle(true)loaded the card skills but never the capabilities. Choose… and the "Advertising all N capabilities" line are bothv-ifoncapabilities.length. Exposing from the tab now loads both.A one-line behaviour change in
A2aPanel.vue::onToggle.Fixes #3702
Test plan
tests/unit/a2aPanelChooseAfterExpose.spec.js: mounts on an unexposed agent, switches exposure on, and asserts Choose… and the default line render. It failed before the fix and passes after. A second case covers an agent already exposed at mount.npm run test:unit: 365/365 files, 5900 tests.f6a998f69with this frontend: open an unexposed agent's A2A tab and switch exposure on → Choose… visible with no reload. I hidtrend-detectionand saved; it is gone from the card and stays gone after a reload. Reset to all brings it back. No console errors. The agent was restored to its original state.f6a998f69: Choose… appears in all four entry paths: switch exposure on in the page; off → on in the same page; reload while exposed; Overview → A2A.Note: this touches the same file as #3701 (ent#898), in a different function (
onTogglevs. the outbound section), so they should merge without conflict.🤖 Generated with Claude Code