exe-watcher 0.2.49 → 0.2.50

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 (2) hide show
  1. package/dist/cli.js +2 -1
  2. package/package.json +1 -1
package/dist/cli.js CHANGED
@@ -4011,6 +4011,7 @@ function renderStatusBar(projects) {
4011
4011
  // src/menubar-json.ts
4012
4012
  import { readdirSync, readFileSync as readFileSync2 } from "fs";
4013
4013
  import { join as join17, dirname as dirname3 } from "path";
4014
+ init_models();
4014
4015
  import { fileURLToPath } from "url";
4015
4016
  function getCliVersion() {
4016
4017
  try {
@@ -4103,7 +4104,7 @@ function buildTopActivities(categories) {
4103
4104
  }));
4104
4105
  }
4105
4106
  function buildTopModels(models) {
4106
- return models.filter((m) => m.name !== SYNTHETIC_MODEL_NAME).slice(0, TOP_MODELS_LIMIT).map((m) => ({ name: m.name, cost: m.cost, calls: m.calls }));
4107
+ return models.filter((m) => m.name !== SYNTHETIC_MODEL_NAME).slice(0, TOP_MODELS_LIMIT).map((m) => ({ name: getShortModelName(m.name), cost: m.cost, calls: m.calls }));
4107
4108
  }
4108
4109
  function buildOptimize(optimize) {
4109
4110
  if (!optimize || optimize.findings.length === 0) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "exe-watcher",
3
- "version": "0.2.49",
3
+ "version": "0.2.50",
4
4
  "description": "The owl watching your AI coding spend — cost, tokens, agents, and projects in your terminal and menu bar",
5
5
  "type": "module",
6
6
  "main": "./dist/cli.js",