tokenlenses 0.1.0
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 +18 -0
- package/dist/index.js +58096 -0
- package/dist/schema.sql +169 -0
- package/package.json +26 -0
package/README.md
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
# tokenlenses
|
|
2
|
+
|
|
3
|
+
TokenLens explains where AI coding tokens were spent. The CLI installs local Claude Code and Codex hooks, runs the local collector, imports existing usage, and links the machine to a TokenLens account.
|
|
4
|
+
|
|
5
|
+
```sh
|
|
6
|
+
npx tokenlenses install all --link <code>
|
|
7
|
+
```
|
|
8
|
+
|
|
9
|
+
Useful commands:
|
|
10
|
+
|
|
11
|
+
```sh
|
|
12
|
+
npx tokenlenses collector
|
|
13
|
+
npx tokenlenses status
|
|
14
|
+
npx tokenlenses detect
|
|
15
|
+
npx tokenlenses import --provider all
|
|
16
|
+
```
|
|
17
|
+
|
|
18
|
+
Raw prompts, code, tool output, terminal output, and raw adapter events stay in the local TokenLens SQLite database. Optional cloud sync sends derived summaries only.
|