@zubriq/code 0.19.6 → 0.19.7-zubriq.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (110) hide show
  1. package/README.md +35 -142
  2. package/README.upstream.md +157 -0
  3. package/dist/chunks/{MaxSizedBox-4NTM7V5D.js → MaxSizedBox-T6CIMMP3.js} +6 -6
  4. package/dist/chunks/{StandaloneSessionPicker-F5QFHAFL.js → StandaloneSessionPicker-C3P6BNH4.js} +16 -16
  5. package/dist/chunks/{acpAgent-TOD2LLJF.js → acpAgent-UWE7CYPC.js} +31 -31
  6. package/dist/chunks/{agent-3H5KZ6DY.js → agent-BE34XYQC.js} +3 -3
  7. package/dist/chunks/{agent-headless-FQXGMOST.js → agent-headless-HJX2DEYL.js} +3 -3
  8. package/dist/chunks/{anthropicContentGenerator-GNSVYQXA.js → anthropicContentGenerator-FZQAEMYK.js} +2 -2
  9. package/dist/chunks/{bridge-R4JKTD7S.js → bridge-U26JIHER.js} +6 -6
  10. package/dist/chunks/{chunk-EVNYKSVZ.js → chunk-2BJBD2SI.js} +1 -1
  11. package/dist/chunks/{chunk-ZRWAAQRQ.js → chunk-2CLNNA2H.js} +1 -1
  12. package/dist/chunks/{chunk-P7YBLIU5.js → chunk-3BAKF3YM.js} +3 -3
  13. package/dist/chunks/{chunk-ACCPCUVU.js → chunk-3GGGBZZM.js} +1 -1
  14. package/dist/chunks/{chunk-ONL3IM22.js → chunk-4P2SQFC6.js} +1 -1
  15. package/dist/chunks/{chunk-7CQSASJV.js → chunk-5T5W42PO.js} +1 -1
  16. package/dist/chunks/{chunk-KEIPUODD.js → chunk-6T3WVAGP.js} +4 -4
  17. package/dist/chunks/{chunk-55RPM4TY.js → chunk-72LGS2RB.js} +13 -13
  18. package/dist/chunks/{chunk-6KSJU3LK.js → chunk-7JY7VUXD.js} +1 -1
  19. package/dist/chunks/{chunk-5IT3L42A.js → chunk-7OIEBTFD.js} +4 -4
  20. package/dist/chunks/{chunk-PTB3KYAY.js → chunk-A7L7BUWU.js} +1 -1
  21. package/dist/chunks/{chunk-BF6WRPU7.js → chunk-AJLARMUE.js} +2 -2
  22. package/dist/chunks/{chunk-4R32MWHE.js → chunk-B2WFC3AK.js} +2 -2
  23. package/dist/chunks/{chunk-KPZL4E2P.js → chunk-DP6YOAWL.js} +3 -3
  24. package/dist/chunks/{chunk-7NGCGAMQ.js → chunk-DSZLW2GZ.js} +4 -4
  25. package/dist/chunks/{chunk-BPQOFBGD.js → chunk-DV2J7XXG.js} +5 -5
  26. package/dist/chunks/{chunk-PENBI67B.js → chunk-EKB7BLE5.js} +9 -9
  27. package/dist/chunks/{chunk-SOUAERAW.js → chunk-ETAURCYN.js} +2 -2
  28. package/dist/chunks/{chunk-TTNY373R.js → chunk-F7WNVVM4.js} +29 -29
  29. package/dist/chunks/{chunk-VDKOIPDP.js → chunk-FQJKUDVQ.js} +5 -5
  30. package/dist/chunks/{chunk-CB2W2CBZ.js → chunk-GVZG2HKT.js} +3 -3
  31. package/dist/chunks/{chunk-O7OYJIEP.js → chunk-HMIQ6Q2E.js} +2 -2
  32. package/dist/chunks/{chunk-KCYNT2AT.js → chunk-HQH6AO45.js} +8 -8
  33. package/dist/chunks/{chunk-BWTL72PL.js → chunk-IH7NEHSU.js} +4 -4
  34. package/dist/chunks/{chunk-Y7IKLIRK.js → chunk-J55JDNBK.js} +1 -1
  35. package/dist/chunks/{chunk-3FAUFASY.js → chunk-JHP63PLH.js} +2 -2
  36. package/dist/chunks/{chunk-TORPEBVE.js → chunk-OQZFA3CY.js} +5 -5
  37. package/dist/chunks/{chunk-UDSVV4KF.js → chunk-OXUZ3FF6.js} +7 -7
  38. package/dist/chunks/{chunk-6AV55VFC.js → chunk-PIORL4OD.js} +3 -2
  39. package/dist/chunks/{chunk-NLFQKZCK.js → chunk-PQLS6NCB.js} +4 -4
  40. package/dist/chunks/{chunk-SL2P3JUA.js → chunk-R4ZCP2BQ.js} +1 -1
  41. package/dist/chunks/{chunk-IKHXXOX3.js → chunk-RTIZGRQV.js} +1 -1
  42. package/dist/chunks/{chunk-WMDAN2AW.js → chunk-SRGVIEEL.js} +3 -3
  43. package/dist/chunks/{chunk-S2GSU7OU.js → chunk-TE5VUBZ6.js} +16 -16
  44. package/dist/chunks/{chunk-ESXUF433.js → chunk-TQ4UQPTO.js} +4 -4
  45. package/dist/chunks/{chunk-3TOVWO3W.js → chunk-U37PXSMW.js} +1 -1
  46. package/dist/chunks/{chunk-GRUJHCOW.js → chunk-UGH6JZ3Z.js} +2 -2
  47. package/dist/chunks/{chunk-NQ242NUT.js → chunk-UZYWOTLS.js} +1 -1
  48. package/dist/chunks/{chunk-HDLEY4YP.js → chunk-V4TNZBAE.js} +1 -1
  49. package/dist/chunks/{chunk-GOH4AA75.js → chunk-VHXJLCAL.js} +1 -1
  50. package/dist/chunks/{chunk-E4DLCEUR.js → chunk-W6RH6KHR.js} +1 -1
  51. package/dist/chunks/{chunk-ZZ2TOLKZ.js → chunk-WAMYGK5V.js} +3 -3
  52. package/dist/chunks/{chunk-JEH3APPB.js → chunk-WGJZSQLV.js} +12 -12
  53. package/dist/chunks/{chunk-IZ4AZS7H.js → chunk-WN4MUF56.js} +1 -1
  54. package/dist/chunks/{chunk-RCLHEMNA.js → chunk-XADJ5VZ7.js} +2 -2
  55. package/dist/chunks/{chunk-AFFTM5OG.js → chunk-XNWMPPG3.js} +3 -3
  56. package/dist/chunks/{chunk-QGTFJ65B.js → chunk-YZ2XYO6Z.js} +4 -4
  57. package/dist/chunks/{computer-use-6PMLG3BD.js → computer-use-KXYLQU5P.js} +3 -3
  58. package/dist/chunks/{contextCommand-526NOPSF.js → contextCommand-ARR35UA5.js} +5 -5
  59. package/dist/chunks/{daemon-status-provider-DREET7X3.js → daemon-status-provider-CFIZMLEL.js} +9 -9
  60. package/dist/chunks/{earlyInputCapture-23LXDF2Y.js → earlyInputCapture-PNJB5N3X.js} +3 -3
  61. package/dist/chunks/{edit-ZOBJF5QC.js → edit-7W43GBET.js} +3 -3
  62. package/dist/chunks/{enter-worktree-QS63ES43.js → enter-worktree-7YKY7WGJ.js} +3 -3
  63. package/dist/chunks/{enterPlanMode-UQCCMT3L.js → enterPlanMode-BP6OY3N4.js} +3 -3
  64. package/dist/chunks/{errors-QITZ7HQU.js → errors-654ZZEQO.js} +5 -5
  65. package/dist/chunks/{exit-worktree-TSYMRGAA.js → exit-worktree-LF3HUMQC.js} +3 -3
  66. package/dist/chunks/{exitPlanMode-UYJVLS7F.js → exitPlanMode-AI63OI4H.js} +3 -3
  67. package/dist/chunks/{fast-path-YHSS5HKQ.js → fast-path-O7337PXS.js} +2 -2
  68. package/dist/chunks/{gemini-FK5GMJAL.js → gemini-BBQJIXMB.js} +29 -29
  69. package/dist/chunks/{geminiContentGenerator-7BOHW4KN.js → geminiContentGenerator-WUKLYD4K.js} +1 -1
  70. package/dist/chunks/{glob-ZOLAVHYE.js → glob-WWHWCATX.js} +3 -3
  71. package/dist/chunks/{grep-GWOOZQTG.js → grep-5PC6I5OA.js} +3 -3
  72. package/dist/chunks/{initializer-TT4LOX72.js → initializer-7SGLJTMK.js} +7 -7
  73. package/dist/chunks/{list-SNADXRXS.js → list-PGS44O3H.js} +9 -9
  74. package/dist/chunks/{loadedSettingsAdapter-QFHB5WNC.js → loadedSettingsAdapter-6XRTO4DZ.js} +7 -7
  75. package/dist/chunks/{mcp-NBCUTH4Y.js → mcp-FVWUKEGR.js} +7 -7
  76. package/dist/chunks/{monitor-CFJO23QW.js → monitor-KN6NPASB.js} +3 -3
  77. package/dist/chunks/{nonInteractiveCli-OJFFR4W4.js → nonInteractiveCli-2EG4YX2H.js} +28 -28
  78. package/dist/chunks/{notebook-edit-A4MU4RZQ.js → notebook-edit-QTEFNRA5.js} +3 -3
  79. package/dist/chunks/{openaiContentGenerator-YSACKQM3.js → openaiContentGenerator-VS6M5GWO.js} +4 -4
  80. package/dist/chunks/{pidfile-ASQQAMCG.js → pidfile-YD4ZFZXB.js} +3 -3
  81. package/dist/chunks/{qwenContentGenerator-GRJJQFMH.js → qwenContentGenerator-WKGXAUOV.js} +5 -5
  82. package/dist/chunks/{read-file-VMOQQJFD.js → read-file-4ZCCCGBK.js} +1 -1
  83. package/dist/chunks/{ripGrep-DAC2NCZW.js → ripGrep-MEH3DNPB.js} +3 -3
  84. package/dist/chunks/{run-qwen-serve-6CH5EQX7.js → run-qwen-serve-JKTDQDWS.js} +13 -13
  85. package/dist/chunks/{scheduler-QGUYGJVU.js → scheduler-NQ3J73LR.js} +3 -3
  86. package/dist/chunks/{serve-5VKQIZWO.js → serve-55JALOOF.js} +7 -7
  87. package/dist/chunks/{server-T2DYZZAG.js → server-443M2YM4.js} +22 -22
  88. package/dist/chunks/{session-YJ4ZPXAH.js → session-OKLHUANL.js} +29 -29
  89. package/dist/chunks/{settings-RM3RPELW.js → settings-M3T263T3.js} +6 -6
  90. package/dist/chunks/{shell-7PPNCFUZ.js → shell-7NXC6HFP.js} +3 -3
  91. package/dist/chunks/{skill-64WK7QLD.js → skill-XRWSGWIR.js} +1 -1
  92. package/dist/chunks/{spawnChannel-P47XIJIR.js → spawnChannel-H753ONPF.js} +5 -5
  93. package/dist/chunks/{src-GQMUPHBP.js → src-P6YHNO4U.js} +3 -3
  94. package/dist/chunks/{startInteractiveUI-MWGN4BVT.js → startInteractiveUI-VTRBRBP3.js} +36 -36
  95. package/dist/chunks/{team-create-A4ZPNRCT.js → team-create-QS7JB5AT.js} +3 -3
  96. package/dist/chunks/{team-plan-approval-WXXL5OKS.js → team-plan-approval-4A6WI72F.js} +3 -3
  97. package/dist/chunks/{theme-manager-KZDNY55X.js → theme-manager-MJEWDUHU.js} +3 -3
  98. package/dist/chunks/{tool-search-ESFP3RFK.js → tool-search-UYP4TQ4W.js} +1 -1
  99. package/dist/chunks/{tree-sitter-W4Z5ZAQQ.js → tree-sitter-F5WXDK45.js} +1 -1
  100. package/dist/chunks/{tree-sitter-bash-KKYGHHQF.js → tree-sitter-bash-RPMGROCZ.js} +1 -1
  101. package/dist/chunks/{trustedFolders-WW5PLDDD.js → trustedFolders-IYHWXGKE.js} +4 -4
  102. package/dist/chunks/{validateNonInterActiveAuth-MF5CVCAH.js → validateNonInterActiveAuth-JOUQTOFZ.js} +25 -25
  103. package/dist/chunks/{version-VAONYVE5.js → version-D3BGJC7L.js} +1 -1
  104. package/dist/chunks/{workflow-IAE2VUVJ.js → workflow-XKA3P7MJ.js} +4 -4
  105. package/dist/chunks/{workspace-providers-status-ZQJMO3MG.js → workspace-providers-status-MEI3ANDA.js} +9 -9
  106. package/dist/chunks/{workspace-service-E4R4IKNP.js → workspace-service-VHEN4SI4.js} +11 -11
  107. package/dist/chunks/{workspace-skills-status-4LCDBHKM.js → workspace-skills-status-5ADQMOJ6.js} +8 -8
  108. package/dist/chunks/{write-file-THK2H6RJ.js → write-file-CYUDGLMW.js} +3 -3
  109. package/dist/cli.js +11 -11
  110. package/package.json +1 -1
package/README.md CHANGED
@@ -1,157 +1,50 @@
1
- <div align="center">
1
+ # ZubrIQ Code (`zq`)
2
2
 
3
- [![npm version](https://img.shields.io/npm/v/@qwen-code/qwen-code.svg)](https://www.npmjs.com/package/@qwen-code/qwen-code)
4
- [![License](https://img.shields.io/github/license/QwenLM/qwen-code.svg)](./LICENSE)
5
- [![Node.js Version](https://img.shields.io/badge/node-%3E%3D22.0.0-brightgreen.svg)](https://nodejs.org/)
6
- [![Downloads](https://img.shields.io/npm/dm/@qwen-code/qwen-code.svg)](https://www.npmjs.com/package/@qwen-code/qwen-code)
3
+ **Кодинг-агент для терминала, который работает внутри Республики Беларусь.**
4
+ Форк [Qwen Code](https://github.com/QwenLM/qwen-code) — так же, как Qwen Code
5
+ является форком Gemini CLI: мы взяли лучший открытый агентный CLI и адаптировали
6
+ его под задачу, которую он сам решить не может — **код и промпты не должны
7
+ покидать контур страны**.
7
8
 
8
- <a href="https://trendshift.io/repositories/15287" target="_blank"><img src="https://trendshift.io/api/badge/repositories/15287" alt="QwenLM%2Fqwen-code | Trendshift" style="width: 250px; height: 55px;" width="250" height="55"/></a>
9
+ Документация: **https://code.zubriq.by** · Платформа: **https://zubriq.by**
9
10
 
10
- **The open-source AI coding agent that lives in your terminal.**
11
+ ## Чем отличается от Qwen Code
11
12
 
12
- <a href="https://qwenlm.github.io/qwen-code-docs/zh/users/overview">中文</a> |
13
- <a href="https://qwenlm.github.io/qwen-code-docs/de/users/overview">Deutsch</a> |
14
- <a href="https://qwenlm.github.io/qwen-code-docs/fr/users/overview">français</a> |
15
- <a href="https://qwenlm.github.io/qwen-code-docs/ja/users/overview">日本語</a> |
16
- <a href="https://qwenlm.github.io/qwen-code-docs/ru/users/overview">Русский</a> |
17
- <a href="https://qwenlm.github.io/qwen-code-docs/pt-BR/users/overview">Português (Brasil)</a>
13
+ | | Qwen Code | ZubrIQ Code |
14
+ | ------------------- | ------------------------------ | ------------------------------------------------------------------- |
15
+ | Модель по умолчанию | Qwen OAuth / DashScope (Китай) | qwen3.6-35b на серверах в Минске (api.zubriq.by) |
16
+ | Телеметрия | RUM-аналитика (aliyuncs.com) | **Вырезана на уровне кода** — наружу не уходит ничего |
17
+ | Настройка | аккаунт + oauth/ключи + env | один `ZUBRIQ_API_KEY` из кабинета — base_url и модель уже настроены |
18
+ | Данные | уходят в облако провайдера | остаются в контуре РБ (банковская тайна, ПДн) |
19
+ | Оплата | карта/облако провайдера | BYN, закрывающие документы (console.zubriq.by) |
20
+ | Бинарь | `qwen` | `zq` (не конфликтует с оригиналом) |
18
21
 
19
- </div>
22
+ Всё остальное — как в апстриме: полноценный агент (файлы, команды, git, тесты),
23
+ MCP, субагенты, IDE-интеграция. Версии форка: `<база>-zubriq.N`
24
+ (например 0.19.7-zubriq.1 поверх апстрима 0.19.6).
20
25
 
21
- ## Why Qwen Code?
26
+ ## Установка
22
27
 
23
- - **Agentic out of the box** — Auto-Memory, Auto-Skills, SubAgents, Agent Teams, and MCP. Dynamic workflows, zero setup.
24
- - **Open-source, inside and out** — The framework and the Qwen models are open-source. They evolve together. No vendor lock-in.
25
- - **Multi-protocol** — Supports OpenAI, Anthropic, Gemini, and Qwen APIs. Any third-party provider or local model (Ollama / vLLM). Switch at runtime.
26
- - **Beyond the terminal** — IDE plugins, Desktop app, daemon mode, SDKs, and IM bots (Telegram / DingTalk / WeChat / Feishu).
28
+ ```sh
29
+ # скрипт (Linux/macOS)
30
+ curl -fsSL https://code.zubriq.by/install | bash
27
31
 
28
- > [!TIP]
29
- > Qwen Code is actively iterating on itself — using its own agent and models to file issues, submit PRs, review code, and run tests. Powered by the community, driven by AI.
32
+ # Homebrew (macOS)
33
+ brew tap zubriq/tap https://gitlab.com/artcloud/zubriq/homebrew-tap.git
34
+ brew install zq
30
35
 
31
- ## Installation
32
-
33
- **Linux / macOS:**
34
-
35
- ```bash
36
- curl -fsSL https://qwen-code-assets.oss-cn-hangzhou.aliyuncs.com/installation/install-qwen-standalone.sh | bash
37
- ```
38
-
39
- **Windows:**
40
-
41
- ```powershell
42
- irm https://qwen-code-assets.oss-cn-hangzhou.aliyuncs.com/installation/install-qwen-standalone.ps1 | iex
43
- ```
44
-
45
- > Restart your terminal after installation to ensure environment variables take effect.
46
-
47
- <details>
48
- <summary>NPM / Homebrew</summary>
49
-
50
- **NPM** (requires [Node.js 22+](https://nodejs.org/)):
51
-
52
- ```bash
53
- npm install -g @qwen-code/qwen-code@latest
54
- ```
55
-
56
- **Homebrew** (macOS / Linux):
57
-
58
- ```bash
59
- brew install qwen-code
60
- ```
61
-
62
- </details>
63
-
64
- ## Quick Start
65
-
66
- ```bash
67
- qwen # Launch interactive terminal UI
68
- # Inside the session:
69
- /auth # Configure your provider and API key
70
- ```
71
-
72
- See the [Authentication Guide](https://qwenlm.github.io/qwen-code-docs/en/users/configuration/auth/) and [Settings Reference](https://qwenlm.github.io/qwen-code-docs/en/users/configuration/settings/) for detailed setup.
73
-
74
- ![Qwen Code](https://img.alicdn.com/imgextra/i2/O1CN01K0nwj41RM1Il8kB0t_!!6000000002096-2-tps-1544-1060.png)
75
-
76
- ## How to Use Qwen Code
77
-
78
- | Mode | Command | Use Case |
79
- | --------------- | --------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
80
- | **Interactive** | `qwen` | Terminal UI with rich rendering, `@file` references, slash commands |
81
- | **Headless** | `qwen -p "..."` | Scripts, CI/CD, batch processing — no UI |
82
- | **IDE** | — | [VS Code](https://qwenlm.github.io/qwen-code-docs/en/users/integration-vscode/), [Zed](https://qwenlm.github.io/qwen-code-docs/en/users/integration-zed/), [JetBrains](https://qwenlm.github.io/qwen-code-docs/en/users/integration-jetbrains/) |
83
- | **Desktop** | — | [Qwen Code Desktop](https://github.com/QwenLM/qwen-code/releases/tag/desktop-latest) — GUI for macOS, Windows, Linux |
84
- | **Daemon** | `qwen serve` | Shared agent session over HTTP+SSE (ACP). Multiple clients, one agent. _(experimental)_ [Docs](https://qwenlm.github.io/qwen-code-docs/en/users/qwen-serve) |
85
- | **SDK** | — | [TypeScript](./packages/sdk-typescript/README.md), [Python](./packages/sdk-python/README.md), [Java](./packages/sdk-java/qwencode/README.md) |
86
- | **IM Bot** | `qwen channel` | Connect to Telegram, DingTalk, WeChat, or Feishu |
87
-
88
- <details>
89
- <summary>SDK example (Python)</summary>
90
-
91
- ```python
92
- import asyncio
93
-
94
- from qwen_code_sdk import is_sdk_result_message, query
95
-
96
-
97
- async def main() -> None:
98
- result = query(
99
- "Summarize the repository layout.",
100
- {
101
- "cwd": "/path/to/project",
102
- "path_to_qwen_executable": "qwen",
103
- },
104
- )
105
-
106
- async for message in result:
107
- if is_sdk_result_message(message):
108
- print(message["result"])
109
-
110
-
111
- asyncio.run(main())
36
+ # npm
37
+ npm install -g @zubriq/code
112
38
  ```
113
39
 
114
- </details>
115
-
116
- ## Capabilities
117
-
118
- 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](https://github.com/wenshao/codeagents/blob/main/docs/comparison/qwen-code-improvement-report.md), improving both breadth and reliability across the board.
119
-
120
- | Feature | Qwen Code | Claude Code |
121
- | ------------------------------------------------------------------ | :-------: | :---------: |
122
- | SubAgents, Agent Teams, Dynamic Workflows | ✓ | ✓ |
123
- | Auto-Memory, Auto-Skills, Hooks | ✓ | ✓ |
124
- | Built-in Skills (/review, /batch, /loop, /bugfix…) | ✓ | ✓ |
125
- | MCP, Plan Mode, LSP Integration | ✓ | ✓ |
126
- | Auto Mode, Sandbox, Git Worktrees | ✓ | ✓ |
127
- | Computer Use (desktop automation) | ✓ | ✓ |
128
- | IDE Plugins (VS Code / JetBrains / Zed) | ✓ | ✓ |
129
- | SDK | ✓ | ✓ |
130
- | Headless Mode, Session Management | ✓ | ✓ |
131
- | Open-source — model and framework | ✓ | — |
132
- | Multi-protocol (OpenAI / Anthropic / Gemini / Qwen + any provider) | ✓ | — |
133
- | Agent Arena (multi-model head-to-head on same task) | ✓ | — |
134
- | Daemon Mode — `qwen serve` (multi-client shared agent) | ✓ | — |
135
- | IM Channels (Telegram / DingTalk / WeChat / Feishu) | ✓ | — |
136
-
137
- ## Ecosystem
40
+ ## Быстрый старт
138
41
 
139
- - [**Qwen Code Desktop**](https://github.com/QwenLM/qwen-code/releases/tag/desktop-latest) — Official desktop app for macOS, Windows, and Linux
140
- - [**AionUi**](https://github.com/iOfficeAI/AionUi) A modern GUI for command-line AI tools including Qwen Code
141
- - [**Gemini CLI Desktop**](https://github.com/Piebald-AI/gemini-cli-desktop) — A cross-platform desktop/web/mobile UI for Qwen Code
142
-
143
- - [**🦞 Qwen Code Claw**](https://github.com/openclaw/acpx) — Let other agents (Claude, Codex, etc.) delegate coding tasks to Qwen Code via ACP. Paste this prompt into your agent:
144
-
145
- ```text
146
- Use Qwen Code as a coding agent. First, fetch and read this skill reference:
147
- https://raw.githubusercontent.com/QwenLM/qwen-code/refs/heads/main/.qwen/skills/qwen-code-claw/SKILL.md
148
- Then follow the instructions inside to install, authenticate, and use Qwen Code via acpx for all coding tasks.
42
+ ```sh
43
+ export ZUBRIQ_API_KEY=sk-… # ключ из console.zubriq.by
44
+ zq
149
45
  ```
150
46
 
151
- ## Contributing
152
-
153
- Contributions are welcome! See [CONTRIBUTING.md](./CONTRIBUTING.md) for guidelines.
154
-
155
- ## Acknowledgments
47
+ ## Лицензия
156
48
 
157
- This project was originally based on [Google Gemini CLI](https://github.com/google-gemini/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.
49
+ Apache-2.0. Основано на Qwen Code © Qwen Team свою очередь основан на
50
+ Gemini CLI © Google). Изменения форка задокументированы в README-ZUBRIQ.md.
@@ -0,0 +1,157 @@
1
+ <div align="center">
2
+
3
+ [![npm version](https://img.shields.io/npm/v/@qwen-code/qwen-code.svg)](https://www.npmjs.com/package/@qwen-code/qwen-code)
4
+ [![License](https://img.shields.io/github/license/QwenLM/qwen-code.svg)](./LICENSE)
5
+ [![Node.js Version](https://img.shields.io/badge/node-%3E%3D22.0.0-brightgreen.svg)](https://nodejs.org/)
6
+ [![Downloads](https://img.shields.io/npm/dm/@qwen-code/qwen-code.svg)](https://www.npmjs.com/package/@qwen-code/qwen-code)
7
+
8
+ <a href="https://trendshift.io/repositories/15287" target="_blank"><img src="https://trendshift.io/api/badge/repositories/15287" alt="QwenLM%2Fqwen-code | Trendshift" style="width: 250px; height: 55px;" width="250" height="55"/></a>
9
+
10
+ **The open-source AI coding agent that lives in your terminal.**
11
+
12
+ <a href="https://qwenlm.github.io/qwen-code-docs/zh/users/overview">中文</a> |
13
+ <a href="https://qwenlm.github.io/qwen-code-docs/de/users/overview">Deutsch</a> |
14
+ <a href="https://qwenlm.github.io/qwen-code-docs/fr/users/overview">français</a> |
15
+ <a href="https://qwenlm.github.io/qwen-code-docs/ja/users/overview">日本語</a> |
16
+ <a href="https://qwenlm.github.io/qwen-code-docs/ru/users/overview">Русский</a> |
17
+ <a href="https://qwenlm.github.io/qwen-code-docs/pt-BR/users/overview">Português (Brasil)</a>
18
+
19
+ </div>
20
+
21
+ ## Why Qwen Code?
22
+
23
+ - **Agentic out of the box** — Auto-Memory, Auto-Skills, SubAgents, Agent Teams, and MCP. Dynamic workflows, zero setup.
24
+ - **Open-source, inside and out** — The framework and the Qwen models are open-source. They evolve together. No vendor lock-in.
25
+ - **Multi-protocol** — Supports OpenAI, Anthropic, Gemini, and Qwen APIs. Any third-party provider or local model (Ollama / vLLM). Switch at runtime.
26
+ - **Beyond the terminal** — IDE plugins, Desktop app, daemon mode, SDKs, and IM bots (Telegram / DingTalk / WeChat / Feishu).
27
+
28
+ > [!TIP]
29
+ > Qwen Code is actively iterating on itself — using its own agent and models to file issues, submit PRs, review code, and run tests. Powered by the community, driven by AI.
30
+
31
+ ## Installation
32
+
33
+ **Linux / macOS:**
34
+
35
+ ```bash
36
+ curl -fsSL https://qwen-code-assets.oss-cn-hangzhou.aliyuncs.com/installation/install-qwen-standalone.sh | bash
37
+ ```
38
+
39
+ **Windows:**
40
+
41
+ ```powershell
42
+ irm https://qwen-code-assets.oss-cn-hangzhou.aliyuncs.com/installation/install-qwen-standalone.ps1 | iex
43
+ ```
44
+
45
+ > Restart your terminal after installation to ensure environment variables take effect.
46
+
47
+ <details>
48
+ <summary>NPM / Homebrew</summary>
49
+
50
+ **NPM** (requires [Node.js 22+](https://nodejs.org/)):
51
+
52
+ ```bash
53
+ npm install -g @qwen-code/qwen-code@latest
54
+ ```
55
+
56
+ **Homebrew** (macOS / Linux):
57
+
58
+ ```bash
59
+ brew install qwen-code
60
+ ```
61
+
62
+ </details>
63
+
64
+ ## Quick Start
65
+
66
+ ```bash
67
+ qwen # Launch interactive terminal UI
68
+ # Inside the session:
69
+ /auth # Configure your provider and API key
70
+ ```
71
+
72
+ See the [Authentication Guide](https://qwenlm.github.io/qwen-code-docs/en/users/configuration/auth/) and [Settings Reference](https://qwenlm.github.io/qwen-code-docs/en/users/configuration/settings/) for detailed setup.
73
+
74
+ ![Qwen Code](https://img.alicdn.com/imgextra/i2/O1CN01K0nwj41RM1Il8kB0t_!!6000000002096-2-tps-1544-1060.png)
75
+
76
+ ## How to Use Qwen Code
77
+
78
+ | Mode | Command | Use Case |
79
+ | --------------- | --------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
80
+ | **Interactive** | `qwen` | Terminal UI with rich rendering, `@file` references, slash commands |
81
+ | **Headless** | `qwen -p "..."` | Scripts, CI/CD, batch processing — no UI |
82
+ | **IDE** | — | [VS Code](https://qwenlm.github.io/qwen-code-docs/en/users/integration-vscode/), [Zed](https://qwenlm.github.io/qwen-code-docs/en/users/integration-zed/), [JetBrains](https://qwenlm.github.io/qwen-code-docs/en/users/integration-jetbrains/) |
83
+ | **Desktop** | — | [Qwen Code Desktop](https://github.com/QwenLM/qwen-code/releases/tag/desktop-latest) — GUI for macOS, Windows, Linux |
84
+ | **Daemon** | `qwen serve` | Shared agent session over HTTP+SSE (ACP). Multiple clients, one agent. _(experimental)_ [Docs](https://qwenlm.github.io/qwen-code-docs/en/users/qwen-serve) |
85
+ | **SDK** | — | [TypeScript](./packages/sdk-typescript/README.md), [Python](./packages/sdk-python/README.md), [Java](./packages/sdk-java/qwencode/README.md) |
86
+ | **IM Bot** | `qwen channel` | Connect to Telegram, DingTalk, WeChat, or Feishu |
87
+
88
+ <details>
89
+ <summary>SDK example (Python)</summary>
90
+
91
+ ```python
92
+ import asyncio
93
+
94
+ from qwen_code_sdk import is_sdk_result_message, query
95
+
96
+
97
+ async def main() -> None:
98
+ result = query(
99
+ "Summarize the repository layout.",
100
+ {
101
+ "cwd": "/path/to/project",
102
+ "path_to_qwen_executable": "qwen",
103
+ },
104
+ )
105
+
106
+ async for message in result:
107
+ if is_sdk_result_message(message):
108
+ print(message["result"])
109
+
110
+
111
+ asyncio.run(main())
112
+ ```
113
+
114
+ </details>
115
+
116
+ ## Capabilities
117
+
118
+ 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](https://github.com/wenshao/codeagents/blob/main/docs/comparison/qwen-code-improvement-report.md), improving both breadth and reliability across the board.
119
+
120
+ | Feature | Qwen Code | Claude Code |
121
+ | ------------------------------------------------------------------ | :-------: | :---------: |
122
+ | SubAgents, Agent Teams, Dynamic Workflows | ✓ | ✓ |
123
+ | Auto-Memory, Auto-Skills, Hooks | ✓ | ✓ |
124
+ | Built-in Skills (/review, /batch, /loop, /bugfix…) | ✓ | ✓ |
125
+ | MCP, Plan Mode, LSP Integration | ✓ | ✓ |
126
+ | Auto Mode, Sandbox, Git Worktrees | ✓ | ✓ |
127
+ | Computer Use (desktop automation) | ✓ | ✓ |
128
+ | IDE Plugins (VS Code / JetBrains / Zed) | ✓ | ✓ |
129
+ | SDK | ✓ | ✓ |
130
+ | Headless Mode, Session Management | ✓ | ✓ |
131
+ | Open-source — model and framework | ✓ | — |
132
+ | Multi-protocol (OpenAI / Anthropic / Gemini / Qwen + any provider) | ✓ | — |
133
+ | Agent Arena (multi-model head-to-head on same task) | ✓ | — |
134
+ | Daemon Mode — `qwen serve` (multi-client shared agent) | ✓ | — |
135
+ | IM Channels (Telegram / DingTalk / WeChat / Feishu) | ✓ | — |
136
+
137
+ ## Ecosystem
138
+
139
+ - [**Qwen Code Desktop**](https://github.com/QwenLM/qwen-code/releases/tag/desktop-latest) — Official desktop app for macOS, Windows, and Linux
140
+ - [**AionUi**](https://github.com/iOfficeAI/AionUi) — A modern GUI for command-line AI tools including Qwen Code
141
+ - [**Gemini CLI Desktop**](https://github.com/Piebald-AI/gemini-cli-desktop) — A cross-platform desktop/web/mobile UI for Qwen Code
142
+
143
+ - [**🦞 Qwen Code Claw**](https://github.com/openclaw/acpx) — Let other agents (Claude, Codex, etc.) delegate coding tasks to Qwen Code via ACP. Paste this prompt into your agent:
144
+
145
+ ```text
146
+ Use Qwen Code as a coding agent. First, fetch and read this skill reference:
147
+ https://raw.githubusercontent.com/QwenLM/qwen-code/refs/heads/main/.qwen/skills/qwen-code-claw/SKILL.md
148
+ Then follow the instructions inside to install, authenticate, and use Qwen Code via acpx for all coding tasks.
149
+ ```
150
+
151
+ ## Contributing
152
+
153
+ Contributions are welcome! See [CONTRIBUTING.md](./CONTRIBUTING.md) for guidelines.
154
+
155
+ ## Acknowledgments
156
+
157
+ This project was originally based on [Google Gemini CLI](https://github.com/google-gemini/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.
@@ -4,14 +4,14 @@ import {
4
4
  MINIMUM_MAX_HEIGHT,
5
5
  MaxSizedBox,
6
6
  setMaxSizedBoxDebugging
7
- } from "./chunk-BF6WRPU7.js";
7
+ } from "./chunk-AJLARMUE.js";
8
8
  import "./chunk-IFEWJXFS.js";
9
- import "./chunk-GRUJHCOW.js";
9
+ import "./chunk-UGH6JZ3Z.js";
10
10
  import "./chunk-KYMBIKIW.js";
11
11
  import "./chunk-PC4ZXHU2.js";
12
- import "./chunk-6KSJU3LK.js";
12
+ import "./chunk-7JY7VUXD.js";
13
13
  import "./chunk-TLRYABYP.js";
14
- import "./chunk-TTNY373R.js";
14
+ import "./chunk-F7WNVVM4.js";
15
15
  import "./chunk-5P5XGNYH.js";
16
16
  import "./chunk-SKAZWEV5.js";
17
17
  import "./chunk-K5PGHDBN.js";
@@ -32,7 +32,7 @@ import "./chunk-NQKLOAVJ.js";
32
32
  import "./chunk-WMPVYQ4P.js";
33
33
  import "./chunk-TLWA7TPR.js";
34
34
  import "./chunk-QYNNN7BK.js";
35
- import "./chunk-7NGCGAMQ.js";
35
+ import "./chunk-DSZLW2GZ.js";
36
36
  import "./chunk-E6US47KI.js";
37
37
  import "./chunk-UWCTAVOD.js";
38
38
  import "./chunk-OFEVLU4C.js";
@@ -46,7 +46,7 @@ import "./chunk-AHNJGLFV.js";
46
46
  import "./chunk-22IFUCVR.js";
47
47
  import "./chunk-7LTB54MK.js";
48
48
  import "./chunk-SIUQ3YYX.js";
49
- import "./chunk-6AV55VFC.js";
49
+ import "./chunk-PIORL4OD.js";
50
50
  import "./chunk-NCFY7PWS.js";
51
51
  import "./chunk-IRJWHZWU.js";
52
52
  import "./chunk-SYCJMSIJ.js";
@@ -3,38 +3,38 @@
3
3
  import {
4
4
  ConfigContext,
5
5
  SessionPicker
6
- } from "./chunk-55RPM4TY.js";
7
- import "./chunk-GOH4AA75.js";
8
- import "./chunk-ESXUF433.js";
6
+ } from "./chunk-72LGS2RB.js";
7
+ import "./chunk-VHXJLCAL.js";
8
+ import "./chunk-TQ4UQPTO.js";
9
9
  import {
10
10
  SettingsContext
11
- } from "./chunk-4R32MWHE.js";
11
+ } from "./chunk-B2WFC3AK.js";
12
12
  import {
13
13
  KeypressProvider
14
- } from "./chunk-TORPEBVE.js";
14
+ } from "./chunk-OQZFA3CY.js";
15
15
  import "./chunk-KSPVDFE4.js";
16
16
  import "./chunk-MRO43B25.js";
17
- import "./chunk-BF6WRPU7.js";
17
+ import "./chunk-AJLARMUE.js";
18
18
  import "./chunk-IFEWJXFS.js";
19
19
  import {
20
20
  Box_default,
21
21
  render_default,
22
22
  require_jsx_runtime,
23
23
  use_app_default
24
- } from "./chunk-GRUJHCOW.js";
24
+ } from "./chunk-UGH6JZ3Z.js";
25
25
  import {
26
26
  require_react
27
27
  } from "./chunk-KYMBIKIW.js";
28
28
  import "./chunk-PC4ZXHU2.js";
29
29
  import "./chunk-3GONHQOA.js";
30
- import "./chunk-6KSJU3LK.js";
30
+ import "./chunk-7JY7VUXD.js";
31
31
  import "./chunk-KHDZHZMH.js";
32
- import "./chunk-IZ4AZS7H.js";
33
- import "./chunk-BWTL72PL.js";
34
- import "./chunk-HDLEY4YP.js";
32
+ import "./chunk-WN4MUF56.js";
33
+ import "./chunk-IH7NEHSU.js";
34
+ import "./chunk-V4TNZBAE.js";
35
35
  import "./chunk-TLRYABYP.js";
36
36
  import "./chunk-4RQIB5UZ.js";
37
- import "./chunk-ZRWAAQRQ.js";
37
+ import "./chunk-2CLNNA2H.js";
38
38
  import {
39
39
  writeStdoutLine
40
40
  } from "./chunk-Y6Z2O3WR.js";
@@ -42,7 +42,7 @@ import "./chunk-QYUE6W3T.js";
42
42
  import {
43
43
  SessionService,
44
44
  getGitBranch
45
- } from "./chunk-TTNY373R.js";
45
+ } from "./chunk-F7WNVVM4.js";
46
46
  import "./chunk-5P5XGNYH.js";
47
47
  import "./chunk-SKAZWEV5.js";
48
48
  import "./chunk-K5PGHDBN.js";
@@ -63,7 +63,7 @@ import "./chunk-NQKLOAVJ.js";
63
63
  import "./chunk-WMPVYQ4P.js";
64
64
  import "./chunk-TLWA7TPR.js";
65
65
  import "./chunk-QYNNN7BK.js";
66
- import "./chunk-7NGCGAMQ.js";
66
+ import "./chunk-DSZLW2GZ.js";
67
67
  import "./chunk-E6US47KI.js";
68
68
  import "./chunk-UWCTAVOD.js";
69
69
  import "./chunk-OFEVLU4C.js";
@@ -77,7 +77,7 @@ import "./chunk-AHNJGLFV.js";
77
77
  import "./chunk-22IFUCVR.js";
78
78
  import "./chunk-7LTB54MK.js";
79
79
  import "./chunk-SIUQ3YYX.js";
80
- import "./chunk-6AV55VFC.js";
80
+ import "./chunk-PIORL4OD.js";
81
81
  import "./chunk-NCFY7PWS.js";
82
82
  import "./chunk-IRJWHZWU.js";
83
83
  import "./chunk-SYCJMSIJ.js";
@@ -87,7 +87,7 @@ import "./chunk-5IFG2VC4.js";
87
87
  import "./chunk-64WXLC72.js";
88
88
  import "./chunk-H6EMK6QK.js";
89
89
  import "./chunk-22MNNNXE.js";
90
- import "./chunk-ONL3IM22.js";
90
+ import "./chunk-4P2SQFC6.js";
91
91
  import "./chunk-ZERZSAZL.js";
92
92
  import "./chunk-QN5NZ3UQ.js";
93
93
  import "./chunk-BR4QREVK.js";