scream-code 0.13.4 → 0.13.5

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.
@@ -6,8 +6,22 @@
6
6
  <meta name="theme-color" content="#0d1117" />
7
7
  <link rel="icon" href="./icon.ico" type="image/x-icon" />
8
8
  <title>Scream Web UI</title>
9
- <script type="module" crossorigin src="./assets/index-Ct3-d8xR.js"></script>
10
- <link rel="stylesheet" crossorigin href="./assets/index-DXbFhUFY.css">
9
+ <script>
10
+ // Set the theme before first paint to avoid a dark/light flash (FOUC).
11
+ (function () {
12
+ try {
13
+ var saved = localStorage.getItem('scream-theme');
14
+ var dark =
15
+ saved === 'dark' ||
16
+ (saved !== 'light' && window.matchMedia('(prefers-color-scheme: dark)').matches);
17
+ document.documentElement.dataset.theme = dark ? 'dark' : 'light';
18
+ } catch (e) {
19
+ /* storage unavailable - fall back to defaults */
20
+ }
21
+ })();
22
+ </script>
23
+ <script type="module" crossorigin src="./assets/index-D4xKtk0T.js"></script>
24
+ <link rel="stylesheet" crossorigin href="./assets/index-CNfl6ZCL.css">
11
25
  </head>
12
26
  <body>
13
27
  <div id="app"></div>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "scream-code",
3
- "version": "0.13.4",
3
+ "version": "0.13.5",
4
4
  "description": "A terminal-native AI agent for builders",
5
5
  "license": "MIT",
6
6
  "author": "ScreamCli",