aws / aws/amazon-q-developer-cli
ASDF autocomplete doesn't support versions 0.16+
- 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
macOS 15.3.1 (24D70)
### Expected behaviour
Amazon Q should detect which version of [asdf](https://asdf-vm.com/) is installed / used and modify suggestions/autocomplete to use that versions commands. See the list of [breaking changes with 0.16](https://asdf-vm.com/guide/upgrading-to-v0-16.html#breaking-changes). For example, I'd expect to get a suggestion for `asdf set java ` instead of `asdf local java ` when trying to change the java version with `asdf` 0.16+.
### Actual behaviour
Regardless of the `asdf` version used, Amazon Q is offering suggestions from versions before v0.16.For example, when using `asdf` 0.16+, I still see suggestions for prior versions, such as `asdf local java `, etc. See the full list of [breaking changes with 0.16](https://asdf-vm.com/guide/upgrading-to-v0-16.html#breaking-changes).
### Steps to reproduce
Upgrade [asdf](https://asdf-vm.com/guide/upgrading-to-v0-16.html#breaking-changes) to version 0.16+ and see that Amazon Q is still referencing commands from prior releases.
### Environment
```yaml
[q-details]
version = "1.6.1"
hash = "f66e0b0e917ab185eef528dc36eca56b78ca8b5d"
date = "2025-02-04T00:06:28.754523Z (10d ago)"
variant = "full"
[system-info]
os = "macOS 15.3.1 (24D70)"
chip = "Apple M1 Max"
total-cores = 10
memory = "64.00 GB"
[environment]
cwd = "/Users/USER"
cli-path = "/Users/USER"
os = "Mac"
shell-path = "/bin/zsh"
shell-version = "5.9"
terminal = "macOS"
install-method = "unknown"
[env-vars]
PATH = "/Users/USER/bin:/Users/USER/Downloads/google-cloud-sdk/bin:/Users/USER/.asdf/shims:/opt/homebrew/opt/coreutils/libexec/gnubin:/usr/local/opt/ruby/bin:/opt/homebrew/bin:/usr/local/bin:/Users/USER/bin:/usr/local/sbin:/Users/USER/.asdf/shims:/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:/Library/Apple/usr/bin:/Applications/Postgres.app/Contents/Versions/latest/bin:/Users/USER/.local/bin:/Applications/Visual Studio Code.app/Contents/Resources/app/bin:/Users/USER/Library/Android/sdk/tools:/Users/USER/Library/Android/sdk/platform-tools:/Users/USER/Library/Application Support/JetBrains/Toolbox/scripts:/Users/USER/Projects/gradle-profiler/build/install/gradle-profiler/bin"
QTERM_SESSION_ID = "540001add00b405f951ec49fe4592f3c"
Q_SET_PARENT_CHECK = "1"
Q_TERM = "1.6.1"
SHELL = "/bin/zsh"
TERM = "xterm-256color"
__CFBundleIdentifier = "com.apple.Terminal"
```
Contributor guide
Assessment
This issue has not been assessed yet.