pasting issue
まだ誰も着手していません。
- 主要言語
- Shell
- スター
- 11.2k
- フォーク
- 1.9k
- 平均マージ
- 14時間 16分
- マージ済み PR(30日)
- 6
説明
Describe the bug
Bug: Pasted multi-line content not sent to model
Environment: WezTerm (Ctrl+V → PasteFrom "Clipboard" ) on Windows, running Copilot CLI inside WSL (zsh). CLI version 1.0.80.
Expected: The full pasted content (12 lines) is sent to the model as part of the message.
Actual: The model responds as if no content was received — e.g., "I don't see the pasted content — it looks like it didn't come through." The paste token is not being expanded/substituted with the real content before the request is sent.
Notes: Terminal/paste mechanism itself works correctly (bracketed paste, WezTerm config verified clean) — this appears to be a CLI-side bug in how paste tokens are resolved before submission.
Affected version
GitHub Copilot CLI 1.0.80.
Steps to reproduce the behavior
Steps to reproduce:
in wezterm using wsl,
- Copy multi-line text (e.g., 12 lines) to clipboard.
- Prompt correctly shows a collapsed token: [Paste #1 - 12 lines] .
- Press Enter to submit.
Expected behavior
No response
Additional context
No response
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
zsh を使用し、WSL 内の Copilot CLI を使って Windows 上の WezTerm で再現し、12 行をコピーして折りたたまれた [Paste #1] トークンを送信する。ソースファイルもテストも指定されていないため、プロンプトの送信からモデルリクエストまでの Paste トークンの処理を追跡する。送信されたメッセージに貼り付けた内容全体が含まれていれば完了とする。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- shell
- 領域
- cli
- issue の種類
- バグ
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 活発さ
- 活発
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 55/100