{#if open}
esc
{#each filtered as cmd, i (cmd.id)}
execute(cmd)} onmouseenter={() => selectedIdx = i} class="w-full flex items-center gap-3 px-4 py-2.5 text-left transition-colors {i === selectedIdx ? 'bg-zinc-800' : 'hover:bg-zinc-800/50'}" >
{cmd.label}
{#if cmd.description}
{cmd.description}
{/if}
{/each} {#if filtered.length === 0}
No commands found
{/if}
↑↓
navigate
↵
select
{/if}