Skip to main content

UnfoldAI Terminal

UnfoldAI includes a dedicated terminal profile that provides the most reliable command tracking and output capture. While UnfoldAI can monitor standard VS Code terminals, the UnfoldAI Terminal offers enhanced capabilities.

Opening the Terminal

  • Keyboard: Ctrl+Shift+U / Cmd+Shift+U — Open UnfoldAI Terminal
  • Keyboard: Ctrl+Shift+Alt+U / Cmd+Shift+Alt+U — New UnfoldAI Terminal instance
  • Command Palette: UnfoldAI: Open UnfoldAI Terminal or UnfoldAI: New UnfoldAI Terminal

Shell Support

ShellPlatformSupport
bashmacOS, Linux✅ Full
zshmacOS, Linux✅ Full
fishmacOS, Linux✅ Full
PowerShell / pwshWindows✅ Full
cmdWindows⚠️ Basic (no shell integration hooks)

Features

Command Lifecycle Tracking

The UnfoldAI Terminal uses shell integration to precisely track command start, execution, output, and exit. This enables accurate command summaries, timing, and error detection.

Quick Actions

Three built-in quick actions available from the Command Palette:

CommandDescription
UnfoldAI: Copy Last Clean OutputCopies the last command's output without terminal formatting noise
UnfoldAI: Rerun Last CommandRe-executes the most recent command
UnfoldAI: Explain Last ErrorOpens a chat to analyze the last terminal error

Controlled by: unfoldai.terminal.quickActions.enabled (default: true)

Welcome Modes

Control the terminal greeting:

// settings.json
{
// "auto" | "full" | "compact" | "hidden"
"unfoldai.terminal.welcomeMode": "auto"
}

Completion Chips (Optional)

Show a status indicator after each command completion with exit code and duration:

{
"unfoldai.terminal.completionChips.enabled": false
}

Command History Persistence (Optional)

Persist recent command history within your workspace:

{
"unfoldai.terminal.historyPersistence.enabled": false,
"unfoldai.terminal.historyPersistence.maxEntries": 120
}

Configuration Reference

SettingTypeDefaultDescription
unfoldai.terminal.welcomeModeenum"auto"Terminal welcome banner: auto, full, compact, hidden
unfoldai.terminal.redrawModeenum"balanced"Redraw filtering: balanced, strict, off
unfoldai.terminal.commandTimeoutMsnumber300000Command timeout in ms (30s–3600s)
unfoldai.terminal.completionChips.enabledbooleanfalseShow completion status chips
unfoldai.terminal.quickActions.enabledbooleantrueEnable quick action commands
unfoldai.terminal.historyPersistence.enabledbooleanfalsePersist command history
unfoldai.terminal.historyPersistence.maxEntriesnumber120Max persisted history entries (20–500)
unfoldai.terminal.reliabilityTelemetry.enabledbooleantrueShare anonymous terminal reliability data

UnfoldAI Terminal vs Standard Terminal

CapabilityUnfoldAI TerminalStandard VS Code Terminal
Command tracking✅ Full lifecycle⚠️ Partial
Output capture✅ Complete⚠️ May miss content
Quick actions
Completion chips✅ Optional
Error analysis hygiene✅ Filters meta noise
tip

UnfoldAI still monitors standard VS Code terminals — the UnfoldAI Terminal just provides more complete capture. You'll see a nudge on the Dashboard if capture quality could be improved.