ccusage 11.0.1 → 11.0.2

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.
@@ -1,5 +1,2 @@
1
- //#region node_modules/xsschema/dist/arktype-C-GObzDh.js
2
1
  const getToJsonSchemaFn = async () => (schema) => schema.toJsonSchema();
3
-
4
- //#endregion
5
- export { getToJsonSchemaFn };
2
+ export { getToJsonSchemaFn };
@@ -1,4 +1,3 @@
1
- //#region src/calculate-cost.ts
2
1
  /**
3
2
  * Calculates total token usage and cost across multiple usage data entries
4
3
  * @param data - Array of daily, monthly, or session usage data
@@ -42,6 +41,4 @@ function createTotalsObject(totals) {
42
41
  totalCost: totals.totalCost
43
42
  };
44
43
  }
45
-
46
- //#endregion
47
- export { calculateTotals, createTotalsObject, getTotalTokens };
44
+ export { calculateTotals, createTotalsObject, getTotalTokens };
@@ -1,3 +1,2 @@
1
1
  import { calculateTotals, createTotalsObject, getTotalTokens } from "./calculate-cost-D3IraeGW.js";
2
-
3
- export { calculateTotals, createTotalsObject, getTotalTokens };
2
+ export { calculateTotals, createTotalsObject, getTotalTokens };
@@ -1,4 +1,3 @@
1
- //#region node_modules/zod/dist/esm/v4/core/util.js
2
1
  function getEnumValues(entries) {
3
2
  const numericValues = Object.values(entries).filter((v) => typeof v === "number");
4
3
  const values = Object.entries(entries).filter(([k, _]) => numericValues.indexOf(+k) === -1).map(([_, v]) => v);
@@ -33,9 +32,6 @@ const NUMBER_FORMAT_RANGES = {
33
32
  float32: [-34028234663852886e22, 34028234663852886e22],
34
33
  float64: [-Number.MAX_VALUE, Number.MAX_VALUE]
35
34
  };
36
-
37
- //#endregion
38
- //#region node_modules/zod/dist/esm/v4/core/registries.js
39
35
  const $output = Symbol("ZodOutput");
40
36
  const $input = Symbol("ZodInput");
41
37
  var $ZodRegistry = class {
@@ -76,9 +72,6 @@ function registry() {
76
72
  return new $ZodRegistry();
77
73
  }
78
74
  const globalRegistry = /* @__PURE__ */ registry();
79
-
80
- //#endregion
81
- //#region node_modules/zod/dist/esm/v4/core/to-json-schema.js
82
75
  var JSONSchemaGenerator = class {
83
76
  constructor(params) {
84
77
  this.counter = 0;
@@ -693,6 +686,4 @@ function isTransforming(_schema, _ctx) {
693
686
  }
694
687
  throw new Error(`Unknown schema type: ${def.type}`);
695
688
  }
696
-
697
- //#endregion
698
- export { toJSONSchema };
689
+ export { toJSONSchema };
@@ -1,14 +1,12 @@
1
- import { PricingFetcher, __commonJS, __require, __toESM, require_usingCtx } from "./pricing-fetcher-BtW4MVG7.js";
1
+ import { PricingFetcher, __commonJSMin, __require, __toESM, require_usingCtx } from "./pricing-fetcher-DDs53oR8.js";
2
2
  import { array, number, object, optional, pipe, regex, safeParse, string } from "./dist-DCvt9hEv.js";
3
- import { logger } from "./logger-E_Utl_fr.js";
3
+ import { logger } from "./logger-DPEwxrOW.js";
4
4
  import a, { readFile } from "node:fs/promises";
5
5
  import F, { homedir } from "node:os";
6
6
  import path from "node:path";
7
7
  import process$1 from "node:process";
8
8
  import b from "node:fs";
9
9
  import path$1, { posix } from "path";
10
-
11
- //#region node_modules/@jsr/core__unknownutil/is/string.js
12
10
  /**
13
11
  * Return `true` if the type of `x` is `string`.
14
12
  *
@@ -23,9 +21,6 @@ import path$1, { posix } from "path";
23
21
  */ function isString(x) {
24
22
  return typeof x === "string";
25
23
  }
26
-
27
- //#endregion
28
- //#region node_modules/@jsr/core__unknownutil/is/record.js
29
24
  /**
30
25
  * Return `true` if the type of `x` satisfies `Record<PropertyKey, unknown>`.
31
26
  *
@@ -48,9 +43,6 @@ import path$1, { posix } from "path";
48
43
  */ function isRecord(x) {
49
44
  return x != null && !Array.isArray(x) && typeof x === "object";
50
45
  }
51
-
52
- //#endregion
53
- //#region node_modules/@jsr/core__unknownutil/_inspect.js
54
46
  const defaultThreshold = 20;
55
47
  /**
56
48
  * Inspect a value
@@ -87,9 +79,6 @@ function indent(level, text) {
87
79
  const prefix = " ".repeat(level);
88
80
  return text.split("\n").map((line) => `${prefix}${line}`).join("\n");
89
81
  }
90
-
91
- //#endregion
92
- //#region node_modules/@jsr/core__unknownutil/_funcutil.js
93
82
  /**
94
83
  * Rewrite the function name.
95
84
  */ function rewriteName(fn, name, ...args) {
@@ -100,18 +89,12 @@ function indent(level, text) {
100
89
  return cachedName;
101
90
  } } });
102
91
  }
103
-
104
- //#endregion
105
- //#region node_modules/@jsr/core__unknownutil/_annotation.js
106
92
  function annotate(fn, name, value) {
107
93
  return Object.defineProperties(fn, { [name]: { value } });
108
94
  }
109
95
  function hasAnnotation(fn, name) {
110
96
  return !!fn[name];
111
97
  }
112
-
113
- //#endregion
114
- //#region node_modules/@jsr/core__unknownutil/is/object_of.js
115
98
  /**
116
99
  * Return a type predicate function that returns `true` if the type of `x` is `ObjectOf<T>`.
117
100
  *
@@ -153,9 +136,6 @@ function isObject$1(x) {
153
136
  if (Array.isArray(x)) return false;
154
137
  return true;
155
138
  }
156
-
157
- //#endregion
158
- //#region node_modules/@jsr/core__unknownutil/as/optional.js
159
139
  /**
160
140
  * Annotate the given predicate function as optional.
161
141
  *
@@ -184,9 +164,6 @@ function isObject$1(x) {
184
164
  if (hasAnnotation(pred, "optional")) return pred;
185
165
  return rewriteName(annotate((x) => x === void 0 || pred(x), "optional", pred), "asOptional", pred);
186
166
  }
187
-
188
- //#endregion
189
- //#region node_modules/@core/errorutil/error_object.js
190
167
  /**
191
168
  * Check if a value is an error object
192
169
  */ const isErrorObject = isObjectOf({
@@ -196,9 +173,6 @@ function isObject$1(x) {
196
173
  stack: asOptional(isString),
197
174
  attributes: isRecord
198
175
  });
199
-
200
- //#endregion
201
- //#region node_modules/@core/errorutil/unreachable.js
202
176
  /**
203
177
  * Error indicating that this part is unreachable.
204
178
  */ var UnreachableError = class UnreachableError extends Error {
@@ -262,9 +236,6 @@ function isObject$1(x) {
262
236
  */ function unreachable(...args) {
263
237
  throw new UnreachableError(args);
264
238
  }
265
-
266
- //#endregion
267
- //#region node_modules/es-toolkit/dist/array/groupBy.mjs
268
239
  function groupBy(arr, getKeyFromItem) {
269
240
  const result = {};
270
241
  for (let i = 0; i < arr.length; i++) {
@@ -275,9 +246,6 @@ function groupBy(arr, getKeyFromItem) {
275
246
  }
276
247
  return result;
277
248
  }
278
-
279
- //#endregion
280
- //#region node_modules/fast-sort/dist/sort.mjs
281
249
  var castComparer = function(comparer) {
282
250
  return function(a$1, b$1, order) {
283
251
  return comparer(a$1, b$1, order) * order;
@@ -376,9 +344,6 @@ var inPlaceSort = createNewSortInstance({
376
344
  comparer: defaultComparer,
377
345
  inPlaceSorting: true
378
346
  });
379
-
380
- //#endregion
381
- //#region node_modules/fs-fixture/dist/index.mjs
382
347
  var d = Object.defineProperty;
383
348
  var n = (s, t) => d(s, "name", {
384
349
  value: t,
@@ -502,9 +467,6 @@ const w = n((s, t, r) => {
502
467
  }
503
468
  return new P(i);
504
469
  }, "createFixture");
505
-
506
- //#endregion
507
- //#region node_modules/path-type/index.js
508
470
  async function isType(fsStatType, statsMethodName, filePath) {
509
471
  if (typeof filePath !== "string") throw new TypeError(`Expected a string, got ${typeof filePath}`);
510
472
  try {
@@ -530,10 +492,7 @@ const isSymlink = isType.bind(void 0, "lstat", "isSymbolicLink");
530
492
  const isFileSync = isTypeSync.bind(void 0, "statSync", "isFile");
531
493
  const isDirectorySync = isTypeSync.bind(void 0, "statSync", "isDirectory");
532
494
  const isSymlinkSync = isTypeSync.bind(void 0, "lstatSync", "isSymbolicLink");
533
-
534
- //#endregion
535
- //#region node_modules/fdir/dist/utils.js
536
- var require_utils$1 = __commonJS({ "node_modules/fdir/dist/utils.js"(exports) {
495
+ var require_utils$1 = __commonJSMin((exports) => {
537
496
  Object.defineProperty(exports, "__esModule", { value: true });
538
497
  exports.normalizePath = exports.isRootDirectory = exports.convertSlashes = exports.cleanPath = void 0;
539
498
  const path_1$4 = __require("path");
@@ -563,11 +522,8 @@ var require_utils$1 = __commonJS({ "node_modules/fdir/dist/utils.js"(exports) {
563
522
  return convertSlashes(needsSeperator ? path$2 + pathSeparator : path$2, pathSeparator);
564
523
  }
565
524
  exports.normalizePath = normalizePath;
566
- } });
567
-
568
- //#endregion
569
- //#region node_modules/fdir/dist/api/functions/join-path.js
570
- var require_join_path = __commonJS({ "node_modules/fdir/dist/api/functions/join-path.js"(exports) {
525
+ });
526
+ var require_join_path = __commonJSMin((exports) => {
571
527
  Object.defineProperty(exports, "__esModule", { value: true });
572
528
  exports.build = exports.joinDirectoryPath = exports.joinPathWithBasePath = void 0;
573
529
  const path_1$3 = __require("path");
@@ -595,11 +551,8 @@ var require_join_path = __commonJS({ "node_modules/fdir/dist/api/functions/join-
595
551
  return relativePaths && root ? joinPathWithRelativePath(root, options) : includeBasePath ? joinPathWithBasePath : joinPath$1;
596
552
  }
597
553
  exports.build = build$7;
598
- } });
599
-
600
- //#endregion
601
- //#region node_modules/fdir/dist/api/functions/push-directory.js
602
- var require_push_directory = __commonJS({ "node_modules/fdir/dist/api/functions/push-directory.js"(exports) {
554
+ });
555
+ var require_push_directory = __commonJSMin((exports) => {
603
556
  Object.defineProperty(exports, "__esModule", { value: true });
604
557
  exports.build = void 0;
605
558
  function pushDirectoryWithRelativePath(root) {
@@ -628,11 +581,8 @@ var require_push_directory = __commonJS({ "node_modules/fdir/dist/api/functions/
628
581
  return filters && filters.length ? pushDirectoryFilter : pushDirectory$1;
629
582
  }
630
583
  exports.build = build$6;
631
- } });
632
-
633
- //#endregion
634
- //#region node_modules/fdir/dist/api/functions/push-file.js
635
- var require_push_file = __commonJS({ "node_modules/fdir/dist/api/functions/push-file.js"(exports) {
584
+ });
585
+ var require_push_file = __commonJSMin((exports) => {
636
586
  Object.defineProperty(exports, "__esModule", { value: true });
637
587
  exports.build = void 0;
638
588
  const pushFileFilterAndCount = (filename, _paths, counts, filters) => {
@@ -656,11 +606,8 @@ var require_push_file = __commonJS({ "node_modules/fdir/dist/api/functions/push-
656
606
  else return pushFile$1;
657
607
  }
658
608
  exports.build = build$5;
659
- } });
660
-
661
- //#endregion
662
- //#region node_modules/fdir/dist/api/functions/get-array.js
663
- var require_get_array = __commonJS({ "node_modules/fdir/dist/api/functions/get-array.js"(exports) {
609
+ });
610
+ var require_get_array = __commonJSMin((exports) => {
664
611
  Object.defineProperty(exports, "__esModule", { value: true });
665
612
  exports.build = void 0;
666
613
  const getArray$1 = (paths) => {
@@ -673,11 +620,8 @@ var require_get_array = __commonJS({ "node_modules/fdir/dist/api/functions/get-a
673
620
  return options.group ? getArrayGroup : getArray$1;
674
621
  }
675
622
  exports.build = build$4;
676
- } });
677
-
678
- //#endregion
679
- //#region node_modules/fdir/dist/api/functions/group-files.js
680
- var require_group_files = __commonJS({ "node_modules/fdir/dist/api/functions/group-files.js"(exports) {
623
+ });
624
+ var require_group_files = __commonJSMin((exports) => {
681
625
  Object.defineProperty(exports, "__esModule", { value: true });
682
626
  exports.build = void 0;
683
627
  const groupFiles$1 = (groups, directory, files) => {
@@ -692,12 +636,9 @@ var require_group_files = __commonJS({ "node_modules/fdir/dist/api/functions/gro
692
636
  return options.group ? groupFiles$1 : empty;
693
637
  }
694
638
  exports.build = build$3;
695
- } });
696
-
697
- //#endregion
698
- //#region node_modules/fdir/dist/api/functions/resolve-symlink.js
699
- var require_resolve_symlink = __commonJS({ "node_modules/fdir/dist/api/functions/resolve-symlink.js"(exports) {
700
- var __importDefault$1 = void 0 && (void 0).__importDefault || function(mod) {
639
+ });
640
+ var require_resolve_symlink = __commonJSMin((exports) => {
641
+ var __importDefault$1 = function(mod) {
701
642
  return mod && mod.__esModule ? mod : { "default": mod };
702
643
  };
703
644
  Object.defineProperty(exports, "__esModule", { value: true });
@@ -750,11 +691,8 @@ var require_resolve_symlink = __commonJS({ "node_modules/fdir/dist/api/functions
750
691
  function isRecursiveUsingRealPaths(resolved, state) {
751
692
  return state.visited.includes(resolved + state.options.pathSeparator);
752
693
  }
753
- } });
754
-
755
- //#endregion
756
- //#region node_modules/fdir/dist/api/functions/invoke-callback.js
757
- var require_invoke_callback = __commonJS({ "node_modules/fdir/dist/api/functions/invoke-callback.js"(exports) {
694
+ });
695
+ var require_invoke_callback = __commonJSMin((exports) => {
758
696
  Object.defineProperty(exports, "__esModule", { value: true });
759
697
  exports.build = void 0;
760
698
  const onlyCountsSync = (state) => {
@@ -797,12 +735,9 @@ var require_invoke_callback = __commonJS({ "node_modules/fdir/dist/api/functions
797
735
  else return isSynchronous ? defaultSync : defaultAsync;
798
736
  }
799
737
  exports.build = build$1;
800
- } });
801
-
802
- //#endregion
803
- //#region node_modules/fdir/dist/api/functions/walk-directory.js
804
- var require_walk_directory = __commonJS({ "node_modules/fdir/dist/api/functions/walk-directory.js"(exports) {
805
- var __importDefault = void 0 && (void 0).__importDefault || function(mod) {
738
+ });
739
+ var require_walk_directory = __commonJSMin((exports) => {
740
+ var __importDefault = function(mod) {
806
741
  return mod && mod.__esModule ? mod : { "default": mod };
807
742
  };
808
743
  Object.defineProperty(exports, "__esModule", { value: true });
@@ -835,11 +770,8 @@ var require_walk_directory = __commonJS({ "node_modules/fdir/dist/api/functions/
835
770
  return isSynchronous ? walkSync : walkAsync;
836
771
  }
837
772
  exports.build = build;
838
- } });
839
-
840
- //#endregion
841
- //#region node_modules/fdir/dist/api/queue.js
842
- var require_queue = __commonJS({ "node_modules/fdir/dist/api/queue.js"(exports) {
773
+ });
774
+ var require_queue = __commonJSMin((exports) => {
843
775
  Object.defineProperty(exports, "__esModule", { value: true });
844
776
  exports.Queue = void 0;
845
777
  /**
@@ -868,11 +800,8 @@ var require_queue = __commonJS({ "node_modules/fdir/dist/api/queue.js"(exports)
868
800
  }
869
801
  };
870
802
  exports.Queue = Queue;
871
- } });
872
-
873
- //#endregion
874
- //#region node_modules/fdir/dist/api/counter.js
875
- var require_counter = __commonJS({ "node_modules/fdir/dist/api/counter.js"(exports) {
803
+ });
804
+ var require_counter = __commonJSMin((exports) => {
876
805
  Object.defineProperty(exports, "__esModule", { value: true });
877
806
  exports.Counter = void 0;
878
807
  var Counter = class {
@@ -899,12 +828,9 @@ var require_counter = __commonJS({ "node_modules/fdir/dist/api/counter.js"(expor
899
828
  }
900
829
  };
901
830
  exports.Counter = Counter;
902
- } });
903
-
904
- //#endregion
905
- //#region node_modules/fdir/dist/api/walker.js
906
- var require_walker = __commonJS({ "node_modules/fdir/dist/api/walker.js"(exports) {
907
- var __createBinding$1 = void 0 && (void 0).__createBinding || (Object.create ? function(o, m$1, k$1, k2) {
831
+ });
832
+ var require_walker = __commonJSMin((exports) => {
833
+ var __createBinding$1 = Object.create ? function(o, m$1, k$1, k2) {
908
834
  if (k2 === void 0) k2 = k$1;
909
835
  var desc = Object.getOwnPropertyDescriptor(m$1, k$1);
910
836
  if (!desc || ("get" in desc ? !m$1.__esModule : desc.writable || desc.configurable)) desc = {
@@ -917,16 +843,16 @@ var require_walker = __commonJS({ "node_modules/fdir/dist/api/walker.js"(exports
917
843
  } : function(o, m$1, k$1, k2) {
918
844
  if (k2 === void 0) k2 = k$1;
919
845
  o[k2] = m$1[k$1];
920
- });
921
- var __setModuleDefault = void 0 && (void 0).__setModuleDefault || (Object.create ? function(o, v$1) {
846
+ };
847
+ var __setModuleDefault = Object.create ? function(o, v$1) {
922
848
  Object.defineProperty(o, "default", {
923
849
  enumerable: true,
924
850
  value: v$1
925
851
  });
926
852
  } : function(o, v$1) {
927
853
  o["default"] = v$1;
928
- });
929
- var __importStar = void 0 && (void 0).__importStar || function(mod) {
854
+ };
855
+ var __importStar = function(mod) {
930
856
  if (mod && mod.__esModule) return mod;
931
857
  var result = {};
932
858
  if (mod != null) {
@@ -1024,11 +950,8 @@ var require_walker = __commonJS({ "node_modules/fdir/dist/api/walker.js"(exports
1024
950
  };
1025
951
  };
1026
952
  exports.Walker = Walker;
1027
- } });
1028
-
1029
- //#endregion
1030
- //#region node_modules/fdir/dist/api/async.js
1031
- var require_async = __commonJS({ "node_modules/fdir/dist/api/async.js"(exports) {
953
+ });
954
+ var require_async = __commonJSMin((exports) => {
1032
955
  Object.defineProperty(exports, "__esModule", { value: true });
1033
956
  exports.callback = exports.promise = void 0;
1034
957
  const walker_1$1 = require_walker();
@@ -1046,11 +969,8 @@ var require_async = __commonJS({ "node_modules/fdir/dist/api/async.js"(exports)
1046
969
  walker.start();
1047
970
  }
1048
971
  exports.callback = callback;
1049
- } });
1050
-
1051
- //#endregion
1052
- //#region node_modules/fdir/dist/api/sync.js
1053
- var require_sync = __commonJS({ "node_modules/fdir/dist/api/sync.js"(exports) {
972
+ });
973
+ var require_sync = __commonJSMin((exports) => {
1054
974
  Object.defineProperty(exports, "__esModule", { value: true });
1055
975
  exports.sync = void 0;
1056
976
  const walker_1 = require_walker();
@@ -1059,11 +979,8 @@ var require_sync = __commonJS({ "node_modules/fdir/dist/api/sync.js"(exports) {
1059
979
  return walker.start();
1060
980
  }
1061
981
  exports.sync = sync;
1062
- } });
1063
-
1064
- //#endregion
1065
- //#region node_modules/fdir/dist/builder/api-builder.js
1066
- var require_api_builder = __commonJS({ "node_modules/fdir/dist/builder/api-builder.js"(exports) {
982
+ });
983
+ var require_api_builder = __commonJSMin((exports) => {
1067
984
  Object.defineProperty(exports, "__esModule", { value: true });
1068
985
  exports.APIBuilder = void 0;
1069
986
  const async_1 = require_async();
@@ -1086,11 +1003,8 @@ var require_api_builder = __commonJS({ "node_modules/fdir/dist/builder/api-build
1086
1003
  }
1087
1004
  };
1088
1005
  exports.APIBuilder = APIBuilder;
1089
- } });
1090
-
1091
- //#endregion
1092
- //#region node_modules/picomatch/lib/constants.js
1093
- var require_constants = __commonJS({ "node_modules/picomatch/lib/constants.js"(exports, module) {
1006
+ });
1007
+ var require_constants = __commonJSMin((exports, module) => {
1094
1008
  const WIN_SLASH = "\\\\/";
1095
1009
  const WIN_NO_SLASH = `[^${WIN_SLASH}]`;
1096
1010
  /**
@@ -1257,11 +1171,8 @@ var require_constants = __commonJS({ "node_modules/picomatch/lib/constants.js"(e
1257
1171
  return win32 === true ? WINDOWS_CHARS : POSIX_CHARS;
1258
1172
  }
1259
1173
  };
1260
- } });
1261
-
1262
- //#endregion
1263
- //#region node_modules/picomatch/lib/utils.js
1264
- var require_utils = __commonJS({ "node_modules/picomatch/lib/utils.js"(exports) {
1174
+ });
1175
+ var require_utils = __commonJSMin((exports) => {
1265
1176
  const { REGEX_BACKSLASH, REGEX_REMOVE_BACKSLASH, REGEX_SPECIAL_CHARS, REGEX_SPECIAL_CHARS_GLOBAL } = require_constants();
1266
1177
  exports.isObject = (val) => val !== null && typeof val === "object" && !Array.isArray(val);
1267
1178
  exports.hasRegexChars = (str) => REGEX_SPECIAL_CHARS.test(str);
@@ -1308,11 +1219,8 @@ var require_utils = __commonJS({ "node_modules/picomatch/lib/utils.js"(exports)
1308
1219
  if (last === "") return segs[segs.length - 2];
1309
1220
  return last;
1310
1221
  };
1311
- } });
1312
-
1313
- //#endregion
1314
- //#region node_modules/picomatch/lib/scan.js
1315
- var require_scan = __commonJS({ "node_modules/picomatch/lib/scan.js"(exports, module) {
1222
+ });
1223
+ var require_scan = __commonJSMin((exports, module) => {
1316
1224
  const utils$3 = require_utils();
1317
1225
  const { CHAR_ASTERISK, CHAR_AT, CHAR_BACKWARD_SLASH, CHAR_COMMA, CHAR_DOT, CHAR_EXCLAMATION_MARK, CHAR_FORWARD_SLASH, CHAR_LEFT_CURLY_BRACE, CHAR_LEFT_PARENTHESES, CHAR_LEFT_SQUARE_BRACKET, CHAR_PLUS, CHAR_QUESTION_MARK, CHAR_RIGHT_CURLY_BRACE, CHAR_RIGHT_PARENTHESES, CHAR_RIGHT_SQUARE_BRACKET } = require_constants();
1318
1226
  const isPathSeparator = (code) => {
@@ -1597,11 +1505,8 @@ var require_scan = __commonJS({ "node_modules/picomatch/lib/scan.js"(exports, mo
1597
1505
  return state;
1598
1506
  };
1599
1507
  module.exports = scan$1;
1600
- } });
1601
-
1602
- //#endregion
1603
- //#region node_modules/picomatch/lib/parse.js
1604
- var require_parse = __commonJS({ "node_modules/picomatch/lib/parse.js"(exports, module) {
1508
+ });
1509
+ var require_parse = __commonJSMin((exports, module) => {
1605
1510
  const constants$1 = require_constants();
1606
1511
  const utils$2 = require_utils();
1607
1512
  /**
@@ -2462,11 +2367,8 @@ var require_parse = __commonJS({ "node_modules/picomatch/lib/parse.js"(exports,
2462
2367
  return source;
2463
2368
  };
2464
2369
  module.exports = parse$1;
2465
- } });
2466
-
2467
- //#endregion
2468
- //#region node_modules/picomatch/lib/picomatch.js
2469
- var require_picomatch$1 = __commonJS({ "node_modules/picomatch/lib/picomatch.js"(exports, module) {
2370
+ });
2371
+ var require_picomatch$1 = __commonJSMin((exports, module) => {
2470
2372
  const scan = require_scan();
2471
2373
  const parse = require_parse();
2472
2374
  const utils$1 = require_utils();
@@ -2756,11 +2658,8 @@ var require_picomatch$1 = __commonJS({ "node_modules/picomatch/lib/picomatch.js"
2756
2658
  * Expose "picomatch"
2757
2659
  */
2758
2660
  module.exports = picomatch$2;
2759
- } });
2760
-
2761
- //#endregion
2762
- //#region node_modules/picomatch/index.js
2763
- var require_picomatch = __commonJS({ "node_modules/picomatch/index.js"(exports, module) {
2661
+ });
2662
+ var require_picomatch = __commonJSMin((exports, module) => {
2764
2663
  const pico = require_picomatch$1();
2765
2664
  const utils = require_utils();
2766
2665
  function picomatch$1(glob$1, options, returnState = false) {
@@ -2772,11 +2671,8 @@ var require_picomatch = __commonJS({ "node_modules/picomatch/index.js"(exports,
2772
2671
  }
2773
2672
  Object.assign(picomatch$1, pico);
2774
2673
  module.exports = picomatch$1;
2775
- } });
2776
-
2777
- //#endregion
2778
- //#region node_modules/fdir/dist/builder/index.js
2779
- var require_builder = __commonJS({ "node_modules/fdir/dist/builder/index.js"(exports) {
2674
+ });
2675
+ var require_builder = __commonJSMin((exports) => {
2780
2676
  Object.defineProperty(exports, "__esModule", { value: true });
2781
2677
  exports.Builder = void 0;
2782
2678
  const path_1 = __require("path");
@@ -2910,18 +2806,12 @@ var require_builder = __commonJS({ "node_modules/fdir/dist/builder/index.js"(exp
2910
2806
  }
2911
2807
  };
2912
2808
  exports.Builder = Builder;
2913
- } });
2914
-
2915
- //#endregion
2916
- //#region node_modules/fdir/dist/types.js
2917
- var require_types = __commonJS({ "node_modules/fdir/dist/types.js"(exports) {
2809
+ });
2810
+ var require_types = __commonJSMin((exports) => {
2918
2811
  Object.defineProperty(exports, "__esModule", { value: true });
2919
- } });
2920
-
2921
- //#endregion
2922
- //#region node_modules/fdir/dist/index.js
2923
- var require_dist$1 = __commonJS({ "node_modules/fdir/dist/index.js"(exports) {
2924
- var __createBinding = void 0 && (void 0).__createBinding || (Object.create ? function(o, m$1, k$1, k2) {
2812
+ });
2813
+ var require_dist$1 = __commonJSMin((exports) => {
2814
+ var __createBinding = Object.create ? function(o, m$1, k$1, k2) {
2925
2815
  if (k2 === void 0) k2 = k$1;
2926
2816
  var desc = Object.getOwnPropertyDescriptor(m$1, k$1);
2927
2817
  if (!desc || ("get" in desc ? !m$1.__esModule : desc.writable || desc.configurable)) desc = {
@@ -2934,8 +2824,8 @@ var require_dist$1 = __commonJS({ "node_modules/fdir/dist/index.js"(exports) {
2934
2824
  } : function(o, m$1, k$1, k2) {
2935
2825
  if (k2 === void 0) k2 = k$1;
2936
2826
  o[k2] = m$1[k$1];
2937
- });
2938
- var __exportStar = void 0 && (void 0).__exportStar || function(m$1, exports$1) {
2827
+ };
2828
+ var __exportStar = function(m$1, exports$1) {
2939
2829
  for (var p in m$1) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports$1, p)) __createBinding(exports$1, m$1, p);
2940
2830
  };
2941
2831
  Object.defineProperty(exports, "__esModule", { value: true });
@@ -2948,10 +2838,7 @@ var require_dist$1 = __commonJS({ "node_modules/fdir/dist/index.js"(exports) {
2948
2838
  }
2949
2839
  });
2950
2840
  __exportStar(require_types(), exports);
2951
- } });
2952
-
2953
- //#endregion
2954
- //#region node_modules/tinyglobby/dist/index.mjs
2841
+ });
2955
2842
  var import_dist = __toESM(require_dist$1(), 1);
2956
2843
  var import_picomatch = __toESM(require_picomatch(), 1);
2957
2844
  const ONLY_PARENT_DIRECTORIES = /^(\/?\.\.)+$/;
@@ -3166,9 +3053,6 @@ async function glob(patternsOrOptions, options) {
3166
3053
  const cwd = opts.cwd ? path$1.resolve(opts.cwd).replace(BACKSLASHES, "/") : process.cwd().replace(BACKSLASHES, "/");
3167
3054
  return crawl(opts, cwd, false);
3168
3055
  }
3169
-
3170
- //#endregion
3171
- //#region src/session-blocks.internal.ts
3172
3056
  /**
3173
3057
  * Default session duration in hours (Claude's billing block duration)
3174
3058
  */
@@ -3349,9 +3233,6 @@ function filterRecentBlocks(blocks, days = DEFAULT_RECENT_DAYS) {
3349
3233
  return block.startTime >= cutoffTime || block.isActive;
3350
3234
  });
3351
3235
  }
3352
-
3353
- //#endregion
3354
- //#region src/data-loader.ts
3355
3236
  var import_usingCtx = __toESM(require_usingCtx(), 1);
3356
3237
  /**
3357
3238
  * Default Claude data directory path (~/.claude)
@@ -3923,6 +3804,4 @@ async function loadSessionBlockData(options) {
3923
3804
  _usingCtx4.d();
3924
3805
  }
3925
3806
  }
3926
-
3927
- //#endregion
3928
- export { DEFAULT_SESSION_DURATION_HOURS, calculateBurnRate, calculateCostForEntry, createUniqueHash, dailyUsageSchema, filterRecentBlocks, formatDate, formatDateCompact, getDefaultClaudePath, getEarliestTimestamp, glob, loadDailyUsageData, loadMonthlyUsageData, loadSessionBlockData, loadSessionData, modelBreakdownSchema, monthlyUsageSchema, projectBlockUsage, sessionUsageSchema, sortFilesByTimestamp, usageDataSchema };
3807
+ export { DEFAULT_SESSION_DURATION_HOURS, calculateBurnRate, calculateCostForEntry, createUniqueHash, dailyUsageSchema, filterRecentBlocks, formatDate, formatDateCompact, getDefaultClaudePath, getEarliestTimestamp, glob, loadDailyUsageData, loadMonthlyUsageData, loadSessionBlockData, loadSessionData, modelBreakdownSchema, monthlyUsageSchema, projectBlockUsage, sessionUsageSchema, sortFilesByTimestamp, usageDataSchema };
@@ -1,6 +1,5 @@
1
- import "./pricing-fetcher-BtW4MVG7.js";
2
- import { calculateCostForEntry, createUniqueHash, dailyUsageSchema, formatDate, formatDateCompact, getDefaultClaudePath, getEarliestTimestamp, loadDailyUsageData, loadMonthlyUsageData, loadSessionBlockData, loadSessionData, modelBreakdownSchema, monthlyUsageSchema, sessionUsageSchema, sortFilesByTimestamp, usageDataSchema } from "./data-loader-BzOeJe6y.js";
1
+ import "./pricing-fetcher-DDs53oR8.js";
2
+ import { calculateCostForEntry, createUniqueHash, dailyUsageSchema, formatDate, formatDateCompact, getDefaultClaudePath, getEarliestTimestamp, loadDailyUsageData, loadMonthlyUsageData, loadSessionBlockData, loadSessionData, modelBreakdownSchema, monthlyUsageSchema, sessionUsageSchema, sortFilesByTimestamp, usageDataSchema } from "./data-loader-B2EwZ_7B.js";
3
3
  import "./dist-DCvt9hEv.js";
4
- import "./logger-E_Utl_fr.js";
5
-
6
- export { calculateCostForEntry, createUniqueHash, dailyUsageSchema, formatDate, formatDateCompact, getDefaultClaudePath, getEarliestTimestamp, loadDailyUsageData, loadMonthlyUsageData, loadSessionBlockData, loadSessionData, modelBreakdownSchema, monthlyUsageSchema, sessionUsageSchema, sortFilesByTimestamp, usageDataSchema };
4
+ import "./logger-DPEwxrOW.js";
5
+ export { calculateCostForEntry, createUniqueHash, dailyUsageSchema, formatDate, formatDateCompact, getDefaultClaudePath, getEarliestTimestamp, loadDailyUsageData, loadMonthlyUsageData, loadSessionBlockData, loadSessionData, modelBreakdownSchema, monthlyUsageSchema, sessionUsageSchema, sortFilesByTimestamp, usageDataSchema };
@@ -1,12 +1,10 @@
1
- import { PricingFetcher, __toESM, require_usingCtx } from "./pricing-fetcher-BtW4MVG7.js";
2
- import { glob, usageDataSchema } from "./data-loader-BzOeJe6y.js";
1
+ import { PricingFetcher, __toESM, require_usingCtx } from "./pricing-fetcher-DDs53oR8.js";
2
+ import { glob, usageDataSchema } from "./data-loader-B2EwZ_7B.js";
3
3
  import { safeParse } from "./dist-DCvt9hEv.js";
4
- import { logger } from "./logger-E_Utl_fr.js";
4
+ import { logger } from "./logger-DPEwxrOW.js";
5
5
  import { readFile } from "node:fs/promises";
6
6
  import { homedir } from "node:os";
7
7
  import path from "node:path";
8
-
9
- //#region src/debug.ts
10
8
  var import_usingCtx = __toESM(require_usingCtx(), 1);
11
9
  /**
12
10
  * Threshold percentage for considering costs as matching (0.1% tolerance)
@@ -156,6 +154,4 @@ function printMismatchReport(stats, sampleCount = 5) {
156
154
  }
157
155
  }
158
156
  }
159
-
160
- //#endregion
161
- export { detectMismatches, printMismatchReport };
157
+ export { detectMismatches, printMismatchReport };
package/dist/debug.js CHANGED
@@ -1,7 +1,6 @@
1
- import "./pricing-fetcher-BtW4MVG7.js";
2
- import "./data-loader-BzOeJe6y.js";
1
+ import "./pricing-fetcher-DDs53oR8.js";
2
+ import "./data-loader-B2EwZ_7B.js";
3
3
  import "./dist-DCvt9hEv.js";
4
- import "./logger-E_Utl_fr.js";
5
- import { detectMismatches, printMismatchReport } from "./debug-CjjJciy1.js";
6
-
7
- export { detectMismatches, printMismatchReport };
4
+ import "./logger-DPEwxrOW.js";
5
+ import { detectMismatches, printMismatchReport } from "./debug-D4Ka6IrY.js";
6
+ export { detectMismatches, printMismatchReport };
@@ -1,6 +1,4 @@
1
1
  import { getDefault } from "./dist-DCvt9hEv.js";
2
-
3
- //#region node_modules/@valibot/to-json-schema/dist/index.js
4
2
  /**
5
3
  * Adds an error message to the errors array.
6
4
  *
@@ -464,6 +462,4 @@ function toJsonSchemaDefs(definitions, config) {
464
462
  for (const key in definitions) context.definitions[key] = convertSchema({}, definitions[key], config, context, true);
465
463
  return context.definitions;
466
464
  }
467
-
468
- //#endregion
469
- export { addGlobalDefs, getGlobalDefs, toJsonSchema, toJsonSchemaDefs };
465
+ export { addGlobalDefs, getGlobalDefs, toJsonSchema, toJsonSchemaDefs };
@@ -1,4 +1,3 @@
1
- //#region node_modules/valibot/dist/index.js
2
1
  var store;
3
2
  /* @__NO_SIDE_EFFECTS__ */
4
3
  function getGlobalConfig(config2) {
@@ -378,6 +377,4 @@ function safeParse(schema, input, config2) {
378
377
  issues: dataset.issues
379
378
  };
380
379
  }
381
-
382
- //#endregion
383
- export { array, description, getDefault, literal, number, object, optional, pipe, regex, safeParse, string, union };
380
+ export { array, description, getDefault, literal, number, object, optional, pipe, regex, safeParse, string, union };