ccusage 10.0.0 → 11.0.1
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/README.md +27 -1
- package/dist/{calculate-cost-2IwHSzmi.js → calculate-cost-D3IraeGW.js} +15 -0
- package/dist/calculate-cost.d.ts +26 -2
- package/dist/calculate-cost.js +1 -1
- package/dist/core-eFvU0K4V.js +698 -0
- package/dist/{data-loader-Bp9KV0_a.js → data-loader-BzOeJe6y.js} +397 -222
- package/dist/{data-loader-DPQaq8_n.d.ts → data-loader-dbZm5kOW.d.ts} +116 -25
- package/dist/data-loader.d.ts +3 -3
- package/dist/data-loader.js +4 -4
- package/dist/{debug-bjc38_Gx.js → debug-CjjJciy1.js} +20 -7
- package/dist/debug.d.ts +17 -0
- package/dist/debug.js +4 -4
- package/dist/{effect-WSjEuzC9-DHMVzzyB.js → effect-WSjEuzC9-CZCpOgOT.js} +1 -1
- package/dist/{esm-BU3FhOe-.js → esm-D74K9ESq.js} +1 -1
- package/dist/{index-CISmcbXk-CW1Gj6Ab.js → index-CISmcbXk-DpuCarFe.js} +5 -5
- package/dist/index.js +1994 -51
- package/dist/{logger-C2GZVy1v.js → logger-E_Utl_fr.js} +8 -2
- package/dist/logger.d.ts +9 -4
- package/dist/logger.js +1 -1
- package/dist/{mcp-DVjQeqCy.js → mcp-SPAE-cNK.js} +29 -6
- package/dist/mcp.d.ts +2 -2
- package/dist/mcp.js +6 -6
- package/dist/{pricing-fetcher-BxlbW4km.js → pricing-fetcher-BtW4MVG7.js} +159 -4
- package/dist/{pricing-fetcher-BkSZh4lR.d.ts → pricing-fetcher-DHaTs-k2.d.ts} +67 -2
- package/dist/pricing-fetcher.d.ts +1 -1
- package/dist/pricing-fetcher.js +2 -2
- package/dist/{sury-DmrZ3_Oj-Cpjsc2Lm.js → sury-DmrZ3_Oj-Lq7x0IZW.js} +1 -1
- package/dist/valibot-CQk-M5rL-btpzU8Qa.js +10 -0
- package/dist/{zod-Db63SLXj-BIXn64AP.js → zod-Db63SLXj-BqWqpKnQ.js} +3 -3
- package/package.json +1 -2
- package/dist/chunk-BLXvPPr8.js +0 -30
- package/dist/core-DHCbAXJf.js +0 -693
- package/dist/utils.table-USks3NGv.js +0 -1844
- package/dist/utils.table.d.ts +0 -27
- package/dist/utils.table.js +0 -3
- package/dist/valibot-CQk-M5rL-BcaCeUrF.js +0 -10
- /package/dist/{arktype-C-GObzDh-CNoBqQrr.js → arktype-C-GObzDh-Bx7Fdrqj.js} +0 -0
- /package/dist/{dist-BZzwBtZs.js → dist-Cb1UHXV5.js} +0 -0
- /package/dist/{prompt-DtZgx4wU.js → prompt-CUbwSrjo.js} +0 -0
- /package/dist/{types-BlyCnKwN.js → types-5-VF7WcO.js} +0 -0
package/dist/utils.table.d.ts
DELETED
|
@@ -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 };
|
package/dist/utils.table.js
DELETED
|
@@ -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 };
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|