Show local machine hostname in Copilot CLI interface
- 主要語言
- Shell
- 星號
- 11.2k
- 分支
- 1.9k
- 平均合併
- 14 小時 16 分鐘
- 30 天內合併 PR
- 6
描述
## Summary
Please include the local machine hostname in the Copilot CLI interface context panel.
## Motivation
When running multiple shells/machines (local + remote, containers, SSH sessions), it is easy to lose track of where a command will run. Showing hostname directly in the interface would reduce mistakes.
## Requested behavior
Add a field in the environment context section, e.g.:
- `Hostname: my-machine`
## Notes
- Prefer the actual runtime hostname from the executing environment
- Keep existing context fields unchanged
- This should work across Linux/macOS/Windows
貢獻指南
研究方向
Start by locating the Copilot CLI environment context section and the code that supplies its existing context fields. Trace how runtime environment details are obtained on Linux, macOS, and Windows, then verify that the hostname appears in the context panel while existing fields remain unchanged.
由索引模型根據 Issue 內容生成。
評估
- 技術堆疊
- shell
- 領域
- cli
- Issue 類型
- 功能
- 難度
- 4/5
- 預估耗時
- 3-5 天
- 活躍度
- 冷清
- 描述清晰度
- 描述清楚
- 新手友好度
- 62/100