ccusage 11.0.1 → 12.0.0

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 (35) hide show
  1. package/dist/calculate-cost-D3IraeGW.js +1 -4
  2. package/dist/calculate-cost.d.ts +2 -2
  3. package/dist/calculate-cost.js +1 -2
  4. package/dist/data-loader-CBwn9vk0.d.ts +464 -0
  5. package/dist/{data-loader-BzOeJe6y.js → data-loader-rsgRy-no.js} +139 -261
  6. package/dist/data-loader.d.ts +2 -2
  7. package/dist/data-loader.js +4 -6
  8. package/dist/{debug-CjjJciy1.js → debug-BhnEVNbA.js} +6 -11
  9. package/dist/debug.js +5 -7
  10. package/dist/index.js +444 -203
  11. package/dist/{logger-E_Utl_fr.js → logger-CTFDCX5W.js} +3 -22
  12. package/dist/logger.js +2 -3
  13. package/dist/mcp-Cg5potQX.js +20889 -0
  14. package/dist/mcp.d.ts +30 -6
  15. package/dist/mcp.js +5 -9
  16. package/dist/{types-5-VF7WcO.js → pricing-fetcher-3m6_Ejp8.js} +341 -22
  17. package/dist/pricing-fetcher-BkOpRIdx.d.ts +188 -0
  18. package/dist/pricing-fetcher.d.ts +1 -1
  19. package/dist/pricing-fetcher.js +3 -5
  20. package/dist/{prompt-CUbwSrjo.js → prompt-E8j7mEMw.js} +1 -5
  21. package/package.json +1 -1
  22. package/dist/arktype-C-GObzDh-Bx7Fdrqj.js +0 -5
  23. package/dist/core-eFvU0K4V.js +0 -698
  24. package/dist/data-loader-dbZm5kOW.d.ts +0 -247
  25. package/dist/dist-Cb1UHXV5.js +0 -469
  26. package/dist/dist-DCvt9hEv.js +0 -383
  27. package/dist/effect-WSjEuzC9-CZCpOgOT.js +0 -10
  28. package/dist/esm-D74K9ESq.js +0 -1090
  29. package/dist/index-CISmcbXk-DpuCarFe.js +0 -23
  30. package/dist/mcp-SPAE-cNK.js +0 -37610
  31. package/dist/pricing-fetcher-BtW4MVG7.js +0 -360
  32. package/dist/pricing-fetcher-DHaTs-k2.d.ts +0 -1737
  33. package/dist/sury-DmrZ3_Oj-Lq7x0IZW.js +0 -10
  34. package/dist/valibot-CQk-M5rL-btpzU8Qa.js +0 -10
  35. package/dist/zod-Db63SLXj-BqWqpKnQ.js +0 -30
@@ -1,10 +0,0 @@
1
- import { tryImport } from "./index-CISmcbXk-DpuCarFe.js";
2
-
3
- //#region node_modules/xsschema/dist/sury-DmrZ3_Oj.js
4
- const getToJsonSchemaFn = async () => {
5
- const { toJSONSchema } = await tryImport(import("sury"), "sury");
6
- return (schema) => toJSONSchema(schema);
7
- };
8
-
9
- //#endregion
10
- export { getToJsonSchemaFn };
@@ -1,10 +0,0 @@
1
- import { tryImport } from "./index-CISmcbXk-DpuCarFe.js";
2
-
3
- //#region node_modules/xsschema/dist/valibot-CQk-M5rL.js
4
- const getToJsonSchemaFn = async () => {
5
- const { toJsonSchema } = await tryImport(import("./dist-Cb1UHXV5.js"), "@valibot/to-json-schema");
6
- return (schema) => toJsonSchema(schema);
7
- };
8
-
9
- //#endregion
10
- export { getToJsonSchemaFn };
@@ -1,30 +0,0 @@
1
- import { missingDependenciesUrl } from "./index-CISmcbXk-DpuCarFe.js";
2
-
3
- //#region node_modules/xsschema/dist/zod-Db63SLXj.js
4
- const getToJsonSchemaFn = async () => {
5
- let zodV4toJSONSchema = (_schema) => {
6
- throw new Error(`xsschema: Missing zod v4 dependencies "zod". see ${missingDependenciesUrl}`);
7
- };
8
- let zodV3ToJSONSchema = (_schema) => {
9
- throw new Error(`xsschema: Missing zod v3 dependencies "zod-to-json-schema". see ${missingDependenciesUrl}`);
10
- };
11
- try {
12
- const { toJSONSchema } = await import("./core-eFvU0K4V.js");
13
- zodV4toJSONSchema = toJSONSchema;
14
- } catch (err) {
15
- if (err instanceof Error) console.error(err.message);
16
- }
17
- try {
18
- const { zodToJsonSchema } = await import("./esm-D74K9ESq.js");
19
- zodV3ToJSONSchema = zodToJsonSchema;
20
- } catch (err) {
21
- if (err instanceof Error) console.error(err.message);
22
- }
23
- return async (schema) => {
24
- if ("_zod" in schema) return zodV4toJSONSchema(schema);
25
- else return zodV3ToJSONSchema(schema);
26
- };
27
- };
28
-
29
- //#endregion
30
- export { getToJsonSchemaFn };