codexmate 0.0.25 → 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 (135) hide show
  1. package/README.md +416 -413
  2. package/README.zh.md +349 -346
  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 -1079
  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 +997 -997
  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 -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 +15218 -14736
  23. package/lib/automation.js +404 -404
  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 -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 +74 -74
  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 -612
  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 -128
  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 -670
  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 -205
  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 -544
  75. package/web-ui/modules/app.methods.session-browser.mjs +985 -722
  76. package/web-ui/modules/app.methods.session-timeline.mjs +479 -448
  77. package/web-ui/modules/app.methods.session-trash.mjs +424 -424
  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 -2055
  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 -475
  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 -303
  107. package/web-ui/partials/index/panel-settings.html +258 -258
  108. package/web-ui/partials/index/panel-usage.html +342 -361
  109. package/web-ui/res/json5.min.js +1 -1
  110. package/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 -423
  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 -603
  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 -454
  125. package/web-ui/styles/sessions-list.css +415 -398
  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 -912
  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
@@ -1,268 +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-toolbar-footer .quick-option {
41
- margin: 0;
42
- padding: 6px 10px;
43
- border-radius: var(--radius-sm);
44
- border: 1px solid var(--color-border-soft);
45
- background: linear-gradient(to bottom, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.8) 100%);
46
- box-shadow: inset 0 1px 2px rgba(31, 26, 23, 0.04);
47
- transition: all var(--transition-fast) var(--ease-spring);
48
- line-height: 1.2;
49
- }
50
-
51
- .session-toolbar-footer .quick-option:hover {
52
- border-color: var(--color-border-strong);
53
- }
54
-
55
- .session-source-select,
56
- .session-path-select,
57
- .session-query-input,
58
- .session-role-select,
59
- .session-time-select {
60
- flex: 1;
61
- min-width: 160px;
62
- padding: 10px 12px;
63
- border-radius: var(--radius-sm);
64
- border: 1px solid var(--color-border-soft);
65
- background: linear-gradient(to bottom, var(--color-surface) 0%, rgba(255, 255, 255, 0.92) 100%);
66
- color: var(--color-text-secondary);
67
- font-size: var(--font-size-body);
68
- font-family: var(--font-family);
69
- outline: none;
70
- transition: all var(--transition-fast) var(--ease-spring);
71
- box-shadow: inset 0 1px 2px rgba(31, 26, 23, 0.04);
72
- }
73
-
74
- .session-query-input {
75
- flex: 2;
76
- min-width: 220px;
77
- }
78
-
79
- @media (min-width: 980px) {
80
- /* Wider screens: align left/right control groups, keep query spanning full width. */
81
- .session-toolbar {
82
- grid-template-columns: repeat(12, minmax(0, 1fr));
83
- gap: 10px;
84
- }
85
-
86
- .session-toolbar-primary {
87
- grid-column: span 6;
88
- }
89
-
90
- .session-toolbar-secondary {
91
- grid-column: span 6;
92
- justify-content: flex-end;
93
- }
94
-
95
- .session-toolbar-grow {
96
- grid-column: 1 / -1;
97
- }
98
- }
99
-
100
- .session-source-select:hover,
101
- .session-path-select:hover,
102
- .session-query-input:hover,
103
- .session-role-select:hover,
104
- .session-time-select:hover {
105
- border-color: var(--color-border-strong);
106
- }
107
-
108
- .session-source-select:focus,
109
- .session-path-select:focus,
110
- .session-query-input:focus,
111
- .session-role-select:focus,
112
- .session-time-select:focus {
113
- border-color: var(--color-brand);
114
- box-shadow: var(--shadow-input-focus);
115
- }
116
-
117
- .session-hint {
118
- font-size: var(--font-size-secondary);
119
- color: var(--color-text-tertiary);
120
- margin-bottom: 12px;
121
- line-height: 1.45;
122
- }
123
-
124
- .session-card {
125
- align-items: flex-start;
126
- cursor: default;
127
- }
128
-
129
- .session-card:hover {
130
- transform: none;
131
- box-shadow: var(--shadow-card);
132
- }
133
-
134
- .session-card .card-leading {
135
- align-items: flex-start;
136
- }
137
-
138
- .session-meta {
139
- margin-top: 6px;
140
- font-size: var(--font-size-caption);
141
- color: var(--color-text-tertiary);
142
- line-height: 1.4;
143
- word-break: break-all;
144
- }
145
-
146
- .session-actions {
147
- display: flex;
148
- gap: var(--spacing-xs);
149
- align-items: center;
150
- margin-left: var(--spacing-sm);
151
- flex-shrink: 0;
152
- }
153
-
154
- .session-source {
155
- font-size: var(--font-size-caption);
156
- color: var(--color-text-tertiary);
157
- border: 1px solid var(--color-border-soft);
158
- border-radius: 999px;
159
- padding: 2px 8px;
160
- background: var(--color-surface-alt);
161
- white-space: nowrap;
162
- }
163
-
164
- .session-count-badge {
165
- display: inline-flex;
166
- align-items: center;
167
- justify-content: center;
168
- min-width: 22px;
169
- height: 22px;
170
- padding: 0 7px;
171
- border-radius: 999px;
172
- background: linear-gradient(135deg, var(--color-brand) 0%, var(--color-brand-dark) 100%);
173
- color: #fff;
174
- font-size: var(--font-size-caption);
175
- font-weight: var(--font-weight-secondary);
176
- line-height: 1;
177
- box-shadow: 0 4px 10px rgba(208, 88, 58, 0.16);
178
- flex-shrink: 0;
179
- }
180
-
181
- .trash-list-footer {
182
- display: flex;
183
- justify-content: center;
184
- margin-top: var(--spacing-sm);
185
- }
186
-
187
- .btn-session-export,
188
- .btn-session-open,
189
- .btn-session-clone,
190
- .btn-session-refresh {
191
- border: 1px solid var(--color-border-soft);
192
- border-radius: var(--radius-sm);
193
- background: linear-gradient(to bottom, var(--color-surface) 0%, rgba(255, 255, 255, 0.9) 100%);
194
- color: var(--color-text-secondary);
195
- padding: 8px 12px;
196
- font-size: var(--font-size-secondary);
197
- font-weight: var(--font-weight-secondary);
198
- cursor: pointer;
199
- transition: all var(--transition-fast) var(--ease-spring);
200
- white-space: nowrap;
201
- box-shadow: var(--shadow-subtle);
202
- letter-spacing: -0.01em;
203
- }
204
-
205
- .btn-session-delete {
206
- border: 1px solid rgba(189, 70, 68, 0.45);
207
- border-radius: var(--radius-sm);
208
- background: linear-gradient(to bottom, rgba(255, 245, 245, 0.95) 0%, rgba(255, 255, 255, 0.9) 100%);
209
- color: #b74545;
210
- padding: 8px 12px;
211
- font-size: var(--font-size-secondary);
212
- font-weight: var(--font-weight-secondary);
213
- cursor: pointer;
214
- transition: all var(--transition-fast) var(--ease-spring);
215
- white-space: nowrap;
216
- box-shadow: var(--shadow-subtle);
217
- letter-spacing: -0.01em;
218
- }
219
-
220
- .btn-session-refresh:hover {
221
- border-color: var(--color-brand);
222
- color: var(--color-brand);
223
- transform: translateY(-1px);
224
- }
225
-
226
- .btn-session-refresh:disabled {
227
- opacity: 0.5;
228
- cursor: not-allowed;
229
- transform: none;
230
- }
231
-
232
- .btn-session-export:hover,
233
- .btn-session-open:hover {
234
- border-color: var(--color-brand);
235
- color: var(--color-brand);
236
- transform: translateY(-1px);
237
- }
238
-
239
- .btn-session-export:disabled,
240
- .btn-session-open:disabled {
241
- opacity: 0.5;
242
- cursor: not-allowed;
243
- transform: none;
244
- }
245
-
246
- .btn-session-clone:hover {
247
- border-color: var(--color-brand);
248
- color: var(--color-brand);
249
- transform: translateY(-1px);
250
- }
251
-
252
- .btn-session-clone:disabled {
253
- opacity: 0.5;
254
- cursor: not-allowed;
255
- transform: none;
256
- }
257
-
258
- .btn-session-delete:hover {
259
- border-color: rgba(189, 70, 68, 0.8);
260
- color: #9f3b3b;
261
- transform: translateY(-1px);
262
- }
263
-
264
- .btn-session-delete:disabled {
265
- opacity: 0.5;
266
- cursor: not-allowed;
267
- transform: none;
268
- }
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
+ }