aws / aws/amazon-q-developer-cli
Kiro is tracking messages typed in my linux shell, not chat
- Lingua principale
- Rust
- Stelle
- 2k
- Fork
- 439
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
### 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 6.17.0-12-generic - Ubuntu 25.10
### Expected behaviour
No terminal commands logged
### Actual behaviour
I open a terminal and type any command, echo, ls, cd, etc. I find them in the `history` table of `~/.local/share/kiro-cli/data.sqlite3`
### Steps to reproduce
_No response_
### Environment
```yaml
my bash_profile is:
# Kiro CLI pre block. Keep at the top of this file.
[[ -f "${HOME}/.local/share/kiro-cli/shell/bash_profile.pre.bash" ]] && builtin source "${HOME}/.local/share/kiro-cli/shell/bash_profile.pre.bash"
# Kiro CLI post block. Keep at the bottom of this file.
[[ -f "${HOME}/.local/share/kiro-cli/shell/bash_profile.post.bash" ]] && builtin source "${HOME}/.local/share/kiro-cli/shell/bash_profile.post.bash"
```
Guida per i contributori
Apri la guida per i contributori
Direzione di ricerca
Inizia esaminando i file bash_profile.pre.bash e bash_profile.post.bash citati nel report, quindi verifica in che modo l'input del terminale raggiunge ~/.local/share/kiro-cli/data.sqlite3 e la relativa tabella history. Riproduci il problema con comandi come echo, ls e cd e verifica che i comandi shell non vengano più registrati lì, mentre i messaggi della chat continuano a funzionare.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- bash, rust, sqlite
- Ambito
- cli, databases, operating-systems
- Tipo di issue
- Bug
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Stato di attività
- Tranquilla
- Chiarezza
- Abbastanza chiara
- Idoneità per principianti
- 45/100