claude-code-templates 1.20.2 → 1.20.3
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/package.json +1 -1
- package/src/analytics/core/AgentAnalyzer.js +3 -3
- package/src/analytics/core/ConversationAnalyzer.js +2 -1
- package/src/analytics-web/components/ActivityHeatmap.js +738 -0
- package/src/analytics-web/components/DashboardPage.js +54 -0
- package/src/analytics-web/index.html +471 -1
- package/src/analytics.js +187 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "claude-code-templates",
|
|
3
|
-
"version": "1.20.
|
|
3
|
+
"version": "1.20.3",
|
|
4
4
|
"description": "CLI tool to setup Claude Code configurations with framework-specific commands, automation hooks and MCP Servers for your projects",
|
|
5
5
|
"main": "src/index.js",
|
|
6
6
|
"bin": {
|
|
@@ -302,9 +302,9 @@ class AgentAnalyzer {
|
|
|
302
302
|
|
|
303
303
|
return JSON.parse(trimmed);
|
|
304
304
|
} catch (error) {
|
|
305
|
-
// Only log
|
|
306
|
-
if (index
|
|
307
|
-
console.warn(`
|
|
305
|
+
// Only log significant parsing errors to avoid spam from occasional corrupted lines
|
|
306
|
+
if (index < 10 || index % 100 === 0) {
|
|
307
|
+
console.warn(`Skipping corrupted JSONL line ${index + 1} in ${path.basename(filePath)}`);
|
|
308
308
|
}
|
|
309
309
|
return null;
|
|
310
310
|
}
|
|
@@ -93,7 +93,8 @@ class ConversationAnalyzer {
|
|
|
93
93
|
};
|
|
94
94
|
|
|
95
95
|
const jsonlFiles = await findJsonlFiles(this.claudeDir);
|
|
96
|
-
|
|
96
|
+
console.log(`🔥 ConversationAnalyzer found ${jsonlFiles.length} JSONL files in ${this.claudeDir}`);
|
|
97
|
+
|
|
97
98
|
|
|
98
99
|
for (const filePath of jsonlFiles) {
|
|
99
100
|
const stats = await this.getFileStats(filePath);
|