feat: $ skills mention

This commit is contained in:
Timothy Jaeryang Baek committed 2026-02-11 15:08:59 -06:00
1 parent 46aa54b7dc
commit f7c5965a70
8 files changed
+228 -4

No files matched your search

+13 -1
View File
@@ -390,7 +390,7 @@
let command = '';
export let showCommands = false;
$: showCommands = ['/', '#', '@'].includes(command?.charAt(0)) || '\\#' === command?.slice(0, 2);
$: showCommands = ['/', '#', '@', '$'].includes(command?.charAt(0)) || '\\#' === command?.slice(0, 2);
let suggestions = null;
let showTools = false;
@@ -946,6 +946,18 @@
}
}
})
},
{
char: '$',
render: getSuggestionRenderer(CommandSuggestionList, {
i18n,
onSelect: (e) => {
document.getElementById('chat-input')?.focus();
},
insertTextHandler: insertTextAtCursor,
onUpload: () => {}
})
}
];
loaded = true;