@qwen-code/qwen-code 0.0.1-alpha.7 → 0.0.1-alpha.9

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.
Files changed (3) hide show
  1. package/README.md +21 -2
  2. package/bundle/gemini.js +655 -694
  3. package/package.json +5 -2
package/README.md CHANGED
@@ -2,7 +2,10 @@
2
2
 
3
3
  ![Qwen Code Screenshot](./docs/assets/qwen-screenshot.png)
4
4
 
5
- Qwen Code is a command-line AI workflow tool adapted from [**Gemini CLI**](https://github.com/google-gemini/gemini-cli)(Please refer to [this document](./README.gemini.md) for more details), optimized for Qwen-Coder models with enhanced parser support & tool support.
5
+ Qwen Code is a command-line AI workflow tool adapted from [**Gemini CLI**](https://github.com/google-gemini/gemini-cli) (Please refer to [this document](./README.gemini.md) for more details), optimized for [Qwen3-Coder](https://github.com/QwenLM/Qwen3-Coder) models with enhanced parser support & tool support.
6
+
7
+ > [!WARNING]
8
+ > Qwen Code may issue multiple API calls per cycle, resulting in higher token usage, similar to Claude Code. We’re actively working to enhance API efficiency and improve the overall developer experience.
6
9
 
7
10
  ## Key Features
8
11
 
@@ -44,9 +47,17 @@ npm install -g .
44
47
 
45
48
  ### API Configuration
46
49
 
47
- Set your Qwen API key (In Qwen Code project, you can also set your API key in `.env` file):
50
+ Set your Qwen API key (In Qwen Code project, you can also set your API key in `.env` file). the `.env` file should be placed in the root directory of your current project.
51
+
52
+ > ⚠️ **Notice:** <br>
53
+ > **If you are in mainland China, please go to https://bailian.console.aliyun.com/ to apply for your API key** <br>
54
+ > **If you are not in mainland China, please go to https://modelstudio.console.alibabacloud.com/ to apply for your API key**
48
55
 
49
56
  ```bash
57
+ # If you are in mainland China, use the following URL:
58
+ # https://dashscope.aliyuncs.com/compatible-mode/v1
59
+ # If you are not in mainland China, use the following URL:
60
+ # https://dashscope-intl.aliyuncs.com/compatible-mode/v1
50
61
  export OPENAI_API_KEY="your_api_key_here"
51
62
  export OPENAI_BASE_URL="your_api_base_url_here"
52
63
  export OPENAI_MODEL="your_api_model_here"
@@ -104,6 +115,14 @@ qwen
104
115
  > Create API documentation
105
116
  ```
106
117
 
118
+ ## Benchmark Results
119
+
120
+ ### Terminal-Bench
121
+
122
+ | Agent | Model | Accuracy |
123
+ | --------- | ------------------ | -------- |
124
+ | Qwen Code | Qwen3-Coder-480A35 | 37.5 |
125
+
107
126
  ## Project Structure
108
127
 
109
128
  ```