dsh-tidy-display 0.3.0 → 0.4.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.
Files changed (64) hide show
  1. package/CHANGELOG.de.md +4 -4
  2. package/CHANGELOG.es.md +4 -4
  3. package/CHANGELOG.fr.md +4 -4
  4. package/CHANGELOG.it.md +4 -4
  5. package/CHANGELOG.md +15 -4
  6. package/CHANGELOG.ru.md +4 -4
  7. package/LICENSE +1 -4
  8. package/README.de.md +5 -5
  9. package/README.en.md +5 -5
  10. package/README.es.md +5 -5
  11. package/README.fr.md +5 -5
  12. package/README.it.md +5 -5
  13. package/README.md +5 -5
  14. package/README.ru.md +5 -5
  15. package/THIRD_PARTY_NOTICES.md +5 -0
  16. package/compat/harness-020rc2.json +99 -99
  17. package/lib/client.js +733 -420
  18. package/lib/client.js.map +1 -1
  19. package/lib/types/client/Reader.d.ts.map +1 -1
  20. package/lib/types/client/Reader.js +10 -6
  21. package/lib/types/client/Reader.js.map +1 -1
  22. package/lib/types/client/ReasoningCard.d.ts +2 -1
  23. package/lib/types/client/ReasoningCard.d.ts.map +1 -1
  24. package/lib/types/client/ReasoningCard.js +26 -4
  25. package/lib/types/client/ReasoningCard.js.map +1 -1
  26. package/lib/types/client/SettingsSection.d.ts +2 -0
  27. package/lib/types/client/SettingsSection.d.ts.map +1 -1
  28. package/lib/types/client/SettingsSection.js +2 -1
  29. package/lib/types/client/SettingsSection.js.map +1 -1
  30. package/lib/types/client/family-host.d.ts +51 -0
  31. package/lib/types/client/family-host.d.ts.map +1 -0
  32. package/lib/types/client/family-host.js +147 -0
  33. package/lib/types/client/family-host.js.map +1 -0
  34. package/lib/types/client/settings-copy.d.ts +1 -1
  35. package/lib/types/client/settings-copy.d.ts.map +1 -1
  36. package/lib/types/client/settings-copy.js +18 -0
  37. package/lib/types/client/settings-copy.js.map +1 -1
  38. package/lib/types/client/settings.d.ts.map +1 -1
  39. package/lib/types/client/settings.js +18 -8
  40. package/lib/types/client/settings.js.map +1 -1
  41. package/lib/types/client/store.d.ts +6 -0
  42. package/lib/types/client/store.d.ts.map +1 -1
  43. package/lib/types/client/store.js +2 -0
  44. package/lib/types/client/store.js.map +1 -1
  45. package/lib/types/client/types.d.ts +1 -0
  46. package/lib/types/client/types.d.ts.map +1 -1
  47. package/package.json +184 -183
  48. package/scripts/hosts.mjs +80 -80
  49. package/scripts/sync-hosts.mjs +170 -170
  50. package/scripts/test-host-compat.mjs +378 -378
  51. package/src/client/Reader.module.css +47 -3
  52. package/src/client/Reader.tsx +805 -801
  53. package/src/client/ReasoningCard.tsx +23 -5
  54. package/src/client/SettingsSection.tsx +19 -0
  55. package/src/client/TurnMetrics.module.css +17 -4
  56. package/src/client/family-host.ts +198 -0
  57. package/src/client/index.tsx +306 -306
  58. package/src/client/locales.ts +2422 -2422
  59. package/src/client/projection.ts +1 -1
  60. package/src/client/settings-copy.ts +100 -80
  61. package/src/client/settings.tsx +28 -10
  62. package/src/client/store.ts +11 -3
  63. package/src/client/types.ts +1 -0
  64. package/tests/browser-fold-scroll-issue.tsx +45 -45
@@ -293,7 +293,11 @@
293
293
  .toolState[data-phase=interrupted] { color: inherit; opacity: .7; }
294
294
  .toolLedger { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 12px; padding: 10px 14px 0; color: var(--dsw-alias-label-secondary); font-size: 11px; line-height: 18px; font-variant-numeric: tabular-nums; }
295
295
  .toolEngine { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
296
- .toolDetails { margin: 6px 0 0 22px; border: 1px solid var(--dsw-alias-border-l2); border-radius: 8px; min-width: 0; overflow: hidden; }
296
+ .toolDetails { margin: 6px 0 0 22px; border: 1px solid var(--dsw-alias-border-l2); border-radius: 8px; min-width: 0; overflow: hidden;
297
+ /* The framed detail box used to carry no plate of its own: with bubbles off
298
+ (or under a skin that zeroes the layer token) its bordered box sat hollow
299
+ over the wallpaper. A light always-on tint keeps frame ⟹ floor true. */
300
+ background-image: linear-gradient(rgba(127, 127, 127, .07), rgba(127, 127, 127, .07)); }
297
301
  .toolTabs { display: flex; align-items: center; gap: 15px; padding: 0 14px; }
298
302
  .toolTabs > button { background: transparent; border: 0; border-bottom: 2px solid transparent; padding: 10px 1px 8px; font: inherit; font-size: 12px; line-height: 20px; color: var(--dsw-alias-label-secondary); cursor: pointer; }
299
303
  .toolTabs > button[aria-selected=true] { color: var(--dsw-alias-label-primary); border-bottom-color: var(--dsw-alias-state-business-primary); }
@@ -484,7 +488,13 @@
484
488
  /* The digest is a single line. nowrap on the parent does not stop the parts
485
489
  from wrapping, so each part is pinned too and the run clips with an ellipsis
486
490
  when the column is narrow. */
487
- .foldSummary { display: inline-flex; align-items: baseline; white-space: nowrap !important; max-width: 100%; overflow: hidden; text-overflow: ellipsis; }
491
+ .foldSummary { display: inline-flex; align-items: baseline; white-space: nowrap !important; max-width: 100%; overflow: hidden; text-overflow: ellipsis;
492
+ /* The step counts are the digest's payload: label-primary inverts with the
493
+ theme, keeping them legible on both the light and the dark canvas. */
494
+ color: var(--dsw-alias-label-primary); }
495
+ /* Light canvas only (see TurnMetrics): the absence of the host's dark marker
496
+ is the light theme — blacken the digest counts there. */
497
+ :global(body:not([data-ds-dark-theme])) .foldSummary { color: #000; }
488
498
  .foldSummaryPart { display: inline-flex; align-items: baseline; white-space: nowrap !important; flex: none; }
489
499
  .numberRollRoot { display: inline-flex; position: relative; overflow: hidden; vertical-align: baseline; line-height: inherit; font-variant-numeric: tabular-nums; font-feature-settings: "tnum"; white-space: nowrap !important; flex-shrink: 0; min-width: 1.45em; justify-content: center; text-align: center; }
490
500
  .numberRollSizer { visibility: hidden; user-select: none; pointer-events: none; line-height: inherit; white-space: nowrap; }
@@ -665,10 +675,16 @@
665
675
  when off. The plate borrows the official chat's answer-panel token — the
666
676
  skin's translucent layer color (#121f43e6 in the navy skin), already
667
677
  semi-transparent by design — so the bubble matches the host look and lets
668
- the skin read through; glass mode only adds the frosted blur. */
678
+ the skin read through; glass mode only adds the frosted blur.
679
+ Wall-paper skins may publish --dsw-alias-bg-layer-1 as FULLY transparent,
680
+ which left every bubble a border around nothing — frame without a floor.
681
+ So each plate also lays an always-on neutral tint as a background-image
682
+ under the token color: images composite over the color and a transparent
683
+ token can never erase them. */
669
684
  .root[data-reader-bubbles=on] .answer {
670
685
  box-sizing: border-box;
671
686
  background: var(--dsw-alias-bg-layer-1, rgba(127, 127, 127, .08));
687
+ background-image: linear-gradient(rgba(127, 127, 127, .10), rgba(127, 127, 127, .10));
672
688
  border: 1px solid var(--dsw-alias-border-l2, rgba(128, 128, 128, .22));
673
689
  border-radius: 16px;
674
690
  padding: 12px 16px;
@@ -689,6 +705,7 @@
689
705
  rules below because the flat look zeroes them for a plate-less layout. */
690
706
  .root[data-reader-bubbles=on] .reasonCard {
691
707
  background: var(--dsw-alias-bg-layer-1, rgba(127, 127, 127, .08));
708
+ background-image: linear-gradient(rgba(127, 127, 127, .10), rgba(127, 127, 127, .10));
692
709
  border-color: var(--dsw-alias-border-l2, rgba(128, 128, 128, .22));
693
710
  border-radius: 16px;
694
711
  }
@@ -699,3 +716,30 @@
699
716
  .root[data-reader-bubbles=on] .reasonCard[data-overflow=false][data-expanded=false] { padding-bottom: 10px; }
700
717
  .root[data-reader-bubbles=on] .reasonCard[data-overflow=false][data-expanded=false] .reasonHeading { padding: 10px 16px 0; }
701
718
  .root[data-reader-bubbles=on] .reasonCard[data-overflow=false][data-expanded=false] .reasonText { padding: 8px 16px 0; }
719
+
720
+ /* Tool rows share the answer's plate. The collapsed call line sat flat on the
721
+ page, so under a skin its summary text hovered over the wallpaper with no
722
+ surface of its own while the answer above it was bubbled. The plate covers
723
+ the whole card — row plus its expanded detail — and only the top-level row
724
+ gets one: sub-calls live inside .toolChildren under the parent plate,
725
+ not as a nested stack of bubbles. Same tokens as the answer bubble; glass
726
+ mode adds the same frosted blur.
727
+ The plate is three layers deep because one token is not enough trust:
728
+ a scrim of the page base color (theme-aware: near-white in light, near-
729
+ dark in dark) so raw blocks inside the card stop out-floating a bare
730
+ wallpaper; a neutral tint that survives a skin zeroing the layer token;
731
+ and the skin's own layer-1 color underneath both. */
732
+ .root[data-reader-bubbles=on] .processFrame > .toolActivity {
733
+ box-sizing: border-box;
734
+ background:
735
+ linear-gradient(color-mix(in srgb, var(--dsw-alias-bg-base, #fff) 76%, transparent), color-mix(in srgb, var(--dsw-alias-bg-base, #fff) 76%, transparent)),
736
+ linear-gradient(rgba(127, 127, 127, .10), rgba(127, 127, 127, .10));
737
+ background-color: var(--dsw-alias-bg-layer-1, rgba(127, 127, 127, .08));
738
+ border: 1px solid var(--dsw-alias-border-l2, rgba(128, 128, 128, .22));
739
+ border-radius: 12px;
740
+ padding: 6px 12px;
741
+ }
742
+ .root[data-reader-bubbles=on][data-reader-glass] .processFrame > .toolActivity {
743
+ backdrop-filter: blur(12px);
744
+ -webkit-backdrop-filter: blur(12px);
745
+ }