@hongymagic/q 2026.307.0 → 2026.307.1-next.011f1fb
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 +9 -1
- package/dist/q.js +1061 -292
- package/package.json +3 -1
package/README.md
CHANGED
|
@@ -6,6 +6,8 @@
|
|
|
6
6
|
|
|
7
7
|
A fast, minimal CLI for getting AI answers directly in your terminal.
|
|
8
8
|
|
|
9
|
+
When running in an interactive terminal, `q` shows a small ASCII loading indicator on stderr while it waits for the first response text.
|
|
10
|
+
|
|
9
11
|
## Installation
|
|
10
12
|
|
|
11
13
|
```bash
|
|
@@ -151,9 +153,15 @@ export ANTHROPIC_API_KEY="your-key-here"
|
|
|
151
153
|
|
|
152
154
|
Run `q config init` to create a default configuration file.
|
|
153
155
|
|
|
156
|
+
**Failure logs:**
|
|
157
|
+
|
|
158
|
+
Most non-usage failures print a short error plus `Full log: <path>` on stderr. Logs are written to your platform log directory, for example `~/.local/state/q/errors` on Linux.
|
|
159
|
+
|
|
160
|
+
In an interactive terminal, query failures also offer quick recovery options: press `r` to retry, `Enter` to print the full log, or `q`/`Esc` to exit.
|
|
161
|
+
|
|
154
162
|
**Debug mode:**
|
|
155
163
|
|
|
156
|
-
Use `--debug` to
|
|
164
|
+
Use `--debug` to keep detailed diagnostics on stderr while still writing the full failure log:
|
|
157
165
|
|
|
158
166
|
```bash
|
|
159
167
|
q --debug "how do I list docker containers"
|