Skip to content

Add Qwen Code as a default coding agent - #11067

Open
cdenike wants to merge 3 commits into
omacom:quattrofrom
cdenike:add-qwen-code-agent
Open

cdenike wants to merge 3 commits into
omacom:quattrofrom
cdenike:add-qwen-code-agent

Conversation

@cdenike

@cdenike cdenike commented Sep 10, 2026 •

Copy link
Copy Markdown

Qwen Code becomes a selectable default coding agent through qwen or qwen-code, installed from its official npm package through mise. Omarchy starts its interactive CLI with automatic approval and binds an initial prompt as a literal --prompt-interactive value.

Provisioning and Refresh Applications recreate its lazy wrapper. Existing users receive it through a migration that preserves commands already on PATH and respects Remove Preinstalls. Removal deletes only Omarchy’s recognized wrapper, preserving independently installed launchers.

The menu carries Qwen’s monochrome brand mark at U+E910 while preserving the current font’s existing glyphs. The font reaches desktops through an omarchy-settings release. This is a launcher integration; it adds no usage collector or region-specific configuration.

No separate issue is closed.

Qwen Code is an agentic coding CLI that speaks OpenAI-compatible
endpoints, so it drives hosted models or a local Ollama server equally.
Adding it needs the agent known in three places plus its brand mark:

- omarchy-default-agent installs it from npm and records the choice
- omarchy-agent launches it unattended, seeding a prompt with
  --prompt-interactive since a bare positional prompt is one-shot
- the menu row selects it, sorted after Pi
- U+E90E carries the Qwen mark from simpleicons.org

Co-Authored-By: Claude Opus 5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01KfGgQBZ6zv2rKByQEDdt6J
@omarchybot omarchybot added the enhancement New feature or request label Sep 27, 2026
@jandrusk

Copy link
Copy Markdown

Heads-up before this gets rebased: U+E90E is no longer free on quattro. It's now the Claude mark (default/fonts/omarchy/README.md lists U+E90E — Claude, from simpleicons.org/icons/claude.svg), so as written the Qwen row and Claude would share a glyph, and the binary omarchy.ttf won't merge cleanly anyway.

When you rebase, could you:

  • regenerate the font from current quattro's omarchy.ttf with omarchy dev font add, putting Qwen on the next free codepoint (looks like U+E90F)
  • update the README entry, the menu row's icon, expectedAgents.qwen in menu-test.sh, and the charset check (e900-e90f)

The omarchy-agent / omarchy-default-agent parts look fine to me. Using --prompt-interactive rather than a positional prompt is the right call.

dhh and others added 2 commits October 14, 2026 08:46
Preserve current agent and panel integrations while merging quattro. Provision wrappers unconditionally, respect existing commands and the preinstall opt-out in migrations, and remove only owned wrappers. Allocate distinct brand glyphs across the three independent integrations.

Co-Authored-By: GPT-6 in Codex <[email protected]>
Co-Authored-By: Codex Medium (GPT-6.1-sol) <[email protected]>
Co-Authored-By: GPT-6 in Codex <[email protected]>
Co-Authored-By: Codex Medium (GPT-6.1-sol) <[email protected]>
@omarchybot

Copy link
Copy Markdown
Collaborator

Pushed 486135e86269d2a5f3e3a2f1ff3b1704c8bf9e45. Qwen now follows the current Kimi wrapper lifecycle: unconditional provisioning and Refresh Applications, a migration that preserves existing commands and the preinstall opt-out, and removal limited to Omarchy’s wrapper. Prompt values are bound literally, and Qwen’s glyph uses U+E910 without replacing Claude’s mark.

On a disposable stock Omarchy worker, all 9 lifecycle, 13 provisioning, 48 default-agent, and 161 menu checks passed. The full suite had three failing files out of 416: ascii-test.sh, branding-about-animation-test.sh, and hyprland-startup-cursor-cold-test.sh; each failed on the exact untouched base d679824776df72dbe0b9364d9360c7c4fdff34d8 on a separate worker. Five test files reported skipped checks. Deliberate source restorations made the new provisioning and launcher tests fail. Qwen Code 0.25.1 installed through mise, and its real interactive parser reached authentication selection with an option-like prompt in an empty home/workspace with networking disabled. The full font row and actual menu were rendered and inspected. Authenticated model calls were not tested.

Codex Medium (GPT-6.1-sol) reviewed the published head and found no actionable defects in the final round; independence is not guaranteed. This PR stands on current quattro and requires no other China work or sibling agent PR. It overlaps their binary font changes, so subsequent merges may require regenerating the combined font even though the codepoints are distinct. It is awaiting the maintainer’s merge decision.

dhh added a commit that referenced this pull request Oct 15, 2026
Qwen Code (qwen) joins the default agent picker, installed through mise as
npm:@qwen-code/qwen-code with a lazy stub on fresh installs and a migration
for existing ones. The launcher runs it with --yolo and seeds a prompt with
--prompt-interactive, bound to the flag so a leading dash stays literal.

From #11067.

Co-authored-by: Caden DeNike <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants