Commit graph

5543 commits

Author SHA1 Message Date
DennisYu07
3b05a027c4 fix: prevent output-language.md from being overwritten on startup
The initializeLlmOutputLanguage function was overwriting the file every
time the language differed from the system locale. This fix changes the
behavior to only create the file if it doesn't exist, preserving any
user modifications.

Resolves #2830

Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
2026-04-03 10:13:44 +08:00
tanzhenxin
de66ee198e
Merge pull request #2820 from QwenLM/feat/qwen3.6-plus-support
Some checks failed
Qwen Code CI / CodeQL (push) Has been cancelled
Qwen Code CI / Lint (push) Has been cancelled
Qwen Code CI / Test (push) Has been cancelled
Qwen Code CI / Test-1 (push) Has been cancelled
Qwen Code CI / Test-2 (push) Has been cancelled
Qwen Code CI / Test-3 (push) Has been cancelled
Qwen Code CI / Test-4 (push) Has been cancelled
Qwen Code CI / Test-5 (push) Has been cancelled
Qwen Code CI / Test-6 (push) Has been cancelled
Qwen Code CI / Test-7 (push) Has been cancelled
Qwen Code CI / Test-8 (push) Has been cancelled
Qwen Code CI / Post Coverage Comment (push) Has been cancelled
🎉 feat: add Qwen3.6-Plus model support
2026-04-03 08:13:48 +08:00
chinesepowered
ab8c8822c5 fix(hooks): clean up abort listener in error handler
The error handler in hookRunner cleared the timeout but did not remove
the abort signal listener, unlike the close handler. When spawn fails
(e.g. executable not found), only the error event fires — the close
event is not guaranteed — so the abort listener leaked on the signal.
2026-04-02 13:35:51 -07:00
euxaristia
e6cb9d67ff fix(cli): remove quote-based drag detection to prevent input lag
The previous implementation delayed broadcasting quote characters by 100ms
to detect file drag-and-drop operations. This caused noticeable input lag
when typing quotes, significantly impacting the typing experience.

Modern terminals use bracketed paste mode (PASTE_MODE_PREFIX) for file
drag-and-drop, which is already properly handled. The quote-based heuristic
was an unnecessary fallback that compromised responsiveness.

Changes:
- Remove quote character special handling in KeypressContext
- Remove unused drag-related refs and timers
- Remove drag cleanup code on exit
- Update tests to reflect immediate quote broadcasting

Impact:
- Eliminates input lag when typing quotes and other characters
- Maintains drag-and-drop support via bracketed paste mode
- Reduces code complexity (~75 lines removed)
- Legacy terminals without bracketed paste may need Ctrl+V for file paths

Fixes: input lag when typing single quote (') and double quote (") characters

Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
2026-04-02 16:27:30 -04:00
chinesepowered
c05e50325f fix(extensions): await async calls in extension refresh chain
refreshTools() and refreshMemory() were called without await in
installExtension() and uninstallExtension(), and restartMcpServers()
was unawaited inside refreshMemory(). This caused MCP server restarts
to be fire-and-forget after extension install/uninstall, meaning tools
could appear stale until the restart finished in the background.
2026-04-02 10:29:34 -07:00
KULIKRCH_HUAWEI\rocks
0104569fdd fix(cli): restore previous theme on /theme cancel (refs #2833) 2026-04-02 18:25:00 +03:00
qqqys
594fadbe94 fix(cli): prevent ideCommand failure from breaking all slash commands (#2785) 2026-04-02 14:08:05 +08:00
tanzhenxin
1f51e06c7f fix(tests): update token limit tests for Qwen models
- Update qwen3-max output limit from 64K to 32K (correct value)
- Add qwen3.6-plus output limit test (64K)
- Remove deprecated vision model tests (qwen-vl-max-latest, qwen3-vl-plus)

Corrects the output token limits to match actual model specifications.

Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
2026-04-02 13:46:15 +08:00
tanzhenxin
104b1cda44 feat: add Qwen3.6-Plus model support
- Add Qwen3.6-Plus as the latest model in README news section
- Update model configurations to use qwen3.6-plus as default
- Update i18n translations for Qwen3.6-Plus description
- Update token limits patterns to support qwen3.x versions generically
- Remove default temperature from DashScope provider to use model defaults

Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
2026-04-02 12:09:17 +08:00
tanzhenxin
92f7549bdc
Merge pull request #2811 from QwenLM/hide-cron-skills-when-disabled
Some checks are pending
Qwen Code CI / Test-3 (push) Blocked by required conditions
Qwen Code CI / Test-4 (push) Blocked by required conditions
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-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
Qwen Code CI / Test-5 (push) Blocked by required conditions
Qwen Code CI / Test-6 (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: hide skills with cron allowedTools when cron is disabled
2026-04-02 11:18:24 +08:00
tanzhenxin
0c1635c26c docs(channels): consolidate design docs into single file
- Fix broken references to non-existent files
- Replace "What's Next" with detailed "Future Work" roadmap
- Remove redundant implementation, roadmap, and testing guide files
- User docs already cover these topics in docs/users/features/channels/

This consolidates the channels design documentation into a single
authoritative design doc, reducing duplication and maintenance burden.

Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
2026-04-02 11:17:37 +08:00
tanzhenxin
d2ec893edb fix(cron): make cronScheduler test deterministic
- Pin jitter to 0 in test to ensure deterministic behavior
- Update channel-plugin-example to use local channel-base dependency

This ensures the cron scheduler test reliably passes without flaky behavior
from random jitter.

Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
2026-04-02 10:59:07 +08:00
DennisYu07
cf2bae5ec6 Merge branch 'main' into fix/posttooluse-additional-context-blocking 2026-04-02 10:52:19 +08:00
DennisYu07
083844b436 fix: parse JSON output from stderr on exit code 2 to preserve additionalContext
Exit code 2 (blocking error) previously skipped JSON parsing entirely,
converting stderr to plain text and losing structured output fields like
hookSpecificOutput.additionalContext. This fixes issue #2809 where PostToolUse
hook additionalContext was not surfaced to the model when the hook returned
exit code 2.
2026-04-02 10:37:03 +08:00
tanzhenxin
a827e8bfa6 fix: hide skills with cron allowedTools when cron is disabled
When cron functionality is disabled, skills that require cron tools
(like the 'loop' skill) should be hidden from the available commands
to avoid confusing users with non-functional commands.

Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
2026-04-02 10:24:49 +08:00
qqqys
35c4fa6a07 fix: improve ACP connection reliability with spawn retry and auto-reconnect 2026-04-01 20:58:05 +08:00
yiliang114
e8c85c8784 fix(vscode-ide-companion): inherit model for new chat tabs
Carry the active pane model into a newly opened editor chat tab.

Add regression coverage for the handler, command, and provider session initialization flow.
2026-04-01 20:48:30 +08:00
tanzhenxin
a5f17ee39c
Merge pull request #2801 from QwenLM/chanel-plugin-example-private
Some checks are pending
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
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
chore(channels): make plugin-example private and remove from release workflow
2026-04-01 20:46:33 +08:00
tanzhenxin
d07861ad5c chore(channels): make plugin-example private and remove from release workflow
- Mark @qwen-code/channel-plugin-example as private in package.json
- Remove publish step from release workflow
- Remove file: to semver rewrite logic in version script
- Use file: reference for @qwen-code/channel-base dependency

This change prevents the example plugin from being published to npm, as it's only intended for internal/development use.

Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
2026-04-01 20:43:45 +08:00
tanzhenxin
f891af4847
Merge pull request #2797 from QwenLM/release/v0.14.0
chore(release): bump version to 0.14.0
2026-04-01 19:53:33 +08:00
tanzhenxin
7e490ddc65 test(integration): skip cron interactive tests in sandbox environment
- Add IS_SANDBOX environment detection
- Skip cron interactive tests when running in Docker sandbox
- Move timeout options inline with test definitions
- Add comment explaining flaky test workaround

This prevents flaky test failures in the Docker sandbox environment while preserving test coverage in local development.

Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
2026-04-01 19:51:49 +08:00
tanzhenxin
555f92ff21 chore(release): bump version to 0.14.0
- Update all packages from 0.13.x to 0.14.0
- Update sandbox image URI to 0.14.0

This prepares the 0.14.0 release with updated version numbers
across all workspace packages.

Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
2026-04-01 19:23:49 +08:00
tanzhenxin
5eb6b4ec61
Merge pull request #2796 from QwenLM/fix/punycode-and-sandbox-test
fix: resolve punycode to userland package and skip env var test in sandbox
2026-04-01 18:59:32 +08:00
tanzhenxin
e03144ed34 fix: resolve punycode to userland package and skip env var test in sandbox
- Resolve punycode to userland package instead of deprecated node:punycode
  built-in to avoid deprecation warnings
- Skip cron-tools env var test in sandbox mode since Docker containers
  don't receive environment variables set in the test process

Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
2026-04-01 18:58:19 +08:00
tanzhenxin
52282c312f
Merge pull request #2792 from QwenLM/revert/pr-2666
revert: PR #2666 ACP retry/reconnect logic
2026-04-01 18:14:38 +08:00
tanzhenxin
018fcea1da Revert "Merge pull request #2666 from qqqys/feat/vscode-acp-reconnect-logic"
This reverts commit cd47e9b653, reversing
changes made to 449a421ca7.
2026-04-01 18:13:30 +08:00
DennisYu07
9eb63bd8bd
Merge pull request #2789 from QwenLM/fix/delete-hooks-design-doc
fix: delete design doc
2026-04-01 16:58:27 +08:00
DennisYu07
cedd954bf4 delete design doc 2026-04-01 16:54:41 +08:00
tanzhenxin
5c1e7ecadb
Merge pull request #2428 from qqqys/feat/mcp_reconnect_error
feat(mcp): add reconnect command and implement auto-reconnect logic
2026-04-01 16:53:36 +08:00
tanzhenxin
b2f04418fa
Merge pull request #2628 from QwenLM/feat/channels-telegram
feat(channels): add extensible Channels platform with plugin system and Telegram/WeChat/DingTalk channels
2026-04-01 16:19:08 +08:00
tanzhenxin
76d64c9464
Merge pull request #2731 from QwenLM/feat/in-session-cron-loops
feat(cron): add in-session loop scheduling with cron tools
2026-04-01 16:18:46 +08:00
qqqys
63f3cd4640 fix(test): fix mcp tools test case 2026-04-01 16:18:25 +08:00
tanzhenxin
2eb2f4e319
Merge pull request #2719 from QwenLM/feat/npm-extension-installation
feat(extension): Add npm registry support for extension installation
2026-04-01 16:18:17 +08:00
tanzhenxin
63f1963377
Merge pull request #2698 from QwenLM/refactor/subagent-model-selection
feat: add cross-provider model selection for subagents
2026-04-01 16:17:54 +08:00
tanzhenxin
cd47e9b653
Merge pull request #2666 from qqqys/feat/vscode-acp-reconnect-logic
feat(vscode): add retry logic and auto-reconnect for ACP connection
2026-04-01 16:17:46 +08:00
tanzhenxin
449a421ca7
Merge pull request #2612 from qqqys/fix/ime_vscode
fix(cli): enhance KeypressProvider with kitty sequence timeout manage…
2026-04-01 16:10:02 +08:00
DennisYu07
06a0f4797d
Merge pull request #2696 from QwenLM/feat/hooks-refactor-ui-event
refactor(ui): improve hook event handling with dedicated history items
2026-04-01 15:56:17 +08:00
tanzhenxin
2f40c30160
Merge pull request #2662 from QwenLM/fix/acp-orphan-subprocess-cleanup
fix: prevent orphan ACP processes on tab close and clean up MCP subprocesses on shutdown
2026-04-01 15:44:12 +08:00
tanzhenxin
a55a986e1e
Merge pull request #2687 from QwenLM/enhance/review-verification-and-pr-comments
Enhance /review: add verification, false positive control, and PR comments
2026-04-01 15:43:28 +08:00
qqqys
cfdd8a0bff fix: remove useless vars 2026-04-01 15:41:29 +08:00
tanzhenxin
311f971ba7
Merge pull request #2763 from QwenLM/fix/2754-allow-webfetch-in-plan-mode
fix: allow web fetch approvals in plan mode
2026-04-01 15:41:03 +08:00
tanzhenxin
f70cc05bbc
Merge pull request #2777 from QwenLM/fix/pty-fd-leak-upgrade-node-pty
fix: upgrade @lydell/node-pty to 1.2.0-beta.10 to fix PTY FD leak on macOS
2026-04-01 15:38:13 +08:00
qqqys
ca6cf82add Merge branch 'main' of https://github.com/qqqys/qwen-code into feat/vscode-acp-reconnect-logic 2026-04-01 15:38:09 +08:00
tanzhenxin
2489044e61
Merge pull request #2765 from QwenLM/fix/subagent-token-leak-footer
fix: prevent subagent telemetry from overwriting main agent footer context
2026-04-01 15:37:55 +08:00
tanzhenxin
a29e059d2e
Merge pull request #2781 from QwenLM/feat/hooks-remove-experimental
feat(hooks): remove experimental flag and add disabled state UI
2026-04-01 15:37:34 +08:00
tanzhenxin
32f3339908
Merge pull request #2764 from LaZzyMan/fix/tree-sitter-symlink-wasm
fix(core): robustly resolve tree-sitter WASM path for symlinked CLI installations
2026-04-01 15:37:06 +08:00
tanzhenxin
92132ec8fa
Merge pull request #2659 from QwenLM/fix/compress-split-point-tool-heavy-conversations
fix: make /compress handle tool-heavy conversations correctly
2026-04-01 15:36:56 +08:00
qqqys
d169aeb3ca Merge branch 'main' of https://github.com/qqqys/qwen-code into fix/ime_vscode 2026-04-01 15:34:36 +08:00
DennisYu07
3585b9e32d fix issue 2026-04-01 15:27:28 +08:00
qqqys
47ec5e7437 Merge branch 'main' of https://github.com/qqqys/qwen-code into feat/mcp_reconnect_error 2026-04-01 15:08:47 +08:00