extensions: fix history exception introduced in previous commit
extensions: Add new command '/run-cmd'