ccusage 11.0.0 → 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.
Files changed (44) hide show
  1. package/README.md +23 -1
  2. package/dist/arktype-C-GObzDh-Bx7Fdrqj.js +2 -0
  3. package/dist/{calculate-cost-2IwHSzmi.js → calculate-cost-D3IraeGW.js} +16 -4
  4. package/dist/calculate-cost.d.ts +26 -2
  5. package/dist/calculate-cost.js +2 -3
  6. package/dist/core-eFvU0K4V.js +689 -0
  7. package/dist/{data-loader-BAoqS297.js → data-loader-B2EwZ_7B.js} +446 -392
  8. package/dist/{data-loader-DPQaq8_n.d.ts → data-loader-dbZm5kOW.d.ts} +116 -25
  9. package/dist/data-loader.d.ts +3 -3
  10. package/dist/data-loader.js +4 -5
  11. package/dist/{debug-DzFJHzM5.js → debug-D4Ka6IrY.js} +21 -12
  12. package/dist/debug.d.ts +17 -0
  13. package/dist/debug.js +5 -6
  14. package/dist/{dist-BZzwBtZs.js → dist-Cb1UHXV5.js} +1 -5
  15. package/dist/dist-DCvt9hEv.js +1 -4
  16. package/dist/effect-WSjEuzC9-CZCpOgOT.js +6 -0
  17. package/dist/{esm-BU3FhOe-.js → esm-D74K9ESq.js} +2 -111
  18. package/dist/{index-CISmcbXk-CW1Gj6Ab.js → index-CISmcbXk-DpuCarFe.js} +6 -9
  19. package/dist/index.js +1912 -105
  20. package/dist/{logger-D3WD64Tx.js → logger-DPEwxrOW.js} +9 -22
  21. package/dist/logger.d.ts +9 -4
  22. package/dist/logger.js +2 -3
  23. package/dist/{mcp-1J7r1g6-.js → mcp-CklIto13.js} +366 -947
  24. package/dist/mcp.d.ts +2 -2
  25. package/dist/mcp.js +7 -8
  26. package/dist/{pricing-fetcher-D-eJQBEJ.js → pricing-fetcher-DDs53oR8.js} +151 -14
  27. package/dist/{pricing-fetcher-BkSZh4lR.d.ts → pricing-fetcher-DHaTs-k2.d.ts} +67 -2
  28. package/dist/pricing-fetcher.d.ts +1 -1
  29. package/dist/pricing-fetcher.js +3 -4
  30. package/dist/{prompt-DtZgx4wU.js → prompt-CUbwSrjo.js} +1 -5
  31. package/dist/sury-DmrZ3_Oj-Lq7x0IZW.js +6 -0
  32. package/dist/{types-BlyCnKwN.js → types-5-VF7WcO.js} +1 -22
  33. package/dist/valibot-CQk-M5rL-btpzU8Qa.js +6 -0
  34. package/dist/{zod-Db63SLXj-BIXn64AP.js → zod-Db63SLXj-BqWqpKnQ.js} +4 -8
  35. package/package.json +1 -2
  36. package/dist/arktype-C-GObzDh-CNoBqQrr.js +0 -5
  37. package/dist/chunk-BLXvPPr8.js +0 -30
  38. package/dist/core-DHCbAXJf.js +0 -693
  39. package/dist/effect-WSjEuzC9-DHMVzzyB.js +0 -10
  40. package/dist/sury-DmrZ3_Oj-Cpjsc2Lm.js +0 -10
  41. package/dist/utils.table-USks3NGv.js +0 -1844
  42. package/dist/utils.table.d.ts +0 -27
  43. package/dist/utils.table.js +0 -3
  44. package/dist/valibot-CQk-M5rL-BcaCeUrF.js +0 -10
@@ -1,27 +0,0 @@
1
- //#region src/utils.table.d.ts
2
- type TableRow = (string | number | {
3
- content: string;
4
- hAlign?: 'left' | 'right' | 'center';
5
- })[];
6
- type TableOptions = {
7
- head: string[];
8
- colAligns?: ('left' | 'right' | 'center')[];
9
- style?: {
10
- head?: string[];
11
- };
12
- dateFormatter?: (dateStr: string) => string;
13
- };
14
- declare class ResponsiveTable {
15
- private head;
16
- private rows;
17
- private colAligns;
18
- private style?;
19
- private dateFormatter?;
20
- constructor(options: TableOptions);
21
- push(row: TableRow): void;
22
- toString(): string;
23
- private isSeparatorRow;
24
- private isDateString;
25
- }
26
- //#endregion
27
- export { ResponsiveTable };
@@ -1,3 +0,0 @@
1
- import { ResponsiveTable } from "./utils.table-USks3NGv.js";
2
-
3
- export { ResponsiveTable };
@@ -1,10 +0,0 @@
1
- import { tryImport } from "./index-CISmcbXk-CW1Gj6Ab.js";
2
-
3
- //#region node_modules/xsschema/dist/valibot-CQk-M5rL.js
4
- const getToJsonSchemaFn = async () => {
5
- const { toJsonSchema } = await tryImport(import("./dist-BZzwBtZs.js"), "@valibot/to-json-schema");
6
- return (schema) => toJsonSchema(schema);
7
- };
8
-
9
- //#endregion
10
- export { getToJsonSchemaFn };