typebulb 0.11.4 → 0.11.6
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/description.md +8 -0
- package/dist/agents/claude/client.js +22 -22
- package/dist/agents/claude/styles.css +17 -12
- package/dist/index.js +67 -67
- package/package.json +3 -2
|
@@ -11,6 +11,7 @@
|
|
|
11
11
|
--tool-bg: rgb(245, 246, 248);
|
|
12
12
|
--err: rgb(206, 60, 60);
|
|
13
13
|
--diff-add: rgb(40, 140, 70);
|
|
14
|
+
--fold-marker: rgb(24, 145, 72);
|
|
14
15
|
/* Prose measure for text (bubbles + notes) — kept to a readable line length.
|
|
15
16
|
Diagrams break out wider than this; see .md .mermaid. */
|
|
16
17
|
--content-max: 800px;
|
|
@@ -28,6 +29,7 @@ html[data-theme="dark"] {
|
|
|
28
29
|
--tool-bg: rgb(30, 31, 36);
|
|
29
30
|
--err: rgb(240, 120, 120);
|
|
30
31
|
--diff-add: rgb(120, 210, 140);
|
|
32
|
+
--fold-marker: rgb(0, 255, 0);
|
|
31
33
|
color-scheme: dark;
|
|
32
34
|
}
|
|
33
35
|
|
|
@@ -895,22 +897,25 @@ a.server-port:hover { color: var(--accent); text-decoration: underline; }
|
|
|
895
897
|
.turn-summary-text { font-style: italic; }
|
|
896
898
|
.turn-summary:hover .turn-summary-text { color: var(--fg); }
|
|
897
899
|
|
|
898
|
-
/* A superseded embed (an earlier same-name version) folds to this "<Name> — Version N" stub — it
|
|
899
|
-
reclaims the bulb's full height
|
|
900
|
-
|
|
901
|
-
|
|
902
|
-
|
|
900
|
+
/* A superseded embed (an earlier same-name version) folds to this "💡 <Name> — Version N" stub — it
|
|
901
|
+
reclaims the bulb's full height. Marker-green text (--fold-marker: lime in dark, deep green in light)
|
|
902
|
+
on a neutral gray fill (--panel) that hugs the text (width:max-content), no border: text-hugging and
|
|
903
|
+
borderless keeps it distinct from the page's full-width bordered panels and clear of the live bulb's
|
|
904
|
+
hover pills, and the colored title rides a gray pill rather than a green block. Its look never depends
|
|
905
|
+
on outcome: errors show only inside the embed when expanded, so the title never changes. Click to
|
|
906
|
+
expand the older bulb (rerun fresh) back in. */
|
|
903
907
|
.bulb-fold {
|
|
904
908
|
display: flex;
|
|
909
|
+
width: max-content;
|
|
910
|
+
max-width: 100%;
|
|
905
911
|
align-items: center;
|
|
906
912
|
gap: .5rem;
|
|
907
|
-
padding: .
|
|
908
|
-
border-radius:
|
|
909
|
-
background:
|
|
910
|
-
|
|
911
|
-
color: var(--accent);
|
|
913
|
+
padding: .3rem .55rem;
|
|
914
|
+
border-radius: 6px;
|
|
915
|
+
background: var(--panel);
|
|
916
|
+
color: var(--fold-marker);
|
|
912
917
|
font-size: .9rem;
|
|
913
|
-
font-weight:
|
|
918
|
+
font-weight: 600;
|
|
914
919
|
cursor: pointer;
|
|
915
920
|
user-select: none;
|
|
916
921
|
}
|
|
@@ -918,7 +923,7 @@ a.server-port:hover { color: var(--accent); text-decoration: underline; }
|
|
|
918
923
|
reset (above) would zero a plain `margin` here. Scope it under `.md` so it outweighs that reset
|
|
919
924
|
(equal specificity, later in source) and the stub actually gets its breathing room. */
|
|
920
925
|
.md .bulb-fold { margin: .7rem 0; }
|
|
921
|
-
.bulb-fold:hover { background: color-mix(in srgb, var(--
|
|
926
|
+
.bulb-fold:hover { background: color-mix(in srgb, var(--fg) 8%, var(--panel)); }
|
|
922
927
|
.bulb-fold .tool-caret { color: inherit; } /* follow the accent row color */
|
|
923
928
|
/* Verb + summary are inline siblings sharing one line box and font, so they sit
|
|
924
929
|
on a common baseline. Ellipsis truncation lives on the wrapper, not the
|