codexmate 0.0.27 → 0.0.28

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 (137) hide show
  1. package/README.md +421 -421
  2. package/README.zh.md +354 -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 +1620 -1299
  7. package/cli/claude-proxy.js +1022 -1022
  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 -356
  12. package/cli/openai-bridge.js +1489 -1091
  13. package/cli/openclaw-config.js +629 -629
  14. package/cli/session-convert-args.js +65 -65
  15. package/cli/session-convert-io.js +82 -82
  16. package/cli/session-convert.js +43 -43
  17. package/cli/session-usage.concurrent.js +28 -28
  18. package/cli/session-usage.js +118 -118
  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 +15264 -15251
  23. package/lib/automation.js +404 -404
  24. package/lib/cli-file-utils.js +151 -151
  25. package/lib/cli-models-utils.js +440 -379
  26. package/lib/cli-network-utils.js +190 -190
  27. package/lib/cli-path-utils.js +85 -85
  28. package/lib/cli-session-utils.js +121 -121
  29. package/lib/cli-sessions.js +417 -417
  30. package/lib/cli-utils.js +155 -155
  31. package/lib/download-artifacts.js +92 -92
  32. package/lib/mcp-stdio.js +453 -453
  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 +3 -1
  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 +553 -619
  44. package/plugins/prompt-templates/overview.mjs +91 -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 -634
  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.codex.mjs +56 -0
  54. package/web-ui/logic.mjs +5 -5
  55. package/web-ui/logic.runtime.mjs +128 -128
  56. package/web-ui/logic.session-convert.mjs +70 -70
  57. package/web-ui/logic.sessions.mjs +765 -765
  58. package/web-ui/modules/api.mjs +90 -90
  59. package/web-ui/modules/app.computed.dashboard.mjs +225 -171
  60. package/web-ui/modules/app.computed.index.mjs +17 -17
  61. package/web-ui/modules/app.computed.main-tabs.mjs +205 -205
  62. package/web-ui/modules/app.computed.session.mjs +994 -994
  63. package/web-ui/modules/app.constants.mjs +15 -15
  64. package/web-ui/modules/app.methods.agents.mjs +632 -632
  65. package/web-ui/modules/app.methods.claude-config.mjs +190 -184
  66. package/web-ui/modules/app.methods.codex-config.mjs +892 -860
  67. package/web-ui/modules/app.methods.index.mjs +92 -92
  68. package/web-ui/modules/app.methods.install.mjs +205 -205
  69. package/web-ui/modules/app.methods.navigation.mjs +743 -743
  70. package/web-ui/modules/app.methods.openclaw-core.mjs +814 -814
  71. package/web-ui/modules/app.methods.openclaw-editing.mjs +372 -372
  72. package/web-ui/modules/app.methods.openclaw-persist.mjs +369 -369
  73. package/web-ui/modules/app.methods.providers.mjs +412 -404
  74. package/web-ui/modules/app.methods.runtime.mjs +345 -345
  75. package/web-ui/modules/app.methods.session-actions.mjs +593 -596
  76. package/web-ui/modules/app.methods.session-browser.mjs +984 -989
  77. package/web-ui/modules/app.methods.session-timeline.mjs +479 -479
  78. package/web-ui/modules/app.methods.session-trash.mjs +439 -439
  79. package/web-ui/modules/app.methods.startup-claude.mjs +533 -526
  80. package/web-ui/modules/app.methods.task-orchestration.mjs +556 -556
  81. package/web-ui/modules/config-mode.computed.mjs +124 -124
  82. package/web-ui/modules/config-template-confirm-pref.mjs +33 -33
  83. package/web-ui/modules/i18n.dict.mjs +2109 -2131
  84. package/web-ui/modules/i18n.mjs +56 -56
  85. package/web-ui/modules/plugins.computed.mjs +3 -3
  86. package/web-ui/modules/plugins.methods.mjs +3 -3
  87. package/web-ui/modules/plugins.storage.mjs +11 -11
  88. package/web-ui/modules/provider-url-display.mjs +17 -0
  89. package/web-ui/modules/sessions-filters-url.mjs +85 -85
  90. package/web-ui/modules/skills.computed.mjs +107 -107
  91. package/web-ui/modules/skills.methods.mjs +481 -481
  92. package/web-ui/partials/index/layout-footer.html +13 -13
  93. package/web-ui/partials/index/layout-header.html +475 -475
  94. package/web-ui/partials/index/modal-config-template-agents.html +174 -174
  95. package/web-ui/partials/index/modal-confirm-toast.html +32 -32
  96. package/web-ui/partials/index/modal-health-check.html +45 -45
  97. package/web-ui/partials/index/modal-openclaw-config.html +280 -280
  98. package/web-ui/partials/index/modal-skills.html +200 -200
  99. package/web-ui/partials/index/modals-basic.html +165 -165
  100. package/web-ui/partials/index/panel-config-claude.html +188 -187
  101. package/web-ui/partials/index/panel-config-codex.html +312 -283
  102. package/web-ui/partials/index/panel-config-openclaw.html +83 -83
  103. package/web-ui/partials/index/panel-dashboard.html +186 -186
  104. package/web-ui/partials/index/panel-docs.html +147 -147
  105. package/web-ui/partials/index/panel-market.html +177 -177
  106. package/web-ui/partials/index/panel-orchestration.html +391 -391
  107. package/web-ui/partials/index/panel-plugins.html +253 -279
  108. package/web-ui/partials/index/panel-sessions.html +316 -326
  109. package/web-ui/partials/index/panel-settings.html +253 -274
  110. package/web-ui/partials/index/panel-usage.html +371 -371
  111. package/web-ui/res/json5.min.js +1 -1
  112. package/web-ui/res/vue.global.prod.js +13 -13
  113. package/web-ui/session-helpers.mjs +576 -576
  114. package/web-ui/source-bundle.cjs +233 -233
  115. package/web-ui/styles/base-theme.css +281 -268
  116. package/web-ui/styles/controls-forms.css +422 -423
  117. package/web-ui/styles/dashboard.css +274 -274
  118. package/web-ui/styles/docs-panel.css +247 -247
  119. package/web-ui/styles/feedback.css +108 -108
  120. package/web-ui/styles/health-check-dialog.css +144 -144
  121. package/web-ui/styles/layout-shell.css +606 -603
  122. package/web-ui/styles/modals-core.css +466 -464
  123. package/web-ui/styles/navigation-panels.css +391 -390
  124. package/web-ui/styles/openclaw-structured.css +266 -266
  125. package/web-ui/styles/plugins-panel.css +523 -523
  126. package/web-ui/styles/responsive.css +454 -454
  127. package/web-ui/styles/sessions-list.css +419 -415
  128. package/web-ui/styles/sessions-preview.css +411 -411
  129. package/web-ui/styles/sessions-toolbar-trash.css +330 -330
  130. package/web-ui/styles/sessions-usage.css +1040 -1040
  131. package/web-ui/styles/settings-panel.css +185 -185
  132. package/web-ui/styles/skills-list.css +303 -303
  133. package/web-ui/styles/skills-market.css +406 -406
  134. package/web-ui/styles/task-orchestration.css +822 -822
  135. package/web-ui/styles/titles-cards.css +472 -408
  136. package/web-ui/styles.css +21 -21
  137. package/web-ui.html +17 -17
@@ -1,330 +1,330 @@
1
- .session-toolbar {
2
- display: grid;
3
- grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
4
- gap: var(--spacing-xs);
5
- margin-bottom: var(--spacing-xs);
6
- align-items: end;
7
- }
8
-
9
- .session-toolbar-group {
10
- display: flex;
11
- align-items: center;
12
- gap: var(--spacing-xs);
13
- flex-wrap: wrap;
14
- min-width: 0;
15
- }
16
-
17
- .session-toolbar-secondary {
18
- justify-content: flex-end;
19
- }
20
-
21
- .session-toolbar-grow {
22
- grid-column: 1 / -1;
23
- }
24
-
25
- .session-toolbar-actions {
26
- justify-content: flex-end;
27
- }
28
-
29
- .session-toolbar-footer {
30
- display: flex;
31
- align-items: center;
32
- justify-content: flex-end;
33
- gap: var(--spacing-xs);
34
- margin-top: -1px;
35
- padding-top: 4px;
36
- margin-bottom: var(--spacing-xs);
37
- border-top: 1px dashed var(--color-border-soft);
38
- }
39
-
40
- .session-filter-chips {
41
- display: flex;
42
- flex-wrap: wrap;
43
- gap: 8px;
44
- margin-top: 4px;
45
- margin-bottom: 2px;
46
- }
47
-
48
- .session-filter-chip {
49
- display: inline-flex;
50
- align-items: center;
51
- gap: 6px;
52
- max-width: 100%;
53
- padding: 6px 10px;
54
- border-radius: 999px;
55
- border: 1px solid var(--color-border-soft);
56
- background: linear-gradient(to bottom, rgba(255, 255, 255, 0.92) 0%, rgba(255, 255, 255, 0.78) 100%);
57
- color: var(--color-text-secondary);
58
- font-size: var(--font-size-caption);
59
- font-weight: var(--font-weight-secondary);
60
- cursor: pointer;
61
- transition: all var(--transition-fast) var(--ease-spring);
62
- box-shadow: inset 0 1px 2px rgba(31, 26, 23, 0.04);
63
- min-width: 0;
64
- }
65
-
66
- .session-filter-chip:hover {
67
- border-color: var(--color-border-strong);
68
- transform: translateY(-1px);
69
- }
70
-
71
- .session-filter-chip-title {
72
- opacity: 0.75;
73
- flex: 0 0 auto;
74
- }
75
-
76
- .session-filter-chip-value {
77
- min-width: 0;
78
- overflow: hidden;
79
- text-overflow: ellipsis;
80
- white-space: nowrap;
81
- max-width: 520px;
82
- }
83
-
84
- .session-filter-chip-close {
85
- display: inline-flex;
86
- align-items: center;
87
- justify-content: center;
88
- width: 18px;
89
- height: 18px;
90
- border-radius: 999px;
91
- border: 1px solid rgba(70, 86, 110, 0.22);
92
- background: rgba(70, 86, 110, 0.08);
93
- line-height: 1;
94
- flex: 0 0 auto;
95
- }
96
-
97
- .session-filter-chip:focus-visible {
98
- outline: 3px solid rgba(201, 94, 75, 0.25);
99
- outline-offset: 2px;
100
- }
101
-
102
- .session-toolbar-footer .quick-option {
103
- margin: 0;
104
- padding: 6px 10px;
105
- border-radius: var(--radius-sm);
106
- border: 1px solid var(--color-border-soft);
107
- background: linear-gradient(to bottom, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.8) 100%);
108
- box-shadow: inset 0 1px 2px rgba(31, 26, 23, 0.04);
109
- transition: all var(--transition-fast) var(--ease-spring);
110
- line-height: 1.2;
111
- }
112
-
113
- .session-toolbar-footer .quick-option:hover {
114
- border-color: var(--color-border-strong);
115
- }
116
-
117
- .session-source-select,
118
- .session-path-select,
119
- .session-query-input,
120
- .session-role-select,
121
- .session-time-select {
122
- flex: 1;
123
- min-width: 160px;
124
- padding: 10px 12px;
125
- border-radius: var(--radius-sm);
126
- border: 1px solid var(--color-border-soft);
127
- background: linear-gradient(to bottom, var(--color-surface) 0%, rgba(255, 255, 255, 0.92) 100%);
128
- color: var(--color-text-secondary);
129
- font-size: var(--font-size-body);
130
- font-family: var(--font-family);
131
- outline: none;
132
- transition: all var(--transition-fast) var(--ease-spring);
133
- box-shadow: inset 0 1px 2px rgba(31, 26, 23, 0.04);
134
- }
135
-
136
- .session-query-input {
137
- flex: 2;
138
- min-width: 220px;
139
- }
140
-
141
- @media (min-width: 980px) {
142
- /* Wider screens: align left/right control groups, keep query spanning full width. */
143
- .session-toolbar {
144
- grid-template-columns: repeat(12, minmax(0, 1fr));
145
- gap: 10px;
146
- }
147
-
148
- .session-toolbar-primary {
149
- grid-column: span 6;
150
- }
151
-
152
- .session-toolbar-secondary {
153
- grid-column: span 6;
154
- justify-content: flex-end;
155
- }
156
-
157
- .session-toolbar-grow {
158
- grid-column: 1 / -1;
159
- }
160
- }
161
-
162
- .session-source-select:hover,
163
- .session-path-select:hover,
164
- .session-query-input:hover,
165
- .session-role-select:hover,
166
- .session-time-select:hover {
167
- border-color: var(--color-border-strong);
168
- }
169
-
170
- .session-source-select:focus,
171
- .session-path-select:focus,
172
- .session-query-input:focus,
173
- .session-role-select:focus,
174
- .session-time-select:focus {
175
- border-color: var(--color-brand);
176
- box-shadow: var(--shadow-input-focus);
177
- }
178
-
179
- .session-hint {
180
- font-size: var(--font-size-secondary);
181
- color: var(--color-text-tertiary);
182
- margin-bottom: 12px;
183
- line-height: 1.45;
184
- }
185
-
186
- .session-card {
187
- align-items: flex-start;
188
- cursor: default;
189
- }
190
-
191
- .session-card:hover {
192
- transform: none;
193
- box-shadow: var(--shadow-card);
194
- }
195
-
196
- .session-card .card-leading {
197
- align-items: flex-start;
198
- }
199
-
200
- .session-meta {
201
- margin-top: 6px;
202
- font-size: var(--font-size-caption);
203
- color: var(--color-text-tertiary);
204
- line-height: 1.4;
205
- word-break: break-all;
206
- }
207
-
208
- .session-actions {
209
- display: flex;
210
- gap: var(--spacing-xs);
211
- align-items: center;
212
- margin-left: var(--spacing-sm);
213
- flex-shrink: 0;
214
- }
215
-
216
- .session-source {
217
- font-size: var(--font-size-caption);
218
- color: var(--color-text-tertiary);
219
- border: 1px solid var(--color-border-soft);
220
- border-radius: 999px;
221
- padding: 2px 8px;
222
- background: var(--color-surface-alt);
223
- white-space: nowrap;
224
- }
225
-
226
- .session-count-badge {
227
- display: inline-flex;
228
- align-items: center;
229
- justify-content: center;
230
- min-width: 22px;
231
- height: 22px;
232
- padding: 0 7px;
233
- border-radius: 999px;
234
- background: linear-gradient(135deg, var(--color-brand) 0%, var(--color-brand-dark) 100%);
235
- color: #fff;
236
- font-size: var(--font-size-caption);
237
- font-weight: var(--font-weight-secondary);
238
- line-height: 1;
239
- box-shadow: 0 4px 10px rgba(208, 88, 58, 0.16);
240
- flex-shrink: 0;
241
- }
242
-
243
- .trash-list-footer {
244
- display: flex;
245
- justify-content: center;
246
- margin-top: var(--spacing-sm);
247
- }
248
-
249
- .btn-session-export,
250
- .btn-session-open,
251
- .btn-session-clone,
252
- .btn-session-refresh {
253
- border: 1px solid var(--color-border-soft);
254
- border-radius: var(--radius-sm);
255
- background: linear-gradient(to bottom, var(--color-surface) 0%, rgba(255, 255, 255, 0.9) 100%);
256
- color: var(--color-text-secondary);
257
- padding: 8px 12px;
258
- font-size: var(--font-size-secondary);
259
- font-weight: var(--font-weight-secondary);
260
- cursor: pointer;
261
- transition: all var(--transition-fast) var(--ease-spring);
262
- white-space: nowrap;
263
- box-shadow: var(--shadow-subtle);
264
- letter-spacing: -0.01em;
265
- }
266
-
267
- .btn-session-delete {
268
- border: 1px solid rgba(189, 70, 68, 0.45);
269
- border-radius: var(--radius-sm);
270
- background: linear-gradient(to bottom, rgba(255, 245, 245, 0.95) 0%, rgba(255, 255, 255, 0.9) 100%);
271
- color: #b74545;
272
- padding: 8px 12px;
273
- font-size: var(--font-size-secondary);
274
- font-weight: var(--font-weight-secondary);
275
- cursor: pointer;
276
- transition: all var(--transition-fast) var(--ease-spring);
277
- white-space: nowrap;
278
- box-shadow: var(--shadow-subtle);
279
- letter-spacing: -0.01em;
280
- }
281
-
282
- .btn-session-refresh:hover {
283
- border-color: var(--color-brand);
284
- color: var(--color-brand);
285
- transform: translateY(-1px);
286
- }
287
-
288
- .btn-session-refresh:disabled {
289
- opacity: 0.5;
290
- cursor: not-allowed;
291
- transform: none;
292
- }
293
-
294
- .btn-session-export:hover,
295
- .btn-session-open:hover {
296
- border-color: var(--color-brand);
297
- color: var(--color-brand);
298
- transform: translateY(-1px);
299
- }
300
-
301
- .btn-session-export:disabled,
302
- .btn-session-open:disabled {
303
- opacity: 0.5;
304
- cursor: not-allowed;
305
- transform: none;
306
- }
307
-
308
- .btn-session-clone:hover {
309
- border-color: var(--color-brand);
310
- color: var(--color-brand);
311
- transform: translateY(-1px);
312
- }
313
-
314
- .btn-session-clone:disabled {
315
- opacity: 0.5;
316
- cursor: not-allowed;
317
- transform: none;
318
- }
319
-
320
- .btn-session-delete:hover {
321
- border-color: rgba(189, 70, 68, 0.8);
322
- color: #9f3b3b;
323
- transform: translateY(-1px);
324
- }
325
-
326
- .btn-session-delete:disabled {
327
- opacity: 0.5;
328
- cursor: not-allowed;
329
- transform: none;
330
- }
1
+ .session-toolbar {
2
+ display: grid;
3
+ grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
4
+ gap: var(--spacing-xs);
5
+ margin-bottom: var(--spacing-xs);
6
+ align-items: end;
7
+ }
8
+
9
+ .session-toolbar-group {
10
+ display: flex;
11
+ align-items: center;
12
+ gap: var(--spacing-xs);
13
+ flex-wrap: wrap;
14
+ min-width: 0;
15
+ }
16
+
17
+ .session-toolbar-secondary {
18
+ justify-content: flex-end;
19
+ }
20
+
21
+ .session-toolbar-grow {
22
+ grid-column: 1 / -1;
23
+ }
24
+
25
+ .session-toolbar-actions {
26
+ justify-content: flex-end;
27
+ }
28
+
29
+ .session-toolbar-footer {
30
+ display: flex;
31
+ align-items: center;
32
+ justify-content: flex-end;
33
+ gap: var(--spacing-xs);
34
+ margin-top: -1px;
35
+ padding-top: 4px;
36
+ margin-bottom: var(--spacing-xs);
37
+ border-top: 1px dashed var(--color-border-soft);
38
+ }
39
+
40
+ .session-filter-chips {
41
+ display: flex;
42
+ flex-wrap: wrap;
43
+ gap: 8px;
44
+ margin-top: 4px;
45
+ margin-bottom: 2px;
46
+ }
47
+
48
+ .session-filter-chip {
49
+ display: inline-flex;
50
+ align-items: center;
51
+ gap: 6px;
52
+ max-width: 100%;
53
+ padding: 6px 10px;
54
+ border-radius: 999px;
55
+ border: 1px solid var(--color-border-soft);
56
+ background: linear-gradient(to bottom, rgba(255, 255, 255, 0.92) 0%, rgba(255, 255, 255, 0.78) 100%);
57
+ color: var(--color-text-secondary);
58
+ font-size: var(--font-size-caption);
59
+ font-weight: var(--font-weight-secondary);
60
+ cursor: pointer;
61
+ transition: all var(--transition-fast) var(--ease-spring);
62
+ box-shadow: inset 0 1px 2px rgba(31, 26, 23, 0.04);
63
+ min-width: 0;
64
+ }
65
+
66
+ .session-filter-chip:hover {
67
+ border-color: var(--color-border-strong);
68
+ transform: translateY(-1px);
69
+ }
70
+
71
+ .session-filter-chip-title {
72
+ opacity: 0.75;
73
+ flex: 0 0 auto;
74
+ }
75
+
76
+ .session-filter-chip-value {
77
+ min-width: 0;
78
+ overflow: hidden;
79
+ text-overflow: ellipsis;
80
+ white-space: nowrap;
81
+ max-width: 520px;
82
+ }
83
+
84
+ .session-filter-chip-close {
85
+ display: inline-flex;
86
+ align-items: center;
87
+ justify-content: center;
88
+ width: 18px;
89
+ height: 18px;
90
+ border-radius: 999px;
91
+ border: 1px solid rgba(70, 86, 110, 0.22);
92
+ background: rgba(70, 86, 110, 0.08);
93
+ line-height: 1;
94
+ flex: 0 0 auto;
95
+ }
96
+
97
+ .session-filter-chip:focus-visible {
98
+ outline: 3px solid rgba(201, 94, 75, 0.25);
99
+ outline-offset: 2px;
100
+ }
101
+
102
+ .session-toolbar-footer .quick-option {
103
+ margin: 0;
104
+ padding: 6px 10px;
105
+ border-radius: var(--radius-sm);
106
+ border: 1px solid var(--color-border-soft);
107
+ background: linear-gradient(to bottom, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.8) 100%);
108
+ box-shadow: inset 0 1px 2px rgba(31, 26, 23, 0.04);
109
+ transition: all var(--transition-fast) var(--ease-spring);
110
+ line-height: 1.2;
111
+ }
112
+
113
+ .session-toolbar-footer .quick-option:hover {
114
+ border-color: var(--color-border-strong);
115
+ }
116
+
117
+ .session-source-select,
118
+ .session-path-select,
119
+ .session-query-input,
120
+ .session-role-select,
121
+ .session-time-select {
122
+ flex: 1;
123
+ min-width: 160px;
124
+ padding: 10px 12px;
125
+ border-radius: var(--radius-sm);
126
+ border: 1px solid var(--color-border-soft);
127
+ background: linear-gradient(to bottom, var(--color-surface) 0%, rgba(255, 255, 255, 0.92) 100%);
128
+ color: var(--color-text-secondary);
129
+ font-size: var(--font-size-body);
130
+ font-family: var(--font-family);
131
+ outline: none;
132
+ transition: all var(--transition-fast) var(--ease-spring);
133
+ box-shadow: inset 0 1px 2px rgba(31, 26, 23, 0.04);
134
+ }
135
+
136
+ .session-query-input {
137
+ flex: 2;
138
+ min-width: 220px;
139
+ }
140
+
141
+ @media (min-width: 980px) {
142
+ /* Wider screens: align left/right control groups, keep query spanning full width. */
143
+ .session-toolbar {
144
+ grid-template-columns: repeat(12, minmax(0, 1fr));
145
+ gap: 10px;
146
+ }
147
+
148
+ .session-toolbar-primary {
149
+ grid-column: span 6;
150
+ }
151
+
152
+ .session-toolbar-secondary {
153
+ grid-column: span 6;
154
+ justify-content: flex-end;
155
+ }
156
+
157
+ .session-toolbar-grow {
158
+ grid-column: 1 / -1;
159
+ }
160
+ }
161
+
162
+ .session-source-select:hover,
163
+ .session-path-select:hover,
164
+ .session-query-input:hover,
165
+ .session-role-select:hover,
166
+ .session-time-select:hover {
167
+ border-color: var(--color-border-strong);
168
+ }
169
+
170
+ .session-source-select:focus,
171
+ .session-path-select:focus,
172
+ .session-query-input:focus,
173
+ .session-role-select:focus,
174
+ .session-time-select:focus {
175
+ border-color: var(--color-brand);
176
+ box-shadow: var(--shadow-input-focus);
177
+ }
178
+
179
+ .session-hint {
180
+ font-size: var(--font-size-secondary);
181
+ color: var(--color-text-tertiary);
182
+ margin-bottom: 12px;
183
+ line-height: 1.45;
184
+ }
185
+
186
+ .session-card {
187
+ align-items: flex-start;
188
+ cursor: default;
189
+ }
190
+
191
+ .session-card:hover {
192
+ transform: none;
193
+ box-shadow: var(--shadow-card);
194
+ }
195
+
196
+ .session-card .card-leading {
197
+ align-items: flex-start;
198
+ }
199
+
200
+ .session-meta {
201
+ margin-top: 6px;
202
+ font-size: var(--font-size-caption);
203
+ color: var(--color-text-tertiary);
204
+ line-height: 1.4;
205
+ word-break: break-all;
206
+ }
207
+
208
+ .session-actions {
209
+ display: flex;
210
+ gap: var(--spacing-xs);
211
+ align-items: center;
212
+ margin-left: var(--spacing-sm);
213
+ flex-shrink: 0;
214
+ }
215
+
216
+ .session-source {
217
+ font-size: var(--font-size-caption);
218
+ color: var(--color-text-tertiary);
219
+ border: 1px solid var(--color-border-soft);
220
+ border-radius: 999px;
221
+ padding: 2px 8px;
222
+ background: var(--color-surface-alt);
223
+ white-space: nowrap;
224
+ }
225
+
226
+ .session-count-badge {
227
+ display: inline-flex;
228
+ align-items: center;
229
+ justify-content: center;
230
+ min-width: 22px;
231
+ height: 22px;
232
+ padding: 0 7px;
233
+ border-radius: 999px;
234
+ background: linear-gradient(135deg, var(--color-brand) 0%, var(--color-brand-dark) 100%);
235
+ color: #fff;
236
+ font-size: var(--font-size-caption);
237
+ font-weight: var(--font-weight-secondary);
238
+ line-height: 1;
239
+ box-shadow: 0 4px 10px rgba(208, 88, 58, 0.16);
240
+ flex-shrink: 0;
241
+ }
242
+
243
+ .trash-list-footer {
244
+ display: flex;
245
+ justify-content: center;
246
+ margin-top: var(--spacing-sm);
247
+ }
248
+
249
+ .btn-session-export,
250
+ .btn-session-open,
251
+ .btn-session-clone,
252
+ .btn-session-refresh {
253
+ border: 1px solid var(--color-border-soft);
254
+ border-radius: var(--radius-sm);
255
+ background: linear-gradient(to bottom, var(--color-surface) 0%, rgba(255, 255, 255, 0.9) 100%);
256
+ color: var(--color-text-secondary);
257
+ padding: 8px 12px;
258
+ font-size: var(--font-size-secondary);
259
+ font-weight: var(--font-weight-secondary);
260
+ cursor: pointer;
261
+ transition: all var(--transition-fast) var(--ease-spring);
262
+ white-space: nowrap;
263
+ box-shadow: var(--shadow-subtle);
264
+ letter-spacing: -0.01em;
265
+ }
266
+
267
+ .btn-session-delete {
268
+ border: 1px solid rgba(189, 70, 68, 0.45);
269
+ border-radius: var(--radius-sm);
270
+ background: linear-gradient(to bottom, rgba(255, 245, 245, 0.95) 0%, rgba(255, 255, 255, 0.9) 100%);
271
+ color: #b74545;
272
+ padding: 8px 12px;
273
+ font-size: var(--font-size-secondary);
274
+ font-weight: var(--font-weight-secondary);
275
+ cursor: pointer;
276
+ transition: all var(--transition-fast) var(--ease-spring);
277
+ white-space: nowrap;
278
+ box-shadow: var(--shadow-subtle);
279
+ letter-spacing: -0.01em;
280
+ }
281
+
282
+ .btn-session-refresh:hover {
283
+ border-color: var(--color-brand);
284
+ color: var(--color-brand);
285
+ transform: translateY(-1px);
286
+ }
287
+
288
+ .btn-session-refresh:disabled {
289
+ opacity: 0.5;
290
+ cursor: not-allowed;
291
+ transform: none;
292
+ }
293
+
294
+ .btn-session-export:hover,
295
+ .btn-session-open:hover {
296
+ border-color: var(--color-brand);
297
+ color: var(--color-brand);
298
+ transform: translateY(-1px);
299
+ }
300
+
301
+ .btn-session-export:disabled,
302
+ .btn-session-open:disabled {
303
+ opacity: 0.5;
304
+ cursor: not-allowed;
305
+ transform: none;
306
+ }
307
+
308
+ .btn-session-clone:hover {
309
+ border-color: var(--color-brand);
310
+ color: var(--color-brand);
311
+ transform: translateY(-1px);
312
+ }
313
+
314
+ .btn-session-clone:disabled {
315
+ opacity: 0.5;
316
+ cursor: not-allowed;
317
+ transform: none;
318
+ }
319
+
320
+ .btn-session-delete:hover {
321
+ border-color: rgba(189, 70, 68, 0.8);
322
+ color: #9f3b3b;
323
+ transform: translateY(-1px);
324
+ }
325
+
326
+ .btn-session-delete:disabled {
327
+ opacity: 0.5;
328
+ cursor: not-allowed;
329
+ transform: none;
330
+ }