Commit graph

3928 commits

Author SHA1 Message Date
LaZzyMan
785d0ef5b7 fix: enforce plan mode restrictions in ACP sessions (issue #1806)
- Add plan mode enforcement in Session.runTool to block write tools
- Align ACP behavior with CoreToolScheduler plan mode logic
- Add test case to verify write tools are blocked in plan mode
- Fixes #1806
2026-02-12 11:29:02 +08:00
Mingholy
fb9f3fb4dc
Merge pull request #1808 from QwenLM/chore/v0.10.1
Some checks are pending
Qwen Code CI / Lint (push) Waiting to run
Qwen Code CI / Test (push) Blocked by required conditions
Qwen Code CI / Test-1 (push) Blocked by required conditions
Qwen Code CI / Test-2 (push) Blocked by required conditions
Qwen Code CI / Test-3 (push) Blocked by required conditions
Qwen Code CI / Test-4 (push) Blocked by required conditions
Qwen Code CI / Test-5 (push) Blocked by required conditions
Qwen Code CI / Test-6 (push) Blocked by required conditions
Qwen Code CI / Test-7 (push) Blocked by required conditions
Qwen Code CI / Test-8 (push) Blocked by required conditions
Qwen Code CI / Post Coverage Comment (push) Blocked by required conditions
Qwen Code CI / CodeQL (push) Waiting to run
E2E Tests / E2E Test (Linux) - sandbox:docker (push) Waiting to run
E2E Tests / E2E Test (Linux) - sandbox:none (push) Waiting to run
E2E Tests / E2E Test - macOS (push) Waiting to run
chore: bump version to 0.10.1
2026-02-11 19:24:44 +08:00
mingholy.lmh
cc4ad12e06 chore: bump version to 0.10.1
Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
2026-02-11 19:22:31 +08:00
pomelo
b843aaadb6
Merge pull request #1800 from QwenLM/docs-update-auth
docs: update authentication documentation with Coding Plan setup guide
2026-02-11 17:39:30 +08:00
pomelo-nwu
489890cf93 docs: update auth docs for multi-protocol support
Add Anthropic/Gemini protocols, modelProviders config, and env var priority docs

Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
2026-02-11 17:37:58 +08:00
Mingholy
57b4bf9f1d
Merge pull request #1805 from QwenLM/mingholy/fix/coding-plan-folloup
feat(coding-plan): implement Coding Plan configuration management and update prompts
2026-02-11 17:12:23 +08:00
mingholy.lmh
a5c7f1db3b feat(i18n): add translations for "Configure authentication information for login" in multiple languages 2026-02-11 17:00:43 +08:00
mingholy.lmh
54d9073cc0 feat(auth): enhance AuthDialog with error handling and update API key link 2026-02-11 16:48:54 +08:00
mingholy.lmh
a8a05188cb feat(coding-plan): implement Coding Plan configuration management and update prompts 2026-02-11 16:18:23 +08:00
joeytoday
63c067bf34 docs: update authentication documentation with Coding Plan setup guide
- Update images to use CDN links
- Add Coding Plan quick setup instructions
- Add settings.json modelProviders configuration guide
- Add direct configuration via Qwen Code conversation guide
- Improve formatting and structure
2026-02-11 13:54:31 +08:00
Mingholy
76d31d50c4
Merge pull request #1788 from QwenLM/mingholy/feat/coding-plan
feat: add Coding Plan authentication mode with unified AuthDialog
2026-02-11 12:11:57 +08:00
mingholy.lmh
5f710b5f6f fix: ui 2026-02-11 11:58:34 +08:00
mingholy.lmh
50e5cf7508 feat(ui): enhance AuthDialog with theming and documentation link 2026-02-11 11:58:34 +08:00
Mingholy
6626745197 fix: type & i18n & ut 2026-02-11 11:58:33 +08:00
mingholy.lmh
b9dd080bd1 feat: add auth entry: coding plan 2026-02-11 11:58:33 +08:00
Mingholy
169ad2d030
Merge pull request #1756 from QwenLM/feat/mcp-progress-updates
feat: add MCP tool progress update support in TUI and SDK mode
2026-02-11 11:07:20 +08:00
Mingholy
f7e3bd0ead
Merge pull request #1773 from QwenLM/fix/auth-model-login-ui
fix(auth-model-login-ui): prevent Enter key from triggering empty message submission
2026-02-11 11:07:11 +08:00
顾盼
66f754e203
Merge pull request #1770 from QwenLM/fix/local-extension-path-detection
Some checks are pending
Qwen Code CI / Lint (push) Waiting to run
Qwen Code CI / Test (push) Blocked by required conditions
Qwen Code CI / Test-1 (push) Blocked by required conditions
Qwen Code CI / Test-2 (push) Blocked by required conditions
Qwen Code CI / Test-3 (push) Blocked by required conditions
Qwen Code CI / Test-4 (push) Blocked by required conditions
Qwen Code CI / Test-5 (push) Blocked by required conditions
Qwen Code CI / Test-6 (push) Blocked by required conditions
Qwen Code CI / Test-7 (push) Blocked by required conditions
Qwen Code CI / Test-8 (push) Blocked by required conditions
Qwen Code CI / Post Coverage Comment (push) Blocked by required conditions
Qwen Code CI / CodeQL (push) Waiting to run
E2E Tests / E2E Test (Linux) - sandbox:none (push) Waiting to run
E2E Tests / E2E Test (Linux) - sandbox:docker (push) Waiting to run
E2E Tests / E2E Test - macOS (push) Waiting to run
fix: prioritize local path detection in extension installation
2026-02-10 14:39:19 +08:00
DennisYu07
abd630e815
Merge pull request #1604 from afarber/1399-podman-windows
Some checks are pending
Qwen Code CI / CodeQL (push) Waiting to run
Qwen Code CI / Lint (push) Waiting to run
Qwen Code CI / Test (push) Blocked by required conditions
Qwen Code CI / Test-1 (push) Blocked by required conditions
Qwen Code CI / Test-2 (push) Blocked by required conditions
Qwen Code CI / Test-3 (push) Blocked by required conditions
Qwen Code CI / Test-4 (push) Blocked by required conditions
Qwen Code CI / Test-5 (push) Blocked by required conditions
Qwen Code CI / Test-6 (push) Blocked by required conditions
Qwen Code CI / Test-7 (push) Blocked by required conditions
Qwen Code CI / Test-8 (push) Blocked by required conditions
Qwen Code CI / Post Coverage Comment (push) Blocked by required conditions
E2E Tests / E2E Test (Linux) - sandbox:docker (push) Waiting to run
E2E Tests / E2E Test (Linux) - sandbox:none (push) Waiting to run
E2E Tests / E2E Test - macOS (push) Waiting to run
fix(cli): use PowerShell Get-Command for Windows sandbox detection
2026-02-09 18:27:27 -08:00
tanzhenxin
d6a33dbe03
Merge pull request #1662 from QwenLM/fix/top-right-model-not-updating
fix(ui): resolve model not updating in top-right corner
2026-02-10 10:22:08 +08:00
yiliang114
981692b239 fix(vscode-ide-companion): refine model selection keyboard handling and error display
Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
2026-02-09 19:17:46 +08:00
yiliang114
91394c46fb Merge branch 'main' of https://github.com/QwenLM/qwen-code into fix/auth-model-login-ui 2026-02-09 19:17:03 +08:00
DennisYu07
fd4476f801
Merge pull request #1771 from QwenLM/fix/resolve-warning-installation-shell
Some checks are pending
Qwen Code CI / Lint (push) Waiting to run
Qwen Code CI / Test (push) Blocked by required conditions
Qwen Code CI / Test-1 (push) Blocked by required conditions
Qwen Code CI / Test-2 (push) Blocked by required conditions
Qwen Code CI / Test-3 (push) Blocked by required conditions
Qwen Code CI / Test-4 (push) Blocked by required conditions
Qwen Code CI / Test-5 (push) Blocked by required conditions
Qwen Code CI / Test-6 (push) Blocked by required conditions
Qwen Code CI / Test-7 (push) Blocked by required conditions
Qwen Code CI / Test-8 (push) Blocked by required conditions
Qwen Code CI / Post Coverage Comment (push) Blocked by required conditions
Qwen Code CI / CodeQL (push) Waiting to run
E2E Tests / E2E Test (Linux) - sandbox:docker (push) Waiting to run
E2E Tests / E2E Test (Linux) - sandbox:none (push) Waiting to run
E2E Tests / E2E Test - macOS (push) Waiting to run
Fix: Warning in installation shell script
2026-02-09 01:21:16 -08:00
DennisYu07
dd1500d063 fix warning in shell script 2026-02-09 00:24:30 -08:00
yiliang114
0109619c2d test: move webui component tests and clean docs 2026-02-09 15:54:49 +08:00
yiliang114
58adc7de63 Merge branch 'main' of https://github.com/QwenLM/qwen-code into fix/auth-model-login-ui 2026-02-09 14:34:14 +08:00
yiliang114
33bddd44f1 fix(vscode): prevent empty user message when selecting model via Enter
The ModelSelector's keydown handler used bubble-phase addEventListener
on document, so pressing Enter to confirm a model would also propagate
to the InputForm and trigger a form submit with empty text — creating
a ghost user-message bubble.

Fix: register the handler with `{ capture: true }` and call both
`preventDefault()` and `stopPropagation()` on arrow/Enter/Escape
keys so the event never reaches the InputForm.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-02-09 14:32:56 +08:00
LaZzyMan
f491281ee1 fix: prioritize local path detection in extension installation
- Reorder source type detection: check local path existence first, then Git URLs, then owner/repo format
- Remove 'marketplace' as a separate type; use originSource='Claude' instead to identify Claude marketplace extensions
- Simplify type system from 5 types (git/local/link/github-release/marketplace) to 4 types
- Fix issue where relative paths (../path, ./path) were incorrectly treated as owner/repo format
- Add comprehensive test coverage for all path detection scenarios
2026-02-09 14:15:44 +08:00
yiliang114
d18a5a37d1 fix(vscode): handle auth errors on model switch and show login page
When session/set_model fails with an authentication error (expired
token, invalid credentials, etc.), the extension now:
- Shows a VSCode error notification with the model name for context
- Sends a loginRequired message to the webview so it renders the
  Onboarding login page (without clearing chat history)
- On successful re-login the forceLogin overlay is dismissed

Also guards against empty/zero-width-space-only chat messages and
strips the internal ACP `\nData: {...}` payload from user-facing
error messages.

Includes unit tests for SessionMessageHandler (setModel success,
auth errors, generic errors, missing modelId, stripAcpErrorData)
and useWebViewMessages (loginRequired/loginSuccess round-trip).

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-02-09 14:01:22 +08:00
Mingholy
b80fe574b8
Merge pull request #1769 from QwenLM/mingholy/fix/sdk-mcp-tests
Fix SDK MCP integration tests by updating hardcoded tool names to use constants
2026-02-09 13:47:57 +08:00
mingholy.lmh
7311a01874 fix: sdk mcp tests 2026-02-09 11:54:20 +08:00
tanzhenxin
4e89c99216 Merge remote-tracking branch 'origin/main' into feat/mcp-progress-updates 2026-02-09 10:18:35 +08:00
pomelo
9bccd49711
Merge pull request #1763 from QwenLM/fix/simple-mcp-server-test
Some checks are pending
Qwen Code CI / Lint (push) Waiting to run
Qwen Code CI / Test (push) Blocked by required conditions
Qwen Code CI / Test-1 (push) Blocked by required conditions
Qwen Code CI / Test-2 (push) Blocked by required conditions
Qwen Code CI / Test-3 (push) Blocked by required conditions
Qwen Code CI / Test-4 (push) Blocked by required conditions
Qwen Code CI / Test-5 (push) Blocked by required conditions
Qwen Code CI / Test-6 (push) Blocked by required conditions
Qwen Code CI / Test-7 (push) Blocked by required conditions
Qwen Code CI / Test-8 (push) Blocked by required conditions
Qwen Code CI / Post Coverage Comment (push) Blocked by required conditions
Qwen Code CI / CodeQL (push) Waiting to run
E2E Tests / E2E Test (Linux) - sandbox:docker (push) Waiting to run
E2E Tests / E2E Test (Linux) - sandbox:none (push) Waiting to run
E2E Tests / E2E Test - macOS (push) Waiting to run
fix(integration-tests): correct MCP tool name in simple-mcp-server test
2026-02-09 10:09:44 +08:00
tanzhenxin
c71cc9ce0d fix(integration-tests): correct MCP tool name in simple-mcp-server test
Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
2026-02-09 10:07:00 +08:00
Mingholy
c8e8581978
Merge pull request #1758 from QwenLM/mingholy/fix/fork-mode-ipc
Fix CLI argument parsing for /dist/cli/cli.js entry point
2026-02-09 09:59:10 +08:00
tanzhenxin
e48c538403
Merge pull request #1755 from QwenLM/fix/mcp-multipart-tool-results
fix(core): properly handle MCP multi-part tool results in OpenAI converter
2026-02-09 09:43:09 +08:00
tanzhenxin
cc55d7831a
Merge pull request #1752 from QwenLM/fix/mcp-oauth-branding-updates
fix(mcp): improve MCP server management and authentication
2026-02-09 09:42:58 +08:00
tanzhenxin
a5d2ca9e9d
Merge pull request #1751 from QwenLM/feat/settings-env-field
feat(settings): add settings.env field for environment variable configuration
2026-02-09 09:42:46 +08:00
Alexander Farber
5ec3b755e2
Add a comment to explain where.exe 2026-02-08 16:15:16 +01:00
DennisYu07
396d53367b
Fix: use where.exe instead of PowerShell Get-Command for Windows command detection
Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
2026-02-08 16:15:16 +01:00
DennisYu07
8755042509
add null judge for cmd 2026-02-08 16:15:16 +01:00
DennisYu07
efbec0451c
fix error for powershell comand 2026-02-08 16:15:16 +01:00
Alexander Farber
fca9f0c106
Use PowerShell Get-Command for Windows sandbox detection 2026-02-08 16:15:16 +01:00
Mingholy
07cd73ce01 fix: failed to initialize/send message in Electron using SDK 2026-02-08 21:45:24 +08:00
tanzhenxin
842ff42928 refactor(cli): improve findEnvFile logic and remove flaky test
Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
2026-02-08 21:15:42 +08:00
tanzhenxin
5ebbceea65 feat: add MCP tool progress update support in TUI and SDK mode
Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
2026-02-08 15:48:13 +08:00
tanzhenxin
0d026a508e fix(core): properly handle MCP multi-part tool results in OpenAI converter
When MCP tools return multiple content blocks (e.g., text + images),
the content was incorrectly split outside the FunctionResponse,
causing it to leak into separate user messages.

This fix ensures all content stays inside the FunctionResponse:
- Text parts are joined into response.output
- Media parts (inlineData/fileData) are placed in response.parts

Fixes #1520

Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
2026-02-08 12:40:27 +08:00
tanzhenxin
7c53995e53 test: update tool-registry test for new MCP tool naming convention
Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
2026-02-08 12:17:00 +08:00
tanzhenxin
e17b800d1d fix(mcp): prefix MCP tool names with server name to avoid collisions
- Change tool name format from 'toolName' to 'mcp__serverName__toolName'
- Prevents naming conflicts when multiple MCP servers have tools with same name
- Update tests to reflect new naming convention

Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
2026-02-08 12:02:44 +08:00
tanzhenxin
a3b95414de feat(mcp): auto-detect transport type from URL in mcp add command
- Automatically detect 'http' transport when commandOrUrl starts with http:// or https://
- Default to 'stdio' transport for non-URL commands
- Explicit --transport flag still takes precedence over auto-detection
- Update help text to indicate auto-detection capability

Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
2026-02-08 11:11:02 +08:00