Commit graph

1773 commits

Author SHA1 Message Date
tanzhenxin
3b4b5d874d fix(paste): move thresholds to module level and improve placeholder expansion
Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
2026-02-06 16:32:22 +08:00
tanzhenxin
21ae35b221 feat(paste): add large paste placeholder with ID reuse and atomic deletion
- Add placeholder mode for pastes >1000 chars OR >10 lines
- Show placeholder like '[Pasted Content 1500 chars]' instead of full content
- Store full content and expand on submit
- Support multiple placeholders with sequential IDs (#2, #3, etc.)
- Reuse freed IDs when placeholders are deleted
- Delete entire placeholder atomically on backspace
- Add 7 unit tests for placeholder functionality

Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
2026-02-05 19:31:40 +08:00
tanzhenxin
c7b681ef5d feat(paste): add large paste placeholder and fix enter-submit on macOS
- Add large paste placeholder feature: when pasting text > 1000 chars,
  show a placeholder like '[Pasted Content 1500 chars]' instead of the
  full content. The full text is stored and expanded on submit.

- Fix enter-submit on macOS: only apply recentPasteTime protection when
  pasteWorkaround is enabled (Windows or Node < 20). On macOS/Linux with
  modern Node, bracketed paste markers work reliably so the protection is
  unnecessary and caused the first Enter after paste to be ignored.

Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
2026-02-04 15:20:45 +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
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
宇溯
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
tanzhenxin
b1fa12f323 refactor(core): Unify package exports and improve dev experience
- Update license header to include Qwen copyright
- Add error handler for spawn in dev.js
- Refactor core/src/index.ts to export all public APIs
- Simplify core/index.ts to be a clean re-export
- Fix vitest alias to point to package entry

Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
2026-02-01 11:59:05 +08:00
tanzhenxin
07b186fcbf build: Improve build efficiency and add dev mode
- Remove duplicate webui build in vscode-ide-companion (fixes double build)
- Fix misleading [watch] log messages in esbuild.js (only show in watch mode)
- Update vite-plugin-dts to ^4.5.4 for TypeScript 5.8+ support
- Update baseline-browser-mapping to ^2.9.19 to silence outdated data warnings
- Fix vitest config to use @qwen-code/qwen-code-core instead of old gemini-cli-core
- Add resolve.alias in cli vitest.config.ts for source-based testing
- Add npm run dev script for running from TypeScript source without build

Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
2026-01-31 22:41:54 +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
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
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
tanzhenxin
1c5b74ebd9 Merge branch 'main' into pr-1539 2026-01-29 19:18:23 +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
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
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
68760287bd Merge branch 'main' into feat/multimodal-input-support 2026-01-29 11:44:27 +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
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
0dde6ce3ce refactor(lsp): restructure the LSP service import and test configuration 2026-01-29 00:54:59 +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
tanzhenxin
788a9f9d10 fix: ensure output-language.md is created before config initialization
Move initializeLlmOutputLanguage() to execute before loadCliConfig()
to fix a race condition where the language file wasn't included in
LLM context on first run.

Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
2026-01-28 09:42:10 +08:00
mingholy.lmh
37fdee3245 chore: bump version to 0.8.2
Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
2026-01-27 21:52:20 +08:00
mingholy.lmh
93b81f5d55 chore: bump version to 0.8.1
Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
2026-01-27 21:13:38 +08:00
pomelo
d0b0286da6
Merge pull request #1629 from QwenLM/feat/extension-list-add-skills-agents-i18n
feat: add skills and agents display to extension list with i18n support
2026-01-27 21:11:23 +08:00
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
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
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
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
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