Skip to content

fix(tui): show skills in autocomplete dropdown (#22129)#23987

Open
PratikRai0101 wants to merge 5 commits intoanomalyco:devfrom
PratikRai0101:fix/22129-tui-skills-autocomplete
Open

fix(tui): show skills in autocomplete dropdown (#22129)#23987
PratikRai0101 wants to merge 5 commits intoanomalyco:devfrom
PratikRai0101:fix/22129-tui-skills-autocomplete

Conversation

@PratikRai0101
Copy link
Copy Markdown

Issue for this PR

Closes #22129

Type of change

  • Bug fix
  • New feature
  • Refactor / code improvement
  • Documentation

What does this PR do?

Currently, skills do not appear in the TUI autocomplete suggestions, despite working perfectly in the web app. This was due to an explicit filter in autocomplete.tsx that skipped commands sourced from skills.

This PR establishes UI parity between the TUI and the web app by:

  1. Removing the if (serverCommand.source === "skill") continue filter.
  2. Updating the label formatting logic to append a :skill suffix, matching the existing :mcp behavior.

How did you verify your code works?

  • Verified the local diff to ensure the filter was cleanly removed.
  • Confirmed the ternary logic safely handles both mcp and skill string appends without syntax errors.

Screenshots / recordings

N/A (TUI UI logic fix)

Checklist

  • I have tested my changes locally
  • I have not included unrelated changes in this PR

@github-actions
Copy link
Copy Markdown
Contributor

The following comment was made by an LLM, it may be inaccurate:

Based on my searches, I found one potentially related PR:

Related PR:

The current PR (#23987) is specifically about displaying skills in the TUI autocomplete dropdown, while the related PR might be addressing broader skills integration. However, they don't appear to be duplicates—they seem to be complementary features.

The other result about file path autocomplete (#19391) is unrelated to skills.

@mxaddict
Copy link
Copy Markdown

Looks decent

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Skills don't show up in TUI autocomplete but they do in the web app

2 participants