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.
- package/dist/calculate-cost-D3IraeGW.js +1 -4
- package/dist/calculate-cost.d.ts +2 -2
- package/dist/calculate-cost.js +1 -2
- package/dist/data-loader-CBwn9vk0.d.ts +464 -0
- package/dist/{data-loader-BzOeJe6y.js → data-loader-rsgRy-no.js} +139 -261
- package/dist/data-loader.d.ts +2 -2
- package/dist/data-loader.js +4 -6
- package/dist/{debug-CjjJciy1.js → debug-BhnEVNbA.js} +6 -11
- package/dist/debug.js +5 -7
- package/dist/index.js +444 -203
- package/dist/{logger-E_Utl_fr.js → logger-CTFDCX5W.js} +3 -22
- package/dist/logger.js +2 -3
- package/dist/mcp-Cg5potQX.js +20889 -0
- package/dist/mcp.d.ts +30 -6
- package/dist/mcp.js +5 -9
- package/dist/{types-5-VF7WcO.js → pricing-fetcher-3m6_Ejp8.js} +341 -22
- package/dist/pricing-fetcher-BkOpRIdx.d.ts +188 -0
- package/dist/pricing-fetcher.d.ts +1 -1
- package/dist/pricing-fetcher.js +3 -5
- package/dist/{prompt-CUbwSrjo.js → prompt-E8j7mEMw.js} +1 -5
- package/package.json +1 -1
- package/dist/arktype-C-GObzDh-Bx7Fdrqj.js +0 -5
- package/dist/core-eFvU0K4V.js +0 -698
- package/dist/data-loader-dbZm5kOW.d.ts +0 -247
- package/dist/dist-Cb1UHXV5.js +0 -469
- package/dist/dist-DCvt9hEv.js +0 -383
- package/dist/effect-WSjEuzC9-CZCpOgOT.js +0 -10
- package/dist/esm-D74K9ESq.js +0 -1090
- package/dist/index-CISmcbXk-DpuCarFe.js +0 -23
- package/dist/mcp-SPAE-cNK.js +0 -37610
- package/dist/pricing-fetcher-BtW4MVG7.js +0 -360
- package/dist/pricing-fetcher-DHaTs-k2.d.ts +0 -1737
- package/dist/sury-DmrZ3_Oj-Lq7x0IZW.js +0 -10
- package/dist/valibot-CQk-M5rL-btpzU8Qa.js +0 -10
- 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 };
|