Commit graph

2946 commits

Author SHA1 Message Date
tanzhenxin
90b529b44c
Merge pull request #1714 from QwenLM/feat/sdk-support-resume
feat(query): add support for resuming sessions with session ID
2026-02-05 16:26:53 +08:00
tanzhenxin
375ebfa9e3
Merge pull request #1330 from afarber/1304-move-disable-update-nag-check
fix(settings): rename negative settings to positive naming (disable* -> enable*)
2026-02-05 16:21:59 +08:00
tanzhenxin
5457119a4a
Merge pull request #1720 from QwenLM/bump-version-0.10.0
chore(release): Bump version to 0.10.0
2026-02-05 16:21:46 +08:00
tanzhenxin
ff0ba0cc4e Merge branch and resolve conflicts
Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
2026-02-05 13:41:37 +08:00
tanzhenxin
50059d6f32 chore(release): Bump version to 0.10.0 across all packages
Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
2026-02-05 11:30:45 +08:00
裕波
ae2f77ed22 refactor(i18n): translate Agent as 智能体 2026-02-04 21:40:31 +08:00
tanzhenxin
46327f219e feat(core): add disableCacheControl support for Anthropic provider
Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
2026-02-04 15:03:37 +08:00
DragonnZhang
417007d243 feat(query): add support for resuming sessions with session ID 2026-02-04 14:53:22 +08:00
tanzhenxin
80fc429dab Merge remote-tracking branch 'origin/main' into pr-1613 2026-02-04 14:39:46 +08:00
pomelo
da3dd56fd8
Merge pull request #1691 from QwenLM/fix/subagent-tool-restriction
fix(core): enforce tool restrictions in subagents
2026-02-04 14:30:46 +08:00
tanzhenxin
4c41dd9dd3
Merge pull request #1607 from QwenLM/fix/shift-tab-windows-powershell
fix: enable Shift+Tab shortcut in Windows PowerShell
2026-02-04 14:30:33 +08:00
pomelo
a8b1a5dc10
Merge pull request #1688 from QwenLM/fix/preserve-trailing-whitespace-1618
fix(core): Preserve trailing whitespace in newString during edits
2026-02-04 14:30:21 +08:00
pomelo
b147d064c8
Merge pull request #1680 from QwenLM/fix/preserve-utf8-bom-encoding
feat: Preserve UTF-8 BOM when editing files
2026-02-04 14:29:57 +08:00
tanzhenxin
e4fba169a1 fix(core): Prevent double BOM when writing files with BOM option
- Strip BOM character (\uFEFF) from content before prepending BOM bytes
- Use FileEncoding.UTF8 constant instead of string literal
- Ensure file descriptor is closed in finally block
- Add test for double BOM prevention

Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
2026-02-04 14:11:58 +08:00
tanzhenxin
4235681a72
Merge pull request #1701 from liqiongyu/fix/1698-heredoc-command-substitution
fix(core): handle heredoc in command substitution guard
2026-02-04 12:51:34 +08:00
liqoingyu
6a8d5ce836 fix(core): detect heredoc line continuation substitution 2026-02-04 09:50:11 +08:00
pomelo
2ed4ae773e
Merge pull request #1681 from QwenLM/dev/improve-build-and-dev-experience
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
build: Improve build efficiency and add dev mode
2026-02-04 09:33:46 +08:00
liqoingyu
bfaada45a2 fix(core): ignore comments in substitution guard 2026-02-04 09:28:59 +08:00
tanzhenxin
7fb45c56d2
Merge pull request #1667 from QwenLM/fix/issue-1666-yaml-formatter-extension-skills
Some checks are pending
Qwen Code CI / Test-3 (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 / Post Coverage Comment (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 / 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: normalize skill file content in extensions to handle BOM and CRLF
2026-02-03 20:44:51 +08:00
tanzhenxin
fdcda77892
Merge pull request #1690 from QwenLM/feature/skill-manager-symlink-support
feat(core): add symlink support for skill manager
2026-02-03 20:41:59 +08:00
liqoingyu
7c3515b703 fix(core): handle heredoc in command substitution guard 2026-02-03 20:34:05 +08:00
Mingholy
b0aa05f578
Merge pull request #1686 from afarber/1394-web-fetch-in-plan-mode
fix(core): auto-enable WebFetch and WebSearch tools in Plan mode
2026-02-03 20:30:32 +08:00
Mingholy
1d203aaefe
Merge pull request #1531 from liqiongyu/fix/1511-mcp-resource-at-ref
fix(cli): expand MCP @server: resource references
2026-02-03 20:29:23 +08:00
tanzhenxin
10ae15c00b
Merge pull request #1535 from liqiongyu/test/authdialog-esc-stabilize
test(cli): stabilize AuthDialog ESC assertion
2026-02-03 20:26:36 +08:00
liqoingyu
7e5d1470c8 fix(cli,core): pass abort signal to MCP resource reads 2026-02-03 17:32:24 +08:00
liqoingyu
5087426af7 test(cli): cover MCP resource edge cases 2026-02-03 17:23:59 +08:00
liqoingyu
5b2dc78897 fix(cli,core): harden MCP resource references 2026-02-03 17:23:58 +08:00
liqoingyu
c8a148b92e fix(cli): expand MCP @server: resource references 2026-02-03 17:22:47 +08:00
tanzhenxin
a38a5ba87d
Merge pull request #1285 from tt-a1i/fix/mcp-subprocess-cleanup
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(core): properly cleanup MCP server subprocesses on exit
2026-02-03 16:02:53 +08:00
DennisYu07
640196e779 merge shutdown 2026-02-02 19:47:24 -08:00
LaZzyMan
4a578a61f2 fix test 2026-02-02 20:16:59 +08:00
LaZzyMan
7a154b8a62 fix revert changes 2026-02-02 20:08:12 +08:00
LaZzyMan
86ba86e297 Merge branch 'main' into fix/shift-tab-windows-powershell 2026-02-02 19:51:32 +08:00
LaZzyMan
3296785b23 feat use tab on windows instead of shift+tab 2026-02-02 19:48:07 +08:00
LaZzyMan
7935482c3a Revert "fix: enable Shift+Tab shortcut in Windows PowerShell"
This reverts commit 9bee51dc17.
2026-02-02 17:24:01 +08:00
LaZzyMan
f43bd7f8ab Revert "fix undefined error"
This reverts commit 4534f5ec1d.
2026-02-02 17:23:59 +08:00
tanzhenxin
11c198f800 fix(core): enforce tool restrictions in subagents (fixes #1121)
Add filtering to block unauthorized tool calls in subagents. When a model
attempts to call a tool not in the allowed tools list, the call is now
blocked and an error is returned instead of executing.

- Pass toolsList to scheduleToolCalls for filtering
- Emit TOOL_CALL and TOOL_RESULT events for blocked calls (for visibility)
- Extract recordToolCallStats helper to reduce duplication
- Add comprehensive test coverage for tool restriction enforcement

Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
2026-02-02 16:31:00 +08:00
宇溯
813e2d2b12 FIXME: list extensions after the config initialize 2026-02-01 23:56:21 -08:00
宇溯
3719104d85 Revert "resolve comment"
This reverts commit 61421e65872acebe20d88c2d40c9fea40fa3fefa.
2026-02-01 23:51:04 -08:00
宇溯
91ec945e81 resolve comment 2026-02-01 23:51:04 -08:00
宇溯
635f0fad89 Revert "reslove comment"
This reverts commit d7b003076e8a5f6b387b7313ecab0cd7ebea0997.
2026-02-01 23:51:04 -08:00
宇溯
781bd7880b rebase and resolve conflict 2026-02-01 23:49:56 -08:00
DragonnZhang
f022252264 feat(core): add symlink support for skill manager
Add support for loading skills from symlinked directories in the skill manager. This allows users to organize and share skills more flexibly by using symbolic links.

Changes:
- Modified skill discovery logic to detect and follow symlinks
- Added validation to ensure symlink targets point to valid directories
- Skip broken or invalid symlinks with appropriate warnings
- Added comprehensive test coverage for symlink scenarios
2026-02-02 14:30:12 +08:00
tanzhenxin
88af3a4723 fix(core): Preserve trailing whitespace in newString during edits
Remove unconditional trimming of trailing whitespace from newString in
normalizeEditStrings(). This fixes cases where intentional trailing
whitespace (e.g., in multi-line strings, heredocs) was being stripped.

The oldString fuzzy matching still works correctly, and newString is
now preserved exactly as the LLM intended.

Fixes #1618

Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
2026-02-02 11:39:42 +08:00
Alexander Farber
bfdc361b62
Auto-enable WebFetch and WebSearch tools in Plan mode 2026-02-01 23:19:54 +01:00
Mingholy
12c8883f55 fix: typo and stale tests 2026-02-01 18:09:58 +08:00
Alexander Farber
5b0f2b3b0e Rename disableCacheControl to enableCacheControl in core package 2026-02-01 16:07:39 +08:00
Alexander Farber
efb1eb37a2 Rename to migrateV1ToV3 2026-02-01 16:04:58 +08:00
Alexander Farber
273caf1cde Rename migrateSettingsToV2 to migrateV1ToLatest 2026-02-01 16:04:58 +08:00
Alexander Farber
895cbf71cd Bump settings version to V3 even when no migration changes needed 2026-02-01 16:04:58 +08:00