Option to restrict prompt history navigation to the current session
まだ誰も着手していません。
評価
調査の方向性
The issue does not name relevant files or tests. Start by tracing how the CLI stores prompt history and handles up/down-arrow navigation, including session resume behavior. Done means a configurable session scope limits navigation to prompts from the current session, including resumed sessions; the proposed global-history shortcut is described as ideal rather than required.
索引モデルが issue の本文から書いたものです。
説明
Describe the feature or problem you'd like to solve
Add option to restrict up/down-arrow prompt history navigation to current session, avoiding unrelated prompts from other sessions.
Proposed solution
Introduce a configuration option for the scope of prompt history navigation, e.g.:
promptHistoryScope: "global" — current behavior.
promptHistoryScope: "session" — restrict up/down-arrow navigation to prompts submitted in the current session, including when resuming an existing session.
Ideally, global history would remain accessible through a separate keyboard shortcut or Ctrl+R, even when session-specific navigation is enabled.
This would improve usability for developers working with multiple concurrent Copilot CLI sessions without changing the behavior for users who prefer global history.
Example prompts or workflows
Parallel sessions: Work on two different tasks in separate Copilot CLI sessions. Pressing the up-arrow recalls the previous prompt for the current task rather than a prompt from another session.
Resuming a session: Resume a session from yesterday and easily retrieve its previous prompts, regardless of how many other sessions have been used in the meantime.
Iterative prompt refinement: Retrieve and slightly modify a previous prompt without having to navigate through unrelated prompts submitted in other sessions.
Cross-project workflows: Run Copilot CLI in multiple repositories simultaneously while keeping prompt history navigation scoped to the respective session.
Additional context
This is similar to the distinction between local and shared command history in traditional shells.
Since Copilot CLI already maintains individual session histories, the relevant information appears to be available.
I find this particularly relevant when using Copilot CLI as a long-running development agent, with multiple concurrent sessions in separate terminal windows or tmux panes.
- 主要言語
- Python
- スター
- 11.5k
- フォーク
- 2k
- 平均マージ
- 6時間 34分
- マージ済み PR(30日)
- 3
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
github/copilot-cli のほかの issue
-
area:plugins
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
github/copilot-cli#5567 ·
-
難易度 1/5 1〜3時間 初心者へのやさしさ 78/100
github/copilot-cli#5489 ·
-
Built-in functions.view returns no content for large files despite documenting automatic truncationオープンarea:tools
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
github/copilot-cli#5476 ·
-
triage
難易度 1/5 1時間未満 初心者へのやさしさ 74/100
github/copilot-cli#5377 ·
-
area:platform-windows area:tools
難易度 1/5 1時間未満 初心者へのやさしさ 74/100
github/copilot-cli#5340 ·
github/copilot-cli の issue をすべて見る
似ている issue
-
marketing
難易度 2/5 1〜3時間 初心者へのやさしさ 85/100
メンテナーはふだん 1 日以内に返信
-
Status: Triage Suggestion
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
GTNewHorizons/GT-New-Horizons-Modpack#27957 ·
メンテナーはふだん 1 日以内に返信
-
難易度 1/5 1時間未満 初心者へのやさしさ 92/100
collabnix/awesome-mcp-lists#515 ·
メンテナーはふだん 1 日以内に返信
-
Look-ahead bias via resample('1min').interpolate(method='time') in CCIStrategy and ReinforcedQuickieオープン
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
-
documentation good first issue
難易度 1/5 1〜3時間 初心者へのやさしさ 90/100
メンテナーはふだん 1 日以内に返信