github / github/copilot-cli

Feature request:  /resume  and  /session  should support filtering by current working directory

オープン
#4,704 コメント 0 件 リアクション 1 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

area:sessions
主要言語
Shell
スター
11.2k
フォーク
1.9k
平均マージ
14時間 16分
マージ済み PR(30日)
6

説明

Describe the feature or problem you'd like to solve

Currently,  /resume  and  /session  list ALL sessions across every project/directory I've ever worked in, with no way to scope the list to the current repo/cwd. This makes it hard to find the right session to resume when I have many sessions across different projects.

Proposed solution
Requested behavior:

• By default,  /resume  and  /session  should show only sessions started in (or associated with) the current working directory / repo.
• Provide a flag or toggle (e.g.  /resume --all ) to view sessions from all directories when needed.
• Same behavior for  copilot --resume  from the CLI flag.

This would make session resumption much faster and less error-prone for users who work across multiple repositories.

Example prompts or workflows

No response

Additional context

No response

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

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

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

調査の方向性

/resume と /session コマンド、および CLI エントリポイント copilot --resume の追跡から始め、次にセッションが作業ディレクトリをどのように記録または照合しているかを調べます。デフォルトの一覧に現在のディレクトリまたはリポジトリのセッションだけが表示され、明示的な all-sessions オプションによって3つすべてのエントリポイントでより広い範囲の表示が維持されれば完了です。

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

評価

技術スタック
shell
領域
cli
issue の種類
機能追加
難易度
4/5
見積もり時間
3〜5日
活発さ
活発
明瞭さ
おおむね明確
初心者へのやさしさ
48/100

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

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