codexmate 0.0.24 → 0.0.26

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 (136) hide show
  1. package/README.md +416 -391
  2. package/README.zh.md +349 -324
  3. package/cli/agents-files.js +224 -224
  4. package/cli/archive-helpers.js +446 -446
  5. package/cli/auth-profiles.js +375 -375
  6. package/cli/builtin-proxy.js +1079 -1044
  7. package/cli/claude-proxy.js +1022 -998
  8. package/cli/config-bootstrap.js +384 -384
  9. package/cli/config-health.js +338 -338
  10. package/cli/doctor-core.js +903 -903
  11. package/cli/import-skills-url.js +356 -334
  12. package/cli/openai-bridge.js +997 -950
  13. package/cli/openclaw-config.js +629 -629
  14. package/cli/session-convert-args.js +65 -0
  15. package/cli/session-convert-io.js +82 -0
  16. package/cli/session-convert.js +43 -0
  17. package/cli/session-usage.concurrent.js +28 -28
  18. package/cli/session-usage.js +118 -112
  19. package/cli/session-usage.models.js +176 -176
  20. package/cli/skills.js +1141 -1141
  21. package/cli/zip-commands.js +510 -510
  22. package/cli.js +15218 -13310
  23. package/lib/automation.js +404 -0
  24. package/lib/cli-file-utils.js +151 -151
  25. package/lib/cli-models-utils.js +379 -379
  26. package/lib/cli-network-utils.js +190 -190
  27. package/lib/cli-path-utils.js +85 -69
  28. package/lib/cli-session-utils.js +121 -121
  29. package/lib/cli-sessions.js +417 -386
  30. package/lib/cli-utils.js +155 -155
  31. package/lib/download-artifacts.js +92 -77
  32. package/lib/mcp-stdio.js +453 -440
  33. package/lib/task-orchestrator.js +869 -869
  34. package/lib/text-diff.js +303 -303
  35. package/lib/workflow-engine.js +340 -340
  36. package/package.json +74 -77
  37. package/plugins/README.md +20 -20
  38. package/plugins/README.zh-CN.md +20 -20
  39. package/plugins/prompt-templates/comment-polish/index.mjs +25 -25
  40. package/plugins/prompt-templates/computed.mjs +253 -253
  41. package/plugins/prompt-templates/index.mjs +8 -8
  42. package/plugins/prompt-templates/manifest.mjs +15 -15
  43. package/plugins/prompt-templates/methods.mjs +619 -619
  44. package/plugins/prompt-templates/overview.mjs +90 -90
  45. package/plugins/prompt-templates/ownership.mjs +19 -19
  46. package/plugins/prompt-templates/rule-ack/index.mjs +21 -21
  47. package/plugins/prompt-templates/storage.mjs +64 -64
  48. package/plugins/registry.mjs +16 -16
  49. package/web-ui/app.js +625 -609
  50. package/web-ui/index.html +35 -35
  51. package/web-ui/logic.agents-diff.mjs +386 -386
  52. package/web-ui/logic.claude.mjs +168 -168
  53. package/web-ui/logic.mjs +5 -5
  54. package/web-ui/logic.runtime.mjs +128 -128
  55. package/web-ui/logic.session-convert.mjs +70 -0
  56. package/web-ui/logic.sessions.mjs +709 -614
  57. package/web-ui/modules/api.mjs +90 -90
  58. package/web-ui/modules/app.computed.dashboard.mjs +171 -126
  59. package/web-ui/modules/app.computed.index.mjs +17 -17
  60. package/web-ui/modules/app.computed.main-tabs.mjs +205 -205
  61. package/web-ui/modules/app.computed.session.mjs +946 -653
  62. package/web-ui/modules/app.constants.mjs +15 -15
  63. package/web-ui/modules/app.methods.agents.mjs +632 -632
  64. package/web-ui/modules/app.methods.claude-config.mjs +179 -174
  65. package/web-ui/modules/app.methods.codex-config.mjs +860 -784
  66. package/web-ui/modules/app.methods.index.mjs +92 -92
  67. package/web-ui/modules/app.methods.install.mjs +205 -177
  68. package/web-ui/modules/app.methods.navigation.mjs +743 -695
  69. package/web-ui/modules/app.methods.openclaw-core.mjs +814 -814
  70. package/web-ui/modules/app.methods.openclaw-editing.mjs +372 -372
  71. package/web-ui/modules/app.methods.openclaw-persist.mjs +369 -369
  72. package/web-ui/modules/app.methods.providers.mjs +404 -404
  73. package/web-ui/modules/app.methods.runtime.mjs +345 -345
  74. package/web-ui/modules/app.methods.session-actions.mjs +596 -537
  75. package/web-ui/modules/app.methods.session-browser.mjs +985 -698
  76. package/web-ui/modules/app.methods.session-timeline.mjs +479 -448
  77. package/web-ui/modules/app.methods.session-trash.mjs +424 -422
  78. package/web-ui/modules/app.methods.startup-claude.mjs +522 -417
  79. package/web-ui/modules/app.methods.task-orchestration.mjs +556 -556
  80. package/web-ui/modules/config-mode.computed.mjs +124 -124
  81. package/web-ui/modules/config-template-confirm-pref.mjs +33 -33
  82. package/web-ui/modules/i18n.dict.mjs +2113 -2039
  83. package/web-ui/modules/i18n.mjs +56 -56
  84. package/web-ui/modules/plugins.computed.mjs +3 -3
  85. package/web-ui/modules/plugins.methods.mjs +3 -3
  86. package/web-ui/modules/plugins.storage.mjs +11 -11
  87. package/web-ui/modules/sessions-filters-url.mjs +85 -85
  88. package/web-ui/modules/skills.computed.mjs +107 -107
  89. package/web-ui/modules/skills.methods.mjs +481 -481
  90. package/web-ui/partials/index/layout-footer.html +13 -13
  91. package/web-ui/partials/index/layout-header.html +475 -465
  92. package/web-ui/partials/index/modal-config-template-agents.html +174 -174
  93. package/web-ui/partials/index/modal-confirm-toast.html +32 -32
  94. package/web-ui/partials/index/modal-health-check.html +45 -45
  95. package/web-ui/partials/index/modal-openclaw-config.html +280 -280
  96. package/web-ui/partials/index/modal-skills.html +200 -200
  97. package/web-ui/partials/index/modals-basic.html +165 -165
  98. package/web-ui/partials/index/panel-config-claude.html +184 -179
  99. package/web-ui/partials/index/panel-config-codex.html +283 -283
  100. package/web-ui/partials/index/panel-config-openclaw.html +83 -83
  101. package/web-ui/partials/index/panel-dashboard.html +186 -186
  102. package/web-ui/partials/index/panel-docs.html +147 -147
  103. package/web-ui/partials/index/panel-market.html +177 -177
  104. package/web-ui/partials/index/panel-orchestration.html +391 -391
  105. package/web-ui/partials/index/panel-plugins.html +279 -279
  106. package/web-ui/partials/index/panel-sessions.html +326 -301
  107. package/web-ui/partials/index/panel-settings.html +258 -258
  108. package/web-ui/partials/index/panel-usage.html +342 -354
  109. package/{res → web-ui/res}/json5.min.js +1 -1
  110. package/{res → web-ui/res}/vue.global.prod.js +13 -13
  111. package/web-ui/session-helpers.mjs +576 -573
  112. package/web-ui/source-bundle.cjs +233 -233
  113. package/web-ui/styles/base-theme.css +268 -264
  114. package/web-ui/styles/controls-forms.css +423 -376
  115. package/web-ui/styles/dashboard.css +274 -274
  116. package/web-ui/styles/docs-panel.css +247 -247
  117. package/web-ui/styles/feedback.css +108 -108
  118. package/web-ui/styles/health-check-dialog.css +144 -144
  119. package/web-ui/styles/layout-shell.css +603 -602
  120. package/web-ui/styles/modals-core.css +464 -464
  121. package/web-ui/styles/navigation-panels.css +390 -390
  122. package/web-ui/styles/openclaw-structured.css +266 -266
  123. package/web-ui/styles/plugins-panel.css +523 -523
  124. package/web-ui/styles/responsive.css +454 -456
  125. package/web-ui/styles/sessions-list.css +415 -400
  126. package/web-ui/styles/sessions-preview.css +411 -411
  127. package/web-ui/styles/sessions-toolbar-trash.css +330 -268
  128. package/web-ui/styles/sessions-usage.css +945 -888
  129. package/web-ui/styles/settings-panel.css +166 -166
  130. package/web-ui/styles/skills-list.css +303 -303
  131. package/web-ui/styles/skills-market.css +406 -406
  132. package/web-ui/styles/task-orchestration.css +822 -822
  133. package/web-ui/styles/titles-cards.css +408 -408
  134. package/web-ui/styles.css +21 -21
  135. package/web-ui.html +17 -17
  136. /package/{res → web-ui/res}/logo-pack.webp +0 -0
@@ -1,400 +1,415 @@
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: 360px;
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: 80px;
209
- content-visibility: auto;
210
- contain-intrinsic-size: 80px;
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: 360px;
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: 80px;
209
+ content-visibility: auto;
210
+ contain-intrinsic-size: 80px;
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
+ white-space: nowrap;
284
+ overflow: hidden;
285
+ text-overflow: ellipsis;
286
+ flex: 1;
287
+ max-width: none;
288
+ }
289
+
290
+ .session-item-actions {
291
+ display: inline-flex;
292
+ align-items: center;
293
+ gap: 6px;
294
+ flex-shrink: 0;
295
+ }
296
+
297
+ .session-item-copy {
298
+ border: 1px solid rgba(70, 86, 110, 0.35);
299
+ background: rgba(70, 86, 110, 0.08);
300
+ color: var(--color-text-secondary);
301
+ width: 22px;
302
+ height: 22px;
303
+ border-radius: 8px;
304
+ display: inline-flex;
305
+ align-items: center;
306
+ justify-content: center;
307
+ cursor: pointer;
308
+ flex-shrink: 0;
309
+ transition: all var(--transition-fast) var(--ease-spring);
310
+ }
311
+
312
+ .session-item-copy:hover {
313
+ border-color: rgba(70, 86, 110, 0.7);
314
+ background: rgba(70, 86, 110, 0.16);
315
+ color: var(--color-text-primary);
316
+ transform: translateY(-1px);
317
+ }
318
+
319
+ .session-item-copy:disabled {
320
+ opacity: 0.5;
321
+ cursor: not-allowed;
322
+ transform: none;
323
+ }
324
+
325
+ .session-item-copy svg {
326
+ width: 10px;
327
+ height: 10px;
328
+ }
329
+
330
+ .session-item-pin {
331
+ border-color: rgba(208, 88, 58, 0.24);
332
+ }
333
+
334
+ .session-item-pin .pin-icon,
335
+ .session-item-pin svg {
336
+ width: 9px;
337
+ height: 9px;
338
+ color: rgba(208, 88, 58, 0.78);
339
+ }
340
+
341
+ .session-item.pinned .session-item-pin {
342
+ background: rgba(208, 88, 58, 0.16);
343
+ border-color: rgba(208, 88, 58, 0.46);
344
+ box-shadow: inset 0 0 0 1px rgba(208, 88, 58, 0.08);
345
+ }
346
+
347
+ .session-item.pinned .session-item-pin .pin-icon,
348
+ .session-item.pinned .session-item-pin svg {
349
+ color: var(--color-brand-dark);
350
+ }
351
+
352
+ .session-item-sub.session-item-snippet {
353
+ display: none !important;
354
+ }
355
+
356
+ .session-item-sub {
357
+ font-size: var(--font-size-caption);
358
+ color: var(--color-text-tertiary);
359
+ line-height: 1.35;
360
+ white-space: nowrap;
361
+ overflow: hidden;
362
+ text-overflow: ellipsis;
363
+ }
364
+
365
+ .session-item-sub.session-item-wrap {
366
+ white-space: normal;
367
+ }
368
+
369
+ .session-item-meta {
370
+ display: flex;
371
+ flex-wrap: wrap;
372
+ align-items: center;
373
+ gap: 6px;
374
+ margin-top: 2px;
375
+ margin-bottom: 2px;
376
+ }
377
+
378
+ .session-item-time {
379
+ font-size: var(--font-size-caption);
380
+ color: var(--color-text-tertiary);
381
+ white-space: nowrap;
382
+ }
383
+
384
+ .session-item-hot {
385
+ font-size: var(--font-size-caption);
386
+ padding: 2px 6px;
387
+ border-radius: 999px;
388
+ background: rgba(208, 88, 58, 0.14);
389
+ border: 1px solid rgba(208, 88, 58, 0.26);
390
+ color: rgba(140, 46, 24, 0.9);
391
+ line-height: 1;
392
+ white-space: nowrap;
393
+ }
394
+
395
+ .session-item-cwd {
396
+ flex: 1 1 160px;
397
+ min-width: 160px;
398
+ color: var(--color-text-muted);
399
+ }
400
+
401
+ .session-preview {
402
+ border: 1px solid var(--color-border-soft);
403
+ border-radius: var(--radius-xl);
404
+ background: linear-gradient(to bottom, var(--color-surface-elevated) 0%, rgba(255, 255, 255, 0.96) 100%);
405
+ box-shadow: var(--shadow-card);
406
+ min-height: 0;
407
+ max-height: none;
408
+ height: 100%;
409
+ display: flex;
410
+ flex-direction: column;
411
+ overflow: hidden;
412
+ position: relative;
413
+ transform: translateX(4px);
414
+ transition: transform var(--transition-normal) var(--ease-spring-soft), box-shadow var(--transition-normal) var(--ease-spring-soft);
415
+ }