aws / aws/amazon-q-developer-cli
Store conversation history in durable format
- Ngôn ngữ chính
- Rust
- Star
- 2k
- Fork
- 439
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Mô tả
### 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
macOS 15.3.0 (24D60)
### Expected behaviour
> it would be great to have the CLI store the command / prompt history in a durable form, .bash_history -style.
### Actual behaviour
CLI does not have this functionality right now.
### Steps to reproduce
_No response_
### Environment
```yaml
[q-details]
version = "1.7.2"
hash = "b6bf5f1675dd7395009e8bc65c1145820671f211"
date = "2025-03-21T01:36:16.66764Z (6d ago)"
variant = "full"
[system-info]
os = "macOS 15.3.0 (24D60)"
chip = "Apple M1"
total-cores = 8
memory = "16.00 GB"
[environment]
cwd = "/Users/USER/experiments/amazon-q-developer-cli"
cli-path = "/Users/USER/experiments/amazon-q-developer-cli"
os = "Mac"
shell-path = "/bin/zsh"
shell-version = "5.9"
terminal = "macOS"
install-method = "unknown"
[env-vars]
PATH = "/Users/USER/.local/share/mise/installs/node/18.20.2/bin:/Users/USER/.local/share/mise/installs/python/3.12.8/bin:/Users/USER/.local/share/mise/installs/python/3.11.11/bin:/Users/USER/.local/share/mise/installs/python/3.10.16/bin:/Users/USER/.local/share/mise/installs/python/3.9.21/bin:/Users/USER/.local/share/mise/installs/python/3.8.20/bin:/opt/homebrew/bin:/opt/homebrew/sbin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin:/Users/USER/.cargo/bin:/Users/USER/.local/bin:/Applications/Visual Studio Code.app/Contents/Resources/app/bin:/Users/USER/.toolbox/bin:/Users/USER/Library/Python/3.x/bin:/Users/USER/Library/Python/3.13/bin"
QTERM_SESSION_ID = "c8e1122bfbb14624948b6d5a1e5c26ee"
Q_SET_PARENT_CHECK = "1"
Q_TERM = "1.7.2"
SHELL = "/bin/zsh"
TERM = "xterm-256color"
__CFBundleIdentifier = "com.apple.Terminal"
```
Hướng dẫn đóng góp
Hướng nghiên cứu
Bắt đầu bằng việc xem xét pull request đã đóng #978 và xác định cách CLI hiện đang xử lý lịch sử lệnh và prompt. Xác định bộ nhớ lưu trữ lâu bền cần hoạt động như thế nào giữa các phiên, đồng thời kiểm tra rằng lịch sử lệnh và prompt có thể được truy xuất dưới dạng tương tự .bash_history.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Đánh giá
- Công nghệ
- rust
- Lĩnh vực
- cli
- Loại issue
- Tính năng
- Độ khó
- 5/5
- Thời gian dự kiến
- Hơn một tuần
- Mức độ hoạt động
- Đình trệ
- Độ rõ ràng
- Khá rõ ràng
- Mức phù hợp với người mới
- 35/100