diff --git a/code-studio/ide/tutorials/terminal-tools-improvement.md b/code-studio/ide/tutorials/terminal-tools-improvement.md index 146ecdc..eff62f9 100644 --- a/code-studio/ide/tutorials/terminal-tools-improvement.md +++ b/code-studio/ide/tutorials/terminal-tools-improvement.md @@ -59,6 +59,58 @@ This same instant response also works for other terminal events, not just `Ctrl > - A process crashes → agent reports the error and suggests a fix. +# Improvements + +## Terminal Output Compression (Preview) + +Terminal Output Compression (Preview) automatically reduces verbose terminal output before sending it to AI chat, preserving more context for code understanding. + +It compresses outputs from commands such as: +- `git diff` +- `ls -l` +- `npm install` + +The feature removes unchanged, redundant, and low-value content. A banner highlights the applied compression filters and provides guidance for accessing the original output when needed. + +## Steps to Follow + +1. Open Syncfusion Code. +2. Open **Settings** using `Ctrl + ,`. +3. Search for **`chat.tools.compressOutput.enabled`**. +4. Enable the setting to compress terminal output before it is sent to chat. +5. Open the Chat view. +6. Run the prompt: + + ```text + show me the git log --oneline + ``` + + agent response + + +# Sensitive Terminal Prompts Stay in the Terminal + +- Sensitive prompts such as passwords, PINs, passphrases, and verification codes are now handled directly in the terminal instead of being processed by an AI assistant. +- When a command requests a secret, the prompt is intercepted so users can enter the information manually. +- This helps prevent credentials from being exposed, stored, or accidentally reused, improving security and privacy during terminal interactions. + + agent response + +# Cleanup of Background Agent Terminals + +- Background terminals are now closed automatically when their associated tasks are completed or no longer required. +- This prevents unused terminals from accumulating over time and reduces unnecessary resource consumption. +- Active terminals remain unaffected, ensuring that ongoing tasks continue to run without interruption while maintaining a cleaner workspace. + +# Running in Background Indicator for Terminal Tools + +- Terminal tools now provide a clear status indicator for commands running in the background. +- While a command is actively running, the terminal displays a **Running** status. +- Once the command completes, the status automatically changes to **Ran**. +- This provides better visibility into task progress and helps users quickly determine whether a background operation is still in progress or has finished. + + agent response + ## What’s Next? - [Generate Your First Code Change Using Agent](/code-studio/tutorials/generate-your-first-code-using-agent.md) — Guide the agent to implement and verify a small change end-to-end. - [Fixing Bugs with AI](/code-studio/tutorials/fixing-bugs-with-ai.md) — Use the agent to identify, patch, and validate defects safely. diff --git a/code-studio/ide/tutorials/tutorials-images/terminal-sensitive.png b/code-studio/ide/tutorials/tutorials-images/terminal-sensitive.png new file mode 100644 index 0000000..443c24d Binary files /dev/null and b/code-studio/ide/tutorials/tutorials-images/terminal-sensitive.png differ diff --git a/code-studio/ide/tutorials/tutorials-images/terminal_background.png b/code-studio/ide/tutorials/tutorials-images/terminal_background.png new file mode 100644 index 0000000..67831a4 Binary files /dev/null and b/code-studio/ide/tutorials/tutorials-images/terminal_background.png differ diff --git a/code-studio/ide/tutorials/tutorials-images/terminal_compression.png b/code-studio/ide/tutorials/tutorials-images/terminal_compression.png new file mode 100644 index 0000000..33bd53f Binary files /dev/null and b/code-studio/ide/tutorials/tutorials-images/terminal_compression.png differ