fix(web-shell): surface Managed session list failures (#16082)
- fix(web-shell): surface Managed session list failures
Co-authored-by: Qwen-Coder qwen-coder@alibabacloud.com
- test(web-shell): match the list-failure sentences, not the whole alert
The list-failure alert wraps its message and its Retry button in the same role=alert div, so textContent reads ‘Managed sessions could not be loaded.Retry loading sessions’. Two assertions compared that concatenation against the sentence alone, which made four cases fail with a message that looked identical on both sides.
Assert the sentence is present, the way the sibling HTTP-500 case already does, and keep the alert count so the ‘once’ property is still pinned.
Not verified locally: this checkout’s core dist predates managed-runtime/managed-permission-rules.js, so the suite cannot load here. CI is the first real run.
Co-authored-by: Qwen-Coder qwen-coder@alibabacloud.com Co-authored-by: yiliang114 yiliang114@users.noreply.github.com
版权所有:中国计算机学会技术支持:开源发展技术委员会
京ICP备13000930号-9
京公网安备 11010802047560号
The open-source AI coding agent for your terminal, editor, desktop, browser, and chat.
中文 | Deutsch | français | 日本語 | Русский | Português (Brasil) | 한국어
Why Qwen Code?
Installation
Linux / macOS:
Windows:
NPM / Homebrew
NPM (requires Node.js 22+):
Homebrew (macOS / Linux):
Quick Start
Open a terminal in your project and start Qwen Code:
Inside the session, run
/authto configure your provider and API key. Then try:See the Authentication Guide and Settings Reference for detailed setup.
See the terminal interface
How to Use Qwen Code
Choose the interface that fits your workflow:
qwenin your project — see Quick Start.qwen serve --opento open the Web UI in your browser. (experimental)qwen channel start.For automation and custom integrations:
qwen -p "..."in scripts, CI/CD, or batch jobs.qwen serveto connect clients over HTTP + SSE (ACP). (experimental) Daemon guide.SDK example (Python)
Daemon Mode
Run Qwen Code as a long-lived service when you want browser, editor, SDK, and automation clients to share agent sessions without each starting a separate process. The daemon provides the built-in Web Shell and an HTTP + SSE API, supports multiple workspaces, and lets clients reconnect to active sessions.
Start it in the foreground and open the Web Shell:
The default address is
http://127.0.0.1:4170. To run and manage it in the background instead:By default, the daemon listens on loopback without bearer authentication; any local process that can reach it can use the full API, including code execution. On shared or untrusted hosts, set
QWEN_SERVER_TOKENand use--require-auth. See the Daemon guide for workspaces, authentication, remote access, and the API.Capabilities
If you know Claude Code, you already know Qwen Code — and then some. We’ve put significant effort into bringing Qwen Code to feature parity with Claude Code, improving both breadth and reliability across the board.
qwen serve(multi-client shared agent)Qwen Code Evaluation
On SWE-bench Verified, seven Qwen Code versions scored 76.40%–77.80% on average using the same Qwen 3.7 Max model (500 tasks, three trials per version).
Full results and evaluation configuration →
Ecosystem
Qwen Code Desktop — Official desktop app for macOS, Windows, and Linux
AionUi — A modern GUI for command-line AI tools including Qwen Code
Gemini CLI Desktop — A cross-platform desktop/web/mobile UI for Qwen Code
qwen-audio-agent — Realtime full-duplex voice frontend for Qwen Code over ACP — talk hands-free with barge-in and a local wake word
🦞 Qwen Code Claw — Let other agents (Claude, Codex, etc.) delegate coding tasks to Qwen Code via ACP. Paste this prompt into your agent:
bailian-cli). Extends Qwen Code with image/video generation, knowledge retrieval, app orchestration, and model deploymentPrivacy
See the Terms of Service and Privacy Notice, including Chrome extension and Browser Use data handling.
Contributing
Contributions are welcome! See CONTRIBUTING.md for guidelines.
Acknowledgments
This project was originally based on Google Gemini CLI v0.8.2. We gratefully acknowledge the Gemini CLI team’s excellent work. Starting from Qwen Code v0.1, we stopped syncing with upstream and began independent development as a multi-protocol, multi-platform agent framework with deep integrations for Qwen models and beyond.