diff --git a/docs/developers/contributing.md b/docs/developers/contributing.md index 6dd54b9fb7..9dc512cb24 100644 --- a/docs/developers/contributing.md +++ b/docs/developers/contributing.md @@ -203,7 +203,7 @@ This section describes how to develop and preview the documentation locally. ### Prerequisites -1. Ensure you have Node.js (version 18+) installed +1. Ensure you have Node.js (version 22+) installed 2. Have npm or yarn available ### Setup Documentation Site Locally diff --git a/docs/developers/development/integration-tests.md b/docs/developers/development/integration-tests.md index cf163dbb16..5c91769782 100644 --- a/docs/developers/development/integration-tests.md +++ b/docs/developers/development/integration-tests.md @@ -20,7 +20,7 @@ npm run test:e2e ## Running a specific set of tests -To run a subset of test files, you can use `npm run ....` where <integration test command> is either `test:e2e` or `test:integration*` and `` is any of the `.test.js` files in the `integration-tests/` directory. For example, the following command runs `list_directory.test.js` and `write_file.test.js`: +To run a subset of test files, you can use `npm run ....` where <integration test command> is either `test:e2e` or `test:integration*` and `` is any of the `.test.ts` files in the `integration-tests/` directory. For example, the following command runs `list_directory.test.ts` and `write_file.test.ts`: ```bash npm run test:e2e list_directory write_file @@ -120,7 +120,7 @@ This structure makes it easy to locate the artifacts for a specific test run, fi ``` .integration-tests/ └── / - └── .test.js/ + └── .test.ts/ └── / ├── output.log └── ...other test artifacts... diff --git a/docs/developers/qwen-serve-protocol.md b/docs/developers/qwen-serve-protocol.md index 4e640ef549..63c0cbe5f2 100644 --- a/docs/developers/qwen-serve-protocol.md +++ b/docs/developers/qwen-serve-protocol.md @@ -1245,7 +1245,7 @@ Capability tag: `workspace_tool_toggle`. Pure file IO — no ACP roundtrip. Toggle a tool name in the workspace's `tools.disabled` settings list. Tools listed there are **not registered** at all (distinct from `permissions.deny`, which keeps the tool registered and rejects invocation). Both built-in tools and MCP-discovered tools flow through `ToolRegistry.registerTool`, which consults the disabled set. -> ⚠️ **Names must match the registry's exposed identifier exactly.** No alias resolution happens — the route stores whatever string is in the path parameter into `tools.disabled`, and the next ACP child compares against `tool.name` at register time. Built-ins use their canonical registry name (snake_case verb form): `run_shell_command`, `read_file`, `write_file`, `list_directory`, `glob`, `search_file_content`, `ripgrep`, `web_fetch`, etc. — NOT the display labels (`Shell`, `Read`, `Write`) that the CLI surfaces. MCP-discovered tools use the qualified `mcp____` form (which is also the form `tool_toggled` events broadcast and what `GET /workspace/mcp` lists). Disabling `Bash` will NOT prevent `run_shell_command` from registering on the next session. +> ⚠️ **Names must match the registry's exposed identifier exactly.** No alias resolution happens — the route stores whatever string is in the path parameter into `tools.disabled`, and the next ACP child compares against `tool.name` at register time. Built-ins use their canonical registry name (snake_case verb form): `run_shell_command`, `read_file`, `write_file`, `list_directory`, `glob`, `grep_search`, `web_fetch`, etc. — NOT the display labels (`Shell`, `Read`, `Write`) that the CLI surfaces. MCP-discovered tools use the qualified `mcp____` form (which is also the form `tool_toggled` events broadcast and what `GET /workspace/mcp` lists). Disabling `Bash` will NOT prevent `run_shell_command` from registering on the next session. Live ACP children retain already-registered tools — the toggle takes effect on the **next** ACP child spawn. Combine with `POST /workspace/mcp/:server/restart` (for MCP-sourced tools) or new-session creation to make the change effective in the current daemon. diff --git a/docs/developers/sdk-typescript.md b/docs/developers/sdk-typescript.md index a3de0f2e57..253a16815b 100644 --- a/docs/developers/sdk-typescript.md +++ b/docs/developers/sdk-typescript.md @@ -68,7 +68,7 @@ Creates a new query session with the Qwen Code. | `abortController` | `AbortController` | - | Controller to cancel the query session. Call `abortController.abort()` to terminate the session and cleanup resources. | | `debug` | `boolean` | `false` | Enable debug mode for verbose logging from the CLI process. | | `maxSessionTurns` | `number` | `-1` (unlimited) | Maximum number of conversation turns before the session automatically terminates. A turn consists of a user message and an assistant response. | -| `coreTools` | `string[]` | - | Equivalent to `tool.core` in settings.json. If specified, only these tools will be available to the AI. Example: `['read_file', 'write_file', 'run_terminal_cmd']`. | +| `coreTools` | `string[]` | - | Equivalent to `tool.core` in settings.json. If specified, only these tools will be available to the AI. Example: `['read_file', 'write_file', 'run_shell_command']`. | | `excludeTools` | `string[]` | - | Equivalent to `tool.exclude` in settings.json. Excluded tools return a permission error immediately. Takes highest priority over all other permission settings. Supports pattern matching: tool name (`'write_file'`), tool class (`'ShellTool'`), or shell command prefix (`'ShellTool(rm )'`). | | `allowedTools` | `string[]` | - | Equivalent to `tool.allowed` in settings.json. Matching tools bypass `canUseTool` callback and execute automatically. Only applies when tool requires confirmation. Supports same pattern matching as `excludeTools`. | | `authType` | `'openai' \| 'qwen-oauth'` | `'openai'` | Authentication type for the AI service. Using `'qwen-oauth'` in SDK is not recommended as credentials are stored in `~/.qwen` and may need periodic refresh. | diff --git a/docs/users/configuration/auth.md b/docs/users/configuration/auth.md index 48173dad7c..aaf1be70ff 100644 --- a/docs/users/configuration/auth.md +++ b/docs/users/configuration/auth.md @@ -50,7 +50,7 @@ Alibaba Cloud Coding Plan is available in two regions: Enter `qwen` in the terminal to launch Qwen Code, then run the `/auth` command and select **Alibaba Cloud Coding Plan**. Choose your region, then enter your `sk-sp-xxxxxxxxx` key. -After authentication, use the `/model` command to switch between all Alibaba Cloud Coding Plan supported models (including qwen3.5-plus, qwen3-coder-plus, qwen3-coder-next, qwen3-max, glm-4.7, and kimi-k2.5). +After authentication, use the `/model` command to switch between all Alibaba Cloud Coding Plan supported models (including qwen3.5-plus, qwen3.6-plus, qwen3.7-plus, qwen3-coder-plus, qwen3-coder-next, qwen3-max-2026-01-23, glm-5, glm-4.7, kimi-k2.5, and MiniMax-M2.5). ### Headless or scripted setup diff --git a/docs/users/configuration/model-providers.md b/docs/users/configuration/model-providers.md index 6a90c11212..455ce132d5 100644 --- a/docs/users/configuration/model-providers.md +++ b/docs/users/configuration/model-providers.md @@ -299,11 +299,18 @@ Alibaba Cloud Coding Plan provides a pre-configured set of Qwen models optimized When you authenticate with an Alibaba Cloud Coding Plan API key using the `/auth` command, Qwen Code automatically configures the following models: -| Model ID | Name | Description | -| ---------------------- | -------------------- | -------------------------------------- | -| `qwen3.5-plus` | qwen3.5-plus | Advanced model with thinking enabled | -| `qwen3-coder-plus` | qwen3-coder-plus | Optimized for coding tasks | -| `qwen3-max-2026-01-23` | qwen3-max-2026-01-23 | Latest max model with thinking enabled | +| Model ID | Name | Description | +| ---------------------- | -------------------- | --------------------------------------------------------- | +| `qwen3.5-plus` | qwen3.5-plus | Advanced model with thinking enabled | +| `qwen3.6-plus` | qwen3.6-plus | Latest model with thinking enabled (Pro subscribers only) | +| `qwen3.7-plus` | qwen3.7-plus | Advanced model with thinking enabled | +| `qwen3-coder-plus` | qwen3-coder-plus | Optimized for coding tasks | +| `qwen3-coder-next` | qwen3-coder-next | Experimental coding model | +| `qwen3-max-2026-01-23` | qwen3-max-2026-01-23 | Latest max model with thinking enabled | +| `glm-5` | glm-5 | GLM model with thinking enabled | +| `glm-4.7` | glm-4.7 | GLM model with thinking enabled | +| `kimi-k2.5` | kimi-k2.5 | Kimi model with thinking and vision/video support | +| `MiniMax-M2.5` | MiniMax-M2.5 | MiniMax model with thinking enabled | ### Setup