github / github/copilot-cli

Add LLM invocable change directory tool

Ouverte
#3,865 0 commentaires 0 réactions 0 personnes assignées Voir sur GitHub
area:tools
Langage dominant
Shell
Étoiles
11.2k
Forks
1.9k
Merge moyen
14 h 16 min
PR mergées (30 j)
6

Description

### Describe the feature or problem you'd like to solve

Keep the pwd up to date in the status bar when copilot switches to another worktree

### Proposed solution

Currently the user can run `/cd` to move directories and the status line gets updated and all tool invocations are then run in that directory.

The LLM doesn't have a corresponding tool. Often I'll tell it to go checkout a specific branch and PR into a new/existing worktree and it will do it but then I have to stop it and get the path and manually run /cd to that path so visually I can see the directory/branch name/PR in the status line.

### Example prompts or workflows

Checkout branch X into a worktree and then cd into that worktree and begin addressing the feedback.

### Additional context

_No response_

Guide de contribution

Ouvrir le guide de contribution

Piste de recherche

Commencez par retracer la commande /cd existante, sa mise à jour de la barre d’état et la façon dont les appels d’outils utilisent le répertoire courant ; l’issue ne nomme aucun fichier ni test précis. Le travail est terminé lorsque le LLM peut basculer vers un worktree, afin que la ligne d’état affiche le nouveau chemin, la nouvelle branche ou le PR, et que les appels d’outils ultérieurs s’exécutent à cet endroit.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Évaluation

Stack technique
git, shell
Domaine
cli, developer-experience, tooling
Type d'issue
Fonctionnalité
Difficulté
3/5
Temps estimé
1-2 jours
Activité
Calme
Clarté
Plutôt claire
Accessibilité débutants
58/100

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.