github / github/copilot-cli

Show local machine hostname in Copilot CLI interface

オープン
#2,774 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
area:terminal-rendering
主要言語
Shell
スター
11.2k
フォーク
1.9k
平均マージ
14時間 16分
マージ済み PR(30日)
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

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。