vibestats 1.0.1 → 1.0.3
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/dist/index.js +4 -3
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -493,6 +493,7 @@ function loadUsageStats(options) {
|
|
|
493
493
|
return null;
|
|
494
494
|
}
|
|
495
495
|
entries = filterByDateRange(entries, since, until);
|
|
496
|
+
entries = entries.filter((e) => !e.model.toLowerCase().includes("synthetic"));
|
|
496
497
|
if (entries.length === 0) {
|
|
497
498
|
return null;
|
|
498
499
|
}
|
|
@@ -1369,7 +1370,7 @@ var dayToNumber = {
|
|
|
1369
1370
|
Friday: 5,
|
|
1370
1371
|
Saturday: 6
|
|
1371
1372
|
};
|
|
1372
|
-
function encodeStatsToUrl(stats, baseUrl = "https://
|
|
1373
|
+
function encodeStatsToUrl(stats, baseUrl = "https://vibestats.wolfai.dev") {
|
|
1373
1374
|
const params = new URLSearchParams();
|
|
1374
1375
|
params.set("s", stats.sessions.toString());
|
|
1375
1376
|
params.set("t", formatCompactNumber(stats.totalTokens));
|
|
@@ -1566,7 +1567,7 @@ import { homedir as homedir4 } from "os";
|
|
|
1566
1567
|
import { join as join4 } from "path";
|
|
1567
1568
|
var CONFIG_PATH = join4(homedir4(), ".vibestats.json");
|
|
1568
1569
|
var DEFAULT_CONFIG = {
|
|
1569
|
-
baseUrl: "https://
|
|
1570
|
+
baseUrl: "https://vibestats.wolfai.dev",
|
|
1570
1571
|
outputFormat: "normal",
|
|
1571
1572
|
theme: {
|
|
1572
1573
|
enabled: true
|
|
@@ -1602,7 +1603,7 @@ function initConfig() {
|
|
|
1602
1603
|
return;
|
|
1603
1604
|
}
|
|
1604
1605
|
const defaultConfig = {
|
|
1605
|
-
baseUrl: "https://
|
|
1606
|
+
baseUrl: "https://vibestats.wolfai.dev",
|
|
1606
1607
|
outputFormat: "normal",
|
|
1607
1608
|
theme: {
|
|
1608
1609
|
enabled: true
|