exe-watcher 0.2.66 → 0.2.67
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 +6 -4
- package/dist/cli.js +483 -295
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
<a href="https://www.npmjs.com/package/exe-watcher"><img src="https://img.shields.io/npm/v/exe-watcher.svg" alt="npm version" /></a>
|
|
9
9
|
<a href="https://www.npmjs.com/package/exe-watcher"><img src="https://img.shields.io/npm/dt/exe-watcher.svg" alt="total downloads" /></a>
|
|
10
10
|
<a href="https://github.com/AskExe/exe-watcher/blob/main/LICENSE"><img src="https://img.shields.io/npm/l/exe-watcher.svg" alt="license" /></a>
|
|
11
|
-
<a href="https://github.com/AskExe/exe-watcher"><img src="https://img.shields.io/badge/node-%3E%3D22.
|
|
11
|
+
<a href="https://github.com/AskExe/exe-watcher"><img src="https://img.shields.io/badge/node-%3E%3D22.13.0-brightgreen.svg" alt="node version" /></a>
|
|
12
12
|
<a href="https://discord.gg/pJ2DMWvtAx"><img src="https://img.shields.io/badge/discord-join-5865F2?logo=discord&logoColor=white" alt="Discord" /></a>
|
|
13
13
|
</p>
|
|
14
14
|
|
|
@@ -22,14 +22,16 @@ Exe Watcher shows what your AI coding work costs, how long the agents run, and h
|
|
|
22
22
|
|
|
23
23
|
**macOS app:** Download the universal DMG from [Releases](https://github.com/AskExe/exe-watcher/releases/latest), drag **Watcher by EXE** into **Applications**, and open it. macOS 14+ on Apple Silicon or Intel. From 0.2.55, Node and the CLI are included.
|
|
24
24
|
|
|
25
|
-
**Terminal CLI** (Node 22.
|
|
25
|
+
**Terminal CLI** (Node 22.13+):
|
|
26
|
+
|
|
27
|
+
Node 23.0–23.3 require an upgrade to 23.4 or newer; SQLite is unavailable by default on those older versions.
|
|
26
28
|
|
|
27
29
|
```bash
|
|
28
30
|
npm install -g exe-watcher
|
|
29
31
|
exe-watcher report
|
|
30
32
|
```
|
|
31
33
|
|
|
32
|
-
Version 0.2.
|
|
34
|
+
Version 0.2.67 preserves recorded API-equivalent costs and keeps saved All totals available through refresh failures, restarts and day changes. AI time and the floating quota display are included. Terminal installs require Node 22.13 or newer; the Mac app includes its own compatible runtime. Download the matching app from [Releases](https://github.com/AskExe/exe-watcher/releases/latest) or [odd.community/watcher](https://odd.community/watcher). To run the current CLI from source:
|
|
33
35
|
|
|
34
36
|
```bash
|
|
35
37
|
git clone https://github.com/AskExe/exe-watcher.git
|
|
@@ -378,7 +380,7 @@ Starting points, not verdicts. A single experimental session with 60% cache hit
|
|
|
378
380
|
|
|
379
381
|
Reads session data directly from disk. No wrapper, no proxy, no API keys needed. Pricing refreshes every 24 hours from official OpenAI, Anthropic, MiniMax, Z.AI, Kimi and xAI pricing pages, supplemented by [LiteLLM](https://github.com/BerriAI/litellm). Official rates take precedence over reseller prices for unqualified model names. Offline use retains the last available catalog or the bundled rates verified October 1, 2026, with warnings when a refresh fails. Handles input, output, 5-minute and 1-hour cache writes, cache reads, long-context tiers, and recorded web search costs. Claude streaming records are reconciled by API message ID using cumulative token counters; final usage is counted once.
|
|
380
382
|
|
|
381
|
-
|
|
383
|
+
Counted usage keeps its recorded API-equivalent dollar amount. Pricing refreshes apply to newly counted usage and never trigger an automatic repricing of saved history. Committed daily totals remain cached; new dates and missing providers add usage on top. A small local ledger retains hashed usage identities and their dollar amounts independently of temporary parsing caches, so unchanged accounting stays fixed even after cache eviction or a session append. New or corrected accounting records are new data. JSON reports include `pricing` metadata with this recorded-rates basis, the current feed refresh timestamp and source URLs. These are estimates, not historical invoices. Recovered history with missing request details remains an estimate. Models without published token prices (including Codex Spark) retain their tokens and an explicit cost-exclusion warning; an unknown price is not a final zero-dollar value.
|
|
382
384
|
|
|
383
385
|
Switching Claude accounts does not filter usage: Watcher counts all retained sessions in the configured data directory and Claude Desktop account folders. Codex archived sessions also count. Add other Claude profile roots with `claudeConfigDirs` in `~/.config/exe-watcher/config.json`.
|
|
384
386
|
|