@mcp-b/react-components 0.16.0 → 0.17.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 (298) hide show
  1. package/dist/{AgentChat-CrlpbvQJ.d.ts → AgentChat-CRuMi1Pb.d.ts} +4 -10
  2. package/dist/AgentMessageParts-CyD2UB3V.d.ts +46 -0
  3. package/dist/AgentToolRunsContext-BVe4stgw.d.ts +21 -0
  4. package/dist/{CodeBlock-BmB4Xaqq.js → CodeBlock-Co1noLbC.js} +2 -2
  5. package/dist/{CodeBlock-BRajW4QU.d.ts → CodeBlock-Dnpr88ZQ.d.ts} +2 -2
  6. package/dist/Collapsible-N64ASIQr.d.ts +119 -0
  7. package/dist/{Combobox-B9Fcd6q-.d.ts → Combobox-CYc37s5l.d.ts} +11 -33
  8. package/dist/{FileTree-CkVbIMWV.js → FileTree-B7bBsUyU.js} +7 -7
  9. package/dist/{Menu-Bgu-ufb5.d.ts → Menu-L6MZm-7N.d.ts} +15 -56
  10. package/dist/{Message-BkMdE3bS.js → Message-C4eYRogZ.js} +3 -3
  11. package/dist/{ModelSelector-SlJNgwKY.js → ModelSelector-BNrZlY_Y.js} +5 -5
  12. package/dist/{PromptInput-BWTuXMOD.d.ts → PromptInput-OLfXPuHM.d.ts} +39 -67
  13. package/dist/{ResponsiveSidebarShell-Dd9DCcBT.d.ts → ResponsiveSidebarShell-CsAh4NyL.d.ts} +1 -0
  14. package/dist/{Select-BeEsefzh.d.ts → Select-CwSqP07Y.d.ts} +14 -42
  15. package/dist/{Tabs-3Zc4tb9D.d.ts → Tabs-9zddXDQo.d.ts} +5 -19
  16. package/dist/{ThinkChat-CzC-zNGA.js → ThinkChat-DInElus-.js} +53 -26
  17. package/dist/{ThinkChatActivity-BFQnb2ct.d.ts → ThinkChatActivity-BgesTfZ4.d.ts} +12 -4
  18. package/dist/{ThinkChatContext-C3Eb1Xpi.d.ts → ThinkChatContext-DrsZqdaO.d.ts} +1 -1
  19. package/dist/ThinkRecoveryNotice-DFIcG9UX.d.ts +19 -0
  20. package/dist/{Toggle-CAAlNl-M.d.ts → Toggle-DaXpe1Lc.d.ts} +1 -1
  21. package/dist/{ToggleGroup-8hPv-b69.d.ts → ToggleGroup-yseEWkOC.d.ts} +3 -4
  22. package/dist/{Workspace-D39LxGvP.d.ts → Workspace-C9RFoxcu.d.ts} +1 -1
  23. package/dist/WorkspaceExplorer-sZewzT2O.d.ts +32 -0
  24. package/dist/{WorkspaceFile-DOZkPwzu.d.ts → WorkspaceFile-C8UzuSH4.d.ts} +1 -1
  25. package/dist/{WorkspaceFileView-rSN_yT0L.js → WorkspaceFileView-DNdGAEiX.js} +5 -5
  26. package/dist/{WorkspaceLink-DIPbXrUM.js → WorkspaceLink-B1ykV1dS.js} +15 -29
  27. package/dist/class-names-Bk-QLWWI.js +11 -0
  28. package/dist/components/Accordion.d.ts +5 -15
  29. package/dist/components/Accordion.js +11 -10
  30. package/dist/components/Activity.d.ts +5 -10
  31. package/dist/components/Activity.js +2 -2
  32. package/dist/components/AgentActivity.js +1 -1
  33. package/dist/components/AgentActivityPreview.js +2 -2
  34. package/dist/components/AgentAttention.d.ts +1 -1
  35. package/dist/components/AgentAttention.js +1 -1
  36. package/dist/components/AgentChat.d.ts +2 -2
  37. package/dist/components/AgentChat.js +27 -164
  38. package/dist/components/AgentChatMessageEditor.js +1 -1
  39. package/dist/components/AgentConnection.js +4 -4
  40. package/dist/components/AgentMessageParts.d.ts +2 -0
  41. package/dist/components/AgentMessageParts.js +119 -0
  42. package/dist/components/AgentToolDetail.d.ts +55 -0
  43. package/dist/components/AgentToolDetail.js +98 -0
  44. package/dist/components/AgentToolRunsContext.d.ts +2 -0
  45. package/dist/components/AgentToolRunsContext.js +16 -0
  46. package/dist/components/AlertDialog.d.ts +7 -19
  47. package/dist/components/AlertDialog.js +21 -32
  48. package/dist/components/AppTopBar.d.ts +4 -1
  49. package/dist/components/AppTopBar.js +5 -5
  50. package/dist/components/Approval.d.ts +102 -0
  51. package/dist/components/Approval.js +227 -0
  52. package/dist/components/Artifact.d.ts +2 -4
  53. package/dist/components/Artifact.js +3 -3
  54. package/dist/components/Autocomplete.d.ts +11 -33
  55. package/dist/components/Autocomplete.js +23 -30
  56. package/dist/components/Avatar.d.ts +3 -11
  57. package/dist/components/Avatar.js +13 -12
  58. package/dist/components/BrowserLiveView.js +2 -2
  59. package/dist/components/BrowserReplay.js +2 -2
  60. package/dist/components/BrowserRunPanel.js +58 -78
  61. package/dist/components/Button.js +4 -9
  62. package/dist/components/ChainOfThought.d.ts +5 -11
  63. package/dist/components/ChainOfThought.js +3 -2
  64. package/dist/components/ChatGptSignInScreen.js +3 -3
  65. package/dist/components/Checkbox.d.ts +2 -4
  66. package/dist/components/Checkbox.js +6 -5
  67. package/dist/components/CheckboxGroup.d.ts +1 -3
  68. package/dist/components/CheckboxGroup.js +15 -14
  69. package/dist/components/Checkpoint.d.ts +64 -0
  70. package/dist/components/Checkpoint.js +63 -0
  71. package/dist/components/CodeBlock.d.ts +1 -1
  72. package/dist/components/CodeBlock.js +1 -1
  73. package/dist/components/CodexModelSelector.d.ts +1 -1
  74. package/dist/components/CodexModelSelector.js +2 -2
  75. package/dist/components/Collapsible.d.ts +1 -124
  76. package/dist/components/Collapsible.js +7 -10
  77. package/dist/components/Combobox.d.ts +1 -1
  78. package/dist/components/Combobox.js +23 -30
  79. package/dist/components/Commit.d.ts +5 -11
  80. package/dist/components/Commit.js +6 -5
  81. package/dist/components/Context.js +1 -1
  82. package/dist/components/ContextMenu.d.ts +21 -37
  83. package/dist/components/ContextMenu.js +34 -51
  84. package/dist/components/Conversation.d.ts +2 -4
  85. package/dist/components/Conversation.js +2 -2
  86. package/dist/components/DescriptionListParts.js +1 -1
  87. package/dist/components/Dialog.d.ts +6 -17
  88. package/dist/components/Dialog.js +17 -24
  89. package/dist/components/EnvironmentVariables.d.ts +1 -1
  90. package/dist/components/EnvironmentVariables.js +4 -3
  91. package/dist/components/Field.d.ts +17 -20
  92. package/dist/components/Field.js +16 -16
  93. package/dist/components/Fieldset.d.ts +2 -7
  94. package/dist/components/Fieldset.js +7 -6
  95. package/dist/components/FileTree.js +1 -1
  96. package/dist/components/Form.d.ts +1 -4
  97. package/dist/components/Form.js +3 -2
  98. package/dist/components/GithubMotionMark.js +1 -1
  99. package/dist/components/InlineCitation.d.ts +66 -0
  100. package/dist/components/InlineCitation.js +142 -0
  101. package/dist/components/Input.d.ts +1 -4
  102. package/dist/components/Input.js +3 -2
  103. package/dist/components/Marker.js +1 -1
  104. package/dist/components/McpConnectionRequest.js +2 -2
  105. package/dist/components/McpServerPicker.d.ts +1 -1
  106. package/dist/components/McpServerPicker.js +6 -5
  107. package/dist/components/Menu.d.ts +1 -1
  108. package/dist/components/Menu.js +33 -52
  109. package/dist/components/Menubar.d.ts +22 -43
  110. package/dist/components/Menubar.js +36 -53
  111. package/dist/components/Message.d.ts +3 -6
  112. package/dist/components/Message.js +1 -1
  113. package/dist/components/MessageScroller.d.ts +1 -1
  114. package/dist/components/MessageScroller.js +3 -3
  115. package/dist/components/Meter.d.ts +5 -20
  116. package/dist/components/Meter.js +11 -10
  117. package/dist/components/ModelSelector.d.ts +2 -6
  118. package/dist/components/ModelSelector.js +1 -1
  119. package/dist/components/NavigationMenu.d.ts +11 -33
  120. package/dist/components/NavigationMenu.js +23 -30
  121. package/dist/components/NumberField.d.ts +6 -24
  122. package/dist/components/NumberField.js +13 -12
  123. package/dist/components/Plan.d.ts +103 -0
  124. package/dist/components/Plan.js +113 -0
  125. package/dist/components/Popover.d.ts +9 -36
  126. package/dist/components/Popover.js +23 -34
  127. package/dist/components/PreviewCard.d.ts +6 -24
  128. package/dist/components/PreviewCard.js +13 -24
  129. package/dist/components/PricingBillingToggle.js +1 -1
  130. package/dist/components/PricingFAQ.js +1 -1
  131. package/dist/components/PricingPlanCard.js +3 -3
  132. package/dist/components/PricingUsageCalculator.js +2 -2
  133. package/dist/components/Progress.d.ts +3 -8
  134. package/dist/components/Progress.js +7 -10
  135. package/dist/components/PromptInput.d.ts +2 -2
  136. package/dist/components/PromptInput.js +52 -200
  137. package/dist/components/Queue.d.ts +6 -16
  138. package/dist/components/Queue.js +2 -2
  139. package/dist/components/RadioGroup.d.ts +3 -8
  140. package/dist/components/RadioGroup.js +7 -10
  141. package/dist/components/Reasoning.d.ts +4 -8
  142. package/dist/components/Reasoning.js +3 -3
  143. package/dist/components/ResizableSidePanel.js +2 -2
  144. package/dist/components/ResponsiveSidebarShell.d.ts +1 -1
  145. package/dist/components/ResponsiveSidebarShell.js +4 -3
  146. package/dist/components/ScrollArea.d.ts +5 -20
  147. package/dist/components/ScrollArea.js +11 -10
  148. package/dist/components/Select.d.ts +1 -1
  149. package/dist/components/Select.js +32 -55
  150. package/dist/components/Separator.d.ts +1 -5
  151. package/dist/components/Separator.js +3 -6
  152. package/dist/components/Slider.d.ts +6 -19
  153. package/dist/components/Slider.js +15 -14
  154. package/dist/components/Sources.d.ts +4 -9
  155. package/dist/components/Sources.js +3 -2
  156. package/dist/components/Stepper.js +2 -2
  157. package/dist/components/SubagentRunDetails.js +1 -1
  158. package/dist/components/SubagentRunIndicator.js +2 -2
  159. package/dist/components/SubagentRunList.js +1 -2
  160. package/dist/components/SubagentRunSelector.d.ts +2 -11
  161. package/dist/components/SubagentRunSelector.js +16 -15
  162. package/dist/components/Switch.d.ts +2 -5
  163. package/dist/components/Switch.js +5 -8
  164. package/dist/components/Tabs.d.ts +2 -2
  165. package/dist/components/Tabs.js +10 -16
  166. package/dist/components/Task.d.ts +4 -9
  167. package/dist/components/Task.js +4 -3
  168. package/dist/components/Terminal.d.ts +2 -3
  169. package/dist/components/Terminal.js +3 -3
  170. package/dist/components/TestResults.d.ts +4 -9
  171. package/dist/components/TestResults.js +3 -2
  172. package/dist/components/Textarea.js +1 -1
  173. package/dist/components/ThemeModeControl.js +1 -1
  174. package/dist/components/ThinkChat.d.ts +21 -11
  175. package/dist/components/ThinkChat.js +5 -3
  176. package/dist/components/ThinkChatActivity.d.ts +1 -1
  177. package/dist/components/ThinkChatActivity.js +26 -7
  178. package/dist/components/ThinkChatContext.d.ts +1 -1
  179. package/dist/components/ThinkChatToolPanels.js +2 -2
  180. package/dist/components/ThinkExecutionDetail.js +2 -2
  181. package/dist/components/ThinkExecutionStatus.js +2 -2
  182. package/dist/components/ThinkExecutionWorkbench.js +2 -2
  183. package/dist/components/ThinkFullApp.d.ts +33 -9
  184. package/dist/components/ThinkFullApp.js +118 -64
  185. package/dist/components/ThinkFullAppViewSwitch.d.ts +1 -1
  186. package/dist/components/ThinkFullAppViewSwitch.js +2 -2
  187. package/dist/components/ThinkPendingApproval.d.ts +60 -0
  188. package/dist/components/ThinkPendingApproval.js +99 -0
  189. package/dist/components/ThinkRecoveryNotice.d.ts +2 -0
  190. package/dist/components/ThinkRecoveryNotice.js +40 -0
  191. package/dist/components/ThinkRoutine.js +1 -0
  192. package/dist/components/ThinkRoutineBrowser.js +6 -6
  193. package/dist/components/ThinkRoutineDetail.js +1 -1
  194. package/dist/components/ThinkRoutineForm.js +2 -2
  195. package/dist/components/ThinkRoutineLibrary.d.ts +9 -0
  196. package/dist/components/ThinkRoutineLibrary.js +67 -20
  197. package/dist/components/ThinkRoutineRuns.js +1 -1
  198. package/dist/components/ThinkThreadPicker.js +2 -2
  199. package/dist/components/ThinkThreadShell.d.ts +1 -1
  200. package/dist/components/Toast.d.ts +7 -28
  201. package/dist/components/Toast.js +15 -14
  202. package/dist/components/Toggle.d.ts +1 -1
  203. package/dist/components/Toggle.js +5 -5
  204. package/dist/components/ToggleGroup.d.ts +1 -1
  205. package/dist/components/ToggleGroup.js +8 -15
  206. package/dist/components/ToolApproval.d.ts +28 -0
  207. package/dist/components/ToolApproval.js +35 -0
  208. package/dist/components/ToolInvocation.d.ts +26 -0
  209. package/dist/components/ToolInvocation.js +72 -0
  210. package/dist/components/Toolbar.d.ts +6 -24
  211. package/dist/components/Toolbar.js +13 -12
  212. package/dist/components/Tooltip.d.ts +3 -9
  213. package/dist/components/Tooltip.js +7 -10
  214. package/dist/components/WebPreview.d.ts +1 -2
  215. package/dist/components/WebPreview.js +4 -3
  216. package/dist/components/Workspace.d.ts +1 -1
  217. package/dist/components/Workspace.js +5 -20
  218. package/dist/components/WorkspaceBrowser.d.ts +1 -1
  219. package/dist/components/WorkspaceBrowser.js +3 -3
  220. package/dist/components/WorkspaceExplorer.d.ts +3 -31
  221. package/dist/components/WorkspaceExplorer.js +3 -3
  222. package/dist/components/WorkspaceFile.d.ts +1 -1
  223. package/dist/components/WorkspaceFileView.d.ts +1 -1
  224. package/dist/components/WorkspaceFileView.js +1 -1
  225. package/dist/components/WorkspaceHeader.js +1 -1
  226. package/dist/components/WorkspaceLink.js +1 -1
  227. package/dist/components/icons.d.ts +2 -2
  228. package/dist/components/icons.js +2 -2
  229. package/dist/{copy-button-DtPMgN7e.d.ts → copy-button-CQx3LQAC.d.ts} +1 -2
  230. package/dist/{copy-button-Dejn5heL.js → copy-button-cYsJBauI.js} +1 -1
  231. package/dist/{icons-CpfUer49.js → icons--FqCZEc3.js} +3 -2
  232. package/dist/{icons-GQd1xF4e.d.ts → icons-DpUqY8Mp.d.ts} +6 -1
  233. package/dist/styles/agent-activity-preview.css +13 -11
  234. package/dist/styles/agent-attention.css +19 -13
  235. package/dist/styles/agent-chat.css +0 -41
  236. package/dist/styles/agent-connection.css +9 -21
  237. package/dist/styles/agent-tool-detail.css +54 -0
  238. package/dist/styles/alert-dialog.css +11 -11
  239. package/dist/styles/app-top-bar.css +9 -7
  240. package/dist/styles/approval.css +172 -0
  241. package/dist/styles/artifact.css +0 -12
  242. package/dist/styles/browser-run-panel.css +5 -2
  243. package/dist/styles/card.css +8 -8
  244. package/dist/styles/chain-of-thought.css +5 -13
  245. package/dist/styles/checkpoint.css +58 -0
  246. package/dist/styles/codex-model-selector.css +3 -3
  247. package/dist/styles/combobox.css +3 -2
  248. package/dist/styles/commit.css +0 -21
  249. package/dist/styles/context-menu.css +1 -9
  250. package/dist/styles/dialog.css +11 -11
  251. package/dist/styles/environment-variables.css +0 -13
  252. package/dist/styles/field.css +14 -14
  253. package/dist/styles/fieldset.css +5 -5
  254. package/dist/styles/file-tree.css +0 -16
  255. package/dist/styles/index.css +8 -4
  256. package/dist/styles/inline-citation.css +107 -0
  257. package/dist/styles/mcp-connection-request.css +3 -3
  258. package/dist/styles/mcp-server-picker.css +1 -30
  259. package/dist/styles/menu.css +1 -30
  260. package/dist/styles/menubar.css +0 -8
  261. package/dist/styles/message-scroller.css +0 -12
  262. package/dist/styles/message.css +0 -12
  263. package/dist/styles/model-selector.css +18 -32
  264. package/dist/styles/plan.css +127 -0
  265. package/dist/styles/popover.css +7 -43
  266. package/dist/styles/preview-card.css +1 -1
  267. package/dist/styles/prompt-input.css +2 -195
  268. package/dist/styles/recipes.css +139 -12
  269. package/dist/styles/responsive-sidebar-shell.css +16 -19
  270. package/dist/styles/select.css +3 -3
  271. package/dist/styles/sources.css +6 -14
  272. package/dist/styles/subagent-run.css +12 -70
  273. package/dist/styles/task.css +17 -26
  274. package/dist/styles/test-results.css +17 -23
  275. package/dist/styles/textarea.css +1 -1
  276. package/dist/styles/think-execution-workbench.css +9 -9
  277. package/dist/styles/think-full-app.css +49 -33
  278. package/dist/styles/think-routine-library.css +30 -38
  279. package/dist/styles/think-thread-picker.css +15 -0
  280. package/dist/styles/toast.css +4 -11
  281. package/dist/styles/tooltip.css +1 -1
  282. package/dist/styles/utilities.css +31 -0
  283. package/dist/styles/web-preview.css +0 -21
  284. package/dist/styles/workspace-explorer.css +20 -65
  285. package/dist/think-agent-Cip5KAPj.d.ts +7 -0
  286. package/dist/utils/codex-model-catalog.d.ts +4 -4
  287. package/dist/utils/structured-code.d.ts +1 -1
  288. package/dist/workspace-path-L_KmjRjq.js +26 -0
  289. package/package.json +3 -4
  290. package/dist/class-names-9UtZwb0J.js +0 -12
  291. package/dist/components/AppFrame.d.ts +0 -24
  292. package/dist/components/AppFrame.js +0 -25
  293. package/dist/components/Shell.d.ts +0 -163
  294. package/dist/components/Shell.js +0 -137
  295. package/dist/components/SubagentRun.d.ts +0 -86
  296. package/dist/components/SubagentRun.js +0 -108
  297. package/dist/styles/app-frame.css +0 -15
  298. package/dist/styles/shell.css +0 -122
@@ -1,5 +1,10 @@
1
1
  .think-full-app {
2
+ --think-full-app-header-block-size: calc(
3
+ var(--sigvelo-control-height-xs) + var(--sigvelo-spacing-2) + env(safe-area-inset-top, 0px)
4
+ );
5
+
2
6
  position: relative;
7
+ container: think-full-app / inline-size;
3
8
  block-size: 100%;
4
9
  min-block-size: 32rem;
5
10
  min-inline-size: 0;
@@ -13,7 +18,16 @@
13
18
  }
14
19
 
15
20
  .think-full-app[data-has-workbench-topbar="true"] {
16
- grid-template-rows: calc(2.75rem + env(safe-area-inset-top, 0px)) minmax(0, 1fr);
21
+ grid-template-rows: var(--think-full-app-header-block-size) minmax(0, 1fr);
22
+ }
23
+
24
+ .think-full-app[data-has-compact-app-bar="true"] {
25
+ grid-template-rows: var(--think-full-app-header-block-size) minmax(0, 1fr);
26
+ }
27
+
28
+ .think-full-app[data-has-compact-app-bar="true"] > .think-full-app__chat-surface,
29
+ .think-full-app[data-has-compact-app-bar="true"] > .think-full-app__aside {
30
+ grid-row: 1 / -1;
17
31
  }
18
32
 
19
33
  .think-full-app[data-has-workbench="false"] {
@@ -45,6 +59,10 @@
45
59
  z-index: 20;
46
60
  }
47
61
 
62
+ .think-full-app > .think-full-app__app-bar[data-compact-only="true"] {
63
+ display: none;
64
+ }
65
+
48
66
  .think-full-app__chat-surface {
49
67
  grid-column: 1;
50
68
  grid-row: 1;
@@ -72,28 +90,6 @@
72
90
  grid-template-rows: minmax(0, 1fr) auto;
73
91
  }
74
92
 
75
- .think-full-app__error {
76
- inline-size: min(100%, var(--agent-chat-content-max-inline-size));
77
- margin: 0 auto var(--sigvelo-spacing-1-5);
78
- padding: 0.4375rem var(--sigvelo-spacing-2-5);
79
- border: var(--sigvelo-border-style) var(--sigvelo-border-width)
80
- var(--sigvelo-color-danger-border-subtle);
81
- border-radius: var(--sigvelo-radius-sm);
82
- background: var(--sigvelo-color-danger-bg-subtle);
83
- color: var(--sigvelo-color-danger-text);
84
- font-size: var(--sigvelo-text-xs);
85
- }
86
-
87
- .think-full-app__error-dismiss {
88
- margin-inline-start: 0.5rem;
89
- min-height: auto;
90
- padding: 0;
91
- color: inherit;
92
- font-size: inherit;
93
- font-weight: inherit;
94
- text-decoration: underline;
95
- }
96
-
97
93
  .think-full-app__aside {
98
94
  grid-column: 2;
99
95
  grid-row: 1;
@@ -121,7 +117,7 @@
121
117
  }
122
118
 
123
119
  .think-full-app[data-has-workbench-topbar="true"] .think-full-app__resizer {
124
- inset-block-start: 2.75rem;
120
+ inset-block-start: var(--think-full-app-header-block-size);
125
121
  }
126
122
 
127
123
  .think-full-app__workbench-slot,
@@ -143,6 +139,16 @@
143
139
  );
144
140
  }
145
141
 
142
+ .think-full-app__workbench.workspace-explorer {
143
+ border: 0;
144
+ border-radius: 0;
145
+ box-shadow: none;
146
+ }
147
+
148
+ .think-full-app__embedded-view-switch {
149
+ flex: 0 0 auto;
150
+ }
151
+
146
152
  .think-full-app__workbench-view-switch {
147
153
  margin-inline-start: auto;
148
154
  }
@@ -151,18 +157,16 @@
151
157
  padding: 0;
152
158
  }
153
159
 
154
- @media (width <= 56rem) {
155
- .think-full-app {
156
- min-block-size: 0;
157
- grid-template-columns: minmax(0, 1fr);
158
- grid-template-rows: minmax(0, 1fr);
160
+ @container think-full-app (inline-size <= 56rem) {
161
+ .think-full-app > .think-full-app__app-bar[data-compact-only="true"] {
162
+ display: grid;
159
163
  }
160
164
 
161
- .think-full-app[data-has-workbench-topbar="true"] {
162
- grid-template-rows: calc(2.75rem + env(safe-area-inset-top, 0px)) minmax(0, 1fr);
165
+ .think-full-app__workbench-view-switch {
166
+ display: none;
163
167
  }
164
168
 
165
- .think-full-app__workbench-view-switch {
169
+ .think-full-app__embedded-view-switch {
166
170
  display: none;
167
171
  }
168
172
 
@@ -210,7 +214,7 @@
210
214
  .think-full-app__chat-surface,
211
215
  .think-full-app__workbench-slot,
212
216
  .think-full-app__workbench {
213
- grid-column: 1;
217
+ grid-column: 1 / -1;
214
218
  grid-row: 1;
215
219
  min-block-size: 0;
216
220
  display: none;
@@ -229,6 +233,13 @@
229
233
  grid-row: 2;
230
234
  }
231
235
 
236
+ .think-full-app[data-has-compact-app-bar="true"][data-mobile-view="workbench"]
237
+ .think-full-app__workbench-slot,
238
+ .think-full-app[data-has-compact-app-bar="true"][data-mobile-view="workbench"]
239
+ .think-full-app__workbench {
240
+ grid-row: 2;
241
+ }
242
+
232
243
  .think-full-app__aside {
233
244
  display: contents;
234
245
  border-inline-start: 0;
@@ -242,6 +253,11 @@
242
253
  display: grid;
243
254
  }
244
255
 
256
+ .think-full-app[data-has-compact-app-bar="true"][data-mobile-view="chat"]
257
+ .think-full-app__chat-surface {
258
+ grid-row: 2;
259
+ }
260
+
245
261
  .think-full-app__chat,
246
262
  .think-full-app__chat-inner {
247
263
  --agent-chat-content-max-inline-size: 34rem;
@@ -55,19 +55,6 @@
55
55
  text-transform: uppercase;
56
56
  }
57
57
 
58
- .think-routine-library__status,
59
- .think-routine-library__title {
60
- position: absolute;
61
- inline-size: 1px;
62
- block-size: 1px;
63
- margin: -1px;
64
- padding: 0;
65
- overflow: hidden;
66
- border: 0;
67
- clip-path: inset(50%);
68
- white-space: nowrap;
69
- }
70
-
71
58
  .think-routine-library__layout {
72
59
  grid-row: 1 / -1;
73
60
  min-block-size: 0;
@@ -78,7 +65,7 @@
78
65
  min-inline-size: 0;
79
66
  min-block-size: 0;
80
67
  overflow: auto;
81
- padding: var(--sigvelo-spacing-4) var(--sigvelo-spacing-3);
68
+ padding: var(--sigvelo-spacing-3) var(--sigvelo-spacing-2);
82
69
  border-inline-end: var(--sigvelo-border-style) var(--sigvelo-border-width)
83
70
  var(--sigvelo-color-neutral-border-subtle);
84
71
  background: color-mix(
@@ -93,18 +80,14 @@
93
80
  align-items: center;
94
81
  justify-content: space-between;
95
82
  gap: var(--sigvelo-spacing-2);
96
- margin-block-end: var(--sigvelo-spacing-4);
83
+ margin-block-end: var(--sigvelo-spacing-2);
97
84
  }
98
85
 
99
- .think-routine-library__layout
100
- .responsive-sidebar-shell__frame[data-sidebar-open="true"]
101
- .think-routine-library__browser-toolbar {
86
+ .think-routine-library__layout[data-sidebar-open="true"] .think-routine-library__browser-toolbar {
102
87
  padding-inline-start: var(--sigvelo-spacing-12);
103
88
  }
104
89
 
105
- .think-routine-library__layout
106
- .responsive-sidebar-shell__frame[data-sidebar-open="false"]
107
- .think-routine-library__detail {
90
+ .think-routine-library__layout[data-sidebar-open="false"] .think-routine-library__detail {
108
91
  padding-block-start: clamp(3.75rem, 6vw, 4.5rem);
109
92
  }
110
93
 
@@ -112,10 +95,14 @@
112
95
  inline-size: fit-content;
113
96
  }
114
97
 
98
+ .think-routine-library__filters .toggle-group__item {
99
+ color: color-mix(in oklab, var(--sigvelo-color-text-muted), var(--sigvelo-color-text) 12%);
100
+ }
101
+
115
102
  .think-routine-library__search {
116
103
  display: grid;
117
104
  gap: var(--sigvelo-spacing-1-5);
118
- margin-block-end: var(--sigvelo-spacing-4);
105
+ margin-block-end: var(--sigvelo-spacing-2);
119
106
  }
120
107
 
121
108
  .think-routine-library__search > div {
@@ -156,12 +143,12 @@
156
143
 
157
144
  .think-routine-browser__routine {
158
145
  inline-size: 100%;
159
- min-block-size: 5.75rem;
146
+ min-block-size: 3.5rem;
160
147
  display: grid;
161
148
  grid-template-columns: auto minmax(0, 1fr);
162
149
  align-items: center;
163
- gap: var(--sigvelo-spacing-2-5);
164
- padding: var(--sigvelo-spacing-3);
150
+ gap: var(--sigvelo-spacing-2);
151
+ padding: var(--sigvelo-spacing-2);
165
152
  border-radius: inherit;
166
153
  text-align: start;
167
154
  }
@@ -198,7 +185,7 @@
198
185
 
199
186
  .think-routine-library__routine-copy span,
200
187
  .think-routine-library__routine-copy small {
201
- color: var(--sigvelo-color-text-muted);
188
+ color: color-mix(in oklab, var(--sigvelo-color-text-muted), var(--sigvelo-color-text) 12%);
202
189
  font-size: var(--sigvelo-text-xs);
203
190
  }
204
191
 
@@ -211,7 +198,7 @@
211
198
  .think-routine-library__detail {
212
199
  inline-size: min(100%, 64rem);
213
200
  margin-inline: auto;
214
- padding: clamp(1.5rem, 4vw, 3.5rem);
201
+ padding: clamp(1rem, 3vw, 2rem);
215
202
  }
216
203
 
217
204
  .think-routine-library__detail-header,
@@ -223,7 +210,7 @@
223
210
 
224
211
  .think-routine-library__detail-header {
225
212
  justify-content: space-between;
226
- padding-block-end: clamp(2rem, 5vw, 4rem);
213
+ padding-block-end: clamp(1rem, 3vw, 2rem);
227
214
  }
228
215
 
229
216
  .think-routine-library__detail-heading {
@@ -236,7 +223,7 @@
236
223
 
237
224
  .think-routine-library__detail-header h1,
238
225
  .think-routine-library__create-header h1 {
239
- font-size: clamp(1.5rem, 3vw, 2.125rem);
226
+ font-size: clamp(1.125rem, 2.5vw, 1.5rem);
240
227
  line-height: 1.12;
241
228
  }
242
229
 
@@ -251,8 +238,8 @@
251
238
  .think-routine-library__detail-grid {
252
239
  display: grid;
253
240
  grid-template-columns: minmax(0, 1.35fr) minmax(15rem, 0.65fr);
254
- gap: clamp(2rem, 6vw, 5rem);
255
- padding-block-end: clamp(2.5rem, 6vw, 5rem);
241
+ gap: clamp(1rem, 3vw, 2rem);
242
+ padding-block-end: clamp(1rem, 3vw, 2rem);
256
243
  }
257
244
 
258
245
  .think-routine-library__section-heading {
@@ -320,7 +307,7 @@
320
307
  }
321
308
 
322
309
  .think-routine-library__runs {
323
- padding-block-end: clamp(2.5rem, 6vw, 5rem);
310
+ padding-block-end: clamp(1rem, 3vw, 2rem);
324
311
  }
325
312
 
326
313
  .think-routine-library__run-list {
@@ -387,7 +374,7 @@
387
374
  }
388
375
 
389
376
  .think-routine-library__empty-list {
390
- padding: var(--sigvelo-spacing-6) var(--sigvelo-spacing-3);
377
+ padding: var(--sigvelo-spacing-4) var(--sigvelo-spacing-3);
391
378
  }
392
379
 
393
380
  .think-routine-library__empty-list p,
@@ -400,19 +387,24 @@
400
387
  min-block-size: 100%;
401
388
  display: grid;
402
389
  place-content: center;
403
- padding: var(--sigvelo-spacing-6);
390
+ padding: var(--sigvelo-spacing-4);
404
391
  }
405
392
 
406
393
  .think-routine-library__empty-detail h1 {
407
394
  margin: 0;
408
395
  color: var(--sigvelo-color-text);
409
- font-size: var(--sigvelo-text-xl);
396
+ font-size: var(--sigvelo-text-lg);
397
+ }
398
+
399
+ .think-routine-library__empty-action {
400
+ justify-self: center;
401
+ margin-block-start: var(--sigvelo-spacing-4);
410
402
  }
411
403
 
412
404
  .think-routine-library__create {
413
405
  min-block-size: 0;
414
406
  overflow: auto;
415
- padding: clamp(1.5rem, 5vw, 4rem);
407
+ padding: clamp(1rem, 3vw, 2rem);
416
408
  }
417
409
 
418
410
  .think-routine-library__create-header,
@@ -422,7 +414,7 @@
422
414
  }
423
415
 
424
416
  .think-routine-library__create-header {
425
- margin-block-end: clamp(2rem, 5vw, 3.5rem);
417
+ margin-block-end: clamp(1rem, 3vw, 2rem);
426
418
  }
427
419
 
428
420
  .think-routine-library__create-header > div {
@@ -431,7 +423,7 @@
431
423
 
432
424
  .think-routine-library__form {
433
425
  display: grid;
434
- gap: var(--sigvelo-spacing-6);
426
+ gap: var(--sigvelo-spacing-3);
435
427
  }
436
428
 
437
429
  .think-routine-library__form-row {
@@ -238,6 +238,21 @@
238
238
  }
239
239
  }
240
240
 
241
+ @container responsive-sidebar-shell (inline-size <= 56rem) {
242
+ .think-thread-picker {
243
+ block-size: auto;
244
+ max-block-size: inherit;
245
+ grid-template-rows: auto auto auto;
246
+ }
247
+
248
+ .think-thread-picker__nav,
249
+ .think-thread-picker__scroll,
250
+ .think-thread-picker__viewport {
251
+ block-size: auto;
252
+ max-block-size: 20rem;
253
+ }
254
+ }
255
+
241
256
  @media (prefers-reduced-motion: reduce) {
242
257
  .think-thread-status-indicators__item[data-status="running"] svg,
243
258
  .think-thread-picker__thread[data-status="pending"] .think-thread-picker__thread-status svg,
@@ -12,7 +12,7 @@
12
12
  }
13
13
 
14
14
  .toast {
15
- --sigvelo-recipe-surface-padding: var(--sigvelo-spacing-4);
15
+ --sigvelo-recipe-surface-padding: var(--sigvelo-spacing-3);
16
16
 
17
17
  display: flex;
18
18
  flex-direction: column;
@@ -54,26 +54,19 @@
54
54
 
55
55
  .toast__title {
56
56
  margin: 0;
57
- font-size: var(--sigvelo-text-sm);
58
- font-weight: var(--sigvelo-font-weight-bold);
57
+ font-size: var(--sigvelo-text-compact);
58
+ font-weight: var(--sigvelo-font-weight-semibold);
59
59
  line-height: 1.25;
60
60
  color: var(--sigvelo-color-text);
61
61
  }
62
62
 
63
- .toast__description {
64
- margin: 0;
65
- font-size: var(--sigvelo-text-sm);
66
- line-height: 1.5;
67
- color: var(--sigvelo-color-text-muted);
68
- }
69
-
70
63
  .toast__action {
71
64
  display: inline-flex;
72
65
  align-items: center;
73
66
  justify-content: center;
74
67
  padding-block: var(--sigvelo-spacing-1-5);
75
68
  padding-inline: var(--sigvelo-spacing-3);
76
- margin-block-start: var(--sigvelo-spacing-3);
69
+ margin-block-start: var(--sigvelo-spacing-2);
77
70
  font-family: inherit;
78
71
  font-size: var(--sigvelo-text-xs);
79
72
  font-weight: var(--sigvelo-font-weight-semibold);
@@ -1,5 +1,5 @@
1
1
  .tooltip__popup {
2
- --sigvelo-recipe-surface-padding: 0.375rem 0.75rem;
2
+ --sigvelo-recipe-surface-padding: var(--sigvelo-spacing-1) var(--sigvelo-spacing-2);
3
3
  --sigvelo-recipe-surface-shadow: var(--sigvelo-shadow-sm);
4
4
 
5
5
  z-index: 50;
@@ -0,0 +1,31 @@
1
+ /*
2
+ * Small, intentional composition helpers. Utilities describe one reusable
3
+ * behavior and must not carry component anatomy or product-specific visuals.
4
+ */
5
+ .sigvelo-visually-hidden {
6
+ position: absolute;
7
+ inline-size: 1px;
8
+ block-size: 1px;
9
+ margin: -1px;
10
+ padding: 0;
11
+ overflow: hidden;
12
+ border: 0;
13
+ clip-path: inset(50%);
14
+ white-space: nowrap;
15
+ }
16
+
17
+ .sigvelo-stack-list {
18
+ display: flex;
19
+ flex-direction: column;
20
+ margin: 0;
21
+ padding: 0;
22
+ list-style: none;
23
+ }
24
+
25
+ .sigvelo-truncate {
26
+ min-inline-size: 0;
27
+ flex: 1;
28
+ overflow: hidden;
29
+ text-overflow: ellipsis;
30
+ white-space: nowrap;
31
+ }
@@ -1,16 +1,3 @@
1
- .web-preview {
2
- display: flex;
3
- flex-direction: column;
4
- width: 100%;
5
- font-family: inherit;
6
- color: var(--sigvelo-color-text);
7
- background-color: var(--sigvelo-color-surface);
8
- border: var(--sigvelo-border-style) var(--sigvelo-border-width)
9
- var(--sigvelo-color-neutral-border-subtle);
10
- border-radius: var(--sigvelo-radius-md);
11
- overflow: hidden;
12
- }
13
-
14
1
  .web-preview__nav {
15
2
  display: flex;
16
3
  align-items: center;
@@ -107,14 +94,6 @@
107
94
  overflow: auto;
108
95
  }
109
96
 
110
- .web-preview__console-list {
111
- display: flex;
112
- flex-direction: column;
113
- margin: 0;
114
- padding: 0;
115
- list-style: none;
116
- }
117
-
118
97
  .web-preview__console-empty {
119
98
  padding-block: var(--sigvelo-spacing-3);
120
99
  padding-inline: var(--sigvelo-spacing-3);
@@ -62,10 +62,11 @@
62
62
  text-overflow: ellipsis;
63
63
  }
64
64
 
65
- .workspace-explorer__body {
65
+ .workspace-explorer__body,
66
+ .workspace-explorer__file {
66
67
  display: flex;
67
68
  flex-direction: column;
68
- min-height: 0;
69
+ min-block-size: 0;
69
70
  flex: 1;
70
71
  overflow: auto;
71
72
  }
@@ -77,18 +78,6 @@
77
78
  margin-inline: var(--sigvelo-spacing-2);
78
79
  }
79
80
 
80
- .workspace-explorer__filter-label {
81
- position: absolute;
82
- inline-size: 1px;
83
- block-size: 1px;
84
- margin: -1px;
85
- padding: 0;
86
- overflow: hidden;
87
- border: 0;
88
- clip-path: inset(50%);
89
- white-space: nowrap;
90
- }
91
-
92
81
  .workspace-explorer__filter-control {
93
82
  position: relative;
94
83
  }
@@ -169,15 +158,6 @@
169
158
  text-align: center;
170
159
  }
171
160
 
172
- /* File preview fills the pane flush — no card-in-pane inset. */
173
- .workspace-explorer__file {
174
- display: flex;
175
- flex-direction: column;
176
- min-height: 0;
177
- flex: 1;
178
- overflow: auto;
179
- }
180
-
181
161
  .workspace-explorer__code {
182
162
  flex: 1;
183
163
  min-block-size: 100%;
@@ -233,18 +213,6 @@
233
213
  cursor: not-allowed;
234
214
  }
235
215
 
236
- .workspace-link__visually-hidden {
237
- position: absolute;
238
- inline-size: 1px;
239
- block-size: 1px;
240
- margin: -1px;
241
- padding: 0;
242
- overflow: hidden;
243
- border: 0;
244
- clip-path: inset(50%);
245
- white-space: nowrap;
246
- }
247
-
248
216
  .workspace-explorer__markdown-content
249
217
  :is(
250
218
  [data-streamdown="code-block"],
@@ -314,7 +282,8 @@
314
282
  color: var(--sigvelo-color-text-muted);
315
283
  }
316
284
 
317
- .workspace-explorer__skill-metadata dd {
285
+ .workspace-explorer__skill-metadata dd,
286
+ .workspace-explorer__media-details dd {
318
287
  min-inline-size: 0;
319
288
  margin: 0;
320
289
  overflow-wrap: anywhere;
@@ -466,13 +435,6 @@
466
435
  color: var(--sigvelo-color-text-muted);
467
436
  }
468
437
 
469
- .workspace-explorer__media-details dd {
470
- min-inline-size: 0;
471
- margin: 0;
472
- overflow-wrap: anywhere;
473
- font-family: var(--sigvelo-font-mono);
474
- }
475
-
476
438
  .workspace-explorer__media-transcript,
477
439
  .workspace-explorer__media-fallback a {
478
440
  color: var(--sigvelo-color-primary-text);
@@ -498,18 +460,6 @@
498
460
  display: none;
499
461
  }
500
462
 
501
- .workspace-explorer__visually-hidden {
502
- position: absolute;
503
- inline-size: 1px;
504
- block-size: 1px;
505
- margin: -1px;
506
- padding: 0;
507
- overflow: hidden;
508
- border: 0;
509
- clip-path: inset(50%);
510
- white-space: nowrap;
511
- }
512
-
513
463
  .workspace-media-lightbox {
514
464
  --yarl__color_backdrop: var(--sigvelo-color-surface);
515
465
  --yarl__color_button: var(--sigvelo-color-text-muted);
@@ -556,11 +506,7 @@
556
506
  }
557
507
  }
558
508
 
559
- @container (inline-size < 24rem) {
560
- .workspace-explorer__heading {
561
- max-inline-size: 34cqi;
562
- }
563
-
509
+ @container (inline-size < 30rem) {
564
510
  .workspace-explorer__filter {
565
511
  margin-inline: var(--sigvelo-spacing-1-5);
566
512
  }
@@ -570,6 +516,20 @@
570
516
  padding-inline: var(--sigvelo-spacing-4);
571
517
  }
572
518
 
519
+ .workspace-explorer__media-stage {
520
+ padding: var(--sigvelo-spacing-3);
521
+ }
522
+
523
+ .workspace-explorer__media-caption {
524
+ padding-inline: var(--sigvelo-spacing-3);
525
+ }
526
+ }
527
+
528
+ @container (inline-size < 24rem) {
529
+ .workspace-explorer__heading {
530
+ max-inline-size: 34cqi;
531
+ }
532
+
573
533
  .workspace-explorer__skill-metadata {
574
534
  grid-template-columns: 1fr;
575
535
  gap: 0;
@@ -579,13 +539,8 @@
579
539
  margin-block-start: var(--sigvelo-spacing-2);
580
540
  }
581
541
 
582
- .workspace-explorer__media-stage {
583
- padding: var(--sigvelo-spacing-3);
584
- }
585
-
586
542
  .workspace-explorer__media-caption {
587
543
  align-items: flex-start;
588
544
  flex-direction: column;
589
- padding-inline: var(--sigvelo-spacing-3);
590
545
  }
591
546
  }
@@ -0,0 +1,7 @@
1
+ import { Think } from "@cloudflare/think";
2
+
3
+ //#region src/components/_internal/think-agent.d.ts
4
+ /** Shared complete Think specialization for stateful React agent hooks. */
5
+ type ThinkAgent<State = unknown> = Think<object, State>;
6
+ //#endregion
7
+ export { ThinkAgent as t };
@@ -78,7 +78,7 @@ declare const CHECKED_IN_CODEX_MODELS: readonly [{
78
78
  readonly upgradeInfo: null;
79
79
  readonly availabilityNux: null;
80
80
  readonly hidden: boolean;
81
- readonly inputModalities: ("image" | "text")[];
81
+ readonly inputModalities: ("text" | "image")[];
82
82
  readonly supportsPersonality: boolean;
83
83
  readonly additionalSpeedTiers: never[];
84
84
  readonly serviceTiers: never[];
@@ -98,7 +98,7 @@ declare const CHECKED_IN_CODEX_MODELS: readonly [{
98
98
  readonly upgradeInfo: null;
99
99
  readonly availabilityNux: null;
100
100
  readonly hidden: boolean;
101
- readonly inputModalities: ("image" | "text")[];
101
+ readonly inputModalities: ("text" | "image")[];
102
102
  readonly supportsPersonality: boolean;
103
103
  readonly additionalSpeedTiers: never[];
104
104
  readonly serviceTiers: never[];
@@ -115,7 +115,7 @@ declare const CHECKED_IN_CODEX_MODELS: readonly [{
115
115
  readonly upgradeInfo: null;
116
116
  readonly availabilityNux: null;
117
117
  readonly hidden: boolean;
118
- readonly inputModalities: ("image" | "text")[];
118
+ readonly inputModalities: ("text" | "image")[];
119
119
  readonly supportsPersonality: boolean;
120
120
  readonly additionalSpeedTiers: never[];
121
121
  readonly serviceTiers: never[];
@@ -132,7 +132,7 @@ declare const CHECKED_IN_CODEX_MODELS: readonly [{
132
132
  readonly upgradeInfo: null;
133
133
  readonly availabilityNux: null;
134
134
  readonly hidden: boolean;
135
- readonly inputModalities: ("image" | "text")[];
135
+ readonly inputModalities: ("text" | "image")[];
136
136
  readonly supportsPersonality: boolean;
137
137
  readonly additionalSpeedTiers: never[];
138
138
  readonly serviceTiers: never[];
@@ -1,4 +1,4 @@
1
- import { A as CodeBlockLanguage } from "../CodeBlock-BRajW4QU.js";
1
+ import { A as CodeBlockLanguage } from "../CodeBlock-Dnpr88ZQ.js";
2
2
 
3
3
  //#region src/utils/structured-code.d.ts
4
4
  interface StructuredCodeDisplay {