feat: add skill dialog for selecting and inserting skills (#11547)

This commit is contained in:
Dax
2026-01-31 20:52:54 -05:00
committed by GitHub
parent e5f677dfb5
commit 5b784871f0
3 changed files with 59 additions and 1 deletions

View File

@@ -345,7 +345,8 @@ export function Autocomplete(props: {
const results: AutocompleteOption[] = [...command.slashes()]
for (const serverCommand of sync.data.command) {
const label = serverCommand.source === "mcp" ? ":mcp" : serverCommand.source === "skill" ? ":skill" : ""
if (serverCommand.source === "skill") continue
const label = serverCommand.source === "mcp" ? ":mcp" : ""
results.push({
display: "/" + serverCommand.name + label,
description: serverCommand.description,