@tolmete/cli 0.2.9 → 0.2.10

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.
Files changed (2) hide show
  1. package/README.md +74 -0
  2. package/package.json +2 -2
package/README.md ADDED
@@ -0,0 +1,74 @@
1
+ # @tolmete/cli
2
+
3
+ Installs the Tolmete plugin into Claude Code or Codex CLI. The plugin sends AI usage statistics to Tolmete: which model was used, how many tokens, how many prompts, and on which branch of which repository. It never sends prompt text, responses or file contents.
4
+
5
+ ## Requirements
6
+
7
+ - Node.js 22 or newer
8
+ - Claude Code or Codex CLI, installed and on your PATH
9
+ - A Tolmete account in an organization that uses Tolmete
10
+
11
+ ## Install
12
+
13
+ Claude Code:
14
+
15
+ ```sh
16
+ npx @tolmete/cli claude
17
+ ```
18
+
19
+ Codex CLI:
20
+
21
+ ```sh
22
+ npx @tolmete/cli codex
23
+ ```
24
+
25
+ Each command installs the plugin and opens your browser for the sign-in. Choose your organization and select **Allow**.
26
+
27
+ Run the same command again to update.
28
+
29
+ ### After installing
30
+
31
+ - **Claude Code:** close it and open it again. The plugin starts only in a new session. New versions install by themselves after that, and the plugin tells you when auto-update is turned on.
32
+ - **Codex CLI:** open Codex, run `/hooks` and trust the Tolmete hooks. Nothing is collected until you do. Codex asks again after each update, so run the install command and trust the hooks once more.
33
+
34
+ ## Options
35
+
36
+ | Option | Effect |
37
+ | ------------ | ----------------------------------------------------------------------------------------------------------------------------------------------------------------- |
38
+ | `--no-login` | Install without opening the sign-in. Sign in later with `/tolmete:login` in Claude Code, or with the sign-in command shown in Tolmete under Settings, Connectors. |
39
+ | `--remove` | Remove the plugin from that tool. This does not sign you out. |
40
+
41
+ To sign out, run `/tolmete:logout` in Claude Code before you remove the plugin. Signing out also stops recording in Codex CLI and Cursor, because they share one sign-in.
42
+
43
+ ## What is sent
44
+
45
+ Only for work in repositories connected in Tolmete, and their forks:
46
+
47
+ - Tool, provider and model
48
+ - Tokens and number of prompts
49
+ - Session and time
50
+ - Repository and branch
51
+
52
+ ## What is never sent
53
+
54
+ - Prompt text and responses
55
+ - File contents and file paths
56
+ - Work in repositories that are not connected in Tolmete
57
+
58
+ ## Sign-in
59
+
60
+ The sign-in lasts 90 days, or ends after 30 days without use or after a password change. When it ends, recording pauses until you sign in again.
61
+
62
+ ## Uninstall
63
+
64
+ ```sh
65
+ npx @tolmete/cli claude --remove
66
+ ```
67
+
68
+ ```sh
69
+ npx @tolmete/cli codex --remove
70
+ ```
71
+
72
+ ## More
73
+
74
+ Tolmete guides and the connected clients are in Tolmete under Settings, Connectors.
package/package.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "name": "@tolmete/cli",
3
- "version": "0.2.9",
3
+ "version": "0.2.10",
4
4
  "description": "Installs the Tolmete plugin into Claude Code and Codex CLI. Never sends prompt text.",
5
- "license": "UNLICENSED",
5
+ "license": "MIT",
6
6
  "type": "module",
7
7
  "engines": {
8
8
  "node": ">=22"