qwen-code/packages/cli/src/ui/components
DeWitt Clinton 27a773d5b2
Display git commit info in the /about section. (#567)
This change detects the most recent git commit short hash and writes it to the `GIT_COMMIT_INFO` constant in `packages/cli/src/generated/git-commit.sh`, optionally appending the string "(local modifications)" if additional local changes after that commit are detected.

If set, this string is displayed in the `/about` dialog as well as passed into the `/bug` template.

Example:

```
> /about

╭───────────────────────────────────────────────────────────────────────────╮
│                                                                           │
│ About Gemini CLI                                                          │
│                                                                           │
│ CLI Version               development                                     │
│ Git Commit                43370ab (local modifications)                   │
│ Model                     gemini-2.5-pro-preview-05-06                    │
│ Sandbox                   sandbox-exec (minimal)                          │
│ OS                        darwin v23.11.0                                 │
│                                                                           │
╰───────────────────────────────────────────────────────────────────────────╯
```

Additionally, this change updates `.gitignore` to ignore the generated files, `scripts/clean.sh` to remove them, and adds a `npm run generate` stage for this and any other generators we need to write.
2025-05-28 00:04:26 -07:00
..
messages Change tool call spinner to be different. 2025-05-25 16:05:22 -07:00
shared Add additional readline-like keybindings. (#524) 2025-05-23 22:13:57 -07:00
AboutBox.tsx Display git commit info in the /about section. (#567) 2025-05-28 00:04:26 -07:00
AutoAcceptIndicator.tsx feat: Add auto-accept indicator and toggle 2025-05-17 22:27:22 -07:00
ConsolePatcher.tsx Make console message support more robust to logging in the middle of rendering. (#521) 2025-05-23 22:51:47 -07:00
ConsoleSummaryDisplay.tsx Add additional readline-like keybindings. (#524) 2025-05-23 22:13:57 -07:00
DetailedMessagesDisplay.tsx Make console message support more robust to logging in the middle of rendering. (#521) 2025-05-23 22:51:47 -07:00
Footer.tsx Remove CLI info from footer 2025-05-23 16:14:37 -07:00
Header.tsx Make ascii logo simpler (#288) 2025-05-08 13:46:41 -07:00
Help.tsx remove outdated $ echo example from help (#463) 2025-05-21 07:52:49 -07:00
HistoryItemDisplay.tsx Code review comment fixes and some refactors. (#525) 2025-05-24 00:44:17 -07:00
InputPrompt.tsx Fix bug updating the cursor after navigating history. (#507) 2025-05-23 09:40:01 -07:00
LoadingIndicator.test.tsx Code review comment fixes and some refactors. (#525) 2025-05-24 00:44:17 -07:00
LoadingIndicator.tsx Code review comment fixes and some refactors. (#525) 2025-05-24 00:44:17 -07:00
ShellModeIndicator.tsx feat: Allow Esc to exit shell mode 2025-05-20 22:47:11 -07:00
SuggestionsDisplay.tsx UI improvements for suggestions & status (#373) 2025-05-15 16:35:21 -07:00
ThemeDialog.tsx Merge InputPrompt and multiline-editor and move autocomplete logic directly into InputPrompt (#453) 2025-05-20 16:50:32 -07:00
Tips.tsx feat: Add GEMINI.md tip to UI 2025-05-24 12:40:06 -07:00