github / github/copilot-cli

Changing workdir doesn't emit event anymore

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

説明

### Describe the bug

When changing the workdir using the `/cwd new-path` it doesn't record the information in the `events.jsonl` being impossible to track chronogically when the user's working directory changed.

I also noticed that CWD changes also doesn't update the `workspace.yaml` anymore, and it keeps pointing to a incorrect previous CWD.

### Affected version

v1.0.49-1

### Steps to reproduce the behavior

1. Resume any existing session in a git branch
2. Perform `/cwd new-path`
3. Both sessions-id/workspace.yaml + events.jsonl won't reflect the change

### Expected behavior

- workspace.yaml
cwd: new-path

- events.jsonl
`{"type":"session.context_changed","data":...}`

### Additional context

_No response_

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

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

評価

この issue はまだ評価されていません。

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

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