claude-pager 0.1.2 → 0.1.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/README.md +11 -14
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -6,21 +6,9 @@
|
|
|
6
6
|
|
|
7
7
|
Get paged on your phone when Claude Code needs input. Reply from Telegram or ntfy, and `claude-pager` types your response into the correct terminal.
|
|
8
8
|
|
|
9
|
-
|
|
9
|
+

|
|
10
10
|
|
|
11
|
-
|
|
12
|
-
┌───────────────┐ hook → HTTP ┌────────────────┐ Telegram / ntfy ┌─────────┐
|
|
13
|
-
│ Claude Code │ ─────────────► │ claude-pager │ ───────────────► │ Phone │
|
|
14
|
-
│ (N instances) │ │ daemon │ ◄─────────────── │ (reply) │
|
|
15
|
-
└───────────────┘ └───────┬────────┘ └─────────┘
|
|
16
|
-
│
|
|
17
|
-
tmux send-keys
|
|
18
|
-
│
|
|
19
|
-
▼
|
|
20
|
-
┌───────────────┐
|
|
21
|
-
│ Right terminal │
|
|
22
|
-
└───────────────┘
|
|
23
|
-
```
|
|
11
|
+
## How it works
|
|
24
12
|
|
|
25
13
|
1. Claude Code hooks fire when an instance needs user input
|
|
26
14
|
2. The hook enriches the event (tool name, last assistant message) and sends it to the daemon
|
|
@@ -28,6 +16,15 @@ Get paged on your phone when Claude Code needs input. Reply from Telegram or ntf
|
|
|
28
16
|
4. You respond — tap Allow/Deny, type a message, or send a voice note
|
|
29
17
|
5. The daemon matches the response to the right session and injects it via `tmux send-keys`
|
|
30
18
|
|
|
19
|
+
| Step | Screenshot |
|
|
20
|
+
|------|-----------|
|
|
21
|
+
| Claude Code asks for permission |  |
|
|
22
|
+
| Notification arrives on your phone |  |
|
|
23
|
+
| You reply from Telegram |  |
|
|
24
|
+
| Claude resumes automatically |  |
|
|
25
|
+
|
|
26
|
+
> See the full [demo video](docs/demo.mp4) (~50s).
|
|
27
|
+
|
|
31
28
|
## Features
|
|
32
29
|
|
|
33
30
|
- **Multi-session** — run N Claude Code instances in tmux, responses route to the correct pane
|