codesesh 0.15.0 → 0.16.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.
@@ -1,12 +1 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <svg id="Ebene_1" xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 466.73 532.09">
3
- <!-- Generator: Adobe Illustrator 29.6.1, SVG Export Plug-In . SVG Version: 2.1.1 Build 9) -->
4
- <defs>
5
- <style>
6
- .st0 {
7
- fill: #26251e;
8
- }
9
- </style>
10
- </defs>
11
- <path class="st0" d="M457.43,125.94L244.42,2.96c-6.84-3.95-15.28-3.95-22.12,0L9.3,125.94c-5.75,3.32-9.3,9.46-9.3,16.11v247.99c0,6.65,3.55,12.79,9.3,16.11l213.01,122.98c6.84,3.95,15.28,3.95,22.12,0l213.01-122.98c5.75-3.32,9.3-9.46,9.3-16.11v-247.99c0-6.65-3.55-12.79-9.3-16.11h-.01ZM444.05,151.99l-205.63,356.16c-1.39,2.4-5.06,1.42-5.06-1.36v-233.21c0-4.66-2.49-8.97-6.53-11.31L24.87,145.67c-2.4-1.39-1.42-5.06,1.36-5.06h411.26c5.84,0,9.49,6.33,6.57,11.39h-.01Z"/>
12
- </svg>
1
+ <svg fill="currentColor" fill-rule="evenodd" height="1em" style="flex:none;line-height:1" viewBox="0 0 24 24" width="1em" xmlns="http://www.w3.org/2000/svg"><title>Cursor</title><path d="M22.106 5.68L12.5.135a.998.998 0 00-.998 0L1.893 5.68a.84.84 0 00-.419.726v11.186c0 .3.16.577.42.727l9.607 5.547a.999.999 0 00.998 0l9.608-5.547a.84.84 0 00.42-.727V6.407a.84.84 0 00-.42-.726zm-.603 1.176L12.228 22.92c-.063.108-.228.064-.228-.061V12.34a.59.59 0 00-.295-.51l-9.11-5.26c-.107-.062-.063-.228.062-.228h18.55c.264 0 .428.286.296.514z"></path></svg>
@@ -1,6 +1,6 @@
1
1
  <?xml version="1.0" encoding="UTF-8"?>
2
2
  <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 800 800">
3
- <path fill="#09090b" fill-rule="evenodd" d="
3
+ <path fill="currentColor" fill-rule="evenodd" d="
4
4
  M165.29 165.29
5
5
  H517.36
6
6
  V400
@@ -16,5 +16,5 @@
16
16
  V282.65
17
17
  Z
18
18
  "/>
19
- <path fill="#09090b" d="M517.36 400 H634.72 V634.72 H517.36 Z"/>
19
+ <path fill="currentColor" d="M517.36 400 H634.72 V634.72 H517.36 Z"/>
20
20
  </svg>
@@ -9,16 +9,51 @@
9
9
  />
10
10
  <link rel="icon" type="image/svg+xml" href="/logo.svg?v=3" />
11
11
  <title>CodeSesh</title>
12
+ <script>
13
+ // Sets .dark before first paint, reading the same localStorage key and
14
+ // envelope shape as useUiPreferences (apps/web/src/hooks/useUiPreferences.ts)
15
+ // so the pre-hydration skeleton below never flashes the wrong theme.
16
+ (function () {
17
+ var theme = "system";
18
+ try {
19
+ var raw = window.localStorage.getItem("codesesh.ui-preferences");
20
+ if (raw) {
21
+ var envelope = JSON.parse(raw);
22
+ var stored = envelope && envelope.version === 1 && envelope.state && envelope.state.theme;
23
+ if (stored === "light" || stored === "dark" || stored === "system") theme = stored;
24
+ }
25
+ } catch (e) {
26
+ theme = "system";
27
+ }
28
+ var isDark =
29
+ theme === "dark" ||
30
+ (theme === "system" &&
31
+ window.matchMedia &&
32
+ window.matchMedia("(prefers-color-scheme: dark)").matches);
33
+ if (isDark) document.documentElement.classList.add("dark");
34
+ })();
35
+ </script>
12
36
  <style>
13
37
  :root {
14
38
  --console-bg: #f7f7f7;
15
39
  --console-sidebar-bg: #fbfbfb;
40
+ --console-surface: #ffffff;
16
41
  --console-surface-muted: #f5f5f5;
17
42
  --console-border: #e5e5e5;
18
43
  --console-text: #1a1a1a;
19
44
  --console-muted: #666666;
20
45
  }
21
46
 
47
+ .dark {
48
+ --console-bg: #19191c;
49
+ --console-sidebar-bg: #1d1d20;
50
+ --console-surface: #242428;
51
+ --console-surface-muted: #202023;
52
+ --console-border: #2e2e32;
53
+ --console-text: #f2f2f0;
54
+ --console-muted: #a3a3a8;
55
+ }
56
+
22
57
  body {
23
58
  margin: 0;
24
59
  background: var(--console-bg);
@@ -48,6 +83,10 @@
48
83
  padding: 0 16px;
49
84
  }
50
85
 
86
+ .dark .app-header {
87
+ background: rgba(36, 36, 40, 0.85);
88
+ }
89
+
51
90
  .app-brand,
52
91
  .app-search,
53
92
  .app-pill,
@@ -77,6 +116,10 @@
77
116
  background: white;
78
117
  }
79
118
 
119
+ .dark .app-search {
120
+ background: var(--console-surface);
121
+ }
122
+
80
123
  .app-pill {
81
124
  height: 26px;
82
125
  width: 88px;
@@ -114,6 +157,10 @@
114
157
  padding: 18px 32px;
115
158
  }
116
159
 
160
+ .dark .app-titlebar {
161
+ background: rgba(36, 36, 40, 0.7);
162
+ }
163
+
117
164
  .app-title {
118
165
  height: 24px;
119
166
  width: 220px;
@@ -134,6 +181,10 @@
134
181
  padding: 16px;
135
182
  }
136
183
 
184
+ .dark .app-card {
185
+ background: rgba(36, 36, 40, 0.8);
186
+ }
187
+
137
188
  .app-line {
138
189
  height: 12px;
139
190
  margin-bottom: 12px;
@@ -158,13 +209,13 @@
158
209
  }
159
210
  }
160
211
  </style>
161
- <script type="module" crossorigin src="/assets/index-B6p64k_Q.js"></script>
212
+ <script type="module" crossorigin src="/assets/index-BpmbwB2_.js"></script>
162
213
  <link rel="modulepreload" crossorigin href="/assets/rolldown-runtime-QTnfLwEv.js">
163
214
  <link rel="modulepreload" crossorigin href="/assets/markdown-dR4kAewZ.js">
164
215
  <link rel="modulepreload" crossorigin href="/assets/react-3acXkZNw.js">
165
- <link rel="modulepreload" crossorigin href="/assets/vendor-CShgXaOi.js">
166
- <link rel="modulepreload" crossorigin href="/assets/syntax-C_RLNYQn.js">
167
- <link rel="stylesheet" crossorigin href="/assets/index-DiFr4_5-.css">
216
+ <link rel="modulepreload" crossorigin href="/assets/vendor-BVE7Fps8.js">
217
+ <link rel="modulepreload" crossorigin href="/assets/syntax-mZXQuVcd.js">
218
+ <link rel="stylesheet" crossorigin href="/assets/index-Bxe686Vr.css">
168
219
  </head>
169
220
  <body>
170
221
  <div id="root">
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "codesesh",
3
- "version": "0.15.0",
3
+ "version": "0.16.0",
4
4
  "description": "One place to see every AI coding session you've ever had. Unify Claude Code, Cursor, Kimi, Codex, Pi, OpenCode, and ZCode sessions in a single, beautiful Web UI.",
5
5
  "keywords": [
6
6
  "ai",