@mcp-b/react-components 0.17.0 → 0.18.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 (292) hide show
  1. package/dist/{AgentActivity-BNUNrP9O.d.ts → AgentActivity-D2SHSGFX.d.ts} +1 -1
  2. package/dist/{AgentChat-CRuMi1Pb.d.ts → AgentChat-ClxViuUM.d.ts} +1 -20
  3. package/dist/{Button-FX_hpqxm.d.ts → Button-DLGzHsjc.d.ts} +13 -7
  4. package/dist/{CodeBlock-Co1noLbC.js → CodeBlock-Bfp5PAg3.js} +9 -6
  5. package/dist/{CodeBlock-Dnpr88ZQ.d.ts → CodeBlock-gV4kZeCI.d.ts} +2 -9
  6. package/dist/{FileTree-B7bBsUyU.js → FileTree-3zYtrddG.js} +42 -16
  7. package/dist/{Message-C4eYRogZ.js → Message-BXtmfc9Q.js} +13 -20
  8. package/dist/{ModelSelector-BNrZlY_Y.js → ModelSelector-Cqw_qrUG.js} +15 -22
  9. package/dist/{PromptInput-OLfXPuHM.d.ts → PromptInput-Bdh9pqlo.d.ts} +4 -6
  10. package/dist/{Select-CwSqP07Y.d.ts → Select-B_13gg_J.d.ts} +2 -2
  11. package/dist/{Tabs-9zddXDQo.d.ts → Tabs-ColWK-XA.d.ts} +10 -2
  12. package/dist/{ThinkChat-DInElus-.js → ThinkChat-15EhfvYJ.js} +84 -61
  13. package/dist/{ThinkChatActivity-BgesTfZ4.d.ts → ThinkChatActivity-Bzot45kX.d.ts} +4 -7
  14. package/dist/{ThinkChatActivitySummary-BPmu9a-c.d.ts → ThinkChatActivitySummary-D1xOrNrq.d.ts} +1 -1
  15. package/dist/{Toggle-DaXpe1Lc.d.ts → Toggle-JKZ43D5S.d.ts} +1 -1
  16. package/dist/{ToggleGroup-yseEWkOC.d.ts → ToggleGroup-DNd6cDJZ.d.ts} +2 -2
  17. package/dist/Workspace-Jez8ffUj.d.ts +274 -0
  18. package/dist/{WorkspaceExplorer-sZewzT2O.d.ts → WorkspaceExplorer-B9dQWNVK.d.ts} +2 -2
  19. package/dist/{WorkspaceFile-C8UzuSH4.d.ts → WorkspaceFile-CzyHnESE.d.ts} +1 -1
  20. package/dist/{WorkspaceFileView-DNdGAEiX.js → WorkspaceFileView-C68Ub8S8.js} +120 -127
  21. package/dist/{WorkspaceLink-B1ykV1dS.js → WorkspaceLink-BYYeTQLf.js} +6 -27
  22. package/dist/{WorkspaceLink-DK1DWMHe.d.ts → WorkspaceLink-O-EBKUJ8.d.ts} +6 -9
  23. package/dist/{class-names-Bk-QLWWI.js → class-names-BiMDVpUo.js} +4 -1
  24. package/dist/components/Accordion.js +7 -2
  25. package/dist/components/Activity.js +2 -2
  26. package/dist/components/AgentActivity.d.ts +1 -1
  27. package/dist/components/AgentActivity.js +4 -5
  28. package/dist/components/AgentActivityPreview.d.ts +9 -9
  29. package/dist/components/AgentActivityPreview.js +8 -12
  30. package/dist/components/AgentAttention.d.ts +1 -1
  31. package/dist/components/AgentAttention.js +1 -1
  32. package/dist/components/AgentChat.d.ts +1 -1
  33. package/dist/components/AgentChat.js +94 -62
  34. package/dist/components/AgentChatMessageEditor.js +2 -2
  35. package/dist/components/AgentChatTurnError.js +2 -2
  36. package/dist/components/AgentConnection.js +3 -3
  37. package/dist/components/AgentMessageParts.js +1 -1
  38. package/dist/components/AgentToolDetail.d.ts +6 -4
  39. package/dist/components/AgentToolDetail.js +12 -10
  40. package/dist/components/AlertDialog.js +1 -1
  41. package/dist/components/AppTopBar.d.ts +24 -7
  42. package/dist/components/AppTopBar.js +32 -8
  43. package/dist/components/Approval.js +4 -4
  44. package/dist/components/Artifact.d.ts +1 -1
  45. package/dist/components/Artifact.js +6 -4
  46. package/dist/components/Autocomplete.js +1 -1
  47. package/dist/components/Avatar.d.ts +1 -1
  48. package/dist/components/Avatar.js +2 -2
  49. package/dist/components/Badge.js +3 -0
  50. package/dist/components/BrowserLiveView.js +27 -12
  51. package/dist/components/BrowserReplay.js +4 -3
  52. package/dist/components/BrowserRunPanel.js +5 -5
  53. package/dist/components/Button.d.ts +1 -1
  54. package/dist/components/Button.js +14 -11
  55. package/dist/components/Card.d.ts +7 -8
  56. package/dist/components/Card.js +19 -10
  57. package/dist/components/ChainOfThought.d.ts +1 -1
  58. package/dist/components/ChainOfThought.js +2 -2
  59. package/dist/components/ChatGptSignInScreen.js +8 -8
  60. package/dist/components/Checkbox.js +2 -2
  61. package/dist/components/CheckboxGroup.js +1 -1
  62. package/dist/components/Checkpoint.js +2 -2
  63. package/dist/components/CodeBlock.d.ts +1 -1
  64. package/dist/components/CodeBlock.js +1 -1
  65. package/dist/components/CodexModelSelector.js +2 -2
  66. package/dist/components/Collapsible.js +2 -2
  67. package/dist/components/Combobox.js +1 -1
  68. package/dist/components/Commit.d.ts +1 -1
  69. package/dist/components/Commit.js +3 -3
  70. package/dist/components/Context.js +1 -1
  71. package/dist/components/ContextMenu.js +2 -2
  72. package/dist/components/Conversation.d.ts +1 -1
  73. package/dist/components/Conversation.js +5 -4
  74. package/dist/components/DescriptionListParts.js +1 -1
  75. package/dist/components/Dialog.js +1 -1
  76. package/dist/components/EnvironmentVariables.d.ts +1 -1
  77. package/dist/components/EnvironmentVariables.js +3 -3
  78. package/dist/components/Field.js +5 -2
  79. package/dist/components/Fieldset.js +1 -1
  80. package/dist/components/FileTree.d.ts +6 -0
  81. package/dist/components/FileTree.js +1 -1
  82. package/dist/components/Form.js +1 -1
  83. package/dist/components/GithubMotionMark.js +1 -1
  84. package/dist/components/IconButton.d.ts +2 -3
  85. package/dist/components/IconButton.js +2 -1
  86. package/dist/components/InlineCitation.js +1 -1
  87. package/dist/components/Input.js +1 -1
  88. package/dist/components/Marker.js +1 -1
  89. package/dist/components/McpConnectionRequest.js +2 -2
  90. package/dist/components/McpServerPicker.js +2 -2
  91. package/dist/components/MediaPreviewCard.d.ts +103 -0
  92. package/dist/components/MediaPreviewCard.js +193 -0
  93. package/dist/components/Menu.js +1 -1
  94. package/dist/components/Menubar.js +2 -2
  95. package/dist/components/Message.d.ts +4 -1
  96. package/dist/components/Message.js +1 -1
  97. package/dist/components/MessageScroller.d.ts +1 -1
  98. package/dist/components/MessageScroller.js +5 -4
  99. package/dist/components/Meter.js +1 -1
  100. package/dist/components/ModelSelector.d.ts +4 -3
  101. package/dist/components/ModelSelector.js +1 -1
  102. package/dist/components/NavigationMenu.js +1 -1
  103. package/dist/components/NumberField.js +1 -1
  104. package/dist/components/Plan.js +2 -2
  105. package/dist/components/Popover.js +1 -1
  106. package/dist/components/PreviewCard.js +1 -1
  107. package/dist/components/PricingBillingToggle.js +1 -1
  108. package/dist/components/PricingFAQ.js +1 -1
  109. package/dist/components/PricingPage.js +2 -1
  110. package/dist/components/PricingPlanCard.js +4 -3
  111. package/dist/components/PricingUsageCalculator.js +2 -2
  112. package/dist/components/Progress.js +1 -1
  113. package/dist/components/PromptInput.d.ts +1 -1
  114. package/dist/components/PromptInput.js +33 -20
  115. package/dist/components/Queue.d.ts +1 -1
  116. package/dist/components/Queue.js +2 -3
  117. package/dist/components/RadioGroup.js +1 -1
  118. package/dist/components/Reasoning.js +3 -6
  119. package/dist/components/ResizableSidePanel.js +1 -1
  120. package/dist/components/ResponsiveSidebarShell.js +16 -10
  121. package/dist/components/ScrollArea.js +2 -1
  122. package/dist/components/SearchField.d.ts +43 -0
  123. package/dist/components/SearchField.js +52 -0
  124. package/dist/components/Select.d.ts +1 -1
  125. package/dist/components/Select.js +5 -6
  126. package/dist/components/Separator.js +1 -1
  127. package/dist/components/Slider.js +1 -1
  128. package/dist/components/Sources.js +2 -2
  129. package/dist/components/Stepper.js +16 -9
  130. package/dist/components/SubagentRunDetails.js +1 -1
  131. package/dist/components/SubagentRunIndicator.js +2 -2
  132. package/dist/components/SubagentRunList.d.ts +3 -5
  133. package/dist/components/SubagentRunList.js +3 -4
  134. package/dist/components/SubagentRunSelector.d.ts +8 -12
  135. package/dist/components/SubagentRunSelector.js +17 -20
  136. package/dist/components/Switch.d.ts +2 -2
  137. package/dist/components/Switch.js +4 -5
  138. package/dist/components/Tabs.d.ts +2 -2
  139. package/dist/components/Tabs.js +12 -3
  140. package/dist/components/Task.js +2 -2
  141. package/dist/components/Terminal.d.ts +2 -2
  142. package/dist/components/Terminal.js +5 -4
  143. package/dist/components/TestResults.js +10 -6
  144. package/dist/components/Textarea.js +1 -1
  145. package/dist/components/ThemeModeControl.js +1 -1
  146. package/dist/components/ThinkChat.d.ts +33 -20
  147. package/dist/components/ThinkChat.js +4 -4
  148. package/dist/components/ThinkChatActivity.d.ts +2 -2
  149. package/dist/components/ThinkChatActivity.js +8 -10
  150. package/dist/components/ThinkChatActivitySummary.d.ts +1 -1
  151. package/dist/components/ThinkChatActivitySummary.js +7 -3
  152. package/dist/components/ThinkChatToolPanels.js +26 -16
  153. package/dist/components/ThinkExecutionDetail.js +2 -2
  154. package/dist/components/ThinkExecutionStatus.js +2 -2
  155. package/dist/components/ThinkExecutionWorkbench.d.ts +30 -8
  156. package/dist/components/ThinkExecutionWorkbench.js +70 -134
  157. package/dist/components/ThinkFullApp.d.ts +36 -35
  158. package/dist/components/ThinkFullApp.js +156 -109
  159. package/dist/components/ThinkFullAppViewSwitch.d.ts +1 -1
  160. package/dist/components/ThinkFullAppViewSwitch.js +1 -1
  161. package/dist/components/ThinkRecoveryNotice.js +18 -12
  162. package/dist/components/ThinkRoutineBrowser.d.ts +17 -9
  163. package/dist/components/ThinkRoutineBrowser.js +33 -40
  164. package/dist/components/ThinkRoutineDetail.d.ts +5 -2
  165. package/dist/components/ThinkRoutineDetail.js +4 -4
  166. package/dist/components/ThinkRoutineForm.d.ts +3 -2
  167. package/dist/components/ThinkRoutineForm.js +11 -10
  168. package/dist/components/ThinkRoutineLibrary.d.ts +24 -31
  169. package/dist/components/ThinkRoutineLibrary.js +57 -80
  170. package/dist/components/ThinkRoutineRuns.d.ts +3 -2
  171. package/dist/components/ThinkRoutineRuns.js +31 -24
  172. package/dist/components/ThinkThreadPicker.d.ts +17 -11
  173. package/dist/components/ThinkThreadPicker.js +163 -39
  174. package/dist/components/Toast.js +1 -1
  175. package/dist/components/Toggle.d.ts +1 -1
  176. package/dist/components/Toggle.js +9 -7
  177. package/dist/components/ToggleGroup.d.ts +1 -1
  178. package/dist/components/ToggleGroup.js +15 -13
  179. package/dist/components/ToolInvocation.js +1 -1
  180. package/dist/components/Toolbar.js +1 -1
  181. package/dist/components/Tooltip.d.ts +8 -1
  182. package/dist/components/Tooltip.js +11 -2
  183. package/dist/components/TransitionSurface.d.ts +27 -0
  184. package/dist/components/TransitionSurface.js +20 -0
  185. package/dist/components/WebPreview.d.ts +5 -5
  186. package/dist/components/WebPreview.js +68 -54
  187. package/dist/components/Workspace.d.ts +2 -2
  188. package/dist/components/Workspace.js +358 -328
  189. package/dist/components/WorkspaceBrowser.d.ts +4 -7
  190. package/dist/components/WorkspaceBrowser.js +15 -25
  191. package/dist/components/WorkspaceExplorer.d.ts +5 -5
  192. package/dist/components/WorkspaceExplorer.js +19 -32
  193. package/dist/components/WorkspaceFile.d.ts +1 -1
  194. package/dist/components/WorkspaceFileView.d.ts +14 -2
  195. package/dist/components/WorkspaceFileView.js +1 -1
  196. package/dist/components/WorkspaceHeader.d.ts +0 -8
  197. package/dist/components/WorkspaceHeader.js +3 -15
  198. package/dist/components/WorkspaceLink.d.ts +1 -1
  199. package/dist/components/WorkspaceLink.js +1 -1
  200. package/dist/components/icons.d.ts +2 -2
  201. package/dist/components/icons.js +2 -2
  202. package/dist/{copy-button-CQx3LQAC.d.ts → copy-button-D7aAYA-2.d.ts} +1 -1
  203. package/dist/{copy-button-cYsJBauI.js → copy-button-DeK6KXEV.js} +3 -2
  204. package/dist/{icons--FqCZEc3.js → icons-CQJ-aMnI.js} +6 -3
  205. package/dist/{icons-DpUqY8Mp.d.ts → icons-CYXmvKlJ.d.ts} +17 -2
  206. package/dist/navigation-link-Cob7KBlM.js +19 -0
  207. package/dist/styles/accordion.css +4 -19
  208. package/dist/styles/activity.css +48 -56
  209. package/dist/styles/agent-activity-preview.css +2 -0
  210. package/dist/styles/agent-chat.css +14 -22
  211. package/dist/styles/alert-dialog.css +16 -18
  212. package/dist/styles/app-top-bar.css +17 -9
  213. package/dist/styles/approval.css +11 -6
  214. package/dist/styles/artifact.css +6 -6
  215. package/dist/styles/autocomplete.css +2 -1
  216. package/dist/styles/avatar.css +35 -30
  217. package/dist/styles/badge.css +10 -10
  218. package/dist/styles/base-ui-motion.css +94 -39
  219. package/dist/styles/browser-control-overlay.css +0 -1
  220. package/dist/styles/browser-live-view.css +39 -22
  221. package/dist/styles/browser-replay.css +1 -1
  222. package/dist/styles/browser-run-panel.css +8 -4
  223. package/dist/styles/button.css +36 -33
  224. package/dist/styles/card.css +5 -6
  225. package/dist/styles/chain-of-thought.css +22 -16
  226. package/dist/styles/checkbox.css +18 -5
  227. package/dist/styles/codex-model-selector.css +3 -7
  228. package/dist/styles/collapsible.css +10 -10
  229. package/dist/styles/combobox.css +3 -2
  230. package/dist/styles/commit.css +19 -18
  231. package/dist/styles/composition-motion.css +83 -0
  232. package/dist/styles/context-menu.css +3 -3
  233. package/dist/styles/context.css +11 -10
  234. package/dist/styles/conversation.css +18 -23
  235. package/dist/styles/dialog.css +15 -15
  236. package/dist/styles/field.css +32 -12
  237. package/dist/styles/file-tree.css +69 -9
  238. package/dist/styles/form.css +1 -1
  239. package/dist/styles/index.css +5 -0
  240. package/dist/styles/input.css +2 -2
  241. package/dist/styles/marker.css +14 -13
  242. package/dist/styles/mcp-server-picker.css +20 -17
  243. package/dist/styles/media-preview-card.css +160 -0
  244. package/dist/styles/menu.css +11 -11
  245. package/dist/styles/menubar.css +12 -11
  246. package/dist/styles/message.css +27 -21
  247. package/dist/styles/meter.css +2 -2
  248. package/dist/styles/model-selector.css +16 -14
  249. package/dist/styles/motion-reduction.css +29 -0
  250. package/dist/styles/navigation-menu.css +14 -30
  251. package/dist/styles/number-field.css +22 -4
  252. package/dist/styles/plan.css +5 -0
  253. package/dist/styles/popover.css +15 -16
  254. package/dist/styles/preview-card.css +2 -32
  255. package/dist/styles/progress.css +8 -3
  256. package/dist/styles/prompt-input.css +75 -75
  257. package/dist/styles/queue.css +48 -32
  258. package/dist/styles/radio.css +19 -12
  259. package/dist/styles/reasoning.css +2 -1
  260. package/dist/styles/recipes.css +109 -37
  261. package/dist/styles/resizable-side-panel.css +4 -10
  262. package/dist/styles/responsive-sidebar-shell.css +16 -15
  263. package/dist/styles/scroll-area.css +32 -15
  264. package/dist/styles/search-field.css +21 -0
  265. package/dist/styles/select.css +19 -12
  266. package/dist/styles/slider.css +25 -29
  267. package/dist/styles/sources.css +3 -3
  268. package/dist/styles/stepper.css +36 -26
  269. package/dist/styles/subagent-run.css +1 -1
  270. package/dist/styles/switch.css +32 -29
  271. package/dist/styles/tabs.css +79 -23
  272. package/dist/styles/task.css +13 -9
  273. package/dist/styles/test-results.css +29 -23
  274. package/dist/styles/theme-mode-control.css +8 -0
  275. package/dist/styles/think-execution-workbench.css +18 -15
  276. package/dist/styles/think-full-app.css +45 -68
  277. package/dist/styles/think-routine-library.css +43 -24
  278. package/dist/styles/think-thread-picker.css +193 -51
  279. package/dist/styles/toast.css +48 -27
  280. package/dist/styles/toggle-group.css +2 -36
  281. package/dist/styles/toggle.css +29 -5
  282. package/dist/styles/toolbar.css +25 -27
  283. package/dist/styles/tooltip.css +2 -32
  284. package/dist/styles/transition-surface.css +55 -0
  285. package/dist/styles/workspace-explorer.css +99 -44
  286. package/dist/summarize-tool-input-CqTcGRYy.js +15 -0
  287. package/dist/utils/mcp-server-catalog.d.ts +132 -0
  288. package/dist/utils/mcp-server-catalog.js +90 -0
  289. package/dist/utils/structured-code.d.ts +1 -1
  290. package/package.json +13 -7
  291. package/dist/Workspace-C9RFoxcu.d.ts +0 -62
  292. package/dist/summarize-tool-input-BUJsENSn.js +0 -12
@@ -1,9 +1,13 @@
1
1
  .toolbar {
2
+ --sigvelo-toolbar-control-height: var(--sigvelo-control-height-sm);
3
+ --sigvelo-toolbar-control-padding-inline: var(--sigvelo-control-padding-inline-sm);
4
+ --sigvelo-toolbar-control-font-size: var(--sigvelo-control-text-sm);
5
+
2
6
  display: flex;
7
+ flex-wrap: wrap;
3
8
  align-items: center;
4
- gap: 0.25rem;
5
- padding: 0.25rem;
6
- container-type: inline-size;
9
+ gap: var(--sigvelo-spacing-1);
10
+ padding: var(--sigvelo-spacing-1);
7
11
  background-color: var(--sigvelo-color-canvas);
8
12
  border: var(--sigvelo-border-style) var(--sigvelo-border-width)
9
13
  var(--sigvelo-color-neutral-border-muted);
@@ -23,9 +27,11 @@
23
27
  display: inline-flex;
24
28
  align-items: center;
25
29
  justify-content: center;
26
- padding: 0.5rem;
30
+ min-block-size: var(--sigvelo-toolbar-control-height);
31
+ padding-block: 0;
32
+ padding-inline: var(--sigvelo-toolbar-control-padding-inline);
27
33
  font-family: inherit;
28
- font-size: var(--sigvelo-text-sm);
34
+ font-size: var(--sigvelo-toolbar-control-font-size);
29
35
  font-weight: var(--sigvelo-font-weight-semibold);
30
36
  color: var(--sigvelo-color-text);
31
37
  background-color: transparent;
@@ -33,8 +39,8 @@
33
39
  border-radius: var(--sigvelo-radius-sm);
34
40
  cursor: pointer;
35
41
  transition:
36
- background-color var(--sigvelo-duration-fast) var(--sigvelo-ease-standard),
37
- color var(--sigvelo-duration-fast) var(--sigvelo-ease-standard);
42
+ background-color var(--sigvelo-motion-duration-interaction) var(--sigvelo-motion-ease-change),
43
+ color var(--sigvelo-motion-duration-interaction) var(--sigvelo-motion-ease-change);
38
44
  }
39
45
 
40
46
  .toolbar__button:hover {
@@ -61,16 +67,18 @@
61
67
  display: inline-flex;
62
68
  align-items: center;
63
69
  justify-content: center;
64
- padding: 0.5rem;
70
+ min-block-size: var(--sigvelo-toolbar-control-height);
71
+ padding-block: 0;
72
+ padding-inline: var(--sigvelo-toolbar-control-padding-inline);
65
73
  font-family: inherit;
66
- font-size: var(--sigvelo-text-sm);
74
+ font-size: var(--sigvelo-toolbar-control-font-size);
67
75
  font-weight: var(--sigvelo-font-weight-semibold);
68
76
  color: var(--sigvelo-color-text);
69
77
  text-decoration: none;
70
78
  border-radius: var(--sigvelo-radius-sm);
71
79
  transition:
72
- background-color var(--sigvelo-duration-fast) var(--sigvelo-ease-standard),
73
- color var(--sigvelo-duration-fast) var(--sigvelo-ease-standard);
80
+ background-color var(--sigvelo-motion-duration-interaction) var(--sigvelo-motion-ease-change),
81
+ color var(--sigvelo-motion-duration-interaction) var(--sigvelo-motion-ease-change);
74
82
  }
75
83
 
76
84
  .toolbar__link:hover {
@@ -94,16 +102,16 @@
94
102
  }
95
103
 
96
104
  .toolbar__separator {
97
- width: 1px;
98
- height: 1.5rem;
99
- margin-inline: 0.25rem;
105
+ inline-size: var(--sigvelo-border-width);
106
+ block-size: var(--sigvelo-spacing-6);
107
+ margin-inline: var(--sigvelo-spacing-1);
100
108
  background-color: var(--sigvelo-color-neutral-border-muted);
101
109
  }
102
110
 
103
111
  .toolbar[data-orientation="vertical"] .toolbar__separator {
104
- width: 100%;
105
- height: 1px;
106
- margin-block: 0.25rem;
112
+ inline-size: 100%;
113
+ block-size: var(--sigvelo-border-width);
114
+ margin-block: var(--sigvelo-spacing-1);
107
115
  }
108
116
 
109
117
  .toolbar__input {
@@ -117,13 +125,3 @@
117
125
  border-color: var(--sigvelo-color-focus);
118
126
  box-shadow: var(--sigvelo-recipe-focus-shadow-subtle);
119
127
  }
120
-
121
- @container (max-width: 20rem) {
122
- .toolbar {
123
- flex-wrap: wrap;
124
- }
125
-
126
- .toolbar__separator {
127
- display: none;
128
- }
129
- }
@@ -1,41 +1,11 @@
1
1
  .tooltip__popup {
2
+ --sigvelo-recipe-popup-arrow-size: var(--sigvelo-spacing-2);
2
3
  --sigvelo-recipe-surface-padding: var(--sigvelo-spacing-1) var(--sigvelo-spacing-2);
3
4
  --sigvelo-recipe-surface-shadow: var(--sigvelo-shadow-sm);
4
5
 
5
6
  z-index: 50;
6
7
  max-inline-size: min(20rem, var(--available-width));
7
- overflow-y: auto;
8
+ overflow-block: auto;
8
9
  font-size: var(--sigvelo-text-xs);
9
10
  line-height: 1.25;
10
11
  }
11
-
12
- .tooltip__arrow {
13
- width: 0.5rem;
14
- height: 0.5rem;
15
- background-color: var(--sigvelo-color-surface);
16
- border: var(--sigvelo-border-style) var(--sigvelo-border-width)
17
- var(--sigvelo-color-neutral-border-muted);
18
- border-right: none;
19
- border-bottom: none;
20
- transform: rotate(45deg);
21
- }
22
-
23
- [data-side="top"] .tooltip__arrow {
24
- bottom: -0.25rem;
25
- transform: rotate(-135deg);
26
- }
27
-
28
- [data-side="bottom"] .tooltip__arrow {
29
- top: -0.25rem;
30
- transform: rotate(45deg);
31
- }
32
-
33
- [data-side="left"] .tooltip__arrow {
34
- right: -0.25rem;
35
- transform: rotate(135deg);
36
- }
37
-
38
- [data-side="right"] .tooltip__arrow {
39
- left: -0.25rem;
40
- transform: rotate(-45deg);
41
- }
@@ -0,0 +1,55 @@
1
+ .transition-surface {
2
+ --transition-surface-inline: 0;
3
+ --transition-surface-block: 0;
4
+ --transition-surface-scale: 1;
5
+
6
+ opacity: 1;
7
+ translate: 0;
8
+ scale: 1;
9
+ transition:
10
+ display var(--sigvelo-motion-duration-presence),
11
+ opacity var(--sigvelo-motion-duration-presence) var(--sigvelo-motion-ease-enter),
12
+ translate var(--sigvelo-motion-duration-presence) var(--sigvelo-motion-ease-enter),
13
+ scale var(--sigvelo-motion-duration-presence) var(--sigvelo-motion-ease-enter);
14
+ transition-behavior: allow-discrete;
15
+ }
16
+
17
+ .transition-surface[data-variant="scale"] {
18
+ --transition-surface-scale: var(--sigvelo-motion-presence-scale);
19
+ }
20
+
21
+ .transition-surface[data-variant="slide-block"] {
22
+ --transition-surface-block: var(--sigvelo-motion-distance-sm);
23
+ }
24
+
25
+ .transition-surface[data-variant="slide-inline"] {
26
+ --transition-surface-inline: var(--sigvelo-motion-distance-sm);
27
+ }
28
+
29
+ .transition-surface[hidden] {
30
+ display: none;
31
+ opacity: 0;
32
+ translate: var(--transition-surface-inline) var(--transition-surface-block);
33
+ scale: var(--transition-surface-scale);
34
+ transition-timing-function: var(--sigvelo-motion-ease-exit);
35
+ }
36
+
37
+ @starting-style {
38
+ .transition-surface {
39
+ opacity: 0;
40
+ translate: var(--transition-surface-inline) var(--transition-surface-block);
41
+ scale: var(--transition-surface-scale);
42
+ }
43
+ }
44
+
45
+ @media (prefers-reduced-motion: reduce) {
46
+ .transition-surface {
47
+ translate: none;
48
+ scale: 1;
49
+ }
50
+ }
51
+
52
+ :root[data-motion="reduce"] .transition-surface {
53
+ translate: none;
54
+ scale: 1;
55
+ }
@@ -5,8 +5,8 @@
5
5
  display: flex;
6
6
  flex-direction: column;
7
7
  inline-size: 100%;
8
- min-height: 0;
9
- height: 100%;
8
+ min-block-size: 0;
9
+ block-size: 100%;
10
10
  overflow: hidden;
11
11
  font-family: inherit;
12
12
  color: var(--sigvelo-color-text);
@@ -18,9 +18,70 @@
18
18
  container-type: inline-size;
19
19
  }
20
20
 
21
+ .workspace-explorer:has(> .workspace-explorer__file[data-appearance="canvas"]) {
22
+ block-size: auto;
23
+ overflow: visible;
24
+ background: transparent;
25
+ border: 0;
26
+ border-radius: 0;
27
+ box-shadow: none;
28
+ }
29
+
30
+ .workspace-explorer__file[data-appearance="canvas"] {
31
+ overflow: visible;
32
+ }
33
+
34
+ .workspace-explorer__file[data-appearance="canvas"] > .workspace-explorer__header {
35
+ padding-inline: 0;
36
+ background: transparent;
37
+ border-block-end: 0;
38
+ }
39
+
40
+ .workspace-explorer__file[data-appearance="canvas"] .workspace-explorer__markdown-scroll {
41
+ overflow: visible;
42
+ background: transparent;
43
+ }
44
+
45
+ .workspace-explorer__file[data-appearance="canvas"] .workspace-explorer__markdown {
46
+ inline-size: 100%;
47
+ margin-inline: 0;
48
+ padding-block: var(--sigvelo-spacing-6) var(--sigvelo-spacing-8);
49
+ padding-inline: 0;
50
+ }
51
+
52
+ .workspace-explorer__file[data-appearance="canvas"] .workspace-explorer__skill {
53
+ margin-block-end: var(--sigvelo-spacing-4);
54
+ padding-block-end: 0;
55
+ border-block-end: 0;
56
+ }
57
+
58
+ .workspace-explorer__file[data-appearance="canvas"]
59
+ .workspace-explorer__skill:not([data-skill-identity])
60
+ .workspace-explorer__skill-status {
61
+ margin-block-start: 0;
62
+ }
63
+
64
+ .workspace-explorer__file[data-appearance="canvas"]
65
+ .workspace-explorer__markdown-content
66
+ [data-streamdown="heading-1"] {
67
+ margin-block-start: var(--sigvelo-spacing-4);
68
+ }
69
+
70
+ .workspace-explorer__file[data-appearance="canvas"]
71
+ .workspace-explorer__markdown-content
72
+ [data-streamdown="heading-2"] {
73
+ margin-block-start: var(--sigvelo-spacing-6);
74
+ }
75
+
76
+ .workspace-explorer__file[data-appearance="canvas"]
77
+ .workspace-explorer__markdown-content
78
+ :is([data-streamdown="heading-3"], [data-streamdown="heading-4"]) {
79
+ margin-block-start: var(--sigvelo-spacing-4);
80
+ }
81
+
21
82
  .workspace-explorer__header {
22
83
  flex: 0 0 auto;
23
- min-block-size: var(--sigvelo-control-height-sm);
84
+ min-block-size: var(--sigvelo-density-compact-control-height);
24
85
  padding-block: var(--sigvelo-spacing-0-5);
25
86
  padding-inline: var(--sigvelo-spacing-1-5);
26
87
  border-block-end: var(--sigvelo-border-style) var(--sigvelo-border-width)
@@ -28,27 +89,27 @@
28
89
  }
29
90
 
30
91
  .workspace-explorer__header .app-top-bar__button {
31
- inline-size: var(--sigvelo-control-height-xs);
32
- min-inline-size: var(--sigvelo-control-height-xs);
33
- block-size: var(--sigvelo-control-height-xs);
34
- min-block-size: var(--sigvelo-control-height-xs);
92
+ inline-size: var(--sigvelo-density-compact-control-height);
93
+ min-inline-size: var(--sigvelo-density-compact-control-height);
94
+ block-size: var(--sigvelo-density-compact-control-height);
95
+ min-block-size: var(--sigvelo-density-compact-control-height);
35
96
  padding: var(--sigvelo-spacing-1-5);
36
97
  }
37
98
 
38
99
  .workspace-explorer__header .app-top-bar__button svg {
39
- inline-size: var(--sigvelo-text-sm);
40
- block-size: var(--sigvelo-text-sm);
100
+ inline-size: var(--sigvelo-density-compact-control-icon-size);
101
+ block-size: var(--sigvelo-density-compact-control-icon-size);
41
102
  }
42
103
 
43
104
  .workspace-explorer__heading {
44
105
  display: flex;
45
106
  align-items: baseline;
46
107
  gap: var(--sigvelo-spacing-1);
47
- font-size: var(--sigvelo-text-compact);
108
+ font-size: var(--sigvelo-density-compact-control-font-size);
48
109
  }
49
110
 
50
111
  .workspace-explorer__count {
51
- font-size: var(--sigvelo-text-2xs);
112
+ font-size: var(--sigvelo-density-compact-control-font-size);
52
113
  font-weight: var(--sigvelo-font-weight-normal);
53
114
  color: var(--sigvelo-color-text-muted);
54
115
  }
@@ -57,7 +118,7 @@
57
118
  display: block;
58
119
  overflow: hidden;
59
120
  font-family: var(--sigvelo-font-mono);
60
- font-size: var(--sigvelo-text-xs);
121
+ font-size: var(--sigvelo-density-compact-control-font-size);
61
122
  font-weight: var(--sigvelo-font-weight-normal);
62
123
  text-overflow: ellipsis;
63
124
  }
@@ -71,34 +132,27 @@
71
132
  overflow: auto;
72
133
  }
73
134
 
74
- .workspace-explorer__filter {
75
- inline-size: auto;
76
- gap: 0;
77
- margin-block: var(--sigvelo-spacing-1);
78
- margin-inline: var(--sigvelo-spacing-2);
79
- }
80
-
81
- .workspace-explorer__filter-control {
135
+ .workspace-explorer__file {
82
136
  position: relative;
83
137
  }
84
138
 
85
- .workspace-explorer__filter-control > svg {
139
+ .workspace-explorer__file-close {
86
140
  position: absolute;
87
- inset-block-start: 50%;
88
- inset-inline-start: var(--sigvelo-spacing-1-5);
89
- z-index: 1;
90
- inline-size: var(--sigvelo-text-sm);
91
- block-size: var(--sigvelo-text-sm);
92
- translate: 0 -50%;
93
- color: var(--sigvelo-color-text-muted);
94
- pointer-events: none;
141
+ z-index: 2;
142
+ inset-block-start: calc(var(--sigvelo-density-compact-control-height) + var(--sigvelo-spacing-2));
143
+ inset-inline-end: var(--sigvelo-spacing-2);
144
+ background-color: var(--sigvelo-color-surface);
145
+ box-shadow: var(--sigvelo-shadow-xs);
95
146
  }
96
147
 
97
- .workspace-explorer__filter-control > [data-slot="field-control"] {
98
- block-size: var(--sigvelo-control-height-xs);
99
- min-block-size: var(--sigvelo-control-height-xs);
100
- padding-inline-start: calc(var(--sigvelo-spacing-1-5) + 1rem + var(--sigvelo-spacing-1));
101
- font-size: var(--sigvelo-control-text-sm);
148
+ .workspace-explorer__filter {
149
+ --sigvelo-recipe-control-height: var(--sigvelo-density-compact-control-height);
150
+ --sigvelo-recipe-control-font-size: var(--sigvelo-density-compact-control-font-size);
151
+
152
+ inline-size: auto;
153
+ gap: 0;
154
+ margin-block: var(--sigvelo-spacing-1);
155
+ margin-inline: var(--sigvelo-spacing-2);
102
156
  }
103
157
 
104
158
  .workspace-explorer__tree {
@@ -112,23 +166,23 @@
112
166
  }
113
167
 
114
168
  .workspace-explorer__tree .file-tree__node {
115
- min-block-size: var(--sigvelo-control-height-xs);
116
- gap: var(--sigvelo-spacing-1);
169
+ min-block-size: var(--sigvelo-density-compact-control-height);
170
+ gap: var(--sigvelo-density-compact-control-gap);
117
171
  padding-block: var(--sigvelo-spacing-0-5);
118
172
  padding-inline-end: var(--sigvelo-spacing-1-5);
119
173
  border-radius: var(--sigvelo-radius-sm);
120
174
  color: var(--sigvelo-color-text-muted);
121
- font-size: var(--sigvelo-text-compact);
175
+ font-size: var(--sigvelo-density-compact-control-font-size);
122
176
  line-height: var(--sigvelo-leading-snug);
123
177
  }
124
178
 
125
179
  .workspace-explorer__tree :is(.file-tree__chevron, .file-tree__icon) svg {
126
- inline-size: var(--sigvelo-text-sm);
127
- block-size: var(--sigvelo-text-sm);
180
+ inline-size: var(--sigvelo-density-compact-control-icon-size);
181
+ block-size: var(--sigvelo-density-compact-control-icon-size);
128
182
  }
129
183
 
130
184
  .workspace-explorer__tree .file-tree__chevron {
131
- inline-size: var(--sigvelo-text-sm);
185
+ inline-size: var(--sigvelo-density-compact-control-icon-size);
132
186
  }
133
187
 
134
188
  .workspace-explorer__tree .file-tree__node--folder .file-tree__icon {
@@ -152,7 +206,8 @@
152
206
  flex: 1;
153
207
  align-items: center;
154
208
  justify-content: center;
155
- padding: 1.5rem var(--sigvelo-spacing-3);
209
+ padding-block: var(--sigvelo-spacing-6);
210
+ padding-inline: var(--sigvelo-spacing-3);
156
211
  font-size: var(--sigvelo-text-compact);
157
212
  color: var(--sigvelo-color-text-muted);
158
213
  text-align: center;
@@ -471,13 +526,13 @@
471
526
  --yarl__button_filter: none;
472
527
  --yarl__button_margin: var(--sigvelo-spacing-1);
473
528
  --yarl__button_padding: var(--sigvelo-spacing-2);
474
- --yarl__icon_size: 1.25rem;
529
+ --yarl__icon_size: var(--sigvelo-control-icon-size-xl);
475
530
  --yarl__toolbar_padding: var(--sigvelo-spacing-2);
476
531
  }
477
532
 
478
533
  .workspace-media-lightbox .yarl__button {
479
- min-inline-size: 2.75rem;
480
- min-block-size: 2.75rem;
534
+ min-inline-size: var(--sigvelo-control-height-xl);
535
+ min-block-size: var(--sigvelo-control-height-xl);
481
536
  border-radius: var(--sigvelo-radius-md);
482
537
  }
483
538
 
@@ -0,0 +1,15 @@
1
+ //#region src/components/_internal/summarize-tool-input.ts
2
+ /** Explicit summary, or the first non-empty salient string input. */
3
+ function summarizeToolInput(input) {
4
+ if (!input || typeof input !== "object") return null;
5
+ const summary = Reflect.get(input, "summary");
6
+ if (typeof summary === "string" && summary.trim()) return truncate(summary);
7
+ for (const value of Object.values(input)) if (typeof value === "string" && value.trim()) return truncate(value);
8
+ return null;
9
+ }
10
+ function truncate(value) {
11
+ const line = value.trim().split("\n", 1)[0] ?? "";
12
+ return line.length > 64 ? `${line.slice(0, 64)}…` : line;
13
+ }
14
+ //#endregion
15
+ export { summarizeToolInput as t };
@@ -539,6 +539,50 @@ declare const MANUAL_MCP_SERVER_CARDS: readonly [{
539
539
  readonly url: "https://console.cloud.google.com/apis/credentials";
540
540
  }];
541
541
  };
542
+ }, {
543
+ readonly id: "google-docs";
544
+ readonly name: "Google Docs";
545
+ readonly url: "https://docsmcp.googleapis.com/mcp/v1";
546
+ readonly description: "Read and update Google Docs";
547
+ readonly category: "Manual";
548
+ readonly icon: "https://cdn.simpleicons.org/googledocs/4285F4";
549
+ readonly manualSetup: {
550
+ readonly auth: {
551
+ readonly type: "manual_oauth_client";
552
+ readonly label: "OAuth client ID + secret";
553
+ readonly fields: readonly [{
554
+ readonly name: "clientId";
555
+ readonly label: "OAuth client ID";
556
+ readonly placeholder: "Client ID";
557
+ readonly required: true;
558
+ }, {
559
+ readonly name: "clientSecret";
560
+ readonly label: "OAuth client secret";
561
+ readonly inputType: "password";
562
+ readonly placeholder: "Client secret";
563
+ readonly required: true;
564
+ }, {
565
+ readonly name: "redirectUrl";
566
+ readonly label: "Redirect URL";
567
+ readonly inputType: "url";
568
+ readonly placeholder: "Registered OAuth callback URL";
569
+ }];
570
+ };
571
+ readonly description: "Enable Docs and Docs MCP APIs, configure OAuth consent, and create a web OAuth client.";
572
+ readonly links: readonly [{
573
+ readonly label: "Setup guide";
574
+ readonly url: "https://developers.google.com/workspace/docs/api/guides/configure-mcp-server";
575
+ }, {
576
+ readonly label: "API reference";
577
+ readonly url: "https://developers.google.com/workspace/docs/api/reference/mcp";
578
+ }, {
579
+ readonly label: "OAuth consent";
580
+ readonly url: "https://console.cloud.google.com/apis/credentials/consent";
581
+ }, {
582
+ readonly label: "Credentials";
583
+ readonly url: "https://console.cloud.google.com/apis/credentials";
584
+ }];
585
+ };
542
586
  }, {
543
587
  readonly id: "google-drive";
544
588
  readonly name: "Google Drive";
@@ -627,6 +671,94 @@ declare const MANUAL_MCP_SERVER_CARDS: readonly [{
627
671
  readonly url: "https://console.cloud.google.com/apis/credentials";
628
672
  }];
629
673
  };
674
+ }, {
675
+ readonly id: "google-sheets";
676
+ readonly name: "Google Sheets";
677
+ readonly url: "https://sheetsmcp.googleapis.com/mcp/v1";
678
+ readonly description: "Read and update spreadsheets";
679
+ readonly category: "Manual";
680
+ readonly icon: "https://cdn.simpleicons.org/googlesheets/34A853";
681
+ readonly manualSetup: {
682
+ readonly auth: {
683
+ readonly type: "manual_oauth_client";
684
+ readonly label: "OAuth client ID + secret";
685
+ readonly fields: readonly [{
686
+ readonly name: "clientId";
687
+ readonly label: "OAuth client ID";
688
+ readonly placeholder: "Client ID";
689
+ readonly required: true;
690
+ }, {
691
+ readonly name: "clientSecret";
692
+ readonly label: "OAuth client secret";
693
+ readonly inputType: "password";
694
+ readonly placeholder: "Client secret";
695
+ readonly required: true;
696
+ }, {
697
+ readonly name: "redirectUrl";
698
+ readonly label: "Redirect URL";
699
+ readonly inputType: "url";
700
+ readonly placeholder: "Registered OAuth callback URL";
701
+ }];
702
+ };
703
+ readonly description: "Enable Sheets and Sheets MCP APIs, configure OAuth consent, and create a web OAuth client.";
704
+ readonly links: readonly [{
705
+ readonly label: "Setup guide";
706
+ readonly url: "https://developers.google.com/workspace/sheets/api/guides/configure-mcp-server";
707
+ }, {
708
+ readonly label: "API reference";
709
+ readonly url: "https://developers.google.com/workspace/sheets/api/reference/mcp";
710
+ }, {
711
+ readonly label: "OAuth consent";
712
+ readonly url: "https://console.cloud.google.com/apis/credentials/consent";
713
+ }, {
714
+ readonly label: "Credentials";
715
+ readonly url: "https://console.cloud.google.com/apis/credentials";
716
+ }];
717
+ };
718
+ }, {
719
+ readonly id: "google-slides";
720
+ readonly name: "Google Slides";
721
+ readonly url: "https://slidesmcp.googleapis.com/mcp/v1";
722
+ readonly description: "Read and update presentations";
723
+ readonly category: "Manual";
724
+ readonly icon: "https://cdn.simpleicons.org/googleslides/FBBC04";
725
+ readonly manualSetup: {
726
+ readonly auth: {
727
+ readonly type: "manual_oauth_client";
728
+ readonly label: "OAuth client ID + secret";
729
+ readonly fields: readonly [{
730
+ readonly name: "clientId";
731
+ readonly label: "OAuth client ID";
732
+ readonly placeholder: "Client ID";
733
+ readonly required: true;
734
+ }, {
735
+ readonly name: "clientSecret";
736
+ readonly label: "OAuth client secret";
737
+ readonly inputType: "password";
738
+ readonly placeholder: "Client secret";
739
+ readonly required: true;
740
+ }, {
741
+ readonly name: "redirectUrl";
742
+ readonly label: "Redirect URL";
743
+ readonly inputType: "url";
744
+ readonly placeholder: "Registered OAuth callback URL";
745
+ }];
746
+ };
747
+ readonly description: "Enable Slides and Slides MCP APIs, configure OAuth consent, and create a web OAuth client.";
748
+ readonly links: readonly [{
749
+ readonly label: "Setup guide";
750
+ readonly url: "https://developers.google.com/workspace/slides/api/guides/configure-mcp-server";
751
+ }, {
752
+ readonly label: "API reference";
753
+ readonly url: "https://developers.google.com/workspace/slides/api/reference/mcp";
754
+ }, {
755
+ readonly label: "OAuth consent";
756
+ readonly url: "https://console.cloud.google.com/apis/credentials/consent";
757
+ }, {
758
+ readonly label: "Credentials";
759
+ readonly url: "https://console.cloud.google.com/apis/credentials";
760
+ }];
761
+ };
630
762
  }, {
631
763
  readonly id: "google-workspace-search";
632
764
  readonly name: "Google Workspace Universal Search";