feat(command-palette): add grouped suggestions, history tracking, and model/provider fuzzy matching
- Export `PaletteGroup` and `PaletteSuggestion` to represent suggestion metadata. - Implement command history with deduplication, capacity limit, and recent‑command suggestions. - Enhance dynamic suggestion logic to include history, commands, models, and providers with fuzzy ranking. - Add UI rendering for grouped suggestions, header with command palette label, and footer instructions. - Update help text with new shortcuts (Ctrl+P, layout save/load) and expose new agent/layout commands.
This commit is contained in:
@@ -10,7 +10,7 @@ mod file_tree;
|
||||
mod search;
|
||||
mod workspace;
|
||||
|
||||
pub use command_palette::{CommandPalette, ModelPaletteEntry};
|
||||
pub use command_palette::{CommandPalette, ModelPaletteEntry, PaletteGroup, PaletteSuggestion};
|
||||
pub use file_tree::{
|
||||
FileNode, FileTreeState, FilterMode as FileFilterMode, GitDecoration, VisibleFileEntry,
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user