qwen-code/docs/users
tanzhenxin 0026777828
feat(subagents): propagate approval mode to sub-agents (#3066)
* feat(subagents): propagate approval mode to sub-agents

Replace hardcoded PermissionMode.Default with resolution logic:
- Permissive parent modes (yolo, auto-edit) always win
- Plan-mode parents keep sub-agents in plan mode
- Agent definitions can declare approvalMode in frontmatter
- Default fallback is auto-edit in trusted folders
- Untrusted folders block privileged mode escalation

Also maps Claude permission aliases (acceptEdits, bypassPermissions,
dontAsk) to qwen-code approval modes in the converter.

* fix(subagents): correct dontAsk mapping and add approval mode resolution tests

Map Claude's `dontAsk` to `default` instead of `auto-edit` — `dontAsk`
denies prompts (restrictive) so `default` is a closer semantic match.

Add 9 unit tests covering the full `resolveSubagentApprovalMode` decision
matrix: permissive parent override, agent-declared modes, trusted/untrusted
folder blocking, and plan-mode fallback.

* test: remove flaky InputPrompt tab-suggestion test on Windows
2026-04-13 17:50:26 +08:00
..
configuration feat: add contextual tips system with post-response context awareness (#2904) 2026-04-13 17:40:27 +08:00
extension Merge pull request #2628 from QwenLM/feat/channels-telegram 2026-04-01 16:19:08 +08:00
features feat(subagents): propagate approval mode to sub-agents (#3066) 2026-04-13 17:50:26 +08:00
ide-integration update documentation 2025-12-19 18:16:59 +08:00
reference refactor: rename verboseMode to compactMode for better UX clarity (#3075) 2026-04-10 11:55:50 +08:00
support feat(cli): improve auth dialog UX with clearer three-option layout 2026-03-01 15:22:35 +08:00
_meta.ts docs move extension to user and hide create docs 2026-01-21 19:57:26 +08:00
common-workflow.md docs: updated all links, click and open in vscode, new showcase video in overview 2025-12-17 11:10:31 +08:00
integration-github-action.md docs: updated all links, click and open in vscode, new showcase video in overview 2025-12-17 11:10:31 +08:00
integration-jetbrains.md docs(integration): use CDN URLs for images and fix formatting 2026-03-16 14:12:48 +08:00
integration-vscode.md fix: docs 2026-01-14 10:30:03 +08:00
integration-zed.md docs(integration): use CDN URLs for images and fix formatting 2026-03-16 14:12:48 +08:00
overview.md feat(cli, webui): add follow-up suggestions feature (#2525) 2026-04-03 20:07:23 +08:00
quickstart.md docs: adjust auth docs priority - keep /auth as primary, qwen auth as supplement 2026-03-18 10:14:35 +08:00