aws / aws/amazon-q-developer-cli

Add visual session identification (current directory or session name) to Q CLI window

Open
#3,467 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Rust
Stars
2k
Forks
439
PR merge metrics
No merged PRs in 30d

Description

### 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.245-241.976.amzn2int.x86_64 - Amazon Linux 2

### Expected behaviour

Q CLI should display identifying information (such as current working directory, session name, or unique identifier) in the chat window to help users distinguish between multiple concurrent Q sessions. This could be shown as:
- A status bar or header showing the current directory
- Window title integration
- Session identifier in the prompt
- Configurable context display

### Actual behaviour

Q CLI currently provides no visual indication in the chat window itself to identify which session/directory the user is working in. When running multiple Q sessions simultaneously, users cannot easily distinguish between windows without switching focus or checking external terminal information. While you can certainly ask it to run `pwd` and get the current directory, there is no simple way to visually identify it.

### Steps to reproduce

1. Open multiple Q CLI sessions in different directories
2. Attempt to identify which session corresponds to which directory by looking at the Q chat window
3. Observe that there is no visual identifier within the Q interface itself

### Environment

```yaml
[q-details]
version = "1.19.6"
hash = "5b649e6f65a0035ad9ee2dbad6c6b7fdb3ddf0c6"
date = "2025-11-13T18:12:49.660606Z (5d ago)"

[system-info]
chip = "Intel(R) Xeon(R) Platinum 8488C"
total-cores = 4
memory = "15.33 GB"

[system-info.os.linux]
kernel_version = "5.10.245-241.976.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/workplace"
cli-path = "/local/home/USER/workplace"
install-method = "toolbox"
in-ssh = true

[env-vars]
EDITOR = "vim"
PATH = "/usr/lib/jvm/java-17-amazon-corretto.x86_64/bin:/home/USER/.local/share/mise/installs/python/3.12.11/bin:/home/USER/.local/share/mise/installs/python/3.11.13/bin:/home/USER/.local/share/mise/installs/python/3.10.18/bin:/home/USER/.local/share/mise/installs/python/3.9.23/bin:/home/USER/.local/share/mise/installs/python/3.8.20/bin:/home/USER/.local/share/mise/installs/usage/2.2.2:/home/USER/.pyenv/shims:/home/linuxbrew/.linuxbrew/bin:/home/linuxbrew/.linuxbrew/sbin:/home/linuxbrew/.linuxbrew/bin:/home/linuxbrew/.linuxbrew/sbin:/usr/local/bin:/usr/bin:/home/USER/bin:/home/USER/.local/bin:/snap/bin:/home/USER/go-work/bin:/home/USER/.toolbox/bin:/home/USER/bin:/home/USER/.local/bin:/snap/bin:/home/USER/go-work/bin:/home/USER/.toolbox/bin:/home/USER/bin:/usr/local/sbin:/usr/sbin"
Q_SET_PARENT_CHECK = "1"
Q_USING_ZSH_AUTOSUGGESTIONS = "1"
SHELL = "/bin/zsh"
TERM = "xterm-256color"

[chat-settings]

[chat-trusted_tools]
use_aws=trusted

[chat-failed_request_ids]
none

[chat-context]
current_profile=q_cli_default
profile_context=
AmazonQ.md
AGENTS.md
README.md
.amazonq/rules/**/*.md

files=
/local/home/USER/workplace//README.md, 130 tkns
total context size=130 tkns
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.