@k-leumas/queque-cli 0.3.8 → 0.3.9

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
@@ -1,25 +1,35 @@
1
- # QueQue - your inline AI terminal helper
1
+ # QueQue — copy-pasting shell commands is dead
2
2
 
3
- **Turn natural-language intent into a shell command — without leaving the terminal.**
3
+ **Before:** Google it → copy → paste → tweak → pray.
4
4
 
5
- Type your intent, hit `??`, pick a command. It lands in your buffer ready to run or edit. No browser, no prompt takeover, no clipboard gymnastics.
5
+ **Now:** Type your intent, hit `??`, pick a command — it lands in your buffer, ready to tweak and run.
6
6
 
7
- ![QueQue demo](assets/demo.gif)
8
7
 
9
- ## Install
8
+ #### Copy-pasting commands from the browser is dead.
10
9
 
11
- ```zsh
12
- brew install k-leumas/tap/queque
13
- ```
10
+ Welcome to the **future** –
11
+ `
12
+ brew install k-leumas/tap/queque
13
+ `
14
+
15
+
16
+ ![QueQue demo](assets/demo.gif)
14
17
 
15
18
  > [!NOTE]
16
- > The homebrew script automagically appends the shell-integration command and sources your `.zshrc`, which is shown during install.
19
+ > After install, run `qq init zsh >> ~/.zshrc && source ~/.zshrc` to wire up the `??` keybinding.
17
20
 
18
21
 
19
22
  <details>
20
- <summary>Install via npm or source</summary>
23
+ <summary>Install via npm</summary>
24
+
25
+ ## Requirements
21
26
 
22
- ```zsh
27
+ - zsh
28
+ - Node.js ≥ 20
29
+ - [jq](https://jqlang.github.io/jq/)
30
+
31
+
32
+ ```shell
23
33
  npm install -g @k-leumas/queque-cli
24
34
  qq init zsh >> ~/.zshrc && source ~/.zshrc
25
35
  ```
@@ -32,7 +42,7 @@ QueQue resolves `ANTHROPIC_API_KEY` in order:
32
42
 
33
43
  1. **Environment variable** — `export ANTHROPIC_API_KEY="sk-ant-..."` in your shell or `.zshrc`
34
44
  2. **`.env.local` file** — place a `.env.local` in your project directory (or any parent). QueQue searches upward from the current working directory:
35
- ```
45
+ ```shell
36
46
  ANTHROPIC_API_KEY=sk-ant-...
37
47
  ```
38
48
 
@@ -42,7 +52,7 @@ The `.env.local` option is useful for project-specific keys or keeping the key o
42
52
 
43
53
  Type anything before `??` and QueQue turns it into a shell command:
44
54
 
45
- ```
55
+ ```shell
46
56
  list files by size??
47
57
  find docker containers using port 3000??
48
58
  git undo last commit but keep changes??
@@ -50,45 +60,11 @@ git undo last commit but keep changes??
50
60
 
51
61
  A selection UI opens in-terminal. Pick a command with arrow keys or fuzzy search, press `Enter`, and the command lands in your buffer — ready to run or edit before you commit.
52
62
 
53
- Press `Esc` to cancel and return to what you were typing.
63
+ Press `Esc` to cancel and return to what you were typing, you can even tweak your intent and hit `??` again.
54
64
 
55
65
  ### Inside Zellij
56
66
 
57
67
  QueQue detects Zellij automatically and opens in a floating pane instead of inline. Same trigger, same result, better layout.
58
68
 
59
- ## Requirements
60
-
61
- - zsh
62
- - Node.js ≥ 20
63
- - [jq](https://jqlang.github.io/jq/)
64
- - `ANTHROPIC_API_KEY`
65
-
66
- ## Configuration
67
-
68
- | Variable | Default | Description |
69
- |---|---|---|
70
- | `ANTHROPIC_API_KEY` | — | Required. Your Anthropic API key. |
71
- | `QQ_MODEL` | `claude-haiku-4-5-20251001` | Override the Claude model. |
72
- | `QQ_DEBUG_LOG_FILE` | — | Path to write a debug log (e.g. `/tmp/qq.log`). |
73
69
 
74
- Both env vars and `.env.local` are supported for all variables.
75
-
76
- ## Contributing
77
-
78
- ```zsh
79
- git clone https://github.com/k-leumas/queque
80
- cd queque
81
- pnpm install
82
- pnpm dev # watch build
83
- pnpm test:run # run tests
84
- ```
85
-
86
- To wire up the dev build as the live `??` trigger:
87
-
88
- ```zsh
89
- export QQ_DEV_ROOT="$PWD"
90
- qq init zsh >> ~/.zshrc
91
- source ~/.zshrc
92
- ```
93
70
 
94
- Changes to `src/` rebuild automatically and the widget picks them up immediately.
package/dist/cli/main.js CHANGED
@@ -887,7 +887,7 @@ function CandidateSelect({
887
887
  /* @__PURE__ */ jsx5(SearchInput, { query }),
888
888
  content,
889
889
  /* @__PURE__ */ jsx5(ControlsLine, {}),
890
- process.env.QQ_DEV_ROOT != null && /* @__PURE__ */ jsx5(Box4, { justifyContent: "flex-end", children: /* @__PURE__ */ jsx5(Text4, { color: "yellow", children: `dev v${"0.3.8"} ${"3954a45"}` }) })
890
+ process.env.QQ_DEV_ROOT != null && /* @__PURE__ */ jsx5(Box4, { justifyContent: "flex-end", children: /* @__PURE__ */ jsx5(Text4, { color: "yellow", children: `dev v${"0.3.9"} ${"c770054"}` }) })
891
891
  ] });
892
892
  }
893
893
 
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "publishConfig": {
4
4
  "access": "public"
5
5
  },
6
- "version": "0.3.8",
6
+ "version": "0.3.9",
7
7
  "repository": {
8
8
  "type": "git",
9
9
  "url": "git+https://github.com/k-leumas/queque.git"