Feature request: expand timeline by default (shell command output)
- 主要語言
- Shell
- 星號
- 11.2k
- 分支
- 1.9k
- 平均合併
- 14 小時 16 分鐘
- 30 天內合併 PR
- 6
描述
### Describe the feature or problem you'd like to solve
When Copilot CLI executes a shell command, the output is collapsed by default in the timeline (showing "2 lines..."). Users have to manually press Ctrl+O / Ctrl+E to expand all results. This creates friction when reviewing what commands actually did.
### Proposed solution
Add a user setting in settings.json (e.g. "expandTimelineByDefault": true) that automatically expands all shell command outputs in the conversation timeline.
This would benefit users who want full visibility into every command execution without needing to manually expand each result, improving transparency and trust in the agent's actions.
### Example prompts or workflows
1. User asks: "install the latest .NET 8 SDK" → Copilot runs `winget install`
→ output is collapsed, user cannot see if install succeeded without pressing Ctrl+O
2. User asks: "list installed .NET SDKs" → Copilot runs `dotnet --list-sdks`
→ result hidden by default, user misses the actual SDK versions returned
3. User asks: "what is my default .NET version?" → Copilot runs `dotnet --version`
→ answer is collapsed, user has to manually expand to see "10.0.202"
4. During a multi-step task (build, test, deploy), each command result is collapsed
→ user loses track of what succeeded or failed without manually expanding each step
### Additional context
The current workaround is Ctrl+O / Ctrl+E to expand all timeline entries manually, but this needs to be repeated every session. A persistent setting like "expandTimelineByDefault": true in ~/.copilot/settings.json would solve this cleanly without changing the default behavior for users who prefer the compact view.
貢獻指南
研究方向
Start by tracing the timeline handling for shell command output and the Ctrl+O/Ctrl+E expand-all behavior. Check how settings are loaded from ~/.copilot/settings.json, then add the proposed expandTimelineByDefault setting so shell output is expanded when enabled while the existing compact default remains unchanged.
由索引模型根據 Issue 內容生成。
評估
- 技術堆疊
- shell
- 領域
- cli
- Issue 類型
- 功能
- 難度
- 3/5
- 預估耗時
- 1-2 天
- 活躍度
- 冷清
- 描述清晰度
- 基本清楚
- 新手友好度
- 62/100