Commit graph

3939 commits

Author SHA1 Message Date
tanzhenxin
8f5ad32ecd
Merge pull request #1543 from QwenLM/feat/unified-ui-for-vscode-extension
feat(webui): implement unified UI architecture with shared component library
2026-01-29 21:00:31 +08:00
tanzhenxin
d67206819a fix(contextWindowSize): fix context window size update on model switch and ACP agent config priority
- Fix contextWindowSize not updating when switching models via setModel()
- Fix ACP agent to respect provider-configured contextWindowSize before auto-detection
- Simplify getTruncateToolOutputThreshold to use static threshold
- Add support for GLM-4.7, Kimi-2.5, and MiniMax-M2.1 models
- Update context usage display to require explicit contextWindowSize

Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
2026-01-29 20:51:03 +08:00
yiliang114
b22350accf feat: improve model selector UI and error handling
- Redesign ModelSelector positioning to use fixed positioning with max-width
  for better responsive layout
- Add model caching in WebViewProvider to resend available models when
  webview becomes ready
- Add native VSCode notifications for model switching success/failure
- Display error messages to users in the chat when errors occur
- Simplify InputForm by removing redundant model selector wrapper styles

Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
2026-01-29 20:21:28 +08:00
宇溯
438ae0bc0f remove useless comment 2026-01-29 04:19:49 -08:00
宇溯
2b91fdbc7f fix model info not updating on top right banner 2026-01-29 04:04:52 -08:00
yiliang114
02db22dd78 chore: update eslint config and translation adjustments
Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>

This commit includes several updates:

- Updated eslint configuration with improved formatting and organization

- Added SaveMemoryToolCall support in vscode-ide-companion

- Translated Chinese comments and UI text to English in various components

- Made minor code formatting improvements across multiple files
2026-01-29 19:44:37 +08:00
tanzhenxin
1c5b74ebd9 Merge branch 'main' into pr-1539 2026-01-29 19:18:23 +08:00
yiliang114
e577966f75 Merge branch 'main' of https://github.com/QwenLM/qwen-code into feat/unified-ui-for-vscode-extension 2026-01-29 18:51:14 +08:00
tanzhenxin
201356a6c8 chore: bump version to 0.9.0
Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
2026-01-29 18:03:52 +08:00
harsh
0cdf1361ce
Merge branch 'main' into fix/gemini-extension-compatibility 2026-01-29 15:10:34 +05:30
tanzhenxin
0e2eebc681
Merge pull request #1659 from QwenLM/mingholy/fix/vscode-companion-ci
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: React/React-DOM version inconsistency in package.json and lockfile
2026-01-29 17:24:25 +08:00
tanzhenxin
7920ef3e28 fix(core): emit empty tool results for OpenAI/Anthropic
Ensure converters always produce a tool_result/tool message even when the function response output is empty, matching provider requirements.
2026-01-29 17:11:31 +08:00
yiliang114
bc5065b139 feat(webui): add SaveMemory tool call component support 2026-01-29 17:05:04 +08:00
mingholy.lmh
5475ab6bbd fix: inconsistency of react/react-dom version in package.json and lockfile 2026-01-29 16:44:50 +08:00
yiliang114
878a870df2 Merge branch 'main' of https://github.com/QwenLM/qwen-code into feat/unified-ui-for-vscode-extension 2026-01-29 15:40:32 +08:00
宇溯
079a8b9b14 resolve test case 2026-01-28 23:03:46 -08:00
tanzhenxin
a896fc4a70
Merge pull request #1401 from QwenLM/feat/support-lsp
Add experimental LSP support for code intelligence
2026-01-29 15:03:23 +08:00
cris
714f53e450 fix bat script 2026-01-29 14:38:15 +08:00
yiliang114
9f3cfb361a chore(lsp): revert old code 2026-01-29 14:22:54 +08:00
tanzhenxin
e1326d9e72
Merge pull request #1640 from QwenLM/feat/concurrent-runner
feat: add concurrent runner for batch CLI execution
2026-01-29 14:22:31 +08:00
tanzhenxin
97d93e9ea6
Merge pull request #1579 from QwenLM/feat/non-interaction-output
feat: clarify output formats for non-interactive mode
2026-01-29 14:21:21 +08:00
tanzhenxin
0ab9427097
Merge pull request #1630 from QwenLM/mingholy/feat/zed-extension
Add Zed extension for Qwen Code agent server
2026-01-29 14:19:34 +08:00
cris
a7b18c7594 depreciate ps scripts and add bat script 2026-01-29 14:17:42 +08:00
tanzhenxin
5f66c20c4e
Merge pull request #1564 from QwenLM/feat/multimodal-input-support
feat: add multi-modal input support (image, PDF, audio) across all content generators
2026-01-29 14:17:19 +08:00
tanzhenxin
e73a418dad
Merge pull request #1582 from QwenLM/feat/vscode-ide-companion-set-model
Support model selection through ACP in vscode ide companion
2026-01-29 14:16:14 +08:00
tanzhenxin
3411fe5ed4
Merge pull request #1654 from QwenLM/feat/extra-body-support
feat: add extra_body support for OpenAI-compatible providers
2026-01-29 13:45:25 +08:00
pomelo-nwu
2259943f85 feat: update export html 2026-01-29 13:27:18 +08:00
宇溯
5c4a6b79c4 refactor install scripts for windows 2026-01-28 20:56:51 -08:00
tanzhenxin
532d97670b feat: add extra_body support for OpenAI-compatible providers
Add extra_body configuration option to model.generationConfig for passing
custom parameters to OpenAI-compatible API request bodies.

- Add extra_body to ContentGeneratorConfig type
- Add extra_body to MODEL_GENERATION_CONFIG_FIELDS and ModelGenerationConfig
- Implement extra_body merging in DefaultOpenAICompatibleProvider
- Implement extra_body merging in DashScopeOpenAICompatibleProvider
- Update documentation with examples and provider compatibility notes
- Note: This feature is only for OpenAI-compatible providers (openai, qwen-oauth)

Resolves #1647
Resolves #1644

Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
2026-01-29 12:33:54 +08:00
tanzhenxin
93a6de32e6 feat(core): emit video_url content parts for video media
Convert Gemini video parts into OpenAI-compatible `video_url` entries and keep `file` for PDFs.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-01-29 12:05:27 +08:00
宇溯
86a35c2928 add install bash script for windows 2026-01-28 19:59:08 -08:00
tanzhenxin
68760287bd Merge branch 'main' into feat/multimodal-input-support 2026-01-29 11:44:27 +08:00
tanzhenxin
561be0eb42
Merge pull request #1628 from QwenLM/feat/idealab-retry-improvements
feat(core): improve retry logic for better 429/5xx error handling
2026-01-29 11:43:08 +08:00
tanzhenxin
43ea425278
Merge pull request #1639 from QwenLM/fix/claude-skills-config
Fix Claude plugin resource collection to respect marketplace config
2026-01-29 11:30:49 +08:00
宇溯
efc662c1df refactor installation scripts 2026-01-28 19:27:38 -08:00
tanzhenxin
b905579e51 chore(core): remove unused fallback handler and improve docs
- Delete orphaned fallback/handler.ts and its tests (no longer imported
  after removing onPersistent429 callback)
- Add JSDoc to getErrorStatus() documenting property check priority
2026-01-29 11:25:41 +08:00
宇溯
90638135a4 move source from properties to app 2026-01-28 19:24:43 -08:00
pomelo
55fe676cbe
Merge pull request #1638 from QwenLM/fix/security-newline-command-injection
fix(security): prevent command injection via newline bypass in shell command validation
2026-01-29 11:18:08 +08:00
pomelo
33281c8108
Merge pull request #1637 from QwenLM/fix/output-language-init-timing
fix: ensure output-language.md is created before config initialization
2026-01-29 11:14:07 +08:00
pomelo
591eab8409
Merge pull request #1626 from QwenLM/fix/acp-subagent-stream-text
fix(acp): stream subagent text + reasoning chunks
2026-01-29 11:09:58 +08:00
pomelo
37f0ca1841
Merge pull request #1623 from QwenLM/feat/skill-tool-feedback-message
feat(core): improve error message when skill is invoked as tool
2026-01-29 11:09:15 +08:00
tanzhenxin
ee65a197c8
Merge pull request #1620 from QwenLM/mingholy/fix/acp-parent-tool
Add parentToolCallId and subagentType for ACP subagent tracking
2026-01-29 11:07:29 +08:00
tanzhenxin
93ed43c916
Merge pull request #1622 from QwenLM/mingholy/fix/acp-auth-type
Fix: Use resolved authType to initialize ACP agent
2026-01-29 11:04:01 +08:00
yiliang114
d05295c068 feat(vscode-ide-companion): integrate WebFetchToolCall
- Add WebFetchToolCall import to toolcalls index
- Add fetch/web_fetch/webfetch/web_search/websearch kind support

Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
2026-01-29 01:40:44 +08:00
yiliang114
5d00245286 feat(webui): enhance ThinkingMessage with expand/collapse
- Add expand/collapse functionality to ThinkingMessage
- Support defaultExpanded prop to control initial state
- Add status prop (loading/default) with pulse animation
- Introduce ChevronIcon for expand/collapse toggle
- Update ThinkingMessage styles with timeline support
- Add stories for all states (default, expanded, loading)

Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
2026-01-29 01:39:59 +08:00
yiliang114
71cae2fa1e feat(webui): add WebFetchToolCall component for web search/fetch
- Add WebFetchToolCall component to display web fetch and search operations
- Support URL/query display with output card
- Add expand/collapse for long output content
- Export WebFetchToolCall from toolcalls index
- Integrate WebFetchToolCall in ChatViewer component

Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
2026-01-29 01:39:46 +08:00
yiliang114
2ac69ad1c3 chore(deps): version bump to 0.1.0-beta.4
Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
2026-01-29 01:39:25 +08:00
yiliang114
0dde6ce3ce refactor(lsp): restructure the LSP service import and test configuration 2026-01-29 00:54:59 +08:00
pomelo-nwu
021680cd70 feat: add html template 2026-01-28 19:56:20 +08:00
yiliang114
894edc6e4d Merge branch 'main' of https://github.com/QwenLM/qwen-code into feat/support-lsp 2026-01-28 18:54:01 +08:00