github / github/copilot-cli

Add LLM invocable change directory tool

未關閉
#3,865 0 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
area:tools
主要語言
Shell
星號
11.2k
分支
1.9k
平均合併
14 小時 16 分鐘
30 天內合併 PR
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 摘要。