Show local machine hostname in Copilot CLI interface
- Lingua principale
- Shell
- Stelle
- 11.2k
- Fork
- 1.9k
- Merge medio
- 14h 16m
- PR unite (30g)
- 6
Descrizione
## 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
Guida per i contributori
Apri la guida per i contributori
Direzione di ricerca
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.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- shell
- Ambito
- cli
- Tipo di issue
- Funzionalità
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Stato di attività
- Tranquilla
- Chiarezza
- Specificata chiaramente
- Idoneità per principianti
- 62/100