cladogram 0.6.0-beta.1 → 0.6.0-beta.10
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.
- package/README.md +50 -47
- package/bin/clado.js +34 -2
- package/docs/agent-context.md +63 -0
- package/docs/agent-reference.md +219 -0
- package/docs/release.md +116 -0
- package/package.json +3 -1
- package/plugins/agent/index.js +2429 -723
- package/plugins/agent/settings.js +3592 -0
- package/plugins/agent/style.css +1327 -94
- package/plugins/view-controls/index.js +0 -11
- package/plugins/view-controls/style.css +7 -14
- package/skills/clado/SKILL.md +4 -2
- package/src/agent/automations.js +454 -0
- package/src/agent/clado-tools.js +597 -104
- package/src/agent/pi-bridge.js +2184 -112
- package/src/agent/pi-config.js +1889 -108
- package/src/agent/pi-hooks-perms.js +621 -0
- package/src/html/app-css.js +69 -1
- package/src/html/canvas-chain.js +32 -6
- package/src/html/canvas-focus.js +19 -13
- package/src/html/canvas-live-diff.js +1373 -0
- package/src/html/canvas-ui.css +503 -2
- package/src/html/canvas-wires.js +5 -1
- package/src/html/page.js +4 -2
- package/src/html/plugin-assets.js +5 -1
- package/src/html/plugin-ui.css +1 -1
- package/src/html/runtime-api.js +152 -10
- package/src/html/runtime.js +546 -37
- package/src/server/agent.js +594 -37
- package/src/server/assets/library-canvas.js +256 -9
- package/src/server/assets/library.css +567 -12
- package/src/server/assets/library.html +2 -0
- package/src/server/assets/library.js +1028 -32
- package/src/server/code-inspect.js +183 -0
- package/src/server/mcp.js +90 -22
- package/src/server/plugin-registry.js +664 -2
- package/src/server/workspace.js +551 -25
- package/src/workspace/graph-snapshot.js +695 -0
- package/src/workspace/service.js +201 -9
package/plugins/agent/style.css
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
/* ================= Clado vNext · Liquid Crystal Glass Dock, Settings & Handoff ================= */
|
|
2
2
|
|
|
3
3
|
.clado-vnext-dock {
|
|
4
|
-
width:
|
|
4
|
+
width: var(--clado-dock-w, 412px);
|
|
5
|
+
max-width: 880px;
|
|
5
6
|
display: flex;
|
|
6
7
|
flex-direction: column;
|
|
7
8
|
gap: 8px;
|
|
@@ -9,6 +10,35 @@
|
|
|
9
10
|
font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "PingFang SC", "Helvetica Neue", sans-serif;
|
|
10
11
|
}
|
|
11
12
|
|
|
13
|
+
/* Custom ultra-sleek frosted scrollbars */
|
|
14
|
+
.clado-scroll::-webkit-scrollbar {
|
|
15
|
+
width: 5px;
|
|
16
|
+
height: 5px;
|
|
17
|
+
}
|
|
18
|
+
.clado-scroll::-webkit-scrollbar-track {
|
|
19
|
+
background: transparent;
|
|
20
|
+
}
|
|
21
|
+
.clado-scroll::-webkit-scrollbar-thumb {
|
|
22
|
+
background: rgba(100, 116, 139, 0.22);
|
|
23
|
+
border-radius: 999px;
|
|
24
|
+
}
|
|
25
|
+
.clado-scroll:hover::-webkit-scrollbar-thumb {
|
|
26
|
+
background: rgba(100, 116, 139, 0.38);
|
|
27
|
+
}
|
|
28
|
+
:root[data-theme="dark"] .clado-scroll::-webkit-scrollbar-thumb {
|
|
29
|
+
background: rgba(148, 163, 184, 0.22);
|
|
30
|
+
}
|
|
31
|
+
:root[data-theme="dark"] .clado-scroll:hover::-webkit-scrollbar-thumb {
|
|
32
|
+
background: rgba(148, 163, 184, 0.40);
|
|
33
|
+
}
|
|
34
|
+
.clado-scroll {
|
|
35
|
+
scrollbar-width: thin;
|
|
36
|
+
scrollbar-color: rgba(100, 116, 139, 0.26) transparent;
|
|
37
|
+
}
|
|
38
|
+
:root[data-theme="dark"] .clado-scroll {
|
|
39
|
+
scrollbar-color: rgba(148, 163, 184, 0.26) transparent;
|
|
40
|
+
}
|
|
41
|
+
|
|
12
42
|
.clado-dock-drawer {
|
|
13
43
|
position: relative;
|
|
14
44
|
border-radius: 22px;
|
|
@@ -17,22 +47,101 @@
|
|
|
17
47
|
-webkit-backdrop-filter: blur(24px) saturate(190%) brightness(1.03);
|
|
18
48
|
border: 1px solid var(--clado-ui-glass-outline);
|
|
19
49
|
box-shadow: var(--clado-ui-glass-shadow);
|
|
20
|
-
transition: opacity 180ms ease
|
|
50
|
+
transition: opacity 180ms ease;
|
|
21
51
|
}
|
|
22
52
|
.clado-dock-drawer.collapsed { display: none; }
|
|
53
|
+
.clado-dock-drawer.resizing { user-select: none; }
|
|
54
|
+
body.clado-dock-resizing {
|
|
55
|
+
user-select: none;
|
|
56
|
+
-webkit-user-select: none;
|
|
57
|
+
}
|
|
58
|
+
body.clado-dock-resizing iframe {
|
|
59
|
+
pointer-events: none !important;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
/* Flush Liquid Crystal Glass Resize Handles (centered top pill + edge hover + invisible rounded corner) */
|
|
63
|
+
.clado-resize-nw {
|
|
64
|
+
position: absolute;
|
|
65
|
+
top: 0;
|
|
66
|
+
left: 0;
|
|
67
|
+
width: 20px;
|
|
68
|
+
height: 20px;
|
|
69
|
+
cursor: nwse-resize;
|
|
70
|
+
z-index: 22;
|
|
71
|
+
border-radius: 22px 0 0 0;
|
|
72
|
+
touch-action: none;
|
|
73
|
+
}
|
|
74
|
+
.clado-resize-n {
|
|
75
|
+
position: absolute;
|
|
76
|
+
top: 0;
|
|
77
|
+
left: 22px;
|
|
78
|
+
right: 22px;
|
|
79
|
+
height: 15px;
|
|
80
|
+
cursor: ns-resize;
|
|
81
|
+
z-index: 21;
|
|
82
|
+
display: flex;
|
|
83
|
+
align-items: center;
|
|
84
|
+
justify-content: center;
|
|
85
|
+
touch-action: none;
|
|
86
|
+
}
|
|
87
|
+
.clado-resize-grip {
|
|
88
|
+
width: 36px;
|
|
89
|
+
height: 3.5px;
|
|
90
|
+
border-radius: 999px;
|
|
91
|
+
background: var(--clado-ui-subtle);
|
|
92
|
+
opacity: 0.34;
|
|
93
|
+
transition: width 160ms ease, opacity 160ms ease, background 160ms ease;
|
|
94
|
+
}
|
|
95
|
+
.clado-resize-n:hover .clado-resize-grip,
|
|
96
|
+
.clado-dock-drawer.resizing .clado-resize-grip {
|
|
97
|
+
width: 48px;
|
|
98
|
+
opacity: 0.85;
|
|
99
|
+
background: var(--clado-ui-brand);
|
|
100
|
+
}
|
|
101
|
+
.clado-resize-w {
|
|
102
|
+
position: absolute;
|
|
103
|
+
top: 22px;
|
|
104
|
+
bottom: 22px;
|
|
105
|
+
left: 0;
|
|
106
|
+
width: 10px;
|
|
107
|
+
cursor: ew-resize;
|
|
108
|
+
z-index: 21;
|
|
109
|
+
display: flex;
|
|
110
|
+
align-items: center;
|
|
111
|
+
justify-content: flex-start;
|
|
112
|
+
padding-left: 2px;
|
|
113
|
+
touch-action: none;
|
|
114
|
+
}
|
|
115
|
+
.clado-resize-grip-v {
|
|
116
|
+
width: 3px;
|
|
117
|
+
height: 28px;
|
|
118
|
+
border-radius: 999px;
|
|
119
|
+
background: var(--clado-ui-brand);
|
|
120
|
+
opacity: 0;
|
|
121
|
+
transition: height 160ms ease, opacity 160ms ease;
|
|
122
|
+
}
|
|
123
|
+
.clado-resize-w:hover .clado-resize-grip-v,
|
|
124
|
+
.clado-dock-drawer.resizing .clado-resize-grip-v {
|
|
125
|
+
opacity: 0.72;
|
|
126
|
+
height: 38px;
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
/* Gently softened bottom aura */
|
|
23
130
|
.clado-dock-aura {
|
|
24
131
|
position: absolute;
|
|
25
|
-
left:
|
|
26
|
-
right:
|
|
27
|
-
bottom: -
|
|
28
|
-
height:
|
|
132
|
+
left: 16%;
|
|
133
|
+
right: 16%;
|
|
134
|
+
bottom: -14px;
|
|
135
|
+
height: 30px;
|
|
29
136
|
border-radius: 999px;
|
|
30
|
-
background: linear-gradient(90deg, rgba(56, 189, 248, 0.
|
|
137
|
+
background: linear-gradient(90deg, rgba(56, 189, 248, 0.38), rgba(167, 139, 250, 0.34), rgba(251, 191, 36, 0.30));
|
|
31
138
|
filter: blur(22px);
|
|
32
|
-
opacity: 0.
|
|
139
|
+
opacity: 0.22;
|
|
33
140
|
pointer-events: none;
|
|
34
141
|
z-index: -1;
|
|
35
142
|
}
|
|
143
|
+
:root[data-theme="dark"] .clado-dock-aura { opacity: 0.18; }
|
|
144
|
+
|
|
36
145
|
.clado-dock-inner {
|
|
37
146
|
border-radius: 22px;
|
|
38
147
|
overflow: hidden;
|
|
@@ -43,28 +152,50 @@
|
|
|
43
152
|
display: flex;
|
|
44
153
|
align-items: center;
|
|
45
154
|
justify-content: space-between;
|
|
46
|
-
padding:
|
|
155
|
+
padding: 15px 14px 10px 16px;
|
|
47
156
|
border-bottom: 1px solid var(--clado-ui-edge);
|
|
48
157
|
gap: 8px;
|
|
158
|
+
position: relative;
|
|
49
159
|
}
|
|
50
160
|
.clado-dock-head-left {
|
|
51
161
|
display: flex;
|
|
52
162
|
align-items: center;
|
|
53
|
-
gap:
|
|
163
|
+
gap: 7px;
|
|
54
164
|
min-width: 0;
|
|
165
|
+
flex: 1;
|
|
55
166
|
}
|
|
56
|
-
.clado-dock-
|
|
57
|
-
|
|
58
|
-
|
|
167
|
+
.clado-dock-session-trigger {
|
|
168
|
+
appearance: none;
|
|
169
|
+
border: 1px solid transparent;
|
|
170
|
+
background: transparent;
|
|
59
171
|
color: var(--clado-ui-text);
|
|
60
|
-
|
|
172
|
+
border-radius: 10px;
|
|
173
|
+
padding: 3px 7px;
|
|
174
|
+
margin-left: -4px;
|
|
175
|
+
font: inherit;
|
|
176
|
+
font-size: 13px;
|
|
177
|
+
font-weight: 620;
|
|
178
|
+
cursor: pointer;
|
|
179
|
+
display: inline-flex;
|
|
180
|
+
align-items: center;
|
|
181
|
+
gap: 5px;
|
|
182
|
+
min-width: 0;
|
|
183
|
+
max-width: 190px;
|
|
184
|
+
transition: background 140ms ease, border-color 140ms ease;
|
|
185
|
+
}
|
|
186
|
+
.clado-dock-session-trigger:hover {
|
|
187
|
+
background: var(--clado-ui-well);
|
|
188
|
+
border-color: var(--clado-ui-well-border);
|
|
189
|
+
}
|
|
190
|
+
.clado-dock-session-trigger span {
|
|
61
191
|
overflow: hidden;
|
|
62
192
|
text-overflow: ellipsis;
|
|
193
|
+
white-space: nowrap;
|
|
63
194
|
}
|
|
64
195
|
.clado-dock-actions {
|
|
65
196
|
display: flex;
|
|
66
197
|
align-items: center;
|
|
67
|
-
gap:
|
|
198
|
+
gap: 2px;
|
|
68
199
|
flex: none;
|
|
69
200
|
}
|
|
70
201
|
.clado-dock-mini-btn {
|
|
@@ -81,6 +212,7 @@
|
|
|
81
212
|
display: inline-flex;
|
|
82
213
|
align-items: center;
|
|
83
214
|
gap: 4px;
|
|
215
|
+
white-space: nowrap;
|
|
84
216
|
transition: all 140ms ease;
|
|
85
217
|
}
|
|
86
218
|
.clado-dock-mini-btn:hover {
|
|
@@ -89,21 +221,80 @@
|
|
|
89
221
|
color: var(--clado-ui-text);
|
|
90
222
|
}
|
|
91
223
|
|
|
224
|
+
/* Session Manager Popover inside Drawer */
|
|
225
|
+
.clado-session-pop {
|
|
226
|
+
position: absolute;
|
|
227
|
+
top: 46px;
|
|
228
|
+
left: 12px;
|
|
229
|
+
right: 12px;
|
|
230
|
+
z-index: 30;
|
|
231
|
+
border-radius: 16px;
|
|
232
|
+
padding: 10px;
|
|
233
|
+
background: rgba(255, 255, 255, 0.92);
|
|
234
|
+
backdrop-filter: blur(28px) saturate(200%);
|
|
235
|
+
-webkit-backdrop-filter: blur(28px) saturate(200%);
|
|
236
|
+
border: 1px solid var(--clado-ui-glass-outline);
|
|
237
|
+
box-shadow: var(--clado-ui-glass-shadow);
|
|
238
|
+
display: flex;
|
|
239
|
+
flex-direction: column;
|
|
240
|
+
gap: 8px;
|
|
241
|
+
}
|
|
242
|
+
:root[data-theme="dark"] .clado-session-pop {
|
|
243
|
+
background: rgba(18, 22, 30, 0.94);
|
|
244
|
+
}
|
|
245
|
+
.clado-session-pop[hidden] { display: none; }
|
|
246
|
+
.clado-session-list {
|
|
247
|
+
display: flex;
|
|
248
|
+
flex-direction: column;
|
|
249
|
+
gap: 4px;
|
|
250
|
+
max-height: 210px;
|
|
251
|
+
overflow-y: auto;
|
|
252
|
+
}
|
|
253
|
+
.clado-session-row {
|
|
254
|
+
display: flex;
|
|
255
|
+
align-items: center;
|
|
256
|
+
justify-content: space-between;
|
|
257
|
+
gap: 6px;
|
|
258
|
+
padding: 6px 8px;
|
|
259
|
+
border-radius: 10px;
|
|
260
|
+
border: 1px solid transparent;
|
|
261
|
+
cursor: pointer;
|
|
262
|
+
transition: background 130ms ease, border-color 130ms ease;
|
|
263
|
+
}
|
|
264
|
+
.clado-session-row:hover {
|
|
265
|
+
background: var(--clado-ui-well);
|
|
266
|
+
border-color: var(--clado-ui-well-border);
|
|
267
|
+
}
|
|
268
|
+
.clado-session-row.active {
|
|
269
|
+
background: var(--clado-ui-prism-bg);
|
|
270
|
+
border-color: var(--clado-ui-prism-border);
|
|
271
|
+
}
|
|
272
|
+
.clado-session-ops {
|
|
273
|
+
display: inline-flex;
|
|
274
|
+
align-items: center;
|
|
275
|
+
gap: 2px;
|
|
276
|
+
flex: none;
|
|
277
|
+
}
|
|
278
|
+
|
|
92
279
|
.clado-dock-stream {
|
|
93
280
|
padding: 13px 15px;
|
|
94
281
|
display: flex;
|
|
95
282
|
flex-direction: column;
|
|
96
283
|
gap: 10px;
|
|
97
|
-
|
|
98
|
-
min-height:
|
|
284
|
+
height: var(--clado-dock-stream-h, 300px);
|
|
285
|
+
min-height: 160px;
|
|
286
|
+
max-height: min(820px, calc(100dvh - 200px));
|
|
99
287
|
overflow-y: auto;
|
|
100
288
|
}
|
|
289
|
+
.clado-dock-stream > * {
|
|
290
|
+
flex-shrink: 0;
|
|
291
|
+
}
|
|
101
292
|
.clado-dock-empty {
|
|
102
|
-
padding:
|
|
293
|
+
padding: 22px 10px;
|
|
103
294
|
text-align: center;
|
|
104
295
|
color: var(--clado-ui-muted);
|
|
105
296
|
font-size: 12px;
|
|
106
|
-
line-height: 1.
|
|
297
|
+
line-height: 1.68;
|
|
107
298
|
}
|
|
108
299
|
.clado-msg-user {
|
|
109
300
|
align-self: flex-end;
|
|
@@ -113,11 +304,11 @@
|
|
|
113
304
|
padding: 8px 13px;
|
|
114
305
|
border-radius: 15px 15px 4px 15px;
|
|
115
306
|
font-size: 12.5px;
|
|
116
|
-
line-height: 1.
|
|
307
|
+
line-height: 1.56;
|
|
117
308
|
max-width: 88%;
|
|
118
309
|
white-space: pre-wrap;
|
|
119
310
|
word-break: break-word;
|
|
120
|
-
box-shadow: 0
|
|
311
|
+
box-shadow: 0 3px 10px -4px rgba(99, 102, 241, 0.12), inset 0 1px 0 var(--clado-ui-highlight);
|
|
121
312
|
}
|
|
122
313
|
.clado-msg-assistant {
|
|
123
314
|
align-self: flex-start;
|
|
@@ -127,24 +318,228 @@
|
|
|
127
318
|
padding: 10px 13px;
|
|
128
319
|
border-radius: 4px 15px 15px 15px;
|
|
129
320
|
font-size: 12.5px;
|
|
130
|
-
line-height: 1.
|
|
131
|
-
max-width:
|
|
132
|
-
white-space: pre-wrap;
|
|
321
|
+
line-height: 1.62;
|
|
322
|
+
max-width: 96%;
|
|
133
323
|
word-break: break-word;
|
|
134
324
|
box-shadow: inset 0 1px 0 var(--clado-ui-highlight);
|
|
135
325
|
}
|
|
136
|
-
|
|
326
|
+
|
|
327
|
+
/* Rendered Markdown Typography inside Assistant Bubbles */
|
|
328
|
+
.clado-md > :first-child { margin-top: 0; }
|
|
329
|
+
.clado-md > :last-child { margin-bottom: 0; }
|
|
330
|
+
.clado-md p { margin: 0 0 8px; }
|
|
331
|
+
.clado-md h1, .clado-md h2, .clado-md h3, .clado-md h4 {
|
|
332
|
+
margin: 10px 0 5px;
|
|
333
|
+
font-weight: 640;
|
|
334
|
+
line-height: 1.35;
|
|
335
|
+
color: var(--clado-ui-text);
|
|
336
|
+
}
|
|
337
|
+
.clado-md h1 { font-size: 14.5px; }
|
|
338
|
+
.clado-md h2 { font-size: 13.5px; }
|
|
339
|
+
.clado-md h3, .clado-md h4 { font-size: 12.5px; }
|
|
340
|
+
.clado-md ul, .clado-md ol {
|
|
341
|
+
margin: 4px 0 8px;
|
|
342
|
+
padding-left: 18px;
|
|
343
|
+
}
|
|
344
|
+
.clado-md li { margin: 2px 0; }
|
|
345
|
+
.clado-md blockquote {
|
|
346
|
+
margin: 6px 0;
|
|
347
|
+
padding: 4px 10px;
|
|
348
|
+
border-left: 2.5px solid var(--clado-ui-prism-border);
|
|
349
|
+
color: var(--clado-ui-muted);
|
|
350
|
+
background: rgba(148, 163, 184, 0.06);
|
|
351
|
+
border-radius: 0 8px 8px 0;
|
|
352
|
+
}
|
|
353
|
+
.clado-md code {
|
|
354
|
+
font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
|
|
355
|
+
font-size: 11.5px;
|
|
356
|
+
background: rgba(148, 163, 184, 0.14);
|
|
357
|
+
padding: 1px 5px;
|
|
358
|
+
border-radius: 5px;
|
|
359
|
+
}
|
|
360
|
+
.clado-md-pre {
|
|
361
|
+
margin: 7px 0;
|
|
137
362
|
border-radius: 11px;
|
|
138
|
-
|
|
363
|
+
background: rgba(15, 23, 42, 0.055);
|
|
364
|
+
border: 1px solid var(--clado-ui-edge);
|
|
365
|
+
overflow: hidden;
|
|
366
|
+
}
|
|
367
|
+
:root[data-theme="dark"] .clado-md-pre {
|
|
368
|
+
background: rgba(0, 0, 0, 0.30);
|
|
369
|
+
}
|
|
370
|
+
.clado-md-pre-head {
|
|
371
|
+
display: flex;
|
|
372
|
+
align-items: center;
|
|
373
|
+
justify-content: space-between;
|
|
374
|
+
padding: 4px 10px;
|
|
375
|
+
font-size: 10.5px;
|
|
376
|
+
color: var(--clado-ui-subtle);
|
|
377
|
+
border-bottom: 1px solid var(--clado-ui-edge);
|
|
378
|
+
font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
|
|
379
|
+
}
|
|
380
|
+
.clado-md-pre pre {
|
|
381
|
+
margin: 0;
|
|
382
|
+
padding: 9px 11px;
|
|
383
|
+
overflow-x: auto;
|
|
384
|
+
font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
|
|
385
|
+
font-size: 11.5px;
|
|
386
|
+
line-height: 1.5;
|
|
387
|
+
}
|
|
388
|
+
.clado-md-pre pre code {
|
|
389
|
+
background: transparent;
|
|
390
|
+
padding: 0;
|
|
391
|
+
border-radius: 0;
|
|
392
|
+
}
|
|
393
|
+
.clado-md a {
|
|
394
|
+
color: var(--clado-ui-brand);
|
|
395
|
+
text-decoration: underline;
|
|
396
|
+
text-underline-offset: 2px;
|
|
397
|
+
}
|
|
398
|
+
.clado-md hr {
|
|
399
|
+
border: 0;
|
|
400
|
+
border-top: 1px solid var(--clado-ui-edge);
|
|
401
|
+
margin: 8px 0;
|
|
402
|
+
}
|
|
403
|
+
.clado-md table {
|
|
404
|
+
width: 100%;
|
|
405
|
+
border-collapse: collapse;
|
|
406
|
+
margin: 6px 0;
|
|
407
|
+
font-size: 11.5px;
|
|
408
|
+
}
|
|
409
|
+
.clado-md th, .clado-md td {
|
|
410
|
+
border: 1px solid var(--clado-ui-edge);
|
|
411
|
+
padding: 4px 7px;
|
|
412
|
+
text-align: left;
|
|
413
|
+
}
|
|
414
|
+
.clado-md th {
|
|
415
|
+
background: rgba(148, 163, 184, 0.09);
|
|
416
|
+
font-weight: 600;
|
|
417
|
+
}
|
|
418
|
+
|
|
419
|
+
.clado-tool-trace {
|
|
420
|
+
border-radius: 13px;
|
|
139
421
|
background: var(--clado-ui-well);
|
|
140
422
|
border: 1px solid var(--clado-ui-well-border);
|
|
423
|
+
overflow: hidden;
|
|
424
|
+
font-size: 11.5px;
|
|
425
|
+
}
|
|
426
|
+
.clado-tool-trace-err {
|
|
427
|
+
border-color: rgba(244, 63, 94, 0.34);
|
|
428
|
+
}
|
|
429
|
+
.clado-tool-trace > summary {
|
|
430
|
+
list-style: none;
|
|
431
|
+
cursor: pointer;
|
|
432
|
+
padding: 7px 11px;
|
|
433
|
+
display: flex;
|
|
434
|
+
align-items: center;
|
|
435
|
+
justify-content: space-between;
|
|
436
|
+
gap: 8px;
|
|
437
|
+
color: var(--clado-ui-muted);
|
|
438
|
+
font-weight: 540;
|
|
439
|
+
user-select: none;
|
|
440
|
+
}
|
|
441
|
+
.clado-tool-trace > summary::-webkit-details-marker { display: none; }
|
|
442
|
+
.clado-tool-trace > summary:hover { color: var(--clado-ui-text); }
|
|
443
|
+
.clado-tool-list {
|
|
444
|
+
display: flex;
|
|
445
|
+
flex-direction: column;
|
|
446
|
+
gap: 4px;
|
|
447
|
+
padding: 0 8px 8px;
|
|
448
|
+
border-top: 1px solid var(--clado-ui-edge);
|
|
449
|
+
padding-top: 7px;
|
|
450
|
+
}
|
|
451
|
+
.clado-tool-step {
|
|
452
|
+
border-radius: 9px;
|
|
453
|
+
background: rgba(148, 163, 184, 0.06);
|
|
454
|
+
border: 1px solid var(--clado-ui-edge);
|
|
455
|
+
padding: 5px 8px;
|
|
141
456
|
font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
|
|
142
457
|
font-size: 11px;
|
|
143
|
-
|
|
458
|
+
}
|
|
459
|
+
.clado-tool-step-err {
|
|
460
|
+
background: rgba(244, 63, 94, 0.065);
|
|
461
|
+
border-color: rgba(244, 63, 94, 0.28);
|
|
462
|
+
}
|
|
463
|
+
.clado-tool-step-head {
|
|
144
464
|
display: flex;
|
|
145
465
|
align-items: center;
|
|
146
|
-
gap:
|
|
466
|
+
gap: 6px;
|
|
467
|
+
min-width: 0;
|
|
468
|
+
}
|
|
469
|
+
.clado-tool-name {
|
|
470
|
+
font-weight: 620;
|
|
471
|
+
color: var(--clado-ui-text-soft);
|
|
472
|
+
flex: none;
|
|
473
|
+
}
|
|
474
|
+
.clado-tool-args {
|
|
475
|
+
color: var(--clado-ui-muted);
|
|
476
|
+
overflow: hidden;
|
|
477
|
+
text-overflow: ellipsis;
|
|
478
|
+
white-space: nowrap;
|
|
479
|
+
flex: 1;
|
|
480
|
+
min-width: 0;
|
|
481
|
+
}
|
|
482
|
+
.clado-tool-status-muted {
|
|
483
|
+
font-size: 10px;
|
|
484
|
+
color: var(--clado-ui-subtle);
|
|
485
|
+
flex: none;
|
|
486
|
+
}
|
|
487
|
+
.clado-tool-status-err {
|
|
488
|
+
font-size: 10px;
|
|
489
|
+
font-weight: 620;
|
|
490
|
+
color: #e11d48;
|
|
491
|
+
flex: none;
|
|
492
|
+
}
|
|
493
|
+
:root[data-theme="dark"] .clado-tool-status-err {
|
|
494
|
+
color: #fb7185;
|
|
495
|
+
}
|
|
496
|
+
.clado-tool-preview {
|
|
497
|
+
margin-top: 4px;
|
|
498
|
+
padding-top: 4px;
|
|
499
|
+
border-top: 1px dashed var(--clado-ui-edge);
|
|
500
|
+
color: var(--clado-ui-subtle);
|
|
501
|
+
white-space: pre-wrap;
|
|
147
502
|
word-break: break-all;
|
|
503
|
+
max-height: 92px;
|
|
504
|
+
overflow-y: auto;
|
|
505
|
+
line-height: 1.45;
|
|
506
|
+
}
|
|
507
|
+
.clado-tool-step-err .clado-tool-preview {
|
|
508
|
+
color: #be123c;
|
|
509
|
+
}
|
|
510
|
+
:root[data-theme="dark"] .clado-tool-step-err .clado-tool-preview {
|
|
511
|
+
color: #fda4af;
|
|
512
|
+
}
|
|
513
|
+
.clado-live-activity {
|
|
514
|
+
align-self: flex-start;
|
|
515
|
+
display: inline-flex;
|
|
516
|
+
align-items: center;
|
|
517
|
+
gap: 7px;
|
|
518
|
+
padding: 5px 11px;
|
|
519
|
+
border-radius: 999px;
|
|
520
|
+
background: var(--clado-ui-well);
|
|
521
|
+
border: 1px solid var(--clado-ui-well-border);
|
|
522
|
+
font-size: 11.5px;
|
|
523
|
+
color: var(--clado-ui-muted);
|
|
524
|
+
}
|
|
525
|
+
@keyframes cladoPulse {
|
|
526
|
+
0%, 100% { opacity: 1; transform: scale(1); }
|
|
527
|
+
50% { opacity: 0.4; transform: scale(0.82); }
|
|
528
|
+
}
|
|
529
|
+
.clado-dot-pulse {
|
|
530
|
+
width: 6.5px;
|
|
531
|
+
height: 6.5px;
|
|
532
|
+
border-radius: 50%;
|
|
533
|
+
background: #38bdf8;
|
|
534
|
+
animation: cladoPulse 1.2s ease-in-out infinite;
|
|
535
|
+
flex: none;
|
|
536
|
+
}
|
|
537
|
+
.clado-dot-err {
|
|
538
|
+
width: 6.5px;
|
|
539
|
+
height: 6.5px;
|
|
540
|
+
border-radius: 50%;
|
|
541
|
+
background: #f43f5e;
|
|
542
|
+
flex: none;
|
|
148
543
|
}
|
|
149
544
|
.clado-decision-card {
|
|
150
545
|
border-radius: 16px;
|
|
@@ -166,15 +561,49 @@
|
|
|
166
561
|
flex-wrap: wrap;
|
|
167
562
|
gap: 7px;
|
|
168
563
|
}
|
|
169
|
-
.clado-
|
|
170
|
-
padding: 9px 15px;
|
|
171
|
-
border-top: 1px solid var(--clado-ui-edge);
|
|
564
|
+
.clado-decision-custom {
|
|
172
565
|
display: flex;
|
|
173
566
|
align-items: center;
|
|
174
|
-
|
|
175
|
-
|
|
567
|
+
gap: 6px;
|
|
568
|
+
padding-top: 4px;
|
|
569
|
+
border-top: 1px dashed var(--clado-ui-edge);
|
|
570
|
+
}
|
|
571
|
+
.clado-decision-input {
|
|
572
|
+
flex: 1;
|
|
573
|
+
min-width: 0;
|
|
574
|
+
height: 30px;
|
|
575
|
+
padding: 0 10px;
|
|
576
|
+
border-radius: 10px;
|
|
577
|
+
border: 1px solid var(--clado-ui-well-border);
|
|
578
|
+
background: var(--clado-ui-well);
|
|
579
|
+
color: var(--clado-ui-text);
|
|
580
|
+
font-size: 12px;
|
|
581
|
+
font-family: inherit;
|
|
582
|
+
outline: none;
|
|
583
|
+
transition: border-color 140ms ease, box-shadow 140ms ease;
|
|
584
|
+
}
|
|
585
|
+
.clado-decision-input:focus {
|
|
586
|
+
border-color: var(--clado-ui-brand);
|
|
587
|
+
box-shadow: 0 0 0 2px rgba(56, 189, 248, 0.18);
|
|
588
|
+
}
|
|
589
|
+
.clado-decision-input::placeholder {
|
|
590
|
+
color: var(--clado-ui-subtle);
|
|
591
|
+
}
|
|
592
|
+
.clado-decision-submit {
|
|
593
|
+
flex: none;
|
|
594
|
+
min-height: 30px;
|
|
595
|
+
padding: 4px 12px;
|
|
176
596
|
font-size: 11.5px;
|
|
177
597
|
}
|
|
598
|
+
.clado-decision-done {
|
|
599
|
+
align-self: flex-start;
|
|
600
|
+
font-size: 11.5px;
|
|
601
|
+
color: var(--clado-ui-muted);
|
|
602
|
+
background: var(--clado-ui-well);
|
|
603
|
+
border: 1px solid var(--clado-ui-well-border);
|
|
604
|
+
border-radius: 999px;
|
|
605
|
+
padding: 3px 10px;
|
|
606
|
+
}
|
|
178
607
|
|
|
179
608
|
/* Role Strip */
|
|
180
609
|
.clado-role-strip {
|
|
@@ -183,12 +612,15 @@
|
|
|
183
612
|
gap: 6px;
|
|
184
613
|
overflow-x: auto;
|
|
185
614
|
scrollbar-width: none;
|
|
186
|
-
padding: 2px
|
|
615
|
+
padding: 4px 2px 10px;
|
|
187
616
|
}
|
|
188
617
|
.clado-role-strip::-webkit-scrollbar { display: none; }
|
|
189
618
|
.clado-role-pill {
|
|
619
|
+
--pill-c1: rgba(56, 189, 248, 0.85);
|
|
620
|
+
--pill-c2: rgba(129, 140, 248, 0.85);
|
|
621
|
+
--pill-glow: rgba(56, 189, 248, 0.34);
|
|
190
622
|
position: relative;
|
|
191
|
-
overflow:
|
|
623
|
+
overflow: visible;
|
|
192
624
|
flex: none;
|
|
193
625
|
appearance: none;
|
|
194
626
|
border-radius: 999px;
|
|
@@ -208,28 +640,64 @@
|
|
|
208
640
|
gap: 6px;
|
|
209
641
|
transition: all 150ms ease;
|
|
210
642
|
}
|
|
643
|
+
.clado-role-pill[data-tone="sky"] {
|
|
644
|
+
--pill-c1: rgba(56, 189, 248, 0.85);
|
|
645
|
+
--pill-c2: rgba(129, 140, 248, 0.85);
|
|
646
|
+
--pill-glow: rgba(56, 189, 248, 0.36);
|
|
647
|
+
}
|
|
648
|
+
.clado-role-pill[data-tone="emerald"] {
|
|
649
|
+
--pill-c1: rgba(16, 185, 129, 0.85);
|
|
650
|
+
--pill-c2: rgba(45, 212, 191, 0.85);
|
|
651
|
+
--pill-glow: rgba(16, 185, 129, 0.36);
|
|
652
|
+
}
|
|
653
|
+
.clado-role-pill[data-tone="violet"] {
|
|
654
|
+
--pill-c1: rgba(139, 92, 246, 0.85);
|
|
655
|
+
--pill-c2: rgba(244, 114, 182, 0.85);
|
|
656
|
+
--pill-glow: rgba(139, 92, 246, 0.36);
|
|
657
|
+
}
|
|
658
|
+
.clado-role-pill[data-tone="amber"] {
|
|
659
|
+
--pill-c1: rgba(245, 158, 11, 0.85);
|
|
660
|
+
--pill-c2: rgba(251, 146, 60, 0.85);
|
|
661
|
+
--pill-glow: rgba(245, 158, 11, 0.36);
|
|
662
|
+
}
|
|
663
|
+
.clado-role-pill::before {
|
|
664
|
+
content: "";
|
|
665
|
+
position: absolute;
|
|
666
|
+
left: 14px;
|
|
667
|
+
right: 14px;
|
|
668
|
+
top: calc(100% - 1px);
|
|
669
|
+
height: 9px;
|
|
670
|
+
border-radius: 50%;
|
|
671
|
+
background: radial-gradient(ellipse 62% 100% at 50% 0%, var(--pill-glow), transparent 78%);
|
|
672
|
+
filter: blur(4px);
|
|
673
|
+
opacity: 0;
|
|
674
|
+
pointer-events: none;
|
|
675
|
+
transition: opacity 180ms ease;
|
|
676
|
+
}
|
|
211
677
|
.clado-role-pill::after {
|
|
212
678
|
content: "";
|
|
213
679
|
position: absolute;
|
|
214
680
|
left: 16px;
|
|
215
681
|
right: 16px;
|
|
216
|
-
bottom: 0;
|
|
217
|
-
height:
|
|
218
|
-
border-radius:
|
|
219
|
-
|
|
682
|
+
bottom: -0.5px;
|
|
683
|
+
height: 1px;
|
|
684
|
+
border-radius: 1px;
|
|
685
|
+
background: linear-gradient(90deg, transparent 0%, var(--pill-c1) 28%, var(--pill-c2) 72%, transparent 100%);
|
|
686
|
+
opacity: 0.42;
|
|
687
|
+
pointer-events: none;
|
|
220
688
|
transition: all 150ms ease;
|
|
221
689
|
}
|
|
222
|
-
.clado-role-pill
|
|
223
|
-
.clado-role-pill
|
|
224
|
-
.clado-role-pill[data-tone="violet"]::after { background: linear-gradient(90deg, #a78bfa, #f472b6); }
|
|
225
|
-
.clado-role-pill[data-tone="amber"]::after { background: linear-gradient(90deg, #fbbf24, #fb923c); }
|
|
226
|
-
.clado-role-pill.active {
|
|
690
|
+
.clado-role-pill.active,
|
|
691
|
+
.clado-role-pill.running {
|
|
227
692
|
color: var(--clado-ui-text);
|
|
228
693
|
background: var(--clado-ui-active);
|
|
229
|
-
border-color: rgba(147, 197, 253, 0.
|
|
230
|
-
box-shadow: 0
|
|
694
|
+
border-color: rgba(147, 197, 253, 0.52);
|
|
695
|
+
box-shadow: 0 3px 12px -6px var(--pill-glow), inset 0 1px 0 var(--clado-ui-highlight);
|
|
231
696
|
}
|
|
232
|
-
.clado-role-pill.active::
|
|
697
|
+
.clado-role-pill.active::before,
|
|
698
|
+
.clado-role-pill.running::before { opacity: 0.92; }
|
|
699
|
+
.clado-role-pill.active::after,
|
|
700
|
+
.clado-role-pill.running::after { left: 11px; right: 11px; opacity: 0.88; }
|
|
233
701
|
|
|
234
702
|
.clado-role-add {
|
|
235
703
|
width: 30px;
|
|
@@ -237,15 +705,16 @@
|
|
|
237
705
|
padding: 0;
|
|
238
706
|
justify-content: center;
|
|
239
707
|
}
|
|
708
|
+
.clado-role-add::before,
|
|
240
709
|
.clado-role-add::after { display: none; }
|
|
241
710
|
|
|
242
|
-
/* Composer */
|
|
711
|
+
/* Multiline Auto-Grow Composer */
|
|
243
712
|
.clado-composer {
|
|
244
713
|
position: relative;
|
|
245
|
-
border-radius:
|
|
246
|
-
padding:
|
|
714
|
+
border-radius: 20px;
|
|
715
|
+
padding: 8px 10px 7px 12px;
|
|
247
716
|
display: flex;
|
|
248
|
-
|
|
717
|
+
flex-direction: column;
|
|
249
718
|
gap: 6px;
|
|
250
719
|
background: var(--clado-ui-surface);
|
|
251
720
|
backdrop-filter: blur(22px) saturate(190%);
|
|
@@ -254,27 +723,50 @@
|
|
|
254
723
|
box-shadow: var(--clado-ui-shadow);
|
|
255
724
|
}
|
|
256
725
|
.clado-composer-input {
|
|
257
|
-
|
|
258
|
-
min-
|
|
726
|
+
width: 100%;
|
|
727
|
+
min-height: 22px;
|
|
728
|
+
max-height: 132px;
|
|
259
729
|
border: 0;
|
|
260
730
|
outline: 0;
|
|
731
|
+
resize: none;
|
|
261
732
|
background: transparent;
|
|
262
733
|
color: var(--clado-ui-text);
|
|
263
734
|
font: inherit;
|
|
264
735
|
font-size: 12.5px;
|
|
736
|
+
line-height: 1.5;
|
|
737
|
+
padding: 0;
|
|
738
|
+
overflow-y: auto;
|
|
265
739
|
}
|
|
266
740
|
.clado-composer-input::placeholder { color: var(--clado-ui-subtle); }
|
|
267
|
-
.clado-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
741
|
+
.clado-composer-bar {
|
|
742
|
+
display: flex;
|
|
743
|
+
align-items: center;
|
|
744
|
+
justify-content: space-between;
|
|
745
|
+
gap: 6px;
|
|
746
|
+
}
|
|
747
|
+
.clado-composer-left {
|
|
748
|
+
display: flex;
|
|
749
|
+
align-items: center;
|
|
750
|
+
gap: 5px;
|
|
751
|
+
min-width: 0;
|
|
752
|
+
}
|
|
753
|
+
.clado-composer-right {
|
|
754
|
+
display: flex;
|
|
755
|
+
align-items: center;
|
|
756
|
+
gap: 5px;
|
|
757
|
+
flex: none;
|
|
758
|
+
}
|
|
759
|
+
.clado-model-chip {
|
|
760
|
+
appearance: none;
|
|
761
|
+
border: 1px solid var(--clado-ui-well-border);
|
|
762
|
+
background: var(--clado-ui-well);
|
|
763
|
+
color: var(--clado-ui-text-soft);
|
|
764
|
+
border-radius: 999px;
|
|
765
|
+
padding: 3px 9px;
|
|
766
|
+
font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
|
|
767
|
+
font-size: 11px;
|
|
768
|
+
max-width: 126px;
|
|
769
|
+
overflow: hidden;
|
|
278
770
|
text-overflow: ellipsis;
|
|
279
771
|
white-space: nowrap;
|
|
280
772
|
cursor: pointer;
|
|
@@ -283,6 +775,24 @@
|
|
|
283
775
|
background: var(--clado-ui-hover);
|
|
284
776
|
border-color: var(--clado-ui-hover-border);
|
|
285
777
|
}
|
|
778
|
+
.clado-sendmode-btn {
|
|
779
|
+
appearance: none;
|
|
780
|
+
border: 1px solid transparent;
|
|
781
|
+
background: transparent;
|
|
782
|
+
color: var(--clado-ui-subtle);
|
|
783
|
+
border-radius: 999px;
|
|
784
|
+
padding: 3px 8px;
|
|
785
|
+
font: inherit;
|
|
786
|
+
font-size: 10.5px;
|
|
787
|
+
cursor: pointer;
|
|
788
|
+
white-space: nowrap;
|
|
789
|
+
transition: all 140ms ease;
|
|
790
|
+
}
|
|
791
|
+
.clado-sendmode-btn:hover {
|
|
792
|
+
background: var(--clado-ui-well);
|
|
793
|
+
border-color: var(--clado-ui-well-border);
|
|
794
|
+
color: var(--clado-ui-text-soft);
|
|
795
|
+
}
|
|
286
796
|
|
|
287
797
|
/* Slash command & Model popovers */
|
|
288
798
|
.clado-dock-popover {
|
|
@@ -300,11 +810,22 @@
|
|
|
300
810
|
display: flex;
|
|
301
811
|
flex-direction: column;
|
|
302
812
|
gap: 3px;
|
|
303
|
-
max-height:
|
|
813
|
+
max-height: 268px;
|
|
304
814
|
overflow-y: auto;
|
|
305
815
|
z-index: 45;
|
|
306
816
|
}
|
|
307
817
|
.clado-dock-popover[hidden] { display: none; }
|
|
818
|
+
.clado-pop-head {
|
|
819
|
+
font-size: 10.5px;
|
|
820
|
+
font-weight: 600;
|
|
821
|
+
color: var(--clado-ui-subtle);
|
|
822
|
+
padding: 3px 10px 4px;
|
|
823
|
+
display: flex;
|
|
824
|
+
align-items: center;
|
|
825
|
+
justify-content: space-between;
|
|
826
|
+
gap: 8px;
|
|
827
|
+
user-select: none;
|
|
828
|
+
}
|
|
308
829
|
.clado-pop-item {
|
|
309
830
|
appearance: none;
|
|
310
831
|
border: 1px solid transparent;
|
|
@@ -321,11 +842,49 @@
|
|
|
321
842
|
justify-content: space-between;
|
|
322
843
|
gap: 8px;
|
|
323
844
|
}
|
|
324
|
-
.clado-pop-item:hover
|
|
845
|
+
.clado-pop-item:hover,
|
|
846
|
+
.clado-pop-item.is-selected {
|
|
325
847
|
background: var(--clado-ui-hover);
|
|
326
848
|
border-color: var(--clado-ui-hover-border);
|
|
327
849
|
color: var(--clado-ui-text);
|
|
328
850
|
}
|
|
851
|
+
.clado-pop-item.is-selected {
|
|
852
|
+
background: var(--clado-ui-prism-bg);
|
|
853
|
+
border-color: var(--clado-ui-prism-border);
|
|
854
|
+
}
|
|
855
|
+
.clado-pop-main {
|
|
856
|
+
display: flex;
|
|
857
|
+
align-items: center;
|
|
858
|
+
gap: 7px;
|
|
859
|
+
min-width: 0;
|
|
860
|
+
flex: 1;
|
|
861
|
+
}
|
|
862
|
+
.clado-pop-label {
|
|
863
|
+
font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
|
|
864
|
+
font-size: 12px;
|
|
865
|
+
overflow: hidden;
|
|
866
|
+
text-overflow: ellipsis;
|
|
867
|
+
white-space: nowrap;
|
|
868
|
+
}
|
|
869
|
+
.clado-pop-badge {
|
|
870
|
+
flex: none;
|
|
871
|
+
font-size: 10px;
|
|
872
|
+
font-weight: 600;
|
|
873
|
+
padding: 1px 6px;
|
|
874
|
+
border-radius: 999px;
|
|
875
|
+
background: var(--clado-ui-well);
|
|
876
|
+
border: 1px solid var(--clado-ui-well-border);
|
|
877
|
+
color: var(--clado-ui-muted);
|
|
878
|
+
}
|
|
879
|
+
.clado-pop-desc {
|
|
880
|
+
color: var(--clado-ui-subtle);
|
|
881
|
+
font-size: 11px;
|
|
882
|
+
max-width: 52%;
|
|
883
|
+
overflow: hidden;
|
|
884
|
+
text-overflow: ellipsis;
|
|
885
|
+
white-space: nowrap;
|
|
886
|
+
flex: none;
|
|
887
|
+
}
|
|
329
888
|
|
|
330
889
|
/* ================= Unified 5-Tab Settings Center & Handoff Modal ================= */
|
|
331
890
|
.clado-vnext-mask {
|
|
@@ -390,7 +949,7 @@
|
|
|
390
949
|
background: var(--clado-ui-prism-bg);
|
|
391
950
|
border-color: var(--clado-ui-prism-border);
|
|
392
951
|
color: var(--clado-ui-prism-text);
|
|
393
|
-
box-shadow: 0
|
|
952
|
+
box-shadow: 0 3px 10px -4px rgba(99, 102, 241, 0.14), inset 0 1px 0 var(--clado-ui-highlight);
|
|
394
953
|
}
|
|
395
954
|
.clado-settings-body {
|
|
396
955
|
flex: 1;
|
|
@@ -454,9 +1013,9 @@
|
|
|
454
1013
|
transition: transform 160ms cubic-bezier(0.22, 1, 0.36, 1);
|
|
455
1014
|
}
|
|
456
1015
|
.clado-switch.on {
|
|
457
|
-
background: linear-gradient(135deg, rgba(56, 189, 248, 0.
|
|
458
|
-
border-color: rgba(125, 211, 252, 0.
|
|
459
|
-
box-shadow: 0 0
|
|
1016
|
+
background: linear-gradient(135deg, rgba(56, 189, 248, 0.66), rgba(129, 140, 248, 0.70));
|
|
1017
|
+
border-color: rgba(125, 211, 252, 0.78);
|
|
1018
|
+
box-shadow: 0 0 8px rgba(56, 189, 248, 0.22);
|
|
460
1019
|
}
|
|
461
1020
|
.clado-switch.on::after { transform: translateX(16px); }
|
|
462
1021
|
|
|
@@ -472,23 +1031,23 @@
|
|
|
472
1031
|
border: 1px solid transparent;
|
|
473
1032
|
white-space: nowrap;
|
|
474
1033
|
}
|
|
475
|
-
.clado-chip-sky { background: rgba(186, 230, 253, 0.
|
|
476
|
-
.clado-chip-mint { background: rgba(167, 243, 208, 0.
|
|
477
|
-
.clado-chip-amber { background: rgba(253, 230, 138, 0.
|
|
478
|
-
.clado-chip-violet { background: rgba(221, 214, 254, 0.
|
|
1034
|
+
.clado-chip-sky { background: rgba(186, 230, 253, 0.50); border-color: rgba(125, 211, 252, 0.58); color: #0369a1; }
|
|
1035
|
+
.clado-chip-mint { background: rgba(167, 243, 208, 0.48); border-color: rgba(110, 231, 183, 0.58); color: #047857; }
|
|
1036
|
+
.clado-chip-amber { background: rgba(253, 230, 138, 0.48); border-color: rgba(252, 211, 77, 0.62); color: #b45309; }
|
|
1037
|
+
.clado-chip-violet { background: rgba(221, 214, 254, 0.50); border-color: rgba(196, 181, 253, 0.62); color: #6d28d9; }
|
|
479
1038
|
.clado-chip-neutral { background: var(--clado-ui-well); border-color: var(--clado-ui-well-border); color: var(--clado-ui-muted); }
|
|
480
1039
|
|
|
481
|
-
:root[data-theme="dark"] .clado-chip-sky { background: rgba(56, 189, 248, 0.
|
|
482
|
-
:root[data-theme="dark"] .clado-chip-mint { background: rgba(52, 211, 153, 0.
|
|
483
|
-
:root[data-theme="dark"] .clado-chip-amber { background: rgba(251, 191, 36, 0.
|
|
484
|
-
:root[data-theme="dark"] .clado-chip-violet { background: rgba(167, 139, 250, 0.
|
|
1040
|
+
:root[data-theme="dark"] .clado-chip-sky { background: rgba(56, 189, 248, 0.16); border-color: rgba(56, 189, 248, 0.30); color: #7dd3fc; }
|
|
1041
|
+
:root[data-theme="dark"] .clado-chip-mint { background: rgba(52, 211, 153, 0.16); border-color: rgba(52, 211, 153, 0.30); color: #6ee7b7; }
|
|
1042
|
+
:root[data-theme="dark"] .clado-chip-amber { background: rgba(251, 191, 36, 0.16); border-color: rgba(251, 191, 36, 0.30); color: #fcd34d; }
|
|
1043
|
+
:root[data-theme="dark"] .clado-chip-violet { background: rgba(167, 139, 250, 0.18); border-color: rgba(167, 139, 250, 0.32); color: #c4b5fd; }
|
|
485
1044
|
|
|
486
1045
|
.clado-dot-ok {
|
|
487
1046
|
width: 6.5px;
|
|
488
1047
|
height: 6.5px;
|
|
489
1048
|
border-radius: 50%;
|
|
490
1049
|
background: #34d399;
|
|
491
|
-
box-shadow: 0 0
|
|
1050
|
+
box-shadow: 0 0 6px rgba(52, 211, 153, 0.55);
|
|
492
1051
|
display: inline-block;
|
|
493
1052
|
flex: none;
|
|
494
1053
|
}
|
|
@@ -497,28 +1056,702 @@
|
|
|
497
1056
|
height: 6.5px;
|
|
498
1057
|
border-radius: 50%;
|
|
499
1058
|
background: #38bdf8;
|
|
500
|
-
box-shadow: 0 0
|
|
1059
|
+
box-shadow: 0 0 6px rgba(56, 189, 248, 0.60);
|
|
501
1060
|
display: inline-block;
|
|
502
1061
|
flex: none;
|
|
503
1062
|
}
|
|
504
1063
|
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
1064
|
+
/* Composer Context Chips Bar */
|
|
1065
|
+
.clado-ctx-bar {
|
|
1066
|
+
display: flex;
|
|
1067
|
+
flex-wrap: wrap;
|
|
1068
|
+
align-items: center;
|
|
1069
|
+
gap: 5px;
|
|
1070
|
+
padding: 0 2px 6px;
|
|
1071
|
+
}
|
|
1072
|
+
.clado-ctx-chip {
|
|
1073
|
+
display: inline-flex;
|
|
1074
|
+
align-items: center;
|
|
1075
|
+
gap: 5px;
|
|
1076
|
+
max-width: 100%;
|
|
1077
|
+
padding: 2px 8px;
|
|
1078
|
+
border-radius: 999px;
|
|
1079
|
+
font-size: 10.5px;
|
|
1080
|
+
font-weight: 560;
|
|
1081
|
+
color: var(--clado-ui-text-soft);
|
|
1082
|
+
background: var(--clado-ui-well);
|
|
1083
|
+
border: 1px solid var(--clado-ui-well-border);
|
|
1084
|
+
}
|
|
1085
|
+
.clado-ctx-chip.is-snippet {
|
|
1086
|
+
background: var(--clado-ui-prism-bg);
|
|
1087
|
+
border-color: var(--clado-ui-prism-border);
|
|
1088
|
+
color: var(--clado-ui-prism-text);
|
|
516
1089
|
}
|
|
517
|
-
.clado-
|
|
1090
|
+
.clado-ctx-chip-txt {
|
|
1091
|
+
overflow: hidden;
|
|
1092
|
+
text-overflow: ellipsis;
|
|
1093
|
+
white-space: nowrap;
|
|
1094
|
+
max-width: 220px;
|
|
1095
|
+
}
|
|
1096
|
+
.clado-ctx-chip-x {
|
|
1097
|
+
appearance: none;
|
|
1098
|
+
border: 0;
|
|
1099
|
+
background: transparent;
|
|
1100
|
+
color: inherit;
|
|
1101
|
+
opacity: 0.68;
|
|
518
1102
|
cursor: pointer;
|
|
519
|
-
|
|
1103
|
+
padding: 0 1px;
|
|
1104
|
+
font-size: 12px;
|
|
1105
|
+
line-height: 1;
|
|
1106
|
+
}
|
|
1107
|
+
.clado-ctx-chip-x:hover { opacity: 1; }
|
|
1108
|
+
|
|
1109
|
+
/* Mid-turn Stop Button */
|
|
1110
|
+
.clado-stop-btn {
|
|
1111
|
+
appearance: none;
|
|
1112
|
+
border: 1px solid rgba(244, 63, 94, 0.38);
|
|
1113
|
+
background: rgba(244, 63, 94, 0.10);
|
|
1114
|
+
color: #be123c;
|
|
1115
|
+
border-radius: 999px;
|
|
1116
|
+
min-height: 26px;
|
|
1117
|
+
padding: 3px 10px;
|
|
1118
|
+
font: inherit;
|
|
1119
|
+
font-size: 11.5px;
|
|
1120
|
+
font-weight: 600;
|
|
1121
|
+
cursor: pointer;
|
|
1122
|
+
transition: background 140ms ease, border-color 140ms ease;
|
|
1123
|
+
}
|
|
1124
|
+
.clado-stop-btn:hover {
|
|
1125
|
+
background: rgba(244, 63, 94, 0.18);
|
|
1126
|
+
border-color: rgba(244, 63, 94, 0.56);
|
|
1127
|
+
}
|
|
1128
|
+
:root[data-theme="dark"] .clado-stop-btn {
|
|
1129
|
+
color: #fda4af;
|
|
1130
|
+
background: rgba(244, 63, 94, 0.16);
|
|
1131
|
+
}
|
|
1132
|
+
|
|
1133
|
+
/* Collapsible Thinking Trace */
|
|
1134
|
+
.clado-thinking-trace {
|
|
1135
|
+
align-self: stretch;
|
|
1136
|
+
border-radius: 11px;
|
|
1137
|
+
border: 1px dashed var(--clado-ui-edge);
|
|
1138
|
+
background: color-mix(in srgb, var(--clado-ui-well) 65%, transparent);
|
|
1139
|
+
font-size: 11px;
|
|
1140
|
+
color: var(--clado-ui-muted);
|
|
1141
|
+
overflow: hidden;
|
|
520
1142
|
}
|
|
521
|
-
.clado-
|
|
1143
|
+
.clado-thinking-trace summary {
|
|
1144
|
+
cursor: pointer;
|
|
1145
|
+
padding: 5px 10px;
|
|
1146
|
+
list-style: none;
|
|
1147
|
+
display: flex;
|
|
1148
|
+
align-items: center;
|
|
1149
|
+
justify-content: space-between;
|
|
1150
|
+
gap: 8px;
|
|
1151
|
+
user-select: none;
|
|
1152
|
+
font-weight: 540;
|
|
1153
|
+
}
|
|
1154
|
+
.clado-thinking-trace summary::-webkit-details-marker { display: none; }
|
|
1155
|
+
.clado-thinking-body {
|
|
1156
|
+
padding: 6px 10px 8px;
|
|
1157
|
+
border-top: 1px dashed var(--clado-ui-edge);
|
|
1158
|
+
white-space: pre-wrap;
|
|
1159
|
+
overflow-wrap: anywhere;
|
|
1160
|
+
max-height: 180px;
|
|
1161
|
+
overflow-y: auto;
|
|
1162
|
+
font-size: 11px;
|
|
1163
|
+
line-height: 1.5;
|
|
1164
|
+
opacity: 0.85;
|
|
1165
|
+
}
|
|
1166
|
+
|
|
1167
|
+
/* Clickable Card / Tag / Tool Chips in Chat */
|
|
1168
|
+
.clado-tool-step.is-clickable {
|
|
1169
|
+
cursor: pointer;
|
|
1170
|
+
transition: background-color 130ms ease, border-color 130ms ease;
|
|
1171
|
+
}
|
|
1172
|
+
.clado-tool-step.is-clickable:hover {
|
|
522
1173
|
background: var(--clado-ui-hover);
|
|
523
1174
|
border-color: var(--clado-ui-hover-border);
|
|
524
1175
|
}
|
|
1176
|
+
.clado-chat-ref {
|
|
1177
|
+
appearance: none;
|
|
1178
|
+
display: inline-flex;
|
|
1179
|
+
align-items: center;
|
|
1180
|
+
gap: 3px;
|
|
1181
|
+
padding: 0.5px 6px;
|
|
1182
|
+
margin: 0 1px;
|
|
1183
|
+
border-radius: 6px;
|
|
1184
|
+
border: 1px solid var(--clado-ui-prism-border);
|
|
1185
|
+
background: var(--clado-ui-prism-bg);
|
|
1186
|
+
color: var(--clado-ui-prism-text);
|
|
1187
|
+
font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
|
|
1188
|
+
font-size: 0.9em;
|
|
1189
|
+
cursor: pointer;
|
|
1190
|
+
vertical-align: baseline;
|
|
1191
|
+
transition: transform 120ms ease, filter 120ms ease;
|
|
1192
|
+
}
|
|
1193
|
+
.clado-chat-ref:hover {
|
|
1194
|
+
filter: brightness(0.96);
|
|
1195
|
+
transform: translateY(-0.5px);
|
|
1196
|
+
}
|
|
1197
|
+
.clado-msg-user.is-steer {
|
|
1198
|
+
background: rgba(254, 243, 199, 0.55);
|
|
1199
|
+
border-color: rgba(245, 158, 11, 0.45);
|
|
1200
|
+
color: #92400e;
|
|
1201
|
+
}
|
|
1202
|
+
:root[data-theme="dark"] .clado-msg-user.is-steer {
|
|
1203
|
+
background: rgba(245, 158, 11, 0.18);
|
|
1204
|
+
border-color: rgba(245, 158, 11, 0.36);
|
|
1205
|
+
color: #fde68a;
|
|
1206
|
+
}
|
|
1207
|
+
|
|
1208
|
+
/* Live Context Window Meter Pill & Quick Runtime Popover */
|
|
1209
|
+
.clado-ctx-meter {
|
|
1210
|
+
appearance: none;
|
|
1211
|
+
border: 1px solid var(--clado-ui-well-border);
|
|
1212
|
+
background: var(--clado-ui-well);
|
|
1213
|
+
color: var(--clado-ui-muted);
|
|
1214
|
+
border-radius: 999px;
|
|
1215
|
+
padding: 2px 8px;
|
|
1216
|
+
height: 24px;
|
|
1217
|
+
font: inherit;
|
|
1218
|
+
font-size: 10.5px;
|
|
1219
|
+
font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
|
|
1220
|
+
display: inline-flex;
|
|
1221
|
+
align-items: center;
|
|
1222
|
+
gap: 5px;
|
|
1223
|
+
cursor: pointer;
|
|
1224
|
+
white-space: nowrap;
|
|
1225
|
+
flex-shrink: 0;
|
|
1226
|
+
transition: all 140ms ease;
|
|
1227
|
+
}
|
|
1228
|
+
.clado-ctx-meter:hover {
|
|
1229
|
+
border-color: var(--clado-ui-brand);
|
|
1230
|
+
color: var(--clado-ui-text);
|
|
1231
|
+
}
|
|
1232
|
+
.clado-ctx-meter-track {
|
|
1233
|
+
width: 24px;
|
|
1234
|
+
height: 4px;
|
|
1235
|
+
border-radius: 999px;
|
|
1236
|
+
background: rgba(148, 163, 184, 0.28);
|
|
1237
|
+
overflow: hidden;
|
|
1238
|
+
flex: none;
|
|
1239
|
+
}
|
|
1240
|
+
.clado-ctx-meter-fill {
|
|
1241
|
+
display: block;
|
|
1242
|
+
height: 100%;
|
|
1243
|
+
border-radius: 999px;
|
|
1244
|
+
background: #10b981;
|
|
1245
|
+
transition: width 220ms ease, background 220ms ease;
|
|
1246
|
+
}
|
|
1247
|
+
.clado-ctx-meter.is-warn .clado-ctx-meter-fill { background: #f59e0b; }
|
|
1248
|
+
.clado-ctx-meter.is-danger .clado-ctx-meter-fill { background: #ef4444; }
|
|
1249
|
+
.clado-ctx-meter.is-danger { color: #e11d48; border-color: rgba(244, 63, 94, 0.35); }
|
|
1250
|
+
:root[data-theme="dark"] .clado-ctx-meter.is-danger { color: #fb7185; }
|
|
1251
|
+
|
|
1252
|
+
.clado-ctx-pop-card {
|
|
1253
|
+
padding: 8px 10px;
|
|
1254
|
+
display: flex;
|
|
1255
|
+
flex-direction: column;
|
|
1256
|
+
gap: 9px;
|
|
1257
|
+
font-size: 11.5px;
|
|
1258
|
+
color: var(--clado-ui-text);
|
|
1259
|
+
}
|
|
1260
|
+
.clado-ctx-pop-head {
|
|
1261
|
+
display: flex;
|
|
1262
|
+
align-items: center;
|
|
1263
|
+
justify-content: space-between;
|
|
1264
|
+
gap: 8px;
|
|
1265
|
+
}
|
|
1266
|
+
.clado-ctx-pop-bar {
|
|
1267
|
+
width: 100%;
|
|
1268
|
+
height: 6px;
|
|
1269
|
+
border-radius: 999px;
|
|
1270
|
+
background: rgba(148, 163, 184, 0.22);
|
|
1271
|
+
overflow: hidden;
|
|
1272
|
+
}
|
|
1273
|
+
.clado-ctx-pop-bar > i {
|
|
1274
|
+
display: block;
|
|
1275
|
+
height: 100%;
|
|
1276
|
+
border-radius: 999px;
|
|
1277
|
+
background: #10b981;
|
|
1278
|
+
transition: width 200ms ease;
|
|
1279
|
+
}
|
|
1280
|
+
.clado-ctx-pop-stats {
|
|
1281
|
+
display: grid;
|
|
1282
|
+
grid-template-columns: repeat(3, 1fr);
|
|
1283
|
+
gap: 6px;
|
|
1284
|
+
}
|
|
1285
|
+
.clado-ctx-stat {
|
|
1286
|
+
padding: 6px 8px;
|
|
1287
|
+
border-radius: 9px;
|
|
1288
|
+
background: var(--clado-ui-well);
|
|
1289
|
+
border: 1px solid var(--clado-ui-well-border);
|
|
1290
|
+
}
|
|
1291
|
+
.clado-ctx-stat-k {
|
|
1292
|
+
font-size: 10px;
|
|
1293
|
+
color: var(--clado-ui-subtle);
|
|
1294
|
+
}
|
|
1295
|
+
.clado-ctx-stat-v {
|
|
1296
|
+
margin-top: 2px;
|
|
1297
|
+
font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
|
|
1298
|
+
font-size: 11.5px;
|
|
1299
|
+
font-weight: 600;
|
|
1300
|
+
}
|
|
1301
|
+
.clado-ctx-pills {
|
|
1302
|
+
display: flex;
|
|
1303
|
+
flex-wrap: wrap;
|
|
1304
|
+
gap: 5px;
|
|
1305
|
+
}
|
|
1306
|
+
.clado-ctx-pill-btn {
|
|
1307
|
+
appearance: none;
|
|
1308
|
+
border: 1px solid var(--clado-ui-well-border);
|
|
1309
|
+
background: var(--clado-ui-well);
|
|
1310
|
+
color: var(--clado-ui-muted);
|
|
1311
|
+
border-radius: 999px;
|
|
1312
|
+
padding: 3px 9px;
|
|
1313
|
+
font: inherit;
|
|
1314
|
+
font-size: 11px;
|
|
1315
|
+
cursor: pointer;
|
|
1316
|
+
transition: all 140ms ease;
|
|
1317
|
+
}
|
|
1318
|
+
.clado-ctx-pill-btn:hover {
|
|
1319
|
+
border-color: var(--clado-ui-brand);
|
|
1320
|
+
color: var(--clado-ui-text);
|
|
1321
|
+
}
|
|
1322
|
+
.clado-ctx-pill-btn.active {
|
|
1323
|
+
background: var(--clado-ui-prism-bg);
|
|
1324
|
+
border-color: var(--clado-ui-prism-border);
|
|
1325
|
+
color: var(--clado-ui-prism-text);
|
|
1326
|
+
font-weight: 600;
|
|
1327
|
+
}
|
|
1328
|
+
|
|
1329
|
+
/* Runtime Settings & Official Model Quick-Pick Chips inside Settings Modal */
|
|
1330
|
+
.clado-rt-grid {
|
|
1331
|
+
display: grid;
|
|
1332
|
+
grid-template-columns: 1fr 1fr;
|
|
1333
|
+
gap: 10px;
|
|
1334
|
+
}
|
|
1335
|
+
.clado-rt-field {
|
|
1336
|
+
display: flex;
|
|
1337
|
+
flex-direction: column;
|
|
1338
|
+
gap: 4px;
|
|
1339
|
+
}
|
|
1340
|
+
.clado-rt-label {
|
|
1341
|
+
font-size: 11.5px;
|
|
1342
|
+
font-weight: 560;
|
|
1343
|
+
color: var(--clado-ui-muted);
|
|
1344
|
+
display: flex;
|
|
1345
|
+
align-items: center;
|
|
1346
|
+
justify-content: space-between;
|
|
1347
|
+
}
|
|
1348
|
+
.clado-rt-checks {
|
|
1349
|
+
display: flex;
|
|
1350
|
+
flex-wrap: wrap;
|
|
1351
|
+
gap: 14px;
|
|
1352
|
+
font-size: 12px;
|
|
1353
|
+
color: var(--clado-ui-text);
|
|
1354
|
+
}
|
|
1355
|
+
.clado-rt-checks label {
|
|
1356
|
+
display: inline-flex;
|
|
1357
|
+
align-items: center;
|
|
1358
|
+
gap: 6px;
|
|
1359
|
+
cursor: pointer;
|
|
1360
|
+
}
|
|
1361
|
+
.clado-model-presets {
|
|
1362
|
+
display: flex;
|
|
1363
|
+
flex-wrap: wrap;
|
|
1364
|
+
gap: 6px;
|
|
1365
|
+
}
|
|
1366
|
+
.clado-model-preset-chip {
|
|
1367
|
+
appearance: none;
|
|
1368
|
+
border: 1px solid var(--clado-ui-well-border);
|
|
1369
|
+
background: var(--clado-ui-well);
|
|
1370
|
+
color: var(--clado-ui-text);
|
|
1371
|
+
border-radius: 9px;
|
|
1372
|
+
padding: 4px 9px;
|
|
1373
|
+
font-size: 11px;
|
|
1374
|
+
font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
|
|
1375
|
+
cursor: pointer;
|
|
1376
|
+
transition: all 140ms ease;
|
|
1377
|
+
}
|
|
1378
|
+
.clado-model-preset-chip:hover {
|
|
1379
|
+
border-color: var(--clado-ui-brand);
|
|
1380
|
+
}
|
|
1381
|
+
.clado-model-preset-chip.active {
|
|
1382
|
+
background: var(--clado-ui-prism-bg);
|
|
1383
|
+
border-color: var(--clado-ui-prism-border);
|
|
1384
|
+
color: var(--clado-ui-prism-text);
|
|
1385
|
+
}
|
|
1386
|
+
|
|
1387
|
+
/* Long-conversation history pagination banner */
|
|
1388
|
+
.clado-history-loader {
|
|
1389
|
+
align-self: center;
|
|
1390
|
+
appearance: none;
|
|
1391
|
+
border: 1px dashed var(--clado-ui-well-border);
|
|
1392
|
+
background: var(--clado-ui-well);
|
|
1393
|
+
color: var(--clado-ui-muted);
|
|
1394
|
+
border-radius: 999px;
|
|
1395
|
+
padding: 5px 12px;
|
|
1396
|
+
font: inherit;
|
|
1397
|
+
font-size: 11px;
|
|
1398
|
+
cursor: pointer;
|
|
1399
|
+
transition: all 140ms ease;
|
|
1400
|
+
}
|
|
1401
|
+
.clado-history-loader:hover:not(:disabled) {
|
|
1402
|
+
border-color: var(--clado-ui-prism-border);
|
|
1403
|
+
color: var(--clado-ui-text);
|
|
1404
|
+
background: var(--clado-ui-hover);
|
|
1405
|
+
}
|
|
1406
|
+
.clado-history-loader:disabled {
|
|
1407
|
+
opacity: 0.72;
|
|
1408
|
+
cursor: wait;
|
|
1409
|
+
}
|
|
1410
|
+
.clado-msg-user.is-peer {
|
|
1411
|
+
border-style: dashed;
|
|
1412
|
+
border-color: var(--clado-ui-prism-border);
|
|
1413
|
+
}
|
|
1414
|
+
|
|
1415
|
+
/* Automations & Event Bus Settings UI */
|
|
1416
|
+
.clado-auto-card {
|
|
1417
|
+
display: flex;
|
|
1418
|
+
flex-direction: column;
|
|
1419
|
+
gap: 8px;
|
|
1420
|
+
}
|
|
1421
|
+
.clado-auto-meta {
|
|
1422
|
+
display: flex;
|
|
1423
|
+
flex-wrap: wrap;
|
|
1424
|
+
align-items: center;
|
|
1425
|
+
gap: 6px;
|
|
1426
|
+
font-size: 11px;
|
|
1427
|
+
color: var(--clado-ui-muted);
|
|
1428
|
+
}
|
|
1429
|
+
.clado-auto-prompt {
|
|
1430
|
+
font-size: 11.5px;
|
|
1431
|
+
color: var(--clado-ui-text-soft);
|
|
1432
|
+
background: rgba(148, 163, 184, 0.08);
|
|
1433
|
+
border: 1px solid var(--clado-ui-edge);
|
|
1434
|
+
border-radius: 10px;
|
|
1435
|
+
padding: 7px 10px;
|
|
1436
|
+
line-height: 1.5;
|
|
1437
|
+
white-space: pre-wrap;
|
|
1438
|
+
word-break: break-word;
|
|
1439
|
+
}
|
|
1440
|
+
.clado-auto-events-grid {
|
|
1441
|
+
display: grid;
|
|
1442
|
+
grid-template-columns: repeat(auto-fill, minmax(195px, 1fr));
|
|
1443
|
+
gap: 6px;
|
|
1444
|
+
max-height: 184px;
|
|
1445
|
+
overflow-y: auto;
|
|
1446
|
+
padding: 2px;
|
|
1447
|
+
}
|
|
1448
|
+
.clado-auto-ev-group {
|
|
1449
|
+
border: 1px solid var(--clado-ui-edge);
|
|
1450
|
+
border-radius: 11px;
|
|
1451
|
+
padding: 7px 9px;
|
|
1452
|
+
background: rgba(148, 163, 184, 0.04);
|
|
1453
|
+
display: flex;
|
|
1454
|
+
flex-direction: column;
|
|
1455
|
+
gap: 4px;
|
|
1456
|
+
}
|
|
1457
|
+
.clado-auto-ev-title {
|
|
1458
|
+
font-size: 10.5px;
|
|
1459
|
+
font-weight: 620;
|
|
1460
|
+
color: var(--clado-ui-subtle);
|
|
1461
|
+
margin-bottom: 2px;
|
|
1462
|
+
}
|
|
1463
|
+
.clado-auto-ev-opt {
|
|
1464
|
+
display: flex;
|
|
1465
|
+
align-items: flex-start;
|
|
1466
|
+
gap: 6px;
|
|
1467
|
+
font-size: 11px;
|
|
1468
|
+
color: var(--clado-ui-text);
|
|
1469
|
+
cursor: pointer;
|
|
1470
|
+
line-height: 1.35;
|
|
1471
|
+
}
|
|
1472
|
+
.clado-auto-ev-opt code {
|
|
1473
|
+
font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
|
|
1474
|
+
font-size: 10.5px;
|
|
1475
|
+
color: var(--clado-ui-prism-text);
|
|
1476
|
+
}
|
|
1477
|
+
|
|
1478
|
+
/* Inline Plugin Parameter Editor & Local Directory Market Folder Picker */
|
|
1479
|
+
.clado-plugin-param-panel {
|
|
1480
|
+
border-top: 1px dashed var(--clado-ui-edge);
|
|
1481
|
+
padding-top: 10px;
|
|
1482
|
+
margin-top: 4px;
|
|
1483
|
+
display: flex;
|
|
1484
|
+
flex-direction: column;
|
|
1485
|
+
gap: 6px;
|
|
1486
|
+
}
|
|
1487
|
+
.clado-folder-picker {
|
|
1488
|
+
border: 1px solid var(--clado-ui-edge);
|
|
1489
|
+
border-radius: 12px;
|
|
1490
|
+
padding: 10px;
|
|
1491
|
+
background: var(--clado-ui-well);
|
|
1492
|
+
}
|
|
1493
|
+
.clado-folder-list {
|
|
1494
|
+
display: grid;
|
|
1495
|
+
grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
|
|
1496
|
+
gap: 5px;
|
|
1497
|
+
max-height: 180px;
|
|
1498
|
+
overflow-y: auto;
|
|
1499
|
+
padding-right: 2px;
|
|
1500
|
+
}
|
|
1501
|
+
.clado-folder-row {
|
|
1502
|
+
appearance: none;
|
|
1503
|
+
display: inline-flex;
|
|
1504
|
+
align-items: center;
|
|
1505
|
+
gap: 6px;
|
|
1506
|
+
text-align: left;
|
|
1507
|
+
padding: 6px 9px;
|
|
1508
|
+
border-radius: 9px;
|
|
1509
|
+
border: 1px solid var(--clado-ui-edge);
|
|
1510
|
+
background: var(--clado-ui-surface, transparent);
|
|
1511
|
+
color: var(--clado-ui-text);
|
|
1512
|
+
font: inherit;
|
|
1513
|
+
font-size: 12px;
|
|
1514
|
+
cursor: pointer;
|
|
1515
|
+
overflow: hidden;
|
|
1516
|
+
transition: background 120ms ease, border-color 120ms ease;
|
|
1517
|
+
}
|
|
1518
|
+
.clado-folder-row span {
|
|
1519
|
+
overflow: hidden;
|
|
1520
|
+
text-overflow: ellipsis;
|
|
1521
|
+
white-space: nowrap;
|
|
1522
|
+
}
|
|
1523
|
+
.clado-folder-row:hover {
|
|
1524
|
+
background: var(--clado-ui-hover);
|
|
1525
|
+
border-color: var(--clado-ui-prism-border);
|
|
1526
|
+
}
|
|
1527
|
+
|
|
1528
|
+
/* =========================================================================
|
|
1529
|
+
Settings Center v2 (5 Groups · 16 Dedicated Directories · Searchable)
|
|
1530
|
+
========================================================================= */
|
|
1531
|
+
:root {
|
|
1532
|
+
--clado-font-sans: 'Inter', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei UI', 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;
|
|
1533
|
+
--clado-font-mono: 'JetBrains Mono', 'Fira Code', 'Cascadia Code', 'SF Mono', Menlo, Consolas, 'PingFang SC', 'Microsoft YaHei UI', monospace;
|
|
1534
|
+
}
|
|
1535
|
+
.clado-settings-shell-v2 {
|
|
1536
|
+
width: min(1100px, 95vw);
|
|
1537
|
+
height: min(790px, 90vh);
|
|
1538
|
+
font-family: var(--clado-font-sans);
|
|
1539
|
+
-webkit-font-smoothing: antialiased;
|
|
1540
|
+
-moz-osx-font-smoothing: grayscale;
|
|
1541
|
+
}
|
|
1542
|
+
.clado-settings-shell-v2 code,
|
|
1543
|
+
.clado-settings-shell-v2 pre {
|
|
1544
|
+
font-family: var(--clado-font-mono);
|
|
1545
|
+
font-variant-ligatures: none;
|
|
1546
|
+
}
|
|
1547
|
+
.clado-settings-shell-v2 textarea.clado-field {
|
|
1548
|
+
font-family: var(--clado-font-mono);
|
|
1549
|
+
font-size: 12.5px;
|
|
1550
|
+
line-height: 1.62;
|
|
1551
|
+
tab-size: 2;
|
|
1552
|
+
letter-spacing: 0;
|
|
1553
|
+
padding: 10px 12px;
|
|
1554
|
+
font-variant-ligatures: none;
|
|
1555
|
+
}
|
|
1556
|
+
.clado-settings-nav-v2 {
|
|
1557
|
+
width: 244px;
|
|
1558
|
+
min-width: 224px;
|
|
1559
|
+
padding: 14px 10px 12px;
|
|
1560
|
+
display: flex;
|
|
1561
|
+
flex-direction: column;
|
|
1562
|
+
gap: 10px;
|
|
1563
|
+
}
|
|
1564
|
+
.clado-snav-top {
|
|
1565
|
+
display: flex;
|
|
1566
|
+
flex-direction: column;
|
|
1567
|
+
gap: 6px;
|
|
1568
|
+
flex: none;
|
|
1569
|
+
}
|
|
1570
|
+
.clado-snav-search {
|
|
1571
|
+
display: flex;
|
|
1572
|
+
align-items: center;
|
|
1573
|
+
gap: 7px;
|
|
1574
|
+
padding: 6px 10px;
|
|
1575
|
+
border-radius: 10px;
|
|
1576
|
+
border: 1px solid var(--clado-ui-well-border);
|
|
1577
|
+
background: var(--clado-ui-well);
|
|
1578
|
+
color: var(--clado-ui-muted);
|
|
1579
|
+
}
|
|
1580
|
+
.clado-snav-search input {
|
|
1581
|
+
border: 0;
|
|
1582
|
+
background: transparent;
|
|
1583
|
+
color: var(--clado-ui-text);
|
|
1584
|
+
font: inherit;
|
|
1585
|
+
font-size: 12px;
|
|
1586
|
+
width: 100%;
|
|
1587
|
+
outline: none;
|
|
1588
|
+
}
|
|
1589
|
+
.clado-snav-groups {
|
|
1590
|
+
flex: 1;
|
|
1591
|
+
min-height: 0;
|
|
1592
|
+
overflow-y: auto;
|
|
1593
|
+
display: flex;
|
|
1594
|
+
flex-direction: column;
|
|
1595
|
+
gap: 12px;
|
|
1596
|
+
padding-right: 2px;
|
|
1597
|
+
}
|
|
1598
|
+
.clado-snav-group {
|
|
1599
|
+
display: flex;
|
|
1600
|
+
flex-direction: column;
|
|
1601
|
+
gap: 2px;
|
|
1602
|
+
}
|
|
1603
|
+
.clado-snav-group-title {
|
|
1604
|
+
font-size: 10.5px;
|
|
1605
|
+
font-weight: 640;
|
|
1606
|
+
letter-spacing: 0.03em;
|
|
1607
|
+
text-transform: uppercase;
|
|
1608
|
+
color: var(--clado-ui-subtle);
|
|
1609
|
+
padding: 2px 10px 4px;
|
|
1610
|
+
}
|
|
1611
|
+
.clado-settings-nav-v2 .clado-snav-btn {
|
|
1612
|
+
padding: 7px 10px;
|
|
1613
|
+
font-size: 12.5px;
|
|
1614
|
+
border-radius: 9px;
|
|
1615
|
+
}
|
|
1616
|
+
.clado-snav-foot {
|
|
1617
|
+
flex: none;
|
|
1618
|
+
padding-top: 6px;
|
|
1619
|
+
border-top: 1px solid var(--clado-ui-edge);
|
|
1620
|
+
}
|
|
1621
|
+
.clado-settings-body-v2 {
|
|
1622
|
+
padding: 22px 26px 28px;
|
|
1623
|
+
gap: 14px;
|
|
1624
|
+
}
|
|
1625
|
+
.clado-set-head {
|
|
1626
|
+
display: flex;
|
|
1627
|
+
align-items: flex-start;
|
|
1628
|
+
justify-content: space-between;
|
|
1629
|
+
gap: 14px;
|
|
1630
|
+
flex-wrap: wrap;
|
|
1631
|
+
}
|
|
1632
|
+
.clado-set-title {
|
|
1633
|
+
font-size: 18px;
|
|
1634
|
+
font-weight: 640;
|
|
1635
|
+
letter-spacing: -0.015em;
|
|
1636
|
+
}
|
|
1637
|
+
.clado-set-sub {
|
|
1638
|
+
font-size: 12.5px;
|
|
1639
|
+
color: var(--clado-ui-muted);
|
|
1640
|
+
margin-top: 4px;
|
|
1641
|
+
line-height: 1.55;
|
|
1642
|
+
}
|
|
1643
|
+
.clado-set-sub code {
|
|
1644
|
+
font-family: var(--clado-font-mono);
|
|
1645
|
+
font-size: 11.5px;
|
|
1646
|
+
}
|
|
1647
|
+
.clado-set-card {
|
|
1648
|
+
display: flex;
|
|
1649
|
+
flex-direction: column;
|
|
1650
|
+
gap: 11px;
|
|
1651
|
+
}
|
|
1652
|
+
.clado-set-card-title {
|
|
1653
|
+
font-size: 13px;
|
|
1654
|
+
font-weight: 620;
|
|
1655
|
+
color: var(--clado-ui-text);
|
|
1656
|
+
}
|
|
1657
|
+
.clado-scope-bar {
|
|
1658
|
+
display: flex;
|
|
1659
|
+
align-items: center;
|
|
1660
|
+
justify-content: space-between;
|
|
1661
|
+
gap: 10px;
|
|
1662
|
+
flex-wrap: wrap;
|
|
1663
|
+
padding: 8px 12px;
|
|
1664
|
+
border-radius: 12px;
|
|
1665
|
+
border: 1px solid var(--clado-ui-well-border);
|
|
1666
|
+
background: var(--clado-ui-well);
|
|
1667
|
+
}
|
|
1668
|
+
.clado-path-pill {
|
|
1669
|
+
font-family: var(--clado-font-mono);
|
|
1670
|
+
font-size: 11px;
|
|
1671
|
+
color: var(--clado-ui-muted);
|
|
1672
|
+
word-break: break-all;
|
|
1673
|
+
}
|
|
1674
|
+
.clado-subtabs {
|
|
1675
|
+
display: flex;
|
|
1676
|
+
align-items: center;
|
|
1677
|
+
gap: 6px;
|
|
1678
|
+
flex-wrap: wrap;
|
|
1679
|
+
}
|
|
1680
|
+
.clado-subtabs .clado-ui-button {
|
|
1681
|
+
min-height: 28px;
|
|
1682
|
+
padding: 4px 12px;
|
|
1683
|
+
font-size: 12px;
|
|
1684
|
+
}
|
|
1685
|
+
.clado-mode-card {
|
|
1686
|
+
display: flex;
|
|
1687
|
+
align-items: flex-start;
|
|
1688
|
+
gap: 8px;
|
|
1689
|
+
padding: 10px 12px;
|
|
1690
|
+
border-radius: 11px;
|
|
1691
|
+
border: 1px solid var(--clado-ui-well-border);
|
|
1692
|
+
background: var(--clado-ui-well);
|
|
1693
|
+
cursor: pointer;
|
|
1694
|
+
transition: border-color 140ms ease, background-color 140ms ease;
|
|
1695
|
+
}
|
|
1696
|
+
.clado-mode-card input {
|
|
1697
|
+
margin-top: 3px;
|
|
1698
|
+
flex: none;
|
|
1699
|
+
}
|
|
1700
|
+
.clado-mode-card.active {
|
|
1701
|
+
border-color: var(--clado-ui-prism-border);
|
|
1702
|
+
background: var(--clado-ui-prism-bg);
|
|
1703
|
+
}
|
|
1704
|
+
.clado-model-row {
|
|
1705
|
+
display: grid;
|
|
1706
|
+
grid-template-columns: minmax(160px, 1.5fr) 115px 105px auto auto auto;
|
|
1707
|
+
gap: 6px;
|
|
1708
|
+
align-items: center;
|
|
1709
|
+
padding: 7px 9px;
|
|
1710
|
+
border-radius: 10px;
|
|
1711
|
+
border: 1px solid var(--clado-ui-edge);
|
|
1712
|
+
background: var(--clado-ui-surface, transparent);
|
|
1713
|
+
}
|
|
1714
|
+
.clado-model-row.is-default {
|
|
1715
|
+
border-color: var(--clado-ui-prism-border);
|
|
1716
|
+
background: var(--clado-ui-prism-bg);
|
|
1717
|
+
}
|
|
1718
|
+
.clado-model-row .clado-field {
|
|
1719
|
+
padding: 5px 8px;
|
|
1720
|
+
font-size: 12px;
|
|
1721
|
+
font-family: var(--clado-font-mono);
|
|
1722
|
+
}
|
|
1723
|
+
.clado-model-row label {
|
|
1724
|
+
display: inline-flex;
|
|
1725
|
+
align-items: center;
|
|
1726
|
+
gap: 4px;
|
|
1727
|
+
font-size: 11.5px;
|
|
1728
|
+
white-space: nowrap;
|
|
1729
|
+
color: var(--clado-ui-muted);
|
|
1730
|
+
cursor: pointer;
|
|
1731
|
+
}
|
|
1732
|
+
.clado-mcp-tool-chips {
|
|
1733
|
+
display: flex;
|
|
1734
|
+
flex-wrap: wrap;
|
|
1735
|
+
gap: 5px;
|
|
1736
|
+
margin-top: 8px;
|
|
1737
|
+
padding-top: 8px;
|
|
1738
|
+
border-top: 1px dashed var(--clado-ui-edge);
|
|
1739
|
+
}
|
|
1740
|
+
.clado-mcp-tool-chip {
|
|
1741
|
+
font-family: var(--clado-font-mono);
|
|
1742
|
+
font-size: 11px;
|
|
1743
|
+
padding: 2px 7px;
|
|
1744
|
+
border-radius: 6px;
|
|
1745
|
+
border: 1px solid var(--clado-ui-well-border);
|
|
1746
|
+
background: var(--clado-ui-well);
|
|
1747
|
+
color: var(--clado-ui-text);
|
|
1748
|
+
}
|
|
1749
|
+
:root[data-clado-density="compact"] .clado-settings-body-v2 { padding: 16px 20px; gap: 10px; }
|
|
1750
|
+
:root[data-clado-density="compact"] .clado-well-box { padding: 10px 12px; border-radius: 12px; }
|
|
1751
|
+
:root[data-clado-density="comfortable"] .clado-settings-body-v2 { padding: 26px 32px; gap: 18px; }
|
|
1752
|
+
|
|
1753
|
+
@media (max-width: 780px) {
|
|
1754
|
+
.clado-settings-shell-v2 { flex-direction: column; height: 92vh; }
|
|
1755
|
+
.clado-settings-nav-v2 { width: 100%; max-height: 210px; border-right: 0; border-bottom: 1px solid var(--clado-ui-edge); }
|
|
1756
|
+
.clado-model-row { grid-template-columns: 1fr 1fr; }
|
|
1757
|
+
}
|