claude-discover 1.10.13 → 1.10.15

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.
@@ -118,6 +118,25 @@
118
118
  font-size: 11px;
119
119
  color: var(--text-dim);
120
120
  }
121
+ .experiment-band {
122
+ display: block;
123
+ box-sizing: content-box; /* its width attribute is the canvas's inner width; the border goes outside, as on .gantt-canvas */
124
+ background: var(--bg-elev);
125
+ border: 1px solid var(--border);
126
+ border-bottom: none;
127
+ border-top-left-radius: 4px;
128
+ border-top-right-radius: 4px;
129
+ }
130
+
131
+ .experiment-band-label { font: 10px var(--font-mono), monospace; fill: #8f97a8; }
132
+ .experiment-lane {
133
+ cursor: pointer;
134
+
135
+ & .experiment-lane-hit { fill: transparent; }
136
+ &:hover .experiment-lane-hit, &.open .experiment-lane-hit { fill: rgb(255 255 255 / 0.06); }
137
+ &:hover .experiment-band-label, &.open .experiment-band-label { fill: #cbd1dc; }
138
+ &.open .experiment-band-label { font-weight: 700; }
139
+ }
121
140
  /* Floats over the gantt canvas's bottom-right corner, outside its scroll area so it stays put; clears the 5px scrollbar */
122
141
  .source-legend {
123
142
  position: absolute;
@@ -225,16 +244,6 @@
225
244
  background: var(--bg);
226
245
  }
227
246
 
228
- .heat-strip {
229
- display: block;
230
- box-sizing: content-box; /* its width attribute is the canvas's inner width; the border goes outside, as on .gantt-canvas */
231
- background: var(--bg-elev);
232
- border: 1px solid var(--border);
233
- border-bottom: none;
234
- border-top-left-radius: 4px;
235
- border-top-right-radius: 4px;
236
- }
237
-
238
247
  .gantt-canvas {
239
248
  width: 100%;
240
249
  flex: 1;
@@ -249,7 +258,7 @@
249
258
  & svg { display: block; }
250
259
  }
251
260
 
252
- .heat-strip + .gantt-canvas {
261
+ .experiment-band + .gantt-canvas {
253
262
  border-top-left-radius: 0;
254
263
  border-top-right-radius: 0;
255
264
  border-top: none;
@@ -660,6 +669,13 @@
660
669
 
661
670
  & b { color: var(--text-dim); }
662
671
  }
672
+ /* first on the session row's second line, right of its timeline, so the icons line up down the list */
673
+ .experiment-tag {
674
+ display: flex;
675
+ align-items: center;
676
+ height: 14px;
677
+ cursor: pointer;
678
+ }
663
679
  .session-list {
664
680
  display: flex;
665
681
  flex-direction: column;
@@ -880,6 +896,13 @@
880
896
  & > span { background: none; } /* `span` outranks the global .warn-badge/.danger-badge, which load later */
881
897
  }
882
898
 
899
+ /* the MCP blocks' color: the debug log fills them in */
900
+ .debug-badge {
901
+ display: inline-flex; align-items: center; justify-content: center;
902
+ width: 18px; height: 18px;
903
+ color: var(--mcp);
904
+ }
905
+
883
906
  /* 18px line height keeps it on the label's line */
884
907
  .session-row-time {
885
908
  grid-area: time;
@@ -935,7 +958,7 @@
935
958
  & > * { flex: none; }
936
959
  & > :last-child { flex: 0 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
937
960
  & > * + *::before { content: ', '; }
938
- & > .fork-tag + *::before { content: '\00a0'; }
961
+ & > :is(.fork-tag, .experiment-tag) + *::before { content: '\00a0'; }
939
962
  & .subagent-tag, & .worktree-tag { font-size: inherit; }
940
963
  }
941
964
  .session-model { color: var(--text-dim); }
@@ -1009,33 +1032,6 @@
1009
1032
  text-overflow: ellipsis;
1010
1033
  white-space: nowrap;
1011
1034
  }
1012
- .divider {
1013
- display: flex;
1014
- align-items: center;
1015
- gap: 12px;
1016
- width: 100%;
1017
- padding: 0;
1018
- border: 0;
1019
- background: none;
1020
- color: var(--text-faint);
1021
- font: inherit;
1022
- white-space: nowrap;
1023
-
1024
- /* Wavy rules (~~~ label ~~~): a repeating sine stroke masked over the text color */
1025
- &::before, &::after {
1026
- content: '';
1027
- flex: 1;
1028
- height: 8px;
1029
- background: currentColor;
1030
- opacity: 0.6;
1031
- mask: url("./wave-D-wH63sc.svg") repeat-x center / 20px 8px;
1032
- }
1033
- }
1034
-
1035
- button.divider {
1036
- cursor: pointer;
1037
- &:hover { color: var(--text-dim); }
1038
- }
1039
1035
  .markdown { white-space: normal; max-height: 500px; overflow: auto; }
1040
1036
  .markdown > *:first-child { margin-top: 0; }
1041
1037
  .markdown > *:last-child { margin-bottom: 0; }
@@ -1094,6 +1090,100 @@ button.divider {
1094
1090
  }
1095
1091
  .markdown th { background: var(--bg-elev-2); }
1096
1092
  .markdown hr { border: none; border-top: 1px solid var(--border); margin: 10px 0; }
1093
+ .mcp-block { margin-bottom: 6px; }
1094
+ .mcp-block > .aux-toggle { display: flex; width: 100%; }
1095
+ .mcp-block .aux-toggle { color: #b9b9b9; }
1096
+ .mcp-block > .aux-body { border-left-color: var(--mcp); padding-right: 0; } /* the tokens column ends level with the rows' right edge */
1097
+ .mcp-title { color: var(--mcp); }
1098
+
1099
+ .mcp-servers {
1100
+ width: 100%;
1101
+ border-collapse: separate; /* collapsed cells can't round the hover's corners */
1102
+ border-spacing: 0;
1103
+ font-size: calc(11px * var(--font-scale, 1));
1104
+ font-variant-numeric: tabular-nums;
1105
+ color: #b9b9b9;
1106
+
1107
+ & .aux-body { color: var(--text); }
1108
+
1109
+ /* its own rows only: a server's instructions can hold markdown tables */
1110
+ & > tbody > tr > td {
1111
+ padding: 0 0 0 20px;
1112
+ text-align: left;
1113
+ white-space: nowrap;
1114
+ }
1115
+ & > tbody > tr > td:first-child { padding-left: 0; }
1116
+
1117
+ & .mcp-col-transport { width: 9.5em; } /* fits claudeai-proxy */
1118
+ & .mcp-col-time { width: 6em; }
1119
+ & .mcp-col-status { width: 8em; } /* fits needs auth */
1120
+ & .mcp-col-tokens { width: 6em; }
1121
+ & .mcp-tokens { text-align: right; }
1122
+ & .mcp-foldable { cursor: pointer; }
1123
+ & .mcp-foldable:hover > td {
1124
+ background: var(--bg-elev-2);
1125
+ &:first-child { border-radius: 3px 0 0 3px; }
1126
+ &:last-child { border-radius: 0 3px 3px 0; }
1127
+ }
1128
+ & .mcp-chevron { padding: 0; margin-right: 4px; border: none; background: none; color: inherit; font: inherit; cursor: inherit; &.none { visibility: hidden; } }
1129
+
1130
+ & > tbody > tr > td.mcp-tool { padding-left: 14px; white-space: normal; overflow-wrap: anywhere; } /* a long tool error wraps, not widens the table */
1131
+ & .mcp-version { margin-left: 8px; color: var(--text-dim); }
1132
+ & .mcp-cached { margin-right: 4px; color: var(--text-dim); & svg { width: 1em; height: 1em; vertical-align: -0.1em; } }
1133
+ & .mcp-ms { text-align: right; }
1134
+ & .mcp-dim { color: var(--text-dim); }
1135
+ & .mcp-tool-error { color: var(--danger); }
1136
+
1137
+ & .mcp-status {
1138
+ &.connecting, &.pending, &.removed { color: var(--text-dim); }
1139
+ &.needs-auth { color: var(--warn); }
1140
+ &.failed { color: var(--danger); font-weight: bold; }
1141
+ }
1142
+ }
1143
+
1144
+ .mcp-error {
1145
+ --tone: var(--danger);
1146
+ margin: 2px 0 6px 14px;
1147
+ padding: 6px 10px;
1148
+ max-height: 160px;
1149
+ overflow: auto;
1150
+ white-space: pre-wrap;
1151
+ word-break: break-all;
1152
+ background: color-mix(in srgb, var(--tone) 8%, transparent);
1153
+ border-left: 2px solid var(--tone);
1154
+ color: var(--tone);
1155
+ font-size: calc(10.5px * var(--font-scale, 1));
1156
+ }
1157
+
1158
+ /* a stdio server's stderr is where it logs anything, so only a failed one's reads as an error */
1159
+ .mcp-error:not(.failed) { --tone: var(--text-dim); }
1160
+ .divider {
1161
+ display: flex;
1162
+ align-items: center;
1163
+ gap: 12px;
1164
+ width: 100%;
1165
+ padding: 0;
1166
+ border: 0;
1167
+ background: none;
1168
+ color: var(--text-faint);
1169
+ font: inherit;
1170
+ white-space: nowrap;
1171
+
1172
+ /* Wavy rules (~~~ label ~~~): a repeating sine stroke masked over the text color */
1173
+ &::before, &::after {
1174
+ content: '';
1175
+ flex: 1;
1176
+ height: 8px;
1177
+ background: currentColor;
1178
+ opacity: 0.6;
1179
+ mask: url("./wave-D-wH63sc.svg") repeat-x center / 20px 8px;
1180
+ }
1181
+ }
1182
+
1183
+ button.divider {
1184
+ cursor: pointer;
1185
+ &:hover { color: var(--text-dim); }
1186
+ }
1097
1187
  .conversation {
1098
1188
  display: flex;
1099
1189
  flex-direction: column;
@@ -1323,7 +1413,7 @@ button.msg-summary:hover { color: var(--text); background: var(--bg-elev-2); bor
1323
1413
 
1324
1414
  .turn-system {
1325
1415
  & .turn-blocks > .aux { align-self: flex-start; }
1326
- & .turn-blocks > :is(.instruction-file, .instruction-total, .aux:has(> .aux-toggle > .instruction-tokens)) { align-self: stretch; } /* full width, so its token count lines up right */
1416
+ & .turn-blocks > :is(.instruction-file, .instruction-total, .mcp-block, .aux:has(> .aux-toggle > .instruction-tokens)) { align-self: stretch; } /* full width, so its token count lines up right */
1327
1417
  & .turn-blocks > .block-text {
1328
1418
  border: 1px dashed var(--border);
1329
1419
  border-radius: 6px;
@@ -1493,17 +1583,22 @@ button.msg-summary:hover { color: var(--text); background: var(--bg-elev-2); bor
1493
1583
  }
1494
1584
  /* The loop's own system prompt and tools sit in a System row, among its directives */
1495
1585
  .instruction-file.directive { border-left: none; padding-left: 0; margin-left: 0; }
1496
- .instruction-file.directive .aux-toggle, .instruction-file.directive pre, .listed .aux-toggle { color: #b9b9b9 }
1586
+ .instruction-file.directive :is(.aux-toggle, .aux-label), .instruction-file.directive pre, .listed .aux-toggle { color: #b9b9b9 }
1497
1587
  /* Context listed above the prompt: the user's @-files and a command's skill body */
1498
1588
  .listed { margin-bottom: 6px; }
1499
- .msg-context > .listed { margin-bottom: 0; }
1589
+ .msg-context > :is(.listed, .mcp-block) { margin-bottom: 0; }
1590
+ /* A group's rows line up with its count */
1591
+ :is(.system-group, .mcp-block) > .aux-body { padding-top: 0; }
1592
+ .system-group > .aux-body > .aux { margin-right: -8px; }
1593
+ /* A row's count sums the rows inside it, so it gives way to theirs once open */
1594
+ .aux:has(> .aux-body > :is(.aux, .mcp-servers)) > .aux-toggle > .instruction-tokens { display: none; }
1595
+ /* The group's bar is the only coloured one: what opens inside it gets a thin gray line */
1596
+ :is(.system-group, .mcp-block) > .aux-body .aux-body { border-left: 1px solid var(--border); }
1500
1597
 
1501
1598
  /* Full-width toggle so the estimated token count can sit right-aligned, like msg-header-right. */
1502
1599
  /* Nested tool rows cancel the aux-body's right padding so their counts line up with the strips'. */
1503
1600
  .instruction-file .instruction-file { border-left: none; padding-left: 0; margin-left: 0; margin-right: -8px; }
1504
- /* A rule under the strip's count marks it as the sum of the tool counts below. */
1505
1601
  .aux-body:has(> .instruction-file:first-child) { padding-top: 0; }
1506
- .aux-body > .instruction-file:first-child > .aux-toggle .instruction-tokens { border-top: 1px solid var(--border); }
1507
1602
  .instruction-file .aux-toggle, .aux-toggle:has(> .instruction-tokens, > .aux-duration) { display: flex; width: 100%; align-items: center; }
1508
1603
  .instruction-title { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
1509
1604
  .instruction-tokens { margin-left: auto; color: var(--text-faint); white-space: nowrap; }
@@ -2293,6 +2388,99 @@ button.msg-summary:hover { color: var(--text); background: var(--bg-elev-2); bor
2293
2388
  }
2294
2389
 
2295
2390
  .view-tab-pane-row > .session-summary { min-height: 0; }
2391
+ .experiment-details {
2392
+ --label: #9aa3b2; /* brighter than --text-dim, which is too faint for running text */
2393
+ display: flex;
2394
+ flex-direction: column;
2395
+ font-size: 14px;
2396
+ line-height: 1.55;
2397
+ color: var(--text);
2398
+
2399
+ & h4 {
2400
+ margin: 36px 0 14px;
2401
+ font-size: 12px;
2402
+ font-weight: 600;
2403
+ letter-spacing: 0.06em;
2404
+ text-transform: uppercase;
2405
+ color: var(--label);
2406
+ }
2407
+ & dl { display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 8px 20px; margin: 0; }
2408
+ & dt { color: var(--label); }
2409
+ & dd { margin: 0; overflow-wrap: anywhere; }
2410
+ & .mono { font-family: var(--font-mono), monospace; font-size: 13px; }
2411
+ & .selectable { user-select: text; }
2412
+
2413
+ /* stacked: a setting's value can be a whole prompt section */
2414
+ & .experiment-settings {
2415
+ display: block;
2416
+
2417
+ & dt { margin-top: 20px; color: var(--text); }
2418
+ & dt:first-child { margin-top: 0; }
2419
+ & dd { margin-top: 4px; color: #c3c9d4; }
2420
+ /* prose, so a reading face rather than code */
2421
+ & pre {
2422
+ margin: 6px 0 0;
2423
+ max-height: 420px;
2424
+ overflow: auto;
2425
+ padding: 12px 16px;
2426
+ background: var(--bg-elev);
2427
+ border-radius: 6px;
2428
+ font: 14px/1.65 var(--font-sans);
2429
+ color: #d4d9e1;
2430
+ white-space: pre-wrap;
2431
+ }
2432
+ }
2433
+ }
2434
+
2435
+ /* the session's tab bar height, so the panes line up */
2436
+ .experiment-details-header {
2437
+ flex: none;
2438
+ box-sizing: border-box;
2439
+ height: var(--pane-header-height);
2440
+ display: flex;
2441
+ align-items: center;
2442
+ padding: 0 24px; /* the body's, so its centered column lines up with the text's */
2443
+ border-bottom: 1px solid var(--border);
2444
+
2445
+ & .experiment-details-header-row { flex: 1; display: flex; align-items: center; justify-content: space-between; }
2446
+ & h2 { display: flex; align-items: center; gap: 8px; margin: 0; font-size: 15px; font-weight: 600; }
2447
+ }
2448
+
2449
+ .experiment-details-close {
2450
+ display: flex;
2451
+ padding: 4px;
2452
+ background: none;
2453
+ border: none;
2454
+ border-radius: 4px;
2455
+ color: var(--text-dim);
2456
+ cursor: pointer;
2457
+
2458
+ &:hover { color: var(--text); background: rgba(255, 255, 255, 0.06); }
2459
+ }
2460
+
2461
+ .experiment-details-body {
2462
+ flex: 1;
2463
+ min-height: 0;
2464
+ overflow-y: auto;
2465
+ padding: 28px 24px 48px;
2466
+ }
2467
+
2468
+ /* a readable line length for the prompt sections; the header's row shares it, so the title lines up with the text */
2469
+ .experiment-details-header-row, .experiment-details-content {
2470
+ max-width: 760px;
2471
+ margin: 0 auto;
2472
+ }
2473
+
2474
+ /* a markdown quote, as ui/Markdown.css draws them */
2475
+ .experiment-intro {
2476
+ margin: 0 0 32px;
2477
+ padding: 4px 0 4px 14px;
2478
+ border-left: 3px solid var(--border-strong);
2479
+ color: var(--label);
2480
+ line-height: 1.65;
2481
+ }
2482
+
2483
+ .experiment-note { margin: 0 0 20px; font-size: 13px; line-height: 1.6; color: var(--label); }
2296
2484
  .statusbar-group { display: inline-flex; align-items: center; gap: 8px; cursor: default; }
2297
2485
 
2298
2486
  .statusbar-seg {
@@ -2601,7 +2789,7 @@ button.msg-summary:hover { color: var(--text); background: var(--bg-elev-2); bor
2601
2789
  & > .gantt-wrap {
2602
2790
  flex: 1;
2603
2791
  padding-right: 0;
2604
- & .heat-strip, & .gantt-canvas { border-top-right-radius: 0; border-bottom-right-radius: 0; border-right: none; }
2792
+ & .experiment-band, & .gantt-canvas { border-top-right-radius: 0; border-bottom-right-radius: 0; border-right: none; }
2605
2793
  }
2606
2794
  & > .gantt-side { flex: 0 0 var(--gantt-side-width); }
2607
2795
  }
@@ -2707,6 +2895,7 @@ button.msg-summary:hover { color: var(--text); background: var(--bg-elev-2); bor
2707
2895
  --text-dim: #69717d;
2708
2896
  --text-faint: #6b7280;
2709
2897
  --accent: #60a5fa;
2898
+ --mcp: #4fb3a1;
2710
2899
  --selected: #1e2a3d;
2711
2900
  --ok: #69717d;
2712
2901
  --warn: #fbbf24;