ccusage 17.1.3 → 17.1.5
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/{_types-CV6z8-9_.js → _types-Ds2jjKYK.js} +1 -1
- package/dist/{calculate-cost-CX9KwEZt.js → calculate-cost-BI5czHMM.js} +2 -2
- package/dist/calculate-cost.d.ts +1 -1
- package/dist/calculate-cost.js +2 -2
- package/dist/{data-loader-BGg_9orY.js → data-loader-1S6PM6Nj.js} +156 -177
- package/dist/{data-loader-D_hlygEz.d.ts → data-loader-qw155z_a.d.ts} +2 -1
- package/dist/data-loader.d.ts +1 -1
- package/dist/data-loader.js +3 -3
- package/dist/{debug-6nuaXAbb.js → debug-BnA62xYa.js} +4 -4
- package/dist/debug.js +4 -4
- package/dist/index.js +72 -116
- package/dist/{logger-Dti-igUw.js → logger-_VjiKYLh.js} +8 -11
- package/dist/logger.js +1 -1
- package/dist/{prompt-BCI--RF-.js → prompt-HWGZJndy.js} +20 -22
- package/package.json +1 -1
|
@@ -580,4 +580,4 @@ const statuslineHookJsonSchema = /* @__PURE__ */ object({
|
|
|
580
580
|
total_lines_removed: /* @__PURE__ */ optional(/* @__PURE__ */ number())
|
|
581
581
|
}))
|
|
582
582
|
});
|
|
583
|
-
export {
|
|
583
|
+
export { object as A, boolean as C, maxValue as D, integer as E, string as F, transform as I, trim as L, parse as M, pipe as N, minValue as O, safeParse as P, union as R, array as S, flatten as T, requestIdSchema as _, createDailyDate as a, versionSchema as b, createSessionId as c, filterDateSchema as d, isoTimestampSchema as f, projectPathSchema as g, monthlyDateSchema as h, createBucket as i, optional as j, number as k, createWeeklyDate as l, modelNameSchema as m, SortOrders as n, createMonthlyDate as o, messageIdSchema as p, activityDateSchema as r, createProjectPath as s, CostModes as t, dailyDateSchema as u, sessionIdSchema as v, check as w, weeklyDateSchema as x, statuslineHookJsonSchema as y, getTotalTokens as z };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { getTotalTokens } from "./_types-
|
|
1
|
+
import { z as getTotalTokens } from "./_types-Ds2jjKYK.js";
|
|
2
2
|
function calculateTotals(data) {
|
|
3
3
|
return data.reduce((acc, item) => ({
|
|
4
4
|
inputTokens: acc.inputTokens + item.inputTokens,
|
|
@@ -20,4 +20,4 @@ function createTotalsObject(totals) {
|
|
|
20
20
|
totalTokens: getTotalTokens(totals)
|
|
21
21
|
};
|
|
22
22
|
}
|
|
23
|
-
export {
|
|
23
|
+
export { createTotalsObject as n, calculateTotals as t };
|
package/dist/calculate-cost.d.ts
CHANGED
package/dist/calculate-cost.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { getTotalTokens } from "./_types-
|
|
2
|
-
import {
|
|
1
|
+
import { z as getTotalTokens } from "./_types-Ds2jjKYK.js";
|
|
2
|
+
import { n as createTotalsObject, t as calculateTotals } from "./calculate-cost-BI5czHMM.js";
|
|
3
3
|
export { calculateTotals, createTotalsObject, getTotalTokens };
|