typebulb 0.11.3 → 0.11.4
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 +4 -0
- package/dist/agents/claude/client.js +99 -99
- package/dist/agents/claude/styles.css +32 -0
- package/dist/index.js +55 -55
- package/package.json +1 -1
|
@@ -721,6 +721,12 @@ a.server-port:hover { color: var(--accent); text-decoration: underline; }
|
|
|
721
721
|
border-radius: 6px;
|
|
722
722
|
color: var(--muted);
|
|
723
723
|
padding: .12rem .45rem;
|
|
724
|
+
/* These are word buttons that swap labels in place (fit⇄spread, code⇄run, copy⇄copied), so a
|
|
725
|
+
min-width keeps the button from jumping as the word's length changes — "fit" is much narrower
|
|
726
|
+
than "spread". Centered text so the floor padding sits evenly. (An icon button wouldn't want
|
|
727
|
+
this, but every pill here is a word.) */
|
|
728
|
+
min-width: 3.5rem;
|
|
729
|
+
text-align: center;
|
|
724
730
|
cursor: pointer;
|
|
725
731
|
opacity: 0;
|
|
726
732
|
transition: opacity .2s ease;
|
|
@@ -888,6 +894,32 @@ a.server-port:hover { color: var(--accent); text-decoration: underline; }
|
|
|
888
894
|
.turn-summary { color: var(--muted); font-size: .85rem; }
|
|
889
895
|
.turn-summary-text { font-style: italic; }
|
|
890
896
|
.turn-summary:hover .turn-summary-text { color: var(--fg); }
|
|
897
|
+
|
|
898
|
+
/* A superseded embed (an earlier same-name version) folds to this "<Name> — Version N" stub — it
|
|
899
|
+
reclaims the bulb's full height but is deliberately a filled, accent-tinted block, NOT a subdued line,
|
|
900
|
+
so it reads as a stable marker in the bulb's development story rather than leaving a "where did my bulb
|
|
901
|
+
go?" gap. Its look never depends on outcome: errors show only inside the embed when expanded, so the
|
|
902
|
+
title never flips color. Click to expand the older bulb (rerun fresh) back in. */
|
|
903
|
+
.bulb-fold {
|
|
904
|
+
display: flex;
|
|
905
|
+
align-items: center;
|
|
906
|
+
gap: .5rem;
|
|
907
|
+
padding: .4rem .6rem;
|
|
908
|
+
border-radius: 8px;
|
|
909
|
+
background: color-mix(in srgb, var(--accent) 8%, var(--panel));
|
|
910
|
+
border: 1px solid color-mix(in srgb, var(--accent) 22%, var(--border));
|
|
911
|
+
color: var(--accent);
|
|
912
|
+
font-size: .9rem;
|
|
913
|
+
font-weight: 500;
|
|
914
|
+
cursor: pointer;
|
|
915
|
+
user-select: none;
|
|
916
|
+
}
|
|
917
|
+
/* The fold is the sole child of its `.md` wrapper, so the `.md :first-child`/`:last-child` margin
|
|
918
|
+
reset (above) would zero a plain `margin` here. Scope it under `.md` so it outweighs that reset
|
|
919
|
+
(equal specificity, later in source) and the stub actually gets its breathing room. */
|
|
920
|
+
.md .bulb-fold { margin: .7rem 0; }
|
|
921
|
+
.bulb-fold:hover { background: color-mix(in srgb, var(--accent) 14%, var(--panel)); }
|
|
922
|
+
.bulb-fold .tool-caret { color: inherit; } /* follow the accent row color */
|
|
891
923
|
/* Verb + summary are inline siblings sharing one line box and font, so they sit
|
|
892
924
|
on a common baseline. Ellipsis truncation lives on the wrapper, not the
|
|
893
925
|
children — overflow:hidden on the summary itself skews its baseline. */
|