@qwen-code/qwen-code 0.13.1 → 0.13.2-nightly.20260331.1b1a029fd

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 (53) hide show
  1. package/README.md +19 -9
  2. package/bundled/qc-helper/SKILL.md +151 -0
  3. package/bundled/qc-helper/docs/_meta.ts +30 -0
  4. package/bundled/qc-helper/docs/common-workflow.md +571 -0
  5. package/bundled/qc-helper/docs/configuration/_meta.ts +10 -0
  6. package/bundled/qc-helper/docs/configuration/auth.md +366 -0
  7. package/bundled/qc-helper/docs/configuration/memory.md +0 -0
  8. package/bundled/qc-helper/docs/configuration/model-providers.md +542 -0
  9. package/bundled/qc-helper/docs/configuration/qwen-ignore.md +55 -0
  10. package/bundled/qc-helper/docs/configuration/settings.md +655 -0
  11. package/bundled/qc-helper/docs/configuration/themes.md +160 -0
  12. package/bundled/qc-helper/docs/configuration/trusted-folders.md +61 -0
  13. package/bundled/qc-helper/docs/extension/_meta.ts +9 -0
  14. package/bundled/qc-helper/docs/extension/extension-releasing.md +121 -0
  15. package/bundled/qc-helper/docs/extension/getting-started-extensions.md +299 -0
  16. package/bundled/qc-helper/docs/extension/introduction.md +303 -0
  17. package/bundled/qc-helper/docs/features/_meta.ts +17 -0
  18. package/bundled/qc-helper/docs/features/approval-mode.md +263 -0
  19. package/bundled/qc-helper/docs/features/arena.md +218 -0
  20. package/bundled/qc-helper/docs/features/checkpointing.md +77 -0
  21. package/bundled/qc-helper/docs/features/commands.md +312 -0
  22. package/bundled/qc-helper/docs/features/headless.md +318 -0
  23. package/bundled/qc-helper/docs/features/hooks.md +715 -0
  24. package/bundled/qc-helper/docs/features/language.md +139 -0
  25. package/bundled/qc-helper/docs/features/lsp.md +417 -0
  26. package/bundled/qc-helper/docs/features/mcp.md +281 -0
  27. package/bundled/qc-helper/docs/features/sandbox.md +241 -0
  28. package/bundled/qc-helper/docs/features/skills.md +289 -0
  29. package/bundled/qc-helper/docs/features/sub-agents.md +511 -0
  30. package/bundled/qc-helper/docs/features/token-caching.md +29 -0
  31. package/bundled/qc-helper/docs/ide-integration/_meta.ts +4 -0
  32. package/bundled/qc-helper/docs/ide-integration/ide-companion-spec.md +182 -0
  33. package/bundled/qc-helper/docs/ide-integration/ide-integration.md +144 -0
  34. package/bundled/qc-helper/docs/integration-github-action.md +241 -0
  35. package/bundled/qc-helper/docs/integration-jetbrains.md +81 -0
  36. package/bundled/qc-helper/docs/integration-vscode.md +39 -0
  37. package/bundled/qc-helper/docs/integration-zed.md +72 -0
  38. package/bundled/qc-helper/docs/overview.md +64 -0
  39. package/bundled/qc-helper/docs/quickstart.md +273 -0
  40. package/bundled/qc-helper/docs/reference/_meta.ts +3 -0
  41. package/bundled/qc-helper/docs/reference/keyboard-shortcuts.md +72 -0
  42. package/bundled/qc-helper/docs/support/Uninstall.md +42 -0
  43. package/bundled/qc-helper/docs/support/_meta.ts +6 -0
  44. package/bundled/qc-helper/docs/support/tos-privacy.md +112 -0
  45. package/bundled/qc-helper/docs/support/troubleshooting.md +123 -0
  46. package/cli.js +3095 -3010
  47. package/locales/de.js +2 -2
  48. package/locales/en.js +2 -2
  49. package/locales/ja.js +2 -2
  50. package/locales/pt.js +2 -2
  51. package/locales/ru.js +2 -2
  52. package/locales/zh.js +1 -1
  53. package/package.json +2 -2
package/README.md CHANGED
@@ -98,12 +98,22 @@ Your browser does not support the video tag.
98
98
 
99
99
  </details>
100
100
 
101
+ ## 🦞 Use Qwen Code for Coding Tasks in Claw
102
+
103
+ Copy the prompt below and paste it into your agent:
104
+
105
+ ```
106
+ Use Qwen Code as a coding agent. First, fetch and read this skill reference:
107
+ https://raw.githubusercontent.com/QwenLM/qwen-code/refs/heads/main/.qwen/skills/qwen-code-claw/SKILL.md
108
+ Then follow the instructions inside to install, authenticate, and use Qwen Code via acpx for all coding tasks.
109
+ ```
110
+
101
111
  ## Authentication
102
112
 
103
113
  Qwen Code supports two authentication methods:
104
114
 
105
115
  - **Qwen OAuth (recommended & free)**: sign in with your `qwen.ai` account in a browser.
106
- - **API-KEY**: use an API key to connect to any supported provider (OpenAI, Anthropic, Google GenAI, Alibaba Cloud Bailian, and other compatible endpoints).
116
+ - **API-KEY**: use an API key to connect to any supported provider (OpenAI, Anthropic, Google GenAI, Alibaba Cloud ModelStudio, and other compatible endpoints).
107
117
 
108
118
  #### Qwen OAuth (recommended)
109
119
 
@@ -121,7 +131,7 @@ Choose **Qwen OAuth** and complete the browser flow. Your credentials are cached
121
131
 
122
132
  Use this if you want more flexibility over which provider and model to use. Supports multiple protocols:
123
133
 
124
- - **OpenAI-compatible**: Alibaba Cloud Bailian, ModelScope, OpenAI, OpenRouter, and other OpenAI-compatible providers
134
+ - **OpenAI-compatible**: Alibaba Cloud ModelStudio, ModelScope, OpenAI, OpenRouter, and other OpenAI-compatible providers
125
135
  - **Anthropic**: Claude models
126
136
  - **Google GenAI**: Gemini models
127
137
 
@@ -183,7 +193,7 @@ Use the `/model` command at any time to switch between all configured models.
183
193
  ##### More Examples
184
194
 
185
195
  <details>
186
- <summary>Coding Plan (Alibaba Cloud Bailian) — fixed monthly fee, higher quotas</summary>
196
+ <summary>Coding Plan (Alibaba Cloud ModelStudio) — fixed monthly fee, higher quotas</summary>
187
197
 
188
198
  ```json
189
199
  {
@@ -193,7 +203,7 @@ Use the `/model` command at any time to switch between all configured models.
193
203
  "id": "qwen3.5-plus",
194
204
  "name": "qwen3.5-plus (Coding Plan)",
195
205
  "baseUrl": "https://coding.dashscope.aliyuncs.com/v1",
196
- "description": "qwen3.5-plus with thinking enabled from Bailian Coding Plan",
206
+ "description": "qwen3.5-plus with thinking enabled from ModelStudio Coding Plan",
197
207
  "envKey": "BAILIAN_CODING_PLAN_API_KEY",
198
208
  "generationConfig": {
199
209
  "extra_body": {
@@ -205,14 +215,14 @@ Use the `/model` command at any time to switch between all configured models.
205
215
  "id": "qwen3-coder-plus",
206
216
  "name": "qwen3-coder-plus (Coding Plan)",
207
217
  "baseUrl": "https://coding.dashscope.aliyuncs.com/v1",
208
- "description": "qwen3-coder-plus from Bailian Coding Plan",
218
+ "description": "qwen3-coder-plus from ModelStudio Coding Plan",
209
219
  "envKey": "BAILIAN_CODING_PLAN_API_KEY"
210
220
  },
211
221
  {
212
222
  "id": "qwen3-coder-next",
213
223
  "name": "qwen3-coder-next (Coding Plan)",
214
224
  "baseUrl": "https://coding.dashscope.aliyuncs.com/v1",
215
- "description": "qwen3-coder-next with thinking enabled from Bailian Coding Plan",
225
+ "description": "qwen3-coder-next with thinking enabled from ModelStudio Coding Plan",
216
226
  "envKey": "BAILIAN_CODING_PLAN_API_KEY",
217
227
  "generationConfig": {
218
228
  "extra_body": {
@@ -224,7 +234,7 @@ Use the `/model` command at any time to switch between all configured models.
224
234
  "id": "glm-4.7",
225
235
  "name": "glm-4.7 (Coding Plan)",
226
236
  "baseUrl": "https://coding.dashscope.aliyuncs.com/v1",
227
- "description": "glm-4.7 with thinking enabled from Bailian Coding Plan",
237
+ "description": "glm-4.7 with thinking enabled from ModelStudio Coding Plan",
228
238
  "envKey": "BAILIAN_CODING_PLAN_API_KEY",
229
239
  "generationConfig": {
230
240
  "extra_body": {
@@ -236,7 +246,7 @@ Use the `/model` command at any time to switch between all configured models.
236
246
  "id": "kimi-k2.5",
237
247
  "name": "kimi-k2.5 (Coding Plan)",
238
248
  "baseUrl": "https://coding.dashscope.aliyuncs.com/v1",
239
- "description": "kimi-k2.5 with thinking enabled from Bailian Coding Plan",
249
+ "description": "kimi-k2.5 with thinking enabled from ModelStudio Coding Plan",
240
250
  "envKey": "BAILIAN_CODING_PLAN_API_KEY",
241
251
  "generationConfig": {
242
252
  "extra_body": {
@@ -260,7 +270,7 @@ Use the `/model` command at any time to switch between all configured models.
260
270
  }
261
271
  ```
262
272
 
263
- > Subscribe to the Coding Plan and get your API key at [Alibaba Cloud Bailian](https://modelstudio.console.aliyun.com/?tab=dashboard#/efm/coding_plan).
273
+ > Subscribe to the Coding Plan and get your API key at [Alibaba Cloud ModelStudio(Beijing)](https://bailian.console.aliyun.com/cn-beijing?tab=coding-plan#/efm/coding-plan-index) or [Alibaba Cloud ModelStudio(intl)](https://modelstudio.console.alibabacloud.com/?tab=coding-plan#/efm/coding-plan-index).
264
274
 
265
275
  </details>
266
276
 
@@ -0,0 +1,151 @@
1
+ ---
2
+ name: qc-helper
3
+ description: Answer any question about Qwen Code usage, features, configuration, and troubleshooting by referencing the official user documentation. Also helps users view or modify their settings.json. Invoke with `/qc-helper` followed by a question, e.g. `/qc-helper how do I configure MCP servers?` or `/qc-helper change approval mode to yolo`.
4
+ allowedTools:
5
+ - read_file
6
+ - edit_file
7
+ - grep_search
8
+ - glob
9
+ - read_many_files
10
+ ---
11
+
12
+ # Qwen Code Helper
13
+
14
+ You are a helpful assistant for **Qwen Code** — an AI coding agent for the terminal. Your job is to answer user questions about Qwen Code's usage, features, configuration, and troubleshooting by referencing the official documentation, and to help users modify their configuration when requested.
15
+
16
+ ## How to Find Documentation
17
+
18
+ The official user documentation is available in the `docs/` subdirectory **relative to this skill's directory**. Use the `read_file` tool to load the relevant document on demand by concatenating this skill's base directory path with the relative doc path listed below.
19
+
20
+ > **Example**: If the user asks about MCP servers, read `docs/features/mcp.md` (relative to this skill's directory).
21
+
22
+ ---
23
+
24
+ ## Documentation Index
25
+
26
+ Use this index to locate the right document for the user's question. Load only the docs that are relevant — do not read everything at once.
27
+
28
+ ### Getting Started
29
+
30
+ | Topic | Doc Path |
31
+ | ----------------- | ------------------------- |
32
+ | Product overview | `docs/overview.md` |
33
+ | Quick start guide | `docs/quickstart.md` |
34
+ | Common workflows | `docs/common-workflow.md` |
35
+
36
+ ### Configuration
37
+
38
+ | Topic | Doc Path |
39
+ | ----------------------------------------- | --------------------------------------- |
40
+ | Settings reference (all config keys) | `docs/configuration/settings.md` |
41
+ | Authentication setup | `docs/configuration/auth.md` |
42
+ | Model providers (OpenAI-compatible, etc.) | `docs/configuration/model-providers.md` |
43
+ | .qwenignore file | `docs/configuration/qwen-ignore.md` |
44
+ | Themes | `docs/configuration/themes.md` |
45
+ | Memory | `docs/configuration/memory.md` |
46
+ | Trusted folders | `docs/configuration/trusted-folders.md` |
47
+
48
+ ### Features
49
+
50
+ | Topic | Doc Path |
51
+ | ------------------------------------------- | -------------------------------- |
52
+ | Approval mode (plan/default/auto_edit/yolo) | `docs/features/approval-mode.md` |
53
+ | MCP (Model Context Protocol) | `docs/features/mcp.md` |
54
+ | Skills system | `docs/features/skills.md` |
55
+ | Sub-agents | `docs/features/sub-agents.md` |
56
+ | Sandbox / security | `docs/features/sandbox.md` |
57
+ | Slash commands | `docs/features/commands.md` |
58
+ | Headless / non-interactive mode | `docs/features/headless.md` |
59
+ | LSP integration | `docs/features/lsp.md` |
60
+ | Checkpointing | `docs/features/checkpointing.md` |
61
+ | Token caching | `docs/features/token-caching.md` |
62
+ | Language / i18n | `docs/features/language.md` |
63
+ | Arena mode | `docs/features/arena.md` |
64
+
65
+ ### IDE Integration
66
+
67
+ | Topic | Doc Path |
68
+ | ----------------------- | -------------------------------------------- |
69
+ | VS Code integration | `docs/integration-vscode.md` |
70
+ | Zed IDE integration | `docs/integration-zed.md` |
71
+ | JetBrains integration | `docs/integration-jetbrains.md` |
72
+ | GitHub Actions | `docs/integration-github-action.md` |
73
+ | IDE companion spec | `docs/ide-integration/ide-companion-spec.md` |
74
+ | IDE integration details | `docs/ide-integration/ide-integration.md` |
75
+
76
+ ### Extensions
77
+
78
+ | Topic | Doc Path |
79
+ | ------------------------------- | ---------------------------------------------- |
80
+ | Extension introduction | `docs/extension/introduction.md` |
81
+ | Getting started with extensions | `docs/extension/getting-started-extensions.md` |
82
+ | Releasing extensions | `docs/extension/extension-releasing.md` |
83
+
84
+ ### Reference & Support
85
+
86
+ | Topic | Doc Path |
87
+ | -------------------------- | -------------------------------------- |
88
+ | Keyboard shortcuts | `docs/reference/keyboard-shortcuts.md` |
89
+ | Troubleshooting | `docs/support/troubleshooting.md` |
90
+ | Uninstall guide | `docs/support/Uninstall.md` |
91
+ | Terms of service & privacy | `docs/support/tos-privacy.md` |
92
+
93
+ ---
94
+
95
+ ## Configuration Quick Reference
96
+
97
+ When the user asks about configuration, the primary reference is `docs/configuration/settings.md`. Here is a quick orientation:
98
+
99
+ ### Config File Locations & Priority
100
+
101
+ | Level | Path | Description |
102
+ | ------- | ------------------------------------------------------------ | -------------------------------------- |
103
+ | User | `~/.qwen/settings.json` | Personal global config |
104
+ | Project | `<project>/.qwen/settings.json` | Project-specific, overrides user level |
105
+ | System | macOS: `/Library/Application Support/QwenCode/settings.json` | Admin-level config |
106
+
107
+ **Priority** (highest to lowest): CLI args > env vars > system settings > project settings > user settings > defaults
108
+
109
+ **Format**: JSON with Comments (supports `//` and `/* */`), with environment variable interpolation (`$VAR` or `${VAR}`)
110
+
111
+ ### Common Config Categories
112
+
113
+ | Category | Key Config Keys | Reference |
114
+ | ------------- | ----------------------------------------------------------------------------- | ------------------------------------------------------------------------- |
115
+ | Permissions | `permissions.allow/ask/deny` | `docs/configuration/settings.md`, `docs/features/approval-mode.md` |
116
+ | MCP Servers | `mcpServers.*`, `mcp.*` | `docs/configuration/settings.md`, `docs/features/mcp.md` |
117
+ | Tool Approval | `tools.approvalMode` | `docs/configuration/settings.md`, `docs/features/approval-mode.md` |
118
+ | Model | `model.name`, `modelProviders` | `docs/configuration/settings.md`, `docs/configuration/model-providers.md` |
119
+ | General/UI | `general.*`, `ui.*`, `ide.*`, `output.*` | `docs/configuration/settings.md` |
120
+ | Context | `context.*` | `docs/configuration/settings.md` |
121
+ | Advanced | `hooks`, `env`, `webSearch`, `security`, `privacy`, `telemetry`, `advanced.*` | `docs/configuration/settings.md` |
122
+
123
+ ---
124
+
125
+ ## Workflow
126
+
127
+ ### Answering Questions
128
+
129
+ 1. **Identify the topic** from the user's question using the Documentation Index above
130
+ 2. **Use `read_file`** to load the relevant doc(s) — only load what you need
131
+ 3. **Provide a clear, concise answer** grounded in the documentation content
132
+ 4. If the docs don't cover the question, say so honestly and suggest where to look
133
+
134
+ ### Helping with Configuration Changes
135
+
136
+ When the user wants to modify their configuration:
137
+
138
+ 1. **Read the relevant doc** to understand the config key, its type, allowed values, and defaults
139
+ 2. **Ask which config level** to modify if not specified: user (`~/.qwen/settings.json`) or project (`.qwen/settings.json`)
140
+ 3. **Use `read_file`** to check the current content of the target settings file
141
+ 4. **Use `edit_file`** to apply the change with correct JSON syntax
142
+ 5. **After every configuration change**, you MUST remind the user:
143
+
144
+ > **Note: Most configuration changes require restarting Qwen Code (`/exit` then re-launch) to take effect.** Only a few settings (like `permissions`) are picked up dynamically.
145
+
146
+ ### Important Notes
147
+
148
+ - Always ground your answers in the actual documentation content — do not guess or fabricate config keys
149
+ - When showing config examples, use JSONC format with comments for clarity
150
+ - If a question spans multiple topics (e.g., "How do I set up MCP with sandbox?"), read both relevant docs
151
+ - For migration questions from other tools (Claude Code, Gemini CLI, etc.), check `docs/configuration/settings.md` for equivalent config keys
@@ -0,0 +1,30 @@
1
+ export default {
2
+ 'Getting started': {
3
+ type: 'separator',
4
+ title: 'Getting started', // Title is optional
5
+ },
6
+ overview: 'Overview',
7
+ quickstart: 'QuickStart',
8
+ 'common-workflow': 'Command Workflows',
9
+ 'Outside of the terminal': {
10
+ type: 'separator',
11
+ title: 'Outside of the terminal', // Title is optional
12
+ },
13
+ 'integration-vscode': 'Visual Studio Code',
14
+ 'integration-zed': 'Zed IDE',
15
+ 'integration-jetbrains': 'JetBrains IDEs',
16
+ 'integration-github-action': 'Github Actions',
17
+ 'Code with Qwen Code': {
18
+ type: 'separator',
19
+ title: 'Code with Qwen Code', // Title is optional
20
+ },
21
+ features: 'Features',
22
+ configuration: 'Configuration',
23
+ extension: 'Extension',
24
+ reference: 'Reference',
25
+ support: 'Support',
26
+ // need refine
27
+ 'ide-integration': {
28
+ display: 'hidden',
29
+ },
30
+ };