typebulb 0.19.6 → 0.20.0

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.
@@ -1231,8 +1231,10 @@ a.server-port:hover { text-decoration: underline; }
1231
1231
  /* Verb + summary are inline siblings sharing one line box and font, so they sit
1232
1232
  on a common baseline. Ellipsis truncation lives on the wrapper, not the
1233
1233
  children — overflow:hidden on the summary itself skews its baseline. */
1234
+ /* flex: 0 1 auto (not 1) so the pending '…' sits right after the label instead of at the row's
1235
+ far edge; the label shrinks with ellipsis when the row is tight. */
1234
1236
  .tool-label {
1235
- flex: 1;
1237
+ flex: 0 1 auto;
1236
1238
  min-width: 0;
1237
1239
  white-space: nowrap;
1238
1240
  overflow: hidden;
@@ -1248,6 +1250,20 @@ a.server-port:hover { text-decoration: underline; }
1248
1250
  }
1249
1251
  .tool-run { color: var(--muted); }
1250
1252
 
1253
+ /* The OUT line ("463 lines", "2 files", the first stdout line) — a collapsed tool's second row,
1254
+ indented under the verb with CC's ⎿ marker (::before, so a copy drag doesn't grab it). Clickable
1255
+ like the head (it's part of the row); the text itself stays selectable, same deal as .tool-sum. */
1256
+ .tool-digest {
1257
+ padding: 0 0 .15rem 1.2rem;
1258
+ color: var(--muted);
1259
+ white-space: nowrap;
1260
+ overflow: hidden;
1261
+ text-overflow: ellipsis;
1262
+ cursor: pointer;
1263
+ user-select: text;
1264
+ }
1265
+ .tool-digest::before { content: '⎿'; margin-right: .5rem; user-select: none; }
1266
+
1251
1267
  /* Code-display panels inside an open tool card: raw input/output (.tool-in,
1252
1268
  .tool-out) and per-hunk diff halves (.diff-old, .diff-new). All four share
1253
1269
  the same monospace block geometry — padding, max-height with scroll,
@@ -1266,6 +1282,19 @@ a.server-port:hover { text-decoration: underline; }
1266
1282
  overflow: auto;
1267
1283
  }
1268
1284
  .tool-out { color: var(--muted); }
1285
+ /* Structured input fields inside an open tool card (one row per input key), replacing the old raw
1286
+ JSON dump. The key is a muted inline label; the value keeps the shared mono geometry, flowing on
1287
+ the same line and wrapping/multi-lining as pre-wrap dictates. */
1288
+ .tool-field + .tool-field { margin-top: .5rem; }
1289
+ .tool-key { color: var(--muted); margin-right: .6rem; user-select: text; }
1290
+ .tool-val { display: inline; margin: 0; font: inherit; white-space: pre-wrap; word-break: break-word; }
1291
+ /* Line-banded unified-diff view for a diff-shaped string input (looksLikeUnifiedDiff): the same
1292
+ add/remove band colors as .diff-new/.diff-old, applied per line; hunk/file headers muted. */
1293
+ .udiff { white-space: pre-wrap; word-break: break-word; }
1294
+ .udiff-line { padding: 0 .2rem; }
1295
+ .udiff-add { background: color-mix(in srgb, var(--diff-add) 24%, transparent); }
1296
+ .udiff-del { background: color-mix(in srgb, var(--err) 24%, transparent); }
1297
+ .udiff-hunk { color: var(--muted); }
1269
1298
  /* The band carries the add/remove signal; text stays --fg so it's readable. Colouring the text the same
1270
1299
  hue as its fill (red-on-red) is what washes a diff out — the band alone is the convention. */
1271
1300
  .diff-old {