Commit graph

4691 commits

Author SHA1 Message Date
顾盼
fda4e85503
Merge pull request #2202 from QwenLM/feature/support-agents-directory-skills
feat: support skills in .agents directory and other provider directories
2026-03-19 10:36:43 +08:00
tanzhenxin
59f167b552
Merge pull request #2469 from qqqys/fix/fix_test_case
fix(test): update LoadingIndicator snapshot for correct output alignment
2026-03-19 10:30:26 +08:00
qqqys
200a29832e fix(test): fix loadingindicator test case 2026-03-19 10:09:16 +08:00
pomelo
06bee05cc4
Merge pull request #1835 from QwenLM/feat/context-usage
Some checks failed
Qwen Code CI / Lint (push) Failing after 6s
Qwen Code CI / Test (push) Has been skipped
Qwen Code CI / Test-8 (push) Has been skipped
Qwen Code CI / CodeQL (push) Failing after 3s
Qwen Code CI / Test-1 (push) Has been skipped
Qwen Code CI / Test-2 (push) Has been skipped
Qwen Code CI / Test-3 (push) Has been skipped
Qwen Code CI / Test-4 (push) Has been skipped
Qwen Code CI / Test-5 (push) Has been skipped
Qwen Code CI / Test-6 (push) Has been skipped
Qwen Code CI / Test-7 (push) Has been skipped
E2E Tests / E2E Test (Linux) - sandbox:docker (push) Failing after 3s
E2E Tests / E2E Test (Linux) - sandbox:none (push) Failing after 3s
Qwen Code CI / Post Coverage Comment (push) Has been skipped
E2E Tests / E2E Test - macOS (push) Has been cancelled
feat: add /context command to display context window token usage breakdown
2026-03-18 21:58:15 +08:00
qqqys
de0f09c459
Merge pull request #2457 from qqqys/fix/vscode_file_path
fix(vscode-ide-companion): update URI handling for Windows paths
2026-03-18 21:45:41 +08:00
易良
ef640ba698
feat(vscode-ide-companion): add Tab key fill-only behavior for completions (#2431)
* feat(vscode-ide-companion): add Tab key fill-only behavior for completions

- Separate Tab and Enter key handling in CompletionMenu
- Tab now inserts completion text without executing (useful for slash commands)
- Enter/click continues to select and execute immediately
- Allow users to append arguments after Tab-filling slash commands

* feat(vscode-ide-companion): add Tab key fill-only behavior for completions

- Separate Tab and Enter key handling in CompletionMenu
- Tab now inserts completion text without executing (useful for slash commands)
- Enter/click continues to select and execute immediately
- Allow users to append arguments after Tab-filling slash commands

Co-authored-by: Mingholy <14246397+Mingholy@users.noreply.github.com>

* feat: add command selection behavior logic and tests

Co-developed-by: Aone Copilot <noreply@alibaba-inc.com>

* feat(vscode-ide-companion): add Tab key completion fill behavior with tests

- Add onCompletionFill prop to InputForm for Tab key handling
- Distinguish Tab (fill) and Enter (select) completion behaviors
- Add keyboard handling tests for completion items
- Remove 'skills' command from non-interactive CLI allowed list

Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>

* refactor: add itemId variable for command handling in App component

Co-developed-by: Aone Copilot <noreply@alibaba-inc.com>

* refactor: remove unused command selection behavior utils and tests

---------

Co-authored-by: Mingholy <14246397+Mingholy@users.noreply.github.com>
Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
2026-03-18 21:45:11 +08:00
qqqys
28148d36c3
Merge pull request #2445 from qqqys/feat/token_display
feat(ui): Display token usage in the loading/progress indicator
2026-03-18 21:44:20 +08:00
qqqys
27f4a3ee3d
Merge pull request #2437 from qqqys/feat/vsocde_file_search
refactor: Refactors the VS Code file completion system to use fuzzy search
2026-03-18 21:43:21 +08:00
qqqys
b66b390d55
Merge branch 'main' into feat/token_display 2026-03-18 21:40:16 +08:00
pomelo-nwu
bb99755b21 fix: resolve TypeScript errors in geminiChat and HistoryItemDisplay
Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
2026-03-18 21:34:51 +08:00
pomelo-nwu
8a03c0261b fix(i18n): add missing translation keys for /context command
Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
2026-03-18 21:26:29 +08:00
pomelo
254748e69c
Merge branch 'main' into feat/context-usage 2026-03-18 21:10:48 +08:00
LaZzyMan
0d8f352aec fix ci test 2026-03-18 20:10:31 +08:00
LaZzyMan
919265d7e8 Merge branch 'main' into feature/support-agents-directory-skills 2026-03-18 20:01:12 +08:00
LaZzyMan
770b2ade92 fix ci test 2026-03-18 19:40:13 +08:00
tanzhenxin
bbea114737
Merge pull request #1912 from QwenLM/feature/arena-agent-collaboration
feat(arena): Add agent collaboration arena with multi-model competitive execution
2026-03-18 19:36:47 +08:00
tanzhenxin
fe304a0c32 Merge branch 'main' into feature/arena-agent-collaboration 2026-03-18 19:20:22 +08:00
tanzhenxin
3f6cd4ef7a
Merge pull request #2458 from QwenLM/refactor/error-handling-quota-detection
refactor(core): improve error handling and quota detection
2026-03-18 19:15:53 +08:00
LaZzyMan
6f362a89ae Merge branch 'main' into feature/support-agents-directory-skills 2026-03-18 19:12:00 +08:00
tanzhenxin
63da2bb926
Merge pull request #2434 from QwenLM/feat/concurrent-task-execution
feat(core): execute task tools concurrently for improved performance
2026-03-18 19:08:53 +08:00
tanzhenxin
ebed4ddd36
Merge pull request #2446 from QwenLM/refactor/centralize-tool-output-truncation
fix(core): add truncation support for MCP tool output
2026-03-18 19:05:44 +08:00
tanzhenxin
ddee359003 fix(core): correct error property in test from code to status
This aligns the test with the updated error handling that uses `status` instead of `code` for HTTP status codes.

Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
2026-03-18 19:00:44 +08:00
Mingholy
d47e0e9f3d
Merge pull request #2448 from QwenLM/fix-sdk-message-event
Fix: Ensure message_start and message_stop events are paired in SDK streaming
2026-03-18 18:56:23 +08:00
mingholy.lmh
79083ffd50 Fix SDK message event pairing and improve content block handling
Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
2026-03-18 18:10:23 +08:00
mingholy.lmh
eea92fc8db fix: ensure message_start and message_stop are always paired in SDK stream events
Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
2026-03-18 18:10:23 +08:00
LaZzyMan
4e08c2009d fix remove other dirs 2026-03-18 18:01:40 +08:00
pomelo-nwu
3bfe34a1dc telemetry: track cached content tokens for accurate context calculation
- Add cachedContentTokenCount tracking in uiTelemetry service
- Collect cached_content_token_count from streaming usage metadata
- Use cached tokens instead of estimated overhead when available
- Fix messages token calculation to avoid 'messages = 0' issue

This improves context window display accuracy when using providers
that support prefix caching (e.g., DashScope).

Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
2026-03-18 17:51:50 +08:00
qqqys
40485c59ac feat(ui): implement per-task token tracking in LoadingIndicator 2026-03-18 17:35:37 +08:00
DennisYu07
4c0e4a9611
Merge pull request #2352 from QwenLM/feat/hooks-plugin
feat(hooks): implement hooks extension mechanism
2026-03-18 17:29:10 +08:00
qqqys
8f5ecbc46c refactor(completion): improve trigger detection logic for completion suggestions by prioritizing '@' over '/' and refining context checks 2026-03-18 17:12:46 +08:00
qqqys
2bd3c293ff refactor(completion): enhance trigger detection logic for completion suggestions 2026-03-18 17:06:25 +08:00
pomelo
d4379d6ee6
Merge branch 'main' into feat/context-usage 2026-03-18 16:45:12 +08:00
tanzhenxin
f67e28b4be docs(arena): add Agent Arena documentation
Add comprehensive documentation for the Agent Arena feature, covering
usage, configuration, best practices, troubleshooting, and limitations.
Update navigation metadata to include the new page.

This enables users to discover and learn about the multi-model comparison
capability for competitive task execution.

Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
2026-03-18 16:26:59 +08:00
DennisYu07
257934f1e9 resolve comment 2026-03-18 01:25:11 -07:00
tanzhenxin
d0923ef972 refactor(core): improve error handling and quota detection
- Move getErrorStatus from retry.ts to errors.ts for better organization
- Add getErrorType utility to extract error class/category names
- Enhance getErrorMessage to include cause chain for better debugging
- Refactor ApiErrorEvent to use options object pattern (more readable)
- Rename 'error' to 'error_message' in ApiErrorEvent for clarity
- Make isQwenQuotaExceededError more precise: requires status=429,
  code='insufficient_quota', and 'free allocated quota exceeded' message
- Update all tests to match new error detection behavior

This improves error telemetry and makes quota detection more reliable.

Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
2026-03-18 16:07:35 +08:00
DennisYu07
9a05f96929 remove deplicate function and add test 2026-03-18 01:00:12 -07:00
qqqys
848f7dbd4c fix(vscode-ide-companion): update URI handling for Windows paths 2026-03-18 15:28:22 +08:00
tanzhenxin
d1b761adf2
Merge pull request #2425 from kkhomej33-netizen/fix/ctrl-r-command-search-order
Some checks failed
Qwen Code CI / Test-3 (push) Has been skipped
Qwen Code CI / Test-4 (push) Has been skipped
Qwen Code CI / Lint (push) Failing after 24s
Qwen Code CI / CodeQL (push) Failing after 24s
Qwen Code CI / Test (push) Has been skipped
Qwen Code CI / Test-1 (push) Has been skipped
Qwen Code CI / Test-2 (push) Has been skipped
Qwen Code CI / Test-5 (push) Has been skipped
Qwen Code CI / Test-6 (push) Has been skipped
Qwen Code CI / Test-7 (push) Has been skipped
Qwen Code CI / Test-8 (push) Has been skipped
E2E Tests / E2E Test (Linux) - sandbox:docker (push) Failing after 5s
E2E Tests / E2E Test (Linux) - sandbox:none (push) Failing after 6s
Qwen Code CI / Post Coverage Comment (push) Has been skipped
E2E Tests / E2E Test - macOS (push) Has been cancelled
fix(cli): show newest-first history for Ctrl+R command search
2026-03-18 13:51:28 +08:00
tanzhenxin
080271031d
Merge pull request #2400 from QwenLM/feat/system-prompt-sdk
feat: add system prompt customization options in SDK and CLI
2026-03-18 11:29:21 +08:00
tanzhenxin
a60fadd822
Merge pull request #2403 from simon100500/fix/duplicate-finish-chunk-tool-calls
fix(pipeline): handle duplicate finish_reason chunks from OpenRouter
2026-03-18 11:20:12 +08:00
tanzhenxin
56bc794553
Merge pull request #2451 from QwenLM/chore/bump-version-0.13.0
chore: bump version to 0.13.0
2026-03-18 11:19:48 +08:00
tanzhenxin
22f0437369 chore: bump version to 0.13.0
Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
2026-03-18 10:41:32 +08:00
qqqys
3a92be09e0 test(cli): remove promptTokens prop from LoadingIndicator tests 2026-03-18 00:22:35 +08:00
qqqys
476d6bc4fc test(file-handler): enhance tests for FileMessageHandler with fuzzy search and path filtering 2026-03-18 00:20:11 +08:00
qqqys
617874f152 fix(ui): handle optional metrics in Composer component 2026-03-17 21:37:02 +08:00
qqqys
7a554b1226 refactor(file-handler): improve file watcher management and cache clearing 2026-03-17 21:21:53 +08:00
qqqys
ebeb7ed690 refactor(completion): enhance trigger detection logic for completion suggestions 2026-03-17 20:55:12 +08:00
tanzhenxin
61347577ce refactor(core): centralize tool output truncation logic
Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>

- Add truncateToolOutput helper in truncation.ts to centralize threshold reading, file saving, and telemetry logging

- Refactor shell.ts to use the new helper, removing duplicate code

- Add truncation support for MCP tool output while preserving non-text content (images, audio, resources)

- Refactor getDisplayFromParts to work on transformed Part[] instead of raw MCP response

This reduces code duplication and ensures consistent truncation behavior across shell and MCP tools.
2026-03-17 20:24:20 +08:00
qqqys
03e59256c4 feat(ui): enhance LoadingIndicator to display token counts and improve formatting
- Added candidatesTokens prop to LoadingIndicator for displaying token counts.
- Updated formatting to show elapsed time and token counts inline.
- Refactored tests to validate new token display functionality and formatting changes.
- Introduced formatTokenCount utility for consistent token count representation.

This improves user feedback during loading states by providing clearer information on token usage.
2026-03-17 20:10:54 +08:00
qwen-code-ci-bot
ac30c98a26
chore: bump version to 0.12.6 (#2442)
Some checks failed
Qwen Code CI / Lint (push) Failing after 5s
Qwen Code CI / CodeQL (push) Failing after 5s
Qwen Code CI / Test (push) Has been skipped
Qwen Code CI / Test-1 (push) Has been skipped
Qwen Code CI / Test-2 (push) Has been skipped
Qwen Code CI / Test-3 (push) Has been skipped
Qwen Code CI / Test-4 (push) Has been skipped
Qwen Code CI / Test-5 (push) Has been skipped
Qwen Code CI / Test-6 (push) Has been skipped
Qwen Code CI / Test-7 (push) Has been skipped
Qwen Code CI / Test-8 (push) Has been skipped
E2E Tests / E2E Test (Linux) - sandbox:none (push) Failing after 3s
E2E Tests / E2E Test (Linux) - sandbox:docker (push) Failing after 4s
Qwen Code CI / Post Coverage Comment (push) Has been skipped
E2E Tests / E2E Test - macOS (push) Has been cancelled
Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
2026-03-17 19:00:26 +08:00