Commands System Implementation Prompt
Create a performant command system for the database-palace application using Rust for core logic and TypeScript for UI/interactivity. This system will enable users to define and execute commands with optional keyboard shortcuts, similar to VSCode's command palette (Ctrl+P).