github / github/copilot-cli

Add LLM invocable change directory tool

オープン
#3,865 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
area:tools
主要言語
Shell
スター
11.2k
フォーク
1.9k
平均マージ
14時間 16分
マージ済み PR(30日)
6

説明

### 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_

コントリビューションガイド

コントリビューションガイドを開く

調査の方向性

まず、既存の /cd コマンド、そのステータスバーの更新、およびツール呼び出しが現在のディレクトリをどのように使用しているかを追跡してください。issue では特定のファイルやテストは指定されていません。LLM が worktree に移動でき、その結果、ステータス行に新しいパス、ブランチ、または PR が表示され、その後のツール呼び出しがそこで実行されれば完了です。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
git, shell
領域
cli, developer-experience, tooling
issue の種類
機能追加
難易度
3/5
見積もり時間
1〜2日
活発さ
静か
明瞭さ
おおむね明確
初心者へのやさしさ
58/100

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

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