rudel 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 +66 -0
- package/dist/cli.js +1 -1
- package/package.json +3 -2
package/README.md
ADDED
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
# rudel
|
|
2
|
+
|
|
3
|
+
CLI for uploading [Claude Code](https://docs.anthropic.com/en/docs/claude-code) session transcripts to [Rudel](https://app.rudel.ai) for analytics.
|
|
4
|
+
|
|
5
|
+
## Installation
|
|
6
|
+
|
|
7
|
+
```bash
|
|
8
|
+
npm install -g rudel
|
|
9
|
+
```
|
|
10
|
+
|
|
11
|
+
## Quick Start
|
|
12
|
+
|
|
13
|
+
```bash
|
|
14
|
+
# 1. Log in via your browser
|
|
15
|
+
rudel login
|
|
16
|
+
|
|
17
|
+
# 2. Enable automatic session uploads
|
|
18
|
+
rudel enable
|
|
19
|
+
|
|
20
|
+
# That's it! Your Claude Code sessions will now be uploaded automatically.
|
|
21
|
+
```
|
|
22
|
+
|
|
23
|
+
## Commands
|
|
24
|
+
|
|
25
|
+
### `rudel login`
|
|
26
|
+
|
|
27
|
+
Authenticate with Rudel. Opens your browser to [app.rudel.ai](https://app.rudel.ai) where you sign in, then the CLI receives a token automatically.
|
|
28
|
+
|
|
29
|
+
### `rudel enable`
|
|
30
|
+
|
|
31
|
+
Registers a [Claude Code hook](https://docs.anthropic.com/en/docs/claude-code/hooks) that automatically uploads your session transcript when a Claude Code session ends. This is the recommended way to use Rudel -- set it and forget it.
|
|
32
|
+
|
|
33
|
+
### `rudel disable`
|
|
34
|
+
|
|
35
|
+
Removes the auto-upload hook.
|
|
36
|
+
|
|
37
|
+
### `rudel upload <session>`
|
|
38
|
+
|
|
39
|
+
Manually upload a session transcript. Accepts a session ID or path to a `.jsonl` file.
|
|
40
|
+
|
|
41
|
+
```bash
|
|
42
|
+
# Upload by session ID
|
|
43
|
+
rudel upload abc123
|
|
44
|
+
|
|
45
|
+
# Upload a specific file
|
|
46
|
+
rudel upload ./path/to/session.jsonl
|
|
47
|
+
|
|
48
|
+
# Preview without uploading
|
|
49
|
+
rudel upload abc123 --dry-run
|
|
50
|
+
|
|
51
|
+
# Auto-classify the session
|
|
52
|
+
rudel upload abc123 --classify
|
|
53
|
+
```
|
|
54
|
+
|
|
55
|
+
### `rudel whoami`
|
|
56
|
+
|
|
57
|
+
Show the currently authenticated user.
|
|
58
|
+
|
|
59
|
+
### `rudel logout`
|
|
60
|
+
|
|
61
|
+
Clear stored credentials.
|
|
62
|
+
|
|
63
|
+
## Links
|
|
64
|
+
|
|
65
|
+
- **Web App**: [app.rudel.ai](https://app.rudel.ai)
|
|
66
|
+
- **Issues**: [GitHub Issues](https://github.com/KeKs0r/kinshasa/issues)
|
package/dist/cli.js
CHANGED
package/package.json
CHANGED