DrylCommandPalette
AI-aware
A full-screen command launcher overlay that unifies navigation, actions and AI intents in a
single keyboard-first entry point. Press Ctrl K anywhere in the app, or use the
buttons below to open each variant.
Basic — static items
Pass a CommandItem[] to Items; the palette filters client-side. Three item types: Navigate, Action, AiIntent.
Category grouping
Set CommandItem.Category to cluster items under named headers, alpha-sorted before uncategorised items.
Async SearchProvider
Provide a Func<string, Task<CommandItem[]>> for server-driven search. A 250 ms debounce prevents excessive calls.
AI intent — result panel
AiIntent items keep the palette open after selection so the AI result panel can stream its response.
Declarative commands + arguments
Declare DrylCommands (with typed DrylCommandArguments) once; they self-register and run through a single OnRun(CommandContext). Commands with arguments open an inline fill view; Destructive commands gate on a confirm dialog.
AI resolver — natural language
Supply an ICommandResolver to resolve a natural-language query into one confirmable command suggestion (human-in-the-loop). Production apps use DrylAiCommandResolver from DRYL.Components.Agents over a real agent.