cc-viewer 1.6.13 → 1.6.14
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/index.html
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
<title>Claude Code Viewer</title>
|
|
7
7
|
<link rel="icon" href="/favicon.ico?v=1">
|
|
8
8
|
<link rel="shortcut icon" href="/favicon.ico?v=1">
|
|
9
|
-
<script type="module" crossorigin src="/assets/index-
|
|
9
|
+
<script type="module" crossorigin src="/assets/index-tmFn7rhi.js"></script>
|
|
10
10
|
<link rel="stylesheet" crossorigin href="/assets/index-CVCiS6Zl.css">
|
|
11
11
|
</head>
|
|
12
12
|
<body>
|
package/lib/kv-cache-analyzer.js
CHANGED
|
@@ -104,7 +104,7 @@ export function extractCachedContent(entry) {
|
|
|
104
104
|
if (lastCacheIndex >= 0) {
|
|
105
105
|
for (let i = 0; i <= lastCacheIndex; i++) {
|
|
106
106
|
const block = body.system[i];
|
|
107
|
-
if (block.type === 'text' && block.text) result.system.push(block.text);
|
|
107
|
+
if (block.type === 'text' && block.text && block.cache_control) result.system.push(block.text);
|
|
108
108
|
}
|
|
109
109
|
}
|
|
110
110
|
}
|