@qwen-code/qwen-code 0.10.1 → 0.10.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +12 -15
- package/cli.js +2757 -1605
- package/locales/en.js +7 -0
- package/locales/zh.js +7 -0
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -24,9 +24,9 @@ Qwen Code is an open-source AI agent for the terminal, optimized for [Qwen3-Code
|
|
|
24
24
|
|
|
25
25
|
## Why Qwen Code?
|
|
26
26
|
|
|
27
|
-
- **
|
|
27
|
+
- **Multi-protocol, OAuth free tier**: use OpenAI / Anthropic / Gemini-compatible APIs, or sign in with Qwen OAuth for 1,000 free requests/day.
|
|
28
28
|
- **Open-source, co-evolving**: both the framework and the Qwen3-Coder model are open-source—and they ship and evolve together.
|
|
29
|
-
- **Agentic workflow, feature-rich**: rich built-in tools (Skills, SubAgents
|
|
29
|
+
- **Agentic workflow, feature-rich**: rich built-in tools (Skills, SubAgents) for a full agentic workflow and a Claude Code-like experience.
|
|
30
30
|
- **Terminal-first, IDE-friendly**: built for developers who live in the command line, with optional integration for VS Code, Zed, and JetBrains IDEs.
|
|
31
31
|
|
|
32
32
|
## Installation
|
|
@@ -51,10 +51,7 @@ curl -fsSL -o %TEMP%\install-qwen.bat https://qwen-code-assets.oss-cn-hangzhou.a
|
|
|
51
51
|
|
|
52
52
|
#### Prerequisites
|
|
53
53
|
|
|
54
|
-
|
|
55
|
-
# Node.js 20+
|
|
56
|
-
curl -qL https://www.npmjs.com/install.sh | sh
|
|
57
|
-
```
|
|
54
|
+
Make sure you have Node.js 20 or later installed. Download it from [nodejs.org](https://nodejs.org/en/download).
|
|
58
55
|
|
|
59
56
|
#### NPM
|
|
60
57
|
|
|
@@ -104,7 +101,7 @@ Your browser does not support the video tag.
|
|
|
104
101
|
Qwen Code supports two authentication methods:
|
|
105
102
|
|
|
106
103
|
- **Qwen OAuth (recommended & free)**: sign in with your `qwen.ai` account in a browser.
|
|
107
|
-
- **
|
|
104
|
+
- **API-KEY**: use an API key to connect to any supported provider (OpenAI, Anthropic, Google GenAI, Alibaba Cloud Bailian, and other compatible endpoints).
|
|
108
105
|
|
|
109
106
|
#### Qwen OAuth (recommended)
|
|
110
107
|
|
|
@@ -116,17 +113,17 @@ Start `qwen`, then run:
|
|
|
116
113
|
|
|
117
114
|
Choose **Qwen OAuth** and complete the browser flow. Your credentials are cached locally so you usually won't need to log in again.
|
|
118
115
|
|
|
119
|
-
|
|
116
|
+
> **Note:** In non-interactive or headless environments (e.g., CI, SSH, containers), you typically **cannot** complete the OAuth browser login flow. In these cases, please use the API-KEY authentication method.
|
|
120
117
|
|
|
121
|
-
|
|
118
|
+
#### API-KEY (flexible)
|
|
122
119
|
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
120
|
+
Use this if you want more flexibility over which provider and model to use. Supports multiple protocols:
|
|
121
|
+
|
|
122
|
+
- **OpenAI-compatible**: Alibaba Cloud Bailian, ModelScope, OpenAI, OpenRouter, and other OpenAI-compatible providers
|
|
123
|
+
- **Anthropic**: Claude models
|
|
124
|
+
- **Google GenAI**: Gemini models
|
|
128
125
|
|
|
129
|
-
For details (including `.
|
|
126
|
+
For full details (including `modelProviders` configuration, `.env` file loading, environment variable priorities, and security notes), see the [authentication guide](https://qwenlm.github.io/qwen-code-docs/en/users/configuration/auth/).
|
|
130
127
|
|
|
131
128
|
## Usage
|
|
132
129
|
|