Commit graph

4567 commits

Author SHA1 Message Date
LaZzyMan
9ca4e1debd recover template 2026-03-17 18:15:02 +08:00
LaZzyMan
b470a965ab docs: update PR template for auth command feature
Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
2026-03-17 18:12:54 +08:00
LaZzyMan
9a3041335f feat: add auth command 2026-03-17 18:11:22 +08:00
LaZzyMan
d4608afc2d feat: init claw skill 2026-03-16 21:15:20 +08:00
Mingholy
9391779cd0
Merge pull request #2410 from QwenLM/test/simplify-sdk-integration-tests
test(sdk): simplify integration tests for reliability
2026-03-16 17:43:10 +08:00
Mingholy
f9016165c7
Merge pull request #2356 from netbrah/fix/auto-detect-max-output-tokens
fix: auto-detect max_tokens from model when not set by provider
2026-03-16 17:34:35 +08:00
Mingholy
b4b0041a34
Merge pull request #2411 from QwenLM/fix-default-output-limit
Increase DEFAULT_OUTPUT_TOKEN_LIMIT from 8K to 16K
2026-03-16 17:34:22 +08:00
mingholy.lmh
6f67b12446 fix: lint error 2026-03-16 17:21:32 +08:00
mingholy.lmh
7f0942066b fix(models): improve max_tokens auto-detection source tracking and add tests
Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>

- Fix generationConfigSources to preserve existing source info when auto-detecting max_tokens

- Add unit tests for max_tokens fallback logic
2026-03-16 17:21:04 +08:00
netbrah
6e34b3102b fix: auto-detect max_tokens from model when not set by provider
When modelProviders config does not specify samplingParams.max_tokens,
requests to non-Qwen models (Claude, GPT, Gemini, etc.) omit max_tokens
entirely. Many APIs default to a small value (e.g., Anthropic via
VertexAI defaults to 4096), causing long responses to be truncated
mid-generation — often breaking tool call parameters.

Fix: apply tokenLimit(model, 'output') as a fallback in
applyResolvedModelDefaults(), following the same pattern already used
for contextWindowSize and modalities auto-detection.

Output limits from tokenLimits.ts:
  - Claude Opus 4.6: 128K
  - Claude Sonnet 4.6 / fallback: 64K
  - GPT-5.x: 128K
  - Gemini 3.x: 64K
  - Qwen 3.5: 64K

Made-with: Cursor
2026-03-16 17:21:04 +08:00
pomelo
02ac895544
Merge pull request #2372 from ShihaoShenDev/docs/add-acp-registry
Some checks are pending
Qwen Code CI / Post Coverage Comment (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 / 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 / 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
docs(integration): add ACP Registry for Zed and JetBrains integration docs
2026-03-16 14:45:28 +08:00
pomelo
ddcbe9c99d
Merge pull request #1642 from kiri-chenchen/docs/docker-java-runtime
docs: explain Docker sandbox runtime and Java usage
2026-03-16 14:45:16 +08:00
pomelo-nwu
282dd5b51b docs: move Java troubleshooting to sandbox.md
Move the Docker sandbox Java documentation from docs-site to the
appropriate location in docs/users/features/sandbox.md under the
Troubleshooting section.

Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
2026-03-16 14:42:05 +08:00
DennisYu07
4c7694daa8
Merge pull request #1904 from Sakuranda/fix/1892-windows-path-env
fix(core): normalize Windows PATH-like env keys for shell execution
2026-03-16 14:34:23 +08:00
pomelo-nwu
93a1253976 docs(integration): use CDN URLs for images and fix formatting
- Replace local image paths with Alibaba Cloud CDN URLs
- Fix formatting issues (extra blank lines, capitalization)
- Remove local image files (now served from CDN)

Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
2026-03-16 14:12:48 +08:00
mingholy.lmh
b9baf183b0 feat: add qwen fallback pattern with 8k output token limit
Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
2026-03-16 14:00:38 +08:00
tanzhenxin
3ada30ff9c
Merge pull request #2408 from QwenLM/rm-code-owner
chore(CODEOWNERS): remove required reviewers for vscode-ide-companion and webui packages
2026-03-16 11:25:22 +08:00
tanzhenxin
cef0be1b63 test(sdk): simplify integration tests for reliability
- Replace verbose prompts with simple 'Say hello' prompts
- Remove fragile text content assertions that depend on specific model responses
- Simplify test logic to focus on message flow rather than content validation
- Add permissionMode: 'default' and test file setup for read-only tool tests

Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
2026-03-16 11:23:57 +08:00
mingholy.lmh
b3b98540d5 feat: increase DEFAULT_OUTPUT_TOKEN_LIMIT from 8K to 16K
Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
2026-03-16 11:10:40 +08:00
顾盼
0995224848
Merge pull request #2407 from QwenLM/fix/remove-plan-file
fix:remove redundant plan files
2026-03-16 10:31:26 +08:00
yiliang114
b5d40a9f96 chore(CODEOWNERS): remove required reviewers for vscode-ide-companion and webui packages
Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
2026-03-16 10:08:17 +08:00
LaZzyMan
f59b044a72 fix: remove plan file 2026-03-16 10:03:19 +08:00
tanzhenxin
58bee3dec9
Merge pull request #2388 from QwenLM/fix/remove-enableToolOutputTruncation-setting
fix(core): improve shell tool truncation, simplify tool output handling, and remove summarization
2026-03-16 09:51:37 +08:00
tanzhenxin
d0a4dcc89c
Merge pull request #2374 from QwenLM/fix/vscode-session-race-conditions
fix(vscode): prevent race conditions in prompt cancellation and streaming
2026-03-16 09:51:20 +08:00
tanzhenxin
e22a29c6a4
Merge pull request #2389 from QwenLM/fix/rapid-pty-output-capture
fix(core): correctly capture rapid pty outputs in interactive shell mode
2026-03-16 09:50:33 +08:00
pomelo
15424f263b
Merge pull request #2367 from QwenLM/refactor/send-message-type
fix(core): strip orphaned user entries before retry to prevent API errors
2026-03-16 09:43:59 +08:00
tanzhenxin
110fcd7b7b
Merge pull request #2280 from xuewenjie123/fix/hooks-json-schema-type
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: correct hooks JSON schema type definition
2026-03-15 22:44:01 +08:00
tanzhenxin
06d8a01532
Merge pull request #2391 from kkhomej33-netizen/fix/macos-pty-sandbox-rules
fix(cli): allow /dev/ptmx and /dev/ttys* in macOS permissive sandbox
2026-03-15 22:33:40 +08:00
tanzhenxin
fb44b76abd
Merge pull request #2157 from QwenLM/zth/keep-rejected-plan-content-visible
Some checks are pending
Qwen Code CI / CodeQL (push) Waiting to run
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
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
Keep rejected plan content visible in plan mode
2026-03-15 22:11:57 +08:00
tanzhenxin
2719540fab
Merge pull request #2024 from drewd789/fix/pdf-session-corruption
fix(core): reject PDF files to prevent session corruption (fixes #2020)
2026-03-15 22:06:41 +08:00
tanzhenxin
33c6d9cbf3
Merge pull request #2286 from LaZzyMan/fix/extension-install-symlink-windows
fix(extension): disable symlinks on Windows during git clone to fix install failure
2026-03-15 21:55:44 +08:00
tanzhenxin
7ee65e1738 fix(fileUtils): remove error field from skipped file result
When a file is skipped because the model doesn't support a modality,
it should not be treated as an error. The error field was incorrectly
being set alongside the informational message.

Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
2026-03-15 21:44:28 +08:00
tanzhenxin
fdad1980d7 fix(test): add missing getContentGeneratorConfig mock to tests
Adds the required getContentGeneratorConfig mock to read-file.test.ts
and pathReader.test.ts to fix failing tests that depend on content
generator configuration.

Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
2026-03-15 21:41:20 +08:00
tanzhenxin
5c31341205 Merge remote main into fix/pdf-session-corruption
Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
2026-03-15 21:24:57 +08:00
tanzhenxin
6997636ba4 fix(fileUtils): use config modalities instead of model-based defaults
This fixes session corruption issues where the modality check was based on
the model name rather than the actual resolved config, causing inconsistent
behavior when the config's modalities differed from the defaults.

Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
2026-03-15 21:22:57 +08:00
tanzhenxin
59c1765ec5
Merge pull request #2001 from hs-ye/docs/subagent-limits
Docs/subagent system prompt limits
2026-03-15 21:15:53 +08:00
tanzhenxin
344839c0c4
Merge pull request #2397 from QwenLM/codex/add-qwen-doc-skills
feat(skills): add docs audit and update helpers
2026-03-15 20:59:02 +08:00
tanzhenxin
1852a73a3f fix(subagents): change limits from hard errors to soft warnings
- Increase description warning threshold from 500 to 1,000 characters
- Change system prompt 10,000 char limit from error to warning
- Remove intermediate 5,000 char warning threshold for system prompts
- Update documentation to reflect soft warning behavior

This provides more flexibility for users while still guiding them
toward better practices.

Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
2026-03-15 20:56:25 +08:00
tanzhenxin
e2affcebdd
Merge pull request #2364 from netbrah/fix/empty-choices-crash
fix(core): guard against empty choices in convertOpenAIResponseToGemini
2026-03-15 20:52:47 +08:00
DragonnZhang
a8bc25beb9 feat(skills): add docs audit and update helpers 2026-03-15 20:40:31 +08:00
tanzhenxin
2898e9e60e refactor(core): move candidates assignment inside choice check
Restructures the convertOpenAIResponseToGemini method to set
response.candidates within the choice conditional block, making
the empty choices handling more explicit and the control flow clearer.

Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
2026-03-15 20:37:59 +08:00
tanzhenxin
8161ac4523 fix(hooks): correct JSON schema type for hooks configuration
- Add 'array' type support to SettingItemDefinition
- Change hooks field from object to array type
- Add additionalProperties constraint for env fields
- Fix additionalProperties generation to only apply for object types

This ensures the hooks configuration schema correctly represents hooks as an array
and properly validates environment variable objects.

Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
2026-03-15 20:32:56 +08:00
tanzhenxin
b83e9ea393
Merge pull request #2333 from chen893/fix/slash-command-i18n
fix(i18n): localize slash command descriptions
2026-03-15 20:12:15 +08:00
tanzhenxin
2391c26026
Merge pull request #2393 from QwenLM/release/v0.12.4
chore(release): bump version to 0.12.4
2026-03-15 19:59:57 +08:00
tanzhenxin
a165599b32 chore(release): bump version to 0.12.4
Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
2026-03-15 18:45:14 +08:00
tanzhenxin
00baa5085e fix(core): use terminal replay for accurate raw output capture
Replay raw PTY output through a terminal buffer to properly collapse
carriage-return progress updates (e.g., git clone progress) instead of
showing all intermediate states.

This ensures the final output reflects what a user would actually see
in their terminal, with progress bars and spinners collapsed to their
final state.

Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
2026-03-15 18:09:07 +08:00
zach
487a8390b0 fix(cli): allow macOS PTY device paths in permissive sandbox 2026-03-15 08:09:35 +00:00
tanzhenxin
7be66749bf fix(core): fix mock type mismatch in shellExecutionService test
The Terminal.prototype.write mock's data parameter needed to accept
string | Uint8Array to match the actual method signature.

Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
2026-03-15 14:35:25 +08:00
tanzhenxin
5a26de927c fix(test): add missing config methods to makeFakeConfig in qwen-logger tests
StartSessionEvent requires getTruncateToolOutputThreshold,
getTruncateToolOutputLines, getIdeMode, getShouldUseNodePtyShell,
and getHookSystem from the config object.

Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
2026-03-15 14:28:33 +08:00
tanzhenxin
1140c10cbe fix(core): correctly capture rapid pty outputs in interactive shell mode
When PTY outputs data rapidly, the headless terminal rendering is
slower than appending buffers, and the render queue can be overrun
before finalize() races on exit. Additionally, node-pty can fire
onExit before all onData events have been delivered.

This fix:
- Captures raw output immediately before processing
- Uses setImmediate drain mechanism to flush late onData events
- Builds output from raw chunks instead of xterm buffer to avoid
  scrollback limit data loss

Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
2026-03-15 14:24:58 +08:00