ccdeck 3.39.0 → 3.39.1

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.
@@ -49,23 +49,25 @@
49
49
  Vite leaves untouched in the built HTML (it rewrites only scripts with
50
50
  a src or type="module"). Deliberately dependency-free, and kept honest
51
51
  against resolveTheme() in theme.ts by theme-first-paint.test.ts, which
52
- runs this exact text. With nothing stored, the OS decides (#885). -->
52
+ runs this exact text. With nothing stored, Rider Black is selected. -->
53
53
  <script>
54
54
  (function () {
55
- var stored = null, light = false;
55
+ // Generated from JSON alongside the CSS and Settings catalog.
56
+ var themes = /* theme-ids:start */ ["light","dark","rider-black","vscode-black","omarchy","matrix","black-contrast","white-contrast","catppuccin-mocha"] /* theme-ids:end */;
57
+ var lightThemes = /* theme-light-ids:start */ ["light","white-contrast"] /* theme-light-ids:end */;
58
+ var stored = null;
56
59
  // `window.localStorage` is a GETTER that throws where site data is
57
60
  // blocked, so the property read is inside the try, not just getItem.
58
61
  // A refused store must cost a preference and never the boot.
59
62
  try { stored = window.localStorage.getItem("agent-dag.theme"); } catch (e) {}
60
- // No choice stored: follow the OS. Guarded the same way, because an
61
- // embed without matchMedia must not stop the parse either.
62
- try { light = window.matchMedia("(prefers-color-scheme: light)").matches; } catch (e) {}
63
- document.documentElement.setAttribute("data-theme",
64
- stored === "light" || stored === "dark" || stored === "rider-black" || stored === "vscode-black" ? stored : light ? "light" : "dark");
63
+ // Rider Black is the default; saved choices always win.
64
+ var theme = themes.indexOf(stored) >= 0 ? stored : "rider-black";
65
+ document.documentElement.setAttribute("data-theme", theme);
66
+ document.documentElement.setAttribute("data-color-scheme", lightThemes.indexOf(theme) >= 0 ? "light" : "dark");
65
67
  })();
66
68
  </script>
67
- <script type="module" crossorigin src="/assets/index-DUlU5kmL.js"></script>
68
- <link rel="stylesheet" crossorigin href="/assets/index-BQRqT36t.css">
69
+ <script type="module" crossorigin src="/assets/index-DGMP4S3t.js"></script>
70
+ <link rel="stylesheet" crossorigin href="/assets/index-WHHCRAB3.css">
69
71
  </head>
70
72
  <body>
71
73
  <div id="root"></div>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ccdeck",
3
- "version": "3.39.0",
3
+ "version": "3.39.1",
4
4
  "description": "Local dashboard for Claude Code and Codex CLI sessions: which Claude Code session needs input, every tool call and Claude Code subagent live, token cost and quota, several Claude accounts. Run npx ccdeck.",
5
5
  "type": "module",
6
6
  "bin": {
@@ -18,6 +18,8 @@
18
18
  "LICENSING.md"
19
19
  ],
20
20
  "scripts": {
21
+ "themes:generate": "node scripts/build-themes.mjs",
22
+ "themes:check": "node scripts/build-themes.mjs --check",
21
23
  "dev:web": "vite",
22
24
  "dev:server": "node src/server/index.mjs",
23
25
  "start": "node bin/agent-dag.js",
@@ -75,6 +75,16 @@
75
75
  "3.38.2",
76
76
  "3.38.6"
77
77
  ],
78
+ "3.39.1": [
79
+ {
80
+ "title": "🎨 More themes, with clearer contrast",
81
+ "body": "Choose Omarchy, Matrix, Black Contrast, White Contrast or Catppuccin Mocha in Settings › Appearance. Fresh installations start with Rider Black; your saved theme choice is preserved."
82
+ },
83
+ {
84
+ "title": "A little more room on the canvas",
85
+ "body": "The minimap is smaller, leaving more room for the character and your sessions. Undo and Resume now sit beside each other at the bottom of the canvas. Telemetry Radar is marked Beta while it is being tested and improved."
86
+ }
87
+ ],
78
88
  "3.39.0": [
79
89
  {
80
90
  "title": "🔎 Inspect Claude Code telemetry on macOS",