kiro-cli shell integration hijacks all terminal sessions, not just Kiro's own terminal
Before opening, please confirm:
- [x] I have searched for duplicate or closed issues
Operating System
macOS Tahoe 26.1
Kiro Version
0.11.132
Bug Description
- kiro-cli init 注入的 kiro-cli-term 会劫持所有终端会话(包括 macOS Terminal.app)
- 当 Kiro 后台未运行时会导致终端完全卡死
- 应该默认只在 TERM_PROGRAM == "kiro" 时加载,而不是无条件注入
Steps to Reproduce
install kiro-cli
Expected Behavior
终端显示ruby-W1--disable=gems,rubyopt/opt/homebrew/Library/Homebrew/brew.rb list amazon-q - 1 • curl - 269×71
Conversation ID
e982be08-84ae-4bd9-909b-009471c9b96b e982be08-84ae-4bd9-909b-009471c9b96b e982be08-84ae-4bd9-909b-009471c9b96b e982be08-84ae-4bd9-909b-009471c9b96b e982be08-84ae-4bd9-909b-009471c9b96b
Additional Context
No response
🤖 Potential Duplicate Detected
This issue appears to be similar to:
- #5711: kiro-cli-term PTY wrapper drops typeahead input (zsh, macOS Tahoe) (85% similar)
- #5414: zsh malloc stack logging warning on macOS startup (85% similar)
- #4981: Kiro changes title of the terminal making it hard to know which terminal tab is doing what (85% similar)
- #4850: Title: Backspace/delete keys cause unexpected edits in Kiro CLI input (82% similar)
What happens next?
- ⏰ This issue will be automatically closed in 3 days
- 🏷️ If this is not a duplicate, you can prevent automatic closure by adding a comment or reacting with 👎 to this message.
- 💬 Comment on the original issue if you have additional information
Why is this marked as duplicate? Both issues report problems with kiro-cli-term functionality on macOS Tahoe - the new issue describes terminal hijacking and freezing when Kiro backend isn't running, while #5711 reports the PTY wrapper dropping input, indicating related terminal integration problems with the same component
kiro-cli init 注入的 kiro-cli-term 会劫持所有终端会话(包括 macOS Terminal.app)
Thank you for your feedback! 🙏
The duplicate label has been removed and this issue has been sent back for maintainer review.
A maintainer will review this issue shortly.
Hey @lyh-cf did you try a different terminal? If you can share kiro-cli doctor / kiro-cli diagnostics with the desktop app running that would help debug
Otherwise I recommend kiro-cli integrations uninstall dotfiles to immediately unblock your setup, this is an unknown issue that isn't otherwise reproducible
This issue has been automatically closed due to inactivity. It has been 7 days since we requested additional information.
If you still need help with this issue, please feel free to reopen it or create a new issue with the requested details.