Terminal integration guide
VdevAI has two terminal execution modes:
- VS Code Terminal uses the integrated terminal and VS Code shell integration. This is the default and gives the best visibility into commands and their output.
- Background Exec runs the command as a background process. Use it when VS Code shell integration is unavailable or the integrated terminal keeps losing output.
Change the mode in VdevAI Settings → Terminal.
Shell integration unavailable
Section titled “Shell integration unavailable”VS Code shell integration lets an extension know which command produced which output. If it is missing, VdevAI may not be able to read command output reliably.
- Update VS Code and reload the window.
- Run Terminal: Select Default Profile and choose
zsh,bash,fishor PowerShell. - Open a new terminal; existing terminals keep the old integration state.
- Remove prompt customisations that replace the shell’s command hooks, then reload.
- In SSH, WSL, dev containers or remote workspaces, verify the shell integration inside the remote environment.
- If the warning persists, switch to Background Exec.
PowerShell is not recognized
Section titled “PowerShell is not recognized”This usually means VS Code is starting a shell that is not installed or not on PATH.
- Install PowerShell or select the Windows PowerShell profile explicitly.
- Run Terminal: Select Default Profile and choose the correct PowerShell entry.
- If script execution is blocked, ask your administrator before changing execution policy. A common per-user setting
is
Set-ExecutionPolicy -Scope CurrentUser RemoteSigned. - Restart VS Code and open a new terminal.
Commands hang or keep running
Section titled “Commands hang or keep running”VdevAI cannot answer interactive prompts such as password prompts, pagers or y/n confirmations. Run those commands
yourself in a terminal, or use non-interactive flags where the tool supports them. Long-running servers should be
started in a separate terminal because VdevAI waits for the command it launched to finish.
Output is truncated
Section titled “Output is truncated”Very large output is capped before it reaches the model. Redirect output to a file and ask VdevAI to read the relevant part, or run a narrower command such as a single test file. The terminal output limit is configurable in VdevAI Settings → Terminal.
VS Code terminal vs Background Exec
Section titled “VS Code terminal vs Background Exec”Use VS Code Terminal when you want to watch commands and interact with the terminal. Use Background Exec when shell integration is unreliable or when you need a simpler process boundary. If one mode fails, try the other before changing your shell configuration.
Remote, WSL, containers and SSH
Section titled “Remote, WSL, containers and SSH”Terminal integration depends on the shell running where the workspace lives. Check the remote shell profile, reload the remote window and make sure the shell integration extension is available on the remote side. Local shell fixes do not automatically apply to a remote workspace.
Checkpoints and Git
Section titled “Checkpoints and Git”Checkpoints use Git. If VdevAI says Git must be installed, see Checkpoints and Git.
What to include in a bug report
Section titled “What to include in a bug report”Include the VdevAI version, VS Code version, operating system, shell and terminal execution mode. Add the failing command and the relevant output with secrets removed. Open an issue at github.com/vdevai/vdevai/issues.