@vladar107/claudescope 0.2.0 → 0.3.0
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/README.md +91 -49
- package/cli.js +4 -4
- package/package.json +5 -3
- package/pricing.default.json +7 -2
- package/server.js +209 -165
- package/web/assets/index-BCQr-z9q.css +1 -0
- package/web/assets/{index-_Et9upO3.js → index-C1wixNly.js} +1 -1
- package/web/assets/index-j_URPl55.js +199 -0
- package/web/index.html +17 -2
- package/web/assets/index-D2huyx2f.js +0 -199
- package/web/assets/index-DhAND_LO.css +0 -1
package/web/index.html
CHANGED
|
@@ -4,8 +4,23 @@
|
|
|
4
4
|
<meta charset="UTF-8" />
|
|
5
5
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
6
6
|
<title>Claudescope</title>
|
|
7
|
-
|
|
8
|
-
|
|
7
|
+
<!-- Resolve the stored theme choice before first paint to avoid a flash of
|
|
8
|
+
the wrong theme. Mirrors THEME_STORAGE_KEY in theme/ThemeProvider.tsx. -->
|
|
9
|
+
<script>
|
|
10
|
+
(function () {
|
|
11
|
+
try {
|
|
12
|
+
var choice = localStorage.getItem('claudescope-theme') || 'system';
|
|
13
|
+
var dark =
|
|
14
|
+
choice === 'dark' ||
|
|
15
|
+
(choice === 'system' && window.matchMedia('(prefers-color-scheme: dark)').matches);
|
|
16
|
+
document.documentElement.dataset.theme = dark ? 'dark' : 'light';
|
|
17
|
+
} catch (e) {
|
|
18
|
+
document.documentElement.dataset.theme = 'dark';
|
|
19
|
+
}
|
|
20
|
+
})();
|
|
21
|
+
</script>
|
|
22
|
+
<script type="module" crossorigin src="/assets/index-j_URPl55.js"></script>
|
|
23
|
+
<link rel="stylesheet" crossorigin href="/assets/index-BCQr-z9q.css">
|
|
9
24
|
</head>
|
|
10
25
|
<body>
|
|
11
26
|
<div id="root"></div>
|