aws / aws/amazon-q-developer-cli
continuing chat sessions that are initiated with piped input
- 主要言語
- Rust
- スター
- 2k
- フォーク
- 439
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
### Checks
- [x] I have searched [github.com/aws/amazon-q-developer-cli/issues](https://github.com/aws/amazon-q-developer-cli/issues?q=) and there are no duplicates of my issue
- [x] I have run `q doctor` in the affected terminal session
- [x] I have run `q restart` and replicated the issue again
### Operating system
Linux 5.10.234-205.895.amzn2int.x86_64 - Amazon Linux 2
### Expected behaviour
the chat session should continue
### Actual behaviour
the chat session ends before I can reply or say "yes" to the proposed action
### Steps to reproduce
`cat ./lib/stacks/workflowStack.ts | q chat "can you help me, with the context i just added"`
### Environment
```yaml
[q-details]
version = "1.7.0"
hash = "8885a6708f2f07d02d29460a96f9c422da095e49"
date = "2025-03-06T01:03:21.313384Z (6d ago)"
variant = "minimal"
[system-info]
chip = "AMD EPYC 7R13 Processor"
total-cores = 16
memory = "123.22 GB"
[system-info.os.linux]
kernel_version = "5.10.234-205.895.amzn2int.x86_64"
id = "amzn"
name = "Amazon Linux"
pretty_name = "Amazon Linux 2"
version_id = "2"
version = "2"
variant = "internal"
[environment]
cwd = "/local/home/USER"
cli-path = "/local/home/USER"
os = "Linux"
shell-path = "/local/home/USER/.toolbox/tools/toolbox/1.1.1726.0/toolbox-exec"
shell-version = "5.8"
install-method = "toolbox"
in-ssh = true
[env-vars]
PATH = '/home/USER/.toolbox/bin:/home/USER/.toolbox/bin:/home/linuxbrew/.linuxbrew/bin:/home/linuxbrew/.linuxbrew/sbin:/apollo/env/envImprovement/bin:/home/USER/.cargo/bin:/usr/local/bin:/usr/bin:/home/USER/bin:/usr/local/sbin:/usr/sbin:/home/USER/.local/bin:/home/USER/bin:/usr/local/bin/mwinit:/home/USER/.toolbox/bin:/home/USER/CoolScripts:/home/USER/dotnet:/Applications/Visual\ Studio\ Code.app/Contents/Resources/app/bin:/home/linuxbrew/.linuxbrew/bin'
SHELL = "/bin/zsh"
TERM = "xterm-256color"
```
コントリビューションガイド
調査の方向性
まず、報告された Linux 環境で `cat ./lib/stacks/workflowStack.ts | q chat "can you help me, with the context i just added"` を再現し、次にパイプ経由の入力を処理する `q chat` のエントリーポイントを追跡します。パイプ経由のコンテキストで開始したセッションが開いたままになり、ユーザーが返信したり、提案されたアクションを確認したりできれば完了です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- rust, shell
- 領域
- cli
- issue の種類
- バグ
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 32/100