Commit graph

3681 commits

Author SHA1 Message Date
LaZzyMan
c92e2b8351 Merge branch 'main' into feat/image-attachment 2026-02-02 20:23:34 +08:00
LaZzyMan
30b4b47cd7 fix ci test 2026-02-02 20:16:18 +08:00
LaZzyMan
1050163804 fix paste image on windows 2026-02-02 17:07:39 +08:00
LaZzyMan
b28e5c4c0f fix ctrl+v on win 2026-02-02 11:45:08 +08:00
tanzhenxin
bd900d3668
Merge pull request #1663 from QwenLM/hotfix/v0.8.2
Some checks failed
Qwen Code CI / Lint (push) Has been cancelled
Qwen Code CI / CodeQL (push) Has been cancelled
E2E Tests / E2E Test (Linux) - sandbox:docker (push) Has been cancelled
E2E Tests / E2E Test (Linux) - sandbox:none (push) Has been cancelled
E2E Tests / E2E Test - macOS (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
fix(core): avoid passing undici agent to Anthropic SDK
2026-01-30 11:05:14 +08:00
mingholy.lmh
202c29c586 fix: fetchOptions for Anthropic SDK 2026-01-30 10:52:49 +08:00
tanzhenxin
48ca2d043e fix(core): avoid passing undici agent to Anthropic SDK
Anthropic's Node client uses node-fetch, which expects a Node http(s).Agent.
Stop providing undici's Dispatcher as httpAgent; only set httpAgent when a proxy
is configured (via https-proxy-agent), otherwise let the SDK use its default.
2026-01-30 10:06:23 +08:00
tanzhenxin
0eb94a2957
Merge pull request #1539 from xuewenjie123/feature/add-context-window-size-config
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
Add contextWindowSize Configuration Support
2026-01-29 21:28:28 +08:00
tanzhenxin
da9d388425
Merge pull request #1661 from QwenLM/chore/bump-version-0.9.0
chore: bump version to 0.9.0
2026-01-29 21:27:58 +08:00
tanzhenxin
a41e946dcc test: fix Footer and tokenLimits test failures
- Footer.test.tsx: provide contextWindowSize in mock config to match
  Footer component's new requirement for displaying context usage
- tokenLimits.test.ts: consolidate Kimi K2 tests and update expectations
  to 256K for all variants to match the implementation
2026-01-29 21:13:12 +08:00
tanzhenxin
2aab8b4c14 Merge branch 'main' into chore/bump-version-0.9.0 2026-01-29 21:05:26 +08:00
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
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
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
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
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
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
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
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
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
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