cladogram 0.6.0-beta.2 → 0.6.0-beta.3

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.
@@ -2,7 +2,7 @@
2
2
 
3
3
  .clado-vnext-dock {
4
4
  width: var(--clado-dock-w, 412px);
5
- max-width: 840px;
5
+ max-width: 880px;
6
6
  display: flex;
7
7
  flex-direction: column;
8
8
  gap: 8px;
@@ -51,53 +51,79 @@
51
51
  }
52
52
  .clado-dock-drawer.collapsed { display: none; }
53
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
+ }
54
61
 
55
- /* Subtle Resize Handles (Top-Left NW corner + Top edge + Left edge) */
62
+ /* Flush Liquid Crystal Glass Resize Handles (centered top pill + edge hover + invisible rounded corner) */
56
63
  .clado-resize-nw {
57
64
  position: absolute;
58
- top: -3px;
59
- left: -3px;
60
- width: 18px;
61
- height: 18px;
65
+ top: 0;
66
+ left: 0;
67
+ width: 20px;
68
+ height: 20px;
62
69
  cursor: nwse-resize;
63
- z-index: 20;
64
- border-radius: 18px 0 6px 0;
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;
65
82
  display: flex;
66
83
  align-items: center;
67
84
  justify-content: center;
85
+ touch-action: none;
68
86
  }
69
- .clado-resize-nw::after {
70
- content: "";
71
- width: 7px;
72
- height: 7px;
73
- border-top: 1.5px solid var(--clado-ui-subtle);
74
- border-left: 1.5px solid var(--clado-ui-subtle);
75
- border-radius: 2px 0 0 0;
76
- opacity: 0.35;
77
- transition: opacity 140ms ease, border-color 140ms ease;
78
- }
79
- .clado-resize-nw:hover::after,
80
- .clado-dock-drawer.resizing .clado-resize-nw::after {
81
- opacity: 0.9;
82
- border-color: var(--clado-ui-brand);
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;
83
94
  }
84
- .clado-resize-n {
85
- position: absolute;
86
- top: -4px;
87
- left: 18px;
88
- right: 18px;
89
- height: 8px;
90
- cursor: ns-resize;
91
- z-index: 18;
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);
92
100
  }
93
101
  .clado-resize-w {
94
102
  position: absolute;
95
- top: 18px;
96
- bottom: 18px;
97
- left: -4px;
98
- width: 8px;
103
+ top: 22px;
104
+ bottom: 22px;
105
+ left: 0;
106
+ width: 10px;
99
107
  cursor: ew-resize;
100
- z-index: 18;
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;
101
127
  }
102
128
 
103
129
  /* Gently softened bottom aura */
@@ -126,7 +152,7 @@
126
152
  display: flex;
127
153
  align-items: center;
128
154
  justify-content: space-between;
129
- padding: 11px 14px 11px 16px;
155
+ padding: 15px 14px 10px 16px;
130
156
  border-bottom: 1px solid var(--clado-ui-edge);
131
157
  gap: 8px;
132
158
  position: relative;
@@ -257,7 +283,7 @@
257
283
  gap: 10px;
258
284
  height: var(--clado-dock-stream-h, 300px);
259
285
  min-height: 160px;
260
- max-height: 640px;
286
+ max-height: min(820px, calc(100dvh - 200px));
261
287
  overflow-y: auto;
262
288
  }
263
289
  .clado-dock-stream > * {
@@ -397,6 +423,9 @@
397
423
  overflow: hidden;
398
424
  font-size: 11.5px;
399
425
  }
426
+ .clado-tool-trace-err {
427
+ border-color: rgba(244, 63, 94, 0.34);
428
+ }
400
429
  .clado-tool-trace > summary {
401
430
  list-style: none;
402
431
  cursor: pointer;
@@ -427,6 +456,10 @@
427
456
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
428
457
  font-size: 11px;
429
458
  }
459
+ .clado-tool-step-err {
460
+ background: rgba(244, 63, 94, 0.065);
461
+ border-color: rgba(244, 63, 94, 0.28);
462
+ }
430
463
  .clado-tool-step-head {
431
464
  display: flex;
432
465
  align-items: center;
@@ -446,6 +479,20 @@
446
479
  flex: 1;
447
480
  min-width: 0;
448
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
+ }
449
496
  .clado-tool-preview {
450
497
  margin-top: 4px;
451
498
  padding-top: 4px;
@@ -453,10 +500,16 @@
453
500
  color: var(--clado-ui-subtle);
454
501
  white-space: pre-wrap;
455
502
  word-break: break-all;
456
- max-height: 76px;
503
+ max-height: 92px;
457
504
  overflow-y: auto;
458
505
  line-height: 1.45;
459
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
+ }
460
513
  .clado-live-activity {
461
514
  align-self: flex-start;
462
515
  display: inline-flex;
@@ -508,6 +561,40 @@
508
561
  flex-wrap: wrap;
509
562
  gap: 7px;
510
563
  }
564
+ .clado-decision-custom {
565
+ display: flex;
566
+ align-items: center;
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;
596
+ font-size: 11.5px;
597
+ }
511
598
  .clado-decision-done {
512
599
  align-self: flex-start;
513
600
  font-size: 11.5px;
@@ -915,3 +1002,326 @@
915
1002
  background: var(--clado-ui-hover);
916
1003
  border-color: var(--clado-ui-hover-border);
917
1004
  }
1005
+
1006
+ /* Composer Context Chips Bar */
1007
+ .clado-ctx-bar {
1008
+ display: flex;
1009
+ flex-wrap: wrap;
1010
+ align-items: center;
1011
+ gap: 5px;
1012
+ padding: 0 2px 6px;
1013
+ }
1014
+ .clado-ctx-chip {
1015
+ display: inline-flex;
1016
+ align-items: center;
1017
+ gap: 5px;
1018
+ max-width: 100%;
1019
+ padding: 2px 8px;
1020
+ border-radius: 999px;
1021
+ font-size: 10.5px;
1022
+ font-weight: 560;
1023
+ color: var(--clado-ui-text-soft);
1024
+ background: var(--clado-ui-well);
1025
+ border: 1px solid var(--clado-ui-well-border);
1026
+ }
1027
+ .clado-ctx-chip.is-snippet {
1028
+ background: var(--clado-ui-prism-bg);
1029
+ border-color: var(--clado-ui-prism-border);
1030
+ color: var(--clado-ui-prism-text);
1031
+ }
1032
+ .clado-ctx-chip-txt {
1033
+ overflow: hidden;
1034
+ text-overflow: ellipsis;
1035
+ white-space: nowrap;
1036
+ max-width: 220px;
1037
+ }
1038
+ .clado-ctx-chip-x {
1039
+ appearance: none;
1040
+ border: 0;
1041
+ background: transparent;
1042
+ color: inherit;
1043
+ opacity: 0.68;
1044
+ cursor: pointer;
1045
+ padding: 0 1px;
1046
+ font-size: 12px;
1047
+ line-height: 1;
1048
+ }
1049
+ .clado-ctx-chip-x:hover { opacity: 1; }
1050
+
1051
+ /* Mid-turn Stop Button */
1052
+ .clado-stop-btn {
1053
+ appearance: none;
1054
+ border: 1px solid rgba(244, 63, 94, 0.38);
1055
+ background: rgba(244, 63, 94, 0.10);
1056
+ color: #be123c;
1057
+ border-radius: 999px;
1058
+ min-height: 26px;
1059
+ padding: 3px 10px;
1060
+ font: inherit;
1061
+ font-size: 11.5px;
1062
+ font-weight: 600;
1063
+ cursor: pointer;
1064
+ transition: background 140ms ease, border-color 140ms ease;
1065
+ }
1066
+ .clado-stop-btn:hover {
1067
+ background: rgba(244, 63, 94, 0.18);
1068
+ border-color: rgba(244, 63, 94, 0.56);
1069
+ }
1070
+ :root[data-theme="dark"] .clado-stop-btn {
1071
+ color: #fda4af;
1072
+ background: rgba(244, 63, 94, 0.16);
1073
+ }
1074
+
1075
+ /* Collapsible Thinking Trace */
1076
+ .clado-thinking-trace {
1077
+ align-self: stretch;
1078
+ border-radius: 11px;
1079
+ border: 1px dashed var(--clado-ui-edge);
1080
+ background: color-mix(in srgb, var(--clado-ui-well) 65%, transparent);
1081
+ font-size: 11px;
1082
+ color: var(--clado-ui-muted);
1083
+ overflow: hidden;
1084
+ }
1085
+ .clado-thinking-trace summary {
1086
+ cursor: pointer;
1087
+ padding: 5px 10px;
1088
+ list-style: none;
1089
+ display: flex;
1090
+ align-items: center;
1091
+ justify-content: space-between;
1092
+ gap: 8px;
1093
+ user-select: none;
1094
+ font-weight: 540;
1095
+ }
1096
+ .clado-thinking-trace summary::-webkit-details-marker { display: none; }
1097
+ .clado-thinking-body {
1098
+ padding: 6px 10px 8px;
1099
+ border-top: 1px dashed var(--clado-ui-edge);
1100
+ white-space: pre-wrap;
1101
+ overflow-wrap: anywhere;
1102
+ max-height: 180px;
1103
+ overflow-y: auto;
1104
+ font-size: 11px;
1105
+ line-height: 1.5;
1106
+ opacity: 0.85;
1107
+ }
1108
+
1109
+ /* Clickable Card / Tag / Tool Chips in Chat */
1110
+ .clado-tool-step.is-clickable {
1111
+ cursor: pointer;
1112
+ transition: background-color 130ms ease, border-color 130ms ease;
1113
+ }
1114
+ .clado-tool-step.is-clickable:hover {
1115
+ background: var(--clado-ui-hover);
1116
+ border-color: var(--clado-ui-hover-border);
1117
+ }
1118
+ .clado-chat-ref {
1119
+ appearance: none;
1120
+ display: inline-flex;
1121
+ align-items: center;
1122
+ gap: 3px;
1123
+ padding: 0.5px 6px;
1124
+ margin: 0 1px;
1125
+ border-radius: 6px;
1126
+ border: 1px solid var(--clado-ui-prism-border);
1127
+ background: var(--clado-ui-prism-bg);
1128
+ color: var(--clado-ui-prism-text);
1129
+ font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
1130
+ font-size: 0.9em;
1131
+ cursor: pointer;
1132
+ vertical-align: baseline;
1133
+ transition: transform 120ms ease, filter 120ms ease;
1134
+ }
1135
+ .clado-chat-ref:hover {
1136
+ filter: brightness(0.96);
1137
+ transform: translateY(-0.5px);
1138
+ }
1139
+ .clado-msg-user.is-steer {
1140
+ background: rgba(254, 243, 199, 0.55);
1141
+ border-color: rgba(245, 158, 11, 0.45);
1142
+ color: #92400e;
1143
+ }
1144
+ :root[data-theme="dark"] .clado-msg-user.is-steer {
1145
+ background: rgba(245, 158, 11, 0.18);
1146
+ border-color: rgba(245, 158, 11, 0.36);
1147
+ color: #fde68a;
1148
+ }
1149
+
1150
+ /* Live Context Window Meter Pill & Quick Runtime Popover */
1151
+ .clado-ctx-meter {
1152
+ appearance: none;
1153
+ border: 1px solid var(--clado-ui-well-border);
1154
+ background: var(--clado-ui-well);
1155
+ color: var(--clado-ui-muted);
1156
+ border-radius: 999px;
1157
+ padding: 2px 8px;
1158
+ height: 24px;
1159
+ font: inherit;
1160
+ font-size: 10.5px;
1161
+ font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
1162
+ display: inline-flex;
1163
+ align-items: center;
1164
+ gap: 5px;
1165
+ cursor: pointer;
1166
+ white-space: nowrap;
1167
+ flex-shrink: 0;
1168
+ transition: all 140ms ease;
1169
+ }
1170
+ .clado-ctx-meter:hover {
1171
+ border-color: var(--clado-ui-brand);
1172
+ color: var(--clado-ui-text);
1173
+ }
1174
+ .clado-ctx-meter-track {
1175
+ width: 24px;
1176
+ height: 4px;
1177
+ border-radius: 999px;
1178
+ background: rgba(148, 163, 184, 0.28);
1179
+ overflow: hidden;
1180
+ flex: none;
1181
+ }
1182
+ .clado-ctx-meter-fill {
1183
+ display: block;
1184
+ height: 100%;
1185
+ border-radius: 999px;
1186
+ background: #10b981;
1187
+ transition: width 220ms ease, background 220ms ease;
1188
+ }
1189
+ .clado-ctx-meter.is-warn .clado-ctx-meter-fill { background: #f59e0b; }
1190
+ .clado-ctx-meter.is-danger .clado-ctx-meter-fill { background: #ef4444; }
1191
+ .clado-ctx-meter.is-danger { color: #e11d48; border-color: rgba(244, 63, 94, 0.35); }
1192
+ :root[data-theme="dark"] .clado-ctx-meter.is-danger { color: #fb7185; }
1193
+
1194
+ .clado-ctx-pop-card {
1195
+ padding: 8px 10px;
1196
+ display: flex;
1197
+ flex-direction: column;
1198
+ gap: 9px;
1199
+ font-size: 11.5px;
1200
+ color: var(--clado-ui-text);
1201
+ }
1202
+ .clado-ctx-pop-head {
1203
+ display: flex;
1204
+ align-items: center;
1205
+ justify-content: space-between;
1206
+ gap: 8px;
1207
+ }
1208
+ .clado-ctx-pop-bar {
1209
+ width: 100%;
1210
+ height: 6px;
1211
+ border-radius: 999px;
1212
+ background: rgba(148, 163, 184, 0.22);
1213
+ overflow: hidden;
1214
+ }
1215
+ .clado-ctx-pop-bar > i {
1216
+ display: block;
1217
+ height: 100%;
1218
+ border-radius: 999px;
1219
+ background: #10b981;
1220
+ transition: width 200ms ease;
1221
+ }
1222
+ .clado-ctx-pop-stats {
1223
+ display: grid;
1224
+ grid-template-columns: repeat(3, 1fr);
1225
+ gap: 6px;
1226
+ }
1227
+ .clado-ctx-stat {
1228
+ padding: 6px 8px;
1229
+ border-radius: 9px;
1230
+ background: var(--clado-ui-well);
1231
+ border: 1px solid var(--clado-ui-well-border);
1232
+ }
1233
+ .clado-ctx-stat-k {
1234
+ font-size: 10px;
1235
+ color: var(--clado-ui-subtle);
1236
+ }
1237
+ .clado-ctx-stat-v {
1238
+ margin-top: 2px;
1239
+ font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
1240
+ font-size: 11.5px;
1241
+ font-weight: 600;
1242
+ }
1243
+ .clado-ctx-pills {
1244
+ display: flex;
1245
+ flex-wrap: wrap;
1246
+ gap: 5px;
1247
+ }
1248
+ .clado-ctx-pill-btn {
1249
+ appearance: none;
1250
+ border: 1px solid var(--clado-ui-well-border);
1251
+ background: var(--clado-ui-well);
1252
+ color: var(--clado-ui-muted);
1253
+ border-radius: 999px;
1254
+ padding: 3px 9px;
1255
+ font: inherit;
1256
+ font-size: 11px;
1257
+ cursor: pointer;
1258
+ transition: all 140ms ease;
1259
+ }
1260
+ .clado-ctx-pill-btn:hover {
1261
+ border-color: var(--clado-ui-brand);
1262
+ color: var(--clado-ui-text);
1263
+ }
1264
+ .clado-ctx-pill-btn.active {
1265
+ background: var(--clado-ui-prism-bg);
1266
+ border-color: var(--clado-ui-prism-border);
1267
+ color: var(--clado-ui-prism-text);
1268
+ font-weight: 600;
1269
+ }
1270
+
1271
+ /* Runtime Settings & Official Model Quick-Pick Chips inside Settings Modal */
1272
+ .clado-rt-grid {
1273
+ display: grid;
1274
+ grid-template-columns: 1fr 1fr;
1275
+ gap: 10px;
1276
+ }
1277
+ .clado-rt-field {
1278
+ display: flex;
1279
+ flex-direction: column;
1280
+ gap: 4px;
1281
+ }
1282
+ .clado-rt-label {
1283
+ font-size: 11.5px;
1284
+ font-weight: 560;
1285
+ color: var(--clado-ui-muted);
1286
+ display: flex;
1287
+ align-items: center;
1288
+ justify-content: space-between;
1289
+ }
1290
+ .clado-rt-checks {
1291
+ display: flex;
1292
+ flex-wrap: wrap;
1293
+ gap: 14px;
1294
+ font-size: 12px;
1295
+ color: var(--clado-ui-text);
1296
+ }
1297
+ .clado-rt-checks label {
1298
+ display: inline-flex;
1299
+ align-items: center;
1300
+ gap: 6px;
1301
+ cursor: pointer;
1302
+ }
1303
+ .clado-model-presets {
1304
+ display: flex;
1305
+ flex-wrap: wrap;
1306
+ gap: 6px;
1307
+ }
1308
+ .clado-model-preset-chip {
1309
+ appearance: none;
1310
+ border: 1px solid var(--clado-ui-well-border);
1311
+ background: var(--clado-ui-well);
1312
+ color: var(--clado-ui-text);
1313
+ border-radius: 9px;
1314
+ padding: 4px 9px;
1315
+ font-size: 11px;
1316
+ font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
1317
+ cursor: pointer;
1318
+ transition: all 140ms ease;
1319
+ }
1320
+ .clado-model-preset-chip:hover {
1321
+ border-color: var(--clado-ui-brand);
1322
+ }
1323
+ .clado-model-preset-chip.active {
1324
+ background: var(--clado-ui-prism-bg);
1325
+ border-color: var(--clado-ui-prism-border);
1326
+ color: var(--clado-ui-prism-text);
1327
+ }