Docstrings: SSDL + ASCII Layout Map for Personas, Providers, and Command Palette

This commit is contained in:
ed
2026-06-13 16:45:12 -04:00
parent cb129aaed9
commit 4691848683
3 changed files with 75 additions and 4 deletions
+14
View File
@@ -123,6 +123,20 @@ def _execute(app: Any, command: Command) -> None:
def render_palette_modal(app: Any, commands: List[Command]) -> None:
"""Renders the interactive Command Palette modal. Exposes a text input query bar
and lists matching commands with fuzzy matching, supporting keyboard navigation (Up/Down/Enter/Esc).
SSDL: `[I:query_input] -> [B:results_list] => [B:execute_command]`
ASCII Layout Map:
+==================== Command Palette ===================+
| |query_text| |
| +-----------------------------------------------------+ |
| | > [category-a] Command Title A (selected) | |
| | [category-b] Command Title B | |
| +-----------------------------------------------------+ |
+========================================================+
"""
if not getattr(app, "show_command_palette", False):
return