This commit updates the /bug command to point to the Qwen-Code
repository instead of the Gemini CLI repository.
The following files were modified:
- `packages/cli/src/ui/hooks/slashCommandProcessor.ts`: Updated the URL
for the /bug command.
- `packages/cli/src/ui/hooks/slashCommandProcessor.test.ts`: Updated the
test for the /bug command to reflect the new URL.
- `docs/cli/commands.md`: Updated the documentation for the /bug
command and replaced all instances of "Gemini CLI" with "Qwen Code".
- Add bounds checking in RadioButtonSelect to prevent accessing undefined array elements
- Add useEffect to ensure activeIndex stays within valid bounds when items array changes
- Add validation guards around navigation handlers (up/down arrow keys)
- Fix AuthDialog initialAuthIndex calculation to prevent negative values from findIndex
- Ensure Enter key works properly on authentication screen
Fixes TypeError: Cannot read properties of undefined (reading 'value') that occurred
when activeIndex was out of bounds due to dynamic array changes or invalid initialization.
Signed-off-by: loheagn <loheagn@icloud.com>
Co-authored-by: linan.loheagn3 <linan.loheagn3@bytedance.com>