codexmate 0.0.21 → 0.0.23

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.
Files changed (115) hide show
  1. package/README.md +390 -284
  2. package/README.zh.md +322 -0
  3. package/cli/agents-files.js +224 -162
  4. package/cli/archive-helpers.js +446 -446
  5. package/cli/auth-profiles.js +359 -359
  6. package/cli/builtin-proxy.js +1044 -580
  7. package/cli/claude-proxy.js +998 -998
  8. package/cli/config-bootstrap.js +384 -384
  9. package/cli/config-health.js +338 -338
  10. package/cli/openai-bridge.js +950 -0
  11. package/cli/openclaw-config.js +629 -629
  12. package/cli/session-usage.concurrent.js +28 -0
  13. package/cli/session-usage.js +112 -0
  14. package/cli/session-usage.models.js +176 -0
  15. package/cli/skills.js +1141 -1141
  16. package/cli/zip-commands.js +510 -510
  17. package/cli.js +13214 -13129
  18. package/lib/cli-file-utils.js +151 -151
  19. package/lib/cli-models-utils.js +419 -419
  20. package/lib/cli-network-utils.js +164 -164
  21. package/lib/cli-path-utils.js +69 -69
  22. package/lib/cli-session-utils.js +121 -121
  23. package/lib/cli-sessions.js +386 -386
  24. package/lib/cli-utils.js +155 -155
  25. package/lib/download-artifacts.js +77 -77
  26. package/lib/mcp-stdio.js +440 -440
  27. package/lib/task-orchestrator.js +869 -869
  28. package/lib/text-diff.js +303 -303
  29. package/lib/workflow-engine.js +340 -340
  30. package/package.json +74 -74
  31. package/res/json5.min.js +1 -1
  32. package/res/logo.png +0 -0
  33. package/res/vue.global.prod.js +13 -13
  34. package/web-ui/app.js +626 -530
  35. package/web-ui/index.html +34 -33
  36. package/web-ui/logic.agents-diff.mjs +386 -386
  37. package/web-ui/logic.claude.mjs +168 -168
  38. package/web-ui/logic.mjs +5 -5
  39. package/web-ui/logic.runtime.mjs +128 -124
  40. package/web-ui/logic.sessions.mjs +614 -581
  41. package/web-ui/modules/api.mjs +90 -90
  42. package/web-ui/modules/app.computed.dashboard.mjs +126 -113
  43. package/web-ui/modules/app.computed.index.mjs +17 -15
  44. package/web-ui/modules/app.computed.main-tabs.mjs +202 -195
  45. package/web-ui/modules/app.computed.session.mjs +653 -507
  46. package/web-ui/modules/app.constants.mjs +15 -15
  47. package/web-ui/modules/app.methods.agents.mjs +544 -493
  48. package/web-ui/modules/app.methods.claude-config.mjs +174 -174
  49. package/web-ui/modules/app.methods.codex-config.mjs +795 -640
  50. package/web-ui/modules/app.methods.index.mjs +92 -88
  51. package/web-ui/modules/app.methods.install.mjs +177 -149
  52. package/web-ui/modules/app.methods.navigation.mjs +662 -619
  53. package/web-ui/modules/app.methods.openclaw-core.mjs +814 -814
  54. package/web-ui/modules/app.methods.openclaw-editing.mjs +372 -372
  55. package/web-ui/modules/app.methods.openclaw-persist.mjs +369 -369
  56. package/web-ui/modules/app.methods.providers.mjs +404 -363
  57. package/web-ui/modules/app.methods.runtime.mjs +323 -323
  58. package/web-ui/modules/app.methods.session-actions.mjs +537 -520
  59. package/web-ui/modules/app.methods.session-browser.mjs +691 -626
  60. package/web-ui/modules/app.methods.session-timeline.mjs +448 -448
  61. package/web-ui/modules/app.methods.session-trash.mjs +422 -422
  62. package/web-ui/modules/app.methods.startup-claude.mjs +417 -412
  63. package/web-ui/modules/app.methods.task-orchestration.mjs +556 -471
  64. package/web-ui/modules/config-mode.computed.mjs +126 -126
  65. package/web-ui/modules/config-template-confirm-pref.mjs +33 -0
  66. package/web-ui/modules/i18n.mjs +1823 -0
  67. package/web-ui/modules/plugins.computed.mjs +3 -0
  68. package/web-ui/modules/plugins.methods.mjs +3 -0
  69. package/web-ui/modules/plugins.storage.mjs +11 -0
  70. package/web-ui/modules/sessions-filters-url.mjs +85 -0
  71. package/web-ui/modules/skills.computed.mjs +107 -107
  72. package/web-ui/modules/skills.methods.mjs +481 -481
  73. package/web-ui/partials/index/layout-footer.html +13 -13
  74. package/web-ui/partials/index/layout-header.html +461 -402
  75. package/web-ui/partials/index/modal-config-template-agents.html +175 -125
  76. package/web-ui/partials/index/modal-confirm-toast.html +32 -32
  77. package/web-ui/partials/index/modal-health-check.html +72 -72
  78. package/web-ui/partials/index/modal-openclaw-config.html +280 -280
  79. package/web-ui/partials/index/modal-skills.html +200 -184
  80. package/web-ui/partials/index/modals-basic.html +165 -156
  81. package/web-ui/partials/index/panel-config-claude.html +159 -126
  82. package/web-ui/partials/index/panel-config-codex.html +255 -237
  83. package/web-ui/partials/index/panel-config-openclaw.html +78 -78
  84. package/web-ui/partials/index/panel-docs.html +147 -130
  85. package/web-ui/partials/index/panel-market.html +174 -174
  86. package/web-ui/partials/index/panel-orchestration.html +388 -397
  87. package/web-ui/partials/index/panel-plugins.html +273 -0
  88. package/web-ui/partials/index/panel-sessions.html +298 -292
  89. package/web-ui/partials/index/panel-settings.html +258 -190
  90. package/web-ui/partials/index/panel-usage.html +353 -213
  91. package/web-ui/session-helpers.mjs +573 -559
  92. package/web-ui/source-bundle.cjs +233 -233
  93. package/web-ui/styles/base-theme.css +264 -271
  94. package/web-ui/styles/controls-forms.css +369 -360
  95. package/web-ui/styles/docs-panel.css +247 -182
  96. package/web-ui/styles/feedback.css +108 -108
  97. package/web-ui/styles/health-check-dialog.css +144 -144
  98. package/web-ui/styles/layout-shell.css +602 -376
  99. package/web-ui/styles/modals-core.css +464 -464
  100. package/web-ui/styles/navigation-panels.css +390 -348
  101. package/web-ui/styles/openclaw-structured.css +266 -266
  102. package/web-ui/styles/plugins-panel.css +523 -0
  103. package/web-ui/styles/responsive.css +456 -450
  104. package/web-ui/styles/sessions-list.css +400 -400
  105. package/web-ui/styles/sessions-preview.css +411 -411
  106. package/web-ui/styles/sessions-toolbar-trash.css +268 -243
  107. package/web-ui/styles/sessions-usage.css +879 -628
  108. package/web-ui/styles/settings-panel.css +166 -0
  109. package/web-ui/styles/skills-list.css +303 -296
  110. package/web-ui/styles/skills-market.css +406 -335
  111. package/web-ui/styles/task-orchestration.css +822 -776
  112. package/web-ui/styles/titles-cards.css +408 -408
  113. package/web-ui/styles.css +20 -18
  114. package/web-ui.html +17 -17
  115. package/README.en.md +0 -349
@@ -1,400 +1,400 @@
1
- .session-empty {
2
- padding: 28px var(--spacing-sm);
3
- text-align: center;
4
- border: 1px dashed var(--color-border-soft);
5
- border-radius: var(--radius-lg);
6
- color: var(--color-text-tertiary);
7
- background: var(--bg-warm-gradient);
8
- position: relative;
9
- box-shadow: var(--shadow-subtle);
10
- }
11
-
12
- .session-empty::before {
13
- content: "";
14
- display: block;
15
- width: 36px;
16
- height: 36px;
17
- border-radius: 50%;
18
- margin: 0 auto 10px;
19
- background: rgba(210, 107, 90, 0.12);
20
- box-shadow: inset 0 0 0 6px rgba(255, 255, 255, 0.7);
21
- }
22
-
23
- .trash-list {
24
- display: grid;
25
- gap: 12px;
26
- margin-top: 12px;
27
- }
28
-
29
- .trash-item.session-item {
30
- min-height: auto;
31
- height: auto;
32
- cursor: default;
33
- content-visibility: visible;
34
- contain-intrinsic-size: auto;
35
- }
36
-
37
- .trash-item.session-item:hover,
38
- .trash-item.session-item:active {
39
- transform: none;
40
- border-color: var(--color-border-soft);
41
- background: linear-gradient(to bottom, var(--color-surface) 0%, rgba(255, 255, 255, 0.92) 100%);
42
- box-shadow: var(--shadow-subtle);
43
- }
44
-
45
- .trash-item.session-item::before {
46
- background: linear-gradient(180deg, rgba(70, 86, 110, 0.26), rgba(70, 86, 110, 0.08));
47
- }
48
-
49
- .trash-item-main {
50
- min-width: 0;
51
- flex: 1;
52
- }
53
-
54
- .trash-item-mainline {
55
- display: flex;
56
- align-items: flex-start;
57
- gap: 8px;
58
- }
59
-
60
- .trash-item-title {
61
- flex: 1;
62
- font-size: var(--font-size-body);
63
- font-weight: var(--font-weight-secondary);
64
- color: var(--color-text-primary);
65
- line-height: 1.4;
66
- display: -webkit-box;
67
- -webkit-line-clamp: 2;
68
- -webkit-box-orient: vertical;
69
- white-space: normal;
70
- overflow: hidden;
71
- overflow-wrap: anywhere;
72
- }
73
-
74
- .trash-item-meta {
75
- margin-top: 6px;
76
- }
77
-
78
- .trash-item-side {
79
- display: flex;
80
- flex-direction: column;
81
- align-items: flex-end;
82
- gap: 8px;
83
- flex-shrink: 0;
84
- min-width: 132px;
85
- }
86
-
87
- .trash-item-actions {
88
- display: grid;
89
- grid-template-columns: repeat(2, minmax(116px, 116px));
90
- align-self: flex-end;
91
- justify-content: flex-end;
92
- gap: 8px;
93
- }
94
-
95
- .trash-item-actions .btn-mini {
96
- width: 100%;
97
- height: 38px;
98
- min-height: 38px;
99
- padding: 0 12px;
100
- display: inline-flex;
101
- align-items: center;
102
- justify-content: center;
103
- line-height: 1;
104
- white-space: nowrap;
105
- }
106
-
107
- .trash-item-time {
108
- width: 100%;
109
- text-align: right;
110
- white-space: nowrap;
111
- color: var(--color-text-tertiary);
112
- }
113
-
114
- .trash-item-path {
115
- margin-top: 8px;
116
- display: grid;
117
- grid-template-columns: 48px minmax(0, 1fr);
118
- gap: 8px;
119
- align-items: start;
120
- white-space: normal;
121
- overflow-wrap: anywhere;
122
- }
123
-
124
- .trash-item-label {
125
- display: inline-block;
126
- color: var(--color-text-secondary);
127
- font-weight: var(--font-weight-secondary);
128
- }
129
-
130
- .trash-item-path span:last-child {
131
- min-width: 0;
132
- word-break: break-word;
133
- }
134
-
135
- .trash-item .session-count-badge {
136
- margin-top: 2px;
137
- }
138
-
139
- .session-layout {
140
- display: grid;
141
- grid-template-columns: minmax(260px, 360px) minmax(0, 1fr);
142
- gap: var(--spacing-sm);
143
- align-items: start;
144
- height: min(72vh, 760px);
145
- min-height: 520px;
146
- }
147
-
148
- .session-layout.session-standalone {
149
- grid-template-columns: minmax(0, 1fr);
150
- }
151
-
152
- .session-standalone-page {
153
- max-width: 960px;
154
- margin: 0 auto;
155
- padding: var(--spacing-sm) 0;
156
- }
157
-
158
- .session-standalone-title {
159
- font-size: var(--font-size-title);
160
- font-weight: var(--font-weight-title);
161
- color: var(--color-text-primary);
162
- margin-bottom: var(--spacing-sm);
163
- letter-spacing: -0.01em;
164
- }
165
-
166
- .session-standalone-text {
167
- white-space: pre-wrap;
168
- font-family: var(--font-family-body);
169
- font-size: var(--font-size-body);
170
- line-height: 1.7;
171
- color: var(--color-text-primary);
172
- word-break: break-word;
173
- }
174
-
175
- .session-list {
176
- display: flex;
177
- flex-direction: column;
178
- gap: var(--spacing-xs);
179
- position: sticky;
180
- top: 12px;
181
- height: 100%;
182
- max-height: none;
183
- overflow-y: auto;
184
- overflow-x: hidden;
185
- padding-right: 0;
186
- min-width: 0;
187
- scrollbar-width: none;
188
- -ms-overflow-style: none;
189
- }
190
-
191
- .session-list::-webkit-scrollbar {
192
- width: 0;
193
- height: 0;
194
- display: none;
195
- }
196
-
197
- .session-item {
198
- border: 1px solid var(--color-border-soft);
199
- border-radius: var(--radius-sm);
200
- background: linear-gradient(to bottom, var(--color-surface) 0%, rgba(255, 255, 255, 0.92) 100%);
201
- padding: 16px;
202
- cursor: pointer;
203
- transition: all var(--transition-fast) var(--ease-spring);
204
- user-select: none;
205
- min-width: 0;
206
- position: relative;
207
- overflow: hidden;
208
- min-height: 102px;
209
- content-visibility: auto;
210
- contain-intrinsic-size: 102px;
211
- }
212
-
213
- .session-item-header {
214
- display: flex;
215
- align-items: center;
216
- justify-content: space-between;
217
- gap: 10px;
218
- margin-bottom: 4px;
219
- }
220
-
221
- .session-item-main {
222
- min-width: 0;
223
- flex: 1;
224
- display: flex;
225
- align-items: center;
226
- gap: 8px;
227
- }
228
-
229
- .session-item:hover {
230
- border-color: var(--color-brand);
231
- background: linear-gradient(to bottom, rgba(210, 107, 90, 0.08) 0%, rgba(255, 255, 255, 0.98) 100%);
232
- transform: translateY(-1px);
233
- }
234
-
235
- .session-item:focus-visible {
236
- outline: 3px solid rgba(201, 94, 75, 0.25);
237
- outline-offset: 2px;
238
- border-color: var(--color-brand);
239
- background: linear-gradient(to bottom, rgba(210, 107, 90, 0.08) 0%, rgba(255, 255, 255, 0.98) 100%);
240
- }
241
-
242
- .session-item::before {
243
- content: "";
244
- position: absolute;
245
- left: 0;
246
- top: 10px;
247
- bottom: 10px;
248
- width: 3px;
249
- border-radius: 999px;
250
- background: rgba(210, 107, 90, 0.15);
251
- transition: background var(--transition-fast) var(--ease-spring);
252
- }
253
-
254
- .session-item:active {
255
- transform: scale(0.99);
256
- }
257
-
258
- .session-item.active {
259
- border-color: var(--color-brand);
260
- background: linear-gradient(to bottom, rgba(210, 107, 90, 0.1) 0%, rgba(255, 255, 255, 0.98) 100%);
261
- box-shadow: 0 6px 16px rgba(210, 107, 90, 0.12);
262
- }
263
-
264
- .session-item.pinned {
265
- border-color: rgba(208, 88, 58, 0.42);
266
- background: linear-gradient(to bottom, rgba(210, 107, 90, 0.12) 0%, rgba(255, 251, 247, 0.98) 100%);
267
- box-shadow: 0 8px 18px rgba(210, 107, 90, 0.10);
268
- }
269
-
270
- .session-item.pinned::before {
271
- background: linear-gradient(180deg, rgba(201, 94, 75, 0.8), rgba(201, 94, 75, 0.32));
272
- }
273
-
274
- .session-item.active::before {
275
- background: linear-gradient(180deg, rgba(201, 94, 75, 0.9), rgba(201, 94, 75, 0.4));
276
- }
277
-
278
- .session-item-title {
279
- font-size: var(--font-size-body);
280
- font-weight: var(--font-weight-secondary);
281
- color: var(--color-text-primary);
282
- line-height: 1.4;
283
- display: -webkit-box;
284
- -webkit-line-clamp: 2;
285
- -webkit-box-orient: vertical;
286
- white-space: normal;
287
- overflow: hidden;
288
- flex: 1;
289
- max-width: none;
290
- }
291
-
292
- .session-item-actions {
293
- display: inline-flex;
294
- align-items: center;
295
- gap: 6px;
296
- flex-shrink: 0;
297
- }
298
-
299
- .session-item-copy {
300
- border: 1px solid rgba(70, 86, 110, 0.35);
301
- background: rgba(70, 86, 110, 0.08);
302
- color: var(--color-text-secondary);
303
- width: 22px;
304
- height: 22px;
305
- border-radius: 8px;
306
- display: inline-flex;
307
- align-items: center;
308
- justify-content: center;
309
- cursor: pointer;
310
- flex-shrink: 0;
311
- transition: all var(--transition-fast) var(--ease-spring);
312
- }
313
-
314
- .session-item-copy:hover {
315
- border-color: rgba(70, 86, 110, 0.7);
316
- background: rgba(70, 86, 110, 0.16);
317
- color: var(--color-text-primary);
318
- transform: translateY(-1px);
319
- }
320
-
321
- .session-item-copy:disabled {
322
- opacity: 0.5;
323
- cursor: not-allowed;
324
- transform: none;
325
- }
326
-
327
- .session-item-copy svg {
328
- width: 10px;
329
- height: 10px;
330
- }
331
-
332
- .session-item-pin {
333
- border-color: rgba(208, 88, 58, 0.24);
334
- }
335
-
336
- .session-item-pin .pin-icon,
337
- .session-item-pin svg {
338
- width: 9px;
339
- height: 9px;
340
- color: rgba(208, 88, 58, 0.78);
341
- }
342
-
343
- .session-item.pinned .session-item-pin {
344
- background: rgba(208, 88, 58, 0.16);
345
- border-color: rgba(208, 88, 58, 0.46);
346
- box-shadow: inset 0 0 0 1px rgba(208, 88, 58, 0.08);
347
- }
348
-
349
- .session-item.pinned .session-item-pin .pin-icon,
350
- .session-item.pinned .session-item-pin svg {
351
- color: var(--color-brand-dark);
352
- }
353
-
354
- .session-item-sub.session-item-snippet {
355
- display: none !important;
356
- }
357
-
358
- .session-item-sub {
359
- font-size: var(--font-size-caption);
360
- color: var(--color-text-tertiary);
361
- line-height: 1.35;
362
- white-space: nowrap;
363
- overflow: hidden;
364
- text-overflow: ellipsis;
365
- }
366
-
367
- .session-item-sub.session-item-wrap {
368
- white-space: normal;
369
- }
370
-
371
- .session-item-meta {
372
- display: flex;
373
- flex-wrap: wrap;
374
- align-items: center;
375
- gap: 6px;
376
- margin-top: 2px;
377
- margin-bottom: 2px;
378
- }
379
-
380
- .session-item-time {
381
- font-size: var(--font-size-caption);
382
- color: var(--color-text-tertiary);
383
- white-space: nowrap;
384
- }
385
-
386
- .session-preview {
387
- border: 1px solid var(--color-border-soft);
388
- border-radius: var(--radius-xl);
389
- background: linear-gradient(to bottom, var(--color-surface-elevated) 0%, rgba(255, 255, 255, 0.96) 100%);
390
- box-shadow: var(--shadow-card);
391
- min-height: 0;
392
- max-height: none;
393
- height: 100%;
394
- display: flex;
395
- flex-direction: column;
396
- overflow: hidden;
397
- position: relative;
398
- transform: translateX(4px);
399
- transition: transform var(--transition-normal) var(--ease-spring-soft), box-shadow var(--transition-normal) var(--ease-spring-soft);
400
- }
1
+ .session-empty {
2
+ padding: 28px var(--spacing-sm);
3
+ text-align: center;
4
+ border: 1px dashed var(--color-border-soft);
5
+ border-radius: var(--radius-lg);
6
+ color: var(--color-text-tertiary);
7
+ background: var(--bg-warm-gradient);
8
+ position: relative;
9
+ box-shadow: var(--shadow-subtle);
10
+ }
11
+
12
+ .session-empty::before {
13
+ content: "";
14
+ display: block;
15
+ width: 36px;
16
+ height: 36px;
17
+ border-radius: 50%;
18
+ margin: 0 auto 10px;
19
+ background: rgba(210, 107, 90, 0.12);
20
+ box-shadow: inset 0 0 0 6px rgba(255, 255, 255, 0.7);
21
+ }
22
+
23
+ .trash-list {
24
+ display: grid;
25
+ gap: 12px;
26
+ margin-top: 12px;
27
+ }
28
+
29
+ .trash-item.session-item {
30
+ min-height: auto;
31
+ height: auto;
32
+ cursor: default;
33
+ content-visibility: visible;
34
+ contain-intrinsic-size: auto;
35
+ }
36
+
37
+ .trash-item.session-item:hover,
38
+ .trash-item.session-item:active {
39
+ transform: none;
40
+ border-color: var(--color-border-soft);
41
+ background: linear-gradient(to bottom, var(--color-surface) 0%, rgba(255, 255, 255, 0.92) 100%);
42
+ box-shadow: var(--shadow-subtle);
43
+ }
44
+
45
+ .trash-item.session-item::before {
46
+ background: linear-gradient(180deg, rgba(70, 86, 110, 0.26), rgba(70, 86, 110, 0.08));
47
+ }
48
+
49
+ .trash-item-main {
50
+ min-width: 0;
51
+ flex: 1;
52
+ }
53
+
54
+ .trash-item-mainline {
55
+ display: flex;
56
+ align-items: flex-start;
57
+ gap: 8px;
58
+ }
59
+
60
+ .trash-item-title {
61
+ flex: 1;
62
+ font-size: var(--font-size-body);
63
+ font-weight: var(--font-weight-secondary);
64
+ color: var(--color-text-primary);
65
+ line-height: 1.4;
66
+ display: -webkit-box;
67
+ -webkit-line-clamp: 2;
68
+ -webkit-box-orient: vertical;
69
+ white-space: normal;
70
+ overflow: hidden;
71
+ overflow-wrap: anywhere;
72
+ }
73
+
74
+ .trash-item-meta {
75
+ margin-top: 6px;
76
+ }
77
+
78
+ .trash-item-side {
79
+ display: flex;
80
+ flex-direction: column;
81
+ align-items: flex-end;
82
+ gap: 8px;
83
+ flex-shrink: 0;
84
+ min-width: 132px;
85
+ }
86
+
87
+ .trash-item-actions {
88
+ display: grid;
89
+ grid-template-columns: repeat(2, minmax(116px, 116px));
90
+ align-self: flex-end;
91
+ justify-content: flex-end;
92
+ gap: 8px;
93
+ }
94
+
95
+ .trash-item-actions .btn-mini {
96
+ width: 100%;
97
+ height: 38px;
98
+ min-height: 38px;
99
+ padding: 0 12px;
100
+ display: inline-flex;
101
+ align-items: center;
102
+ justify-content: center;
103
+ line-height: 1;
104
+ white-space: nowrap;
105
+ }
106
+
107
+ .trash-item-time {
108
+ width: 100%;
109
+ text-align: right;
110
+ white-space: nowrap;
111
+ color: var(--color-text-tertiary);
112
+ }
113
+
114
+ .trash-item-path {
115
+ margin-top: 8px;
116
+ display: grid;
117
+ grid-template-columns: 48px minmax(0, 1fr);
118
+ gap: 8px;
119
+ align-items: start;
120
+ white-space: normal;
121
+ overflow-wrap: anywhere;
122
+ }
123
+
124
+ .trash-item-label {
125
+ display: inline-block;
126
+ color: var(--color-text-secondary);
127
+ font-weight: var(--font-weight-secondary);
128
+ }
129
+
130
+ .trash-item-path span:last-child {
131
+ min-width: 0;
132
+ word-break: break-word;
133
+ }
134
+
135
+ .trash-item .session-count-badge {
136
+ margin-top: 2px;
137
+ }
138
+
139
+ .session-layout {
140
+ display: grid;
141
+ grid-template-columns: minmax(260px, 360px) minmax(0, 1fr);
142
+ gap: var(--spacing-sm);
143
+ align-items: start;
144
+ height: min(72vh, 760px);
145
+ min-height: 520px;
146
+ }
147
+
148
+ .session-layout.session-standalone {
149
+ grid-template-columns: minmax(0, 1fr);
150
+ }
151
+
152
+ .session-standalone-page {
153
+ max-width: 960px;
154
+ margin: 0 auto;
155
+ padding: var(--spacing-sm) 0;
156
+ }
157
+
158
+ .session-standalone-title {
159
+ font-size: var(--font-size-title);
160
+ font-weight: var(--font-weight-title);
161
+ color: var(--color-text-primary);
162
+ margin-bottom: var(--spacing-sm);
163
+ letter-spacing: -0.01em;
164
+ }
165
+
166
+ .session-standalone-text {
167
+ white-space: pre-wrap;
168
+ font-family: var(--font-family-body);
169
+ font-size: var(--font-size-body);
170
+ line-height: 1.7;
171
+ color: var(--color-text-primary);
172
+ word-break: break-word;
173
+ }
174
+
175
+ .session-list {
176
+ display: flex;
177
+ flex-direction: column;
178
+ gap: var(--spacing-xs);
179
+ position: sticky;
180
+ top: 12px;
181
+ height: 100%;
182
+ max-height: none;
183
+ overflow-y: auto;
184
+ overflow-x: hidden;
185
+ padding-right: 0;
186
+ min-width: 0;
187
+ scrollbar-width: none;
188
+ -ms-overflow-style: none;
189
+ }
190
+
191
+ .session-list::-webkit-scrollbar {
192
+ width: 0;
193
+ height: 0;
194
+ display: none;
195
+ }
196
+
197
+ .session-item {
198
+ border: 1px solid var(--color-border-soft);
199
+ border-radius: var(--radius-sm);
200
+ background: linear-gradient(to bottom, var(--color-surface) 0%, rgba(255, 255, 255, 0.92) 100%);
201
+ padding: 16px;
202
+ cursor: pointer;
203
+ transition: all var(--transition-fast) var(--ease-spring);
204
+ user-select: none;
205
+ min-width: 0;
206
+ position: relative;
207
+ overflow: hidden;
208
+ min-height: 102px;
209
+ content-visibility: auto;
210
+ contain-intrinsic-size: 102px;
211
+ }
212
+
213
+ .session-item-header {
214
+ display: flex;
215
+ align-items: center;
216
+ justify-content: space-between;
217
+ gap: 10px;
218
+ margin-bottom: 4px;
219
+ }
220
+
221
+ .session-item-main {
222
+ min-width: 0;
223
+ flex: 1;
224
+ display: flex;
225
+ align-items: center;
226
+ gap: 8px;
227
+ }
228
+
229
+ .session-item:hover {
230
+ border-color: var(--color-brand);
231
+ background: linear-gradient(to bottom, rgba(210, 107, 90, 0.08) 0%, rgba(255, 255, 255, 0.98) 100%);
232
+ transform: translateY(-1px);
233
+ }
234
+
235
+ .session-item:focus-visible {
236
+ outline: 3px solid rgba(201, 94, 75, 0.25);
237
+ outline-offset: 2px;
238
+ border-color: var(--color-brand);
239
+ background: linear-gradient(to bottom, rgba(210, 107, 90, 0.08) 0%, rgba(255, 255, 255, 0.98) 100%);
240
+ }
241
+
242
+ .session-item::before {
243
+ content: "";
244
+ position: absolute;
245
+ left: 0;
246
+ top: 10px;
247
+ bottom: 10px;
248
+ width: 3px;
249
+ border-radius: 999px;
250
+ background: rgba(210, 107, 90, 0.15);
251
+ transition: background var(--transition-fast) var(--ease-spring);
252
+ }
253
+
254
+ .session-item:active {
255
+ transform: scale(0.99);
256
+ }
257
+
258
+ .session-item.active {
259
+ border-color: var(--color-brand);
260
+ background: linear-gradient(to bottom, rgba(210, 107, 90, 0.1) 0%, rgba(255, 255, 255, 0.98) 100%);
261
+ box-shadow: 0 6px 16px rgba(210, 107, 90, 0.12);
262
+ }
263
+
264
+ .session-item.pinned {
265
+ border-color: rgba(208, 88, 58, 0.42);
266
+ background: linear-gradient(to bottom, rgba(210, 107, 90, 0.12) 0%, rgba(255, 251, 247, 0.98) 100%);
267
+ box-shadow: 0 8px 18px rgba(210, 107, 90, 0.10);
268
+ }
269
+
270
+ .session-item.pinned::before {
271
+ background: linear-gradient(180deg, rgba(201, 94, 75, 0.8), rgba(201, 94, 75, 0.32));
272
+ }
273
+
274
+ .session-item.active::before {
275
+ background: linear-gradient(180deg, rgba(201, 94, 75, 0.9), rgba(201, 94, 75, 0.4));
276
+ }
277
+
278
+ .session-item-title {
279
+ font-size: var(--font-size-body);
280
+ font-weight: var(--font-weight-secondary);
281
+ color: var(--color-text-primary);
282
+ line-height: 1.4;
283
+ display: -webkit-box;
284
+ -webkit-line-clamp: 2;
285
+ -webkit-box-orient: vertical;
286
+ white-space: normal;
287
+ overflow: hidden;
288
+ flex: 1;
289
+ max-width: none;
290
+ }
291
+
292
+ .session-item-actions {
293
+ display: inline-flex;
294
+ align-items: center;
295
+ gap: 6px;
296
+ flex-shrink: 0;
297
+ }
298
+
299
+ .session-item-copy {
300
+ border: 1px solid rgba(70, 86, 110, 0.35);
301
+ background: rgba(70, 86, 110, 0.08);
302
+ color: var(--color-text-secondary);
303
+ width: 22px;
304
+ height: 22px;
305
+ border-radius: 8px;
306
+ display: inline-flex;
307
+ align-items: center;
308
+ justify-content: center;
309
+ cursor: pointer;
310
+ flex-shrink: 0;
311
+ transition: all var(--transition-fast) var(--ease-spring);
312
+ }
313
+
314
+ .session-item-copy:hover {
315
+ border-color: rgba(70, 86, 110, 0.7);
316
+ background: rgba(70, 86, 110, 0.16);
317
+ color: var(--color-text-primary);
318
+ transform: translateY(-1px);
319
+ }
320
+
321
+ .session-item-copy:disabled {
322
+ opacity: 0.5;
323
+ cursor: not-allowed;
324
+ transform: none;
325
+ }
326
+
327
+ .session-item-copy svg {
328
+ width: 10px;
329
+ height: 10px;
330
+ }
331
+
332
+ .session-item-pin {
333
+ border-color: rgba(208, 88, 58, 0.24);
334
+ }
335
+
336
+ .session-item-pin .pin-icon,
337
+ .session-item-pin svg {
338
+ width: 9px;
339
+ height: 9px;
340
+ color: rgba(208, 88, 58, 0.78);
341
+ }
342
+
343
+ .session-item.pinned .session-item-pin {
344
+ background: rgba(208, 88, 58, 0.16);
345
+ border-color: rgba(208, 88, 58, 0.46);
346
+ box-shadow: inset 0 0 0 1px rgba(208, 88, 58, 0.08);
347
+ }
348
+
349
+ .session-item.pinned .session-item-pin .pin-icon,
350
+ .session-item.pinned .session-item-pin svg {
351
+ color: var(--color-brand-dark);
352
+ }
353
+
354
+ .session-item-sub.session-item-snippet {
355
+ display: none !important;
356
+ }
357
+
358
+ .session-item-sub {
359
+ font-size: var(--font-size-caption);
360
+ color: var(--color-text-tertiary);
361
+ line-height: 1.35;
362
+ white-space: nowrap;
363
+ overflow: hidden;
364
+ text-overflow: ellipsis;
365
+ }
366
+
367
+ .session-item-sub.session-item-wrap {
368
+ white-space: normal;
369
+ }
370
+
371
+ .session-item-meta {
372
+ display: flex;
373
+ flex-wrap: wrap;
374
+ align-items: center;
375
+ gap: 6px;
376
+ margin-top: 2px;
377
+ margin-bottom: 2px;
378
+ }
379
+
380
+ .session-item-time {
381
+ font-size: var(--font-size-caption);
382
+ color: var(--color-text-tertiary);
383
+ white-space: nowrap;
384
+ }
385
+
386
+ .session-preview {
387
+ border: 1px solid var(--color-border-soft);
388
+ border-radius: var(--radius-xl);
389
+ background: linear-gradient(to bottom, var(--color-surface-elevated) 0%, rgba(255, 255, 255, 0.96) 100%);
390
+ box-shadow: var(--shadow-card);
391
+ min-height: 0;
392
+ max-height: none;
393
+ height: 100%;
394
+ display: flex;
395
+ flex-direction: column;
396
+ overflow: hidden;
397
+ position: relative;
398
+ transform: translateX(4px);
399
+ transition: transform var(--transition-normal) var(--ease-spring-soft), box-shadow var(--transition-normal) var(--ease-spring-soft);
400
+ }