peekme 0.2.1 → 0.2.3
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/CHANGELOG.md +16 -0
- package/README.md +19 -4
- package/npm-shrinkwrap.json +2 -2
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,21 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.2.3 (2026-09-28)
|
|
4
|
+
|
|
5
|
+
- Option+P works on a Mac also over SSH and inside tmux. 0.2.2 found out from the environment
|
|
6
|
+
that the keyboard is a Mac's, and over SSH or in tmux it could not. Now `π` explains whenever
|
|
7
|
+
something is selected, and is typed as usual when nothing is.
|
|
8
|
+
- Alt+P arrives correctly when tmux sends keys in its extended format (`extended-keys`).
|
|
9
|
+
- Selecting only empty space no longer opens a box.
|
|
10
|
+
|
|
11
|
+
## 0.2.2 (2026-09-28)
|
|
12
|
+
|
|
13
|
+
- Option+P works on a Mac as it is. Mac terminals send Option+P as `π`, and peekme now takes
|
|
14
|
+
that as the shortcut, like Claude Code does. Before, you had to set Option to act as Meta in
|
|
15
|
+
the terminal. Also over SSH from Terminal or iTerm2.
|
|
16
|
+
- On macOS peekme finds the running Claude Code session exactly. Before, it took the newest
|
|
17
|
+
session in the directory, which is wrong when two run there.
|
|
18
|
+
|
|
3
19
|
## 0.2.1 (2026-09-28)
|
|
4
20
|
|
|
5
21
|
- You don't need Rust any more. peekme can be installed with npm (`npm i -g peekme`), with
|
package/README.md
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
# peekme
|
|
2
2
|
|
|
3
3
|
Peek me. Pick me. Select text in [Codex CLI](https://github.com/openai/codex) or
|
|
4
|
-
[Claude Code](https://github.com/anthropics/claude-code) output, press **Alt+P
|
|
4
|
+
[Claude Code](https://github.com/anthropics/claude-code) output, press **Alt+P** (**Option+P** on a Mac), and a short
|
|
5
5
|
explanation opens right next to that text, inside the terminal. The other lines move to make
|
|
6
6
|
room, like Peek in VS Code. Esc closes it and the screen is exactly as before.
|
|
7
7
|
|
|
@@ -10,7 +10,7 @@ room, like Peek in VS Code. Esc closes it and the screen is exactly as before.
|
|
|
10
10
|
The explanation comes from a small, fast model and it knows the conversation. If you select
|
|
11
11
|
"its split panes" in an answer that recommends Kitty, it tells you it is about Kitty.
|
|
12
12
|
|
|
13
|
-
Status: 0.2.
|
|
13
|
+
Status: 0.2.3. Tested on Linux with X11 and bash, with Codex 0.157 and Claude Code 2.1.283.
|
|
14
14
|
|
|
15
15
|
## Install
|
|
16
16
|
|
|
@@ -24,6 +24,9 @@ cargo install peekme # builds it with Rust
|
|
|
24
24
|
peekme install
|
|
25
25
|
```
|
|
26
26
|
|
|
27
|
+
npm 12 may say that it skipped an install script of peekme. That is fine: peekme then downloads
|
|
28
|
+
its binary the first time it runs.
|
|
29
|
+
|
|
27
30
|
Without npm, Homebrew or Rust, the script from the
|
|
28
31
|
[latest release](https://github.com/GregoryBolshakov/peekme/releases/latest) puts peekme in
|
|
29
32
|
`~/.local/bin`:
|
|
@@ -58,13 +61,25 @@ Alt+P. When the agent draws full screen (Codex since 0.157, Claude Code with
|
|
|
58
61
|
|
|
59
62
|
| Key | When | What it does |
|
|
60
63
|
|---|---|---|
|
|
61
|
-
| Alt+P | any time | explain the selected text |
|
|
64
|
+
| Alt+P (Mac: Option+P) | any time | explain the selected text |
|
|
62
65
|
| Alt+P again | box is open, same selection | explain again using the whole conversation |
|
|
63
66
|
| PgUp / PgDn, mouse wheel | box is open | scroll a long explanation |
|
|
64
67
|
| Esc | box is open | close the box |
|
|
65
68
|
| typing | box is open | goes to the agent's input line, the box stays open |
|
|
66
69
|
| Enter | box is open | sends your message and closes the box |
|
|
67
70
|
|
|
71
|
+
### On a Mac
|
|
72
|
+
|
|
73
|
+
Option+P works as it is, with no terminal setting, also over SSH and inside tmux. A Mac
|
|
74
|
+
terminal sends Option+P as the character `π`. When something is selected, peekme takes `π` as
|
|
75
|
+
the shortcut. When nothing is selected, `π` is typed as usual, so you never lose the letter. If
|
|
76
|
+
you type Greek, `π` stays a letter. If your terminal sends Option as Meta, Option+P works too.
|
|
77
|
+
|
|
78
|
+
When the agent draws full screen, peekme gets the selection from the agent. Otherwise (Claude
|
|
79
|
+
Code's classic screen) it reads the clipboard: iTerm2 copies a selection there by itself, in
|
|
80
|
+
Terminal press Cmd+C after you select. Over SSH only the agent's own selection can be read, so
|
|
81
|
+
use the full screen mode there (Codex uses it by default, Claude Code with `"tui": "fullscreen"`).
|
|
82
|
+
|
|
68
83
|
In Claude Code, Alt+P opens the model picker. With peekme it explains the selection instead.
|
|
69
84
|
`/model` still opens the model picker.
|
|
70
85
|
|
|
@@ -163,7 +178,7 @@ To use peekme with another program, run `peekme -- COMMAND`.
|
|
|
163
178
|
- In full screen mode selection works anywhere, also over SSH, because peekme reads the
|
|
164
179
|
selection from the agent. Otherwise peekme needs the terminal's selection, which it reads on
|
|
165
180
|
Linux with X11 only. On Wayland it works through XWayland, and on macOS it reads the
|
|
166
|
-
clipboard
|
|
181
|
+
clipboard (see [On a Mac](#on-a-mac)).
|
|
167
182
|
- Claude Code full screen: if `copyOnSelect` is off, Claude does not report the selection. Then
|
|
168
183
|
only a Shift+drag selection works (read from X11 PRIMARY).
|
|
169
184
|
- An explanation takes about 1 to 2 seconds to start arriving.
|
package/npm-shrinkwrap.json
CHANGED
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
"hasInstallScript": true,
|
|
20
20
|
"license": "MIT OR Apache-2.0",
|
|
21
21
|
"name": "peekme",
|
|
22
|
-
"version": "0.2.
|
|
22
|
+
"version": "0.2.3"
|
|
23
23
|
},
|
|
24
24
|
"node_modules/detect-libc": {
|
|
25
25
|
"engines": {
|
|
@@ -48,5 +48,5 @@
|
|
|
48
48
|
}
|
|
49
49
|
},
|
|
50
50
|
"requires": true,
|
|
51
|
-
"version": "0.2.
|
|
51
|
+
"version": "0.2.3"
|
|
52
52
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"artifactDownloadUrls": [
|
|
3
|
-
"https://github.com/GregoryBolshakov/peekme/releases/download/v0.2.
|
|
3
|
+
"https://github.com/GregoryBolshakov/peekme/releases/download/v0.2.3"
|
|
4
4
|
],
|
|
5
5
|
"author": "Gregory Bolshakov",
|
|
6
6
|
"bin": {
|
|
@@ -69,7 +69,7 @@
|
|
|
69
69
|
"zipExt": ".tar.xz"
|
|
70
70
|
}
|
|
71
71
|
},
|
|
72
|
-
"version": "0.2.
|
|
72
|
+
"version": "0.2.3",
|
|
73
73
|
"volta": {
|
|
74
74
|
"node": "18.14.1",
|
|
75
75
|
"npm": "9.5.0"
|