feat: implement Modes Layer for specialized agent profiles#1980
Closed
impulse22-ru wants to merge 22 commits intoQwenLM:mainfrom
Closed
feat: implement Modes Layer for specialized agent profiles#1980impulse22-ru wants to merge 22 commits intoQwenLM:mainfrom
impulse22-ru wants to merge 22 commits intoQwenLM:mainfrom
Conversation
- Add @qwen-code/modes package with ModeManager, ToolRouter, PromptComposer - Add 6 built-in modes: Architect, Code, Ask, Debug, Review, Orchestrator - Add /mode slash command for CLI mode switching - Add settings.json support for custom modes and global instructions - Add comprehensive documentation and tests Features: - ModeManager: switch modes, register custom modes, subscribe to changes - ToolRouter: filter and validate tools per mode - PromptComposer: compose system prompts with safety blocks - Built-in modes with role definitions, allowed tools, safety constraints Documentation: - docs/MODES_GUIDE.md - user guide - docs/MODES_IMPLEMENTATION.md - implementation details - packages/modes/README.md - API documentation Tests: - mode-manager.test.ts, tool-router.test.ts, prompt-composer.test.ts Co-authored-by: Qmode <qmode@example.com> Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
Add translations for all supported languages: - English (en) - Russian (ru) - Chinese (zh) - German (de) - Portuguese (pt) Translated keys: - Switch between different agent modes - Configuration not available - Mode manager not available - List all available modes - Show current mode - Available Modes / Usage - Use Cases / Allowed Tools / Excluded Tools / Safety Constraints Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
This was referenced Feb 28, 2026
Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
This was referenced Mar 1, 2026
…Code → Ask → Debug → Review → Orchestrator) Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
…ycle Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
This was referenced Mar 1, 2026
…t, 🚀 YOLO, 📐 Architect, 💻 Code, ❓ Ask, 🐛 Debug, 🔍 Review, 🎯 Orchestrator) Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
…ng on Shift+Tab Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
…p mode cycling in AppContainer only Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
…ching Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
…trator) in Footer Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
…work mode when approval mode is active Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
…uestions (8 questions one-by-one) Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
…tect (critical fix) Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
This was referenced Mar 2, 2026
Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
This was referenced Mar 3, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Features:
Documentation:
Tests:
TLDR
Dive Deeper
Reviewer Test Plan
Testing Matrix
Linked issues / bugs