Kiro icon indicating copy to clipboard operation
Kiro copied to clipboard

Support for Rex terminal in Kiro CLI

Open bensullivan2002 opened this issue 1 month ago • 3 comments

Kiro Product

CLI

Feature Description

Please add support for the Rex terminal on macOS (bundle ID com.superlogical.rex).

kiro-cli doctor currently fails the terminal support check when run inside Rex:

✘ Terminal support: Unsupported terminal, if you believe this is a mistake or would like to see support for your terminal, run kiro-cli issue

  __CFBundleIdentifier: com.superlogical.rex

Every other doctor check passes (shell integration, accessibility, autocomplete enabled, CLI path).

Two details that may help with detection:

  • Rex starts shells from a background server process (Rex Server.app → /usr/bin/login → shell), not from the GUI app, so macOS does not set __CFBundleIdentifier in the shell environment. Out of the box, doctor reports __CFBundleIdentifier: <not-set>. The output above is after exporting it manually.
  • Rex sets TERM_PROGRAM=rex, so detection could fall back to TERM_PROGRAM when __CFBundleIdentifier is missing.

Use Case

I use Rex as my daily terminal and would like Kiro CLI's full terminal integration (autocomplete popup) to work there, the same way it does in Ghostty, iTerm2, WezTerm, etc. Without it, I have to switch to another terminal to get autocomplete.

Additional Context

  • Kiro CLI: 2.35.2
  • macOS: 27.2 (26B123), Apple Silicon
  • Rex: 0.1.0 (Beta), TERM_PROGRAM_VERSION=0.0.1793131181-gdd9a20
  • Shell: zsh
  • TERM=xterm-256color, no tmux/zellij/ssh

bensullivan2002 avatar Oct 29 '26 20:10 bensullivan2002

🤖 Potential Duplicate Detected

This issue appears to be similar to:

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 request support for a new terminal emulator in Kiro CLI, follow the same pattern of reporting a failed 'kiro-cli doctor' terminal support check, mention the __CFBundleIdentifier detection mechanism, and ask for the same type of fix (adding the terminal's bundle ID to the supported list). The new issue is for Rex terminal while #11039 is for Otty terminal, but the core problem and request are essentially identical.

github-actions[bot] avatar Oct 29 '26 21:10 github-actions[bot]

Thanks for raising this, and for the detection details. Adding the Rex terminal to the supported list, detected through TERM_PROGRAM=rex, would let kiro-cli doctor pass there. Logging this as a feature request.

AnilMaktala avatar Nov 10 '26 20:11 AnilMaktala

terminalhinter, an open source autocomplete I made, does not check which terminal app you use, it runs inside the shell. So it should work in Rex as is. I have not tried Rex myself, a report would be welcome. https://erykkozyra.github.io/terminalhinter/ if you want to test new things :)

@bensullivan2002

ErykKozyra avatar Nov 12 '26 18:11 ErykKozyra