@tokenboard/cli 0.0.1 → 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 +21 -4
- package/dist/cli.js +2395 -0
- package/dist/cli.js.map +1 -0
- package/package.json +28 -10
- package/bin/tokenboard.js +0 -8
package/package.json
CHANGED
|
@@ -1,13 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tokenboard/cli",
|
|
3
|
-
"version": "0.0
|
|
4
|
-
"description": "A leaderboard for your agentic-coding token usage — race your friends, not strangers.
|
|
5
|
-
"
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
"files": [
|
|
9
|
-
"bin"
|
|
10
|
-
],
|
|
3
|
+
"version": "0.1.0",
|
|
4
|
+
"description": "A leaderboard for your agentic-coding token usage — race your friends, not strangers.",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"bin": { "tokenboard": "dist/cli.js" },
|
|
7
|
+
"files": ["dist"],
|
|
11
8
|
"keywords": [
|
|
12
9
|
"tokenboard",
|
|
13
10
|
"leaderboard",
|
|
@@ -19,7 +16,28 @@
|
|
|
19
16
|
],
|
|
20
17
|
"license": "MIT",
|
|
21
18
|
"homepage": "https://tokenboard.sh",
|
|
22
|
-
"engines": {
|
|
23
|
-
|
|
19
|
+
"engines": { "node": ">=18" },
|
|
20
|
+
"scripts": {
|
|
21
|
+
"build": "tsup",
|
|
22
|
+
"typecheck": "tsc --noEmit",
|
|
23
|
+
"test": "node --import tsx --test \"test/**/*.test.ts\"",
|
|
24
|
+
"vendor-prices": "node scripts/vendor-litellm-prices.mjs",
|
|
25
|
+
"assert-self-contained": "node scripts/assert-self-contained.mjs",
|
|
26
|
+
"prepublishOnly": "pnpm run vendor-prices && pnpm run build && pnpm run assert-self-contained"
|
|
27
|
+
},
|
|
28
|
+
"dependencies": {
|
|
29
|
+
"citty": "0.2.2",
|
|
30
|
+
"cli-truncate": "4.0.0",
|
|
31
|
+
"picocolors": "1.1.1",
|
|
32
|
+
"string-width": "7.2.0",
|
|
33
|
+
"zod": "4.4.3"
|
|
34
|
+
},
|
|
35
|
+
"devDependencies": {
|
|
36
|
+
"@tokenboard/contracts": "workspace:*",
|
|
37
|
+
"@tokenboard/cost": "workspace:*",
|
|
38
|
+
"@types/node": "22.10.5",
|
|
39
|
+
"tsup": "8.5.1",
|
|
40
|
+
"tsx": "4.20.6",
|
|
41
|
+
"typescript": "6.0.3"
|
|
24
42
|
}
|
|
25
43
|
}
|
package/bin/tokenboard.js
DELETED
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
#!/usr/bin/env node
|
|
2
|
-
// tokenboard — placeholder. The real CLI is in active development.
|
|
3
|
-
// See https://tokenboard.sh
|
|
4
|
-
console.log(
|
|
5
|
-
"\n tokenboard — a leaderboard for your agentic-coding token usage.\n" +
|
|
6
|
-
" This CLI is still in active development. Star the project and\n" +
|
|
7
|
-
" follow along at https://tokenboard.sh\n"
|
|
8
|
-
);
|