tokentracker-cli 0.15.2 → 0.16.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 +3 -3
- package/README.zh-CN.md +3 -3
- package/dashboard/dist/assets/{Card-CTRPazyG.js → Card-D4lYhDyu.js} +1 -1
- package/dashboard/dist/assets/DashboardPage-DpKpZNFo.js +1 -0
- package/dashboard/dist/assets/{FadeIn-NAG8xImb.js → FadeIn-yTlYx7ct.js} +1 -1
- package/dashboard/dist/assets/{HeaderGithubStar-CwnC8N_4.js → HeaderGithubStar-EF6oEuWV.js} +1 -1
- package/dashboard/dist/assets/{IpCheckPage-Bqz8OFmD.js → IpCheckPage-BUdcwsiG.js} +1 -1
- package/dashboard/dist/assets/{LandingPage-Dz7yTDPI.js → LandingPage-c8GJYo2M.js} +1 -1
- package/dashboard/dist/assets/{LeaderboardPage-DX_tP5qi.js → LeaderboardPage-Bj_VxRzv.js} +1 -1
- package/dashboard/dist/assets/{LeaderboardProfilePage-BI4R73XX.js → LeaderboardProfilePage-BaPSajXn.js} +1 -1
- package/dashboard/dist/assets/{LimitsPage-D15dhSFp.js → LimitsPage-IXaDKbhd.js} +1 -1
- package/dashboard/dist/assets/{LoginPage-CSWfDVcM.js → LoginPage-hsXxJZiT.js} +1 -1
- package/dashboard/dist/assets/PopoverPopup-Bx-5Aj3z.js +12 -0
- package/dashboard/dist/assets/{ProviderIcon-CEhS41Kz.js → ProviderIcon-BN6vqCFK.js} +1 -1
- package/dashboard/dist/assets/{SettingsPage-CaPVlEzU.js → SettingsPage-C_Fu5jJW.js} +1 -1
- package/dashboard/dist/assets/SkillsPage-aksh8wJT.js +1 -0
- package/dashboard/dist/assets/{WidgetsPage-Cjad4Q71.js → WidgetsPage-Bn3mt1ye.js} +1 -1
- package/dashboard/dist/assets/{chevron-down-DGOV7_Uw.js → chevron-down-nR8bajLc.js} +1 -1
- package/dashboard/dist/assets/{download-DCjD_Xm9.js → download-DG1IfRBC.js} +1 -1
- package/dashboard/dist/assets/{leaderboard-columns-BK2-Jp3k.js → leaderboard-columns-BgANY_mN.js} +1 -1
- package/dashboard/dist/assets/main-CITVpx5B.css +1 -0
- package/dashboard/dist/assets/{main-DTrs3jUq.js → main-Dz3eXsti.js} +34 -20
- package/dashboard/dist/assets/{use-limits-display-prefs-rF66WvRU.js → use-limits-display-prefs-B-3ijvSG.js} +1 -1
- package/dashboard/dist/assets/{use-native-settings-DK8RelvO.js → use-native-settings-Dq7ZqvuB.js} +1 -1
- package/dashboard/dist/assets/{use-reduced-motion-BsYZLRkk.js → use-reduced-motion-58h8DZHu.js} +1 -1
- package/dashboard/dist/assets/{use-usage-limits-jLzoEy77.js → use-usage-limits-CdShRnbs.js} +1 -1
- package/dashboard/dist/index.html +2 -2
- package/dashboard/dist/share.html +2 -2
- package/package.json +1 -1
- package/src/lib/pricing/seed-snapshot.json +1 -1
- package/dashboard/dist/assets/DashboardPage-BJVPrOly.js +0 -1
- package/dashboard/dist/assets/NativeAuthCallbackPage-D6Stzae_.js +0 -1
- package/dashboard/dist/assets/PopoverPopup-DgTXWAeN.js +0 -12
- package/dashboard/dist/assets/SkillsPage-CGH_F5Y0.js +0 -1
- package/dashboard/dist/assets/main-Bnr_KT_S.css +0 -1
package/README.md
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
### Know exactly what you're spending on AI — across every CLI
|
|
8
8
|
|
|
9
|
-
Auto-collect token counts from **13 AI coding tools**, aggregate them locally, see real cost trends in a beautiful dashboard
|
|
9
|
+
Auto-collect token counts from **13 AI coding tools**, aggregate them locally, and see real cost trends in a beautiful dashboard. No cloud account, no API keys, no setup — just one command.
|
|
10
10
|
|
|
11
11
|
[](https://www.npmjs.com/package/tokentracker-cli)
|
|
12
12
|
[](https://www.npmjs.com/package/tokentracker-cli)
|
|
@@ -44,8 +44,8 @@ That's it. First run installs hooks, syncs your data, and opens the dashboard at
|
|
|
44
44
|
**What you get in 30 seconds:**
|
|
45
45
|
- 📊 A local dashboard at `localhost:7680` with usage trends, model breakdown, cost analysis
|
|
46
46
|
- 🔌 Auto-detected hooks for every supported AI tool you have installed
|
|
47
|
-
- 🧩 **Skills manager** — browse 250+ public skills, install once, sync to Claude · Codex · Gemini · OpenCode · Hermes
|
|
48
47
|
- 🏠 100% local — no account, no API keys, no network calls (except optional leaderboard)
|
|
48
|
+
- 🧩 *Optional:* a Skills tab that browses 250+ public skills and syncs them across Claude · Codex · Gemini · OpenCode · Hermes
|
|
49
49
|
|
|
50
50
|
> **Want a native macOS menu bar app?** [Download `TokenTrackerBar.dmg`](https://github.com/mm7894215/TokenTracker/releases/latest) → drag to Applications. Includes desktop widgets, menu bar status icon, and the same dashboard in a WKWebView.
|
|
51
51
|
|
|
@@ -79,7 +79,6 @@ Upgrade with `brew upgrade --cask mm7894215/tokentracker/tokentracker`. The tap
|
|
|
79
79
|
## ✨ Features
|
|
80
80
|
|
|
81
81
|
- 🔌 **16 AI tools out of the box** — Claude Code, Codex CLI, Cursor, Gemini CLI, Kiro, OpenCode, OpenClaw, Every Code, Hermes Agent, GitHub Copilot, Kimi Code, CodeBuddy, Grok Build, oh-my-pi, Kilo CLI, Kilo Code
|
|
82
|
-
- 🧩 **Skills manager** — browse 250+ public skills from `anthropics/skills`, `ComposioHQ/awesome-claude-skills`, `skills.sh` and any GitHub repo you add; install once and sync to Claude / Codex / Gemini / OpenCode / Hermes with per-target toggles; one-click Undo
|
|
83
82
|
- 🏠 **100% local** — Token data never leaves your machine. No account, no API keys.
|
|
84
83
|
- 🚀 **Zero config** — Hooks auto-install on first run. From zero to dashboard in 30 seconds.
|
|
85
84
|
- 📊 **Beautiful dashboard** — Usage trends, cost breakdowns by model, GitHub-style activity heatmap, project attribution
|
|
@@ -88,6 +87,7 @@ Upgrade with `brew upgrade --cask mm7894215/tokentracker/tokentracker`. The tap
|
|
|
88
87
|
- 📈 **Real-time rate limit tracking** — Claude / Codex / Cursor / Gemini / Kiro / Copilot / Antigravity quota windows with reset countdowns
|
|
89
88
|
- 💰 **Cost engine** — 2,200+ models priced via [LiteLLM](https://github.com/BerriAI/litellm/blob/main/model_prices_and_context_window.json) (auto-refreshed daily) + curated overrides for niche tools (Kiro, Cursor Composer, Kimi, CodeBuddy hy3); 24h disk cache + bundled offline snapshot mean accurate USD without an internet connection. Models without published vendor pricing (e.g. Tencent hy3-preview) are tracked by tokens but show $0 cost until the vendor publishes a rate.
|
|
90
89
|
- 🌐 **Optional leaderboard** — Compare with developers worldwide; drag-to-reorder columns to focus on the providers you care about (opt-in, sign in to participate)
|
|
90
|
+
- 🧩 **Optional Skills tab** — browse 250+ public skills from `anthropics/skills`, `ComposioHQ/awesome-claude-skills`, `skills.sh` and any GitHub repo you add; sync them across Claude / Codex / Gemini / OpenCode / Hermes with named targets and one-click Undo
|
|
91
91
|
- 🔒 **Privacy-first** — Only token counts and timestamps. Never prompts, responses, or file contents.
|
|
92
92
|
|
|
93
93
|
---
|
package/README.zh-CN.md
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
### 跨所有 CLI,看清你到底在 AI 上花了多少钱
|
|
8
8
|
|
|
9
|
-
自动采集 **13 款 AI 编码工具** 的 token 用量,全程本地聚合,用一套漂亮的 Dashboard
|
|
9
|
+
自动采集 **13 款 AI 编码工具** 的 token 用量,全程本地聚合,用一套漂亮的 Dashboard 看真实成本与趋势。不需要云账号、不需要 API Key、不需要任何配置 —— 一条命令搞定。
|
|
10
10
|
|
|
11
11
|
[](https://www.npmjs.com/package/tokentracker-cli)
|
|
12
12
|
[](https://www.npmjs.com/package/tokentracker-cli)
|
|
@@ -44,8 +44,8 @@ npx tokentracker-cli
|
|
|
44
44
|
**30 秒能看到什么:**
|
|
45
45
|
- 📊 本地 Dashboard(`localhost:7680`)—— 用量趋势、模型明细、成本分析
|
|
46
46
|
- 🔌 自动识别并挂接你电脑上所有已安装的 AI 工具
|
|
47
|
-
- 🧩 **Skills 管理器** —— 浏览 250+ 公开 skill,一键安装,同步到 Claude · Codex · Gemini · OpenCode · Hermes
|
|
48
47
|
- 🏠 100% 本地运行 —— 无账号、无 API Key、无网络请求(排行榜是可选的)
|
|
48
|
+
- 🧩 *可选:* Skills 面板——浏览 250+ 公开 skill,并在 Claude · Codex · Gemini · OpenCode · Hermes 之间同步
|
|
49
49
|
|
|
50
50
|
> **想要原生 macOS 菜单栏 App?** [下载 `TokenTrackerBar.dmg`](https://github.com/mm7894215/TokenTracker/releases/latest) → 拖入「应用程序」即可。包含桌面小组件、菜单栏状态图标,以及同一套 Dashboard(跑在 WKWebView 里)。
|
|
51
51
|
|
|
@@ -79,7 +79,6 @@ brew install mm7894215/tokentracker/tokentracker
|
|
|
79
79
|
## ✨ 特性
|
|
80
80
|
|
|
81
81
|
- 🔌 **开箱即用支持 16 款 AI 工具** —— Claude Code、Codex CLI、Cursor、Gemini CLI、Kiro、OpenCode、OpenClaw、Every Code、Hermes Agent、GitHub Copilot、Kimi Code、CodeBuddy、Grok Build、oh-my-pi、Kilo CLI、Kilo Code
|
|
82
|
-
- 🧩 **Skills 管理器** —— 浏览 250+ 公开 skill(来自 `anthropics/skills`、`ComposioHQ/awesome-claude-skills`、`skills.sh` 以及你自己添加的任何 GitHub 仓库),一次安装,同步到 Claude / Codex / Gemini / OpenCode / Hermes,每个 Agent 单独开关,一键撤销
|
|
83
82
|
- 🏠 **100% 本地** —— Token 数据绝不离开你的机器。无账号、无 API Key
|
|
84
83
|
- 🚀 **零配置** —— 首次运行自动安装所有 hook。30 秒从零到 Dashboard
|
|
85
84
|
- 📊 **漂亮的 Dashboard** —— 用量趋势、按模型的成本分解、GitHub 风格活跃度热力图、按项目归因
|
|
@@ -88,6 +87,7 @@ brew install mm7894215/tokentracker/tokentracker
|
|
|
88
87
|
- 📈 **实时限额追踪** —— Claude / Codex / Cursor / Gemini / Kiro / Copilot / Antigravity 的配额窗口与重置倒计时
|
|
89
88
|
- 💰 **成本引擎** —— 内置 70+ 模型定价表,精确到 USD
|
|
90
89
|
- 🌐 **可选排行榜** —— 与全球开发者对比;列可拖拽排序,聚焦你关心的 provider(需登录参与)
|
|
90
|
+
- 🧩 **可选 Skills 面板** —— 浏览 250+ 公开 skill(来自 `anthropics/skills`、`ComposioHQ/awesome-claude-skills`、`skills.sh` 以及你自己添加的任何 GitHub 仓库),在 Claude / Codex / Gemini / OpenCode / Hermes 之间同步,目标 Agent 文字可见、可单独管理、一键撤销
|
|
91
91
|
- 🔒 **隐私优先** —— 只记录 token 数量与时间戳。**绝不**收集 prompt、回复、文件内容
|
|
92
92
|
|
|
93
93
|
---
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{D as r}from"./main-
|
|
1
|
+
import{D as r}from"./main-Dz3eXsti.js";function t({children:i,title:a,subtitle:o,className:s="",bodyClassName:d=""}){return r.jsxs("div",{className:`rounded-xl border border-oai-gray-200 dark:border-oai-gray-800 bg-white dark:bg-oai-gray-900 transition-colors duration-200 ${s}`,children:[(a||o)&&r.jsxs("div",{className:"px-5 py-4 border-b border-oai-gray-200 dark:border-oai-gray-800 transition-colors duration-200",children:[a&&r.jsx("h3",{className:"text-sm font-medium text-oai-gray-500 dark:text-oai-gray-300 uppercase tracking-wide transition-colors duration-200",children:a}),o&&r.jsx("p",{className:"text-sm text-oai-gray-500 dark:text-oai-gray-300 mt-1 transition-colors duration-200",children:o})]}),r.jsx("div",{className:`p-5 ${d}`,children:i})]})}export{t as C};
|