mirror of
https://github.com/QwenLM/qwen-code.git
synced 2026-05-05 23:42:03 +00:00
fix(mcp): update OAuth client names and improve MCP commands
- Rename MCP OAuth client names from 'Gemini CLI' to 'Qwen Code' - Update MCP add/remove/list commands with improved error handling - Add comprehensive tests for OAuth provider - Fix token storage test assertions - Clean up unused i18n translation keys - Update gemini-converter and window title references Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
This commit is contained in:
parent
36931e1eab
commit
21e711469d
27 changed files with 244 additions and 124 deletions
|
|
@ -1229,7 +1229,7 @@ export const AppContainer = (props: AppContainerProps) => {
|
|||
|
||||
useKeypress(handleGlobalKeypress, { isActive: true });
|
||||
|
||||
// Update terminal title with Gemini CLI status and thoughts
|
||||
// Update terminal title with Qwen Code status and thoughts
|
||||
useEffect(() => {
|
||||
// Respect both showStatusInTitle and hideWindowTitle settings
|
||||
if (
|
||||
|
|
@ -1256,7 +1256,7 @@ export const AppContainer = (props: AppContainerProps) => {
|
|||
lastTitleRef.current = paddedTitle;
|
||||
stdout.write(`\x1b]2;${paddedTitle}\x07`);
|
||||
}
|
||||
// Note: We don't need to reset the window title on exit because Gemini CLI is already doing that elsewhere
|
||||
// Note: We don't need to reset the window title on exit because Qwen Code is already doing that elsewhere
|
||||
}, [
|
||||
streamingState,
|
||||
thought,
|
||||
|
|
|
|||
|
|
@ -49,13 +49,6 @@ export const McpStatus: React.FC<McpStatusProps> = ({
|
|||
return (
|
||||
<Box flexDirection="column">
|
||||
<Text>{t('No MCP servers configured.')}</Text>
|
||||
<Text>
|
||||
{t('Please view MCP documentation in your browser:')}{' '}
|
||||
<Text color={theme.text.link}>
|
||||
https://goo.gle/gemini-cli-docs-mcp
|
||||
</Text>{' '}
|
||||
{t('or use the cli /docs command')}
|
||||
</Text>
|
||||
</Box>
|
||||
);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue