fix: Harden VS Code extension command execution (#12800)
- Stops the VS Code extension from interpolating daemon commands and
task names through shell strings.
- Disables the extension in untrusted workspaces and keeps
executable-related settings machine-scoped.