dsh-tidy-display 0.2.4-beta.5 → 0.3.1

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 (55) hide show
  1. package/CHANGELOG.md +6 -0
  2. package/LICENSE +1 -4
  3. package/THIRD_PARTY_NOTICES.md +5 -0
  4. package/compat/harness-020rc2.json +5 -5
  5. package/lib/client.js +2461 -28
  6. package/lib/client.js.map +1 -1
  7. package/lib/types/client/OfficialContent.d.ts.map +1 -1
  8. package/lib/types/client/OfficialContent.js +10 -3
  9. package/lib/types/client/OfficialContent.js.map +1 -1
  10. package/lib/types/client/Reader.d.ts.map +1 -1
  11. package/lib/types/client/Reader.js +18 -2
  12. package/lib/types/client/Reader.js.map +1 -1
  13. package/lib/types/client/index.d.ts.map +1 -1
  14. package/lib/types/client/index.js +36 -10
  15. package/lib/types/client/index.js.map +1 -1
  16. package/lib/types/client/locales.d.ts +289 -0
  17. package/lib/types/client/locales.d.ts.map +1 -0
  18. package/lib/types/client/locales.js +2255 -0
  19. package/lib/types/client/locales.js.map +1 -0
  20. package/lib/types/client/official-slots.d.ts +1 -0
  21. package/lib/types/client/official-slots.d.ts.map +1 -1
  22. package/lib/types/client/official-slots.js +10 -1
  23. package/lib/types/client/official-slots.js.map +1 -1
  24. package/lib/types/client/projection.d.ts.map +1 -1
  25. package/lib/types/client/projection.js +6 -5
  26. package/lib/types/client/projection.js.map +1 -1
  27. package/lib/types/client/settings-copy.d.ts +3 -1
  28. package/lib/types/client/settings-copy.d.ts.map +1 -1
  29. package/lib/types/client/settings-copy.js +80 -2
  30. package/lib/types/client/settings-copy.js.map +1 -1
  31. package/lib/types/client/settings.d.ts.map +1 -1
  32. package/lib/types/client/settings.js +7 -6
  33. package/lib/types/client/settings.js.map +1 -1
  34. package/lib/types/client/soft-svc.d.ts +21 -0
  35. package/lib/types/client/soft-svc.d.ts.map +1 -0
  36. package/lib/types/client/soft-svc.js +42 -0
  37. package/lib/types/client/soft-svc.js.map +1 -0
  38. package/lib/types/client/store-face.d.ts +31 -0
  39. package/lib/types/client/store-face.d.ts.map +1 -0
  40. package/lib/types/client/store-face.js +81 -0
  41. package/lib/types/client/store-face.js.map +1 -0
  42. package/lib/types/client/store.js +1 -1
  43. package/lib/types/client/store.js.map +1 -1
  44. package/package.json +3 -2
  45. package/src/client/OfficialContent.tsx +1 -1
  46. package/src/client/Reader.module.css +47 -3
  47. package/src/client/TurnMetrics.module.css +17 -4
  48. package/src/client/index.tsx +43 -10
  49. package/src/client/locales.ts +2422 -0
  50. package/src/client/projection.ts +7 -6
  51. package/src/client/settings-copy.ts +83 -3
  52. package/src/client/settings.tsx +7 -5
  53. package/src/client/soft-svc.ts +36 -0
  54. package/src/client/store-face.ts +126 -0
  55. package/src/client/store.ts +4 -4
package/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.3.1 — 2026-10-10
4
+
5
+ - **Fixed: tool-call rows had no bubble background — text floated over skinned wallpapers.** The message-bubbles plate only covered answers and reasoning cards; collapsed tool-call rows (and their expanded detail box) sat flat on the page, so under a skin their summary text hovered directly over the wallpaper. Under `data-reader-bubbles=on` the top-level tool row now gets the same plate as the answer (row + expanded detail in one card; sub-calls stay flat inside the parent plate, no nested bubbles).
6
+ - **Bubble plates are now three layers deep.** Wallpaper skins may publish `--dsw-alias-bg-layer-1` as fully transparent, which left every bubble a border around nothing. Each plate now lays an always-on neutral tint, and the tool-call plate additionally carries a 76% page-base-color scrim (`color-mix` on `--dsw-alias-bg-base`, theme-aware), so frame ⟹ floor holds regardless of what the skin zeroes. The expanded detail box got its own light tint for the bubbles-off path.
7
+ - **Turn-metrics and fold-summary counts are legible in both themes.** The token-usage / elapsed-time pills and the 「思考×N · 工具×N」 digest moved from the faintest label tiers to `--dsw-alias-label-primary` (inverts with the theme), and on light canvases (`body:not([data-ds-dark-theme])`) they render full black.
8
+
3
9
  ## 0.2.4-beta.5 — 2026-10-05
4
10
 
5
11
  - **修复 0.1.2/0.1.5 整页砖化与阅读视图空白(跨代兼容三连)**:① client 金丝雀对 `conversation.chat.turnTail` 的契约校验只认 0.1.7+ 代的 `list/session`,而 0.1.2–0.1.5 宿主声明 `chain/session` → throw 杀死 client entry → web-boot 门禁整页拒绝启动;改为按代白名单并绑定宿主实时 spec,镜像注入处第二处金丝雀同样降级为告警。② `pendingInteraction` 的 `useSessionStatus` 是 0.1.7+ 改名,0.1.2–0.1.5 叫 `useSessionPendingInteraction`——Reader 双代探测、缺席 fail-open。③ tail 座位按实测代际分发渲染器(chain 槽必须 `renderSlotChain`);老投影附加的 `input-message` 节点阅读页不再镜像渲染(崩 React #130)。已知残留:0.1.2 阅读页用户消息下偶现一张 React #130 优雅降级卡(正文/轨道不受影响)。
package/LICENSE CHANGED
@@ -1,6 +1,6 @@
1
1
  MIT License
2
2
 
3
- Copyright (c) 2026 dsh-better-display contributors
3
+ Copyright (c) 2026 drscrewdriver
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
@@ -19,6 +19,3 @@ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
19
  LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
20
  OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
21
  SOFTWARE.
22
-
23
- Third-party material retains its original license and terms as identified in
24
- THIRD_PARTY_NOTICES.md. This license does not relicense that material.
@@ -63,3 +63,8 @@ Author: Jakub Antalik. Source: the public [Thinking states recipe](https://githu
63
63
  ## Transitions.dev Reasoning stream
64
64
 
65
65
  Author: Jakub Antalik. Source: the public [Reasoning stream recipe](https://github.com/Jakubantalik/transitions.dev/blob/ef497bb64867ce569689730198fc66f49db56317/cli/free/reasoning-stream.md). This adaptation retains the 28px viewport mask, 840ms cadence, 500ms cubic-bezier(0.22,1,0.36,1) CSS transform and fixed two-line steps, clamped only at the real transcript's current end. One real text tree replaces the demo's cloned loop. Body and tool phases do not prematurely stop the current step's motion; manual reading receives the painted offset through native scrolling, preserving selection and keyboard access. Bursts never increase the step distance. Reduced motion and closed historical turns remain static.
66
+
67
+ ## License scope
68
+
69
+ Third-party material retains its original license and terms as identified in
70
+ this file. This license does not relicense that material.
@@ -1,18 +1,18 @@
1
1
  {
2
- "harnessVersion": "0.2.0-rc.2",
2
+ "harnessVersion": "0.1.7-rc.2",
3
3
  "hashes": {
4
4
  "packages/client/ui-slots/src/index.ts": "27a453937cdcc28923c37ad90cd01489e458e205dc03032629183087b5b585d0",
5
5
  "packages/client/ui-slots/src/renderer.ts": "ee834aafc19367922c139d41f677233fbdfcc042b4deff9f616aa43220ee09ee",
6
6
  "packages/client/ui-renderer/src/client/registry.ts": "6b8b6b969d8bcf0314ea20438a223f3a90e1bd516571faecae5c3c01008ecf21",
7
- "packages/client/ui-renderer/src/client/scoped-slots.tsx": "661382e8f8219d0aa69bec96e867f805ede41e0b7b4650169eed98f45c64fc0c",
7
+ "packages/client/ui-renderer/src/client/scoped-slots.tsx": "082ebd62a6d287704d116fa1b233f12ab62a91bc6ccccf99d8137b1f33b8d02b",
8
8
  "packages/client/ui-chat/src/client/contract/slots.ts": "99071c39ccc88d63505acf4cce7b2cf2a8b4cf5a9856b473e3ef11f8c7c52a7e",
9
- "packages/client/ui-tool/src/client/contract/slots.ts": "9c88c132770426c799f6baac6f9cf9a5a9e6f031cbe919b5ee5aca4ab9be72cf",
9
+ "packages/client/ui-tool/src/client/contract/slots.ts": "4ae6334ebb0c6a267c13e8b6b504a614d302e77b4080a63408b97f4d25b22a3f",
10
10
  "packages/client/ui-deliverables/src/client/Deliverables.tsx": "b8d0a19dc208af7f8f44459adba9afe648cd3c398d75917ccfaf2f8c730cfe74",
11
11
  "packages/client/ui-chat/src/client/chat/AssistantMarkdown.tsx": "ac98e943bde17e8f5e7ace6d16d0343297e7cb86da14d066eb6a856cf8363f07",
12
- "packages/client/ui-chat/src/client/chat/MessageItem.tsx": "c9e3bffd724e93ffe7fcb3566d02d2300ae6ab55678bd094f26e4e58d6c24713",
12
+ "packages/client/ui-chat/src/client/chat/MessageItem.tsx": "ae4f777114bfd175bc7655acdfc0a6356f3de5bf5f4c9df3b1d2d0b27073598d",
13
13
  "packages/client/ui-chat/src/client/chat/AssistantNodeView.tsx": "239c8fe1305ede17d3786bfdd61e7e52f3cab30ae548befe172867c52deef388",
14
14
  "packages/client/ui-chat/src/client/chat/TurnTailNodeView.tsx": "4b493845e7d28b93a2db2198e70deffcf4b290c31218923fc7c945af737b56d1",
15
- "packages/client/ui-chat/src/client/chat/TurnProcessNodeView.tsx": "714f2f5a05d7f69c008148b286f7ca7cd0a4231b97d18877797dd14fb07190a0",
15
+ "packages/client/ui-chat/src/client/chat/TurnProcessNodeView.tsx": "731a879e517c9ff28c7d833863e774745666cffe3a2fd2f9aa3fff1adcbc4a17",
16
16
  "packages/client/ui-tool/src/client/tool/models/tool-call-model.ts": "f3d71d4453ba56ba73812126f39f4a720b5fd7bab7ce9ac40c74c15860bb2556",
17
17
  "packages/client/ui-primitives/src/markdown/MarkdownText.tsx": "ff500ab71ac6a55df416f84cc1f5900327b9908c5180c4e2b3888377bd417a97",
18
18
  "packages/client/ui-primitives/src/markdown/render.tsx": "6e4af631d34ae8c8ea1dbeabd1b4593ee9ff23c3470d2855708b3cf8b84bbca2",