@qwen-code/qwen-code 0.14.5 → 0.15.0-nightly.20260423.d40fe7cdb
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 +83 -19
- package/bundled/batch/SKILL.md +303 -0
- package/bundled/qc-helper/docs/configuration/settings.md +131 -84
- package/bundled/qc-helper/docs/features/_meta.ts +2 -0
- package/bundled/qc-helper/docs/features/arena.md +3 -2
- package/bundled/qc-helper/docs/features/commands.md +66 -11
- package/bundled/qc-helper/docs/features/dual-output.md +593 -0
- package/bundled/qc-helper/docs/features/headless.md +61 -0
- package/bundled/qc-helper/docs/features/hooks.md +297 -122
- package/bundled/qc-helper/docs/features/mcp.md +100 -14
- package/bundled/qc-helper/docs/features/memory.md +168 -0
- package/bundled/qc-helper/docs/features/status-line.md +36 -10
- package/bundled/qc-helper/docs/overview.md +4 -4
- package/bundled/qc-helper/docs/quickstart.md +14 -9
- package/bundled/qc-helper/docs/support/troubleshooting.md +9 -3
- package/cli.js +91695 -71445
- package/locales/de.js +51 -0
- package/locales/en.js +54 -0
- package/locales/fr.js +2 -0
- package/locales/ja.js +51 -0
- package/locales/pt.js +52 -0
- package/locales/ru.js +50 -0
- package/locales/zh.js +53 -0
- package/package.json +2 -2
- package/bundled/qc-helper/docs/configuration/memory.md +0 -0
|
@@ -24,6 +24,7 @@ These commands help you save, restore, and summarize work progress.
|
|
|
24
24
|
| `/summary` | Generate project summary based on conversation history | `/summary` |
|
|
25
25
|
| `/compress` | Replace chat history with summary to save Tokens | `/compress` |
|
|
26
26
|
| `/resume` | Resume a previous conversation session | `/resume` |
|
|
27
|
+
| `/recap` | Generate a one-line session recap now | `/recap` |
|
|
27
28
|
| `/restore` | Restore files to state before tool execution | `/restore` (list) or `/restore <ID>` |
|
|
28
29
|
|
|
29
30
|
### 1.2 Interface and Workspace Control
|
|
@@ -71,7 +72,10 @@ Commands for managing AI tools and models.
|
|
|
71
72
|
| `/model` | Switch model used in current session | `/model` |
|
|
72
73
|
| `/model --fast` | Set a lighter model for prompt suggestions | `/model --fast qwen3-coder-flash` |
|
|
73
74
|
| `/extensions` | List all active extensions in current session | `/extensions` |
|
|
74
|
-
| `/memory` |
|
|
75
|
+
| `/memory` | Open the Memory Manager dialog | `/memory` |
|
|
76
|
+
| `/remember` | Save a durable memory | `/remember Prefer terse responses` |
|
|
77
|
+
| `/forget` | Remove matching entries from auto-memory | `/forget <query>` |
|
|
78
|
+
| `/dream` | Manually run auto-memory consolidation | `/dream` |
|
|
75
79
|
|
|
76
80
|
### 1.5 Built-in Skills
|
|
77
81
|
|
|
@@ -153,7 +157,58 @@ The `/btw` command allows you to ask quick side questions without interrupting o
|
|
|
153
157
|
>
|
|
154
158
|
> Use `/btw` when you need a quick answer without derailing your main task. It's especially useful for clarifying concepts, checking facts, or getting quick explanations while staying focused on your primary workflow.
|
|
155
159
|
|
|
156
|
-
### 1.7
|
|
160
|
+
### 1.7 Session Recap (`/recap`)
|
|
161
|
+
|
|
162
|
+
The `/recap` command generates a short "where you left off" summary of the
|
|
163
|
+
current session, so you can resume an old conversation without scrolling
|
|
164
|
+
back through pages of history.
|
|
165
|
+
|
|
166
|
+
| Command | Description |
|
|
167
|
+
| -------- | ------------------------------------------ |
|
|
168
|
+
| `/recap` | Generate and show a one-line session recap |
|
|
169
|
+
|
|
170
|
+
**How it works:**
|
|
171
|
+
|
|
172
|
+
- Uses the configured fast model (`fastModel` setting) when available, falling
|
|
173
|
+
back to the main session model. A small, cheap model is enough for a recap.
|
|
174
|
+
- The recent conversation (up to 30 messages, text only — tool calls and tool
|
|
175
|
+
responses are filtered out) is sent to the model with a tight system prompt.
|
|
176
|
+
- The recap is rendered in dim color with a `❯` prefix so it stands apart
|
|
177
|
+
from real assistant replies.
|
|
178
|
+
- Refuses with an inline error if a model turn is in flight or another command
|
|
179
|
+
is processing. If there is no usable conversation, or the underlying
|
|
180
|
+
generation fails, `/recap` shows a short info message instead of a recap —
|
|
181
|
+
the manual command always responds with something.
|
|
182
|
+
|
|
183
|
+
**Auto-trigger when returning from being away:**
|
|
184
|
+
|
|
185
|
+
If the terminal is blurred for **5+ minutes** and gets focused again, a recap
|
|
186
|
+
is generated and shown automatically (only when no model response is in
|
|
187
|
+
progress; otherwise it waits for the current turn to finish and then fires).
|
|
188
|
+
Unlike the manual command, the auto-trigger is fully silent on failure: if
|
|
189
|
+
generation errors or there is nothing to summarize, no message is added to
|
|
190
|
+
the history. Controlled by the `general.showSessionRecap` setting
|
|
191
|
+
(default: `true`); the manual `/recap` command always works regardless of
|
|
192
|
+
this setting.
|
|
193
|
+
|
|
194
|
+
**Example:**
|
|
195
|
+
|
|
196
|
+
```
|
|
197
|
+
> /recap
|
|
198
|
+
|
|
199
|
+
❯ Refactoring loopDetectionService.ts to address long-session OOM caused by
|
|
200
|
+
unbounded streamContentHistory and contentStats. The next step is to
|
|
201
|
+
implement option B (LRU sliding window with FNV-1a) pending confirmation.
|
|
202
|
+
```
|
|
203
|
+
|
|
204
|
+
> [!tip]
|
|
205
|
+
>
|
|
206
|
+
> Configure a fast model via `/model --fast <model>` (e.g.
|
|
207
|
+
> `qwen3-coder-flash`) to make `/recap` fast and cheap. Set
|
|
208
|
+
> `general.showSessionRecap` to `false` to opt out of the auto-trigger
|
|
209
|
+
> while keeping the manual command available.
|
|
210
|
+
|
|
211
|
+
### 1.8 Information, Settings, and Help
|
|
157
212
|
|
|
158
213
|
Commands for obtaining information and performing system settings.
|
|
159
214
|
|
|
@@ -168,7 +223,7 @@ Commands for obtaining information and performing system settings.
|
|
|
168
223
|
| `/copy` | Copy last output content to clipboard | `/copy` |
|
|
169
224
|
| `/quit` | Exit Qwen Code immediately | `/quit` or `/exit` |
|
|
170
225
|
|
|
171
|
-
### 1.
|
|
226
|
+
### 1.9 Common Shortcuts
|
|
172
227
|
|
|
173
228
|
| Shortcut | Function | Note |
|
|
174
229
|
| ------------------ | ----------------------- | ---------------------- |
|
|
@@ -178,17 +233,17 @@ Commands for obtaining information and performing system settings.
|
|
|
178
233
|
| `Ctrl/cmd+Z` | Undo input | Text editing |
|
|
179
234
|
| `Ctrl/cmd+Shift+Z` | Redo input | Text editing |
|
|
180
235
|
|
|
181
|
-
### 1.
|
|
236
|
+
### 1.10 CLI Auth Subcommands
|
|
182
237
|
|
|
183
238
|
In addition to the in-session `/auth` slash command, Qwen Code provides standalone CLI subcommands for managing authentication directly from the terminal:
|
|
184
239
|
|
|
185
|
-
| Command | Description
|
|
186
|
-
| ---------------------------------------------------- |
|
|
187
|
-
| `qwen auth` | Interactive authentication setup
|
|
188
|
-
| `qwen auth qwen-oauth` | Authenticate with Qwen OAuth
|
|
189
|
-
| `qwen auth coding-plan` | Authenticate with Alibaba Cloud Coding Plan
|
|
190
|
-
| `qwen auth coding-plan --region china --key sk-sp-…` | Non-interactive Coding Plan setup (for scripting)
|
|
191
|
-
| `qwen auth status` | Show current authentication status
|
|
240
|
+
| Command | Description |
|
|
241
|
+
| ---------------------------------------------------- | ------------------------------------------------------------- |
|
|
242
|
+
| `qwen auth` | Interactive authentication setup |
|
|
243
|
+
| `qwen auth qwen-oauth` | ~~Authenticate with Qwen OAuth~~ (discontinued on 2026-04-15) |
|
|
244
|
+
| `qwen auth coding-plan` | Authenticate with Alibaba Cloud Coding Plan |
|
|
245
|
+
| `qwen auth coding-plan --region china --key sk-sp-…` | Non-interactive Coding Plan setup (for scripting) |
|
|
246
|
+
| `qwen auth status` | Show current authentication status |
|
|
192
247
|
|
|
193
248
|
> [!tip]
|
|
194
249
|
>
|