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,330 +1,348 @@
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: 6px;
36
+ margin-bottom: var(--spacing-xs);
37
+ border-top: 1px solid 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: 5px 10px;
54
+ border-radius: 999px;
55
+ border: 1px solid var(--color-border-soft);
56
+ background: var(--color-surface);
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
+ min-width: 0;
63
+ }
64
+
65
+ .session-filter-chip:hover {
66
+ border-color: var(--color-brand);
67
+ background: var(--color-surface-alt);
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 var(--color-border-soft);
92
+ background: var(--color-surface-alt);
93
+ line-height: 1;
94
+ flex: 0 0 auto;
95
+ transition: all var(--transition-fast) var(--ease-spring);
96
+ }
97
+
98
+ .session-filter-chip-close:hover {
99
+ border-color: var(--color-brand);
100
+ background: var(--color-brand);
101
+ color: #fff;
102
+ }
103
+
104
+ .session-filter-chip:focus-visible {
105
+ outline: 3px solid rgba(210, 107, 90, 0.2);
106
+ outline-offset: 2px;
107
+ }
108
+
109
+ .session-toolbar-footer .quick-option {
110
+ margin: 0;
111
+ padding: 5px 10px;
112
+ border-radius: var(--radius-md);
113
+ border: 1px solid var(--color-border-soft);
114
+ background: var(--color-surface);
115
+ transition: all var(--transition-fast) var(--ease-spring);
116
+ line-height: 1.2;
117
+ }
118
+
119
+ .session-toolbar-footer .quick-option:hover {
120
+ border-color: var(--color-brand);
121
+ }
122
+
123
+ .session-source-select,
124
+ .session-path-select,
125
+ .session-query-input,
126
+ .session-role-select,
127
+ .session-time-select {
128
+ flex: 1;
129
+ min-width: 160px;
130
+ padding: 9px 12px;
131
+ border-radius: var(--radius-md);
132
+ border: 1px solid var(--color-border-soft);
133
+ background: var(--color-surface);
134
+ color: var(--color-text-secondary);
135
+ font-size: var(--font-size-body);
136
+ font-family: var(--font-family);
137
+ outline: none;
138
+ transition: all var(--transition-fast) var(--ease-spring);
139
+ }
140
+
141
+ .session-query-input {
142
+ flex: 2;
143
+ min-width: 220px;
144
+ }
145
+
146
+ @media (min-width: 980px) {
147
+ /* Wider screens: align left/right control groups, keep query spanning full width. */
148
+ .session-toolbar {
149
+ grid-template-columns: repeat(12, minmax(0, 1fr));
150
+ gap: 10px;
151
+ }
152
+
153
+ .session-toolbar-primary {
154
+ grid-column: span 6;
155
+ }
156
+
157
+ .session-toolbar-secondary {
158
+ grid-column: span 6;
159
+ justify-content: flex-end;
160
+ }
161
+
162
+ .session-toolbar-grow {
163
+ grid-column: 1 / -1;
164
+ }
165
+ }
166
+
167
+ .session-source-select:hover,
168
+ .session-path-select:hover,
169
+ .session-query-input:hover,
170
+ .session-role-select:hover,
171
+ .session-time-select:hover {
172
+ border-color: var(--color-border-strong);
173
+ }
174
+
175
+ .session-source-select:focus,
176
+ .session-path-select:focus,
177
+ .session-query-input:focus,
178
+ .session-role-select:focus,
179
+ .session-time-select:focus {
180
+ border-color: var(--color-brand);
181
+ box-shadow: var(--shadow-input-focus);
182
+ }
183
+
184
+ .session-hint {
185
+ font-size: var(--font-size-secondary);
186
+ color: var(--color-text-tertiary);
187
+ margin-bottom: 12px;
188
+ line-height: 1.45;
189
+ }
190
+
191
+ .session-card {
192
+ align-items: flex-start;
193
+ cursor: default;
194
+ }
195
+
196
+ .session-card:hover {
197
+ transform: none;
198
+ box-shadow: var(--shadow-card);
199
+ }
200
+
201
+ .session-card .card-leading {
202
+ align-items: flex-start;
203
+ }
204
+
205
+ .session-meta {
206
+ margin-top: 6px;
207
+ font-size: var(--font-size-caption);
208
+ color: var(--color-text-tertiary);
209
+ line-height: 1.4;
210
+ word-break: break-all;
211
+ }
212
+
213
+ .session-actions {
214
+ display: flex;
215
+ gap: var(--spacing-xs);
216
+ align-items: center;
217
+ margin-left: var(--spacing-sm);
218
+ flex-shrink: 0;
219
+ }
220
+
221
+ .session-source {
222
+ font-size: var(--font-size-caption);
223
+ color: var(--color-text-tertiary);
224
+ border: 1px solid var(--color-border-soft);
225
+ border-radius: 999px;
226
+ padding: 2px 8px;
227
+ background: var(--color-surface-alt);
228
+ white-space: nowrap;
229
+ }
230
+
231
+ .session-derived-badge {
232
+ display: inline-flex;
233
+ align-items: center;
234
+ border: 1px solid rgba(208, 88, 58, 0.28);
235
+ border-radius: 999px;
236
+ padding: 2px 8px;
237
+ background: rgba(208, 88, 58, 0.08);
238
+ color: var(--color-brand);
239
+ font-size: var(--font-size-caption);
240
+ font-weight: var(--font-weight-secondary);
241
+ line-height: 1.2;
242
+ white-space: nowrap;
243
+ }
244
+
245
+ .session-count-badge {
246
+ display: inline-flex;
247
+ align-items: center;
248
+ justify-content: center;
249
+ min-width: 22px;
250
+ height: 22px;
251
+ padding: 0 7px;
252
+ border-radius: 999px;
253
+ background: linear-gradient(135deg, var(--color-brand) 0%, var(--color-brand-dark) 100%);
254
+ color: #fff;
255
+ font-size: var(--font-size-caption);
256
+ font-weight: var(--font-weight-secondary);
257
+ line-height: 1;
258
+ box-shadow: 0 4px 10px rgba(208, 88, 58, 0.16);
259
+ flex-shrink: 0;
260
+ }
261
+
262
+ .trash-list-footer {
263
+ display: flex;
264
+ justify-content: center;
265
+ margin-top: var(--spacing-sm);
266
+ }
267
+
268
+ .btn-session-export,
269
+ .btn-session-open,
270
+ .btn-session-clone,
271
+ .btn-session-refresh {
272
+ border: 1px solid var(--color-border-soft);
273
+ border-radius: var(--radius-md);
274
+ background: var(--color-surface);
275
+ color: var(--color-text-secondary);
276
+ padding: 7px 12px;
277
+ font-size: var(--font-size-secondary);
278
+ font-weight: var(--font-weight-secondary);
279
+ cursor: pointer;
280
+ transition: all var(--transition-fast) var(--ease-spring);
281
+ white-space: nowrap;
282
+ letter-spacing: -0.01em;
283
+ }
284
+
285
+ .btn-session-delete {
286
+ border: 1px solid rgba(189, 70, 68, 0.4);
287
+ border-radius: var(--radius-md);
288
+ background: var(--color-surface);
289
+ color: #b74545;
290
+ padding: 7px 12px;
291
+ font-size: var(--font-size-secondary);
292
+ font-weight: var(--font-weight-secondary);
293
+ cursor: pointer;
294
+ transition: all var(--transition-fast) var(--ease-spring);
295
+ white-space: nowrap;
296
+ letter-spacing: -0.01em;
297
+ }
298
+
299
+ .btn-session-refresh:hover {
300
+ border-color: var(--color-brand);
301
+ color: var(--color-brand);
302
+ transform: translateY(-1px);
303
+ }
304
+
305
+ .btn-session-refresh:disabled {
306
+ opacity: 0.5;
307
+ cursor: not-allowed;
308
+ transform: none;
309
+ }
310
+
311
+ .btn-session-export:hover,
312
+ .btn-session-open:hover {
313
+ border-color: var(--color-brand);
314
+ color: var(--color-brand);
315
+ transform: translateY(-1px);
316
+ }
317
+
318
+ .btn-session-export:disabled,
319
+ .btn-session-open:disabled {
320
+ opacity: 0.5;
321
+ cursor: not-allowed;
322
+ transform: none;
323
+ }
324
+
325
+ .btn-session-clone:hover {
326
+ border-color: var(--color-brand);
327
+ color: var(--color-brand);
328
+ transform: translateY(-1px);
329
+ }
330
+
331
+ .btn-session-clone:disabled {
332
+ opacity: 0.5;
333
+ cursor: not-allowed;
334
+ transform: none;
335
+ }
336
+
337
+ .btn-session-delete:hover {
338
+ border-color: rgba(189, 70, 68, 0.8);
339
+ background: rgba(189, 70, 68, 0.06);
340
+ color: #9f3b3b;
341
+ transform: translateY(-1px);
342
+ }
343
+
344
+ .btn-session-delete:disabled {
345
+ opacity: 0.5;
346
+ cursor: not-allowed;
347
+ transform: none;
348
+ }