Add LLM invocable change directory tool
- Vorherrschende Sprache
- Shell
- Sterne
- 11.2k
- Forks
- 1.9k
- Ø Merge
- 14 Std. 16 Min.
- Gemergte PRs (30 T.)
- 6
Beschreibung
### 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_
Beitragsleitfaden
Rechercherichtung
Beginne damit, den bestehenden Befehl /cd, seine Aktualisierung der Statusleiste und die Verwendung des aktuellen Verzeichnisses durch Tool-Aufrufe nachzuverfolgen; das Issue nennt keine bestimmten Dateien oder Tests. Erledigt ist die Aufgabe, wenn das LLM in ein Worktree wechseln kann, sodass die Statuszeile den neuen Pfad, Branch oder PR anzeigt und nachfolgende Tool-Aufrufe dort ausgeführt werden.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- git, shell
- Bereich
- cli, developer-experience, tooling
- Issue-Typ
- Feature
- Schwierigkeit
- 3/5
- Geschätzter Aufwand
- 1-2 Tage
- Aktivitätsstatus
- Ruhig
- Klarheit
- Größtenteils klar
- Anfängerfreundlichkeit
- 58/100