refactor: accept versioned pkg route builder in useCommandPaletteVersionCommands
#2635
+119
−35
useCommandPaletteVersionCommands
#2635