Commit graph

3703 commits

Author SHA1 Message Date
Mingholy
1f950f38b0
Merge pull request #1616 from QwenLM/i18n-0116
feat: Add Portuguese (pt-BR) language support with complete translations and refactor i18n architecture for better language management.
2026-01-27 21:00:02 +08:00
mingholy.lmh
d04573e7b6 chore: update repository URL and add experimental skills flag to CLI args for all platforms 2026-01-27 20:59:22 +08:00
mingholy.lmh
501d0a6432 feat: add LICENSE, README, and SVG for Qwen Code extension 2026-01-27 20:54:32 +08:00
Mingholy
21b0f2f899
Merge pull request #1627 from QwenLM/mingholy/test/improve-sdk-integration-tests
test: improve SDK integration test reliability with createResultWaiter and ProcessTransport error handling
2026-01-27 20:53:42 +08:00
Mingholy
6e1e3b1120
Merge pull request #1624 from QwenLM/mingholy/fix/udici-experimental-warning
fix: replace EnvHttpProxyAgent with ProxyAgent to suppress experimental warning
2026-01-27 20:52:34 +08:00
mingholy.lmh
d94a163a09 feat: add zed agent server extension 2026-01-27 20:47:37 +08:00
LaZzyMan
61d2c72c90 feat: add skills and agents display to extension list with i18n support
- Add skills and agents sections to extensionToOutputString() output
- Implement full i18n support for all extension info labels
- Add translations for en, zh, de, ru languages
- Display skill names and agent names in extension list command
2026-01-27 20:42:35 +08:00
mingholy.lmh
ebaecc7256 fix: add headersTimeout and unit test 2026-01-27 20:36:45 +08:00
tanzhenxin
ca241bd4da feat(core): improve retry logic for better 429/5xx error handling
- Increase max retry attempts from 5 to 7 for better resilience
- Reduce initial delay from 5000ms to 1500ms for faster recovery
- Simplify getErrorStatus() to handle more status field variations
  (status, statusCode, response.status, error.code)
- Remove model fallback mechanism (onPersistent429 callback)
- Remove isQwenThrottlingError() in favor of generic retry logic
- Clean up retry logging and error handling code

This improves the experience for users on services with throttling
like Idealab by providing more robust and faster retry behavior.

Related to #973
2026-01-27 20:14:13 +08:00
mingholy.lmh
810b03c23d fix: failed unit test 2026-01-27 20:07:35 +08:00
tanzhenxin
76693192c0 fix(acp): exclude thought text from finalText and add core-side tests
- Skip thought parts when accumulating roundText so reasoning content
  does not leak into the subagent's final answer.
- Remove unnecessary `as SubAgentStreamTextEvent` type assertion.
- Add core tests for STREAM_TEXT thought flag and finalText exclusion.
2026-01-27 17:18:31 +08:00
mingholy.lmh
b05de7a187 test: improve sdk integration tests 2026-01-27 17:10:36 +08:00
tanzhenxin
8ce176389c fix(acp): stream subagent text chunks (with thoughts)
Propagate `thought` metadata through SubAgent STREAM_TEXT events and render them as agent message/thought chunks in ACP sessions.
2026-01-27 16:59:02 +08:00
mingholy.lmh
6b736291da fix: use ProxyAgent to supress EnvHttpProxyAgent experimental warning 2026-01-27 16:12:55 +08:00
tanzhenxin
84696a885f feat(core): improve error message when skill is invoked as tool
When the model tries to invoke a skill name directly as a tool
(e.g., Tool: "pdf" instead of Tool: "Skill" with skill: "pdf"),
provide a clear error message explaining how to properly invoke skills.

🤖 Generated with [Qoder][https://qoder.com]
2026-01-27 15:12:21 +08:00
mingholy.lmh
2c9399f8e0 fix: use resolved authType to initialize ACP agent 2026-01-27 14:56:22 +08:00
yiliang114
009e8edfe3 Merge branch 'main' into feat/support-lsp 2026-01-27 11:22:51 +08:00
yiliang114
7ec79e6806 feat(lsp): support for loading lspServers configurations from extensions 2026-01-27 11:21:29 +08:00
mingholy.lmh
b1553ff604 fix: add parentToolCallId and subagentType for acp 2026-01-27 10:45:38 +08:00
Mingholy
7177b41120
Merge pull request #1588 from QwenLM/mingholy/fix/sdk-request
Some checks are pending
Qwen Code CI / CodeQL (push) Waiting to run
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
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: cli input stream handling and error management
2026-01-27 09:56:45 +08:00
pomelo-nwu
109738bf67 feat: Add Portuguese (pt-BR) Support and Refactored I18n Architecture 2026-01-26 23:28:17 +08:00
yiliang114
0bff045d3d Merge branch 'main' of https://github.com/QwenLM/qwen-code into feat/support-lsp 2026-01-26 23:13:53 +08:00
pomelo-nwu
de3bc5fe3a Merge branch 'k-kanade/main' into i18n-0116 and resolve conflicts 2026-01-26 22:55:04 +08:00
Mingholy
eef9c49e49
Merge pull request #1615 from QwenLM/mingholy/fix/acp-tool-name
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:none (push) Waiting to run
E2E Tests / E2E Test - macOS (push) Waiting to run
E2E Tests / E2E Test (Linux) - sandbox:docker (push) Waiting to run
Fix: Add toolName metadata for ACP tool call messages
2026-01-26 20:17:21 +08:00
LaZzyMan
8794678c62 fix adapter undefined 2026-01-26 19:53:02 +08:00
mingholy.lmh
4a3cb4f875 fix: add name toolName metadata for ACP tool call messages 2026-01-26 19:52:08 +08:00
tanzhenxin
280a4b1bd1
Merge pull request #1614 from QwenLM/fix/1354-acp-read-many-files-paths
fix(cli): pass paths to read_many_files in ACP
2026-01-26 19:48:13 +08:00
tanzhenxin
2c373c3847
Merge pull request #1586 from QwenLM/fix/vsce-package-no-dependencies
fix(vscode-ide-companion): platform-specific builds with optimized VSIX packaging
2026-01-26 19:41:15 +08:00
tanzhenxin
1dcda0559b fix(cli): pass paths to read_many_files in ACP
ACP prompt resolution called read_many_files with an outdated param name,
triggering a schema validation error. Pass paths and add a regression test.

Fixes #1354
2026-01-26 19:21:22 +08:00
易良
26dca01c31
Simplify permission response handling and fix edit failure and VSCode diff issues (#1581)
* wip: edit fail and diff

* refactor(vscode-ide-companion): Fixes #1524, simplify permission response handling

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

---------

Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
2026-01-26 17:15:38 +08:00
tanzhenxin
72480f7dd8
Merge pull request #1590 from QwenLM/refactor/refactor-user-feedback
feat: Implement temporary dismissal for feedback dialogs with persistent prompting
2026-01-26 17:15:00 +08:00
顾盼
d974835015
Merge pull request #1609 from QwenLM/fix/settings-load-from-include-directories
fix: correct schema field name for context.loadFromIncludeDirectories
2026-01-26 16:56:15 +08:00
xwj02155382
a7c07183e1 refactor: move contextWindowSize fallback logic to applyResolvedModelDefaults
- Move contextWindowSize auto-detection from resolveContentGeneratorConfigWithSources to ModelsConfig.applyResolvedModelDefaults

- Improves separation of concerns: validation vs. default value application

- resolveContentGeneratorConfigWithSources now focuses on validation and parsing

- applyResolvedModelDefaults handles all model-specific default configurations

- Add tokenLimit import to modelsConfig.ts

- All 105 tests passing

Addresses PR review comment about appropriate placement of fallback calculation logic.
2026-01-26 16:49:27 +08:00
xwj02155382
e77a67cd5e refactor: remove maxOutputTokens user configuration
- Remove maxOutputTokens field from ContentGeneratorConfig
- Remove maxOutputTokens auto-calculation logic in contentGenerator.ts
- Remove maxOutputTokens sync logic in config.ts hot-update
- Update dashscope.ts to use tokenLimit() function for dynamic calculation
- Remove maxOutputTokens from documentation (settings.md)
- Update all test cases to use correct model output limits
- All 143 tests passing (config.test.ts: 105, dashscope.test.ts: 38)

Changes:
- Users can no longer configure maxOutputTokens via settings
- Output token limits are now always dynamically calculated based on model
- contextWindowSize (input) remains user-configurable
- Prevents long text output truncation caused by default value settings
2026-01-26 16:30:12 +08:00
LaZzyMan
066c393cd7 fix folder trust 2026-01-26 15:12:28 +08:00
LaZzyMan
0eee42fa6a fix: correct schema field name for context.loadFromIncludeDirectories
The schema incorrectly defined the field as 'loadMemoryFromIncludeDirectories'
while the migration map and documentation specified 'loadFromIncludeDirectories'.
This caused user configurations to be ignored.

Changes:
- Rename schema field from loadMemoryFromIncludeDirectories to loadFromIncludeDirectories
- Update all references in config loading and UI components
- Update test cases to reflect the correct field name

Fixes #1603
2026-01-26 15:09:36 +08:00
xwj02155382
111356b5d5 docs: improve comment for modelLimit undefined case in dashscope.ts
Clarify that when modelLimit is undefined, it could be either:
- No limit configured
- Config not initialized yet
In both cases, we don't modify max_tokens and let the API handle it.
2026-01-26 13:45:06 +08:00
xwj02155382
b5800eb823 refactor: remove redundant 'input' parameter in tokenLimit call
The tokenLimit function has a default parameter value of 'input' for the type parameter, so explicitly passing 'input' is redundant.
2026-01-26 13:39:45 +08:00
xwj02155382
8538f12689 fix: update contextWindowSize and maxOutputTokens when switching models
- Fix handleModelChange to update contextWindowSize and maxOutputTokens during hot-update
- Fix dashscope.ts to use contentGeneratorConfig.maxOutputTokens instead of tokenLimit()
- Fix acpAgent.ts to use model-specific contextLimit for each model
- Add comprehensive tests for model switching scenarios
- Fix all TypeScript type errors (index signature and ConfigSource types)
- Fix all ESLint errors (remove 'any' types)
2026-01-26 11:43:33 +08:00
xwj02155382
8725b91e11 refactor: remove unused model variable from Footer component 2026-01-26 10:49:44 +08:00
tanzhenxin
32cddc272f
Merge pull request #1561 from BlockHand/show-line-numbers
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
feat: make DiffRenderer respect ui.showLineNumbers setting
2026-01-26 10:37:04 +08:00
tanzhenxin
6081052236
Merge pull request #1592 from QwenLM/feat/extension-improvements
feat(extensions): add plugin selection UI for Claude marketplace
2026-01-26 10:36:36 +08:00
xwj02155382
1a2edc3fa3 Merge branch 'main' of github.com:QwenLM/qwen-code into feature/add-context-window-size-config 2026-01-26 10:34:09 +08:00
xwj02155382
f9db8d5a73 refactor: improve config consistency and token limits
- Remove legacy childKey field from settingsSchema

- Add contextWindowSize and maxOutputTokens to documentation

- Refactor ContextUsageDisplay to accept contextWindowSize directly instead of Config object

- Add useMemo optimization for contextWindowSize in Footer component

- Fix logic gaps in contentGenerator for contextWindowSize and maxOutputTokens initialization

- Increase DEFAULT_OUTPUT_TOKEN_LIMIT from 4K to 8K for better usability

- Add fallback to default values when model is not available
2026-01-26 10:26:44 +08:00
LaZzyMan
f640705e4d fix typo error 2026-01-26 10:00:33 +08:00
tanzhenxin
81082b9b4e
Merge pull request #1601 from QwenLM/fix/awk-system-command-security
Security: Fix awk/sed Command Injection in READ_ONLY_ROOT_COMMANDS
2026-01-26 09:56:24 +08:00
yiliang114
e3e2f52a12 feat(core): fix ci:test 2026-01-25 23:49:23 +08:00
yiliang114
a21aeecd0f feat(core/prompts): add LSP tool usage instructions to system prompt
- Add comprehensive LSP tool guidance in the Tool Usage section
- Document all LSP operations with their required parameters
- Clarify that workspaceSymbol only requires query, not filePath/line/character
- Emphasize using LSP directly instead of grep for code intelligence queries
2026-01-25 23:06:18 +08:00
yiliang114
05b56487ca refactor(cli/lsp): extract NativeLspClient and simplify LSP service architecture
- Extract NativeLspClient from NativeLspService for better separation of concerns
- Simplify LspConfigLoader by removing built-in configuration options
- Remove LSP_DEBUGGING_GUIDE.md as it's no longer needed
- Clean up unused LSP constants
- Remove deprecated LSP configuration from config.ts
2026-01-25 23:05:56 +08:00
yiliang114
8420386d14 feat(lsp): Removes built-in LSP configuration options and improves configuration loading mechanism
- remove configuration options such as lsp.enabled, lsp.allowed, lsp.excluded, etc. from settings.json schema
- Delete lspSettingsSchema.ts files and associated JSON schema definitions
- Removed VS Code settings loading function, no longer merge. vscode/settings.json configuration
- Updated LSP documentation to reflect new configurations and experimental flags
-remove allow/exclude parameters in NativeLspService constructor
- Create new LspConfigLoader classes to handle LSP configuration loading and merging
- Updated debug guide to match the new configuration mechanism
- Simplify loadCliConfig functions, remove startLsp options
- Reconstruct the configuration loading process to remove duplicate configuration merge logic
- Add LspConfigLoader classes to implement configuration parsing and merging functions
2026-01-25 20:59:44 +08:00