memctx 1.4.3 → 1.4.4
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.
|
@@ -240,7 +240,7 @@ Rules:
|
|
|
240
240
|
}
|
|
241
241
|
}
|
|
242
242
|
// Only track tokens if we have valid data
|
|
243
|
-
if (usage.input_tokens > 0
|
|
243
|
+
if (usage.input_tokens > 0 && usage.output_tokens > 0) {
|
|
244
244
|
const cost = (0, pricing_1.calculateCost)(config_1.CONFIG.summaryModel, usage.input_tokens, usage.output_tokens, usage.cache_creation_input_tokens || 0, usage.cache_read_input_tokens || 0);
|
|
245
245
|
console.log(`[Summarizer] Token usage:`, {
|
|
246
246
|
input: usage.input_tokens,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "memctx",
|
|
3
|
-
"version": "1.4.
|
|
3
|
+
"version": "1.4.4",
|
|
4
4
|
"description": "Autonomous session memory for Claude Code - automatically captures, analyzes, and summarizes your development sessions",
|
|
5
5
|
"author": "Fahad Aziz Qureshi <info@memctx.dev> (https://memctx.dev)",
|
|
6
6
|
"license": "MIT",
|