diff --git a/docs/cli/configuration.md b/docs/cli/configuration.md index 5e8c9002..78147c3f 100644 --- a/docs/cli/configuration.md +++ b/docs/cli/configuration.md @@ -438,7 +438,7 @@ Arguments passed directly when running the CLI can override other configurations - `auto_edit`: Automatically approve edit tools (replace, write_file) while prompting for others - `yolo`: Automatically approve all tool calls (equivalent to `--yolo`) - Cannot be used together with `--yolo`. Use `--approval-mode=yolo` instead of `--yolo` for the new unified approach. - - Example: `gemini --approval-mode auto_edit` + - Example: `qwen --approval-mode auto_edit` - **`--telemetry`**: - Enables [telemetry](../telemetry.md). - **`--telemetry-target`**: diff --git a/docs/integration-tests.md b/docs/integration-tests.md index 90e65a9a..00c91fe1 100644 --- a/docs/integration-tests.md +++ b/docs/integration-tests.md @@ -89,7 +89,7 @@ The verbose output is formatted to clearly identify the source of the logs: ``` --- TEST: : --- -... output from the gemini command ... +... output from the qwen command ... --- END TEST: : --- ``` diff --git a/packages/cli/src/config/config.ts b/packages/cli/src/config/config.ts index d929747e..4431d7f8 100644 --- a/packages/cli/src/config/config.ts +++ b/packages/cli/src/config/config.ts @@ -218,7 +218,7 @@ export async function parseArguments(): Promise { .option('proxy', { type: 'string', description: - 'Proxy for gemini client, like schema://user:password@host:port', + 'Proxy for qwen client, like schema://user:password@host:port', }) .option('include-directories', { type: 'array', diff --git a/packages/cli/src/ui/IdeIntegrationNudge.tsx b/packages/cli/src/ui/IdeIntegrationNudge.tsx index 7f42c600..dd58957a 100644 --- a/packages/cli/src/ui/IdeIntegrationNudge.tsx +++ b/packages/cli/src/ui/IdeIntegrationNudge.tsx @@ -88,7 +88,7 @@ export function IdeIntegrationNudge({ {'> '} - {`Do you want to connect ${ideName ?? 'your'} editor to Gemini CLI?`} + {`Do you want to connect ${ideName ?? 'your'} editor to Qwen Code?`} {installText} diff --git a/packages/cli/src/ui/commands/ideCommand.ts b/packages/cli/src/ui/commands/ideCommand.ts index e18ab12d..5172f148 100644 --- a/packages/cli/src/ui/commands/ideCommand.ts +++ b/packages/cli/src/ui/commands/ideCommand.ts @@ -130,7 +130,7 @@ export const ideCommand = (config: Config | null): SlashCommand | null => { ({ type: 'message', messageType: 'error', - content: `IDE integration is not supported in your current environment. To use this feature, run Gemini CLI in one of these supported IDEs: ${Object.values( + content: `IDE integration is not supported in your current environment. To use this feature, run Qwen Code in one of these supported IDEs: ${Object.values( DetectedIde, ) .map((ide) => getIdeInfo(ide).displayName) diff --git a/packages/cli/src/ui/commands/mcpCommand.test.ts b/packages/cli/src/ui/commands/mcpCommand.test.ts index 42ee3612..7c2dc48f 100644 --- a/packages/cli/src/ui/commands/mcpCommand.test.ts +++ b/packages/cli/src/ui/commands/mcpCommand.test.ts @@ -146,7 +146,7 @@ describe('mcpCommand', () => { type: 'message', messageType: 'info', content: - 'No MCP servers configured. Please view MCP documentation in your browser: https://goo.gle/gemini-cli-docs-mcp or use the cli /docs command', + 'No MCP servers configured. Please view MCP documentation in your browser: https://qwenlm.github.io/qwen-code-docs/en/tools/mcp-server/#how-to-set-up-your-mcp-server or use the cli /docs command', }); }); }); diff --git a/packages/cli/src/ui/commands/mcpCommand.ts b/packages/cli/src/ui/commands/mcpCommand.ts index db537b7b..3c3fb4de 100644 --- a/packages/cli/src/ui/commands/mcpCommand.ts +++ b/packages/cli/src/ui/commands/mcpCommand.ts @@ -58,7 +58,8 @@ const getMcpStatus = async ( const blockedMcpServers = config.getBlockedMcpServers() || []; if (serverNames.length === 0 && blockedMcpServers.length === 0) { - const docsUrl = 'https://goo.gle/gemini-cli-docs-mcp'; + const docsUrl = + 'https://qwenlm.github.io/qwen-code-docs/en/tools/mcp-server/#how-to-set-up-your-mcp-server'; return { type: 'message', messageType: 'info', diff --git a/scripts/build_sandbox.js b/scripts/build_sandbox.js index 5cb4cd61..eb24de26 100644 --- a/scripts/build_sandbox.js +++ b/scripts/build_sandbox.js @@ -136,7 +136,7 @@ function buildImage(imageName, dockerfile) { if (isWindows) { // PowerShell doesn't support <() process substitution. // Create a temporary auth file that we will clean up after. - tempAuthFile = join(os.tmpdir(), `gemini-auth-${Date.now()}.json`); + tempAuthFile = join(os.tmpdir(), `qwen-auth-${Date.now()}.json`); writeFileSync(tempAuthFile, '{}'); buildCommandArgs = `--authfile="${tempAuthFile}"`; } else { diff --git a/scripts/create_alias.sh b/scripts/create_alias.sh index ecb01bb3..0a6b8363 100755 --- a/scripts/create_alias.sh +++ b/scripts/create_alias.sh @@ -5,7 +5,7 @@ set -euo pipefail # Determine the project directory PROJECT_DIR=$(cd "$(dirname "$0")/.." && pwd) -ALIAS_COMMAND="alias gemini='node "${PROJECT_DIR}/scripts/start.js"'" +ALIAS_COMMAND="alias qwen='node "${PROJECT_DIR}/scripts/start.js"'" # Detect shell and set config file path if [[ "${SHELL}" == *"/bash" ]]; then @@ -22,8 +22,8 @@ echo " ${ALIAS_COMMAND}" echo "" # Check if the alias already exists -if grep -q "alias gemini=" "${CONFIG_FILE}"; then - echo "A 'gemini' alias already exists in ${CONFIG_FILE}. No changes were made." +if grep -q "alias qwen=" "${CONFIG_FILE}"; then + echo "A 'qwen' alias already exists in ${CONFIG_FILE}. No changes were made." exit 0 fi @@ -33,7 +33,7 @@ if [[ "${REPLY}" =~ ^[Yy]$ ]]; then echo "${ALIAS_COMMAND}" >> "${CONFIG_FILE}" echo "" echo "Alias added to ${CONFIG_FILE}." - echo "Please run 'source ${CONFIG_FILE}' or open a new terminal to use the 'gemini' command." + echo "Please run 'source ${CONFIG_FILE}' or open a new terminal to use the 'qwen' command." else echo "Aborted. No changes were made." fi