claude-code-templates 1.5.9 → 1.5.11
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.js +61 -10
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "claude-code-templates",
|
|
3
|
-
"version": "1.5.
|
|
3
|
+
"version": "1.5.11",
|
|
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": {
|
package/src/analytics.js
CHANGED
|
@@ -681,6 +681,7 @@ async function createWebDashboard() {
|
|
|
681
681
|
border-bottom: 1px solid #30363d;
|
|
682
682
|
padding-bottom: 20px;
|
|
683
683
|
margin-bottom: 20px;
|
|
684
|
+
position: relative;
|
|
684
685
|
}
|
|
685
686
|
|
|
686
687
|
.terminal-title {
|
|
@@ -711,6 +712,36 @@ async function createWebDashboard() {
|
|
|
711
712
|
margin-top: 4px;
|
|
712
713
|
}
|
|
713
714
|
|
|
715
|
+
.github-star-btn {
|
|
716
|
+
position: absolute;
|
|
717
|
+
top: 0;
|
|
718
|
+
right: 0;
|
|
719
|
+
background: #21262d;
|
|
720
|
+
border: 1px solid #30363d;
|
|
721
|
+
color: #c9d1d9;
|
|
722
|
+
padding: 8px 12px;
|
|
723
|
+
border-radius: 6px;
|
|
724
|
+
text-decoration: none;
|
|
725
|
+
font-family: inherit;
|
|
726
|
+
font-size: 0.875rem;
|
|
727
|
+
display: flex;
|
|
728
|
+
align-items: center;
|
|
729
|
+
gap: 6px;
|
|
730
|
+
transition: all 0.2s ease;
|
|
731
|
+
cursor: pointer;
|
|
732
|
+
}
|
|
733
|
+
|
|
734
|
+
.github-star-btn:hover {
|
|
735
|
+
border-color: #d57455;
|
|
736
|
+
background: #30363d;
|
|
737
|
+
color: #d57455;
|
|
738
|
+
text-decoration: none;
|
|
739
|
+
}
|
|
740
|
+
|
|
741
|
+
.github-star-btn .star-icon {
|
|
742
|
+
font-size: 0.75rem;
|
|
743
|
+
}
|
|
744
|
+
|
|
714
745
|
.stats-bar {
|
|
715
746
|
display: flex;
|
|
716
747
|
gap: 40px;
|
|
@@ -804,9 +835,11 @@ async function createWebDashboard() {
|
|
|
804
835
|
.session-id {
|
|
805
836
|
color: #d57455;
|
|
806
837
|
font-family: monospace;
|
|
838
|
+
}
|
|
839
|
+
|
|
840
|
+
.session-id-container {
|
|
807
841
|
display: flex;
|
|
808
|
-
|
|
809
|
-
flex-wrap: wrap;
|
|
842
|
+
flex-direction: column;
|
|
810
843
|
gap: 4px;
|
|
811
844
|
}
|
|
812
845
|
|
|
@@ -868,16 +901,16 @@ async function createWebDashboard() {
|
|
|
868
901
|
display: flex;
|
|
869
902
|
gap: 2px;
|
|
870
903
|
align-items: center;
|
|
871
|
-
margin-left: 4px;
|
|
872
904
|
flex-wrap: wrap;
|
|
873
905
|
}
|
|
874
906
|
|
|
875
907
|
.status-square {
|
|
876
|
-
width:
|
|
877
|
-
height:
|
|
878
|
-
border-radius:
|
|
908
|
+
width: 10px;
|
|
909
|
+
height: 10px;
|
|
910
|
+
border-radius: 2px;
|
|
879
911
|
cursor: help;
|
|
880
912
|
position: relative;
|
|
913
|
+
flex-shrink: 0;
|
|
881
914
|
}
|
|
882
915
|
|
|
883
916
|
.status-square.success {
|
|
@@ -1116,6 +1149,17 @@ async function createWebDashboard() {
|
|
|
1116
1149
|
.sessions-table td {
|
|
1117
1150
|
padding: 6px 8px;
|
|
1118
1151
|
}
|
|
1152
|
+
|
|
1153
|
+
.github-star-btn {
|
|
1154
|
+
position: relative;
|
|
1155
|
+
margin-top: 12px;
|
|
1156
|
+
align-self: flex-start;
|
|
1157
|
+
}
|
|
1158
|
+
|
|
1159
|
+
.terminal-header {
|
|
1160
|
+
display: flex;
|
|
1161
|
+
flex-direction: column;
|
|
1162
|
+
}
|
|
1119
1163
|
}
|
|
1120
1164
|
</style>
|
|
1121
1165
|
</head>
|
|
@@ -1128,6 +1172,11 @@ async function createWebDashboard() {
|
|
|
1128
1172
|
</div>
|
|
1129
1173
|
<div class="terminal-subtitle">real-time monitoring dashboard</div>
|
|
1130
1174
|
<div class="terminal-subtitle" id="lastUpdate"></div>
|
|
1175
|
+
|
|
1176
|
+
<a href="https://github.com/davila7/claude-code-templates" target="_blank" class="github-star-btn" title="Give us a star on GitHub to support the project!">
|
|
1177
|
+
<span class="star-icon">⭐</span>
|
|
1178
|
+
<span>Star on GitHub</span>
|
|
1179
|
+
</a>
|
|
1131
1180
|
</div>
|
|
1132
1181
|
|
|
1133
1182
|
<div id="loading" class="loading">
|
|
@@ -1275,10 +1324,12 @@ async function createWebDashboard() {
|
|
|
1275
1324
|
|
|
1276
1325
|
tableBody.innerHTML = filteredConversations.map(conv => \`
|
|
1277
1326
|
<tr onclick="showSessionDetail('\${conv.id}')" style="cursor: pointer;">
|
|
1278
|
-
<td
|
|
1279
|
-
|
|
1280
|
-
|
|
1281
|
-
|
|
1327
|
+
<td>
|
|
1328
|
+
<div class="session-id-container">
|
|
1329
|
+
<div class="session-id">\${conv.id.substring(0, 8)}...</div>
|
|
1330
|
+
<div class="status-squares">
|
|
1331
|
+
\${generateStatusSquaresHTML(conv.statusSquares || [])}
|
|
1332
|
+
</div>
|
|
1282
1333
|
</div>
|
|
1283
1334
|
</td>
|
|
1284
1335
|
<td class="session-project">\${conv.project}</td>
|