codexmate 0.0.29 → 0.0.31

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 (145) hide show
  1. package/README.md +363 -421
  2. package/README.zh.md +371 -354
  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 +1725 -1725
  7. package/cli/claude-proxy.js +1022 -1022
  8. package/cli/config-bootstrap.js +402 -384
  9. package/cli/config-health.js +454 -338
  10. package/cli/doctor-core.js +903 -903
  11. package/cli/import-skills-url.js +356 -356
  12. package/cli/local-bridge.js +324 -0
  13. package/cli/openai-bridge.js +1653 -1576
  14. package/cli/openclaw-config.js +629 -629
  15. package/cli/session-convert-args.js +69 -65
  16. package/cli/session-convert-io.js +82 -82
  17. package/cli/session-convert.js +150 -43
  18. package/cli/session-usage.concurrent.js +28 -28
  19. package/cli/session-usage.js +118 -118
  20. package/cli/session-usage.models.js +176 -176
  21. package/cli/skills.js +1141 -1141
  22. package/cli/zip-commands.js +510 -510
  23. package/cli.js +15778 -15340
  24. package/lib/automation.js +404 -404
  25. package/lib/cli-file-utils.js +151 -151
  26. package/lib/cli-models-utils.js +440 -440
  27. package/lib/cli-network-utils.js +190 -190
  28. package/lib/cli-path-utils.js +85 -85
  29. package/lib/cli-session-utils.js +121 -121
  30. package/lib/cli-sessions.js +417 -417
  31. package/lib/cli-utils.js +155 -155
  32. package/lib/cli-webhook.js +126 -126
  33. package/lib/download-artifacts.js +92 -92
  34. package/lib/mcp-stdio.js +453 -453
  35. package/lib/task-orchestrator.js +869 -869
  36. package/lib/text-diff.js +303 -303
  37. package/lib/workflow-engine.js +340 -340
  38. package/package.json +76 -76
  39. package/plugins/README.md +20 -20
  40. package/plugins/README.zh-CN.md +20 -20
  41. package/plugins/prompt-templates/comment-polish/index.mjs +25 -25
  42. package/plugins/prompt-templates/computed.mjs +253 -253
  43. package/plugins/prompt-templates/index.mjs +8 -8
  44. package/plugins/prompt-templates/manifest.mjs +15 -15
  45. package/plugins/prompt-templates/methods.mjs +553 -553
  46. package/plugins/prompt-templates/overview.mjs +91 -91
  47. package/plugins/prompt-templates/ownership.mjs +19 -19
  48. package/plugins/prompt-templates/rule-ack/index.mjs +21 -21
  49. package/plugins/prompt-templates/storage.mjs +64 -64
  50. package/plugins/registry.mjs +16 -16
  51. package/web-ui/app.js +646 -639
  52. package/web-ui/index.html +36 -36
  53. package/web-ui/logic.agents-diff.mjs +386 -386
  54. package/web-ui/logic.claude.mjs +168 -168
  55. package/web-ui/logic.codex.mjs +69 -69
  56. package/web-ui/logic.mjs +5 -5
  57. package/web-ui/logic.runtime.mjs +128 -128
  58. package/web-ui/logic.session-convert.mjs +70 -70
  59. package/web-ui/logic.sessions.mjs +765 -765
  60. package/web-ui/modules/api.mjs +90 -90
  61. package/web-ui/modules/app.computed.dashboard.mjs +248 -225
  62. package/web-ui/modules/app.computed.index.mjs +17 -17
  63. package/web-ui/modules/app.computed.main-tabs.mjs +205 -205
  64. package/web-ui/modules/app.computed.session.mjs +999 -999
  65. package/web-ui/modules/app.constants.mjs +15 -15
  66. package/web-ui/modules/app.methods.agents.mjs +632 -632
  67. package/web-ui/modules/app.methods.claude-config.mjs +200 -200
  68. package/web-ui/modules/app.methods.codex-config.mjs +841 -892
  69. package/web-ui/modules/app.methods.index.mjs +94 -94
  70. package/web-ui/modules/app.methods.install.mjs +205 -205
  71. package/web-ui/modules/app.methods.navigation.mjs +774 -761
  72. package/web-ui/modules/app.methods.openclaw-core.mjs +814 -814
  73. package/web-ui/modules/app.methods.openclaw-editing.mjs +372 -372
  74. package/web-ui/modules/app.methods.openclaw-persist.mjs +369 -369
  75. package/web-ui/modules/app.methods.providers.mjs +529 -493
  76. package/web-ui/modules/app.methods.runtime.mjs +345 -345
  77. package/web-ui/modules/app.methods.session-actions.mjs +591 -593
  78. package/web-ui/modules/app.methods.session-browser.mjs +984 -984
  79. package/web-ui/modules/app.methods.session-timeline.mjs +479 -479
  80. package/web-ui/modules/app.methods.session-trash.mjs +438 -438
  81. package/web-ui/modules/app.methods.startup-claude.mjs +534 -533
  82. package/web-ui/modules/app.methods.task-orchestration.mjs +556 -556
  83. package/web-ui/modules/app.methods.webhook.mjs +79 -79
  84. package/web-ui/modules/config-mode.computed.mjs +124 -124
  85. package/web-ui/modules/config-template-confirm-pref.mjs +33 -33
  86. package/web-ui/modules/i18n.dict.mjs +3174 -3131
  87. package/web-ui/modules/i18n.mjs +62 -62
  88. package/web-ui/modules/plugins.computed.mjs +3 -3
  89. package/web-ui/modules/plugins.methods.mjs +3 -3
  90. package/web-ui/modules/plugins.storage.mjs +11 -11
  91. package/web-ui/modules/provider-url-display.mjs +17 -17
  92. package/web-ui/modules/sessions-filters-url.mjs +85 -85
  93. package/web-ui/modules/skills.computed.mjs +107 -107
  94. package/web-ui/modules/skills.methods.mjs +482 -481
  95. package/web-ui/partials/index/layout-footer.html +13 -13
  96. package/web-ui/partials/index/layout-header.html +500 -500
  97. package/web-ui/partials/index/modal-config-template-agents.html +174 -174
  98. package/web-ui/partials/index/modal-confirm-toast.html +32 -32
  99. package/web-ui/partials/index/modal-health-check.html +45 -45
  100. package/web-ui/partials/index/modal-openclaw-config.html +280 -280
  101. package/web-ui/partials/index/modal-skills.html +200 -200
  102. package/web-ui/partials/index/modals-basic.html +162 -162
  103. package/web-ui/partials/index/panel-config-claude.html +194 -194
  104. package/web-ui/partials/index/panel-config-codex.html +357 -323
  105. package/web-ui/partials/index/panel-config-codex.html.bak +337 -0
  106. package/web-ui/partials/index/panel-config-openclaw.html +83 -83
  107. package/web-ui/partials/index/panel-dashboard.html +219 -186
  108. package/web-ui/partials/index/panel-docs.html +147 -147
  109. package/web-ui/partials/index/panel-market.html +177 -177
  110. package/web-ui/partials/index/panel-orchestration.html +391 -391
  111. package/web-ui/partials/index/panel-plugins.html +253 -253
  112. package/web-ui/partials/index/panel-sessions.html +302 -316
  113. package/web-ui/partials/index/panel-settings.html +190 -190
  114. package/web-ui/partials/index/panel-trash.html +88 -88
  115. package/web-ui/partials/index/panel-usage.html +371 -371
  116. package/web-ui/res/json5.min.js +1 -1
  117. package/web-ui/res/vue.global.prod.js +13 -13
  118. package/web-ui/session-helpers.mjs +591 -576
  119. package/web-ui/source-bundle.cjs +233 -233
  120. package/web-ui/styles/base-theme.css +281 -281
  121. package/web-ui/styles/bridge-pool.css +197 -0
  122. package/web-ui/styles/controls-forms.css +422 -422
  123. package/web-ui/styles/dashboard.css +406 -274
  124. package/web-ui/styles/docs-panel.css +271 -271
  125. package/web-ui/styles/feedback.css +108 -108
  126. package/web-ui/styles/health-check-dialog.css +144 -144
  127. package/web-ui/styles/layout-shell.css +626 -626
  128. package/web-ui/styles/modals-core.css +466 -466
  129. package/web-ui/styles/navigation-panels.css +391 -391
  130. package/web-ui/styles/openclaw-structured.css +266 -266
  131. package/web-ui/styles/plugins-panel.css +564 -523
  132. package/web-ui/styles/responsive.css +454 -454
  133. package/web-ui/styles/sessions-list.css +417 -419
  134. package/web-ui/styles/sessions-preview.css +407 -411
  135. package/web-ui/styles/sessions-toolbar-trash.css +348 -330
  136. package/web-ui/styles/sessions-usage.css +1040 -1040
  137. package/web-ui/styles/settings-panel.css +349 -349
  138. package/web-ui/styles/skills-list.css +305 -303
  139. package/web-ui/styles/skills-market.css +429 -406
  140. package/web-ui/styles/task-orchestration.css +822 -822
  141. package/web-ui/styles/titles-cards.css +472 -472
  142. package/web-ui/styles/trash-panel.css +90 -90
  143. package/web-ui/styles/webhook.css +81 -81
  144. package/web-ui/styles.css +24 -23
  145. package/web-ui.html +17 -17
@@ -1,419 +1,417 @@
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: 108px;
209
- content-visibility: auto;
210
- contain-intrinsic-size: 108px;
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 8px;
374
- margin-top: 4px;
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 0 100%;
397
- min-width: 0;
398
- color: var(--color-text-muted);
399
- white-space: normal;
400
- overflow: visible;
401
- text-overflow: clip;
402
- overflow-wrap: anywhere;
403
- }
404
-
405
- .session-preview {
406
- border: 1px solid var(--color-border-soft);
407
- border-radius: var(--radius-xl);
408
- background: linear-gradient(to bottom, var(--color-surface-elevated) 0%, rgba(255, 255, 255, 0.96) 100%);
409
- box-shadow: var(--shadow-card);
410
- min-height: 0;
411
- max-height: none;
412
- height: 100%;
413
- display: flex;
414
- flex-direction: column;
415
- overflow: hidden;
416
- position: relative;
417
- transform: translateX(4px);
418
- transition: transform var(--transition-normal) var(--ease-spring-soft), box-shadow var(--transition-normal) var(--ease-spring-soft);
419
- }
1
+ .session-empty {
2
+ padding: 40px var(--spacing-md);
3
+ text-align: center;
4
+ border: 1px solid var(--color-border-soft);
5
+ border-radius: var(--radius-lg);
6
+ color: var(--color-text-tertiary);
7
+ background: var(--bg-warm-gradient);
8
+ box-shadow: var(--shadow-subtle);
9
+ }
10
+
11
+ .session-empty::before {
12
+ content: "";
13
+ display: block;
14
+ width: 40px;
15
+ height: 40px;
16
+ border-radius: 50%;
17
+ margin: 0 auto 14px;
18
+ background: linear-gradient(135deg, var(--color-brand) 0%, var(--color-brand-dark) 100%);
19
+ opacity: 0.18;
20
+ }
21
+
22
+ .trash-list {
23
+ display: grid;
24
+ gap: 12px;
25
+ margin-top: 12px;
26
+ }
27
+
28
+ .trash-item.session-item {
29
+ min-height: auto;
30
+ height: auto;
31
+ cursor: default;
32
+ content-visibility: visible;
33
+ contain-intrinsic-size: auto;
34
+ }
35
+
36
+ .trash-item.session-item:hover,
37
+ .trash-item.session-item:active {
38
+ transform: none;
39
+ border-color: var(--color-border-soft);
40
+ background: linear-gradient(to bottom, var(--color-surface) 0%, rgba(255, 255, 255, 0.92) 100%);
41
+ box-shadow: var(--shadow-subtle);
42
+ }
43
+
44
+ .trash-item.session-item::before {
45
+ background: var(--color-border-soft);
46
+ }
47
+
48
+ .trash-item-main {
49
+ min-width: 0;
50
+ flex: 1;
51
+ }
52
+
53
+ .trash-item-mainline {
54
+ display: flex;
55
+ align-items: flex-start;
56
+ gap: 8px;
57
+ }
58
+
59
+ .trash-item-title {
60
+ flex: 1;
61
+ font-size: var(--font-size-body);
62
+ font-weight: var(--font-weight-secondary);
63
+ color: var(--color-text-primary);
64
+ line-height: 1.4;
65
+ display: -webkit-box;
66
+ -webkit-line-clamp: 2;
67
+ -webkit-box-orient: vertical;
68
+ white-space: normal;
69
+ overflow: hidden;
70
+ overflow-wrap: anywhere;
71
+ }
72
+
73
+ .trash-item-meta {
74
+ margin-top: 6px;
75
+ }
76
+
77
+ .trash-item-side {
78
+ display: flex;
79
+ flex-direction: column;
80
+ align-items: flex-end;
81
+ gap: 8px;
82
+ flex-shrink: 0;
83
+ min-width: 132px;
84
+ }
85
+
86
+ .trash-item-actions {
87
+ display: grid;
88
+ grid-template-columns: repeat(2, minmax(116px, 116px));
89
+ align-self: flex-end;
90
+ justify-content: flex-end;
91
+ gap: 8px;
92
+ }
93
+
94
+ .trash-item-actions .btn-mini {
95
+ width: 100%;
96
+ height: 38px;
97
+ min-height: 38px;
98
+ padding: 0 12px;
99
+ display: inline-flex;
100
+ align-items: center;
101
+ justify-content: center;
102
+ line-height: 1;
103
+ white-space: nowrap;
104
+ }
105
+
106
+ .trash-item-time {
107
+ width: 100%;
108
+ text-align: right;
109
+ white-space: nowrap;
110
+ color: var(--color-text-tertiary);
111
+ }
112
+
113
+ .trash-item-path {
114
+ margin-top: 8px;
115
+ display: grid;
116
+ grid-template-columns: 48px minmax(0, 1fr);
117
+ gap: 8px;
118
+ align-items: start;
119
+ white-space: normal;
120
+ overflow-wrap: anywhere;
121
+ }
122
+
123
+ .trash-item-label {
124
+ display: inline-block;
125
+ color: var(--color-text-secondary);
126
+ font-weight: var(--font-weight-secondary);
127
+ }
128
+
129
+ .trash-item-path span:last-child {
130
+ min-width: 0;
131
+ word-break: break-word;
132
+ }
133
+
134
+ .trash-item .session-count-badge {
135
+ margin-top: 2px;
136
+ }
137
+
138
+ .session-layout {
139
+ display: grid;
140
+ grid-template-columns: minmax(260px, 360px) minmax(0, 1fr);
141
+ gap: var(--spacing-md);
142
+ align-items: start;
143
+ height: min(72vh, 760px);
144
+ min-height: 360px;
145
+ }
146
+
147
+ .session-layout.session-standalone {
148
+ grid-template-columns: minmax(0, 1fr);
149
+ }
150
+
151
+ .session-standalone-page {
152
+ max-width: 960px;
153
+ margin: 0 auto;
154
+ padding: var(--spacing-sm) 0;
155
+ }
156
+
157
+ .session-standalone-title {
158
+ font-size: var(--font-size-title);
159
+ font-weight: var(--font-weight-title);
160
+ color: var(--color-text-primary);
161
+ margin-bottom: var(--spacing-sm);
162
+ letter-spacing: -0.01em;
163
+ }
164
+
165
+ .session-standalone-text {
166
+ white-space: pre-wrap;
167
+ font-family: var(--font-family-body);
168
+ font-size: var(--font-size-body);
169
+ line-height: 1.7;
170
+ color: var(--color-text-primary);
171
+ word-break: break-word;
172
+ }
173
+
174
+ .session-list {
175
+ display: flex;
176
+ flex-direction: column;
177
+ gap: var(--spacing-xs);
178
+ position: sticky;
179
+ top: 12px;
180
+ height: 100%;
181
+ max-height: none;
182
+ overflow-y: auto;
183
+ overflow-x: hidden;
184
+ padding-right: 0;
185
+ min-width: 0;
186
+ scrollbar-width: none;
187
+ -ms-overflow-style: none;
188
+ }
189
+
190
+ .session-list::-webkit-scrollbar {
191
+ width: 0;
192
+ height: 0;
193
+ display: none;
194
+ }
195
+
196
+ .session-item {
197
+ border: 1px solid var(--color-border-soft);
198
+ border-radius: var(--radius-md);
199
+ background: var(--color-surface);
200
+ padding: 14px 16px;
201
+ cursor: pointer;
202
+ transition: all var(--transition-fast) var(--ease-spring);
203
+ user-select: none;
204
+ min-width: 0;
205
+ position: relative;
206
+ overflow: hidden;
207
+ min-height: 84px;
208
+ content-visibility: auto;
209
+ contain-intrinsic-size: 84px;
210
+ }
211
+
212
+ .session-item-header {
213
+ display: flex;
214
+ align-items: center;
215
+ justify-content: space-between;
216
+ gap: 10px;
217
+ margin-bottom: 4px;
218
+ }
219
+
220
+ .session-item-main {
221
+ min-width: 0;
222
+ flex: 1;
223
+ display: flex;
224
+ align-items: center;
225
+ gap: 8px;
226
+ }
227
+
228
+ .session-item:hover {
229
+ border-color: var(--color-brand);
230
+ background: linear-gradient(to bottom, rgba(210, 107, 90, 0.08) 0%, rgba(255, 255, 255, 0.98) 100%);
231
+ transform: translateY(-1px);
232
+ }
233
+
234
+ .session-item:focus-visible {
235
+ outline: 3px solid rgba(210, 107, 90, 0.2);
236
+ outline-offset: 2px;
237
+ border-color: var(--color-brand);
238
+ background: linear-gradient(to bottom, rgba(210, 107, 90, 0.06) 0%, rgba(255, 255, 255, 0.98) 100%);
239
+ }
240
+
241
+ .session-item::before {
242
+ content: "";
243
+ position: absolute;
244
+ left: 0;
245
+ top: 10px;
246
+ bottom: 10px;
247
+ width: 3px;
248
+ border-radius: 999px;
249
+ background: var(--color-border-soft);
250
+ transition: background var(--transition-fast) var(--ease-spring);
251
+ }
252
+
253
+ .session-item:active {
254
+ transform: scale(0.99);
255
+ }
256
+
257
+ .session-item.active {
258
+ border-color: var(--color-brand);
259
+ background: linear-gradient(to bottom, rgba(210, 107, 90, 0.06) 0%, rgba(255, 255, 255, 0.98) 100%);
260
+ box-shadow: var(--shadow-float);
261
+ }
262
+
263
+ .session-item.pinned {
264
+ border-color: var(--color-brand);
265
+ background: linear-gradient(to bottom, rgba(210, 107, 90, 0.08) 0%, rgba(255, 251, 247, 0.98) 100%);
266
+ box-shadow: 0 4px 12px rgba(210, 107, 90, 0.08);
267
+ }
268
+
269
+ .session-item.pinned::before {
270
+ background: linear-gradient(180deg, var(--color-brand), var(--color-brand-dark));
271
+ opacity: 0.7;
272
+ }
273
+
274
+ .session-item.active::before {
275
+ background: linear-gradient(180deg, var(--color-brand), var(--color-brand-dark));
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 var(--color-border-soft);
299
+ background: var(--color-surface-alt);
300
+ color: var(--color-text-secondary);
301
+ width: 24px;
302
+ height: 24px;
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: var(--color-brand);
314
+ background: var(--color-surface);
315
+ color: var(--color-brand);
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: var(--color-border-soft);
332
+ }
333
+
334
+ .session-item-pin .pin-icon,
335
+ .session-item-pin svg {
336
+ width: 9px;
337
+ height: 9px;
338
+ color: var(--color-text-tertiary);
339
+ }
340
+
341
+ .session-item.pinned .session-item-pin {
342
+ background: var(--color-brand);
343
+ border-color: var(--color-brand);
344
+ opacity: 0.85;
345
+ }
346
+
347
+ .session-item.pinned .session-item-pin .pin-icon,
348
+ .session-item.pinned .session-item-pin svg {
349
+ color: #fff;
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 8px;
374
+ margin-top: 4px;
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 8px;
387
+ border-radius: 999px;
388
+ background: linear-gradient(135deg, var(--color-brand) 0%, var(--color-brand-dark) 100%);
389
+ color: #fff;
390
+ line-height: 1;
391
+ white-space: nowrap;
392
+ }
393
+
394
+ .session-item-cwd {
395
+ flex: 1 0 100%;
396
+ min-width: 0;
397
+ color: var(--color-text-muted);
398
+ white-space: normal;
399
+ overflow: visible;
400
+ text-overflow: clip;
401
+ overflow-wrap: anywhere;
402
+ }
403
+
404
+ .session-preview {
405
+ border: 1px solid var(--color-border-soft);
406
+ border-radius: var(--radius-xl);
407
+ background: var(--color-surface-elevated);
408
+ box-shadow: var(--shadow-card);
409
+ min-height: 0;
410
+ max-height: none;
411
+ height: 100%;
412
+ display: flex;
413
+ flex-direction: column;
414
+ overflow: hidden;
415
+ position: relative;
416
+ transition: box-shadow var(--transition-normal) var(--ease-spring-soft);
417
+ }