@mmmbuto/qwen-code-termux 0.6.2-termux → 0.6.3-termux

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.
package/README.md CHANGED
@@ -24,7 +24,7 @@ pkg update && pkg upgrade -y
24
24
  pkg install nodejs-lts -y
25
25
  npm install -g @mmmbuto/qwen-code-termux
26
26
 
27
- qwen --version # expected: 0.6.2-termux
27
+ qwen --version # expected: 0.6.3-termux
28
28
  ```
29
29
 
30
30
  Build from source:
@@ -46,6 +46,33 @@ qwen
46
46
  /auth
47
47
  ```
48
48
 
49
+ ## Authentication
50
+
51
+ Qwen Code supports two authentication methods:
52
+
53
+ - **Qwen OAuth (recommended & free)**: sign in with your `qwen.ai` account in a browser.
54
+ - **OpenAI-compatible API**: use `OPENAI_API_KEY` (and optionally a custom base URL / model).
55
+
56
+ ### Qwen OAuth (recommended)
57
+
58
+ Start `qwen`, then run:
59
+
60
+ ```bash
61
+ /auth
62
+ ```
63
+
64
+ Choose **Qwen OAuth** and complete the browser flow. On Termux, the browser opens via `termux-open-url` with an Android fallback. Your credentials are cached locally.
65
+
66
+ ### OpenAI-compatible API (API key)
67
+
68
+ Environment variables (recommended for CI / headless environments):
69
+
70
+ ```bash
71
+ export OPENAI_API_KEY="your-api-key-here"
72
+ export OPENAI_BASE_URL="https://api.openai.com/v1" # optional
73
+ export OPENAI_MODEL="gpt-4o" # optional
74
+ ```
75
+
49
76
  ## Termux Optimizations
50
77
 
51
78
  - **OAuth:** browser launch via `termux-open-url` with Android fallback.
@@ -55,8 +82,68 @@ qwen
55
82
  ## Documentation & Fixes
56
83
 
57
84
  - **Test Suite**: [`QWEN_TEST_SUITE.md`](./QWEN_TEST_SUITE.md)
58
- - **Test Report**: [`QWEN_TEST_REPORT_v0.6.2.md`](./QWEN_TEST_REPORT_v0.6.2.md)
85
+ - **Test Report**: [`QWEN_TEST_REPORT_v0.6.3.md`](./QWEN_TEST_REPORT_v0.6.3.md)
59
86
  - **Patches**: [`docs/patches/README.md`](./docs/patches/README.md)
87
+ - **Termux Fixes**: [`docs/patches/TERMUX_FIXES.md`](./docs/patches/TERMUX_FIXES.md)
88
+
89
+ ## Usage
90
+
91
+ As an open-source terminal agent, you can use Qwen Code in four primary ways:
92
+
93
+ 1. Interactive mode (terminal UI)
94
+ 2. Headless mode (scripts, CI)
95
+ 3. IDE integration (VS Code, Zed)
96
+ 4. TypeScript SDK
97
+
98
+ #### Interactive mode
99
+
100
+ ```bash
101
+ cd your-project/
102
+ qwen
103
+ ```
104
+
105
+ Run `qwen` in your project folder to launch the interactive terminal UI. Use `@` to reference local files (for example `@src/main.ts`).
106
+
107
+ #### Headless mode
108
+
109
+ ```bash
110
+ cd your-project/
111
+ qwen -p "your question"
112
+ ```
113
+
114
+ Use `-p` to run Qwen Code without the interactive UI—ideal for scripts, automation, and CI/CD. Learn more: [Headless mode](https://qwenlm.github.io/qwen-code-docs/en/users/features/headless).
115
+
116
+ #### IDE integration
117
+
118
+ Use Qwen Code inside your editor (VS Code and Zed):
119
+
120
+ - [Use in VS Code](https://qwenlm.github.io/qwen-code-docs/en/users/integration-vscode/)
121
+ - [Use in Zed](https://qwenlm.github.io/qwen-code-docs/en/users/integration-zed/)
122
+
123
+ #### TypeScript SDK
124
+
125
+ Build on top of Qwen Code with the TypeScript SDK:
126
+
127
+ - [Use the Qwen Code SDK](./packages/sdk-typescript/README.md)
128
+
129
+ ## Commands & Shortcuts
130
+
131
+ ### Session Commands
132
+
133
+ - `/help` - Display available commands
134
+ - `/clear` - Clear conversation history
135
+ - `/compress` - Compress history to save tokens
136
+ - `/stats` - Show current session information
137
+ - `/bug` - Submit a bug report
138
+ - `/exit` or `/quit` - Exit Qwen Code
139
+
140
+ ### Keyboard Shortcuts
141
+
142
+ - `Ctrl+C` - Cancel current operation
143
+ - `Ctrl+D` - Exit (on empty line)
144
+ - `Up/Down` - Navigate command history
145
+
146
+ > Learn more about [Commands](https://qwenlm.github.io/qwen-code-docs/en/users/features/commands/)
60
147
 
61
148
  ## Updating
62
149
 
@@ -66,7 +153,29 @@ npm install -g @mmmbuto/qwen-code-termux@latest
66
153
 
67
154
  ### Versions
68
155
 
69
- - **latest / stable**: 0.6.2-termux
156
+ - **latest / stable**: 0.6.3-termux
157
+
158
+ ## Benchmark Results
159
+
160
+ ### Terminal-Bench Performance
161
+
162
+ | Agent | Model | Accuracy |
163
+ | --------- | ------------------ | -------- |
164
+ | Qwen Code | Qwen3-Coder-480A35 | 37.5% |
165
+ | Qwen Code | Qwen3-Coder-30BA3B | 31.3% |
166
+
167
+ ## Ecosystem
168
+
169
+ Looking for a graphical interface?
170
+
171
+ - [**AionUi**](https://github.com/iOfficeAI/AionUi) A modern GUI for command-line AI tools including Qwen Code
172
+ - [**Gemini CLI Desktop**](https://github.com/Piebald-AI/gemini-cli-desktop) A cross-platform desktop/web/mobile UI for Qwen Code
173
+
174
+ ## Troubleshooting
175
+
176
+ If you encounter issues, check the [troubleshooting guide](https://qwenlm.github.io/qwen-code-docs/en/users/support/troubleshooting/).
177
+
178
+ To report a bug from within the CLI, run `/bug` and include a short title and repro steps.
70
179
 
71
180
  ## License
72
181