Command Palette
0.2.9
2026-09-12
bindShortcutsnow binds hotkeys for nestedsubCommands too, not just top-level commands.- The hotkey fallback executor (
runFallback, used with no<CommandPalette>mounted) now correctly openspage-only commands and handlesconfirm/frecency tracking like the realexecuteCommand. CommandItem's match highlighting now reuses the diacritic-awareFuzzySearchscorer instead of a separate, less accurate implementation.- The Nuxt module now registers the package's components via
addComponentand auto-imports every composable/factory, not just 3 of them. isLoadinginCommandPalette.vueis now a ref-count across concurrent search pipelines, instead of one shared boolean that could clear prematurely.- Async result merging now replaces an already-merged sync result with a better-scoring async result of the same id, instead of "first-registered wins".
PaletteProvider(testing.ts) now also providesPALETTE_REGISTRY_KEY— named-instance lookups (useCommandPalette('name')) now resolve correctly under it.- Unified the global hotkey toggle (
installPalette) anduseCommandPalette()'s owntoggle()/open()/close()onto one open/close implementation (includinghistoryclearing). - Function-valued Nuxt module options (
vCommandPalette:onOpen,onError,search,onSearch, etc.) are no longer serialized into the clientruntimeConfig.public— only the serializable subset crosses that boundary.