@qwen-code/qwen-code 0.19.0 → 0.19.1
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/bundled/qc-helper/docs/features/mcp.md +6 -2
- package/bundled/qc-helper/docs/qwen-serve.md +1 -1
- package/chunks/{agent-IPSDEZNB.js → agent-7CZOLKXM.js} +2 -2
- package/chunks/{agent-headless-ZMTUWMZJ.js → agent-headless-K37PBQK5.js} +2 -2
- package/chunks/{chunk-YF3ORUIU.js → chunk-2X2WXY6L.js} +309 -352
- package/chunks/{chunk-GAAALA2X.js → chunk-FXT37TZS.js} +3 -3
- package/chunks/{chunk-VRIVIYRL.js → chunk-NQDRRVJD.js} +4 -4
- package/chunks/{chunk-KFR4QTV3.js → chunk-OJMCOR55.js} +64 -57
- package/chunks/{chunk-S7ILEIB4.js → chunk-PNT7QCLK.js} +2 -3
- package/chunks/{chunk-CICUTYTF.js → chunk-YMBWB67C.js} +24 -31
- package/chunks/{computer-use-YYK42DD5.js → computer-use-AY6HODX4.js} +2 -2
- package/chunks/{contextCommand-BO45MUAA.js → contextCommand-KVKJ63NZ.js} +4 -4
- package/chunks/{cron-create-DXKAP5KN.js → cron-create-NHRAAWT5.js} +8 -5
- package/chunks/{edit-QERNJN7K.js → edit-OXD4P5YK.js} +2 -2
- package/chunks/{en-UTXMGXIR.js → en-7OGNWWME.js} +1 -0
- package/chunks/{enter-worktree-6ZKH5IL3.js → enter-worktree-NKNFTLNO.js} +2 -2
- package/chunks/{enterPlanMode-B2PBF4MA.js → enterPlanMode-7W2FCILY.js} +2 -2
- package/chunks/{exit-worktree-EOCMQO4I.js → exit-worktree-NCRZ52XD.js} +2 -2
- package/chunks/{exitPlanMode-WSRXCBRZ.js → exitPlanMode-AZIUQQHA.js} +2 -2
- package/chunks/{geminiContentGenerator-NTR4LTKS.js → geminiContentGenerator-5HKVP4JF.js} +1 -1
- package/chunks/{glob-IWDJQI2V.js → glob-VCPO3AQO.js} +2 -2
- package/chunks/{grep-2DV5BXMH.js → grep-R3W7SG6T.js} +2 -2
- package/chunks/{monitor-6HBDS2RS.js → monitor-TQCZALTB.js} +2 -2
- package/chunks/{notebook-edit-J5AY5BRY.js → notebook-edit-RYYGIJTA.js} +2 -2
- package/chunks/{openaiContentGenerator-ENABCJDM.js → openaiContentGenerator-2AUZ47JU.js} +2 -2
- package/chunks/{qwenContentGenerator-ISW42U7C.js → qwenContentGenerator-QM6ENWSO.js} +3 -3
- package/chunks/{read-file-NRX2FSSQ.js → read-file-ZSIMNYPB.js} +1 -1
- package/chunks/{ripGrep-WF5CKHR5.js → ripGrep-LONCTNP3.js} +2 -2
- package/chunks/{scheduler-PNPG5WJ3.js → scheduler-FMNCHQQH.js} +2 -2
- package/chunks/{serve-ZBRCIIHW.js → serve-XLPTFQOQ.js} +32 -11
- package/chunks/{shell-DLIL6MLU.js → shell-G2CEO7D7.js} +2 -2
- package/chunks/{skill-32TXHY4A.js → skill-E5YLTHY3.js} +1 -1
- package/chunks/{src-PDDLF5BB.js → src-GCZS2DES.js} +2 -4
- package/chunks/{team-create-EHLDSJGI.js → team-create-RQCITTFK.js} +2 -2
- package/chunks/{tool-search-FU7IZAOO.js → tool-search-2COFGD5N.js} +1 -1
- package/chunks/{workflow-WUDNBCGX.js → workflow-A5VAXYUS.js} +18 -10
- package/chunks/{write-file-NVFPX6CH.js → write-file-P2RNFLJR.js} +2 -2
- package/chunks/{zh-YOXVTJU5.js → zh-3RMSEO5M.js} +1 -0
- package/chunks/{zh-TW-J2TTW67R.js → zh-TW-R7WRLTJS.js} +1 -0
- package/cli.js +358 -202
- package/locales/en.js +1 -0
- package/locales/zh-TW.js +1 -0
- package/locales/zh.js +1 -0
- package/package.json +3 -3
|
@@ -190,8 +190,12 @@ syntax — type `@`, then the server name, a colon, and the resource URI:
|
|
|
190
190
|
summarize @myserver:file:///docs/spec.md and list the open questions
|
|
191
191
|
```
|
|
192
192
|
|
|
193
|
-
Typing `@myserver:` shows an autocomplete list of that server's
|
|
194
|
-
|
|
193
|
+
Typing `@myserver:` shows an autocomplete list of that server's resources;
|
|
194
|
+
keep typing to filter, matching (case-insensitively) either the resource URI
|
|
195
|
+
or its friendly name/title. You don't have to know a URI by heart — before
|
|
196
|
+
you reach the colon, typing part of a server name also suggests matching
|
|
197
|
+
servers that expose resources, so you can pick one and drill straight into
|
|
198
|
+
its resource list. On submit, the referenced resource is read and its contents are
|
|
195
199
|
appended to your message (text inline, binary blobs as attachments); the
|
|
196
200
|
`@server:uri` reference is preserved in the prompt so the model knows what
|
|
197
201
|
it is looking at. The `server` prefix must match a configured MCP server —
|
|
@@ -234,7 +234,7 @@ The token comparison is constant-time (SHA-256 + `crypto.timingSafeEqual`); 401
|
|
|
234
234
|
| `--http-bridge` | `true` | Stage 1 mode: one `qwen --acp` child per daemon (bound to one workspace at boot, per [#3803](https://github.com/QwenLM/qwen-code/issues/3803) §02); N sessions multiplex onto that child via ACP `newSession()`. Stage 2 native in-process becomes available later. |
|
|
235
235
|
| `--allow-origin <pat>` | — | T2.4 ([#4514](https://github.com/QwenLM/qwen-code/issues/4514)). Cross-origin allowlist for browser webui clients. Repeatable. Each value is `*` (any origin — boot refuses if no bearer token is configured; `--require-auth` on loopback is recommended so `/health` and `/demo` are also bearer-gated, since both are pre-auth on loopback by default) or a canonical URL origin (`<scheme>://<host>[:<port>]`, no trailing slash / path / userinfo / query). **Subdomain wildcards (`https://*.example.com`) are intentionally unsupported** — list each subdomain explicitly, or use `*` with a configured token (and `--require-auth` for full hardening). Matched origins receive CORS response headers (`Access-Control-Allow-Origin`, `Vary: Origin`, methods, headers, max-age, and exposed `Retry-After`); unmatched origins still get a 403 with the same envelope as today's wall. `Origin: null` (sandboxed iframes, file:// docs) is always rejected, even under `*`. Pre-flight via `caps.features.allow_origin`. Loopback self-origin hits are unaffected. |
|
|
236
236
|
| `--web` / `--no-web` | `true` | Serve the built Web Shell SPA at the daemon root (`GET /`, `/assets/*`, and SPA deep-link fallback). The static shell is registered **before** the bearer-auth gate — a browser can't attach a token to a `<script>` subresource or an address-bar navigation, the shell carries no secrets, and every API route stays token-gated regardless. On non-loopback binds a one-line stderr warning notes the UI is reachable without auth. Use `--no-web` for an API-only daemon. No effect when the build omits the Web Shell assets (the daemon logs a breadcrumb and runs API-only). |
|
|
237
|
-
| `--open` | `false` | After the listener is up, open the Web Shell in your default browser at the daemon URL (with `#token=` appended as a URL fragment when a token is configured — a fragment is never sent to the server, keeping the token out of access logs and Referer headers). No-op with `--no-web`, or in headless / CI / SSH environments where no browser is available.
|
|
237
|
+
| `--open` | `false` | After the listener is up, open the Web Shell in your default browser at the daemon URL (with `#token=` appended as a URL fragment when a token is configured — a fragment is never sent to the server, keeping the token out of access logs and Referer headers). No-op with `--no-web`, or in headless / CI / SSH environments where no browser is available. |
|
|
238
238
|
|
|
239
239
|
> **Sizing the load knobs.** `--max-sessions` is the **new-child** cap.
|
|
240
240
|
> Three other layers also limit load — when sizing for a high-concurrency
|
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
hasRebuiltToolRegistry,
|
|
8
8
|
rebuildToolRegistryOnOverride,
|
|
9
9
|
resolveSubagentApprovalMode
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-2X2WXY6L.js";
|
|
11
11
|
import "./chunk-K5PGHDBN.js";
|
|
12
12
|
import "./chunk-TXVGVZYR.js";
|
|
13
13
|
import "./chunk-XU5P23GN.js";
|
|
@@ -23,7 +23,7 @@ import "./chunk-OTBK43JR.js";
|
|
|
23
23
|
import "./chunk-HGNSRCRB.js";
|
|
24
24
|
import "./chunk-EEEZIVFJ.js";
|
|
25
25
|
import "./chunk-PRYMDRBV.js";
|
|
26
|
-
import "./chunk-
|
|
26
|
+
import "./chunk-YMBWB67C.js";
|
|
27
27
|
import "./chunk-3PJXIDKI.js";
|
|
28
28
|
import "./chunk-UWCTAVOD.js";
|
|
29
29
|
import "./chunk-OFEVLU4C.js";
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
AgentHeadless,
|
|
5
5
|
ContextState,
|
|
6
6
|
templateString
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-2X2WXY6L.js";
|
|
8
8
|
import "./chunk-K5PGHDBN.js";
|
|
9
9
|
import "./chunk-TXVGVZYR.js";
|
|
10
10
|
import "./chunk-XU5P23GN.js";
|
|
@@ -20,7 +20,7 @@ import "./chunk-OTBK43JR.js";
|
|
|
20
20
|
import "./chunk-HGNSRCRB.js";
|
|
21
21
|
import "./chunk-EEEZIVFJ.js";
|
|
22
22
|
import "./chunk-PRYMDRBV.js";
|
|
23
|
-
import "./chunk-
|
|
23
|
+
import "./chunk-YMBWB67C.js";
|
|
24
24
|
import "./chunk-3PJXIDKI.js";
|
|
25
25
|
import "./chunk-UWCTAVOD.js";
|
|
26
26
|
import "./chunk-OFEVLU4C.js";
|