@deepseek-ai/dsh-client-ui-chat 0.2.3-alpha.2 → 0.2.3-alpha.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.
Files changed (206) hide show
  1. package/README.i18n.yaml +12 -12
  2. package/README.md +11 -9
  3. package/README.zh.md +11 -9
  4. package/lib/client.js +9 -9
  5. package/lib/client.js.map +1 -1
  6. package/lib/types/client/apply.d.ts.map +1 -1
  7. package/lib/types/client/apply.js.map +1 -1
  8. package/lib/types/client/chat/ApprovalCommand.d.ts +1 -1
  9. package/lib/types/client/chat/ApprovalCommand.d.ts.map +1 -1
  10. package/lib/types/client/chat/AssistantMarkdown.d.ts +2 -2
  11. package/lib/types/client/chat/AssistantMarkdown.d.ts.map +1 -1
  12. package/lib/types/client/chat/AssistantMarkdown.js.map +1 -1
  13. package/lib/types/client/chat/AssistantNodeView.d.ts +3 -3
  14. package/lib/types/client/chat/AssistantNodeView.d.ts.map +1 -1
  15. package/lib/types/client/chat/ChatAside.d.ts +1 -1
  16. package/lib/types/client/chat/ChatAside.d.ts.map +1 -1
  17. package/lib/types/client/chat/ChatFlow.d.ts +1 -1
  18. package/lib/types/client/chat/ChatFlow.d.ts.map +1 -1
  19. package/lib/types/client/chat/ChatFlow.js.map +1 -1
  20. package/lib/types/client/chat/ChatGroupSeat.d.ts.map +1 -1
  21. package/lib/types/client/chat/ChatGroupSeat.js.map +1 -1
  22. package/lib/types/client/chat/ChatNodeSeat.d.ts +1 -1
  23. package/lib/types/client/chat/ChatNodeSeat.d.ts.map +1 -1
  24. package/lib/types/client/chat/ChatNodeSeat.js.map +1 -1
  25. package/lib/types/client/chat/ChatView.d.ts +1 -1
  26. package/lib/types/client/chat/ChatView.d.ts.map +1 -1
  27. package/lib/types/client/chat/ChatView.js.map +1 -1
  28. package/lib/types/client/chat/CommandNodeView.d.ts +1 -1
  29. package/lib/types/client/chat/CommandNodeView.d.ts.map +1 -1
  30. package/lib/types/client/chat/CommandStatusRow.js.map +1 -1
  31. package/lib/types/client/chat/CompactionItem.js.map +1 -1
  32. package/lib/types/client/chat/ContextBody.d.ts +11 -1
  33. package/lib/types/client/chat/ContextBody.d.ts.map +1 -1
  34. package/lib/types/client/chat/ContextBody.js.map +1 -1
  35. package/lib/types/client/chat/ContextInjectionRow.d.ts.map +1 -1
  36. package/lib/types/client/chat/ContextInjectionRow.js.map +1 -1
  37. package/lib/types/client/chat/MessageIconActions.js.map +1 -1
  38. package/lib/types/client/chat/MessageItem.d.ts +5 -3
  39. package/lib/types/client/chat/MessageItem.d.ts.map +1 -1
  40. package/lib/types/client/chat/MessageItem.js.map +1 -1
  41. package/lib/types/client/chat/QuotaNoticeHost.js.map +1 -1
  42. package/lib/types/client/chat/ReasoningContent.d.ts +1 -1
  43. package/lib/types/client/chat/ReasoningContent.d.ts.map +1 -1
  44. package/lib/types/client/chat/ReasoningContent.js.map +1 -1
  45. package/lib/types/client/chat/ReasoningRow.d.ts +1 -1
  46. package/lib/types/client/chat/ReasoningRow.d.ts.map +1 -1
  47. package/lib/types/client/chat/ReasoningRow.js.map +1 -1
  48. package/lib/types/client/chat/RunningStatus.js.map +1 -1
  49. package/lib/types/client/chat/StatsPills.d.ts +1 -1
  50. package/lib/types/client/chat/StatsPills.d.ts.map +1 -1
  51. package/lib/types/client/chat/StatsPills.js.map +1 -1
  52. package/lib/types/client/chat/SystemPromptRow.d.ts +7 -3
  53. package/lib/types/client/chat/SystemPromptRow.d.ts.map +1 -1
  54. package/lib/types/client/chat/SystemPromptRow.js.map +1 -1
  55. package/lib/types/client/chat/TurnNavigator.d.ts +1 -1
  56. package/lib/types/client/chat/TurnNavigator.d.ts.map +1 -1
  57. package/lib/types/client/chat/TurnProcessNodeView.js.map +1 -1
  58. package/lib/types/client/chat/TurnTailNodeView.d.ts +1 -1
  59. package/lib/types/client/chat/TurnTailNodeView.d.ts.map +1 -1
  60. package/lib/types/client/chat/TurnTailNodeView.js.map +1 -1
  61. package/lib/types/client/chat/TurnTriggerNodeView.js.map +1 -1
  62. package/lib/types/client/chat/TurnUsagePanel.js.map +1 -1
  63. package/lib/types/client/chat/UserContent.d.ts +1 -1
  64. package/lib/types/client/chat/UserContent.d.ts.map +1 -1
  65. package/lib/types/client/chat/UserContent.js.map +1 -1
  66. package/lib/types/client/chat/flow-motion.d.ts +1 -1
  67. package/lib/types/client/chat/flow-motion.d.ts.map +1 -1
  68. package/lib/types/client/chat/flow-motion.js.map +1 -1
  69. package/lib/types/client/chat/message-chrome.d.ts +1 -1
  70. package/lib/types/client/chat/message-chrome.d.ts.map +1 -1
  71. package/lib/types/client/chat/register-node-renderers.d.ts +1 -5
  72. package/lib/types/client/chat/register-node-renderers.d.ts.map +1 -1
  73. package/lib/types/client/chat/register-node-renderers.js.map +1 -1
  74. package/lib/types/client/chat/searchable-hidden.d.ts +1 -1
  75. package/lib/types/client/chat/searchable-hidden.d.ts.map +1 -1
  76. package/lib/types/client/chat/stat-dialog.d.ts +3 -3
  77. package/lib/types/client/chat/stat-dialog.d.ts.map +1 -1
  78. package/lib/types/client/chat/stat-dialog.js.map +1 -1
  79. package/lib/types/client/chat/step-process.d.ts +18 -1
  80. package/lib/types/client/chat/step-process.d.ts.map +1 -1
  81. package/lib/types/client/chat/step-process.js.map +1 -1
  82. package/lib/types/client/chat/text-interaction.d.ts +1 -1
  83. package/lib/types/client/chat/text-interaction.d.ts.map +1 -1
  84. package/lib/types/client/chat/text-interaction.js.map +1 -1
  85. package/lib/types/client/chat/text-selection.d.ts +1 -0
  86. package/lib/types/client/chat/text-selection.d.ts.map +1 -1
  87. package/lib/types/client/chat/text-selection.js.map +1 -1
  88. package/lib/types/client/chat/use-chat-scroll.d.ts +2 -2
  89. package/lib/types/client/chat/use-chat-scroll.d.ts.map +1 -1
  90. package/lib/types/client/chat/use-chat-viewport.d.ts +2 -2
  91. package/lib/types/client/chat/use-chat-viewport.d.ts.map +1 -1
  92. package/lib/types/client/chat/use-chat-viewport.js.map +1 -1
  93. package/lib/types/client/chat/use-process-scroll.d.ts +1 -1
  94. package/lib/types/client/chat/use-process-scroll.d.ts.map +1 -1
  95. package/lib/types/client/chat/use-process-scroll.js.map +1 -1
  96. package/lib/types/client/contract/chat-nodes.d.ts +4 -0
  97. package/lib/types/client/contract/chat-nodes.d.ts.map +1 -1
  98. package/lib/types/client/contract/chat-nodes.js.map +1 -1
  99. package/lib/types/client/contract/chat-visibility.d.ts +2 -2
  100. package/lib/types/client/contract/chat-visibility.js.map +1 -1
  101. package/lib/types/client/contract/slots.d.ts +33 -12
  102. package/lib/types/client/contract/slots.d.ts.map +1 -1
  103. package/lib/types/client/conversation-nodes/command.js.map +1 -1
  104. package/lib/types/client/conversation-nodes/fallback.js.map +1 -1
  105. package/lib/types/client/conversation-nodes/message.js.map +1 -1
  106. package/lib/types/client/conversation-nodes/request-prompt.d.ts +8 -3
  107. package/lib/types/client/conversation-nodes/request-prompt.d.ts.map +1 -1
  108. package/lib/types/client/conversation-nodes/request-prompt.js.map +1 -1
  109. package/lib/types/client/conversation-nodes/retry.d.ts.map +1 -1
  110. package/lib/types/client/conversation-nodes/retry.js.map +1 -1
  111. package/lib/types/client/conversation-nodes/tool.d.ts +18 -3
  112. package/lib/types/client/conversation-nodes/tool.d.ts.map +1 -1
  113. package/lib/types/client/conversation-nodes/tool.js.map +1 -1
  114. package/lib/types/client/fence/FenceLayers.d.ts +1 -1
  115. package/lib/types/client/fence/FenceLayers.d.ts.map +1 -1
  116. package/lib/types/client/fence/FenceLayers.js.map +1 -1
  117. package/lib/types/client/index.d.ts +1 -1
  118. package/lib/types/client/index.d.ts.map +1 -1
  119. package/lib/types/client/locale.d.ts +96 -0
  120. package/lib/types/client/locale.d.ts.map +1 -1
  121. package/lib/types/client/locale.js.map +1 -1
  122. package/lib/types/client/markdown-labels.d.ts +1 -1
  123. package/lib/types/client/markdown-labels.d.ts.map +1 -1
  124. package/lib/types/client/presentation-policy.d.ts +2 -0
  125. package/lib/types/client/presentation-policy.d.ts.map +1 -1
  126. package/lib/types/client/presentation-policy.js.map +1 -1
  127. package/lib/types/client/settings/LinkOpeningRow.d.ts +2 -3
  128. package/lib/types/client/settings/LinkOpeningRow.d.ts.map +1 -1
  129. package/lib/types/client/settings/LinkOpeningRow.js.map +1 -1
  130. package/lib/types/client/settings/PerformanceUsageRow.d.ts +2 -2
  131. package/lib/types/client/settings/PerformanceUsageRow.d.ts.map +1 -1
  132. package/lib/types/client/settings/PerformanceUsageRow.js.map +1 -1
  133. package/lib/types/client/settings/PreferenceRow.js.map +1 -1
  134. package/lib/types/client/settings/TranscriptViewRow.d.ts +2 -2
  135. package/lib/types/client/settings/TranscriptViewRow.d.ts.map +1 -1
  136. package/lib/types/client/settings/TranscriptViewRow.js.map +1 -1
  137. package/package.json +46 -46
  138. package/src/client/apply.ts +11 -10
  139. package/src/client/chat/ApprovalCommand.tsx +1 -1
  140. package/src/client/chat/AssistantMarkdown.module.css +10 -16
  141. package/src/client/chat/AssistantMarkdown.tsx +6 -5
  142. package/src/client/chat/AssistantNodeView.tsx +3 -3
  143. package/src/client/chat/ChatAside.tsx +1 -1
  144. package/src/client/chat/ChatFlow.tsx +2 -2
  145. package/src/client/chat/ChatGroupSeat.module.css +4 -2
  146. package/src/client/chat/ChatGroupSeat.tsx +10 -6
  147. package/src/client/chat/ChatNodeSeat.tsx +16 -6
  148. package/src/client/chat/ChatView.module.css +67 -14
  149. package/src/client/chat/ChatView.tsx +18 -10
  150. package/src/client/chat/CommandNodeView.tsx +1 -1
  151. package/src/client/chat/CommandStatusRow.tsx +1 -1
  152. package/src/client/chat/CompactionItem.tsx +1 -1
  153. package/src/client/chat/ContextBody.module.css +8 -0
  154. package/src/client/chat/ContextBody.tsx +37 -4
  155. package/src/client/chat/ContextInjectionRow.tsx +4 -3
  156. package/src/client/chat/MessageIconActions.module.css +7 -0
  157. package/src/client/chat/MessageIconActions.tsx +1 -1
  158. package/src/client/chat/MessageItem.module.css +40 -48
  159. package/src/client/chat/MessageItem.tsx +97 -54
  160. package/src/client/chat/QuotaNoticeHost.tsx +1 -1
  161. package/src/client/chat/ReasoningContent.tsx +2 -2
  162. package/src/client/chat/ReasoningRow.tsx +2 -2
  163. package/src/client/chat/RunningStatus.tsx +1 -1
  164. package/src/client/chat/StatsPills.tsx +2 -2
  165. package/src/client/chat/SystemPromptRow.tsx +26 -9
  166. package/src/client/chat/TurnNavigator.module.css +10 -1
  167. package/src/client/chat/TurnProcessNodeView.tsx +1 -1
  168. package/src/client/chat/TurnTailNodeView.tsx +4 -3
  169. package/src/client/chat/TurnTriggerNodeView.tsx +1 -1
  170. package/src/client/chat/TurnUsagePanel.tsx +1 -1
  171. package/src/client/chat/UserContent.tsx +4 -4
  172. package/src/client/chat/flow-motion.ts +3 -1
  173. package/src/client/chat/message-chrome.ts +1 -1
  174. package/src/client/chat/register-node-renderers.ts +5 -8
  175. package/src/client/chat/searchable-hidden.ts +1 -1
  176. package/src/client/chat/stat-dialog.module.css +8 -6
  177. package/src/client/chat/stat-dialog.ts +5 -5
  178. package/src/client/chat/step-process.ts +33 -1
  179. package/src/client/chat/text-interaction.ts +7 -8
  180. package/src/client/chat/text-selection.ts +33 -14
  181. package/src/client/chat/use-chat-scroll.ts +2 -2
  182. package/src/client/chat/use-chat-viewport.ts +12 -11
  183. package/src/client/chat/use-process-scroll.ts +1 -1
  184. package/src/client/contract/chat-nodes.ts +4 -0
  185. package/src/client/contract/chat-visibility.ts +3 -3
  186. package/src/client/contract/slots.ts +30 -13
  187. package/src/client/conversation-nodes/README.i18n.yaml +4 -4
  188. package/src/client/conversation-nodes/README.md +5 -4
  189. package/src/client/conversation-nodes/README.zh.md +5 -4
  190. package/src/client/conversation-nodes/command.ts +1 -1
  191. package/src/client/conversation-nodes/fallback.ts +1 -1
  192. package/src/client/conversation-nodes/message.ts +1 -1
  193. package/src/client/conversation-nodes/request-prompt.ts +16 -6
  194. package/src/client/conversation-nodes/retry.ts +19 -1
  195. package/src/client/conversation-nodes/tool.ts +50 -29
  196. package/src/client/conversation-nodes/turn-process.ts +1 -1
  197. package/src/client/fence/FenceLayers.tsx +2 -2
  198. package/src/client/index.ts +2 -2
  199. package/src/client/locale.ts +96 -0
  200. package/src/client/markdown-labels.ts +1 -1
  201. package/src/client/model/tool-call-tree.ts +1 -1
  202. package/src/client/presentation-policy.ts +6 -0
  203. package/src/client/settings/LinkOpeningRow.tsx +5 -3
  204. package/src/client/settings/PerformanceUsageRow.tsx +6 -3
  205. package/src/client/settings/PreferenceRow.tsx +5 -5
  206. package/src/client/settings/TranscriptViewRow.tsx +12 -5
@@ -1 +1 @@
1
- {"version":3,"file":"PreferenceRow.js","sourceRoot":"","sources":["../../../../src/client/settings/PreferenceRow.tsx"],"names":[],"mappings":";AAAA,oEAAoE;AACpE,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAA;AACxC,OAAO,EAAE,6BAA6B,EAAE,IAAI,EAAE,MAAM,uCAAuC,CAAA;AAC3F,OAAO,GAAG,MAAM,4BAA4B,CAAA;AAE5C;;;;GAIG;AACH,MAAM,UAAU,aAAa,CAAC,EAAE,KAAK,EAAE,WAAW,EAAE,KAAK,EAAE,aAAa,EAAE,OAAO,EAAE,QAAQ,EAO1F;IACC,MAAM,CAAC,IAAI,EAAE,OAAO,CAAC,GAAG,QAAQ,CAAC,KAAK,CAAC,CAAA;IACvC,MAAM,WAAW,GAAG,MAAM,CAAoB,IAAI,CAAC,CAAA;IACnD,MAAM,SAAS,GAAG,GAAG,EAAE,GAAG,OAAO,CAAC,KAAK,CAAC,CAAA,CAAC,CAAC,CAAA;IAC1C,MAAM,UAAU,GAAG,CAAC,EAAU,EAAE,EAAE;QAChC,WAAW,CAAC,OAAO,EAAE,KAAK,CAAC,EAAE,aAAa,EAAE,IAAI,EAAE,CAAC,CAAA;QACnD,SAAS,EAAE,CAAA;QACX,QAAQ,CAAC,EAAE,CAAC,CAAA;IACd,CAAC,CAAA;IACD,MAAM,QAAQ,GAAG,CACf,kBACE,GAAG,EAAE,WA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6 @@
1
1
  /** General Settings row for work-details presentation. */
2
2
  import type { SnapshotStore } from '@deepseek-ai/dsh-client-store';
3
- import type { InjectFace, PropsLocale, PropsRuntime } from '@deepseek-ai/dsh-client-ui-slots';
3
+ import type { InjectFace, PropsLocale, PropsRuntime } from '@deepseek-ai/dsh-client-ui-slots/client';
4
4
  import { type TranscriptViewMode } from '../../chat-settings.ts';
5
5
  import { type CollapseTiming, type FoldedReplies } from '../presentation-policy.ts';
6
6
  /** Registration-side work-details preference face. */
@@ -21,7 +21,7 @@ export interface TranscriptViewRowInjected {
21
21
  setFoldedReplies: (replies: FoldedReplies) => void;
22
22
  }
23
23
  /** Full Settings-row props. */
24
- export type TranscriptViewRowProps = PropsRuntime<'settings.general.item'> & PropsLocale<'chat'> & InjectFace<TranscriptViewRowInjected>;
24
+ export type TranscriptViewRowProps = PropsRuntime<'settings.general.group.display.item'> & PropsLocale<'chat'> & InjectFace<TranscriptViewRowInjected>;
25
25
  /**
26
26
  * Render the independent, Host-backed work-details, collapse-timing, and folded-reply selectors.
27
27
  * Verbose never folds a Turn, so it omits the folded-reply selector.
@@ -1 +1 @@
1
- {"version":3,"file":"TranscriptViewRow.d.ts","sourceRoot":"","sources":["../../../../src/client/settings/TranscriptViewRow.tsx"],"names":[],"mappings":"AAAA,0DAA0D;AAE1D,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,+BAA+B,CAAA;AAClE,OAAO,KAAK,EAAE,UAAU,EAAE,WAAW,EAAE,YAAY,EAAE,MAAM,kCAAkC,CAAA;AAC7F,OAAO,EAAyB,KAAK,kBAAkB,EAAE,MAAM,wBAAwB,CAAA;AAEvF,OAAO,EAAoC,KAAK,cAAc,EAAE,KAAK,aAAa,EAAE,MAAM,2BAA2B,CAAA;AAGrH,sDAAsD;AACtD,MAAM,WAAW,yBAAyB;IACxC,KAAK,EAAE;QACL,oEAAoE;QACpE,cAAc,EAAE,aAAa,CAAC,kBAAkB,CAAC,CAAA;QACjD,4DAA4D;QAC5D,c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EAAE,CAAC,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC,EAAE,CAAC,CAAC,EACxE,QAAQ,EAAE,UAAU,GACpB,EACF,KAAC,aAAa,IACZ,KAAK,EAAE,CAAC,CAAC,yBAAyB,CAAC,EACnC,WAAW,EAAE,CAAC,CAAC,+BAA+B,CAAC,EAC/C,KAAK,EAAE,MAAM,EACb,aAAa,EAAE,CAAC,CAAC,eAAe,CAAC,MAAM,CAAC,CAAC,EACzC,OAAO,EAAE,gBAAgB,CAAC,GAAG,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC,EAAE,EAAE,EAAE,KAAK,EAAE,CAAC,CAAC,eAAe,CAAC,EAAE,CAAC,CAAC,EAAE,CAAC,CAAC,EAC5E,QAAQ,EAAE,YAAY,GACtB,EACD,IAAI,KAAK,SAAS,IAAI,CACrB,KAAC,aAAa,IACZ,KAAK,EAAE,CAAC,CAAC,8BAA8B,CAAC,EACxC,WAAW,EAAE,CAAC,CAAC,oCAAoC,CAAC,EACpD,KAAK,EAAE,OAAO,EACd,aAAa,EAAE,CAAC,CAAC,mBAAmB,CAAC,OAAO,CAAC,CAAC,EAC9C,OAAO,EAAE,cAAc,CAAC,GAAG,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC,EAAE,EAAE,EAAE,KAAK,EAAE,CAAC,CAAC,mBAAmB,CAAC,EAAE,CAAC,CAAC,EAAE,CAAC,CAAC,EAC9E,QAAQ,EAAE,aAAa,GACvB,CACH,IACA,CACJ,CAAA;AACH,CAAC"}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@deepseek-ai/dsh-client-ui-chat",
3
3
  "description": "Chat Conversation target, node definitions, renderers, and details surface",
4
- "version": "0.2.3-alpha.2",
4
+ "version": "0.2.3-alpha.4",
5
5
  "publishConfig": {
6
6
  "access": "public"
7
7
  },
@@ -50,56 +50,56 @@
50
50
  },
51
51
  "license": "MIT",
52
52
  "peerDependencies": {
53
- "@deepseek-ai/cordis": "~4.2.0-alpha.1"
53
+ "@deepseek-ai/cordis": "~4.2.0-alpha.3"
54
54
  },
55
55
  "devDependencies": {
56
- "@deepseek-ai/cordis": "~4.2.0-alpha.1",
57
- "@deepseek-ai/dsh-agent": "0.2.3-alpha.2",
58
- "@deepseek-ai/dsh-api-remotes": "0.2.3-alpha.2",
59
- "@deepseek-ai/dsh-api-session-controller": "0.2.3-alpha.2",
60
- "@deepseek-ai/dsh-api-workspace-controller": "0.2.3-alpha.2",
61
- "@deepseek-ai/dsh-api-workspace-files": "0.2.3-alpha.2",
62
- "@deepseek-ai/dsh-attachment": "0.2.3-alpha.2",
63
- "@deepseek-ai/dsh-brand": "0.2.3-alpha.2",
64
- "@deepseek-ai/dsh-client-connection": "0.2.3-alpha.2",
65
- "@deepseek-ai/dsh-client-locale": "0.2.3-alpha.2",
66
- "@deepseek-ai/dsh-client-store": "0.2.3-alpha.2",
67
- "@deepseek-ai/dsh-client-ui-approval": "0.2.3-alpha.2",
68
- "@deepseek-ai/dsh-client-ui-conversation": "0.2.3-alpha.2",
69
- "@deepseek-ai/dsh-client-ui-input-trigger": "0.2.3-alpha.2",
70
- "@deepseek-ai/dsh-client-ui-layout": "0.2.3-alpha.2",
71
- "@deepseek-ai/dsh-client-ui-primitives": "0.2.3-alpha.2",
72
- "@deepseek-ai/dsh-client-ui-renderer": "0.2.3-alpha.2",
73
- "@deepseek-ai/dsh-client-ui-session": "0.2.3-alpha.2",
74
- "@deepseek-ai/dsh-client-ui-session-status": "0.2.3-alpha.2",
75
- "@deepseek-ai/dsh-client-ui-settings": "0.2.3-alpha.2",
76
- "@deepseek-ai/dsh-client-ui-sidebar-browser": "0.2.3-alpha.2",
77
- "@deepseek-ai/dsh-client-ui-sidebar-documentpreview": "0.2.3-alpha.2",
78
- "@deepseek-ai/dsh-client-ui-sidebar-right": "0.2.3-alpha.2",
79
- "@deepseek-ai/dsh-client-ui-slots": "0.2.3-alpha.2",
80
- "@deepseek-ai/dsh-client-ui-workspace": "0.2.3-alpha.2",
81
- "@deepseek-ai/dsh-commands": "0.2.3-alpha.2",
82
- "@deepseek-ai/dsh-compaction": "0.2.3-alpha.2",
83
- "@deepseek-ai/dsh-llm": "0.2.3-alpha.2",
84
- "@deepseek-ai/dsh-llm-retry": "0.2.3-alpha.2",
85
- "@deepseek-ai/dsh-session": "0.2.3-alpha.2",
86
- "@deepseek-ai/dsh-session-stats": "0.2.3-alpha.2",
87
- "@deepseek-ai/dsh-session-turn-outline": "0.2.3-alpha.2",
88
- "@deepseek-ai/dsh-subagent": "0.2.3-alpha.2",
89
- "@deepseek-ai/dsh-token-meter": "0.2.3-alpha.2",
90
- "@deepseek-ai/dsh-util-workspace-path": "0.2.3-alpha.2",
91
- "@deepseek-ai/dsh-tool-executor-ptc": "0.2.3-alpha.2",
92
- "@deepseek-ai/dsh-util-values": "0.2.3-alpha.2",
56
+ "@deepseek-ai/cordis": "~4.2.0-alpha.3",
57
+ "@deepseek-ai/dsh-agent": "0.2.3-alpha.4",
58
+ "@deepseek-ai/dsh-api-remotes": "0.2.3-alpha.4",
59
+ "@deepseek-ai/dsh-api-session-controller": "0.2.3-alpha.4",
60
+ "@deepseek-ai/dsh-api-workspace-controller": "0.2.3-alpha.4",
61
+ "@deepseek-ai/dsh-api-workspace-files": "0.2.3-alpha.4",
62
+ "@deepseek-ai/dsh-attachment": "0.2.3-alpha.4",
63
+ "@deepseek-ai/dsh-brand": "0.2.3-alpha.4",
64
+ "@deepseek-ai/dsh-client-connection": "0.2.3-alpha.4",
65
+ "@deepseek-ai/dsh-client-locale": "0.2.3-alpha.4",
66
+ "@deepseek-ai/dsh-client-store": "0.2.3-alpha.4",
67
+ "@deepseek-ai/dsh-client-ui-approval": "0.2.3-alpha.4",
68
+ "@deepseek-ai/dsh-client-ui-conversation": "0.2.3-alpha.4",
69
+ "@deepseek-ai/dsh-client-ui-input-trigger": "0.2.3-alpha.4",
70
+ "@deepseek-ai/dsh-client-ui-layout": "0.2.3-alpha.4",
71
+ "@deepseek-ai/dsh-client-ui-primitives": "0.2.3-alpha.4",
72
+ "@deepseek-ai/dsh-client-ui-renderer": "0.2.3-alpha.4",
73
+ "@deepseek-ai/dsh-client-ui-session": "0.2.3-alpha.4",
74
+ "@deepseek-ai/dsh-client-ui-session-status": "0.2.3-alpha.4",
75
+ "@deepseek-ai/dsh-client-ui-settings": "0.2.3-alpha.4",
76
+ "@deepseek-ai/dsh-client-ui-sidebar-browser": "0.2.3-alpha.4",
77
+ "@deepseek-ai/dsh-client-ui-sidebar-documentpreview": "0.2.3-alpha.4",
78
+ "@deepseek-ai/dsh-client-ui-sidebar-right": "0.2.3-alpha.4",
79
+ "@deepseek-ai/dsh-client-ui-slots": "0.2.3-alpha.4",
80
+ "@deepseek-ai/dsh-client-ui-workspace": "0.2.3-alpha.4",
81
+ "@deepseek-ai/dsh-commands": "0.2.3-alpha.4",
82
+ "@deepseek-ai/dsh-compaction": "0.2.3-alpha.4",
83
+ "@deepseek-ai/dsh-llm": "0.2.3-alpha.4",
84
+ "@deepseek-ai/dsh-llm-retry": "0.2.3-alpha.4",
85
+ "@deepseek-ai/dsh-session": "0.2.3-alpha.4",
86
+ "@deepseek-ai/dsh-session-stats": "0.2.3-alpha.4",
87
+ "@deepseek-ai/dsh-session-turn-outline": "0.2.3-alpha.4",
88
+ "@deepseek-ai/dsh-subagent": "0.2.3-alpha.4",
89
+ "@deepseek-ai/dsh-token-meter": "0.2.3-alpha.4",
90
+ "@deepseek-ai/dsh-util-workspace-path": "0.2.3-alpha.4",
91
+ "@deepseek-ai/dsh-tool-registry-ptc": "0.2.3-alpha.4",
92
+ "@deepseek-ai/dsh-util-values": "0.2.3-alpha.4",
93
93
  "@tanstack/react-virtual": "3.14.10",
94
- "react": "^18.2.0",
95
- "react-dom": "^18.2.0",
96
- "@deepseek-ai/dsh-settings": "0.2.3-alpha.2",
97
- "@deepseek-ai/dsh-client-product-analytics": "0.2.3-alpha.2",
98
- "@deepseek-ai/dsh-client-ui-file-drag": "0.2.3-alpha.2",
99
- "@deepseek-ai/dsh-client-ui-context-menu": "0.2.3-alpha.2"
94
+ "react": "^19.3.1",
95
+ "react-dom": "^19.3.1",
96
+ "@deepseek-ai/dsh-settings": "0.2.3-alpha.4",
97
+ "@deepseek-ai/dsh-client-product-analytics": "0.2.3-alpha.4",
98
+ "@deepseek-ai/dsh-client-ui-file-drag": "0.2.3-alpha.4",
99
+ "@deepseek-ai/dsh-client-ui-context-menu": "0.2.3-alpha.4"
100
100
  },
101
101
  "dependencies": {
102
- "@deepseek-ai/schemastery": "~3.20.0-alpha.1"
102
+ "@deepseek-ai/schemastery": "~3.20.0-alpha.3"
103
103
  },
104
104
  "files": [
105
105
  "locale/*.json",
@@ -74,6 +74,7 @@ export const CHAT_NODE_INJECT: ChatNodeInjected = {
74
74
  },
75
75
  disclosure: (_standard, { disclosureReset }) => bindDisclosure(disclosureReset),
76
76
  groupAction: (_standard, { useGroupAction }) => useGroupAction,
77
+ presentation: (_standard, { usePresentation }) => usePresentation,
77
78
  },
78
79
  }
79
80
 
@@ -171,10 +172,10 @@ export function apply(ctx: Context): void {
171
172
  getSnapshot: () => tabs.get('browser') !== undefined,
172
173
  subscribe: listener => tabs.subscribe(listener),
173
174
  }
174
- scope.slots.inject('settings.general.item', () => scope.slots.register({
175
- name: 'settings.general.item',
175
+ scope.slots.inject('settings.general.group.interaction.item', () => scope.slots.register({
176
+ name: 'settings.general.group.interaction.item',
176
177
  id: 'link-opening',
177
- order: 17,
178
+ order: 10,
178
179
  locale: NS,
179
180
  inject: (): LinkOpeningRowInjected => ({
180
181
  hooks: { linkOpening, browserAvailable },
@@ -192,14 +193,14 @@ export function apply(ctx: Context): void {
192
193
  const performancePolicy = new PerformanceUsagePolicy(chatSettings)
193
194
  ctx.effect(() => () => { transcriptView.dispose(); performancePolicy.dispose() })
194
195
  const performanceUsage = performancePolicy.mode
195
- registerChatNodeRenderers(ctx, performanceUsage, presentation)
196
+ registerChatNodeRenderers(ctx, performanceUsage)
196
197
  ctx.slots.registerFactory({
197
198
  name: 'conversation.chat.user.content', scope: 'session', locale: NS,
198
199
  children: { 'conversation.chat.user.images': { kind: 'single', scope: 'session' } },
199
200
  }, UserContent)
200
201
 
201
- ctx.slots.inject('settings.general.item', () => ctx.slots.register({
202
- name: 'settings.general.item',
202
+ ctx.slots.inject('settings.general.group.display.item', () => ctx.slots.register({
203
+ name: 'settings.general.group.display.item',
203
204
  id: 'performance-usage',
204
205
  order: 30,
205
206
  locale: NS,
@@ -209,8 +210,8 @@ export function apply(ctx: Context): void {
209
210
  }),
210
211
  }, PerformanceUsageRow))
211
212
 
212
- ctx.slots.inject('settings.general.item', () => ctx.slots.register({
213
- name: 'settings.general.item',
213
+ ctx.slots.inject('settings.general.group.display.item', () => ctx.slots.register({
214
+ name: 'settings.general.group.display.item',
214
215
  id: 'transcript-view',
215
216
  order: 12,
216
217
  locale: NS,
@@ -321,9 +322,9 @@ export function apply(ctx: Context): void {
321
322
  forkAt: (seq) => {
322
323
  const turn = [...chat.getSnapshot().timeline.turns.values()].find(turn => turn.end?.seq === seq)
323
324
  const messageId = turn?.data.get('turn-tail')?.closing?.finalNode.messageId
324
- ctx.sessions.fork({ sessionId, atSeq: seq, increaseTitle: true, onCreated: (childId) => {
325
+ ctx.uiWorkspace.forkSession(sessionId, (childId) => {
325
326
  ctx.get('productAnalytics')?.track('branch_session_click', { session_id: childId, parent_session_id: sessionId, ...messageId === undefined ? {} : { parent_message_id: messageId }, click_position: 'footer' })
326
- } })
327
+ }, { atSeq: seq })
327
328
  .then((childId) => { ctx.uiWorkspace.openSession(childId) })
328
329
  .catch(() => {
329
330
  // Fork or child-title failure leaves the source view unchanged.
@@ -1,5 +1,5 @@
1
1
  /** Chat-owned approval detail resolving a correlated Tool call's command. */
2
- import type { PropsRuntime } from '@deepseek-ai/dsh-client-ui-slots'
2
+ import type { PropsRuntime } from '@deepseek-ai/dsh-client-ui-slots/client'
3
3
  import type {} from '@deepseek-ai/dsh-client-ui-approval/client'
4
4
  import type { ChatNode } from '../contract/chat-nodes.ts'
5
5
 
@@ -28,30 +28,24 @@
28
28
  --dsh-assistant-block-gap: 4px;
29
29
  }
30
30
 
31
- /* Wide markdown tables (the renderer's ≥4-column md-table-wide hook) span
32
- the whole transcript width instead of clipping at the 748px message
33
- column, while the table content keeps starting at its normal x (the lead
34
- padding compensates the negative margin) — deepsuite chat TableWrapper
35
- parity, with 100cqw (the ChatView scroll container) standing in for its
36
- JS-measured --dsl-virtual-list-width. `--dsh-table-spare` clamps to zero
37
- when the transcript is narrower than the message column, so narrow
38
- viewports keep the plain in-column scroll with no sideways shift.
39
- Percentages resolve against the wrapper's containing block, so a table
40
- indented inside a list still reaches the same transcript edges. */
31
+ /* Wide markdown tables (the renderer's ≥4-column md-table-wide hook) start
32
+ at their normal x and extend right to the transcript's edge instead of
33
+ clipping at the 748px message column, so the table, its scrollbar and
34
+ its scrolled content all start at the message column's left edge. 100cqw
35
+ (the ChatView scroll container) gives the transcript width.
36
+ `--dsh-table-spare` clamps to zero when the transcript is narrower than
37
+ the message column, so narrow viewports keep the plain in-column scroll.
38
+ A table indented inside a list keeps its indentation. */
41
39
  .body :global(.md-table-wide) {
42
40
  --dsh-table-spare: max(0px, calc((100cqw - var(--dsh-chat-content-width)) / 2));
43
- --dsh-table-lead: calc(var(--dsh-table-spare) + min(var(--dsh-chat-content-width), 100cqw) - 100%);
44
- box-sizing: border-box;
45
- width: calc(100% + var(--dsh-table-lead) + var(--dsh-table-spare));
41
+ width: calc(100% + var(--dsh-table-spare));
46
42
  /* The base .tableScroll caps at the column (max-width: 100%); the breakout
47
43
  is exactly the case that must exceed it. */
48
44
  max-width: none;
49
- margin-left: calc(-1 * var(--dsh-table-lead));
50
- padding-left: var(--dsh-table-lead);
51
45
  }
52
46
 
53
47
  /* Only the painted table outranks Conversation's z-index 0 width handle. The
54
- full-width scroll wrapper and its transparent alignment padding stay below,
48
+ scroll wrapper's transparent area right of a fitting table stays below,
55
49
  so a fitting four-column table does not disable the surrounding gutter. */
56
50
  .body :global(.md-table-wide) > table {
57
51
  position: relative;
@@ -1,9 +1,9 @@
1
- import { Fragment, memo, useMemo } from 'react'
1
+ import { Fragment, memo, useCallback, useMemo } from 'react'
2
2
  import { fileMediaUrl } from '@deepseek-ai/dsh-util-workspace-path'
3
- import type { PropsRenderSlots } from '@deepseek-ai/dsh-client-ui-slots'
3
+ import type { PropsRenderSlots } from '@deepseek-ai/dsh-client-ui-slots/client'
4
4
  import type { ReactNode } from 'react'
5
- import { JsonBlock, MarkdownText } from '@deepseek-ai/dsh-client-ui-primitives'
6
- import type { MarkdownFileMentions, MarkdownPathImages } from '@deepseek-ai/dsh-client-ui-primitives'
5
+ import { JsonBlock, MarkdownText } from '@deepseek-ai/dsh-client-ui-primitives/client'
6
+ import type { MarkdownFileMentions, MarkdownPathImages } from '@deepseek-ai/dsh-client-ui-primitives/client'
7
7
  import type { ChatNodeOwnerProps, ChatViewSlotProps, UseDisclosure, UsePresentation, UseGroupAction } from '../contract/slots.ts'
8
8
  import type { AssistantBlock } from '../contract/snapshot.ts'
9
9
  import { markdownLabels } from '../markdown-labels.ts'
@@ -66,6 +66,7 @@ export const AssistantMarkdown = memo(function AssistantMarkdown({
66
66
  const pathImages = useMemo<MarkdownPathImages>(() => {
67
67
  return { resolve: value => localPathMediaUrl(document.baseURI, value) }
68
68
  }, [])
69
+ const truncatedLabel = useCallback((total: number) => t('json.truncated', { total }), [t])
69
70
  const last = blocks.length - 1
70
71
  // Tool-call heads render as tool rows in the chat view's grouping pass, so
71
72
  // a node that is only those heads (or empty) would paint an empty root
@@ -140,7 +141,7 @@ export const AssistantMarkdown = memo(function AssistantMarkdown({
140
141
  key={i}
141
142
  label={t('message.unknownBlock')}
142
143
  payload={block.block}
143
- truncatedLabel={total => t('json.truncated', { total })}
144
+ truncatedLabel={truncatedLabel}
144
145
  />,
145
146
  )
146
147
  }
@@ -1,10 +1,10 @@
1
1
  import { memo, useCallback, useMemo } from 'react'
2
- import type { InjectFace, PropsRenderSlots } from '@deepseek-ai/dsh-client-ui-slots'
3
- import type { ChatFileMentions, ChatNodeViewProps, PresentationInjected, TurnTailOwnerProps } from '../contract/slots.ts'
2
+ import type { InjectFace, PropsRenderSlots } from '@deepseek-ai/dsh-client-ui-slots/client'
3
+ import type { ChatFileMentions, ChatNodeViewProps, TurnTailOwnerProps } from '../contract/slots.ts'
4
4
  import { AssistantMarkdown } from './AssistantMarkdown.tsx'
5
5
 
6
6
  /** Business readers owned by the assistant renderer's existing Slot registration. */
7
- export interface AssistantNodeInjected extends PresentationInjected {
7
+ export interface AssistantNodeInjected {
8
8
  /** Resolve against the live Session directory. @param path - Recorded path. @returns Host path. */
9
9
  resolveFilePath: (path: string) => string
10
10
  /** Resolve closing-Turn mentions with the supplied ordinary file gesture callback. */
@@ -1,6 +1,6 @@
1
1
  /** The Chat View's aside layer: one Session-level occupant beside the transcript, which the layer's stylesheet tells the end gutter. */
2
2
  import { memo } from 'react'
3
- import type { PropsRenderSlots } from '@deepseek-ai/dsh-client-ui-slots'
3
+ import type { PropsRenderSlots } from '@deepseek-ai/dsh-client-ui-slots/client'
4
4
  import css from './ChatView.module.css'
5
5
 
6
6
  /**
@@ -27,7 +27,7 @@ export const ChatFlow = memo(function ChatFlow({
27
27
  entries, pendingInputs, lastInputTurn, deferCollapse,
28
28
  useSession, useChat, useChatNode, useChatNodeBottom, useChatNodeProcess, useChatGroup, usePresentation, useConnectionState,
29
29
  useStore, actions, renderSlot, renderFactorySlot, t, useGroupAction, useGroupHeaderAction,
30
- cwd, openFile, inspectCall, forkAt, loadImage,
30
+ cwd, openFile, inspectCall, inspectRequest, forkAt, loadImage,
31
31
  }: ChatFlowSlotProps) {
32
32
  const nodeStore = useChat(snapshot => snapshot.nodes)
33
33
  const running = useSession(snapshot => snapshot.running)
@@ -47,7 +47,7 @@ export const ChatFlow = memo(function ChatFlow({
47
47
  const seatProps = {
48
48
  nodeStore, useChatNode, useChatNodeBottom, useChatNodeProcess, usePresentation,
49
49
  useStore, actions, renderSlot, t, useGroupAction, deferCollapse,
50
- cwd, openFile, inspectCall, forkAt, loadImage,
50
+ cwd, openFile, inspectCall, inspectRequest, forkAt, loadImage,
51
51
  }
52
52
  const rows = entries.map((entry) => {
53
53
  switch (entry.kind) {
@@ -100,7 +100,6 @@
100
100
  }
101
101
 
102
102
  .body {
103
- --dsh-chat-flow-gap: 4px;
104
103
  max-height: min(400px, 50vh);
105
104
  overflow-y: auto;
106
105
  overscroll-behavior-y: auto;
@@ -145,8 +144,11 @@
145
144
  flex-direction: column;
146
145
  }
147
146
  .content > * { flex-shrink: 0; }
147
+ /* Members of a group take the process-row gap, the same 4px a flow row takes
148
+ by default. Rows here sit below the flow row's own registered gap property,
149
+ which does not inherit, so the gap is stated where it applies. */
148
150
  .content > :not([hidden]):not(:empty) ~ [data-chat-flow-key]:not([hidden]):not(:empty) {
149
- margin-top: var(--dsh-chat-flow-gap, 4px);
151
+ margin-top: 4px;
150
152
  }
151
153
  .expandedBody {
152
154
  max-height: none;
@@ -5,7 +5,7 @@ import {
5
5
  IconChevronUpOutlineRegular, IconCodeOutlineRegular, IconContextInjectionOutlineRegular, IconEditOutlineRegular,
6
6
  IconGlobeOutlineRegular, IconPlanOutlineRegular, IconQuestionOutlineRegular, IconSearchOutlineRegular, IconSparkleRegular,
7
7
  IconThinkOutlineRegular, TextShimmer,
8
- } from '@deepseek-ai/dsh-client-ui-primitives'
8
+ } from '@deepseek-ai/dsh-client-ui-primitives/client'
9
9
  import type { GroupKey, NodeReference } from '@deepseek-ai/dsh-client-ui-conversation/client'
10
10
  import type { ProcessActivity, RunningProcessActivity } from '../contract/process-groups.ts'
11
11
  import type { ChatStoreState } from '../contract/store.ts'
@@ -14,7 +14,7 @@ import { turnProcessOpen } from '../stores.ts'
14
14
  import { ChatNodeSeat } from './ChatNodeSeat.tsx'
15
15
  import { hiddenOrCollapsing } from './flow-motion.ts'
16
16
  import { chatRenderKey } from './render-entry.ts'
17
- import { processTitle } from './step-process.ts'
17
+ import { processTitle, stepRunsGrouped, thinkingTitle } from './step-process.ts'
18
18
  import { useDisclosure } from './use-disclosure.ts'
19
19
  import { useProcessScroll } from './use-process-scroll.ts'
20
20
  import css from './ChatGroupSeat.module.css'
@@ -33,6 +33,8 @@ interface LiveProcessTitle {
33
33
  readonly activity: RunningProcessActivity | 'thinking'
34
34
  readonly detail: string
35
35
  readonly preparing: boolean
36
+ /** Thinking title composed from the counts when this title was desired; empty while a tool is live. */
37
+ readonly thinking: string
36
38
  }
37
39
 
38
40
  const PROCESS_ICONS: Record<ProcessTitleActivity, ReactNode> = {
@@ -55,6 +57,7 @@ const PROCESS_ICONS: Record<ProcessTitleActivity, ReactNode> = {
55
57
 
56
58
  function sameLiveProcessTitle(left: LiveProcessTitle, right: LiveProcessTitle): boolean {
57
59
  return left.activity === right.activity && left.detail === right.detail && left.preparing === right.preparing
60
+ && left.thinking === right.thinking
58
61
  }
59
62
 
60
63
  function useStableLiveProcessTitle(desired: LiveProcessTitle, active: boolean): LiveProcessTitle {
@@ -78,7 +81,7 @@ function useStableLiveProcessTitle(desired: LiveProcessTitle, active: boolean):
78
81
  }
79
82
  const timer = setTimeout(commit, remaining)
80
83
  return () => { clearTimeout(timer) }
81
- }, [active, desired.activity, desired.detail, desired.preparing])
84
+ }, [active, desired.activity, desired.detail, desired.preparing, desired.thinking])
82
85
  return active ? displayed : desired
83
86
  }
84
87
 
@@ -105,11 +108,12 @@ const ProcessGroupHeader = memo(function ProcessGroupHeader({ groupKey, useChatG
105
108
  activity: data?.summary.running ?? 'thinking',
106
109
  detail: data?.summary.runningDetail ?? '',
107
110
  preparing: data?.summary.preparing === true,
111
+ thinking: data === undefined || data.closed || data.summary.running !== undefined ? '' : thinkingTitle(data.summary, t),
108
112
  }, data !== undefined && !data.closed)
109
113
  if (data === undefined) return null
110
114
  const label = data.closed ? processTitle(data.summary, t)
111
115
  : live.preparing ? t(`message.stepProcess.prepare.${live.activity === 'thinking' ? 'tools' : live.activity}`)
112
- : t(`message.stepProcess.${live.activity}`)
116
+ : live.activity === 'thinking' ? live.thinking : t(`message.stepProcess.${live.activity}`)
113
117
  const detail = detailed && !data.closed ? live.detail : ''
114
118
  const title = detail === '' ? label : `${label}${t('message.turnProcess.separator')}${detail}`
115
119
  const activity = data.closed ? data.summary.counts[0]?.kind ?? 'thinking' : live.activity
@@ -145,8 +149,8 @@ export const ChatGroupSeat = memo(function ChatGroupSeat({ groupKey, useChatGrou
145
149
  return location?.kind === 'turn' || location?.kind === 'step' ? location.turn : undefined
146
150
  })
147
151
  // Detailed keeps the latest completed Turn flat, like a running one, until the next input.
148
- const grouped = props.usePresentation(policy => policy.stepGrouping === 'collapsed'
149
- || (policy.stepGrouping === 'history' && turnLocation?.status !== 'open' && !deferCollapse))
152
+ const grouped = props.usePresentation(policy =>
153
+ stepRunsGrouped(policy.stepGrouping, turnLocation?.status === 'open', deferCollapse))
150
154
  const reason = turnLocation?.end?.data.reason.kind
151
155
  const alwaysOpen = presentation?.turnClosed === false || presentation?.hasInterleavedInput === true
152
156
  || reason === 'aborted' || reason === 'interrupted' || reason === 'error'
@@ -1,5 +1,5 @@
1
1
  import { memo, useCallback, useEffect, useMemo, useState } from 'react'
2
- import { JsonBlock } from '@deepseek-ai/dsh-client-ui-primitives'
2
+ import { JsonBlock } from '@deepseek-ai/dsh-client-ui-primitives/client'
3
3
  import { createSnapshotStore } from '@deepseek-ai/dsh-client-store'
4
4
  import type { ConversationLocationDataStore, ConversationTurnDataMap } from '@deepseek-ai/dsh-client-ui-conversation/client'
5
5
  import type { ChatNodeHookContext, ChatNodeOwnerProps, ChatFlowSlotProps, UsePresentation } from '../contract/slots.ts'
@@ -10,6 +10,7 @@ import { isAtOrOutside } from '../contract/group-tree.ts'
10
10
  import { turnProcessAlwaysOpen } from '../contract/turn-process.ts'
11
11
  import { turnProcessOpen } from '../stores.ts'
12
12
  import { hiddenOrCollapsing } from './flow-motion.ts'
13
+ import { stepRunsGrouped } from './step-process.ts'
13
14
  import css from './ChatView.module.css'
14
15
 
15
16
  interface ChatNodeSeatProps extends ChatNodeOwnerProps {
@@ -49,7 +50,7 @@ function turnOf(node: ChatNode | undefined): number | undefined {
49
50
  */
50
51
  export const ChatNodeSeat = memo(function ChatNodeSeat({
51
52
  nodeKey, groupPart, useChatNode, useChatNodeProcess, usePresentation,
52
- cwd, openFile, inspectCall, forkAt,
53
+ cwd, openFile, inspectCall, inspectRequest, forkAt,
53
54
  loadImage, useStore, actions, renderSlot, t, useChatNodeBottom, deferCollapse, useGroupAction,
54
55
  }: ChatNodeSeatProps) {
55
56
  const bottom = useChatNodeBottom(nodeKey)
@@ -118,17 +119,24 @@ export const ChatNodeSeat = memo(function ChatNodeSeat({
118
119
  const revealProcess = useCallback(() => {
119
120
  if (processMember) setOpen(true)
120
121
  }, [processMember, setOpen])
122
+ const truncatedLabel = useCallback((total: number) => t('json.truncated', { total }), [t])
121
123
  const wrapperRef = useGroupAction(processHidden, revealProcess)
122
124
  const [disclosureReset] = useState(() => createSnapshotStore(0))
123
125
  const turnData = turnDataOf(routedNode)
124
126
  const hookContext = useMemo<ChatNodeHookContext>(
125
- () => ({ turnData, disclosureReset, useGroupAction }), [turnData, disclosureReset, useGroupAction],
127
+ () => ({ turnData, disclosureReset, useGroupAction, usePresentation }),
128
+ [turnData, disclosureReset, useGroupAction, usePresentation],
126
129
  )
127
130
  useEffect(() => {
128
131
  if (processMember && processHidden && wrapperRef.current !== null && hiddenOrCollapsing(wrapperRef.current)) {
129
132
  disclosureReset.set(disclosureReset.getSnapshot() + 1)
130
133
  }
131
134
  }, [processMember, processHidden, wrapperRef, disclosureReset])
135
+ const turnOpen = routedNode?.location.kind === 'turn' || routedNode?.location.kind === 'step'
136
+ ? routedNode.location.turn.status === 'open'
137
+ : false
138
+ const stepRunsGroupedHere = usePresentation(policy =>
139
+ stepRunsGrouped(policy.stepGrouping, turnOpen, bottom === true && deferCollapse))
132
140
  const owner = useMemo<ChatNodeOwnerProps | null>(() => node === undefined
133
141
  ? null
134
142
  : {
@@ -136,12 +144,14 @@ export const ChatNodeSeat = memo(function ChatNodeSeat({
136
144
  cwd,
137
145
  openFile,
138
146
  inspectCall,
147
+ inspectRequest,
139
148
  forkAt,
140
149
  loadImage,
141
150
  turnProcess,
151
+ stepRunsGrouped: stepRunsGroupedHere,
142
152
  }, [
143
- node, groupPart, cwd, openFile, inspectCall, forkAt,
144
- loadImage, turnProcess,
153
+ node, groupPart, cwd, openFile, inspectCall, inspectRequest, forkAt,
154
+ loadImage, turnProcess, stepRunsGroupedHere,
145
155
  ])
146
156
  if (routedNode === undefined || owner === null) return null
147
157
  // Runtime dispatch owns the correlation: every Node's discriminant is the
@@ -170,7 +180,7 @@ export const ChatNodeSeat = memo(function ChatNodeSeat({
170
180
  <JsonBlock
171
181
  label={t('message.unknownSurface', { type: routedNode.kind })}
172
182
  payload={routedNode.data}
173
- truncatedLabel={total => t('json.truncated', { total })}
183
+ truncatedLabel={truncatedLabel}
174
184
  />
175
185
  ),
176
186
  })}