Creates a new CommandPaletteViewModel instance.
The Redux store instance.
The command palette service for scope management.
Gets the current command palette state from the store.
The current command palette state.
Sets the command execution callback. Called after CommandExecutor is created due to circular dependency.
The callback to execute commands.
Disposes the view model and hides the command palette.
Toggles the visibility of the command palette.
Shows the command palette with available commands for the current scope.
Hides the command palette and returns to trace scope.
Executes a command and closes the palette. This is the single entry point for command execution from the palette.
The command key to execute.
Selects and executes the currently highlighted command.
Moves the selection up in the command list.
Moves the selection down in the command list.
Deselects all options and returns focus to the search bar.
Updates the search filter text for the command palette.
The search text to filter commands.
View model for managing command palette state and navigation.