tokelytics 0.2.0 → 0.3.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.
Files changed (3) hide show
  1. package/README.md +9 -3
  2. package/bin/tokelytics.mjs +1255 -438
  3. package/package.json +17 -5
package/package.json CHANGED
@@ -1,22 +1,34 @@
1
1
  {
2
2
  "name": "tokelytics",
3
- "version": "0.2.0",
3
+ "version": "0.3.0",
4
4
  "description": "Tokelytics sync agent — streams local AI CLI usage logs (Claude Code, Codex) to your Tokelytics dashboard.",
5
5
  "license": "MIT",
6
6
  "type": "module",
7
7
  "bin": {
8
8
  "tokelytics": "./bin/tokelytics.mjs"
9
9
  },
10
- "files": ["bin", "README.md"],
11
- "keywords": ["claude", "codex", "tokens", "usage", "analytics", "cli", "ai", "cost"],
10
+ "files": [
11
+ "bin",
12
+ "README.md"
13
+ ],
14
+ "keywords": [
15
+ "claude",
16
+ "codex",
17
+ "tokens",
18
+ "usage",
19
+ "analytics",
20
+ "cli",
21
+ "ai",
22
+ "cost"
23
+ ],
12
24
  "homepage": "https://tokelytics.web.app",
13
25
  "engines": {
14
26
  "node": ">=20"
15
27
  },
16
28
  "scripts": {
17
- "build": "tsc -b",
29
+ "build": "tsc -b && npm run bundle",
18
30
  "bundle": "esbuild src/cli.ts --bundle --platform=node --format=esm --target=node20 --outfile=bin/tokelytics.mjs",
19
- "prepublishOnly": "tsc -b && npm run bundle",
31
+ "prepublishOnly": "npm run build",
20
32
  "start": "node ./bin/tokelytics.mjs"
21
33
  },
22
34
  "devDependencies": {