Fix skill discovery and listing with scoped skill creation

This commit is contained in:
Ryan Ward
2026-10-28 16:20:07 +00:00
parent 1647791a9e
commit 51782350f1
43 changed files with 2269 additions and 138 deletions
+3
View File
@@ -4888,6 +4888,9 @@ impl Input {
self.editor.update(ctx, |editor, ctx| {
editor.set_buffer_text(format!("{prefix}{skill_name} ").as_str(), ctx);
});
self.slash_command_model.update(ctx, |model, ctx| {
model.set_selected_skill(skill_name.clone(), skill_reference.clone(), ctx);
});
// Close the menu but keep input focused so user can press Enter
if self.suggestions_mode_model.as_ref(ctx).is_skill_menu() {